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

[AutoPR azure-mgmt-apimanagement] apimanagement-readme-tag_config #7004

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": "65925134965e14a049978f0c9c319ef0484fef79",
"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 --use=@microsoft.azure/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 @@ -139,6 +141,7 @@
from ._models_py3 import OperationTagResourceContractProperties
from ._models_py3 import OperationUpdateContract
from ._models_py3 import ParameterContract
from ._models_py3 import ParameterExampleContract
from ._models_py3 import PipelineDiagnosticSettings
from ._models_py3 import PolicyCollection
from ._models_py3 import PolicyContract
Expand Down Expand Up @@ -212,13 +215,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 @@ -336,6 +341,7 @@
from ._models import OperationTagResourceContractProperties
from ._models import OperationUpdateContract
from ._models import ParameterContract
from ._models import ParameterExampleContract
from ._models import PipelineDiagnosticSettings
from ._models import PolicyCollection
from ._models import PolicyContract
Expand Down Expand Up @@ -472,6 +478,8 @@
SkuType,
ResourceSkuCapacityScaleType,
HostnameType,
CertificateSource,
CertificateStatus,
VirtualNetworkType,
ApimIdentityType,
NameAvailabilityReason,
Expand Down Expand Up @@ -504,13 +512,15 @@
'AccessInformationSecretsContract',
'AccessInformationUpdateParameters',
'AdditionalLocation',
'ApiContactInformation',
'ApiContract',
'ApiContractProperties',
'ApiCreateOrUpdateParameter',
'ApiCreateOrUpdatePropertiesWsdlSelector',
'ApiEntityBaseContract',
'ApiExportResult',
'ApiExportResultValue',
'ApiLicenseInformation',
'ApiManagementServiceApplyNetworkConfigurationParameters',
'ApiManagementServiceBackupRestoreParameters',
'ApiManagementServiceBaseProperties',
Expand Down Expand Up @@ -628,6 +638,7 @@
'OperationTagResourceContractProperties',
'OperationUpdateContract',
'ParameterContract',
'ParameterExampleContract',
'PipelineDiagnosticSettings',
'PolicyCollection',
'PolicyContract',
Expand Down Expand Up @@ -763,6 +774,8 @@
'SkuType',
'ResourceSkuCapacityScaleType',
'HostnameType',
'CertificateSource',
'CertificateStatus',
'VirtualNetworkType',
'ApimIdentityType',
'NameAvailabilityReason',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@

class ExportResultFormat(str, Enum):

swagger = "swagger-link-json" #: The Api Definition is exported in OpenApi Specification 2.0 format to the Storage Blob.
wsdl = "wsdl-link+xml" #: The Api Definition is exported in WSDL Schema to Storage Blob. This is only supported for APIs of Type `soap`
wadl = "wadl-link-json" #: Export the Api Definition in WADL Schema to Storage Blob.
open_api = "openapi-link" #: Export the Api Definition in OpenApi Specification 3.0 to Storage Blob.
swagger = "swagger-link-json" #: The API Definition is exported in OpenAPI Specification 2.0 format to the Storage Blob.
wsdl = "wsdl-link+xml" #: The API Definition is exported in WSDL Schema to Storage Blob. This is only supported for APIs of Type `soap`
wadl = "wadl-link-json" #: Export the API Definition in WADL Schema to Storage Blob.
open_api = "openapi-link" #: Export the API Definition in OpenAPI Specification 3.0 to Storage Blob.


class ProductState(str, Enum):
Expand All @@ -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 Expand Up @@ -274,10 +293,10 @@ class ConnectivityStatusType(str, Enum):

class PortalRevisionStatus(str, Enum):

pending = "pending" #: Portal revision publishing is pending
publishing = "publishing" #: Portal revision is publishing
completed = "completed" #: Portal revision publishing completed
failed = "failed" #: Portal revision publishing failed
pending = "pending" #: Portal's revision has been queued.
publishing = "publishing" #: Portal's revision is being published.
completed = "completed" #: Portal's revision publishing completed.
failed = "failed" #: Portal's revision publishing failed.


class SubscriptionState(str, Enum):
Expand Down
Loading