Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[T2-GA] Appconfiguration #13784

Merged
merged 4 commits into from
Sep 17, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
29 changes: 29 additions & 0 deletions sdk/appconfiguration/azure-mgmt-appconfiguration/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,34 @@
# Release History

## 1.0.0 (2020-09-15)

**Features**

- Model ConfigurationStoreUpdateParameters has a new parameter properties
- Added operation ConfigurationStoresOperations.create
- Added operation ConfigurationStoresOperations.update
- Added operation ConfigurationStoresOperations.delete

**Breaking changes**

- Operation Operations.list has a new signature
- Operation ConfigurationStoresOperations.list_keys has a new signature
- Operation ConfigurationStoresOperations.list_by_resource_group has a new signature
- Operation ConfigurationStoresOperations.list has a new signature
- Operation ConfigurationStoresOperations.get has a new signature
- Model ConfigurationStore no longer has parameter private_endpoint_connections
- Model ConfigurationStore no longer has parameter public_network_access
- Model ConfigurationStore no longer has parameter encryption
- Model ConfigurationStoreUpdateParameters no longer has parameter encryption
- Operation ConfigurationStoresOperations.list_key_value has a new signature
- Operation ConfigurationStoresOperations.regenerate_key has a new signature
- Operation Operations.check_name_availability has a new signature
- Removed operation ConfigurationStoresOperations.begin_update
- Removed operation ConfigurationStoresOperations.begin_delete
- Removed operation ConfigurationStoresOperations.begin_create
- Removed operation group PrivateLinkResourcesOperations
- Removed operation group PrivateEndpointConnectionsOperations

## 1.0.0b1 (2020-06-17)

This is beta preview version.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
__all__ = ['AppConfigurationManagementClient']

try:
from ._patch import patch_sdk
from ._patch import patch_sdk # type: ignore
patch_sdk()
except ImportError:
pass
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ def __init__(

client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)}
self._serialize = Serializer(client_models)
self._serialize.client_side_validation = False
self._deserialize = Deserializer(client_models)

