Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR azure-mgmt-applicationinsights] Removing ErrorResponse and OperationsListResult from livetoken_API.js #1641

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,9 @@ class ApplicationInsightsComponent(ComponentsResource):
:param workspace_resource_id: Required. ResourceId of the log analytics
workspace which the data will be ingested to.
:type workspace_resource_id: str
:ivar la_migration_date: The date which the component got migrated to LA,
in ISO 8601 format.
:vartype la_migration_date: datetime
:ivar private_link_scoped_resources: List of linked private link scope
resources.
:vartype private_link_scoped_resources:
Expand Down Expand Up @@ -174,6 +177,7 @@ class ApplicationInsightsComponent(ComponentsResource):
'connection_string': {'readonly': True},
'retention_in_days': {'readonly': True},
'workspace_resource_id': {'required': True},
'la_migration_date': {'readonly': True},
'private_link_scoped_resources': {'readonly': True},
}

Expand Down Expand Up @@ -201,6 +205,7 @@ class ApplicationInsightsComponent(ComponentsResource):
'disable_ip_masking': {'key': 'properties.DisableIpMasking', 'type': 'bool'},
'immediate_purge_data_on30_days': {'key': 'properties.ImmediatePurgeDataOn30Days', 'type': 'bool'},
'workspace_resource_id': {'key': 'properties.WorkspaceResourceId', 'type': 'str'},
'la_migration_date': {'key': 'properties.LaMigrationDate', 'type': 'iso-8601'},
'private_link_scoped_resources': {'key': 'properties.PrivateLinkScopedResources', 'type': '[PrivateLinkScopedResource]'},
'public_network_access_for_ingestion': {'key': 'properties.publicNetworkAccessForIngestion', 'type': 'str'},
'public_network_access_for_query': {'key': 'properties.publicNetworkAccessForQuery', 'type': 'str'},
Expand All @@ -227,6 +232,7 @@ def __init__(self, **kwargs):
self.disable_ip_masking = kwargs.get('disable_ip_masking', None)
self.immediate_purge_data_on30_days = kwargs.get('immediate_purge_data_on30_days', None)
self.workspace_resource_id = kwargs.get('workspace_resource_id', None)
self.la_migration_date = None
self.private_link_scoped_resources = None
self.public_network_access_for_ingestion = kwargs.get('public_network_access_for_ingestion', "Enabled")
self.public_network_access_for_query = kwargs.get('public_network_access_for_query', "Enabled")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,9 @@ class ApplicationInsightsComponent(ComponentsResource):
:param workspace_resource_id: Required. ResourceId of the log analytics
workspace which the data will be ingested to.
:type workspace_resource_id: str
:ivar la_migration_date: The date which the component got migrated to LA,
in ISO 8601 format.
:vartype la_migration_date: datetime
:ivar private_link_scoped_resources: List of linked private link scope
resources.
:vartype private_link_scoped_resources:
Expand Down Expand Up @@ -174,6 +177,7 @@ class ApplicationInsightsComponent(ComponentsResource):
'connection_string': {'readonly': True},
'retention_in_days': {'readonly': True},
'workspace_resource_id': {'required': True},
'la_migration_date': {'readonly': True},
'private_link_scoped_resources': {'readonly': True},
}

Expand Down Expand Up @@ -201,6 +205,7 @@ class ApplicationInsightsComponent(ComponentsResource):
'disable_ip_masking': {'key': 'properties.DisableIpMasking', 'type': 'bool'},
'immediate_purge_data_on30_days': {'key': 'properties.ImmediatePurgeDataOn30Days', 'type': 'bool'},
'workspace_resource_id': {'key': 'properties.WorkspaceResourceId', 'type': 'str'},
'la_migration_date': {'key': 'properties.LaMigrationDate', 'type': 'iso-8601'},
'private_link_scoped_resources': {'key': 'properties.PrivateLinkScopedResources', 'type': '[PrivateLinkScopedResource]'},
'public_network_access_for_ingestion': {'key': 'properties.publicNetworkAccessForIngestion', 'type': 'str'},
'public_network_access_for_query': {'key': 'properties.publicNetworkAccessForQuery', 'type': 'str'},
Expand All @@ -227,6 +232,7 @@ def __init__(self, *, location: str, kind: str, workspace_resource_id: str, tags
self.disable_ip_masking = disable_ip_masking
self.immediate_purge_data_on30_days = immediate_purge_data_on30_days
self.workspace_resource_id = workspace_resource_id
self.la_migration_date = None
self.private_link_scoped_resources = None
self.public_network_access_for_ingestion = public_network_access_for_ingestion
self.public_network_access_for_query = public_network_access_for_query
Expand Down