Skip to content

Commit

Permalink
[AutoRelease] t1-appconfiguration-2021-06-21-22306 (Azure#19349)
Browse files Browse the repository at this point in the history
* CodeGen from PR 14452 in Azure/azure-rest-api-specs
Added missing updatable properties in ConfigurationStorePropertiesUpdateParameters (Azure#14452)

Co-authored-by: jimmypc92 <jimmypc92>

* version,CHANGELOG

* test

* test config

Co-authored-by: SDKAuto <sdkautomation@microsoft.com>
Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>
Co-authored-by: Zed <601306339@qq.com>
  • Loading branch information
3 people authored Jun 22, 2021
1 parent d84085d commit f3aa604
Show file tree
Hide file tree
Showing 18 changed files with 1,361 additions and 504 deletions.
21 changes: 21 additions & 0 deletions sdk/appconfiguration/azure-mgmt-appconfiguration/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,26 @@
# Release History

## 0.7.0 (2021-06-21)

**Features**

- Model OperationDefinition has a new parameter is_data_action
- Model OperationDefinition has a new parameter properties
- Model OperationDefinition has a new parameter origin
- Model ConfigurationStore has a new parameter disable_local_auth
- Model ConfigurationStore has a new parameter system_data
- Model KeyValue has a new parameter id
- Model KeyValue has a new parameter type
- Model KeyValue has a new parameter name
- Model ConfigurationStoreUpdateParameters has a new parameter disable_local_auth
- Added operation group KeyValuesOperations

**Breaking changes**

- Model Resource no longer has parameter location
- Model Resource no longer has parameter tags
- Removed operation ConfigurationStoresOperations.list_key_value

## 0.6.0 (2020-08-19)

**Features**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
include _meta.json
recursive-include tests *.py *.yaml
include *.md
include azure/__init__.py
Expand Down
8 changes: 8 additions & 0 deletions sdk/appconfiguration/azure-mgmt-appconfiguration/_meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"autorest": "V2",
"use": "@microsoft.azure/autorest.python@~4.0.71",
"commit": "8295604d233d427afceff05bd5ed36d0cb7ae572",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest_command": "autorest specification/appconfiguration/resource-manager/readme.md --keep-version-file --multiapi --no-async --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --use=@microsoft.azure/autorest.python@~4.0.71 --version=V2",
"readme": "specification/appconfiguration/resource-manager/readme.md"
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
from .operations import Operations
from .operations import PrivateEndpointConnectionsOperations
from .operations import PrivateLinkResourcesOperations
from .operations import KeyValuesOperations
from . import models


Expand All @@ -34,6 +35,8 @@ class AppConfigurationManagementClient(SDKClient):
:vartype private_endpoint_connections: azure.mgmt.appconfiguration.operations.PrivateEndpointConnectionsOperations
:ivar private_link_resources: PrivateLinkResources operations
:vartype private_link_resources: azure.mgmt.appconfiguration.operations.PrivateLinkResourcesOperations
:ivar key_values: KeyValues operations
:vartype key_values: azure.mgmt.appconfiguration.operations.KeyValuesOperations
:param credentials: Credentials needed for the client to connect to Azure.
:type credentials: :mod:`A msrestazure Credentials
Expand All @@ -50,7 +53,7 @@ def __init__(
super(AppConfigurationManagementClient, self).__init__(self.config.credentials, self.config)

client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)}
self.api_version = '2020-06-01'
self.api_version = '2021-03-01-preview'
self._serialize = Serializer(client_models)
self._deserialize = Deserializer(client_models)

Expand All @@ -62,3 +65,5 @@ def __init__(
self._client, self.config, self._serialize, self._deserialize)
self.private_link_resources = PrivateLinkResourcesOperations(
self._client, self.config, self._serialize, self._deserialize)
self.key_values = KeyValuesOperations(
self._client, self.config, self._serialize, self._deserialize)
Original file line number Diff line number Diff line change
Expand Up @@ -11,52 +11,73 @@

try:
from ._models_py3 import ApiKey
from ._models_py3 import AzureEntityResource
from ._models_py3 import CheckNameAvailabilityParameters
from ._models_py3 import ConfigurationStore
from ._models_py3 import ConfigurationStoreUpdateParameters
from ._models_py3 import EncryptionProperties
from ._models_py3 import Error, ErrorException
from ._models_py3 import ErrorAdditionalInfo
from ._models_py3 import ErrorDetails
from ._models_py3 import ErrorResponse, ErrorResponseException
from ._models_py3 import KeyValue
from ._models_py3 import KeyVaultProperties
from ._models_py3 import ListKeyValueParameters
from ._models_py3 import LogSpecification
from ._models_py3 import MetricDimension
from ._models_py3 import MetricSpecification
from ._models_py3 import NameAvailabilityStatus
from ._models_py3 import OperationDefinition
from ._models_py3 import OperationDefinitionDisplay
from ._models_py3 import OperationProperties
from ._models_py3 import PrivateEndpoint
from ._models_py3 import PrivateEndpointConnection
from ._models_py3 import PrivateEndpointConnectionReference
from ._models_py3 import PrivateLinkResource
from ._models_py3 import PrivateLinkServiceConnectionState
from ._models_py3 import ProxyResource
from ._models_py3 import RegenerateKeyParameters
from ._models_py3 import Resource
from ._models_py3 import ResourceIdentity
from ._models_py3 import ServiceSpecification
from ._models_py3 import Sku
from ._models_py3 import SystemData
from ._models_py3 import TrackedResource
from ._models_py3 import UserIdentity
except (SyntaxError, ImportError):
from ._models import ApiKey
from ._models import AzureEntityResource
from ._models import CheckNameAvailabilityParameters
from ._models import ConfigurationStore
from ._models import ConfigurationStoreUpdateParameters
from ._models import EncryptionProperties
from ._models import Error, ErrorException
from ._models import ErrorAdditionalInfo
from ._models import ErrorDetails
from ._models import ErrorResponse, ErrorResponseException
from ._models import KeyValue
from ._models import KeyVaultProperties
from ._models import ListKeyValueParameters
from ._models import LogSpecification
from ._models import MetricDimension
from ._models import MetricSpecification
from ._models import NameAvailabilityStatus
from ._models import OperationDefinition
from ._models import OperationDefinitionDisplay
from ._models import OperationProperties
from ._models import PrivateEndpoint
from ._models import PrivateEndpointConnection
from ._models import PrivateEndpointConnectionReference
from ._models import PrivateLinkResource
from ._models import PrivateLinkServiceConnectionState
from ._models import ProxyResource
from ._models import RegenerateKeyParameters
from ._models import Resource
from ._models import ResourceIdentity
from ._models import ServiceSpecification
from ._models import Sku
from ._models import SystemData
from ._models import TrackedResource
from ._models import UserIdentity
from ._paged_models import ApiKeyPaged
from ._paged_models import ConfigurationStorePaged
from ._paged_models import KeyValuePaged
from ._paged_models import OperationDefinitionPaged
from ._paged_models import PrivateEndpointConnectionPaged
from ._paged_models import PrivateLinkResourcePaged
Expand All @@ -66,39 +87,52 @@
ConnectionStatus,
ActionsRequired,
PublicNetworkAccess,
CreatedByType,
)

__all__ = [
'ApiKey',
'AzureEntityResource',
'CheckNameAvailabilityParameters',
'ConfigurationStore',
'ConfigurationStoreUpdateParameters',
'EncryptionProperties',
'Error', 'ErrorException',
'ErrorAdditionalInfo',
'ErrorDetails',
'ErrorResponse', 'ErrorResponseException',
'KeyValue',
'KeyVaultProperties',
'ListKeyValueParameters',
'LogSpecification',
'MetricDimension',
'MetricSpecification',
'NameAvailabilityStatus',
'OperationDefinition',
'OperationDefinitionDisplay',
'OperationProperties',
'PrivateEndpoint',
'PrivateEndpointConnection',
'PrivateEndpointConnectionReference',
'PrivateLinkResource',
'PrivateLinkServiceConnectionState',
'ProxyResource',
'RegenerateKeyParameters',
'Resource',
'ResourceIdentity',
'ServiceSpecification',
'Sku',
'SystemData',
'TrackedResource',
'UserIdentity',
'ConfigurationStorePaged',
'ApiKeyPaged',
'OperationDefinitionPaged',
'PrivateEndpointConnectionPaged',
'PrivateLinkResourcePaged',
'KeyValuePaged',
'IdentityType',
'ProvisioningState',
'ConnectionStatus',
'ActionsRequired',
'PublicNetworkAccess',
'CreatedByType',
]
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,11 @@ class PublicNetworkAccess(str, Enum):

enabled = "Enabled"
disabled = "Disabled"


class CreatedByType(str, Enum):

user = "User"
application = "Application"
managed_identity = "ManagedIdentity"
key = "Key"
Loading

0 comments on commit f3aa604

Please sign in to comment.