self.configuration_stores = ConfigurationStoresOperations(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

from azure.core.configuration import Configuration
from azure.core.pipeline import policies
from azure.mgmt.core.policies import ARMHttpLoggingPolicy

from ._version import VERSION

Expand Down Expand Up @@ -47,9 +48,8 @@ def __init__(

self.credential = credential
self.subscription_id = subscription_id
self.api_version = "2019-11-01-preview"
self.credential_scopes = ['https://management.azure.com/.default']
self.credential_scopes.extend(kwargs.pop('credential_scopes', []))
self.api_version = "2020-06-01"
self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default'])
kwargs.setdefault('sdk_moniker', 'mgmt-appconfiguration/{}'.format(VERSION))
self._configure(**kwargs)

Expand All @@ -62,6 +62,7 @@ def _configure(
self.headers_policy = kwargs.get('headers_policy') or policies.HeadersPolicy(**kwargs)
self.proxy_policy = kwargs.get('proxy_policy') or policies.ProxyPolicy(**kwargs)
self.logging_policy = kwargs.get('logging_policy') or policies.NetworkTraceLoggingPolicy(**kwargs)
self.http_logging_policy = kwargs.get('http_logging_policy') or ARMHttpLoggingPolicy(**kwargs)
self.retry_policy = kwargs.get('retry_policy') or policies.RetryPolicy(**kwargs)
self.custom_hook_policy = kwargs.get('custom_hook_policy') or policies.CustomHookPolicy(**kwargs)
self.redirect_policy = kwargs.get('redirect_policy') or policies.RedirectPolicy(**kwargs)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "1.0.0b1"
VERSION = "16.0.0"
00Kai0 marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

from ._app_configuration_management_client_async import AppConfigurationManagementClient
from ._app_configuration_management_client import AppConfigurationManagementClient
__all__ = ['AppConfigurationManagementClient']
Original file line number Diff line number Diff line change
Expand Up @@ -15,25 +15,25 @@
# pylint: disable=unused-import,ungrouped-imports
from azure.core.credentials_async import AsyncTokenCredential

from ._configuration_async import AppConfigurationManagementClientConfiguration
from .operations_async import ConfigurationStoresOperations
from .operations_async import Operations
from .operations_async import PrivateEndpointConnectionsOperations
from .operations_async import PrivateLinkResourcesOperations
from ._configuration import AppConfigurationManagementClientConfiguration
from .operations import ConfigurationStoresOperations
from .operations import Operations
from .operations import PrivateEndpointConnectionsOperations
from .operations import PrivateLinkResourcesOperations
from .. import models


class AppConfigurationManagementClient(object):
"""AppConfigurationManagementClient.

:ivar configuration_stores: ConfigurationStoresOperations operations
:vartype configuration_stores: app_configuration_management_client.aio.operations_async.ConfigurationStoresOperations
:vartype configuration_stores: app_configuration_management_client.aio.operations.ConfigurationStoresOperations
:ivar operations: Operations operations
:vartype operations: app_configuration_management_client.aio.operations_async.Operations
:vartype operations: app_configuration_management_client.aio.operations.Operations
:ivar private_endpoint_connections: PrivateEndpointConnectionsOperations operations
:vartype private_endpoint_connections: app_configuration_management_client.aio.operations_async.PrivateEndpointConnectionsOperations
:vartype private_endpoint_connections: app_configuration_management_client.aio.operations.PrivateEndpointConnectionsOperations
:ivar private_link_resources: PrivateLinkResourcesOperations operations
:vartype private_link_resources: app_configuration_management_client.aio.operations_async.PrivateLinkResourcesOperations
:vartype private_link_resources: app_configuration_management_client.aio.operations.PrivateLinkResourcesOperations
:param credential: Credential needed for the client to connect to Azure.
:type credential: ~azure.core.credentials_async.AsyncTokenCredential
:param subscription_id: The Microsoft Azure subscription ID.
Expand All @@ -56,6 +56,7 @@ def __init__(

client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)}
self._serialize = Serializer(client_models)
self._serialize.client_side_validation = False
self._deserialize = Deserializer(client_models)

self.configuration_stores = ConfigurationStoresOperations(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

from azure.core.configuration import Configuration
from azure.core.pipeline import policies
from azure.mgmt.core.policies import ARMHttpLoggingPolicy

from .._version import VERSION

Expand Down Expand Up @@ -44,9 +45,8 @@ def __init__(

self.credential = credential
self.subscription_id = subscription_id
self.api_version = "2019-11-01-preview"
self.credential_scopes = ['https://management.azure.com/.default']
self.credential_scopes.extend(kwargs.pop('credential_scopes', []))
self.api_version = "2020-06-01"
self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default'])
kwargs.setdefault('sdk_moniker', 'mgmt-appconfiguration/{}'.format(VERSION))
self._configure(**kwargs)

Expand All @@ -58,6 +58,7 @@ def _configure(
self.headers_policy = kwargs.get('headers_policy') or policies.HeadersPolicy(**kwargs)
self.proxy_policy = kwargs.get('proxy_policy') or policies.ProxyPolicy(**kwargs)
self.logging_policy = kwargs.get('logging_policy') or policies.NetworkTraceLoggingPolicy(**kwargs)
self.http_logging_policy = kwargs.get('http_logging_policy') or ARMHttpLoggingPolicy(**kwargs)
self.retry_policy = kwargs.get('retry_policy') or policies.AsyncRetryPolicy(**kwargs)
self.custom_hook_policy = kwargs.get('custom_hook_policy') or policies.CustomHookPolicy(**kwargs)
self.redirect_policy = kwargs.get('redirect_policy') or policies.AsyncRedirectPolicy(**kwargs)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

from ._configuration_stores_operations_async import ConfigurationStoresOperations
from ._operations_async import Operations
from ._private_endpoint_connections_operations_async import PrivateEndpointConnectionsOperations
from ._private_link_resources_operations_async import PrivateLinkResourcesOperations
from ._configuration_stores_operations import ConfigurationStoresOperations
from ._operations import Operations
from ._private_endpoint_connections_operations import PrivateEndpointConnectionsOperations
from ._private_link_resources_operations import PrivateLinkResourcesOperations

__all__ = [
'ConfigurationStoresOperations',
Expand Down