Skip to content

Commit

Permalink
CodeGen from PR 13166 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Enable swagger ci for azure-powershell for some RPs (Azure#13166)
  • Loading branch information
SDKAuto committed Feb 26, 2021
1 parent 425f5ce commit a7467f2
Show file tree
Hide file tree
Showing 11 changed files with 907 additions and 235 deletions.
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 = '2020-07-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 @@ -15,13 +15,18 @@
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
Expand All @@ -30,6 +35,7 @@
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 UserIdentity
except (SyntaxError, ImportError):
Expand All @@ -38,13 +44,18 @@
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
Expand All @@ -53,10 +64,12 @@
from ._models import RegenerateKeyParameters
from ._models import Resource
from ._models import ResourceIdentity
from ._models import ServiceSpecification
from ._models import Sku
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 @@ -74,13 +87,18 @@
'ConfigurationStore',
'ConfigurationStoreUpdateParameters',
'EncryptionProperties',
'Error', 'ErrorException',
'ErrorAdditionalInfo',
'ErrorDetails',
'ErrorResponse', 'ErrorResponseException',
'KeyValue',
'KeyVaultProperties',
'ListKeyValueParameters',
'LogSpecification',
'MetricDimension',
'MetricSpecification',
'NameAvailabilityStatus',
'OperationDefinition',
'OperationDefinitionDisplay',
'OperationProperties',
'PrivateEndpoint',
'PrivateEndpointConnection',
'PrivateEndpointConnectionReference',
Expand All @@ -89,13 +107,15 @@
'RegenerateKeyParameters',
'Resource',
'ResourceIdentity',
'ServiceSpecification',
'Sku',
'UserIdentity',
'ConfigurationStorePaged',
'ApiKeyPaged',
'OperationDefinitionPaged',
'PrivateEndpointConnectionPaged',
'PrivateLinkResourcePaged',
'KeyValuePaged',
'IdentityType',
'ProvisioningState',
'ConnectionStatus',
Expand Down
Loading

0 comments on commit a7467f2

Please sign in to comment.