Skip to content

Commit

Permalink
Manually Release Application Insights (Azure#10733)
Browse files Browse the repository at this point in the history
  • Loading branch information
LianwMS authored Apr 9, 2020
1 parent c5a82fb commit 2dc413e
Show file tree
Hide file tree
Showing 195 changed files with 14,989 additions and 5,256 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,68 @@
# Release History

## 0.3.0 (2020-04-08)

**Features**

- Model ApplicationInsightsComponentProactiveDetectionConfiguration has a new parameter type
- Model ApplicationInsightsComponentProactiveDetectionConfiguration has a new parameter location
- Model ApplicationInsightsComponentProactiveDetectionConfiguration has a new parameter id
- Model ApplicationInsightsComponentProactiveDetectionConfiguration has a new parameter name1
- Model ApplicationInsightsComponent has a new parameter connection_string
- Model ApplicationInsightsComponent has a new parameter immediate_purge_data_on30_days
- Model ApplicationInsightsComponent has a new parameter retention_in_days
- Model ApplicationInsightsComponent has a new parameter disable_ip_masking
- Model ApplicationInsightsComponent has a new parameter public_network_access_for_query
- Model ApplicationInsightsComponent has a new parameter private_link_scoped_resources
- Model ApplicationInsightsComponent has a new parameter public_network_access_for_ingestion
- Added operation group ComponentCurrentPricingPlanOperations
- Added operation group ComponentLinkedStorageAccountsOperations
- Added operation group EASubscriptionListMigrationDateOperations
- Added operation group EASubscriptionMigrateToNewPricingModelOperations
- Added operation group EASubscriptionRollbackToLegacyPricingModelOperations
- Added operation group QueryPacksOperations
- Added operation group WorkbookTemplatesOperations
- Added operation group QueriesOperations

**Breaking changes**

- Parameter location of model Workbook is now required
- Operation WorkbooksOperations.create_or_update has a new signature
- Operation WorkbooksOperations.list_by_resource_group has a new signature
- Operation WorkbooksOperations.update has a new signature
- Model Workbook no longer has parameter workbook_name
- Model Workbook no longer has parameter source_resource_id
- Model Workbook no longer has parameter shared_type_kind
- Model Workbook no longer has parameter workbook_id
- Model Workbook has a new required parameter display_name
- Model ApplicationInsightsComponent has a new required parameter workspace_resource_id

**General Breaking Changes**

This version uses a next-generation code generator that *might*
introduce breaking changes. In summary, some modules were incorrectly
visible/importable and have been renamed. This fixed several issues
caused by usage of classes that were not supposed to be used in the
first place.

- ApplicationInsightsManagementClient cannot be imported from
`azure.mgmt.applicationinsights.application_insights_management_client` anymore (import from
`azure.mgmt.applicationinsights` works like before)
- ApplicationInsightsManagementClientConfiguration import has been moved from
`azure.mgmt.applicationinsights.application_insights_management_client`
to `azure.mgmt.applicationinsights`
- A model `MyClass` from a "models" sub-module cannot be imported
anymore using `azure.mgmt.applicationinsights.models.my_class` (import from
`azure.mgmt.applicationinsights.models` works like before)
- An operation class `MyClassOperations` from an `operations`
sub-module cannot be imported anymore using
`azure.mgmt.applicationinsights.operations.my_class_operations` (import from
`azure.mgmt.applicationinsights.operations` works like before)

Last but not least, HTTP connection pooling is now enabled by default.
You should always use a client as a context manager, or call close(), or
use no more than one client per process.

## 0.2.0 (2019-04-10)

**Features**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,11 @@
# regenerated.
# --------------------------------------------------------------------------

from .application_insights_management_client import ApplicationInsightsManagementClient
from .version import VERSION
from ._configuration import ApplicationInsightsManagementClientConfiguration
from ._application_insights_management_client import ApplicationInsightsManagementClient
__all__ = ['ApplicationInsightsManagementClient', 'ApplicationInsightsManagementClientConfiguration']

__all__ = ['ApplicationInsightsManagementClient']
from .version import VERSION

__version__ = VERSION

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# 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 msrestazure import AzureConfiguration

from .version import VERSION


class ApplicationInsightsManagementClientConfiguration(AzureConfiguration):
"""Configuration for ApplicationInsightsManagementClient
Note that all parameters used to create this instance are saved as instance
attributes.
: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 ID of the target subscription.
:type subscription_id: str
:param str base_url: Service URL
"""

def __init__(
self, credentials, subscription_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 not base_url:
base_url = 'https://management.azure.com'

super(ApplicationInsightsManagementClientConfiguration, self).__init__(base_url)

# Starting Autorest.Python 4.0.64, make connection pool activated by default
self.keep_alive = True

self.add_user_agent('azure-mgmt-applicationinsights/{}'.format(VERSION))
self.add_user_agent('Azure-SDK-For-Python')

self.credentials = credentials
self.subscription_id = subscription_id
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# 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.
# --------------------------------------------------------------------------
from .v2015_05_01.models import *
from .v2017_10_01.models import *
from .v2018_05_01_preview.models import *
from .v2018_06_17_preview.models import *
from .v2019_09_01_preview.models import *
from .v2019_10_17_preview.models import *
from .v2020_02_02_preview.models import *
from .v2020_03_01_preview.models import *

This file was deleted.

This file was deleted.

Loading

0 comments on commit 2dc413e

Please sign in to comment.