diff --git a/sdk/applicationinsights/azure-mgmt-applicationinsights/azure/mgmt/applicationinsights/models/_models.py b/sdk/applicationinsights/azure-mgmt-applicationinsights/azure/mgmt/applicationinsights/models/_models.py index d5e7d83973c0..a39793212eee 100644 --- a/sdk/applicationinsights/azure-mgmt-applicationinsights/azure/mgmt/applicationinsights/models/_models.py +++ b/sdk/applicationinsights/azure-mgmt-applicationinsights/azure/mgmt/applicationinsights/models/_models.py @@ -221,6 +221,8 @@ class ApplicationInsightsComponent(ComponentsResource): application being monitored that is being sampled for Application Insights telemetry. :type sampling_percentage: float + :ivar connection_string: Application Insights component connection string. + :vartype connection_string: str """ _validation = { @@ -237,6 +239,7 @@ class ApplicationInsightsComponent(ComponentsResource): 'tenant_id': {'readonly': True}, 'hockey_app_token': {'readonly': True}, 'provisioning_state': {'readonly': True}, + 'connection_string': {'readonly': True}, } _attribute_map = { @@ -258,6 +261,7 @@ class ApplicationInsightsComponent(ComponentsResource): 'hockey_app_token': {'key': 'properties.HockeyAppToken', 'type': 'str'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'sampling_percentage': {'key': 'properties.SamplingPercentage', 'type': 'float'}, + 'connection_string': {'key': 'properties.ConnectionString', 'type': 'str'}, } def __init__(self, **kwargs): @@ -275,6 +279,7 @@ def __init__(self, **kwargs): self.hockey_app_token = None self.provisioning_state = None self.sampling_percentage = kwargs.get('sampling_percentage', None) + self.connection_string = None class ApplicationInsightsComponentAnalyticsItem(Model): diff --git a/sdk/applicationinsights/azure-mgmt-applicationinsights/azure/mgmt/applicationinsights/models/_models_py3.py b/sdk/applicationinsights/azure-mgmt-applicationinsights/azure/mgmt/applicationinsights/models/_models_py3.py index eb31c21c949c..29a11b2acc97 100644 --- a/sdk/applicationinsights/azure-mgmt-applicationinsights/azure/mgmt/applicationinsights/models/_models_py3.py +++ b/sdk/applicationinsights/azure-mgmt-applicationinsights/azure/mgmt/applicationinsights/models/_models_py3.py @@ -221,6 +221,8 @@ class ApplicationInsightsComponent(ComponentsResource): application being monitored that is being sampled for Application Insights telemetry. :type sampling_percentage: float + :ivar connection_string: Application Insights component connection string. + :vartype connection_string: str """ _validation = { @@ -237,6 +239,7 @@ class ApplicationInsightsComponent(ComponentsResource): 'tenant_id': {'readonly': True}, 'hockey_app_token': {'readonly': True}, 'provisioning_state': {'readonly': True}, + 'connection_string': {'readonly': True}, } _attribute_map = { @@ -258,6 +261,7 @@ class ApplicationInsightsComponent(ComponentsResource): 'hockey_app_token': {'key': 'properties.HockeyAppToken', 'type': 'str'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'sampling_percentage': {'key': 'properties.SamplingPercentage', 'type': 'float'}, + 'connection_string': {'key': 'properties.ConnectionString', 'type': 'str'}, } def __init__(self, *, location: str, kind: str, tags=None, application_type="web", flow_type="Bluefield", request_source="rest", hockey_app_id: str=None, sampling_percentage: float=None, **kwargs) -> None: @@ -275,6 +279,7 @@ def __init__(self, *, location: str, kind: str, tags=None, application_type="web self.hockey_app_token = None self.provisioning_state = None self.sampling_percentage = sampling_percentage + self.connection_string = None class ApplicationInsightsComponentAnalyticsItem(Model):