Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions sdk/apimanagement/azure-mgmt-apimanagement/MANIFEST.in
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/apimanagement/azure-mgmt-apimanagement/_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": "6a5bbea8d12719698d71a4a967d82af4b6812520",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest_command": "autorest specification/apimanagement/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 [email protected]/autorest.python@~4.0.71 --version=V2",
"readme": "specification/apimanagement/resource-manager/readme.md"
}
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ def __init__(
super(ApiManagementClient, 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-12-01'
self.api_version = '2021-01-01-preview'
self._serialize = Serializer(client_models)
self._deserialize = Deserializer(client_models)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,15 @@
from ._models_py3 import AccessInformationSecretsContract
from ._models_py3 import AccessInformationUpdateParameters
from ._models_py3 import AdditionalLocation
from ._models_py3 import ApiContactInformation
from ._models_py3 import ApiContract
from ._models_py3 import ApiContractProperties
from ._models_py3 import ApiCreateOrUpdateParameter
from ._models_py3 import ApiCreateOrUpdatePropertiesWsdlSelector
from ._models_py3 import ApiEntityBaseContract
from ._models_py3 import ApiExportResult
from ._models_py3 import ApiExportResultValue
from ._models_py3 import ApiLicenseInformation
from ._models_py3 import ApiManagementServiceApplyNetworkConfigurationParameters
from ._models_py3 import ApiManagementServiceBackupRestoreParameters
from ._models_py3 import ApiManagementServiceBaseProperties
Expand Down Expand Up @@ -212,13 +214,15 @@
from ._models import AccessInformationSecretsContract
from ._models import AccessInformationUpdateParameters
from ._models import AdditionalLocation
from ._models import ApiContactInformation
from ._models import ApiContract
from ._models import ApiContractProperties
from ._models import ApiCreateOrUpdateParameter
from ._models import ApiCreateOrUpdatePropertiesWsdlSelector
from ._models import ApiEntityBaseContract
from ._models import ApiExportResult
from ._models import ApiExportResultValue
from ._models import ApiLicenseInformation
from ._models import ApiManagementServiceApplyNetworkConfigurationParameters
from ._models import ApiManagementServiceBackupRestoreParameters
from ._models import ApiManagementServiceBaseProperties
Expand Down Expand Up @@ -472,6 +476,8 @@
SkuType,
ResourceSkuCapacityScaleType,
HostnameType,
CertificateSource,
CertificateStatus,
VirtualNetworkType,
ApimIdentityType,
NameAvailabilityReason,
Expand Down Expand Up @@ -504,13 +510,15 @@
'AccessInformationSecretsContract',
'AccessInformationUpdateParameters',
'AdditionalLocation',
'ApiContactInformation',
'ApiContract',
'ApiContractProperties',
'ApiCreateOrUpdateParameter',
'ApiCreateOrUpdatePropertiesWsdlSelector',
'ApiEntityBaseContract',
'ApiExportResult',
'ApiExportResultValue',
'ApiLicenseInformation',
'ApiManagementServiceApplyNetworkConfigurationParameters',
'ApiManagementServiceBackupRestoreParameters',
'ApiManagementServiceBaseProperties',
Expand Down Expand Up @@ -763,6 +771,8 @@
'SkuType',
'ResourceSkuCapacityScaleType',
'HostnameType',
'CertificateSource',
'CertificateStatus',
'VirtualNetworkType',
'ApimIdentityType',
'NameAvailabilityReason',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ class Protocol(str, Enum):

http = "http"
https = "https"
ws = "ws"
wss = "wss"


class ContentFormat(str, Enum):
Expand All @@ -56,12 +58,14 @@ class SoapApiType(str, Enum):

soap_to_rest = "http" #: Imports a SOAP API having a RESTful front end.
soap_pass_through = "soap" #: Imports the Soap API having a SOAP front end.
web_socket = "websocket" #: Imports the Soap API having a Websocket front end.


class ApiType(str, Enum):

http = "http"
soap = "soap"
websocket = "websocket"


class State(str, Enum):
Expand Down Expand Up @@ -188,6 +192,21 @@ class HostnameType(str, Enum):
developer_portal = "DeveloperPortal"


class CertificateSource(str, Enum):

managed = "Managed"
key_vault = "KeyVault"
custom = "Custom"
built_in = "BuiltIn"


class CertificateStatus(str, Enum):

completed = "Completed"
failed = "Failed"
in_progress = "InProgress"


class VirtualNetworkType(str, Enum):

none = "None" #: The service is not part of any Virtual Network.
Expand Down
Loading