Skip to content

Commit

Permalink
CodeGen from PR 13862 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Update all schemas.md files (Azure#13862)
  • Loading branch information
SDKAuto committed Apr 9, 2021
1 parent 977bfe9 commit 1285368
Show file tree
Hide file tree
Showing 14 changed files with 1,328 additions and 285 deletions.
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": "e9605b17939f7f9a74c78bcee61a6f0bb37a55e8",
"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 1285368

Please sign in to comment.