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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions azure-mgmt-applicationinsights/HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,16 @@
Release History
===============

0.2.0 (2018-XXXXX)
++++++++++++++++++

* Add component_feature_capabilities operation group
* Add component_available_features operation group
* Add favorites operation group
* Add favorite operation group
* Add web_test_locations operation group
* Add proactive_detection_configurations operation group

0.1.0 (2018-01-17)
++++++++++++++++++

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,18 @@
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.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.api_keys_operations import APIKeysOperations
from .operations.component_feature_capabilities_operations import ComponentFeatureCapabilitiesOperations
from .operations.component_available_features_operations import ComponentAvailableFeaturesOperations
from .operations.components_operations import ComponentsOperations
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 @@ -63,18 +69,30 @@ 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 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
: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 components: Components operations
:vartype components: azure.mgmt.applicationinsights.operations.ComponentsOperations
: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 @@ -97,15 +115,27 @@ def __init__(

self.operations = Operations(
self._client, self.config, self._serialize, self._deserialize)
self.components = ComponentsOperations(
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(
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.components = ComponentsOperations(
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,53 +12,75 @@
from .error_response import ErrorResponse, ErrorResponseException
from .operation_display import OperationDisplay
from .operation import Operation
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 .resource import Resource
from .tags_resource import TagsResource
from .application_insights_component import ApplicationInsightsComponent
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 .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
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,
FavoriteType,
WebTestKind,
FavoriteSourceType,
)

__all__ = [
'ErrorResponse', 'ErrorResponseException',
'OperationDisplay',
'Operation',
'APIKeyRequest',
'ApplicationInsightsComponentAPIKey',
'ApplicationInsightsComponentExportRequest',
'ApplicationInsightsComponentExportConfiguration',
'ApplicationInsightsComponentProactiveDetectionConfigurationRuleDefinitions',
'ApplicationInsightsComponentProactiveDetectionConfiguration',
'ApplicationInsightsComponentDataVolumeCap',
'ApplicationInsightsComponentBillingFeatures',
'ApplicationInsightsComponentQuotaStatus',
'ApplicationInsightsComponentFeatureCapabilities',
'ApplicationInsightsComponentFeatureCapability',
'ApplicationInsightsComponentFeature',
'ApplicationInsightsComponentAvailableFeatures',
'Resource',
'TagsResource',
'ApplicationInsightsComponent',
'ApplicationInsightsComponentFavorite',
'ApplicationInsightsComponentWebTestLocation',
'WebTestGeolocation',
'WebTestPropertiesConfiguration',
'WebTest',
'ApplicationInsightsComponentExportRequest',
'ApplicationInsightsComponentExportConfiguration',
'ApplicationInsightsComponentDataVolumeCap',
'ApplicationInsightsComponentBillingFeatures',
'ApplicationInsightsComponentQuotaStatus',
'APIKeyRequest',
'ApplicationInsightsComponentAPIKey',
'OperationPaged',
'ApplicationInsightsComponentAPIKeyPaged',
'ApplicationInsightsComponentPaged',
'ApplicationInsightsComponentWebTestLocationPaged',
'WebTestPaged',
'ApplicationInsightsComponentAPIKeyPaged',
'ApplicationType',
'FlowType',
'RequestSource',
'FavoriteType',
'WebTestKind',
'FavoriteSourceType',
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# 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 ApplicationInsightsComponentAvailableFeatures(Model):
"""An Application Insights component available features.

Variables are only populated by the server, and will be ignored when
sending a request.

:ivar result: A list of Application Insigths component feature.
:vartype result:
list[~azure.mgmt.applicationinsights.models.ApplicationInsightsComponentFeature]
"""

_validation = {
'result': {'readonly': True},
}

_attribute_map = {
'result': {'key': 'Result', 'type': '[ApplicationInsightsComponentFeature]'},
}

def __init__(self):
super(ApplicationInsightsComponentAvailableFeatures, self).__init__()
self.result = None
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
Loading