Skip to content
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,20 @@
from msrestazure import AzureConfiguration
from .version import VERSION
from .operations.operations import Operations
from .operations.components_operations import ComponentsOperations
from .operations.web_tests_operations import WebTestsOperations
from .operations.annotations_operations import AnnotationsOperations
from .operations.api_keys_operations import APIKeysOperations
from .operations.export_configurations_operations import ExportConfigurationsOperations
from .operations.component_current_billing_features_operations import ComponentCurrentBillingFeaturesOperations
from .operations.component_quota_status_operations import ComponentQuotaStatusOperations
from .operations.api_keys_operations import APIKeysOperations
from .operations.component_feature_capabilities_operations import ComponentFeatureCapabilitiesOperations
from .operations.component_available_features_operations import ComponentAvailableFeaturesOperations
from .operations.proactive_detection_configurations_operations import ProactiveDetectionConfigurationsOperations
from .operations.components_operations import ComponentsOperations
from .operations.work_item_configurations_operations import WorkItemConfigurationsOperations
from .operations.favorites_operations import FavoritesOperations
from .operations.favorite_operations import FavoriteOperations
from .operations.web_test_locations_operations import WebTestLocationsOperations
from .operations.web_tests_operations import WebTestsOperations
from . import models


Expand All @@ -33,16 +41,21 @@ class ApplicationInsightsManagementClientConfiguration(AzureConfiguration):
object<msrestazure.azure_active_directory>`
:param subscription_id: The Azure subscription ID.
:type subscription_id: str
:param purge_id: In a purge status request, this is the Id of the
operation the status of which is returned.
:type purge_id: str
:param str base_url: Service URL
"""

def __init__(
self, credentials, subscription_id, base_url=None):
self, credentials, subscription_id, purge_id, base_url=None):

if credentials is None:
raise ValueError("Parameter 'credentials' must not be None.")
if subscription_id is None:
raise ValueError("Parameter 'subscription_id' must not be None.")
if purge_id is None:
raise ValueError("Parameter 'purge_id' must not be None.")
if not base_url:
base_url = 'https://management.azure.com'

Expand All @@ -53,6 +66,7 @@ def __init__(

self.credentials = credentials
self.subscription_id = subscription_id
self.purge_id = purge_id


class ApplicationInsightsManagementClient(object):
Expand All @@ -63,31 +77,50 @@ class ApplicationInsightsManagementClient(object):

:ivar operations: Operations operations
:vartype operations: azure.mgmt.applicationinsights.operations.Operations
:ivar components: Components operations
:vartype components: azure.mgmt.applicationinsights.operations.ComponentsOperations
:ivar web_tests: WebTests operations
:vartype web_tests: azure.mgmt.applicationinsights.operations.WebTestsOperations
:ivar annotations: Annotations operations
:vartype annotations: azure.mgmt.applicationinsights.operations.AnnotationsOperations
:ivar api_keys: APIKeys operations
:vartype api_keys: azure.mgmt.applicationinsights.operations.APIKeysOperations
:ivar export_configurations: ExportConfigurations operations
:vartype export_configurations: azure.mgmt.applicationinsights.operations.ExportConfigurationsOperations
:ivar component_current_billing_features: ComponentCurrentBillingFeatures operations
:vartype component_current_billing_features: azure.mgmt.applicationinsights.operations.ComponentCurrentBillingFeaturesOperations
:ivar component_quota_status: ComponentQuotaStatus operations
:vartype component_quota_status: azure.mgmt.applicationinsights.operations.ComponentQuotaStatusOperations
:ivar api_keys: APIKeys operations
:vartype api_keys: azure.mgmt.applicationinsights.operations.APIKeysOperations
:ivar component_feature_capabilities: ComponentFeatureCapabilities operations
:vartype component_feature_capabilities: azure.mgmt.applicationinsights.operations.ComponentFeatureCapabilitiesOperations
:ivar component_available_features: ComponentAvailableFeatures operations
:vartype component_available_features: azure.mgmt.applicationinsights.operations.ComponentAvailableFeaturesOperations
:ivar proactive_detection_configurations: ProactiveDetectionConfigurations operations
:vartype proactive_detection_configurations: azure.mgmt.applicationinsights.operations.ProactiveDetectionConfigurationsOperations
:ivar components: Components operations
:vartype components: azure.mgmt.applicationinsights.operations.ComponentsOperations
:ivar work_item_configurations: WorkItemConfigurations operations
:vartype work_item_configurations: azure.mgmt.applicationinsights.operations.WorkItemConfigurationsOperations
:ivar favorites: Favorites operations
:vartype favorites: azure.mgmt.applicationinsights.operations.FavoritesOperations
:ivar favorite: Favorite operations
:vartype favorite: azure.mgmt.applicationinsights.operations.FavoriteOperations
:ivar web_test_locations: WebTestLocations operations
:vartype web_test_locations: azure.mgmt.applicationinsights.operations.WebTestLocationsOperations
:ivar web_tests: WebTests operations
:vartype web_tests: azure.mgmt.applicationinsights.operations.WebTestsOperations

:param credentials: Credentials needed for the client to connect to Azure.
:type credentials: :mod:`A msrestazure Credentials
object<msrestazure.azure_active_directory>`
:param subscription_id: The Azure subscription ID.
:type subscription_id: str
:param purge_id: In a purge status request, this is the Id of the
operation the status of which is returned.
:type purge_id: str
:param str base_url: Service URL
"""

def __init__(
self, credentials, subscription_id, base_url=None):
self, credentials, subscription_id, purge_id, base_url=None):

self.config = ApplicationInsightsManagementClientConfiguration(credentials, subscription_id, base_url)
self.config = ApplicationInsightsManagementClientConfiguration(credentials, subscription_id, purge_id, base_url)
self._client = ServiceClient(self.config.credentials, self.config)

client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)}
Expand All @@ -97,15 +130,31 @@ def __init__(

self.operations = Operations(
self._client, self.config, self._serialize, self._deserialize)
self.components = ComponentsOperations(
self.annotations = AnnotationsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.web_tests = WebTestsOperations(
self.api_keys = APIKeysOperations(
self._client, self.config, self._serialize, self._deserialize)
self.export_configurations = ExportConfigurationsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.component_current_billing_features = ComponentCurrentBillingFeaturesOperations(
self._client, self.config, self._serialize, self._deserialize)
self.component_quota_status = ComponentQuotaStatusOperations(
self._client, self.config, self._serialize, self._deserialize)
self.api_keys = APIKeysOperations(
self.component_feature_capabilities = ComponentFeatureCapabilitiesOperations(
self._client, self.config, self._serialize, self._deserialize)
self.component_available_features = ComponentAvailableFeaturesOperations(
self._client, self.config, self._serialize, self._deserialize)
self.proactive_detection_configurations = ProactiveDetectionConfigurationsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.components = ComponentsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.work_item_configurations = WorkItemConfigurationsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.favorites = FavoritesOperations(
self._client, self.config, self._serialize, self._deserialize)
self.favorite = FavoriteOperations(
self._client, self.config, self._serialize, self._deserialize)
self.web_test_locations = WebTestLocationsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.web_tests = WebTestsOperations(
self._client, self.config, self._serialize, self._deserialize)
Original file line number Diff line number Diff line change
Expand Up @@ -9,56 +9,136 @@
# regenerated.
# --------------------------------------------------------------------------

from .error_response import ErrorResponse, ErrorResponseException
from .operation_display import OperationDisplay
from .operation import Operation
from .resource import Resource
from .tags_resource import TagsResource
from .application_insights_component import ApplicationInsightsComponent
from .web_test_geolocation import WebTestGeolocation
from .web_test_properties_configuration import WebTestPropertiesConfiguration
from .web_test import WebTest
from .application_insights_component_export_request import ApplicationInsightsComponentExportRequest
from .application_insights_component_export_configuration import ApplicationInsightsComponentExportConfiguration
from .application_insights_component_data_volume_cap import ApplicationInsightsComponentDataVolumeCap
from .application_insights_component_billing_features import ApplicationInsightsComponentBillingFeatures
from .application_insights_component_quota_status import ApplicationInsightsComponentQuotaStatus
from .api_key_request import APIKeyRequest
from .application_insights_component_api_key import ApplicationInsightsComponentAPIKey
try:
from .error_response_py3 import ErrorResponse, ErrorResponseException
from .operation_display_py3 import OperationDisplay
from .operation_py3 import Operation
from .annotation_py3 import Annotation
from .inner_error_py3 import InnerError
from .annotation_error_py3 import AnnotationError, AnnotationErrorException
from .api_key_request_py3 import APIKeyRequest
from .application_insights_component_api_key_py3 import ApplicationInsightsComponentAPIKey
from .application_insights_component_export_request_py3 import ApplicationInsightsComponentExportRequest
from .application_insights_component_export_configuration_py3 import ApplicationInsightsComponentExportConfiguration
from .application_insights_component_data_volume_cap_py3 import ApplicationInsightsComponentDataVolumeCap
from .application_insights_component_billing_features_py3 import ApplicationInsightsComponentBillingFeatures
from .application_insights_component_quota_status_py3 import ApplicationInsightsComponentQuotaStatus
from .application_insights_component_feature_capabilities_py3 import ApplicationInsightsComponentFeatureCapabilities
from .application_insights_component_feature_capability_py3 import ApplicationInsightsComponentFeatureCapability
from .application_insights_component_feature_py3 import ApplicationInsightsComponentFeature
from .application_insights_component_available_features_py3 import ApplicationInsightsComponentAvailableFeatures
from .application_insights_component_proactive_detection_configuration_rule_definitions_py3 import ApplicationInsightsComponentProactiveDetectionConfigurationRuleDefinitions
from .application_insights_component_proactive_detection_configuration_py3 import ApplicationInsightsComponentProactiveDetectionConfiguration
from .resource_py3 import Resource
from .tags_resource_py3 import TagsResource
from .application_insights_component_py3 import ApplicationInsightsComponent
from .component_purge_body_filters_py3 import ComponentPurgeBodyFilters
from .component_purge_body_py3 import ComponentPurgeBody
from .component_purge_response_py3 import ComponentPurgeResponse
from .component_purge_status_response_py3 import ComponentPurgeStatusResponse
from .work_item_configuration_py3 import WorkItemConfiguration
from .work_item_create_configuration_py3 import WorkItemCreateConfiguration
from .work_item_configuration_error_py3 import WorkItemConfigurationError, WorkItemConfigurationErrorException
from .application_insights_component_favorite_py3 import ApplicationInsightsComponentFavorite
from .application_insights_component_web_test_location_py3 import ApplicationInsightsComponentWebTestLocation
from .web_test_geolocation_py3 import WebTestGeolocation
from .web_test_properties_configuration_py3 import WebTestPropertiesConfiguration
from .web_test_py3 import WebTest
except (SyntaxError, ImportError):
from .error_response import ErrorResponse, ErrorResponseException
from .operation_display import OperationDisplay
from .operation import Operation
from .annotation import Annotation
from .inner_error import InnerError
from .annotation_error import AnnotationError, AnnotationErrorException
from .api_key_request import APIKeyRequest
from .application_insights_component_api_key import ApplicationInsightsComponentAPIKey
from .application_insights_component_export_request import ApplicationInsightsComponentExportRequest
from .application_insights_component_export_configuration import ApplicationInsightsComponentExportConfiguration
from .application_insights_component_data_volume_cap import ApplicationInsightsComponentDataVolumeCap
from .application_insights_component_billing_features import ApplicationInsightsComponentBillingFeatures
from .application_insights_component_quota_status import ApplicationInsightsComponentQuotaStatus
from .application_insights_component_feature_capabilities import ApplicationInsightsComponentFeatureCapabilities
from .application_insights_component_feature_capability import ApplicationInsightsComponentFeatureCapability
from .application_insights_component_feature import ApplicationInsightsComponentFeature
from .application_insights_component_available_features import ApplicationInsightsComponentAvailableFeatures
from .application_insights_component_proactive_detection_configuration_rule_definitions import ApplicationInsightsComponentProactiveDetectionConfigurationRuleDefinitions
from .application_insights_component_proactive_detection_configuration import ApplicationInsightsComponentProactiveDetectionConfiguration
from .resource import Resource
from .tags_resource import TagsResource
from .application_insights_component import ApplicationInsightsComponent
from .component_purge_body_filters import ComponentPurgeBodyFilters
from .component_purge_body import ComponentPurgeBody
from .component_purge_response import ComponentPurgeResponse
from .component_purge_status_response import ComponentPurgeStatusResponse
from .work_item_configuration import WorkItemConfiguration
from .work_item_create_configuration import WorkItemCreateConfiguration
from .work_item_configuration_error import WorkItemConfigurationError, WorkItemConfigurationErrorException
from .application_insights_component_favorite import ApplicationInsightsComponentFavorite
from .application_insights_component_web_test_location import ApplicationInsightsComponentWebTestLocation
from .web_test_geolocation import WebTestGeolocation
from .web_test_properties_configuration import WebTestPropertiesConfiguration
from .web_test import WebTest
from .operation_paged import OperationPaged
from .application_insights_component_api_key_paged import ApplicationInsightsComponentAPIKeyPaged
from .application_insights_component_paged import ApplicationInsightsComponentPaged
from .application_insights_component_web_test_location_paged import ApplicationInsightsComponentWebTestLocationPaged
from .web_test_paged import WebTestPaged
from .application_insights_component_api_key_paged import ApplicationInsightsComponentAPIKeyPaged
from .application_insights_management_client_enums import (
ApplicationType,
FlowType,
RequestSource,
PurgeState,
FavoriteType,
WebTestKind,
FavoriteSourceType,
)

__all__ = [
'ErrorResponse', 'ErrorResponseException',
'OperationDisplay',
'Operation',
'Annotation',
'InnerError',
'AnnotationError', 'AnnotationErrorException',
'APIKeyRequest',
'ApplicationInsightsComponentAPIKey',
'ApplicationInsightsComponentExportRequest',
'ApplicationInsightsComponentExportConfiguration',
'ApplicationInsightsComponentDataVolumeCap',
'ApplicationInsightsComponentBillingFeatures',
'ApplicationInsightsComponentQuotaStatus',
'ApplicationInsightsComponentFeatureCapabilities',
'ApplicationInsightsComponentFeatureCapability',
'ApplicationInsightsComponentFeature',
'ApplicationInsightsComponentAvailableFeatures',
'ApplicationInsightsComponentProactiveDetectionConfigurationRuleDefinitions',
'ApplicationInsightsComponentProactiveDetectionConfiguration',
'Resource',
'TagsResource',
'ApplicationInsightsComponent',
'ComponentPurgeBodyFilters',
'ComponentPurgeBody',
'ComponentPurgeResponse',
'ComponentPurgeStatusResponse',
'WorkItemConfiguration',
'WorkItemCreateConfiguration',
'WorkItemConfigurationError', 'WorkItemConfigurationErrorException',
'ApplicationInsightsComponentFavorite',
'ApplicationInsightsComponentWebTestLocation',
'WebTestGeolocation',
'WebTestPropertiesConfiguration',
'WebTest',
'ApplicationInsightsComponentExportRequest',
'ApplicationInsightsComponentExportConfiguration',
'ApplicationInsightsComponentDataVolumeCap',
'ApplicationInsightsComponentBillingFeatures',
'ApplicationInsightsComponentQuotaStatus',
'APIKeyRequest',
'ApplicationInsightsComponentAPIKey',
'OperationPaged',
'ApplicationInsightsComponentAPIKeyPaged',
'ApplicationInsightsComponentPaged',
'ApplicationInsightsComponentWebTestLocationPaged',
'WebTestPaged',
'ApplicationInsightsComponentAPIKeyPaged',
'ApplicationType',
'FlowType',
'RequestSource',
'PurgeState',
'FavoriteType',
'WebTestKind',
'FavoriteSourceType',
]
Loading