diff --git a/sdk/apimanagement/azure-mgmt-apimanagement/MANIFEST.in b/sdk/apimanagement/azure-mgmt-apimanagement/MANIFEST.in index a3cb07df8765..3a9b6517412b 100644 --- a/sdk/apimanagement/azure-mgmt-apimanagement/MANIFEST.in +++ b/sdk/apimanagement/azure-mgmt-apimanagement/MANIFEST.in @@ -1,3 +1,4 @@ +include _meta.json recursive-include tests *.py *.yaml include *.md include azure/__init__.py diff --git a/sdk/apimanagement/azure-mgmt-apimanagement/_meta.json b/sdk/apimanagement/azure-mgmt-apimanagement/_meta.json new file mode 100644 index 000000000000..92237865d8e8 --- /dev/null +++ b/sdk/apimanagement/azure-mgmt-apimanagement/_meta.json @@ -0,0 +1,8 @@ +{ + "autorest": "V2", + "use": "@microsoft.azure/autorest.python@~4.0.71", + "commit": "02b97976b860ef274bed79a1f6a0384bf9f42a2e", + "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" +} \ No newline at end of file diff --git a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/_api_management_client.py b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/_api_management_client.py index c9b694a8842d..99e937f2e2e9 100644 --- a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/_api_management_client.py +++ b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/_api_management_client.py @@ -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) diff --git a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/models/__init__.py b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/models/__init__.py index da634501d33f..c9e3efaa8d69 100644 --- a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/models/__init__.py +++ b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/models/__init__.py @@ -15,6 +15,7 @@ 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 @@ -22,6 +23,7 @@ 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 @@ -212,6 +214,7 @@ 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 @@ -219,6 +222,7 @@ 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 @@ -472,6 +476,8 @@ SkuType, ResourceSkuCapacityScaleType, HostnameType, + CertificateSource, + CertificateStatus, VirtualNetworkType, ApimIdentityType, NameAvailabilityReason, @@ -504,6 +510,7 @@ 'AccessInformationSecretsContract', 'AccessInformationUpdateParameters', 'AdditionalLocation', + 'ApiContactInformation', 'ApiContract', 'ApiContractProperties', 'ApiCreateOrUpdateParameter', @@ -511,6 +518,7 @@ 'ApiEntityBaseContract', 'ApiExportResult', 'ApiExportResultValue', + 'ApiLicenseInformation', 'ApiManagementServiceApplyNetworkConfigurationParameters', 'ApiManagementServiceBackupRestoreParameters', 'ApiManagementServiceBaseProperties', @@ -763,6 +771,8 @@ 'SkuType', 'ResourceSkuCapacityScaleType', 'HostnameType', + 'CertificateSource', + 'CertificateStatus', 'VirtualNetworkType', 'ApimIdentityType', 'NameAvailabilityReason', diff --git a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/models/_api_management_client_enums.py b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/models/_api_management_client_enums.py index e6902c836c28..2b21c5044490 100644 --- a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/models/_api_management_client_enums.py +++ b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/models/_api_management_client_enums.py @@ -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): @@ -36,6 +36,8 @@ class Protocol(str, Enum): http = "http" https = "https" + ws = "ws" + wss = "wss" class ContentFormat(str, Enum): @@ -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): @@ -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. @@ -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): diff --git a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/models/_models.py b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/models/_models.py index 9e47cec024bb..6bd3f0944b69 100644 --- a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/models/_models.py +++ b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/models/_models.py @@ -197,6 +197,10 @@ class AdditionalLocation(Model): Network in a particular additional location. Available only for Basic, Standard, Premium and Isolated SKU. :vartype private_ip_addresses: list[str] + :param public_ip_address_id: Public Standard SKU IP V4 based IP address to + be associated with Virtual Network deployed service in the location. + Supported only for Premium SKU being deployed in Virtual Network. + :type public_ip_address_id: str :param virtual_network_configuration: Virtual network configuration for the location. :type virtual_network_configuration: @@ -224,6 +228,7 @@ class AdditionalLocation(Model): 'zones': {'key': 'zones', 'type': '[str]'}, 'public_ip_addresses': {'key': 'publicIPAddresses', 'type': '[str]'}, 'private_ip_addresses': {'key': 'privateIPAddresses', 'type': '[str]'}, + 'public_ip_address_id': {'key': 'publicIpAddressId', 'type': 'str'}, 'virtual_network_configuration': {'key': 'virtualNetworkConfiguration', 'type': 'VirtualNetworkConfiguration'}, 'gateway_regional_url': {'key': 'gatewayRegionalUrl', 'type': 'str'}, 'disable_gateway': {'key': 'disableGateway', 'type': 'bool'}, @@ -236,13 +241,40 @@ def __init__(self, **kwargs): self.zones = kwargs.get('zones', None) self.public_ip_addresses = None self.private_ip_addresses = None + self.public_ip_address_id = kwargs.get('public_ip_address_id', None) self.virtual_network_configuration = kwargs.get('virtual_network_configuration', None) self.gateway_regional_url = None self.disable_gateway = kwargs.get('disable_gateway', False) +class ApiContactInformation(Model): + """API contact information. + + :param name: The identifying name of the contact person/organization + :type name: str + :param url: The URL pointing to the contact information. MUST be in the + format of a URL + :type url: str + :param email: The email address of the contact person/organization. MUST + be in the format of an email address + :type email: str + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'url': {'key': 'url', 'type': 'str'}, + 'email': {'key': 'email', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(ApiContactInformation, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.url = kwargs.get('url', None) + self.email = kwargs.get('email', None) + + class ApiContract(Resource): - """Api details. + """API details. Variables are only populated by the server, and will be ignored when sending a request. @@ -266,21 +298,22 @@ class ApiContract(Resource): available. :type subscription_key_parameter_names: ~azure.mgmt.apimanagement.models.SubscriptionKeyParameterNamesContract - :param api_type: Type of API. Possible values include: 'http', 'soap' + :param api_type: Type of API. Possible values include: 'http', 'soap', + 'websocket' :type api_type: str or ~azure.mgmt.apimanagement.models.ApiType - :param api_revision: Describes the Revision of the Api. If no value is + :param api_revision: Describes the revision of the API. If no value is provided, default revision 1 is created :type api_revision: str - :param api_version: Indicates the Version identifier of the API if the API + :param api_version: Indicates the version identifier of the API if the API is versioned :type api_version: str :param is_current: Indicates if API revision is current api revision. :type is_current: bool :ivar is_online: Indicates if API revision is accessible via the gateway. :vartype is_online: bool - :param api_revision_description: Description of the Api Revision. + :param api_revision_description: Description of the API Revision. :type api_revision_description: str - :param api_version_description: Description of the Api Version. + :param api_version_description: Description of the API Version. :type api_version_description: str :param api_version_set_id: A resource identifier for the related ApiVersionSet. @@ -288,6 +321,13 @@ class ApiContract(Resource): :param subscription_required: Specifies whether an API or Product subscription is required for accessing the API. :type subscription_required: bool + :param terms_of_service_url: A URL to the Terms of Service for the API. + MUST be in the format of a URL. + :type terms_of_service_url: str + :param contact: Contact information for the API. + :type contact: ~azure.mgmt.apimanagement.models.ApiContactInformation + :param license: License information for the API. + :type license: ~azure.mgmt.apimanagement.models.ApiLicenseInformation :param source_api_id: API identifier of the source API. :type source_api_id: str :param display_name: API name. Must be 1 to 300 characters long. @@ -338,11 +378,14 @@ class ApiContract(Resource): 'api_version_description': {'key': 'properties.apiVersionDescription', 'type': 'str'}, 'api_version_set_id': {'key': 'properties.apiVersionSetId', 'type': 'str'}, 'subscription_required': {'key': 'properties.subscriptionRequired', 'type': 'bool'}, + 'terms_of_service_url': {'key': 'properties.termsOfServiceUrl', 'type': 'str'}, + 'contact': {'key': 'properties.contact', 'type': 'ApiContactInformation'}, + 'license': {'key': 'properties.license', 'type': 'ApiLicenseInformation'}, 'source_api_id': {'key': 'properties.sourceApiId', 'type': 'str'}, 'display_name': {'key': 'properties.displayName', 'type': 'str'}, 'service_url': {'key': 'properties.serviceUrl', 'type': 'str'}, 'path': {'key': 'properties.path', 'type': 'str'}, - 'protocols': {'key': 'properties.protocols', 'type': '[Protocol]'}, + 'protocols': {'key': 'properties.protocols', 'type': '[str]'}, 'api_version_set': {'key': 'properties.apiVersionSet', 'type': 'ApiVersionSetContractDetails'}, } @@ -360,6 +403,9 @@ def __init__(self, **kwargs): self.api_version_description = kwargs.get('api_version_description', None) self.api_version_set_id = kwargs.get('api_version_set_id', None) self.subscription_required = kwargs.get('subscription_required', None) + self.terms_of_service_url = kwargs.get('terms_of_service_url', None) + self.contact = kwargs.get('contact', None) + self.license = kwargs.get('license', None) self.source_api_id = kwargs.get('source_api_id', None) self.display_name = kwargs.get('display_name', None) self.service_url = kwargs.get('service_url', None) @@ -385,21 +431,22 @@ class ApiEntityBaseContract(Model): available. :type subscription_key_parameter_names: ~azure.mgmt.apimanagement.models.SubscriptionKeyParameterNamesContract - :param api_type: Type of API. Possible values include: 'http', 'soap' + :param api_type: Type of API. Possible values include: 'http', 'soap', + 'websocket' :type api_type: str or ~azure.mgmt.apimanagement.models.ApiType - :param api_revision: Describes the Revision of the Api. If no value is + :param api_revision: Describes the revision of the API. If no value is provided, default revision 1 is created :type api_revision: str - :param api_version: Indicates the Version identifier of the API if the API + :param api_version: Indicates the version identifier of the API if the API is versioned :type api_version: str :param is_current: Indicates if API revision is current api revision. :type is_current: bool :ivar is_online: Indicates if API revision is accessible via the gateway. :vartype is_online: bool - :param api_revision_description: Description of the Api Revision. + :param api_revision_description: Description of the API Revision. :type api_revision_description: str - :param api_version_description: Description of the Api Version. + :param api_version_description: Description of the API Version. :type api_version_description: str :param api_version_set_id: A resource identifier for the related ApiVersionSet. @@ -407,6 +454,13 @@ class ApiEntityBaseContract(Model): :param subscription_required: Specifies whether an API or Product subscription is required for accessing the API. :type subscription_required: bool + :param terms_of_service_url: A URL to the Terms of Service for the API. + MUST be in the format of a URL. + :type terms_of_service_url: str + :param contact: Contact information for the API. + :type contact: ~azure.mgmt.apimanagement.models.ApiContactInformation + :param license: License information for the API. + :type license: ~azure.mgmt.apimanagement.models.ApiLicenseInformation """ _validation = { @@ -430,6 +484,9 @@ class ApiEntityBaseContract(Model): 'api_version_description': {'key': 'apiVersionDescription', 'type': 'str'}, 'api_version_set_id': {'key': 'apiVersionSetId', 'type': 'str'}, 'subscription_required': {'key': 'subscriptionRequired', 'type': 'bool'}, + 'terms_of_service_url': {'key': 'termsOfServiceUrl', 'type': 'str'}, + 'contact': {'key': 'contact', 'type': 'ApiContactInformation'}, + 'license': {'key': 'license', 'type': 'ApiLicenseInformation'}, } def __init__(self, **kwargs): @@ -446,10 +503,13 @@ def __init__(self, **kwargs): self.api_version_description = kwargs.get('api_version_description', None) self.api_version_set_id = kwargs.get('api_version_set_id', None) self.subscription_required = kwargs.get('subscription_required', None) + self.terms_of_service_url = kwargs.get('terms_of_service_url', None) + self.contact = kwargs.get('contact', None) + self.license = kwargs.get('license', None) class ApiContractProperties(ApiEntityBaseContract): - """Api Entity Properties. + """API Entity Properties. Variables are only populated by the server, and will be ignored when sending a request. @@ -467,21 +527,22 @@ class ApiContractProperties(ApiEntityBaseContract): available. :type subscription_key_parameter_names: ~azure.mgmt.apimanagement.models.SubscriptionKeyParameterNamesContract - :param api_type: Type of API. Possible values include: 'http', 'soap' + :param api_type: Type of API. Possible values include: 'http', 'soap', + 'websocket' :type api_type: str or ~azure.mgmt.apimanagement.models.ApiType - :param api_revision: Describes the Revision of the Api. If no value is + :param api_revision: Describes the revision of the API. If no value is provided, default revision 1 is created :type api_revision: str - :param api_version: Indicates the Version identifier of the API if the API + :param api_version: Indicates the version identifier of the API if the API is versioned :type api_version: str :param is_current: Indicates if API revision is current api revision. :type is_current: bool :ivar is_online: Indicates if API revision is accessible via the gateway. :vartype is_online: bool - :param api_revision_description: Description of the Api Revision. + :param api_revision_description: Description of the API Revision. :type api_revision_description: str - :param api_version_description: Description of the Api Version. + :param api_version_description: Description of the API Version. :type api_version_description: str :param api_version_set_id: A resource identifier for the related ApiVersionSet. @@ -489,6 +550,13 @@ class ApiContractProperties(ApiEntityBaseContract): :param subscription_required: Specifies whether an API or Product subscription is required for accessing the API. :type subscription_required: bool + :param terms_of_service_url: A URL to the Terms of Service for the API. + MUST be in the format of a URL. + :type terms_of_service_url: str + :param contact: Contact information for the API. + :type contact: ~azure.mgmt.apimanagement.models.ApiContactInformation + :param license: License information for the API. + :type license: ~azure.mgmt.apimanagement.models.ApiLicenseInformation :param source_api_id: API identifier of the source API. :type source_api_id: str :param display_name: API name. Must be 1 to 300 characters long. @@ -533,11 +601,14 @@ class ApiContractProperties(ApiEntityBaseContract): 'api_version_description': {'key': 'apiVersionDescription', 'type': 'str'}, 'api_version_set_id': {'key': 'apiVersionSetId', 'type': 'str'}, 'subscription_required': {'key': 'subscriptionRequired', 'type': 'bool'}, + 'terms_of_service_url': {'key': 'termsOfServiceUrl', 'type': 'str'}, + 'contact': {'key': 'contact', 'type': 'ApiContactInformation'}, + 'license': {'key': 'license', 'type': 'ApiLicenseInformation'}, 'source_api_id': {'key': 'sourceApiId', 'type': 'str'}, 'display_name': {'key': 'displayName', 'type': 'str'}, 'service_url': {'key': 'serviceUrl', 'type': 'str'}, 'path': {'key': 'path', 'type': 'str'}, - 'protocols': {'key': 'protocols', 'type': '[Protocol]'}, + 'protocols': {'key': 'protocols', 'type': '[str]'}, 'api_version_set': {'key': 'apiVersionSet', 'type': 'ApiVersionSetContractDetails'}, } @@ -570,21 +641,22 @@ class ApiCreateOrUpdateParameter(Model): available. :type subscription_key_parameter_names: ~azure.mgmt.apimanagement.models.SubscriptionKeyParameterNamesContract - :param api_type: Type of API. Possible values include: 'http', 'soap' + :param api_type: Type of API. Possible values include: 'http', 'soap', + 'websocket' :type api_type: str or ~azure.mgmt.apimanagement.models.ApiType - :param api_revision: Describes the Revision of the Api. If no value is + :param api_revision: Describes the revision of the API. If no value is provided, default revision 1 is created :type api_revision: str - :param api_version: Indicates the Version identifier of the API if the API + :param api_version: Indicates the version identifier of the API if the API is versioned :type api_version: str :param is_current: Indicates if API revision is current api revision. :type is_current: bool :ivar is_online: Indicates if API revision is accessible via the gateway. :vartype is_online: bool - :param api_revision_description: Description of the Api Revision. + :param api_revision_description: Description of the API Revision. :type api_revision_description: str - :param api_version_description: Description of the Api Version. + :param api_version_description: Description of the API Version. :type api_version_description: str :param api_version_set_id: A resource identifier for the related ApiVersionSet. @@ -592,6 +664,13 @@ class ApiCreateOrUpdateParameter(Model): :param subscription_required: Specifies whether an API or Product subscription is required for accessing the API. :type subscription_required: bool + :param terms_of_service_url: A URL to the Terms of Service for the API. + MUST be in the format of a URL. + :type terms_of_service_url: str + :param contact: Contact information for the API. + :type contact: ~azure.mgmt.apimanagement.models.ApiContactInformation + :param license: License information for the API. + :type license: ~azure.mgmt.apimanagement.models.ApiLicenseInformation :param source_api_id: API identifier of the source API. :type source_api_id: str :param display_name: API name. Must be 1 to 300 characters long. @@ -621,10 +700,11 @@ class ApiCreateOrUpdateParameter(Model): document. :type wsdl_selector: ~azure.mgmt.apimanagement.models.ApiCreateOrUpdatePropertiesWsdlSelector - :param soap_api_type: Type of Api to create. - * `http` creates a SOAP to REST API - * `soap` creates a SOAP pass-through API. Possible values include: - 'SoapToRest', 'SoapPassThrough' + :param soap_api_type: Type of API to create. + * `http` creates a REST API + * `soap` creates a SOAP pass-through API + * `websocket` creates websocket API. Possible values include: + 'SoapToRest', 'SoapPassThrough', 'WebSocket' :type soap_api_type: str or ~azure.mgmt.apimanagement.models.SoapApiType """ @@ -652,11 +732,14 @@ class ApiCreateOrUpdateParameter(Model): 'api_version_description': {'key': 'properties.apiVersionDescription', 'type': 'str'}, 'api_version_set_id': {'key': 'properties.apiVersionSetId', 'type': 'str'}, 'subscription_required': {'key': 'properties.subscriptionRequired', 'type': 'bool'}, + 'terms_of_service_url': {'key': 'properties.termsOfServiceUrl', 'type': 'str'}, + 'contact': {'key': 'properties.contact', 'type': 'ApiContactInformation'}, + 'license': {'key': 'properties.license', 'type': 'ApiLicenseInformation'}, 'source_api_id': {'key': 'properties.sourceApiId', 'type': 'str'}, 'display_name': {'key': 'properties.displayName', 'type': 'str'}, 'service_url': {'key': 'properties.serviceUrl', 'type': 'str'}, 'path': {'key': 'properties.path', 'type': 'str'}, - 'protocols': {'key': 'properties.protocols', 'type': '[Protocol]'}, + 'protocols': {'key': 'properties.protocols', 'type': '[str]'}, 'api_version_set': {'key': 'properties.apiVersionSet', 'type': 'ApiVersionSetContractDetails'}, 'value': {'key': 'properties.value', 'type': 'str'}, 'format': {'key': 'properties.format', 'type': 'str'}, @@ -678,6 +761,9 @@ def __init__(self, **kwargs): self.api_version_description = kwargs.get('api_version_description', None) self.api_version_set_id = kwargs.get('api_version_set_id', None) self.subscription_required = kwargs.get('subscription_required', None) + self.terms_of_service_url = kwargs.get('terms_of_service_url', None) + self.contact = kwargs.get('contact', None) + self.license = kwargs.get('license', None) self.source_api_id = kwargs.get('source_api_id', None) self.display_name = kwargs.get('display_name', None) self.service_url = kwargs.get('service_url', None) @@ -715,12 +801,12 @@ class ApiExportResult(Model): :param id: ResourceId of the API which was exported. :type id: str - :param export_result_format: Format in which the Api Details are exported + :param export_result_format: Format in which the API Details are exported to the Storage Blob with Sas Key valid for 5 minutes. Possible values include: 'Swagger', 'Wsdl', 'Wadl', 'OpenApi' :type export_result_format: str or ~azure.mgmt.apimanagement.models.ExportResultFormat - :param value: The object defining the schema of the exported Api Detail + :param value: The object defining the schema of the exported API Detail :type value: ~azure.mgmt.apimanagement.models.ApiExportResultValue """ @@ -738,7 +824,7 @@ def __init__(self, **kwargs): class ApiExportResultValue(Model): - """The object defining the schema of the exported Api Detail. + """The object defining the schema of the exported API Detail. :param link: Link to the Storage Blob containing the result of the export operation. The Blob Uri is only valid for 5 minutes. @@ -754,6 +840,27 @@ def __init__(self, **kwargs): self.link = kwargs.get('link', None) +class ApiLicenseInformation(Model): + """API license information. + + :param name: The license name used for the API + :type name: str + :param url: A URL to the license used for the API. MUST be in the format + of a URL + :type url: str + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'url': {'key': 'url', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(ApiLicenseInformation, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.url = kwargs.get('url', None) + + class ApiManagementServiceApplyNetworkConfigurationParameters(Model): """Parameter supplied to the Apply Network configuration operation. @@ -863,6 +970,11 @@ class ApiManagementServiceBaseProperties(Model): Internal Virtual Network. Available only for Basic, Standard, Premium and Isolated SKU. :vartype private_ip_addresses: list[str] + :param public_ip_address_id: Public Standard SKU IP V4 based IP address to + be associated with Virtual Network deployed service in the region. + Supported only for Developer and Premium SKU being deployed in Virtual + Network. + :type public_ip_address_id: str :param virtual_network_configuration: Virtual network configuration of the API Management service. :type virtual_network_configuration: @@ -969,6 +1081,7 @@ class ApiManagementServiceBaseProperties(Model): 'hostname_configurations': {'key': 'hostnameConfigurations', 'type': '[HostnameConfiguration]'}, 'public_ip_addresses': {'key': 'publicIPAddresses', 'type': '[str]'}, 'private_ip_addresses': {'key': 'privateIPAddresses', 'type': '[str]'}, + 'public_ip_address_id': {'key': 'publicIpAddressId', 'type': 'str'}, 'virtual_network_configuration': {'key': 'virtualNetworkConfiguration', 'type': 'VirtualNetworkConfiguration'}, 'additional_locations': {'key': 'additionalLocations', 'type': '[AdditionalLocation]'}, 'custom_properties': {'key': 'customProperties', 'type': '{str}'}, @@ -995,6 +1108,7 @@ def __init__(self, **kwargs): self.hostname_configurations = kwargs.get('hostname_configurations', None) self.public_ip_addresses = None self.private_ip_addresses = None + self.public_ip_address_id = kwargs.get('public_ip_address_id', None) self.virtual_network_configuration = kwargs.get('virtual_network_configuration', None) self.additional_locations = kwargs.get('additional_locations', None) self.custom_properties = kwargs.get('custom_properties', None) @@ -1257,6 +1371,11 @@ class ApiManagementServiceResource(ApimResource): Internal Virtual Network. Available only for Basic, Standard, Premium and Isolated SKU. :vartype private_ip_addresses: list[str] + :param public_ip_address_id: Public Standard SKU IP V4 based IP address to + be associated with Virtual Network deployed service in the region. + Supported only for Developer and Premium SKU being deployed in Virtual + Network. + :type public_ip_address_id: str :param virtual_network_configuration: Virtual network configuration of the API Management service. :type virtual_network_configuration: @@ -1392,6 +1511,7 @@ class ApiManagementServiceResource(ApimResource): 'hostname_configurations': {'key': 'properties.hostnameConfigurations', 'type': '[HostnameConfiguration]'}, 'public_ip_addresses': {'key': 'properties.publicIPAddresses', 'type': '[str]'}, 'private_ip_addresses': {'key': 'properties.privateIPAddresses', 'type': '[str]'}, + 'public_ip_address_id': {'key': 'properties.publicIpAddressId', 'type': 'str'}, 'virtual_network_configuration': {'key': 'properties.virtualNetworkConfiguration', 'type': 'VirtualNetworkConfiguration'}, 'additional_locations': {'key': 'properties.additionalLocations', 'type': '[AdditionalLocation]'}, 'custom_properties': {'key': 'properties.customProperties', 'type': '{str}'}, @@ -1425,6 +1545,7 @@ def __init__(self, **kwargs): self.hostname_configurations = kwargs.get('hostname_configurations', None) self.public_ip_addresses = None self.private_ip_addresses = None + self.public_ip_address_id = kwargs.get('public_ip_address_id', None) self.virtual_network_configuration = kwargs.get('virtual_network_configuration', None) self.additional_locations = kwargs.get('additional_locations', None) self.custom_properties = kwargs.get('custom_properties', None) @@ -1531,6 +1652,11 @@ class ApiManagementServiceUpdateParameters(ApimResource): Internal Virtual Network. Available only for Basic, Standard, Premium and Isolated SKU. :vartype private_ip_addresses: list[str] + :param public_ip_address_id: Public Standard SKU IP V4 based IP address to + be associated with Virtual Network deployed service in the region. + Supported only for Developer and Premium SKU being deployed in Virtual + Network. + :type public_ip_address_id: str :param virtual_network_configuration: Virtual network configuration of the API Management service. :type virtual_network_configuration: @@ -1618,6 +1744,9 @@ class ApiManagementServiceUpdateParameters(ApimResource): ~azure.mgmt.apimanagement.models.ApiManagementServiceIdentity :ivar etag: ETag of the resource. :vartype etag: str + :param zones: A list of availability zones denoting where the resource + needs to come from. + :type zones: list[str] """ _validation = { @@ -1659,6 +1788,7 @@ class ApiManagementServiceUpdateParameters(ApimResource): 'hostname_configurations': {'key': 'properties.hostnameConfigurations', 'type': '[HostnameConfiguration]'}, 'public_ip_addresses': {'key': 'properties.publicIPAddresses', 'type': '[str]'}, 'private_ip_addresses': {'key': 'properties.privateIPAddresses', 'type': '[str]'}, + 'public_ip_address_id': {'key': 'properties.publicIpAddressId', 'type': 'str'}, 'virtual_network_configuration': {'key': 'properties.virtualNetworkConfiguration', 'type': 'VirtualNetworkConfiguration'}, 'additional_locations': {'key': 'properties.additionalLocations', 'type': '[AdditionalLocation]'}, 'custom_properties': {'key': 'properties.customProperties', 'type': '{str}'}, @@ -1673,6 +1803,7 @@ class ApiManagementServiceUpdateParameters(ApimResource): 'sku': {'key': 'sku', 'type': 'ApiManagementServiceSkuProperties'}, 'identity': {'key': 'identity', 'type': 'ApiManagementServiceIdentity'}, 'etag': {'key': 'etag', 'type': 'str'}, + 'zones': {'key': 'zones', 'type': '[str]'}, } def __init__(self, **kwargs): @@ -1690,6 +1821,7 @@ def __init__(self, **kwargs): self.hostname_configurations = kwargs.get('hostname_configurations', None) self.public_ip_addresses = None self.private_ip_addresses = None + self.public_ip_address_id = kwargs.get('public_ip_address_id', None) self.virtual_network_configuration = kwargs.get('virtual_network_configuration', None) self.additional_locations = kwargs.get('additional_locations', None) self.custom_properties = kwargs.get('custom_properties', None) @@ -1704,6 +1836,7 @@ def __init__(self, **kwargs): self.sku = kwargs.get('sku', None) self.identity = kwargs.get('identity', None) self.etag = None + self.zones = kwargs.get('zones', None) class ApiManagementSku(Model): @@ -2202,21 +2335,22 @@ class ApiTagResourceContractProperties(ApiEntityBaseContract): available. :type subscription_key_parameter_names: ~azure.mgmt.apimanagement.models.SubscriptionKeyParameterNamesContract - :param api_type: Type of API. Possible values include: 'http', 'soap' + :param api_type: Type of API. Possible values include: 'http', 'soap', + 'websocket' :type api_type: str or ~azure.mgmt.apimanagement.models.ApiType - :param api_revision: Describes the Revision of the Api. If no value is + :param api_revision: Describes the revision of the API. If no value is provided, default revision 1 is created :type api_revision: str - :param api_version: Indicates the Version identifier of the API if the API + :param api_version: Indicates the version identifier of the API if the API is versioned :type api_version: str :param is_current: Indicates if API revision is current api revision. :type is_current: bool :ivar is_online: Indicates if API revision is accessible via the gateway. :vartype is_online: bool - :param api_revision_description: Description of the Api Revision. + :param api_revision_description: Description of the API Revision. :type api_revision_description: str - :param api_version_description: Description of the Api Version. + :param api_version_description: Description of the API Version. :type api_version_description: str :param api_version_set_id: A resource identifier for the related ApiVersionSet. @@ -2224,6 +2358,13 @@ class ApiTagResourceContractProperties(ApiEntityBaseContract): :param subscription_required: Specifies whether an API or Product subscription is required for accessing the API. :type subscription_required: bool + :param terms_of_service_url: A URL to the Terms of Service for the API. + MUST be in the format of a URL. + :type terms_of_service_url: str + :param contact: Contact information for the API. + :type contact: ~azure.mgmt.apimanagement.models.ApiContactInformation + :param license: License information for the API. + :type license: ~azure.mgmt.apimanagement.models.ApiLicenseInformation :param id: API identifier in the form /apis/{apiId}. :type id: str :param name: API name. @@ -2265,11 +2406,14 @@ class ApiTagResourceContractProperties(ApiEntityBaseContract): 'api_version_description': {'key': 'apiVersionDescription', 'type': 'str'}, 'api_version_set_id': {'key': 'apiVersionSetId', 'type': 'str'}, 'subscription_required': {'key': 'subscriptionRequired', 'type': 'bool'}, + 'terms_of_service_url': {'key': 'termsOfServiceUrl', 'type': 'str'}, + 'contact': {'key': 'contact', 'type': 'ApiContactInformation'}, + 'license': {'key': 'license', 'type': 'ApiLicenseInformation'}, 'id': {'key': 'id', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, 'service_url': {'key': 'serviceUrl', 'type': 'str'}, 'path': {'key': 'path', 'type': 'str'}, - 'protocols': {'key': 'protocols', 'type': '[Protocol]'}, + 'protocols': {'key': 'protocols', 'type': '[str]'}, } def __init__(self, **kwargs): @@ -2298,21 +2442,22 @@ class ApiUpdateContract(Model): available. :type subscription_key_parameter_names: ~azure.mgmt.apimanagement.models.SubscriptionKeyParameterNamesContract - :param api_type: Type of API. Possible values include: 'http', 'soap' + :param api_type: Type of API. Possible values include: 'http', 'soap', + 'websocket' :type api_type: str or ~azure.mgmt.apimanagement.models.ApiType - :param api_revision: Describes the Revision of the Api. If no value is + :param api_revision: Describes the revision of the API. If no value is provided, default revision 1 is created :type api_revision: str - :param api_version: Indicates the Version identifier of the API if the API + :param api_version: Indicates the version identifier of the API if the API is versioned :type api_version: str :param is_current: Indicates if API revision is current api revision. :type is_current: bool :ivar is_online: Indicates if API revision is accessible via the gateway. :vartype is_online: bool - :param api_revision_description: Description of the Api Revision. + :param api_revision_description: Description of the API Revision. :type api_revision_description: str - :param api_version_description: Description of the Api Version. + :param api_version_description: Description of the API Version. :type api_version_description: str :param api_version_set_id: A resource identifier for the related ApiVersionSet. @@ -2320,6 +2465,13 @@ class ApiUpdateContract(Model): :param subscription_required: Specifies whether an API or Product subscription is required for accessing the API. :type subscription_required: bool + :param terms_of_service_url: A URL to the Terms of Service for the API. + MUST be in the format of a URL. + :type terms_of_service_url: str + :param contact: Contact information for the API. + :type contact: ~azure.mgmt.apimanagement.models.ApiContactInformation + :param license: License information for the API. + :type license: ~azure.mgmt.apimanagement.models.ApiLicenseInformation :param display_name: API name. :type display_name: str :param service_url: Absolute URL of the backend service implementing this @@ -2359,10 +2511,13 @@ class ApiUpdateContract(Model): 'api_version_description': {'key': 'properties.apiVersionDescription', 'type': 'str'}, 'api_version_set_id': {'key': 'properties.apiVersionSetId', 'type': 'str'}, 'subscription_required': {'key': 'properties.subscriptionRequired', 'type': 'bool'}, + 'terms_of_service_url': {'key': 'properties.termsOfServiceUrl', 'type': 'str'}, + 'contact': {'key': 'properties.contact', 'type': 'ApiContactInformation'}, + 'license': {'key': 'properties.license', 'type': 'ApiLicenseInformation'}, 'display_name': {'key': 'properties.displayName', 'type': 'str'}, 'service_url': {'key': 'properties.serviceUrl', 'type': 'str'}, 'path': {'key': 'properties.path', 'type': 'str'}, - 'protocols': {'key': 'properties.protocols', 'type': '[Protocol]'}, + 'protocols': {'key': 'properties.protocols', 'type': '[str]'}, } def __init__(self, **kwargs): @@ -2379,6 +2534,9 @@ def __init__(self, **kwargs): self.api_version_description = kwargs.get('api_version_description', None) self.api_version_set_id = kwargs.get('api_version_set_id', None) self.subscription_required = kwargs.get('subscription_required', None) + self.terms_of_service_url = kwargs.get('terms_of_service_url', None) + self.contact = kwargs.get('contact', None) + self.license = kwargs.get('license', None) self.display_name = kwargs.get('display_name', None) self.service_url = kwargs.get('service_url', None) self.path = kwargs.get('path', None) @@ -2403,7 +2561,7 @@ def __init__(self, **kwargs): class ApiVersionSetContract(Resource): - """Api Version Set Contract details. + """API Version Set Contract details. Variables are only populated by the server, and will be ignored when sending a request. @@ -2506,7 +2664,7 @@ def __init__(self, **kwargs): class ApiVersionSetEntityBase(Model): - """Api Version set base parameters. + """API Version set base parameters. :param description: Description of API Version Set. :type description: str @@ -2537,7 +2695,7 @@ def __init__(self, **kwargs): class ApiVersionSetUpdateParameters(Model): - """Parameters to update or create an Api Version Set Contract. + """Parameters to update or create an API Version Set Contract. :param description: Description of API Version Set. :type description: str @@ -3031,7 +3189,7 @@ class BackendBaseParameters(Model): :param description: Backend Description. :type description: str :param resource_id: Management Uri of the Resource in External System. - This url can be the Arm Resource Id of Logic Apps, Function Apps or Api + This url can be the Arm Resource Id of Logic Apps, Function Apps or API Apps. :type resource_id: str :param properties: Backend Properties contract @@ -3091,7 +3249,7 @@ class BackendContract(Resource): :param description: Backend Description. :type description: str :param resource_id: Management Uri of the Resource in External System. - This url can be the Arm Resource Id of Logic Apps, Function Apps or Api + This url can be the Arm Resource Id of Logic Apps, Function Apps or API Apps. :type resource_id: str :param properties: Backend Properties contract @@ -3351,7 +3509,7 @@ class BackendUpdateParameters(Model): :param description: Backend Description. :type description: str :param resource_id: Management Uri of the Resource in External System. - This url can be the Arm Resource Id of Logic Apps, Function Apps or Api + This url can be the Arm Resource Id of Logic Apps, Function Apps or API Apps. :type resource_id: str :param properties: Backend Properties contract @@ -3881,7 +4039,7 @@ def __init__(self, **kwargs): class DeletedServiceContract(Resource): - """Deleted Api Management Service information. + """Deleted API Management Service information. Variables are only populated by the server, and will be ignored when sending a request. @@ -3902,7 +4060,7 @@ class DeletedServiceContract(Resource): date conforms to the following format: yyyy-MM-ddTHH:mm:ssZ as specified by the ISO 8601 standard. :type deletion_date: datetime - :ivar location: Api Management Service Master Location. + :ivar location: API Management Service Master Location. :vartype location: str """ @@ -4063,7 +4221,7 @@ class EmailTemplateContract(Resource): :param description: Description of the Email Template. :type description: str :ivar is_default: Whether the template is the default template provided by - Api Management or has been edited. + API Management or has been edited. :vartype is_default: bool :param parameters: Email Template Parameter values. :type parameters: @@ -4715,6 +4873,14 @@ class HostnameConfiguration(Model): :type negotiate_client_certificate: bool :param certificate: Certificate information. :type certificate: ~azure.mgmt.apimanagement.models.CertificateInformation + :param certificate_source: Certificate Source. Possible values include: + 'Managed', 'KeyVault', 'Custom', 'BuiltIn' + :type certificate_source: str or + ~azure.mgmt.apimanagement.models.CertificateSource + :param certificate_status: Certificate Status. Possible values include: + 'Completed', 'Failed', 'InProgress' + :type certificate_status: str or + ~azure.mgmt.apimanagement.models.CertificateStatus """ _validation = { @@ -4732,6 +4898,8 @@ class HostnameConfiguration(Model): 'default_ssl_binding': {'key': 'defaultSslBinding', 'type': 'bool'}, 'negotiate_client_certificate': {'key': 'negotiateClientCertificate', 'type': 'bool'}, 'certificate': {'key': 'certificate', 'type': 'CertificateInformation'}, + 'certificate_source': {'key': 'certificateSource', 'type': 'str'}, + 'certificate_status': {'key': 'certificateStatus', 'type': 'str'}, } def __init__(self, **kwargs): @@ -4745,6 +4913,8 @@ def __init__(self, **kwargs): self.default_ssl_binding = kwargs.get('default_ssl_binding', False) self.negotiate_client_certificate = kwargs.get('negotiate_client_certificate', False) self.certificate = kwargs.get('certificate', None) + self.certificate_source = kwargs.get('certificate_source', None) + self.certificate_status = kwargs.get('certificate_status', None) class HttpMessageDiagnostic(Model): @@ -5322,7 +5492,7 @@ class KeyVaultContractCreateProperties(Model): """Create keyVault contract details. :param secret_identifier: Key vault secret identifier for fetching secret. - Providing a versioned secret will prevent auto-refresh. This requires Api + Providing a versioned secret will prevent auto-refresh. This requires API Management service to be configured with aka.ms/apimmsi :type secret_identifier: str :param identity_client_id: SystemAssignedIdentity or UserAssignedIdentity @@ -5345,7 +5515,7 @@ class KeyVaultContractProperties(KeyVaultContractCreateProperties): """KeyVault contract details. :param secret_identifier: Key vault secret identifier for fetching secret. - Providing a versioned secret will prevent auto-refresh. This requires Api + Providing a versioned secret will prevent auto-refresh. This requires API Management service to be configured with aka.ms/apimmsi :type secret_identifier: str :param identity_client_id: SystemAssignedIdentity or UserAssignedIdentity @@ -5958,7 +6128,7 @@ def __init__(self, **kwargs): class OperationContract(Resource): - """Api Operation details. + """API Operation details. Variables are only populated by the server, and will be ignored when sending a request. @@ -6060,7 +6230,7 @@ def __init__(self, **kwargs): class OperationEntityBaseContract(Model): - """Api Operation Entity Base Contract details. + """API Operation Entity Base Contract details. :param template_parameters: Collection of URL template parameters. :type template_parameters: @@ -6097,14 +6267,20 @@ def __init__(self, **kwargs): self.policies = kwargs.get('policies', None) -class OperationResultContract(Model): - """Operation Result. +class OperationResultContract(Resource): + """Long Running Git Operation Results. Variables are only populated by the server, and will be ignored when sending a request. - :param id: Operation result identifier. - :type id: str + :ivar id: Resource ID. + :vartype id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type for API Management resource. + :vartype type: str + :param operation_result_contract_id: Operation result identifier. + :type operation_result_contract_id: str :param status: Status of an async operation. Possible values include: 'Started', 'InProgress', 'Succeeded', 'Failed' :type status: str or ~azure.mgmt.apimanagement.models.AsyncOperationStatus @@ -6129,22 +6305,28 @@ class OperationResultContract(Model): """ _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, 'action_log': {'readonly': True}, } _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, - 'status': {'key': 'status', 'type': 'AsyncOperationStatus'}, - 'started': {'key': 'started', 'type': 'iso-8601'}, - 'updated': {'key': 'updated', 'type': 'iso-8601'}, - 'result_info': {'key': 'resultInfo', 'type': 'str'}, - 'error': {'key': 'error', 'type': 'ErrorResponseBody'}, - 'action_log': {'key': 'actionLog', 'type': '[OperationResultLogItemContract]'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'operation_result_contract_id': {'key': 'properties.id', 'type': 'str'}, + 'status': {'key': 'properties.status', 'type': 'AsyncOperationStatus'}, + 'started': {'key': 'properties.started', 'type': 'iso-8601'}, + 'updated': {'key': 'properties.updated', 'type': 'iso-8601'}, + 'result_info': {'key': 'properties.resultInfo', 'type': 'str'}, + 'error': {'key': 'properties.error', 'type': 'ErrorResponseBody'}, + 'action_log': {'key': 'properties.actionLog', 'type': '[OperationResultLogItemContract]'}, } def __init__(self, **kwargs): super(OperationResultContract, self).__init__(**kwargs) - self.id = kwargs.get('id', None) + self.operation_result_contract_id = kwargs.get('operation_result_contract_id', None) self.status = kwargs.get('status', None) self.started = kwargs.get('started', None) self.updated = kwargs.get('updated', None) @@ -6187,11 +6369,11 @@ class OperationTagResourceContractProperties(Model): :type id: str :ivar name: Operation name. :vartype name: str - :ivar api_name: Api Name. + :ivar api_name: API Name. :vartype api_name: str - :ivar api_revision: Api Revision. + :ivar api_revision: API Revision. :vartype api_revision: str - :ivar api_version: Api Version. + :ivar api_version: API Version. :vartype api_version: str :ivar description: Operation Description. :vartype description: str @@ -6238,7 +6420,7 @@ def __init__(self, **kwargs): class OperationUpdateContract(Model): - """Api Operation Update Contract details. + """API Operation Update Contract details. :param template_parameters: Collection of URL template parameters. :type template_parameters: @@ -6309,6 +6491,10 @@ class ParameterContract(Model): :type required: bool :param values: Parameter values. :type values: list[str] + :param schema_id: Schema identifier. + :type schema_id: str + :param type_name: Type name defined by the schema. + :type type_name: str """ _validation = { @@ -6323,6 +6509,8 @@ class ParameterContract(Model): 'default_value': {'key': 'defaultValue', 'type': 'str'}, 'required': {'key': 'required', 'type': 'bool'}, 'values': {'key': 'values', 'type': '[str]'}, + 'schema_id': {'key': 'schemaId', 'type': 'str'}, + 'type_name': {'key': 'typeName', 'type': 'str'}, } def __init__(self, **kwargs): @@ -6333,6 +6521,8 @@ def __init__(self, **kwargs): self.default_value = kwargs.get('default_value', None) self.required = kwargs.get('required', None) self.values = kwargs.get('values', None) + self.schema_id = kwargs.get('schema_id', None) + self.type_name = kwargs.get('type_name', None) class PipelineDiagnosticSettings(Model): @@ -6532,7 +6722,7 @@ def __init__(self, **kwargs): class PortalRevisionContract(Resource): - """Portal revisions contract details. + """Portal Revision's contract details. Variables are only populated by the server, and will be ignored when sending a request. @@ -6547,13 +6737,13 @@ class PortalRevisionContract(Resource): :type description: str :ivar status_details: Portal revision publishing status details. :vartype status_details: str - :ivar status: Portal revision publishing status. Possible values include: + :ivar status: Status of the portal's revision. Possible values include: 'pending', 'publishing', 'completed', 'failed' :vartype status: str or ~azure.mgmt.apimanagement.models.PortalRevisionStatus - :param is_current: Indicates if the Portal Revision is public. + :param is_current: Indicates if the portal's revision is public. :type is_current: bool - :ivar created_date_time: Portal revision creation date and time. + :ivar created_date_time: Portal's revision creation date and time. :vartype created_date_time: datetime :ivar updated_date_time: Last updated date and time. :vartype updated_date_time: datetime @@ -7902,12 +8092,8 @@ class SchemaContract(Resource): `OpenApi` Schema use `application/vnd.oai.openapi.components+json`
- `WADL Schema` use `application/vnd.ms-azure-apim.wadl.grammars+xml`. :type content_type: str - :param value: Json escaped string defining the document representing the - Schema. Used for schemas other than Swagger/OpenAPI. - :type value: str - :param definitions: Types definitions. Used for Swagger/OpenAPI schemas - only, null otherwise. - :type definitions: object + :param document: Create or update Properties of the Schema Document. + :type document: object """ _validation = { @@ -7922,15 +8108,13 @@ class SchemaContract(Resource): 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'content_type': {'key': 'properties.contentType', 'type': 'str'}, - 'value': {'key': 'properties.document.value', 'type': 'str'}, - 'definitions': {'key': 'properties.document.definitions', 'type': 'object'}, + 'document': {'key': 'properties\\.document', 'type': 'object'}, } def __init__(self, **kwargs): super(SchemaContract, self).__init__(**kwargs) self.content_type = kwargs.get('content_type', None) - self.value = kwargs.get('value', None) - self.definitions = kwargs.get('definitions', None) + self.document = kwargs.get('document', None) class SubscriptionContract(Resource): @@ -8396,7 +8580,7 @@ class TagResourceContract(Model): :param tag: Required. Tag associated with the resource. :type tag: ~azure.mgmt.apimanagement.models.TagTagResourceContractProperties - :param api: Api associated with the tag. + :param api: API associated with the tag. :type api: ~azure.mgmt.apimanagement.models.ApiTagResourceContractProperties :param operation: Operation associated with the tag. @@ -8451,7 +8635,7 @@ def __init__(self, **kwargs): class TenantConfigurationSyncStateContract(Model): - """Tenant Configuration Synchronization State. + """Result of Tenant Configuration Sync State. :param branch: The name of Git branch. :type branch: str @@ -8474,16 +8658,20 @@ class TenantConfigurationSyncStateContract(Model): change. The date conforms to the following format: `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard. :type configuration_change_date: datetime + :param last_operation_id: Most recent tenant configuration operation + identifier + :type last_operation_id: str """ _attribute_map = { - 'branch': {'key': 'branch', 'type': 'str'}, - 'commit_id': {'key': 'commitId', 'type': 'str'}, - 'is_export': {'key': 'isExport', 'type': 'bool'}, - 'is_synced': {'key': 'isSynced', 'type': 'bool'}, - 'is_git_enabled': {'key': 'isGitEnabled', 'type': 'bool'}, - 'sync_date': {'key': 'syncDate', 'type': 'iso-8601'}, - 'configuration_change_date': {'key': 'configurationChangeDate', 'type': 'iso-8601'}, + 'branch': {'key': 'properties.branch', 'type': 'str'}, + 'commit_id': {'key': 'properties.commitId', 'type': 'str'}, + 'is_export': {'key': 'properties.isExport', 'type': 'bool'}, + 'is_synced': {'key': 'properties.isSynced', 'type': 'bool'}, + 'is_git_enabled': {'key': 'properties.isGitEnabled', 'type': 'bool'}, + 'sync_date': {'key': 'properties.syncDate', 'type': 'iso-8601'}, + 'configuration_change_date': {'key': 'properties.configurationChangeDate', 'type': 'iso-8601'}, + 'last_operation_id': {'key': 'properties.lastOperationId', 'type': 'str'}, } def __init__(self, **kwargs): @@ -8495,6 +8683,7 @@ def __init__(self, **kwargs): self.is_git_enabled = kwargs.get('is_git_enabled', None) self.sync_date = kwargs.get('sync_date', None) self.configuration_change_date = kwargs.get('configuration_change_date', None) + self.last_operation_id = kwargs.get('last_operation_id', None) class TenantSettingsContract(Resource): diff --git a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/models/_models_py3.py b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/models/_models_py3.py index 8b3fd08f4490..9db913f22d56 100644 --- a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/models/_models_py3.py +++ b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/models/_models_py3.py @@ -197,6 +197,10 @@ class AdditionalLocation(Model): Network in a particular additional location. Available only for Basic, Standard, Premium and Isolated SKU. :vartype private_ip_addresses: list[str] + :param public_ip_address_id: Public Standard SKU IP V4 based IP address to + be associated with Virtual Network deployed service in the location. + Supported only for Premium SKU being deployed in Virtual Network. + :type public_ip_address_id: str :param virtual_network_configuration: Virtual network configuration for the location. :type virtual_network_configuration: @@ -224,25 +228,53 @@ class AdditionalLocation(Model): 'zones': {'key': 'zones', 'type': '[str]'}, 'public_ip_addresses': {'key': 'publicIPAddresses', 'type': '[str]'}, 'private_ip_addresses': {'key': 'privateIPAddresses', 'type': '[str]'}, + 'public_ip_address_id': {'key': 'publicIpAddressId', 'type': 'str'}, 'virtual_network_configuration': {'key': 'virtualNetworkConfiguration', 'type': 'VirtualNetworkConfiguration'}, 'gateway_regional_url': {'key': 'gatewayRegionalUrl', 'type': 'str'}, 'disable_gateway': {'key': 'disableGateway', 'type': 'bool'}, } - def __init__(self, *, location: str, sku, zones=None, virtual_network_configuration=None, disable_gateway: bool=False, **kwargs) -> None: + def __init__(self, *, location: str, sku, zones=None, public_ip_address_id: str=None, virtual_network_configuration=None, disable_gateway: bool=False, **kwargs) -> None: super(AdditionalLocation, self).__init__(**kwargs) self.location = location self.sku = sku self.zones = zones self.public_ip_addresses = None self.private_ip_addresses = None + self.public_ip_address_id = public_ip_address_id self.virtual_network_configuration = virtual_network_configuration self.gateway_regional_url = None self.disable_gateway = disable_gateway +class ApiContactInformation(Model): + """API contact information. + + :param name: The identifying name of the contact person/organization + :type name: str + :param url: The URL pointing to the contact information. MUST be in the + format of a URL + :type url: str + :param email: The email address of the contact person/organization. MUST + be in the format of an email address + :type email: str + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'url': {'key': 'url', 'type': 'str'}, + 'email': {'key': 'email', 'type': 'str'}, + } + + def __init__(self, *, name: str=None, url: str=None, email: str=None, **kwargs) -> None: + super(ApiContactInformation, self).__init__(**kwargs) + self.name = name + self.url = url + self.email = email + + class ApiContract(Resource): - """Api details. + """API details. Variables are only populated by the server, and will be ignored when sending a request. @@ -266,21 +298,22 @@ class ApiContract(Resource): available. :type subscription_key_parameter_names: ~azure.mgmt.apimanagement.models.SubscriptionKeyParameterNamesContract - :param api_type: Type of API. Possible values include: 'http', 'soap' + :param api_type: Type of API. Possible values include: 'http', 'soap', + 'websocket' :type api_type: str or ~azure.mgmt.apimanagement.models.ApiType - :param api_revision: Describes the Revision of the Api. If no value is + :param api_revision: Describes the revision of the API. If no value is provided, default revision 1 is created :type api_revision: str - :param api_version: Indicates the Version identifier of the API if the API + :param api_version: Indicates the version identifier of the API if the API is versioned :type api_version: str :param is_current: Indicates if API revision is current api revision. :type is_current: bool :ivar is_online: Indicates if API revision is accessible via the gateway. :vartype is_online: bool - :param api_revision_description: Description of the Api Revision. + :param api_revision_description: Description of the API Revision. :type api_revision_description: str - :param api_version_description: Description of the Api Version. + :param api_version_description: Description of the API Version. :type api_version_description: str :param api_version_set_id: A resource identifier for the related ApiVersionSet. @@ -288,6 +321,13 @@ class ApiContract(Resource): :param subscription_required: Specifies whether an API or Product subscription is required for accessing the API. :type subscription_required: bool + :param terms_of_service_url: A URL to the Terms of Service for the API. + MUST be in the format of a URL. + :type terms_of_service_url: str + :param contact: Contact information for the API. + :type contact: ~azure.mgmt.apimanagement.models.ApiContactInformation + :param license: License information for the API. + :type license: ~azure.mgmt.apimanagement.models.ApiLicenseInformation :param source_api_id: API identifier of the source API. :type source_api_id: str :param display_name: API name. Must be 1 to 300 characters long. @@ -338,15 +378,18 @@ class ApiContract(Resource): 'api_version_description': {'key': 'properties.apiVersionDescription', 'type': 'str'}, 'api_version_set_id': {'key': 'properties.apiVersionSetId', 'type': 'str'}, 'subscription_required': {'key': 'properties.subscriptionRequired', 'type': 'bool'}, + 'terms_of_service_url': {'key': 'properties.termsOfServiceUrl', 'type': 'str'}, + 'contact': {'key': 'properties.contact', 'type': 'ApiContactInformation'}, + 'license': {'key': 'properties.license', 'type': 'ApiLicenseInformation'}, 'source_api_id': {'key': 'properties.sourceApiId', 'type': 'str'}, 'display_name': {'key': 'properties.displayName', 'type': 'str'}, 'service_url': {'key': 'properties.serviceUrl', 'type': 'str'}, 'path': {'key': 'properties.path', 'type': 'str'}, - 'protocols': {'key': 'properties.protocols', 'type': '[Protocol]'}, + 'protocols': {'key': 'properties.protocols', 'type': '[str]'}, 'api_version_set': {'key': 'properties.apiVersionSet', 'type': 'ApiVersionSetContractDetails'}, } - def __init__(self, *, path: str, description: str=None, authentication_settings=None, subscription_key_parameter_names=None, api_type=None, api_revision: str=None, api_version: str=None, is_current: bool=None, api_revision_description: str=None, api_version_description: str=None, api_version_set_id: str=None, subscription_required: bool=None, source_api_id: str=None, display_name: str=None, service_url: str=None, protocols=None, api_version_set=None, **kwargs) -> None: + def __init__(self, *, path: str, description: str=None, authentication_settings=None, subscription_key_parameter_names=None, api_type=None, api_revision: str=None, api_version: str=None, is_current: bool=None, api_revision_description: str=None, api_version_description: str=None, api_version_set_id: str=None, subscription_required: bool=None, terms_of_service_url: str=None, contact=None, license=None, source_api_id: str=None, display_name: str=None, service_url: str=None, protocols=None, api_version_set=None, **kwargs) -> None: super(ApiContract, self).__init__(**kwargs) self.description = description self.authentication_settings = authentication_settings @@ -360,6 +403,9 @@ def __init__(self, *, path: str, description: str=None, authentication_settings= self.api_version_description = api_version_description self.api_version_set_id = api_version_set_id self.subscription_required = subscription_required + self.terms_of_service_url = terms_of_service_url + self.contact = contact + self.license = license self.source_api_id = source_api_id self.display_name = display_name self.service_url = service_url @@ -385,21 +431,22 @@ class ApiEntityBaseContract(Model): available. :type subscription_key_parameter_names: ~azure.mgmt.apimanagement.models.SubscriptionKeyParameterNamesContract - :param api_type: Type of API. Possible values include: 'http', 'soap' + :param api_type: Type of API. Possible values include: 'http', 'soap', + 'websocket' :type api_type: str or ~azure.mgmt.apimanagement.models.ApiType - :param api_revision: Describes the Revision of the Api. If no value is + :param api_revision: Describes the revision of the API. If no value is provided, default revision 1 is created :type api_revision: str - :param api_version: Indicates the Version identifier of the API if the API + :param api_version: Indicates the version identifier of the API if the API is versioned :type api_version: str :param is_current: Indicates if API revision is current api revision. :type is_current: bool :ivar is_online: Indicates if API revision is accessible via the gateway. :vartype is_online: bool - :param api_revision_description: Description of the Api Revision. + :param api_revision_description: Description of the API Revision. :type api_revision_description: str - :param api_version_description: Description of the Api Version. + :param api_version_description: Description of the API Version. :type api_version_description: str :param api_version_set_id: A resource identifier for the related ApiVersionSet. @@ -407,6 +454,13 @@ class ApiEntityBaseContract(Model): :param subscription_required: Specifies whether an API or Product subscription is required for accessing the API. :type subscription_required: bool + :param terms_of_service_url: A URL to the Terms of Service for the API. + MUST be in the format of a URL. + :type terms_of_service_url: str + :param contact: Contact information for the API. + :type contact: ~azure.mgmt.apimanagement.models.ApiContactInformation + :param license: License information for the API. + :type license: ~azure.mgmt.apimanagement.models.ApiLicenseInformation """ _validation = { @@ -430,9 +484,12 @@ class ApiEntityBaseContract(Model): 'api_version_description': {'key': 'apiVersionDescription', 'type': 'str'}, 'api_version_set_id': {'key': 'apiVersionSetId', 'type': 'str'}, 'subscription_required': {'key': 'subscriptionRequired', 'type': 'bool'}, + 'terms_of_service_url': {'key': 'termsOfServiceUrl', 'type': 'str'}, + 'contact': {'key': 'contact', 'type': 'ApiContactInformation'}, + 'license': {'key': 'license', 'type': 'ApiLicenseInformation'}, } - def __init__(self, *, description: str=None, authentication_settings=None, subscription_key_parameter_names=None, api_type=None, api_revision: str=None, api_version: str=None, is_current: bool=None, api_revision_description: str=None, api_version_description: str=None, api_version_set_id: str=None, subscription_required: bool=None, **kwargs) -> None: + def __init__(self, *, description: str=None, authentication_settings=None, subscription_key_parameter_names=None, api_type=None, api_revision: str=None, api_version: str=None, is_current: bool=None, api_revision_description: str=None, api_version_description: str=None, api_version_set_id: str=None, subscription_required: bool=None, terms_of_service_url: str=None, contact=None, license=None, **kwargs) -> None: super(ApiEntityBaseContract, self).__init__(**kwargs) self.description = description self.authentication_settings = authentication_settings @@ -446,10 +503,13 @@ def __init__(self, *, description: str=None, authentication_settings=None, subsc self.api_version_description = api_version_description self.api_version_set_id = api_version_set_id self.subscription_required = subscription_required + self.terms_of_service_url = terms_of_service_url + self.contact = contact + self.license = license class ApiContractProperties(ApiEntityBaseContract): - """Api Entity Properties. + """API Entity Properties. Variables are only populated by the server, and will be ignored when sending a request. @@ -467,21 +527,22 @@ class ApiContractProperties(ApiEntityBaseContract): available. :type subscription_key_parameter_names: ~azure.mgmt.apimanagement.models.SubscriptionKeyParameterNamesContract - :param api_type: Type of API. Possible values include: 'http', 'soap' + :param api_type: Type of API. Possible values include: 'http', 'soap', + 'websocket' :type api_type: str or ~azure.mgmt.apimanagement.models.ApiType - :param api_revision: Describes the Revision of the Api. If no value is + :param api_revision: Describes the revision of the API. If no value is provided, default revision 1 is created :type api_revision: str - :param api_version: Indicates the Version identifier of the API if the API + :param api_version: Indicates the version identifier of the API if the API is versioned :type api_version: str :param is_current: Indicates if API revision is current api revision. :type is_current: bool :ivar is_online: Indicates if API revision is accessible via the gateway. :vartype is_online: bool - :param api_revision_description: Description of the Api Revision. + :param api_revision_description: Description of the API Revision. :type api_revision_description: str - :param api_version_description: Description of the Api Version. + :param api_version_description: Description of the API Version. :type api_version_description: str :param api_version_set_id: A resource identifier for the related ApiVersionSet. @@ -489,6 +550,13 @@ class ApiContractProperties(ApiEntityBaseContract): :param subscription_required: Specifies whether an API or Product subscription is required for accessing the API. :type subscription_required: bool + :param terms_of_service_url: A URL to the Terms of Service for the API. + MUST be in the format of a URL. + :type terms_of_service_url: str + :param contact: Contact information for the API. + :type contact: ~azure.mgmt.apimanagement.models.ApiContactInformation + :param license: License information for the API. + :type license: ~azure.mgmt.apimanagement.models.ApiLicenseInformation :param source_api_id: API identifier of the source API. :type source_api_id: str :param display_name: API name. Must be 1 to 300 characters long. @@ -533,16 +601,19 @@ class ApiContractProperties(ApiEntityBaseContract): 'api_version_description': {'key': 'apiVersionDescription', 'type': 'str'}, 'api_version_set_id': {'key': 'apiVersionSetId', 'type': 'str'}, 'subscription_required': {'key': 'subscriptionRequired', 'type': 'bool'}, + 'terms_of_service_url': {'key': 'termsOfServiceUrl', 'type': 'str'}, + 'contact': {'key': 'contact', 'type': 'ApiContactInformation'}, + 'license': {'key': 'license', 'type': 'ApiLicenseInformation'}, 'source_api_id': {'key': 'sourceApiId', 'type': 'str'}, 'display_name': {'key': 'displayName', 'type': 'str'}, 'service_url': {'key': 'serviceUrl', 'type': 'str'}, 'path': {'key': 'path', 'type': 'str'}, - 'protocols': {'key': 'protocols', 'type': '[Protocol]'}, + 'protocols': {'key': 'protocols', 'type': '[str]'}, 'api_version_set': {'key': 'apiVersionSet', 'type': 'ApiVersionSetContractDetails'}, } - def __init__(self, *, path: str, description: str=None, authentication_settings=None, subscription_key_parameter_names=None, api_type=None, api_revision: str=None, api_version: str=None, is_current: bool=None, api_revision_description: str=None, api_version_description: str=None, api_version_set_id: str=None, subscription_required: bool=None, source_api_id: str=None, display_name: str=None, service_url: str=None, protocols=None, api_version_set=None, **kwargs) -> None: - super(ApiContractProperties, self).__init__(description=description, authentication_settings=authentication_settings, subscription_key_parameter_names=subscription_key_parameter_names, api_type=api_type, api_revision=api_revision, api_version=api_version, is_current=is_current, api_revision_description=api_revision_description, api_version_description=api_version_description, api_version_set_id=api_version_set_id, subscription_required=subscription_required, **kwargs) + def __init__(self, *, path: str, description: str=None, authentication_settings=None, subscription_key_parameter_names=None, api_type=None, api_revision: str=None, api_version: str=None, is_current: bool=None, api_revision_description: str=None, api_version_description: str=None, api_version_set_id: str=None, subscription_required: bool=None, terms_of_service_url: str=None, contact=None, license=None, source_api_id: str=None, display_name: str=None, service_url: str=None, protocols=None, api_version_set=None, **kwargs) -> None: + super(ApiContractProperties, self).__init__(description=description, authentication_settings=authentication_settings, subscription_key_parameter_names=subscription_key_parameter_names, api_type=api_type, api_revision=api_revision, api_version=api_version, is_current=is_current, api_revision_description=api_revision_description, api_version_description=api_version_description, api_version_set_id=api_version_set_id, subscription_required=subscription_required, terms_of_service_url=terms_of_service_url, contact=contact, license=license, **kwargs) self.source_api_id = source_api_id self.display_name = display_name self.service_url = service_url @@ -570,21 +641,22 @@ class ApiCreateOrUpdateParameter(Model): available. :type subscription_key_parameter_names: ~azure.mgmt.apimanagement.models.SubscriptionKeyParameterNamesContract - :param api_type: Type of API. Possible values include: 'http', 'soap' + :param api_type: Type of API. Possible values include: 'http', 'soap', + 'websocket' :type api_type: str or ~azure.mgmt.apimanagement.models.ApiType - :param api_revision: Describes the Revision of the Api. If no value is + :param api_revision: Describes the revision of the API. If no value is provided, default revision 1 is created :type api_revision: str - :param api_version: Indicates the Version identifier of the API if the API + :param api_version: Indicates the version identifier of the API if the API is versioned :type api_version: str :param is_current: Indicates if API revision is current api revision. :type is_current: bool :ivar is_online: Indicates if API revision is accessible via the gateway. :vartype is_online: bool - :param api_revision_description: Description of the Api Revision. + :param api_revision_description: Description of the API Revision. :type api_revision_description: str - :param api_version_description: Description of the Api Version. + :param api_version_description: Description of the API Version. :type api_version_description: str :param api_version_set_id: A resource identifier for the related ApiVersionSet. @@ -592,6 +664,13 @@ class ApiCreateOrUpdateParameter(Model): :param subscription_required: Specifies whether an API or Product subscription is required for accessing the API. :type subscription_required: bool + :param terms_of_service_url: A URL to the Terms of Service for the API. + MUST be in the format of a URL. + :type terms_of_service_url: str + :param contact: Contact information for the API. + :type contact: ~azure.mgmt.apimanagement.models.ApiContactInformation + :param license: License information for the API. + :type license: ~azure.mgmt.apimanagement.models.ApiLicenseInformation :param source_api_id: API identifier of the source API. :type source_api_id: str :param display_name: API name. Must be 1 to 300 characters long. @@ -621,10 +700,11 @@ class ApiCreateOrUpdateParameter(Model): document. :type wsdl_selector: ~azure.mgmt.apimanagement.models.ApiCreateOrUpdatePropertiesWsdlSelector - :param soap_api_type: Type of Api to create. - * `http` creates a SOAP to REST API - * `soap` creates a SOAP pass-through API. Possible values include: - 'SoapToRest', 'SoapPassThrough' + :param soap_api_type: Type of API to create. + * `http` creates a REST API + * `soap` creates a SOAP pass-through API + * `websocket` creates websocket API. Possible values include: + 'SoapToRest', 'SoapPassThrough', 'WebSocket' :type soap_api_type: str or ~azure.mgmt.apimanagement.models.SoapApiType """ @@ -652,11 +732,14 @@ class ApiCreateOrUpdateParameter(Model): 'api_version_description': {'key': 'properties.apiVersionDescription', 'type': 'str'}, 'api_version_set_id': {'key': 'properties.apiVersionSetId', 'type': 'str'}, 'subscription_required': {'key': 'properties.subscriptionRequired', 'type': 'bool'}, + 'terms_of_service_url': {'key': 'properties.termsOfServiceUrl', 'type': 'str'}, + 'contact': {'key': 'properties.contact', 'type': 'ApiContactInformation'}, + 'license': {'key': 'properties.license', 'type': 'ApiLicenseInformation'}, 'source_api_id': {'key': 'properties.sourceApiId', 'type': 'str'}, 'display_name': {'key': 'properties.displayName', 'type': 'str'}, 'service_url': {'key': 'properties.serviceUrl', 'type': 'str'}, 'path': {'key': 'properties.path', 'type': 'str'}, - 'protocols': {'key': 'properties.protocols', 'type': '[Protocol]'}, + 'protocols': {'key': 'properties.protocols', 'type': '[str]'}, 'api_version_set': {'key': 'properties.apiVersionSet', 'type': 'ApiVersionSetContractDetails'}, 'value': {'key': 'properties.value', 'type': 'str'}, 'format': {'key': 'properties.format', 'type': 'str'}, @@ -664,7 +747,7 @@ class ApiCreateOrUpdateParameter(Model): 'soap_api_type': {'key': 'properties.apiType', 'type': 'str'}, } - def __init__(self, *, path: str, description: str=None, authentication_settings=None, subscription_key_parameter_names=None, api_type=None, api_revision: str=None, api_version: str=None, is_current: bool=None, api_revision_description: str=None, api_version_description: str=None, api_version_set_id: str=None, subscription_required: bool=None, source_api_id: str=None, display_name: str=None, service_url: str=None, protocols=None, api_version_set=None, value: str=None, format=None, wsdl_selector=None, soap_api_type=None, **kwargs) -> None: + def __init__(self, *, path: str, description: str=None, authentication_settings=None, subscription_key_parameter_names=None, api_type=None, api_revision: str=None, api_version: str=None, is_current: bool=None, api_revision_description: str=None, api_version_description: str=None, api_version_set_id: str=None, subscription_required: bool=None, terms_of_service_url: str=None, contact=None, license=None, source_api_id: str=None, display_name: str=None, service_url: str=None, protocols=None, api_version_set=None, value: str=None, format=None, wsdl_selector=None, soap_api_type=None, **kwargs) -> None: super(ApiCreateOrUpdateParameter, self).__init__(**kwargs) self.description = description self.authentication_settings = authentication_settings @@ -678,6 +761,9 @@ def __init__(self, *, path: str, description: str=None, authentication_settings= self.api_version_description = api_version_description self.api_version_set_id = api_version_set_id self.subscription_required = subscription_required + self.terms_of_service_url = terms_of_service_url + self.contact = contact + self.license = license self.source_api_id = source_api_id self.display_name = display_name self.service_url = service_url @@ -715,12 +801,12 @@ class ApiExportResult(Model): :param id: ResourceId of the API which was exported. :type id: str - :param export_result_format: Format in which the Api Details are exported + :param export_result_format: Format in which the API Details are exported to the Storage Blob with Sas Key valid for 5 minutes. Possible values include: 'Swagger', 'Wsdl', 'Wadl', 'OpenApi' :type export_result_format: str or ~azure.mgmt.apimanagement.models.ExportResultFormat - :param value: The object defining the schema of the exported Api Detail + :param value: The object defining the schema of the exported API Detail :type value: ~azure.mgmt.apimanagement.models.ApiExportResultValue """ @@ -738,7 +824,7 @@ def __init__(self, *, id: str=None, export_result_format=None, value=None, **kwa class ApiExportResultValue(Model): - """The object defining the schema of the exported Api Detail. + """The object defining the schema of the exported API Detail. :param link: Link to the Storage Blob containing the result of the export operation. The Blob Uri is only valid for 5 minutes. @@ -754,6 +840,27 @@ def __init__(self, *, link: str=None, **kwargs) -> None: self.link = link +class ApiLicenseInformation(Model): + """API license information. + + :param name: The license name used for the API + :type name: str + :param url: A URL to the license used for the API. MUST be in the format + of a URL + :type url: str + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'url': {'key': 'url', 'type': 'str'}, + } + + def __init__(self, *, name: str=None, url: str=None, **kwargs) -> None: + super(ApiLicenseInformation, self).__init__(**kwargs) + self.name = name + self.url = url + + class ApiManagementServiceApplyNetworkConfigurationParameters(Model): """Parameter supplied to the Apply Network configuration operation. @@ -863,6 +970,11 @@ class ApiManagementServiceBaseProperties(Model): Internal Virtual Network. Available only for Basic, Standard, Premium and Isolated SKU. :vartype private_ip_addresses: list[str] + :param public_ip_address_id: Public Standard SKU IP V4 based IP address to + be associated with Virtual Network deployed service in the region. + Supported only for Developer and Premium SKU being deployed in Virtual + Network. + :type public_ip_address_id: str :param virtual_network_configuration: Virtual network configuration of the API Management service. :type virtual_network_configuration: @@ -969,6 +1081,7 @@ class ApiManagementServiceBaseProperties(Model): 'hostname_configurations': {'key': 'hostnameConfigurations', 'type': '[HostnameConfiguration]'}, 'public_ip_addresses': {'key': 'publicIPAddresses', 'type': '[str]'}, 'private_ip_addresses': {'key': 'privateIPAddresses', 'type': '[str]'}, + 'public_ip_address_id': {'key': 'publicIpAddressId', 'type': 'str'}, 'virtual_network_configuration': {'key': 'virtualNetworkConfiguration', 'type': 'VirtualNetworkConfiguration'}, 'additional_locations': {'key': 'additionalLocations', 'type': '[AdditionalLocation]'}, 'custom_properties': {'key': 'customProperties', 'type': '{str}'}, @@ -980,7 +1093,7 @@ class ApiManagementServiceBaseProperties(Model): 'restore': {'key': 'restore', 'type': 'bool'}, } - def __init__(self, *, notification_sender_email: str=None, hostname_configurations=None, virtual_network_configuration=None, additional_locations=None, custom_properties=None, certificates=None, enable_client_certificate: bool=False, disable_gateway: bool=False, virtual_network_type="None", api_version_constraint=None, restore: bool=False, **kwargs) -> None: + def __init__(self, *, notification_sender_email: str=None, hostname_configurations=None, public_ip_address_id: str=None, virtual_network_configuration=None, additional_locations=None, custom_properties=None, certificates=None, enable_client_certificate: bool=False, disable_gateway: bool=False, virtual_network_type="None", api_version_constraint=None, restore: bool=False, **kwargs) -> None: super(ApiManagementServiceBaseProperties, self).__init__(**kwargs) self.notification_sender_email = notification_sender_email self.provisioning_state = None @@ -995,6 +1108,7 @@ def __init__(self, *, notification_sender_email: str=None, hostname_configuratio self.hostname_configurations = hostname_configurations self.public_ip_addresses = None self.private_ip_addresses = None + self.public_ip_address_id = public_ip_address_id self.virtual_network_configuration = virtual_network_configuration self.additional_locations = additional_locations self.custom_properties = custom_properties @@ -1257,6 +1371,11 @@ class ApiManagementServiceResource(ApimResource): Internal Virtual Network. Available only for Basic, Standard, Premium and Isolated SKU. :vartype private_ip_addresses: list[str] + :param public_ip_address_id: Public Standard SKU IP V4 based IP address to + be associated with Virtual Network deployed service in the region. + Supported only for Developer and Premium SKU being deployed in Virtual + Network. + :type public_ip_address_id: str :param virtual_network_configuration: Virtual network configuration of the API Management service. :type virtual_network_configuration: @@ -1392,6 +1511,7 @@ class ApiManagementServiceResource(ApimResource): 'hostname_configurations': {'key': 'properties.hostnameConfigurations', 'type': '[HostnameConfiguration]'}, 'public_ip_addresses': {'key': 'properties.publicIPAddresses', 'type': '[str]'}, 'private_ip_addresses': {'key': 'properties.privateIPAddresses', 'type': '[str]'}, + 'public_ip_address_id': {'key': 'properties.publicIpAddressId', 'type': 'str'}, 'virtual_network_configuration': {'key': 'properties.virtualNetworkConfiguration', 'type': 'VirtualNetworkConfiguration'}, 'additional_locations': {'key': 'properties.additionalLocations', 'type': '[AdditionalLocation]'}, 'custom_properties': {'key': 'properties.customProperties', 'type': '{str}'}, @@ -1410,7 +1530,7 @@ class ApiManagementServiceResource(ApimResource): 'zones': {'key': 'zones', 'type': '[str]'}, } - def __init__(self, *, publisher_email: str, publisher_name: str, sku, location: str, tags=None, notification_sender_email: str=None, hostname_configurations=None, virtual_network_configuration=None, additional_locations=None, custom_properties=None, certificates=None, enable_client_certificate: bool=False, disable_gateway: bool=False, virtual_network_type="None", api_version_constraint=None, restore: bool=False, identity=None, zones=None, **kwargs) -> None: + def __init__(self, *, publisher_email: str, publisher_name: str, sku, location: str, tags=None, notification_sender_email: str=None, hostname_configurations=None, public_ip_address_id: str=None, virtual_network_configuration=None, additional_locations=None, custom_properties=None, certificates=None, enable_client_certificate: bool=False, disable_gateway: bool=False, virtual_network_type="None", api_version_constraint=None, restore: bool=False, identity=None, zones=None, **kwargs) -> None: super(ApiManagementServiceResource, self).__init__(tags=tags, **kwargs) self.notification_sender_email = notification_sender_email self.provisioning_state = None @@ -1425,6 +1545,7 @@ def __init__(self, *, publisher_email: str, publisher_name: str, sku, location: self.hostname_configurations = hostname_configurations self.public_ip_addresses = None self.private_ip_addresses = None + self.public_ip_address_id = public_ip_address_id self.virtual_network_configuration = virtual_network_configuration self.additional_locations = additional_locations self.custom_properties = custom_properties @@ -1531,6 +1652,11 @@ class ApiManagementServiceUpdateParameters(ApimResource): Internal Virtual Network. Available only for Basic, Standard, Premium and Isolated SKU. :vartype private_ip_addresses: list[str] + :param public_ip_address_id: Public Standard SKU IP V4 based IP address to + be associated with Virtual Network deployed service in the region. + Supported only for Developer and Premium SKU being deployed in Virtual + Network. + :type public_ip_address_id: str :param virtual_network_configuration: Virtual network configuration of the API Management service. :type virtual_network_configuration: @@ -1618,6 +1744,9 @@ class ApiManagementServiceUpdateParameters(ApimResource): ~azure.mgmt.apimanagement.models.ApiManagementServiceIdentity :ivar etag: ETag of the resource. :vartype etag: str + :param zones: A list of availability zones denoting where the resource + needs to come from. + :type zones: list[str] """ _validation = { @@ -1659,6 +1788,7 @@ class ApiManagementServiceUpdateParameters(ApimResource): 'hostname_configurations': {'key': 'properties.hostnameConfigurations', 'type': '[HostnameConfiguration]'}, 'public_ip_addresses': {'key': 'properties.publicIPAddresses', 'type': '[str]'}, 'private_ip_addresses': {'key': 'properties.privateIPAddresses', 'type': '[str]'}, + 'public_ip_address_id': {'key': 'properties.publicIpAddressId', 'type': 'str'}, 'virtual_network_configuration': {'key': 'properties.virtualNetworkConfiguration', 'type': 'VirtualNetworkConfiguration'}, 'additional_locations': {'key': 'properties.additionalLocations', 'type': '[AdditionalLocation]'}, 'custom_properties': {'key': 'properties.customProperties', 'type': '{str}'}, @@ -1673,9 +1803,10 @@ class ApiManagementServiceUpdateParameters(ApimResource): 'sku': {'key': 'sku', 'type': 'ApiManagementServiceSkuProperties'}, 'identity': {'key': 'identity', 'type': 'ApiManagementServiceIdentity'}, 'etag': {'key': 'etag', 'type': 'str'}, + 'zones': {'key': 'zones', 'type': '[str]'}, } - def __init__(self, *, tags=None, notification_sender_email: str=None, hostname_configurations=None, virtual_network_configuration=None, additional_locations=None, custom_properties=None, certificates=None, enable_client_certificate: bool=False, disable_gateway: bool=False, virtual_network_type="None", api_version_constraint=None, restore: bool=False, publisher_email: str=None, publisher_name: str=None, sku=None, identity=None, **kwargs) -> None: + def __init__(self, *, tags=None, notification_sender_email: str=None, hostname_configurations=None, public_ip_address_id: str=None, virtual_network_configuration=None, additional_locations=None, custom_properties=None, certificates=None, enable_client_certificate: bool=False, disable_gateway: bool=False, virtual_network_type="None", api_version_constraint=None, restore: bool=False, publisher_email: str=None, publisher_name: str=None, sku=None, identity=None, zones=None, **kwargs) -> None: super(ApiManagementServiceUpdateParameters, self).__init__(tags=tags, **kwargs) self.notification_sender_email = notification_sender_email self.provisioning_state = None @@ -1690,6 +1821,7 @@ def __init__(self, *, tags=None, notification_sender_email: str=None, hostname_c self.hostname_configurations = hostname_configurations self.public_ip_addresses = None self.private_ip_addresses = None + self.public_ip_address_id = public_ip_address_id self.virtual_network_configuration = virtual_network_configuration self.additional_locations = additional_locations self.custom_properties = custom_properties @@ -1704,6 +1836,7 @@ def __init__(self, *, tags=None, notification_sender_email: str=None, hostname_c self.sku = sku self.identity = identity self.etag = None + self.zones = zones class ApiManagementSku(Model): @@ -2202,21 +2335,22 @@ class ApiTagResourceContractProperties(ApiEntityBaseContract): available. :type subscription_key_parameter_names: ~azure.mgmt.apimanagement.models.SubscriptionKeyParameterNamesContract - :param api_type: Type of API. Possible values include: 'http', 'soap' + :param api_type: Type of API. Possible values include: 'http', 'soap', + 'websocket' :type api_type: str or ~azure.mgmt.apimanagement.models.ApiType - :param api_revision: Describes the Revision of the Api. If no value is + :param api_revision: Describes the revision of the API. If no value is provided, default revision 1 is created :type api_revision: str - :param api_version: Indicates the Version identifier of the API if the API + :param api_version: Indicates the version identifier of the API if the API is versioned :type api_version: str :param is_current: Indicates if API revision is current api revision. :type is_current: bool :ivar is_online: Indicates if API revision is accessible via the gateway. :vartype is_online: bool - :param api_revision_description: Description of the Api Revision. + :param api_revision_description: Description of the API Revision. :type api_revision_description: str - :param api_version_description: Description of the Api Version. + :param api_version_description: Description of the API Version. :type api_version_description: str :param api_version_set_id: A resource identifier for the related ApiVersionSet. @@ -2224,6 +2358,13 @@ class ApiTagResourceContractProperties(ApiEntityBaseContract): :param subscription_required: Specifies whether an API or Product subscription is required for accessing the API. :type subscription_required: bool + :param terms_of_service_url: A URL to the Terms of Service for the API. + MUST be in the format of a URL. + :type terms_of_service_url: str + :param contact: Contact information for the API. + :type contact: ~azure.mgmt.apimanagement.models.ApiContactInformation + :param license: License information for the API. + :type license: ~azure.mgmt.apimanagement.models.ApiLicenseInformation :param id: API identifier in the form /apis/{apiId}. :type id: str :param name: API name. @@ -2265,15 +2406,18 @@ class ApiTagResourceContractProperties(ApiEntityBaseContract): 'api_version_description': {'key': 'apiVersionDescription', 'type': 'str'}, 'api_version_set_id': {'key': 'apiVersionSetId', 'type': 'str'}, 'subscription_required': {'key': 'subscriptionRequired', 'type': 'bool'}, + 'terms_of_service_url': {'key': 'termsOfServiceUrl', 'type': 'str'}, + 'contact': {'key': 'contact', 'type': 'ApiContactInformation'}, + 'license': {'key': 'license', 'type': 'ApiLicenseInformation'}, 'id': {'key': 'id', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, 'service_url': {'key': 'serviceUrl', 'type': 'str'}, 'path': {'key': 'path', 'type': 'str'}, - 'protocols': {'key': 'protocols', 'type': '[Protocol]'}, + 'protocols': {'key': 'protocols', 'type': '[str]'}, } - def __init__(self, *, description: str=None, authentication_settings=None, subscription_key_parameter_names=None, api_type=None, api_revision: str=None, api_version: str=None, is_current: bool=None, api_revision_description: str=None, api_version_description: str=None, api_version_set_id: str=None, subscription_required: bool=None, id: str=None, name: str=None, service_url: str=None, path: str=None, protocols=None, **kwargs) -> None: - super(ApiTagResourceContractProperties, self).__init__(description=description, authentication_settings=authentication_settings, subscription_key_parameter_names=subscription_key_parameter_names, api_type=api_type, api_revision=api_revision, api_version=api_version, is_current=is_current, api_revision_description=api_revision_description, api_version_description=api_version_description, api_version_set_id=api_version_set_id, subscription_required=subscription_required, **kwargs) + def __init__(self, *, description: str=None, authentication_settings=None, subscription_key_parameter_names=None, api_type=None, api_revision: str=None, api_version: str=None, is_current: bool=None, api_revision_description: str=None, api_version_description: str=None, api_version_set_id: str=None, subscription_required: bool=None, terms_of_service_url: str=None, contact=None, license=None, id: str=None, name: str=None, service_url: str=None, path: str=None, protocols=None, **kwargs) -> None: + super(ApiTagResourceContractProperties, self).__init__(description=description, authentication_settings=authentication_settings, subscription_key_parameter_names=subscription_key_parameter_names, api_type=api_type, api_revision=api_revision, api_version=api_version, is_current=is_current, api_revision_description=api_revision_description, api_version_description=api_version_description, api_version_set_id=api_version_set_id, subscription_required=subscription_required, terms_of_service_url=terms_of_service_url, contact=contact, license=license, **kwargs) self.id = id self.name = name self.service_url = service_url @@ -2298,21 +2442,22 @@ class ApiUpdateContract(Model): available. :type subscription_key_parameter_names: ~azure.mgmt.apimanagement.models.SubscriptionKeyParameterNamesContract - :param api_type: Type of API. Possible values include: 'http', 'soap' + :param api_type: Type of API. Possible values include: 'http', 'soap', + 'websocket' :type api_type: str or ~azure.mgmt.apimanagement.models.ApiType - :param api_revision: Describes the Revision of the Api. If no value is + :param api_revision: Describes the revision of the API. If no value is provided, default revision 1 is created :type api_revision: str - :param api_version: Indicates the Version identifier of the API if the API + :param api_version: Indicates the version identifier of the API if the API is versioned :type api_version: str :param is_current: Indicates if API revision is current api revision. :type is_current: bool :ivar is_online: Indicates if API revision is accessible via the gateway. :vartype is_online: bool - :param api_revision_description: Description of the Api Revision. + :param api_revision_description: Description of the API Revision. :type api_revision_description: str - :param api_version_description: Description of the Api Version. + :param api_version_description: Description of the API Version. :type api_version_description: str :param api_version_set_id: A resource identifier for the related ApiVersionSet. @@ -2320,6 +2465,13 @@ class ApiUpdateContract(Model): :param subscription_required: Specifies whether an API or Product subscription is required for accessing the API. :type subscription_required: bool + :param terms_of_service_url: A URL to the Terms of Service for the API. + MUST be in the format of a URL. + :type terms_of_service_url: str + :param contact: Contact information for the API. + :type contact: ~azure.mgmt.apimanagement.models.ApiContactInformation + :param license: License information for the API. + :type license: ~azure.mgmt.apimanagement.models.ApiLicenseInformation :param display_name: API name. :type display_name: str :param service_url: Absolute URL of the backend service implementing this @@ -2359,13 +2511,16 @@ class ApiUpdateContract(Model): 'api_version_description': {'key': 'properties.apiVersionDescription', 'type': 'str'}, 'api_version_set_id': {'key': 'properties.apiVersionSetId', 'type': 'str'}, 'subscription_required': {'key': 'properties.subscriptionRequired', 'type': 'bool'}, + 'terms_of_service_url': {'key': 'properties.termsOfServiceUrl', 'type': 'str'}, + 'contact': {'key': 'properties.contact', 'type': 'ApiContactInformation'}, + 'license': {'key': 'properties.license', 'type': 'ApiLicenseInformation'}, 'display_name': {'key': 'properties.displayName', 'type': 'str'}, 'service_url': {'key': 'properties.serviceUrl', 'type': 'str'}, 'path': {'key': 'properties.path', 'type': 'str'}, - 'protocols': {'key': 'properties.protocols', 'type': '[Protocol]'}, + 'protocols': {'key': 'properties.protocols', 'type': '[str]'}, } - def __init__(self, *, description: str=None, authentication_settings=None, subscription_key_parameter_names=None, api_type=None, api_revision: str=None, api_version: str=None, is_current: bool=None, api_revision_description: str=None, api_version_description: str=None, api_version_set_id: str=None, subscription_required: bool=None, display_name: str=None, service_url: str=None, path: str=None, protocols=None, **kwargs) -> None: + def __init__(self, *, description: str=None, authentication_settings=None, subscription_key_parameter_names=None, api_type=None, api_revision: str=None, api_version: str=None, is_current: bool=None, api_revision_description: str=None, api_version_description: str=None, api_version_set_id: str=None, subscription_required: bool=None, terms_of_service_url: str=None, contact=None, license=None, display_name: str=None, service_url: str=None, path: str=None, protocols=None, **kwargs) -> None: super(ApiUpdateContract, self).__init__(**kwargs) self.description = description self.authentication_settings = authentication_settings @@ -2379,6 +2534,9 @@ def __init__(self, *, description: str=None, authentication_settings=None, subsc self.api_version_description = api_version_description self.api_version_set_id = api_version_set_id self.subscription_required = subscription_required + self.terms_of_service_url = terms_of_service_url + self.contact = contact + self.license = license self.display_name = display_name self.service_url = service_url self.path = path @@ -2403,7 +2561,7 @@ def __init__(self, *, min_api_version: str=None, **kwargs) -> None: class ApiVersionSetContract(Resource): - """Api Version Set Contract details. + """API Version Set Contract details. Variables are only populated by the server, and will be ignored when sending a request. @@ -2506,7 +2664,7 @@ def __init__(self, *, id: str=None, name: str=None, description: str=None, versi class ApiVersionSetEntityBase(Model): - """Api Version set base parameters. + """API Version set base parameters. :param description: Description of API Version Set. :type description: str @@ -2537,7 +2695,7 @@ def __init__(self, *, description: str=None, version_query_name: str=None, versi class ApiVersionSetUpdateParameters(Model): - """Parameters to update or create an Api Version Set Contract. + """Parameters to update or create an API Version Set Contract. :param description: Description of API Version Set. :type description: str @@ -3031,7 +3189,7 @@ class BackendBaseParameters(Model): :param description: Backend Description. :type description: str :param resource_id: Management Uri of the Resource in External System. - This url can be the Arm Resource Id of Logic Apps, Function Apps or Api + This url can be the Arm Resource Id of Logic Apps, Function Apps or API Apps. :type resource_id: str :param properties: Backend Properties contract @@ -3091,7 +3249,7 @@ class BackendContract(Resource): :param description: Backend Description. :type description: str :param resource_id: Management Uri of the Resource in External System. - This url can be the Arm Resource Id of Logic Apps, Function Apps or Api + This url can be the Arm Resource Id of Logic Apps, Function Apps or API Apps. :type resource_id: str :param properties: Backend Properties contract @@ -3351,7 +3509,7 @@ class BackendUpdateParameters(Model): :param description: Backend Description. :type description: str :param resource_id: Management Uri of the Resource in External System. - This url can be the Arm Resource Id of Logic Apps, Function Apps or Api + This url can be the Arm Resource Id of Logic Apps, Function Apps or API Apps. :type resource_id: str :param properties: Backend Properties contract @@ -3881,7 +4039,7 @@ def __init__(self, *, value: str=None, mode=None, **kwargs) -> None: class DeletedServiceContract(Resource): - """Deleted Api Management Service information. + """Deleted API Management Service information. Variables are only populated by the server, and will be ignored when sending a request. @@ -3902,7 +4060,7 @@ class DeletedServiceContract(Resource): date conforms to the following format: yyyy-MM-ddTHH:mm:ssZ as specified by the ISO 8601 standard. :type deletion_date: datetime - :ivar location: Api Management Service Master Location. + :ivar location: API Management Service Master Location. :vartype location: str """ @@ -4063,7 +4221,7 @@ class EmailTemplateContract(Resource): :param description: Description of the Email Template. :type description: str :ivar is_default: Whether the template is the default template provided by - Api Management or has been edited. + API Management or has been edited. :vartype is_default: bool :param parameters: Email Template Parameter values. :type parameters: @@ -4715,6 +4873,14 @@ class HostnameConfiguration(Model): :type negotiate_client_certificate: bool :param certificate: Certificate information. :type certificate: ~azure.mgmt.apimanagement.models.CertificateInformation + :param certificate_source: Certificate Source. Possible values include: + 'Managed', 'KeyVault', 'Custom', 'BuiltIn' + :type certificate_source: str or + ~azure.mgmt.apimanagement.models.CertificateSource + :param certificate_status: Certificate Status. Possible values include: + 'Completed', 'Failed', 'InProgress' + :type certificate_status: str or + ~azure.mgmt.apimanagement.models.CertificateStatus """ _validation = { @@ -4732,9 +4898,11 @@ class HostnameConfiguration(Model): 'default_ssl_binding': {'key': 'defaultSslBinding', 'type': 'bool'}, 'negotiate_client_certificate': {'key': 'negotiateClientCertificate', 'type': 'bool'}, 'certificate': {'key': 'certificate', 'type': 'CertificateInformation'}, + 'certificate_source': {'key': 'certificateSource', 'type': 'str'}, + 'certificate_status': {'key': 'certificateStatus', 'type': 'str'}, } - def __init__(self, *, type, host_name: str, key_vault_id: str=None, identity_client_id: str=None, encoded_certificate: str=None, certificate_password: str=None, default_ssl_binding: bool=False, negotiate_client_certificate: bool=False, certificate=None, **kwargs) -> None: + def __init__(self, *, type, host_name: str, key_vault_id: str=None, identity_client_id: str=None, encoded_certificate: str=None, certificate_password: str=None, default_ssl_binding: bool=False, negotiate_client_certificate: bool=False, certificate=None, certificate_source=None, certificate_status=None, **kwargs) -> None: super(HostnameConfiguration, self).__init__(**kwargs) self.type = type self.host_name = host_name @@ -4745,6 +4913,8 @@ def __init__(self, *, type, host_name: str, key_vault_id: str=None, identity_cli self.default_ssl_binding = default_ssl_binding self.negotiate_client_certificate = negotiate_client_certificate self.certificate = certificate + self.certificate_source = certificate_source + self.certificate_status = certificate_status class HttpMessageDiagnostic(Model): @@ -5322,7 +5492,7 @@ class KeyVaultContractCreateProperties(Model): """Create keyVault contract details. :param secret_identifier: Key vault secret identifier for fetching secret. - Providing a versioned secret will prevent auto-refresh. This requires Api + Providing a versioned secret will prevent auto-refresh. This requires API Management service to be configured with aka.ms/apimmsi :type secret_identifier: str :param identity_client_id: SystemAssignedIdentity or UserAssignedIdentity @@ -5345,7 +5515,7 @@ class KeyVaultContractProperties(KeyVaultContractCreateProperties): """KeyVault contract details. :param secret_identifier: Key vault secret identifier for fetching secret. - Providing a versioned secret will prevent auto-refresh. This requires Api + Providing a versioned secret will prevent auto-refresh. This requires API Management service to be configured with aka.ms/apimmsi :type secret_identifier: str :param identity_client_id: SystemAssignedIdentity or UserAssignedIdentity @@ -5958,7 +6128,7 @@ def __init__(self, *, name: str=None, display=None, origin: str=None, properties class OperationContract(Resource): - """Api Operation details. + """API Operation details. Variables are only populated by the server, and will be ignored when sending a request. @@ -6060,7 +6230,7 @@ def __init__(self, *, provider: str=None, operation: str=None, resource: str=Non class OperationEntityBaseContract(Model): - """Api Operation Entity Base Contract details. + """API Operation Entity Base Contract details. :param template_parameters: Collection of URL template parameters. :type template_parameters: @@ -6097,14 +6267,20 @@ def __init__(self, *, template_parameters=None, description: str=None, request=N self.policies = policies -class OperationResultContract(Model): - """Operation Result. +class OperationResultContract(Resource): + """Long Running Git Operation Results. Variables are only populated by the server, and will be ignored when sending a request. - :param id: Operation result identifier. - :type id: str + :ivar id: Resource ID. + :vartype id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type for API Management resource. + :vartype type: str + :param operation_result_contract_id: Operation result identifier. + :type operation_result_contract_id: str :param status: Status of an async operation. Possible values include: 'Started', 'InProgress', 'Succeeded', 'Failed' :type status: str or ~azure.mgmt.apimanagement.models.AsyncOperationStatus @@ -6129,22 +6305,28 @@ class OperationResultContract(Model): """ _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, 'action_log': {'readonly': True}, } _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, - 'status': {'key': 'status', 'type': 'AsyncOperationStatus'}, - 'started': {'key': 'started', 'type': 'iso-8601'}, - 'updated': {'key': 'updated', 'type': 'iso-8601'}, - 'result_info': {'key': 'resultInfo', 'type': 'str'}, - 'error': {'key': 'error', 'type': 'ErrorResponseBody'}, - 'action_log': {'key': 'actionLog', 'type': '[OperationResultLogItemContract]'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'operation_result_contract_id': {'key': 'properties.id', 'type': 'str'}, + 'status': {'key': 'properties.status', 'type': 'AsyncOperationStatus'}, + 'started': {'key': 'properties.started', 'type': 'iso-8601'}, + 'updated': {'key': 'properties.updated', 'type': 'iso-8601'}, + 'result_info': {'key': 'properties.resultInfo', 'type': 'str'}, + 'error': {'key': 'properties.error', 'type': 'ErrorResponseBody'}, + 'action_log': {'key': 'properties.actionLog', 'type': '[OperationResultLogItemContract]'}, } - def __init__(self, *, id: str=None, status=None, started=None, updated=None, result_info: str=None, error=None, **kwargs) -> None: + def __init__(self, *, operation_result_contract_id: str=None, status=None, started=None, updated=None, result_info: str=None, error=None, **kwargs) -> None: super(OperationResultContract, self).__init__(**kwargs) - self.id = id + self.operation_result_contract_id = operation_result_contract_id self.status = status self.started = started self.updated = updated @@ -6187,11 +6369,11 @@ class OperationTagResourceContractProperties(Model): :type id: str :ivar name: Operation name. :vartype name: str - :ivar api_name: Api Name. + :ivar api_name: API Name. :vartype api_name: str - :ivar api_revision: Api Revision. + :ivar api_revision: API Revision. :vartype api_revision: str - :ivar api_version: Api Version. + :ivar api_version: API Version. :vartype api_version: str :ivar description: Operation Description. :vartype description: str @@ -6238,7 +6420,7 @@ def __init__(self, *, id: str=None, **kwargs) -> None: class OperationUpdateContract(Model): - """Api Operation Update Contract details. + """API Operation Update Contract details. :param template_parameters: Collection of URL template parameters. :type template_parameters: @@ -6309,6 +6491,10 @@ class ParameterContract(Model): :type required: bool :param values: Parameter values. :type values: list[str] + :param schema_id: Schema identifier. + :type schema_id: str + :param type_name: Type name defined by the schema. + :type type_name: str """ _validation = { @@ -6323,9 +6509,11 @@ class ParameterContract(Model): 'default_value': {'key': 'defaultValue', 'type': 'str'}, 'required': {'key': 'required', 'type': 'bool'}, 'values': {'key': 'values', 'type': '[str]'}, + 'schema_id': {'key': 'schemaId', 'type': 'str'}, + 'type_name': {'key': 'typeName', 'type': 'str'}, } - def __init__(self, *, name: str, type: str, description: str=None, default_value: str=None, required: bool=None, values=None, **kwargs) -> None: + def __init__(self, *, name: str, type: str, description: str=None, default_value: str=None, required: bool=None, values=None, schema_id: str=None, type_name: str=None, **kwargs) -> None: super(ParameterContract, self).__init__(**kwargs) self.name = name self.description = description @@ -6333,6 +6521,8 @@ def __init__(self, *, name: str, type: str, description: str=None, default_value self.default_value = default_value self.required = required self.values = values + self.schema_id = schema_id + self.type_name = type_name class PipelineDiagnosticSettings(Model): @@ -6532,7 +6722,7 @@ def __init__(self, *, url: str=None, validation_key: str=None, subscriptions=Non class PortalRevisionContract(Resource): - """Portal revisions contract details. + """Portal Revision's contract details. Variables are only populated by the server, and will be ignored when sending a request. @@ -6547,13 +6737,13 @@ class PortalRevisionContract(Resource): :type description: str :ivar status_details: Portal revision publishing status details. :vartype status_details: str - :ivar status: Portal revision publishing status. Possible values include: + :ivar status: Status of the portal's revision. Possible values include: 'pending', 'publishing', 'completed', 'failed' :vartype status: str or ~azure.mgmt.apimanagement.models.PortalRevisionStatus - :param is_current: Indicates if the Portal Revision is public. + :param is_current: Indicates if the portal's revision is public. :type is_current: bool - :ivar created_date_time: Portal revision creation date and time. + :ivar created_date_time: Portal's revision creation date and time. :vartype created_date_time: datetime :ivar updated_date_time: Last updated date and time. :vartype updated_date_time: datetime @@ -7902,12 +8092,8 @@ class SchemaContract(Resource): `OpenApi` Schema use `application/vnd.oai.openapi.components+json`
- `WADL Schema` use `application/vnd.ms-azure-apim.wadl.grammars+xml`. :type content_type: str - :param value: Json escaped string defining the document representing the - Schema. Used for schemas other than Swagger/OpenAPI. - :type value: str - :param definitions: Types definitions. Used for Swagger/OpenAPI schemas - only, null otherwise. - :type definitions: object + :param document: Create or update Properties of the Schema Document. + :type document: object """ _validation = { @@ -7922,15 +8108,13 @@ class SchemaContract(Resource): 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'content_type': {'key': 'properties.contentType', 'type': 'str'}, - 'value': {'key': 'properties.document.value', 'type': 'str'}, - 'definitions': {'key': 'properties.document.definitions', 'type': 'object'}, + 'document': {'key': 'properties\\.document', 'type': 'object'}, } - def __init__(self, *, content_type: str, value: str=None, definitions=None, **kwargs) -> None: + def __init__(self, *, content_type: str, document=None, **kwargs) -> None: super(SchemaContract, self).__init__(**kwargs) self.content_type = content_type - self.value = value - self.definitions = definitions + self.document = document class SubscriptionContract(Resource): @@ -8396,7 +8580,7 @@ class TagResourceContract(Model): :param tag: Required. Tag associated with the resource. :type tag: ~azure.mgmt.apimanagement.models.TagTagResourceContractProperties - :param api: Api associated with the tag. + :param api: API associated with the tag. :type api: ~azure.mgmt.apimanagement.models.ApiTagResourceContractProperties :param operation: Operation associated with the tag. @@ -8451,7 +8635,7 @@ def __init__(self, *, id: str=None, name: str=None, **kwargs) -> None: class TenantConfigurationSyncStateContract(Model): - """Tenant Configuration Synchronization State. + """Result of Tenant Configuration Sync State. :param branch: The name of Git branch. :type branch: str @@ -8474,19 +8658,23 @@ class TenantConfigurationSyncStateContract(Model): change. The date conforms to the following format: `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard. :type configuration_change_date: datetime + :param last_operation_id: Most recent tenant configuration operation + identifier + :type last_operation_id: str """ _attribute_map = { - 'branch': {'key': 'branch', 'type': 'str'}, - 'commit_id': {'key': 'commitId', 'type': 'str'}, - 'is_export': {'key': 'isExport', 'type': 'bool'}, - 'is_synced': {'key': 'isSynced', 'type': 'bool'}, - 'is_git_enabled': {'key': 'isGitEnabled', 'type': 'bool'}, - 'sync_date': {'key': 'syncDate', 'type': 'iso-8601'}, - 'configuration_change_date': {'key': 'configurationChangeDate', 'type': 'iso-8601'}, + 'branch': {'key': 'properties.branch', 'type': 'str'}, + 'commit_id': {'key': 'properties.commitId', 'type': 'str'}, + 'is_export': {'key': 'properties.isExport', 'type': 'bool'}, + 'is_synced': {'key': 'properties.isSynced', 'type': 'bool'}, + 'is_git_enabled': {'key': 'properties.isGitEnabled', 'type': 'bool'}, + 'sync_date': {'key': 'properties.syncDate', 'type': 'iso-8601'}, + 'configuration_change_date': {'key': 'properties.configurationChangeDate', 'type': 'iso-8601'}, + 'last_operation_id': {'key': 'properties.lastOperationId', 'type': 'str'}, } - def __init__(self, *, branch: str=None, commit_id: str=None, is_export: bool=None, is_synced: bool=None, is_git_enabled: bool=None, sync_date=None, configuration_change_date=None, **kwargs) -> None: + def __init__(self, *, branch: str=None, commit_id: str=None, is_export: bool=None, is_synced: bool=None, is_git_enabled: bool=None, sync_date=None, configuration_change_date=None, last_operation_id: str=None, **kwargs) -> None: super(TenantConfigurationSyncStateContract, self).__init__(**kwargs) self.branch = branch self.commit_id = commit_id @@ -8495,6 +8683,7 @@ def __init__(self, *, branch: str=None, commit_id: str=None, is_export: bool=Non self.is_git_enabled = is_git_enabled self.sync_date = sync_date self.configuration_change_date = configuration_change_date + self.last_operation_id = last_operation_id class TenantSettingsContract(Resource): diff --git a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_api_diagnostic_operations.py b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_api_diagnostic_operations.py index 484c7c518839..208475a04b02 100644 --- a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_api_diagnostic_operations.py +++ b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_api_diagnostic_operations.py @@ -24,7 +24,7 @@ class ApiDiagnosticOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Version of the API to be used with the client request. Constant value: "2020-12-01". + :ivar api_version: Version of the API to be used with the client request. Constant value: "2021-01-01-preview". """ models = models @@ -34,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-01-01-preview" self.config = config diff --git a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_api_export_operations.py b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_api_export_operations.py index 6073e442fd4b..4317ac56a99f 100644 --- a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_api_export_operations.py +++ b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_api_export_operations.py @@ -25,7 +25,7 @@ class ApiExportOperations(object): :param serializer: An object model serializer. :param deserializer: An object model deserializer. :ivar export: Query parameter required to export the API details. Constant value: "true". - :ivar api_version: Version of the API to be used with the client request. Constant value: "2020-12-01". + :ivar api_version: Version of the API to be used with the client request. Constant value: "2021-01-01-preview". """ models = models @@ -36,7 +36,7 @@ def __init__(self, client, config, serializer, deserializer): self._serialize = serializer self._deserialize = deserializer self.export = "true" - self.api_version = "2020-12-01" + self.api_version = "2021-01-01-preview" self.config = config diff --git a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_api_issue_attachment_operations.py b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_api_issue_attachment_operations.py index 2a17934491a6..46658febf968 100644 --- a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_api_issue_attachment_operations.py +++ b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_api_issue_attachment_operations.py @@ -24,7 +24,7 @@ class ApiIssueAttachmentOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Version of the API to be used with the client request. Constant value: "2020-12-01". + :ivar api_version: Version of the API to be used with the client request. Constant value: "2021-01-01-preview". """ models = models @@ -34,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-01-01-preview" self.config = config diff --git a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_api_issue_comment_operations.py b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_api_issue_comment_operations.py index 17fef37b0ffb..e1661fb2e7c0 100644 --- a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_api_issue_comment_operations.py +++ b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_api_issue_comment_operations.py @@ -24,7 +24,7 @@ class ApiIssueCommentOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Version of the API to be used with the client request. Constant value: "2020-12-01". + :ivar api_version: Version of the API to be used with the client request. Constant value: "2021-01-01-preview". """ models = models @@ -34,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-01-01-preview" self.config = config diff --git a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_api_issue_operations.py b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_api_issue_operations.py index fb31a2533803..ae66b7e6c45e 100644 --- a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_api_issue_operations.py +++ b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_api_issue_operations.py @@ -24,7 +24,7 @@ class ApiIssueOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Version of the API to be used with the client request. Constant value: "2020-12-01". + :ivar api_version: Version of the API to be used with the client request. Constant value: "2021-01-01-preview". """ models = models @@ -34,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-01-01-preview" self.config = config diff --git a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_api_management_operations.py b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_api_management_operations.py index 654a7af17084..0d1a5eb1a30f 100644 --- a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_api_management_operations.py +++ b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_api_management_operations.py @@ -24,7 +24,7 @@ class ApiManagementOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Version of the API to be used with the client request. Constant value: "2020-12-01". + :ivar api_version: Version of the API to be used with the client request. Constant value: "2021-01-01-preview". """ models = models @@ -34,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-01-01-preview" self.config = config diff --git a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_api_management_service_operations.py b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_api_management_service_operations.py index 1394054653b8..164d64c5608e 100644 --- a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_api_management_service_operations.py +++ b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_api_management_service_operations.py @@ -26,7 +26,7 @@ class ApiManagementServiceOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Version of the API to be used with the client request. Constant value: "2020-12-01". + :ivar api_version: Version of the API to be used with the client request. Constant value: "2021-01-01-preview". """ models = models @@ -36,7 +36,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-01-01-preview" self.config = config diff --git a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_api_management_service_skus_operations.py b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_api_management_service_skus_operations.py index e852e82ada06..8d67e6387f22 100644 --- a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_api_management_service_skus_operations.py +++ b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_api_management_service_skus_operations.py @@ -24,7 +24,7 @@ class ApiManagementServiceSkusOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Version of the API to be used with the client request. Constant value: "2020-12-01". + :ivar api_version: Version of the API to be used with the client request. Constant value: "2021-01-01-preview". """ models = models @@ -34,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-01-01-preview" self.config = config diff --git a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_api_management_skus_operations.py b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_api_management_skus_operations.py index 84dac42746cd..1aafbc4e0292 100644 --- a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_api_management_skus_operations.py +++ b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_api_management_skus_operations.py @@ -24,7 +24,7 @@ class ApiManagementSkusOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Version of the API to be used with the client request. Constant value: "2020-12-01". + :ivar api_version: Version of the API to be used with the client request. Constant value: "2021-01-01-preview". """ models = models @@ -34,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-01-01-preview" self.config = config diff --git a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_api_operation_operations.py b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_api_operation_operations.py index 32ae01a0f9dd..ab4218d9c96e 100644 --- a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_api_operation_operations.py +++ b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_api_operation_operations.py @@ -24,7 +24,7 @@ class ApiOperationOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Version of the API to be used with the client request. Constant value: "2020-12-01". + :ivar api_version: Version of the API to be used with the client request. Constant value: "2021-01-01-preview". """ models = models @@ -34,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-01-01-preview" self.config = config diff --git a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_api_operation_policy_operations.py b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_api_operation_policy_operations.py index 689cf454e500..24df863ae105 100644 --- a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_api_operation_policy_operations.py +++ b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_api_operation_policy_operations.py @@ -24,7 +24,7 @@ class ApiOperationPolicyOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Version of the API to be used with the client request. Constant value: "2020-12-01". + :ivar api_version: Version of the API to be used with the client request. Constant value: "2021-01-01-preview". :ivar policy_id: The identifier of the Policy. Constant value: "policy". """ @@ -35,7 +35,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-01-01-preview" self.policy_id = "policy" self.config = config diff --git a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_api_operations.py b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_api_operations.py index 3e696a2d6b04..1db3a2994ff3 100644 --- a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_api_operations.py +++ b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_api_operations.py @@ -26,7 +26,7 @@ class ApiOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Version of the API to be used with the client request. Constant value: "2020-12-01". + :ivar api_version: Version of the API to be used with the client request. Constant value: "2021-01-01-preview". """ models = models @@ -36,7 +36,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-01-01-preview" self.config = config diff --git a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_api_policy_operations.py b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_api_policy_operations.py index 063060d41c2f..9e1b1549cf03 100644 --- a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_api_policy_operations.py +++ b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_api_policy_operations.py @@ -24,7 +24,7 @@ class ApiPolicyOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Version of the API to be used with the client request. Constant value: "2020-12-01". + :ivar api_version: Version of the API to be used with the client request. Constant value: "2021-01-01-preview". :ivar policy_id: The identifier of the Policy. Constant value: "policy". """ @@ -35,7 +35,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-01-01-preview" self.policy_id = "policy" self.config = config diff --git a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_api_product_operations.py b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_api_product_operations.py index 30058b81e8b5..86df216315b0 100644 --- a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_api_product_operations.py +++ b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_api_product_operations.py @@ -24,7 +24,7 @@ class ApiProductOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Version of the API to be used with the client request. Constant value: "2020-12-01". + :ivar api_version: Version of the API to be used with the client request. Constant value: "2021-01-01-preview". """ models = models @@ -34,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-01-01-preview" self.config = config diff --git a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_api_release_operations.py b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_api_release_operations.py index 9544131f140d..b90c8be05785 100644 --- a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_api_release_operations.py +++ b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_api_release_operations.py @@ -24,7 +24,7 @@ class ApiReleaseOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Version of the API to be used with the client request. Constant value: "2020-12-01". + :ivar api_version: Version of the API to be used with the client request. Constant value: "2021-01-01-preview". """ models = models @@ -34,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-01-01-preview" self.config = config diff --git a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_api_revision_operations.py b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_api_revision_operations.py index 09dfba4207e0..a34c127fedfc 100644 --- a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_api_revision_operations.py +++ b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_api_revision_operations.py @@ -24,7 +24,7 @@ class ApiRevisionOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Version of the API to be used with the client request. Constant value: "2020-12-01". + :ivar api_version: Version of the API to be used with the client request. Constant value: "2021-01-01-preview". """ models = models @@ -34,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-01-01-preview" self.config = config diff --git a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_api_schema_operations.py b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_api_schema_operations.py index 01dd0363cea5..7c52351226ed 100644 --- a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_api_schema_operations.py +++ b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_api_schema_operations.py @@ -26,7 +26,7 @@ class ApiSchemaOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Version of the API to be used with the client request. Constant value: "2020-12-01". + :ivar api_version: Version of the API to be used with the client request. Constant value: "2021-01-01-preview". """ models = models @@ -36,7 +36,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-01-01-preview" self.config = config @@ -273,7 +273,9 @@ def get( def _create_or_update_initial( - self, resource_group_name, service_name, api_id, schema_id, parameters, if_match=None, custom_headers=None, raw=False, **operation_config): + self, resource_group_name, service_name, api_id, schema_id, content_type, if_match=None, document=None, custom_headers=None, raw=False, **operation_config): + parameters = models.SchemaContract(content_type=content_type, document=document) + # Construct URL url = self.create_or_update.metadata['url'] path_format_arguments = { @@ -334,7 +336,7 @@ def _create_or_update_initial( return deserialized def create_or_update( - self, resource_group_name, service_name, api_id, schema_id, parameters, if_match=None, custom_headers=None, raw=False, polling=True, **operation_config): + self, resource_group_name, service_name, api_id, schema_id, content_type, if_match=None, document=None, custom_headers=None, raw=False, polling=True, **operation_config): """Creates or updates schema configuration for the API. :param resource_group_name: The name of the resource group. @@ -348,11 +350,21 @@ def create_or_update( :param schema_id: Schema identifier within an API. Must be unique in the current API Management service instance. :type schema_id: str - :param parameters: The schema contents to apply. - :type parameters: ~azure.mgmt.apimanagement.models.SchemaContract + :param content_type: Must be a valid a media type used in a + Content-Type header as defined in the RFC 2616. Media type of the + schema document (e.g. application/json, application/xml).
- + `Swagger` Schema use + `application/vnd.ms-azure-apim.swagger.definitions+json`
- + `WSDL` Schema use `application/vnd.ms-azure-apim.xsd+xml`
- + `OpenApi` Schema use `application/vnd.oai.openapi.components+json` +
- `WADL Schema` use + `application/vnd.ms-azure-apim.wadl.grammars+xml`. + :type content_type: str :param if_match: ETag of the Entity. Not required when creating an entity, but required when updating an entity. :type if_match: str + :param document: Create or update Properties of the Schema Document. + :type document: object :param dict custom_headers: headers that will be added to the request :param bool raw: The poller return type is ClientRawResponse, the direct response alongside the deserialized response @@ -372,8 +384,9 @@ def create_or_update( service_name=service_name, api_id=api_id, schema_id=schema_id, - parameters=parameters, + content_type=content_type, if_match=if_match, + document=document, custom_headers=custom_headers, raw=True, **operation_config diff --git a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_api_tag_description_operations.py b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_api_tag_description_operations.py index ccd8614fe162..b6a1915b2b20 100644 --- a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_api_tag_description_operations.py +++ b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_api_tag_description_operations.py @@ -24,7 +24,7 @@ class ApiTagDescriptionOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Version of the API to be used with the client request. Constant value: "2020-12-01". + :ivar api_version: Version of the API to be used with the client request. Constant value: "2021-01-01-preview". """ models = models @@ -34,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-01-01-preview" self.config = config diff --git a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_api_version_set_operations.py b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_api_version_set_operations.py index 27b9717960b1..5d8287c53ef6 100644 --- a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_api_version_set_operations.py +++ b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_api_version_set_operations.py @@ -24,7 +24,7 @@ class ApiVersionSetOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Version of the API to be used with the client request. Constant value: "2020-12-01". + :ivar api_version: Version of the API to be used with the client request. Constant value: "2021-01-01-preview". """ models = models @@ -34,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-01-01-preview" self.config = config diff --git a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_authorization_server_operations.py b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_authorization_server_operations.py index f72171f1f572..2a69673dabac 100644 --- a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_authorization_server_operations.py +++ b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_authorization_server_operations.py @@ -24,7 +24,7 @@ class AuthorizationServerOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Version of the API to be used with the client request. Constant value: "2020-12-01". + :ivar api_version: Version of the API to be used with the client request. Constant value: "2021-01-01-preview". """ models = models @@ -34,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-01-01-preview" self.config = config diff --git a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_backend_operations.py b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_backend_operations.py index a56f05d2032b..9be09d913a31 100644 --- a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_backend_operations.py +++ b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_backend_operations.py @@ -24,7 +24,7 @@ class BackendOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Version of the API to be used with the client request. Constant value: "2020-12-01". + :ivar api_version: Version of the API to be used with the client request. Constant value: "2021-01-01-preview". """ models = models @@ -34,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-01-01-preview" self.config = config diff --git a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_cache_operations.py b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_cache_operations.py index 312e37dcd9c2..e81675782d16 100644 --- a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_cache_operations.py +++ b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_cache_operations.py @@ -24,7 +24,7 @@ class CacheOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Version of the API to be used with the client request. Constant value: "2020-12-01". + :ivar api_version: Version of the API to be used with the client request. Constant value: "2021-01-01-preview". """ models = models @@ -34,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-01-01-preview" self.config = config diff --git a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_certificate_operations.py b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_certificate_operations.py index 181addc789b7..a500de2c020b 100644 --- a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_certificate_operations.py +++ b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_certificate_operations.py @@ -24,7 +24,7 @@ class CertificateOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Version of the API to be used with the client request. Constant value: "2020-12-01". + :ivar api_version: Version of the API to be used with the client request. Constant value: "2021-01-01-preview". """ models = models @@ -34,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-01-01-preview" self.config = config diff --git a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_content_item_operations.py b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_content_item_operations.py index 3602938c5479..1d49dff033db 100644 --- a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_content_item_operations.py +++ b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_content_item_operations.py @@ -24,7 +24,7 @@ class ContentItemOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Version of the API to be used with the client request. Constant value: "2020-12-01". + :ivar api_version: Version of the API to be used with the client request. Constant value: "2021-01-01-preview". """ models = models @@ -34,13 +34,14 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-01-01-preview" self.config = config def list_by_service( self, resource_group_name, service_name, content_type_id, custom_headers=None, raw=False, **operation_config): - """Returns list of content items. + """Lists developer portal's content items specified by the provided + content type. :param resource_group_name: The name of the resource group. :type resource_group_name: str @@ -114,7 +115,8 @@ def internal_paging(next_link=None): def get_entity_tag( self, resource_group_name, service_name, content_type_id, content_item_id, custom_headers=None, raw=False, **operation_config): - """Returns content item metadata. + """Returns the entity state (ETag) version of the developer portal's + content item specified by its identifier. :param resource_group_name: The name of the resource group. :type resource_group_name: str @@ -175,7 +177,8 @@ def get_entity_tag( def get( self, resource_group_name, service_name, content_type_id, content_item_id, custom_headers=None, raw=False, **operation_config): - """Returns content item details. + """Returns the developer portal's content item specified by its + identifier. :param resource_group_name: The name of the resource group. :type resource_group_name: str @@ -246,7 +249,8 @@ def get( def create_or_update( self, resource_group_name, service_name, content_type_id, content_item_id, if_match=None, custom_headers=None, raw=False, **operation_config): - """Creates new content item. + """Creates a new developer portal's content item specified by the provided + content type. :param resource_group_name: The name of the resource group. :type resource_group_name: str @@ -327,7 +331,7 @@ def create_or_update( def delete( self, resource_group_name, service_name, content_type_id, content_item_id, if_match, custom_headers=None, raw=False, **operation_config): - """Removes specified content item. + """Removes the specified developer portal's content item. :param resource_group_name: The name of the resource group. :type resource_group_name: str diff --git a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_content_type_operations.py b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_content_type_operations.py index ded5b9d7f41e..bf18d722fded 100644 --- a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_content_type_operations.py +++ b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_content_type_operations.py @@ -24,7 +24,7 @@ class ContentTypeOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Version of the API to be used with the client request. Constant value: "2020-12-01". + :ivar api_version: Version of the API to be used with the client request. Constant value: "2021-01-01-preview". """ models = models @@ -34,13 +34,14 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-01-01-preview" self.config = config def list_by_service( self, resource_group_name, service_name, custom_headers=None, raw=False, **operation_config): - """Returns list of content types. + """Lists the developer portal's content types. Content types describe + content items' properties, validation rules, and constraints. :param resource_group_name: The name of the resource group. :type resource_group_name: str @@ -111,7 +112,8 @@ def internal_paging(next_link=None): def get( self, resource_group_name, service_name, content_type_id, custom_headers=None, raw=False, **operation_config): - """Gets API Management content type details. + """Gets the details of the developer portal's content type. Content types + describe content items' properties, validation rules, and constraints. :param resource_group_name: The name of the resource group. :type resource_group_name: str @@ -179,7 +181,10 @@ def get( def create_or_update( self, resource_group_name, service_name, content_type_id, if_match=None, custom_headers=None, raw=False, **operation_config): - """Creates or updates an Content Type. + """Creates or updates the developer portal's content type. Content types + describe content items' properties, validation rules, and constraints. + Custom content types' identifiers need to start with the `c-` prefix. + Built-in content types can't be modified. :param resource_group_name: The name of the resource group. :type resource_group_name: str @@ -257,7 +262,10 @@ def create_or_update( def delete( self, resource_group_name, service_name, content_type_id, if_match, custom_headers=None, raw=False, **operation_config): - """Removes specified content type. + """Removes the specified developer portal's content type. Content types + describe content items' properties, validation rules, and constraints. + Built-in content types (with identifiers starting with the `c-` prefix) + can't be removed. :param resource_group_name: The name of the resource group. :type resource_group_name: str diff --git a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_delegation_settings_operations.py b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_delegation_settings_operations.py index e8df6d040bdf..571cf2339a2d 100644 --- a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_delegation_settings_operations.py +++ b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_delegation_settings_operations.py @@ -24,7 +24,7 @@ class DelegationSettingsOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Version of the API to be used with the client request. Constant value: "2020-12-01". + :ivar api_version: Version of the API to be used with the client request. Constant value: "2021-01-01-preview". """ models = models @@ -34,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-01-01-preview" self.config = config diff --git a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_deleted_services_operations.py b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_deleted_services_operations.py index 1cf2643f1349..5435141d7dbb 100644 --- a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_deleted_services_operations.py +++ b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_deleted_services_operations.py @@ -26,7 +26,7 @@ class DeletedServicesOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Version of the API to be used with the client request. Constant value: "2020-12-01". + :ivar api_version: Version of the API to be used with the client request. Constant value: "2021-01-01-preview". """ models = models @@ -36,7 +36,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-01-01-preview" self.config = config diff --git a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_diagnostic_operations.py b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_diagnostic_operations.py index 715f2c365f42..757d3219a12c 100644 --- a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_diagnostic_operations.py +++ b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_diagnostic_operations.py @@ -24,7 +24,7 @@ class DiagnosticOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Version of the API to be used with the client request. Constant value: "2020-12-01". + :ivar api_version: Version of the API to be used with the client request. Constant value: "2021-01-01-preview". """ models = models @@ -34,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-01-01-preview" self.config = config diff --git a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_email_template_operations.py b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_email_template_operations.py index eb3526b561b5..181ee1121d02 100644 --- a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_email_template_operations.py +++ b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_email_template_operations.py @@ -24,7 +24,7 @@ class EmailTemplateOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Version of the API to be used with the client request. Constant value: "2020-12-01". + :ivar api_version: Version of the API to be used with the client request. Constant value: "2021-01-01-preview". """ models = models @@ -34,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-01-01-preview" self.config = config diff --git a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_gateway_api_operations.py b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_gateway_api_operations.py index f20ac07f0405..69e63bc011db 100644 --- a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_gateway_api_operations.py +++ b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_gateway_api_operations.py @@ -24,7 +24,7 @@ class GatewayApiOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Version of the API to be used with the client request. Constant value: "2020-12-01". + :ivar api_version: Version of the API to be used with the client request. Constant value: "2021-01-01-preview". """ models = models @@ -34,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-01-01-preview" self.config = config diff --git a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_gateway_certificate_authority_operations.py b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_gateway_certificate_authority_operations.py index 9a18fe606d43..7faae1d9b124 100644 --- a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_gateway_certificate_authority_operations.py +++ b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_gateway_certificate_authority_operations.py @@ -24,7 +24,7 @@ class GatewayCertificateAuthorityOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Version of the API to be used with the client request. Constant value: "2020-12-01". + :ivar api_version: Version of the API to be used with the client request. Constant value: "2021-01-01-preview". """ models = models @@ -34,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-01-01-preview" self.config = config diff --git a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_gateway_hostname_configuration_operations.py b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_gateway_hostname_configuration_operations.py index 5a9b8075e3c4..ec64b532fbec 100644 --- a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_gateway_hostname_configuration_operations.py +++ b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_gateway_hostname_configuration_operations.py @@ -24,7 +24,7 @@ class GatewayHostnameConfigurationOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Version of the API to be used with the client request. Constant value: "2020-12-01". + :ivar api_version: Version of the API to be used with the client request. Constant value: "2021-01-01-preview". """ models = models @@ -34,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-01-01-preview" self.config = config diff --git a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_gateway_operations.py b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_gateway_operations.py index b2788c8535cf..ff783d101731 100644 --- a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_gateway_operations.py +++ b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_gateway_operations.py @@ -24,7 +24,7 @@ class GatewayOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Version of the API to be used with the client request. Constant value: "2020-12-01". + :ivar api_version: Version of the API to be used with the client request. Constant value: "2021-01-01-preview". """ models = models @@ -34,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-01-01-preview" self.config = config diff --git a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_group_operations.py b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_group_operations.py index db5f9e397b98..44c4bba5105c 100644 --- a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_group_operations.py +++ b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_group_operations.py @@ -24,7 +24,7 @@ class GroupOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Version of the API to be used with the client request. Constant value: "2020-12-01". + :ivar api_version: Version of the API to be used with the client request. Constant value: "2021-01-01-preview". """ models = models @@ -34,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-01-01-preview" self.config = config diff --git a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_group_user_operations.py b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_group_user_operations.py index fc20c8176fed..d3f41918a600 100644 --- a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_group_user_operations.py +++ b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_group_user_operations.py @@ -24,7 +24,7 @@ class GroupUserOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Version of the API to be used with the client request. Constant value: "2020-12-01". + :ivar api_version: Version of the API to be used with the client request. Constant value: "2021-01-01-preview". """ models = models @@ -34,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-01-01-preview" self.config = config diff --git a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_identity_provider_operations.py b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_identity_provider_operations.py index d42f1d5ddbb7..4b8143f28f22 100644 --- a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_identity_provider_operations.py +++ b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_identity_provider_operations.py @@ -24,7 +24,7 @@ class IdentityProviderOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Version of the API to be used with the client request. Constant value: "2020-12-01". + :ivar api_version: Version of the API to be used with the client request. Constant value: "2021-01-01-preview". """ models = models @@ -34,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-01-01-preview" self.config = config diff --git a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_issue_operations.py b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_issue_operations.py index 8167321e7a72..8ff0bdfb2ea3 100644 --- a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_issue_operations.py +++ b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_issue_operations.py @@ -24,7 +24,7 @@ class IssueOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Version of the API to be used with the client request. Constant value: "2020-12-01". + :ivar api_version: Version of the API to be used with the client request. Constant value: "2021-01-01-preview". """ models = models @@ -34,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-01-01-preview" self.config = config diff --git a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_logger_operations.py b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_logger_operations.py index 52e4a0c8be45..a0fe6a083a1d 100644 --- a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_logger_operations.py +++ b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_logger_operations.py @@ -24,7 +24,7 @@ class LoggerOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Version of the API to be used with the client request. Constant value: "2020-12-01". + :ivar api_version: Version of the API to be used with the client request. Constant value: "2021-01-01-preview". """ models = models @@ -34,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-01-01-preview" self.config = config diff --git a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_named_value_operations.py b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_named_value_operations.py index ba61bdd00f70..1ecde4e4b8d5 100644 --- a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_named_value_operations.py +++ b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_named_value_operations.py @@ -26,7 +26,7 @@ class NamedValueOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Version of the API to be used with the client request. Constant value: "2020-12-01". + :ivar api_version: Version of the API to be used with the client request. Constant value: "2021-01-01-preview". """ models = models @@ -36,7 +36,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-01-01-preview" self.config = config diff --git a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_network_status_operations.py b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_network_status_operations.py index acafd47d2b4c..ccd8cd253cea 100644 --- a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_network_status_operations.py +++ b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_network_status_operations.py @@ -24,7 +24,7 @@ class NetworkStatusOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Version of the API to be used with the client request. Constant value: "2020-12-01". + :ivar api_version: Version of the API to be used with the client request. Constant value: "2021-01-01-preview". """ models = models @@ -34,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-01-01-preview" self.config = config diff --git a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_notification_operations.py b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_notification_operations.py index 8bab4b3e8e91..3590a8ff20e4 100644 --- a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_notification_operations.py +++ b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_notification_operations.py @@ -24,7 +24,7 @@ class NotificationOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Version of the API to be used with the client request. Constant value: "2020-12-01". + :ivar api_version: Version of the API to be used with the client request. Constant value: "2021-01-01-preview". """ models = models @@ -34,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-01-01-preview" self.config = config diff --git a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_notification_recipient_email_operations.py b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_notification_recipient_email_operations.py index f6a28356a507..30c93602425a 100644 --- a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_notification_recipient_email_operations.py +++ b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_notification_recipient_email_operations.py @@ -24,7 +24,7 @@ class NotificationRecipientEmailOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Version of the API to be used with the client request. Constant value: "2020-12-01". + :ivar api_version: Version of the API to be used with the client request. Constant value: "2021-01-01-preview". """ models = models @@ -34,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-01-01-preview" self.config = config diff --git a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_notification_recipient_user_operations.py b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_notification_recipient_user_operations.py index 9246d8139a20..83abe8490001 100644 --- a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_notification_recipient_user_operations.py +++ b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_notification_recipient_user_operations.py @@ -24,7 +24,7 @@ class NotificationRecipientUserOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Version of the API to be used with the client request. Constant value: "2020-12-01". + :ivar api_version: Version of the API to be used with the client request. Constant value: "2021-01-01-preview". """ models = models @@ -34,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-01-01-preview" self.config = config diff --git a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_open_id_connect_provider_operations.py b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_open_id_connect_provider_operations.py index 39b332f40e10..083b712ad896 100644 --- a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_open_id_connect_provider_operations.py +++ b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_open_id_connect_provider_operations.py @@ -24,7 +24,7 @@ class OpenIdConnectProviderOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Version of the API to be used with the client request. Constant value: "2020-12-01". + :ivar api_version: Version of the API to be used with the client request. Constant value: "2021-01-01-preview". """ models = models @@ -34,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-01-01-preview" self.config = config diff --git a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_operation_operations.py b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_operation_operations.py index 55ae73491e50..649fc96b0cb5 100644 --- a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_operation_operations.py +++ b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_operation_operations.py @@ -24,7 +24,7 @@ class OperationOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Version of the API to be used with the client request. Constant value: "2020-12-01". + :ivar api_version: Version of the API to be used with the client request. Constant value: "2021-01-01-preview". """ models = models @@ -34,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-01-01-preview" self.config = config diff --git a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_policy_description_operations.py b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_policy_description_operations.py index be328f1fd382..86d942c84063 100644 --- a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_policy_description_operations.py +++ b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_policy_description_operations.py @@ -24,7 +24,7 @@ class PolicyDescriptionOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Version of the API to be used with the client request. Constant value: "2020-12-01". + :ivar api_version: Version of the API to be used with the client request. Constant value: "2021-01-01-preview". """ models = models @@ -34,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-01-01-preview" self.config = config diff --git a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_policy_operations.py b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_policy_operations.py index 7ee53832f1b2..7589ef4765e6 100644 --- a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_policy_operations.py +++ b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_policy_operations.py @@ -24,7 +24,7 @@ class PolicyOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Version of the API to be used with the client request. Constant value: "2020-12-01". + :ivar api_version: Version of the API to be used with the client request. Constant value: "2021-01-01-preview". :ivar policy_id: The identifier of the Policy. Constant value: "policy". """ @@ -35,7 +35,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-01-01-preview" self.policy_id = "policy" self.config = config diff --git a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_portal_revision_operations.py b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_portal_revision_operations.py index 624b3d82ed02..87d3faa1f51b 100644 --- a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_portal_revision_operations.py +++ b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_portal_revision_operations.py @@ -26,7 +26,7 @@ class PortalRevisionOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Version of the API to be used with the client request. Constant value: "2020-12-01". + :ivar api_version: Version of the API to be used with the client request. Constant value: "2021-01-01-preview". """ models = models @@ -36,13 +36,13 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-01-01-preview" self.config = config def list_by_service( self, resource_group_name, service_name, filter=None, top=None, skip=None, custom_headers=None, raw=False, **operation_config): - """Lists a collection of developer portal revision entities. + """Lists developer portal's revisions. :param resource_group_name: The name of the resource group. :type resource_group_name: str @@ -132,7 +132,7 @@ def internal_paging(next_link=None): def get_entity_tag( self, resource_group_name, service_name, portal_revision_id, custom_headers=None, raw=False, **operation_config): - """Gets developer portal revision specified by its identifier. + """Gets the developer portal revision specified by its identifier. :param resource_group_name: The name of the resource group. :type resource_group_name: str @@ -191,7 +191,7 @@ def get_entity_tag( def get( self, resource_group_name, service_name, portal_revision_id, custom_headers=None, raw=False, **operation_config): - """Gets developer portal revision specified by its identifier. + """Gets the developer portal's revision specified by its identifier. :param resource_group_name: The name of the resource group. :type resource_group_name: str @@ -316,7 +316,9 @@ def _create_or_update_initial( def create_or_update( self, resource_group_name, service_name, portal_revision_id, description=None, is_current=None, custom_headers=None, raw=False, polling=True, **operation_config): - """Creates a new developer portal revision. + """Creates a new developer portal's revision by running the portal's + publishing. The `isCurrent` property indicates if the revision is + publicly accessible. :param resource_group_name: The name of the resource group. :type resource_group_name: str @@ -327,7 +329,7 @@ def create_or_update( :type portal_revision_id: str :param description: Portal revision description. :type description: str - :param is_current: Indicates if the Portal Revision is public. + :param is_current: Indicates if the portal's revision is public. :type is_current: bool :param dict custom_headers: headers that will be added to the request :param bool raw: The poller return type is ClientRawResponse, the @@ -451,7 +453,7 @@ def update( :type if_match: str :param description: Portal revision description. :type description: str - :param is_current: Indicates if the Portal Revision is public. + :param is_current: Indicates if the portal's revision is public. :type is_current: bool :param dict custom_headers: headers that will be added to the request :param bool raw: The poller return type is ClientRawResponse, the diff --git a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_portal_settings_operations.py b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_portal_settings_operations.py index f73ee8ea016b..84c9e31551ac 100644 --- a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_portal_settings_operations.py +++ b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_portal_settings_operations.py @@ -24,7 +24,7 @@ class PortalSettingsOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Version of the API to be used with the client request. Constant value: "2020-12-01". + :ivar api_version: Version of the API to be used with the client request. Constant value: "2021-01-01-preview". """ models = models @@ -34,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-01-01-preview" self.config = config diff --git a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_product_api_operations.py b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_product_api_operations.py index 52ed43c69a01..e5f0834f10f4 100644 --- a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_product_api_operations.py +++ b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_product_api_operations.py @@ -24,7 +24,7 @@ class ProductApiOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Version of the API to be used with the client request. Constant value: "2020-12-01". + :ivar api_version: Version of the API to be used with the client request. Constant value: "2021-01-01-preview". """ models = models @@ -34,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-01-01-preview" self.config = config diff --git a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_product_group_operations.py b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_product_group_operations.py index cab564c74c62..a2aa0c6effaa 100644 --- a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_product_group_operations.py +++ b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_product_group_operations.py @@ -24,7 +24,7 @@ class ProductGroupOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Version of the API to be used with the client request. Constant value: "2020-12-01". + :ivar api_version: Version of the API to be used with the client request. Constant value: "2021-01-01-preview". """ models = models @@ -34,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-01-01-preview" self.config = config diff --git a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_product_operations.py b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_product_operations.py index a30204f2011c..645ae2476b73 100644 --- a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_product_operations.py +++ b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_product_operations.py @@ -24,7 +24,7 @@ class ProductOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Version of the API to be used with the client request. Constant value: "2020-12-01". + :ivar api_version: Version of the API to be used with the client request. Constant value: "2021-01-01-preview". """ models = models @@ -34,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-01-01-preview" self.config = config diff --git a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_product_policy_operations.py b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_product_policy_operations.py index 4b1510e7fcd5..aa7ecea90d26 100644 --- a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_product_policy_operations.py +++ b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_product_policy_operations.py @@ -24,7 +24,7 @@ class ProductPolicyOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Version of the API to be used with the client request. Constant value: "2020-12-01". + :ivar api_version: Version of the API to be used with the client request. Constant value: "2021-01-01-preview". :ivar policy_id: The identifier of the Policy. Constant value: "policy". """ @@ -35,7 +35,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-01-01-preview" self.policy_id = "policy" self.config = config diff --git a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_product_subscriptions_operations.py b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_product_subscriptions_operations.py index fbd744a8f8ac..5bf97000b2ec 100644 --- a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_product_subscriptions_operations.py +++ b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_product_subscriptions_operations.py @@ -24,7 +24,7 @@ class ProductSubscriptionsOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Version of the API to be used with the client request. Constant value: "2020-12-01". + :ivar api_version: Version of the API to be used with the client request. Constant value: "2021-01-01-preview". """ models = models @@ -34,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-01-01-preview" self.config = config diff --git a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_quota_by_counter_keys_operations.py b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_quota_by_counter_keys_operations.py index acbd778190fe..eccfe0e3aa08 100644 --- a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_quota_by_counter_keys_operations.py +++ b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_quota_by_counter_keys_operations.py @@ -24,7 +24,7 @@ class QuotaByCounterKeysOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Version of the API to be used with the client request. Constant value: "2020-12-01". + :ivar api_version: Version of the API to be used with the client request. Constant value: "2021-01-01-preview". """ models = models @@ -34,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-01-01-preview" self.config = config diff --git a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_quota_by_period_keys_operations.py b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_quota_by_period_keys_operations.py index 932c48cbd4d3..07c67969d4b4 100644 --- a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_quota_by_period_keys_operations.py +++ b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_quota_by_period_keys_operations.py @@ -24,7 +24,7 @@ class QuotaByPeriodKeysOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Version of the API to be used with the client request. Constant value: "2020-12-01". + :ivar api_version: Version of the API to be used with the client request. Constant value: "2021-01-01-preview". """ models = models @@ -34,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-01-01-preview" self.config = config diff --git a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_region_operations.py b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_region_operations.py index 90f415fa7a96..0337c832ba36 100644 --- a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_region_operations.py +++ b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_region_operations.py @@ -24,7 +24,7 @@ class RegionOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Version of the API to be used with the client request. Constant value: "2020-12-01". + :ivar api_version: Version of the API to be used with the client request. Constant value: "2021-01-01-preview". """ models = models @@ -34,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-01-01-preview" self.config = config diff --git a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_reports_operations.py b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_reports_operations.py index 615b9fd780ca..4f2033c7af8a 100644 --- a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_reports_operations.py +++ b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_reports_operations.py @@ -24,7 +24,7 @@ class ReportsOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Version of the API to be used with the client request. Constant value: "2020-12-01". + :ivar api_version: Version of the API to be used with the client request. Constant value: "2021-01-01-preview". """ models = models @@ -34,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-01-01-preview" self.config = config diff --git a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_sign_in_settings_operations.py b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_sign_in_settings_operations.py index e5ba1d63c911..93d21605f0c2 100644 --- a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_sign_in_settings_operations.py +++ b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_sign_in_settings_operations.py @@ -24,7 +24,7 @@ class SignInSettingsOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Version of the API to be used with the client request. Constant value: "2020-12-01". + :ivar api_version: Version of the API to be used with the client request. Constant value: "2021-01-01-preview". """ models = models @@ -34,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-01-01-preview" self.config = config diff --git a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_sign_up_settings_operations.py b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_sign_up_settings_operations.py index 7d4309518cc2..2bd4516d8786 100644 --- a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_sign_up_settings_operations.py +++ b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_sign_up_settings_operations.py @@ -24,7 +24,7 @@ class SignUpSettingsOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Version of the API to be used with the client request. Constant value: "2020-12-01". + :ivar api_version: Version of the API to be used with the client request. Constant value: "2021-01-01-preview". """ models = models @@ -34,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-01-01-preview" self.config = config diff --git a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_subscription_operations.py b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_subscription_operations.py index ee46d4336945..9e98d64bb7c6 100644 --- a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_subscription_operations.py +++ b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_subscription_operations.py @@ -24,7 +24,7 @@ class SubscriptionOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Version of the API to be used with the client request. Constant value: "2020-12-01". + :ivar api_version: Version of the API to be used with the client request. Constant value: "2021-01-01-preview". """ models = models @@ -34,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-01-01-preview" self.config = config diff --git a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_tag_operations.py b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_tag_operations.py index 9356159a3ed8..178e2f0aa5dd 100644 --- a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_tag_operations.py +++ b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_tag_operations.py @@ -24,7 +24,7 @@ class TagOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Version of the API to be used with the client request. Constant value: "2020-12-01". + :ivar api_version: Version of the API to be used with the client request. Constant value: "2021-01-01-preview". """ models = models @@ -34,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-01-01-preview" self.config = config diff --git a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_tag_resource_operations.py b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_tag_resource_operations.py index 815bdb80f6d2..63ff0b2dda23 100644 --- a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_tag_resource_operations.py +++ b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_tag_resource_operations.py @@ -24,7 +24,7 @@ class TagResourceOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Version of the API to be used with the client request. Constant value: "2020-12-01". + :ivar api_version: Version of the API to be used with the client request. Constant value: "2021-01-01-preview". """ models = models @@ -34,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-01-01-preview" self.config = config diff --git a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_tenant_access_git_operations.py b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_tenant_access_git_operations.py index 7783e8d982f5..8bb3ed4e9496 100644 --- a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_tenant_access_git_operations.py +++ b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_tenant_access_git_operations.py @@ -24,7 +24,7 @@ class TenantAccessGitOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Version of the API to be used with the client request. Constant value: "2020-12-01". + :ivar api_version: Version of the API to be used with the client request. Constant value: "2021-01-01-preview". """ models = models @@ -34,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-01-01-preview" self.config = config diff --git a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_tenant_access_operations.py b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_tenant_access_operations.py index 168ef7602cf9..36e7b65e5dfd 100644 --- a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_tenant_access_operations.py +++ b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_tenant_access_operations.py @@ -24,7 +24,7 @@ class TenantAccessOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Version of the API to be used with the client request. Constant value: "2020-12-01". + :ivar api_version: Version of the API to be used with the client request. Constant value: "2021-01-01-preview". """ models = models @@ -34,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-01-01-preview" self.config = config diff --git a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_tenant_configuration_operations.py b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_tenant_configuration_operations.py index 9303eeb76d86..ac65dff1d5d8 100644 --- a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_tenant_configuration_operations.py +++ b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_tenant_configuration_operations.py @@ -26,7 +26,7 @@ class TenantConfigurationOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Version of the API to be used with the client request. Constant value: "2020-12-01". + :ivar api_version: Version of the API to be used with the client request. Constant value: "2021-01-01-preview". :ivar configuration_name: The identifier of the Git Configuration Operation. Constant value: "configuration". """ @@ -37,7 +37,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-01-01-preview" self.configuration_name = "configuration" self.config = config diff --git a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_tenant_settings_operations.py b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_tenant_settings_operations.py index 3b5c3957dd0c..cc5bc43e98af 100644 --- a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_tenant_settings_operations.py +++ b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_tenant_settings_operations.py @@ -24,7 +24,7 @@ class TenantSettingsOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Version of the API to be used with the client request. Constant value: "2020-12-01". + :ivar api_version: Version of the API to be used with the client request. Constant value: "2021-01-01-preview". :ivar settings_type: The identifier of the settings. Constant value: "public". """ @@ -35,7 +35,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-01-01-preview" self.settings_type = "public" self.config = config diff --git a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_user_confirmation_password_operations.py b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_user_confirmation_password_operations.py index 496769e3153d..7cbc321fa13b 100644 --- a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_user_confirmation_password_operations.py +++ b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_user_confirmation_password_operations.py @@ -24,7 +24,7 @@ class UserConfirmationPasswordOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Version of the API to be used with the client request. Constant value: "2020-12-01". + :ivar api_version: Version of the API to be used with the client request. Constant value: "2021-01-01-preview". """ models = models @@ -34,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-01-01-preview" self.config = config diff --git a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_user_group_operations.py b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_user_group_operations.py index 2702c96fbf95..10ca98439ee8 100644 --- a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_user_group_operations.py +++ b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_user_group_operations.py @@ -24,7 +24,7 @@ class UserGroupOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Version of the API to be used with the client request. Constant value: "2020-12-01". + :ivar api_version: Version of the API to be used with the client request. Constant value: "2021-01-01-preview". """ models = models @@ -34,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-01-01-preview" self.config = config diff --git a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_user_identities_operations.py b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_user_identities_operations.py index fc6fc1fa0935..4d624efd1230 100644 --- a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_user_identities_operations.py +++ b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_user_identities_operations.py @@ -24,7 +24,7 @@ class UserIdentitiesOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Version of the API to be used with the client request. Constant value: "2020-12-01". + :ivar api_version: Version of the API to be used with the client request. Constant value: "2021-01-01-preview". """ models = models @@ -34,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-01-01-preview" self.config = config diff --git a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_user_operations.py b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_user_operations.py index 056876578ab8..561db9acddf3 100644 --- a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_user_operations.py +++ b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_user_operations.py @@ -24,7 +24,7 @@ class UserOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Version of the API to be used with the client request. Constant value: "2020-12-01". + :ivar api_version: Version of the API to be used with the client request. Constant value: "2021-01-01-preview". """ models = models @@ -34,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-01-01-preview" self.config = config diff --git a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_user_subscription_operations.py b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_user_subscription_operations.py index 9889b9024c6b..4dea49f2a487 100644 --- a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_user_subscription_operations.py +++ b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/operations/_user_subscription_operations.py @@ -24,7 +24,7 @@ class UserSubscriptionOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Version of the API to be used with the client request. Constant value: "2020-12-01". + :ivar api_version: Version of the API to be used with the client request. Constant value: "2021-01-01-preview". """ models = models @@ -34,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2020-12-01" + self.api_version = "2021-01-01-preview" self.config = config