Skip to content

Commit

Permalink
Rebuild by #2022
Browse files Browse the repository at this point in the history
  • Loading branch information
AutorestCI committed Feb 28, 2018
1 parent 3d50a9d commit 001f735
Show file tree
Hide file tree
Showing 11 changed files with 838 additions and 68 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +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.proactive_detection_configurations_operations import ProactiveDetectionConfigurationsOperations
from .operations.component_current_billing_features_operations import ComponentCurrentBillingFeaturesOperations
from .operations.component_quota_status_operations import ComponentQuotaStatusOperations
from .operations.component_feature_capabilities_operations import ComponentFeatureCapabilitiesOperations
from .operations.component_available_features_operations import ComponentAvailableFeaturesOperations
from .operations.api_keys_operations import APIKeysOperations
from .operations.annotations_operations import AnnotationsOperations
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 Down Expand Up @@ -74,14 +77,12 @@ 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 proactive_detection_configurations: ProactiveDetectionConfigurations operations
:vartype proactive_detection_configurations: azure.mgmt.applicationinsights.operations.ProactiveDetectionConfigurationsOperations
:ivar component_current_billing_features: ComponentCurrentBillingFeatures operations
:vartype component_current_billing_features: azure.mgmt.applicationinsights.operations.ComponentCurrentBillingFeaturesOperations
:ivar component_quota_status: ComponentQuotaStatus operations
Expand All @@ -90,12 +91,20 @@ class ApplicationInsightsManagementClient(object):
: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 api_keys: APIKeys operations
:vartype api_keys: azure.mgmt.applicationinsights.operations.APIKeysOperations
:ivar annotations: Annotations operations
:vartype annotations: azure.mgmt.applicationinsights.operations.AnnotationsOperations
: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
Expand All @@ -121,14 +130,12 @@ 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.proactive_detection_configurations = ProactiveDetectionConfigurationsOperations(
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(
Expand All @@ -137,9 +144,17 @@ def __init__(
self._client, self.config, self._serialize, self._deserialize)
self.component_available_features = ComponentAvailableFeaturesOperations(
self._client, self.config, self._serialize, self._deserialize)
self.api_keys = APIKeysOperations(
self.proactive_detection_configurations = ProactiveDetectionConfigurationsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.annotations = AnnotationsOperations(
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 @@ -12,87 +12,97 @@
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 .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 .web_test_geolocation import WebTestGeolocation
from .web_test_properties_configuration import WebTestPropertiesConfiguration
from .web_test import WebTest
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_proactive_detection_configuration_rule_definitions import ApplicationInsightsComponentProactiveDetectionConfigurationRuleDefinitions
from .application_insights_component_proactive_detection_configuration import ApplicationInsightsComponentProactiveDetectionConfiguration
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 .api_key_request import APIKeyRequest
from .application_insights_component_api_key import ApplicationInsightsComponentAPIKey
from .annotation import Annotation
from .inner_error import InnerError
from .annotation_error import AnnotationError, AnnotationErrorException
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',
'Resource',
'TagsResource',
'ApplicationInsightsComponent',
'ComponentPurgeBodyFilters',
'ComponentPurgeBody',
'ComponentPurgeResponse',
'ComponentPurgeStatusResponse',
'WebTestGeolocation',
'WebTestPropertiesConfiguration',
'WebTest',
'Annotation',
'InnerError',
'AnnotationError', 'AnnotationErrorException',
'APIKeyRequest',
'ApplicationInsightsComponentAPIKey',
'ApplicationInsightsComponentExportRequest',
'ApplicationInsightsComponentExportConfiguration',
'ApplicationInsightsComponentProactiveDetectionConfigurationRuleDefinitions',
'ApplicationInsightsComponentProactiveDetectionConfiguration',
'ApplicationInsightsComponentDataVolumeCap',
'ApplicationInsightsComponentBillingFeatures',
'ApplicationInsightsComponentQuotaStatus',
'ApplicationInsightsComponentFeatureCapabilities',
'ApplicationInsightsComponentFeatureCapability',
'ApplicationInsightsComponentFeature',
'ApplicationInsightsComponentAvailableFeatures',
'APIKeyRequest',
'ApplicationInsightsComponentAPIKey',
'Annotation',
'InnerError',
'AnnotationError', 'AnnotationErrorException',
'ApplicationInsightsComponentProactiveDetectionConfigurationRuleDefinitions',
'ApplicationInsightsComponentProactiveDetectionConfiguration',
'Resource',
'TagsResource',
'ApplicationInsightsComponent',
'ComponentPurgeBodyFilters',
'ComponentPurgeBody',
'ComponentPurgeResponse',
'ComponentPurgeStatusResponse',
'WorkItemConfiguration',
'WorkItemCreateConfiguration',
'WorkItemConfigurationError', 'WorkItemConfigurationErrorException',
'ApplicationInsightsComponentFavorite',
'ApplicationInsightsComponentWebTestLocation',
'WebTestGeolocation',
'WebTestPropertiesConfiguration',
'WebTest',
'OperationPaged',
'ApplicationInsightsComponentAPIKeyPaged',
'ApplicationInsightsComponentPaged',
'ApplicationInsightsComponentWebTestLocationPaged',
'WebTestPaged',
'ApplicationInsightsComponentAPIKeyPaged',
'ApplicationType',
'FlowType',
'RequestSource',
'PurgeState',
'FavoriteType',
'WebTestKind',
'FavoriteSourceType',
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------

from msrest.serialization import Model


class ApplicationInsightsComponentFavorite(Model):
"""Properties that define a favorite that is associated to an Application
Insights component.
Variables are only populated by the server, and will be ignored when
sending a request.
:param name: The user-defined name of the favorite.
:type name: str
:param config: Configuration of this particular favorite, which are driven
by the Azure portal UX. Configuration data is a string containing valid
JSON
:type config: str
:param version: This instance's version of the data model. This can change
as new features are added that can be marked favorite. Current examples
include MetricsExplorer (ME) and Search.
:type version: str
:ivar favorite_id: Internally assigned unique id of the favorite
definition.
:vartype favorite_id: str
:param favorite_type: Enum indicating if this favorite definition is owned
by a specific user or is shared between all users with access to the
Application Insights component. Possible values include: 'shared', 'user'
:type favorite_type: str or
~azure.mgmt.applicationinsights.models.FavoriteType
:param source_type: The source of the favorite definition.
:type source_type: str
:ivar time_modified: Date and time in UTC of the last modification that
was made to this favorite definition.
:vartype time_modified: str
:param tags: A list of 0 or more tags that are associated with this
favorite definition
:type tags: list[str]
:param category: Favorite category, as defined by the user at creation
time.
:type category: str
:param is_generated_from_template: Flag denoting wether or not this
favorite was generated from a template.
:type is_generated_from_template: bool
:ivar user_id: Unique user id of the specific user that owns this
favorite.
:vartype user_id: str
"""

_validation = {
'favorite_id': {'readonly': True},
'time_modified': {'readonly': True},
'user_id': {'readonly': True},
}

_attribute_map = {
'name': {'key': 'Name', 'type': 'str'},
'config': {'key': 'Config', 'type': 'str'},
'version': {'key': 'Version', 'type': 'str'},
'favorite_id': {'key': 'FavoriteId', 'type': 'str'},
'favorite_type': {'key': 'FavoriteType', 'type': 'FavoriteType'},
'source_type': {'key': 'SourceType', 'type': 'str'},
'time_modified': {'key': 'TimeModified', 'type': 'str'},
'tags': {'key': 'Tags', 'type': '[str]'},
'category': {'key': 'Category', 'type': 'str'},
'is_generated_from_template': {'key': 'IsGeneratedFromTemplate', 'type': 'bool'},
'user_id': {'key': 'UserId', 'type': 'str'},
}

def __init__(self, name=None, config=None, version=None, favorite_type=None, source_type=None, tags=None, category=None, is_generated_from_template=None):
super(ApplicationInsightsComponentFavorite, self).__init__()
self.name = name
self.config = config
self.version = version
self.favorite_id = None
self.favorite_type = favorite_type
self.source_type = source_type
self.time_modified = None
self.tags = tags
self.category = category
self.is_generated_from_template = is_generated_from_template
self.user_id = None
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------

from msrest.serialization import Model


class ApplicationInsightsComponentWebTestLocation(Model):
"""Properties that define a web test location available to an Application
Insights Component.
Variables are only populated by the server, and will be ignored when
sending a request.
:ivar display_name: The display name of the web test location.
:vartype display_name: str
:ivar tag: Internally defined geographic location tag.
:vartype tag: str
"""

_validation = {
'display_name': {'readonly': True},
'tag': {'readonly': True},
}

_attribute_map = {
'display_name': {'key': 'DisplayName', 'type': 'str'},
'tag': {'key': 'Tag', 'type': 'str'},
}

def __init__(self):
super(ApplicationInsightsComponentWebTestLocation, self).__init__()
self.display_name = None
self.tag = None
Loading

0 comments on commit 001f735

Please sign in to comment.