Skip to content

Commit

Permalink
Generated from 724fba3782e819f4e22b3f816363a32180640417
Browse files Browse the repository at this point in the history
Adjust "Operation" name for uniqueness.
  • Loading branch information
SDK Automation committed Jul 23, 2020
1 parent 3620115 commit 7a6afb2
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
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

0 comments on commit 7a6afb2

Please sign in to comment.