azure.mgmt.apimanagement.models module¶
-
class
azure.mgmt.apimanagement.models.
AccessInformationContract
(*, id: Optional[str] = None, primary_key: Optional[str] = None, secondary_key: Optional[str] = None, enabled: Optional[bool] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Tenant access information contract of the API Management service.
- Parameters
id (str) – Identifier.
primary_key (str) – Primary access key. This property will not be filled on ‘GET’ operations! Use ‘/listSecrets’ POST request to get the value.
secondary_key (str) – Secondary access key. This property will not be filled on ‘GET’ operations! Use ‘/listSecrets’ POST request to get the value.
enabled (bool) – Determines whether direct access is enabled.
-
class
azure.mgmt.apimanagement.models.
AccessInformationUpdateParameters
(*, enabled: Optional[bool] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Tenant access information update parameters.
- Parameters
enabled (bool) – Determines whether direct access is enabled.
-
class
azure.mgmt.apimanagement.models.
AdditionalLocation
(*, location: str, sku: azure.mgmt.apimanagement.models._models_py3.ApiManagementServiceSkuProperties, zones: Optional[List[str]] = None, virtual_network_configuration: Optional[VirtualNetworkConfiguration] = None, disable_gateway: Optional[bool] = False, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Description of an additional API Management resource location.
Variables are only populated by the server, and will be ignored when sending a request.
All required parameters must be populated in order to send to Azure.
- Parameters
location (str) – Required. The location name of the additional region among Azure Data center regions.
sku (ApiManagementServiceSkuProperties) – Required. SKU properties of the API Management service.
zones (list[str]) – A list of availability zones denoting where the resource needs to come from.
virtual_network_configuration (VirtualNetworkConfiguration) – Virtual network configuration for the location.
disable_gateway (bool) – Property only valid for an Api Management service deployed in multiple locations. This can be used to disable the gateway in this additional location.
- Variables
public_ip_addresses (list[str]) – Public Static Load Balanced IP addresses of the API Management service in the additional location. Available only for Basic, Standard, Premium and Isolated SKU.
private_ip_addresses (list[str]) – Private Static Load Balanced IP addresses of the API Management service which is deployed in an Internal Virtual Network in a particular additional location. Available only for Basic, Standard, Premium and Isolated SKU.
gateway_regional_url (str) – Gateway URL of the API Management service in the Region.
-
class
azure.mgmt.apimanagement.models.
ApiCollection
(**kwargs)[source]¶ Bases:
msrest.serialization.Model
Paged Api list representation.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
value (list[ApiContract]) – Page values.
next_link (str) – Next page link if any.
-
class
azure.mgmt.apimanagement.models.
ApiContract
(*, description: Optional[str] = None, authentication_settings: Optional[AuthenticationSettingsContract] = None, subscription_key_parameter_names: Optional[SubscriptionKeyParameterNamesContract] = None, api_type: Union[str, ApiType, None] = None, api_revision: Optional[str] = None, api_version: Optional[str] = None, is_current: Optional[bool] = None, api_revision_description: Optional[str] = None, api_version_description: Optional[str] = None, api_version_set_id: Optional[str] = None, subscription_required: Optional[bool] = None, source_api_id: Optional[str] = None, display_name: Optional[str] = None, service_url: Optional[str] = None, path: Optional[str] = None, protocols: Optional[List[Union[str, Protocol]]] = None, api_version_set: Optional[ApiVersionSetContractDetails] = None, **kwargs)[source]¶ Bases:
azure.mgmt.apimanagement.models._models_py3.Resource
Api details.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
- Parameters
description (str) – Description of the API. May include HTML formatting tags.
authentication_settings (AuthenticationSettingsContract) – Collection of authentication settings included into this API.
subscription_key_parameter_names (SubscriptionKeyParameterNamesContract) – Protocols over which API is made available.
api_type (str or ApiType) – Type of API. Possible values include: “http”, “soap”.
api_revision (str) – Describes the Revision of the Api. If no value is provided, default revision 1 is created.
api_version (str) – Indicates the Version identifier of the API if the API is versioned.
is_current (bool) – Indicates if API revision is current api revision.
api_revision_description (str) – Description of the Api Revision.
api_version_description (str) – Description of the Api Version.
api_version_set_id (str) – A resource identifier for the related ApiVersionSet.
subscription_required (bool) – Specifies whether an API or Product subscription is required for accessing the API.
source_api_id (str) – API identifier of the source API.
display_name (str) – API name. Must be 1 to 300 characters long.
service_url (str) – Absolute URL of the backend service implementing this API. Cannot be more than 2000 characters long.
path (str) – Relative URL uniquely identifying this API and all of its resource paths within the API Management service instance. It is appended to the API endpoint base URL specified during the service instance creation to form a public URL for this API.
protocols (list[str or Protocol]) – Describes on which protocols the operations in this API can be invoked.
api_version_set (ApiVersionSetContractDetails) – Version set details.
-
class
azure.mgmt.apimanagement.models.
ApiContractProperties
(*, path: str, description: Optional[str] = None, authentication_settings: Optional[AuthenticationSettingsContract] = None, subscription_key_parameter_names: Optional[SubscriptionKeyParameterNamesContract] = None, api_type: Union[str, ApiType, None] = None, api_revision: Optional[str] = None, api_version: Optional[str] = None, is_current: Optional[bool] = None, api_revision_description: Optional[str] = None, api_version_description: Optional[str] = None, api_version_set_id: Optional[str] = None, subscription_required: Optional[bool] = None, source_api_id: Optional[str] = None, display_name: Optional[str] = None, service_url: Optional[str] = None, protocols: Optional[List[Union[str, Protocol]]] = None, api_version_set: Optional[ApiVersionSetContractDetails] = None, **kwargs)[source]¶ Bases:
azure.mgmt.apimanagement.models._models_py3.ApiEntityBaseContract
Api Entity Properties.
Variables are only populated by the server, and will be ignored when sending a request.
All required parameters must be populated in order to send to Azure.
- Parameters
description (str) – Description of the API. May include HTML formatting tags.
authentication_settings (AuthenticationSettingsContract) – Collection of authentication settings included into this API.
subscription_key_parameter_names (SubscriptionKeyParameterNamesContract) – Protocols over which API is made available.
api_type (str or ApiType) – Type of API. Possible values include: “http”, “soap”.
api_revision (str) – Describes the Revision of the Api. If no value is provided, default revision 1 is created.
api_version (str) – Indicates the Version identifier of the API if the API is versioned.
is_current (bool) – Indicates if API revision is current api revision.
api_revision_description (str) – Description of the Api Revision.
api_version_description (str) – Description of the Api Version.
api_version_set_id (str) – A resource identifier for the related ApiVersionSet.
subscription_required (bool) – Specifies whether an API or Product subscription is required for accessing the API.
source_api_id (str) – API identifier of the source API.
display_name (str) – API name. Must be 1 to 300 characters long.
service_url (str) – Absolute URL of the backend service implementing this API. Cannot be more than 2000 characters long.
path (str) – Required. Relative URL uniquely identifying this API and all of its resource paths within the API Management service instance. It is appended to the API endpoint base URL specified during the service instance creation to form a public URL for this API.
protocols (list[str or Protocol]) – Describes on which protocols the operations in this API can be invoked.
api_version_set (ApiVersionSetContractDetails) – Version set details.
- Variables
is_online (bool) – Indicates if API revision is accessible via the gateway.
-
class
azure.mgmt.apimanagement.models.
ApiContractUpdateProperties
(*, description: Optional[str] = None, authentication_settings: Optional[AuthenticationSettingsContract] = None, subscription_key_parameter_names: Optional[SubscriptionKeyParameterNamesContract] = None, api_type: Union[str, ApiType, None] = None, api_revision: Optional[str] = None, api_version: Optional[str] = None, is_current: Optional[bool] = None, api_revision_description: Optional[str] = None, api_version_description: Optional[str] = None, api_version_set_id: Optional[str] = None, subscription_required: Optional[bool] = None, display_name: Optional[str] = None, service_url: Optional[str] = None, path: Optional[str] = None, protocols: Optional[List[Union[str, Protocol]]] = None, **kwargs)[source]¶ Bases:
azure.mgmt.apimanagement.models._models_py3.ApiEntityBaseContract
API update contract properties.
Variables are only populated by the server, and will be ignored when sending a request.
- Parameters
description (str) – Description of the API. May include HTML formatting tags.
authentication_settings (AuthenticationSettingsContract) – Collection of authentication settings included into this API.
subscription_key_parameter_names (SubscriptionKeyParameterNamesContract) – Protocols over which API is made available.
api_type (str or ApiType) – Type of API. Possible values include: “http”, “soap”.
api_revision (str) – Describes the Revision of the Api. If no value is provided, default revision 1 is created.
api_version (str) – Indicates the Version identifier of the API if the API is versioned.
is_current (bool) – Indicates if API revision is current api revision.
api_revision_description (str) – Description of the Api Revision.
api_version_description (str) – Description of the Api Version.
api_version_set_id (str) – A resource identifier for the related ApiVersionSet.
subscription_required (bool) – Specifies whether an API or Product subscription is required for accessing the API.
display_name (str) – API name.
service_url (str) – Absolute URL of the backend service implementing this API.
path (str) – Relative URL uniquely identifying this API and all of its resource paths within the API Management service instance. It is appended to the API endpoint base URL specified during the service instance creation to form a public URL for this API.
protocols (list[str or Protocol]) – Describes on which protocols the operations in this API can be invoked.
- Variables
is_online (bool) – Indicates if API revision is accessible via the gateway.
-
class
azure.mgmt.apimanagement.models.
ApiCreateOrUpdateParameter
(*, description: Optional[str] = None, authentication_settings: Optional[AuthenticationSettingsContract] = None, subscription_key_parameter_names: Optional[SubscriptionKeyParameterNamesContract] = None, api_type: Union[str, ApiType, None] = None, api_revision: Optional[str] = None, api_version: Optional[str] = None, is_current: Optional[bool] = None, api_revision_description: Optional[str] = None, api_version_description: Optional[str] = None, api_version_set_id: Optional[str] = None, subscription_required: Optional[bool] = None, source_api_id: Optional[str] = None, display_name: Optional[str] = None, service_url: Optional[str] = None, path: Optional[str] = None, protocols: Optional[List[Union[str, Protocol]]] = None, api_version_set: Optional[ApiVersionSetContractDetails] = None, value: Optional[str] = None, format: Union[str, ContentFormat, None] = None, wsdl_selector: Optional[ApiCreateOrUpdatePropertiesWsdlSelector] = None, soap_api_type: Union[str, SoapApiType, None] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
API Create or Update Parameters.
Variables are only populated by the server, and will be ignored when sending a request.
- Parameters
description (str) – Description of the API. May include HTML formatting tags.
authentication_settings (AuthenticationSettingsContract) – Collection of authentication settings included into this API.
subscription_key_parameter_names (SubscriptionKeyParameterNamesContract) – Protocols over which API is made available.
api_type (str or ApiType) – Type of API. Possible values include: “http”, “soap”.
api_revision (str) – Describes the Revision of the Api. If no value is provided, default revision 1 is created.
api_version (str) – Indicates the Version identifier of the API if the API is versioned.
is_current (bool) – Indicates if API revision is current api revision.
api_revision_description (str) – Description of the Api Revision.
api_version_description (str) – Description of the Api Version.
api_version_set_id (str) – A resource identifier for the related ApiVersionSet.
subscription_required (bool) – Specifies whether an API or Product subscription is required for accessing the API.
source_api_id (str) – API identifier of the source API.
display_name (str) – API name. Must be 1 to 300 characters long.
service_url (str) – Absolute URL of the backend service implementing this API. Cannot be more than 2000 characters long.
path (str) – Relative URL uniquely identifying this API and all of its resource paths within the API Management service instance. It is appended to the API endpoint base URL specified during the service instance creation to form a public URL for this API.
protocols (list[str or Protocol]) – Describes on which protocols the operations in this API can be invoked.
api_version_set (ApiVersionSetContractDetails) – Version set details.
value (str) – Content value when Importing an API.
format (str or ContentFormat) – Format of the Content in which the API is getting imported. Possible values include: “wadl-xml”, “wadl-link-json”, “swagger-json”, “swagger-link-json”, “wsdl”, “wsdl- link”, “openapi”, “openapi+json”, “openapi-link”, “openapi+json-link”.
wsdl_selector (ApiCreateOrUpdatePropertiesWsdlSelector) – Criteria to limit import of WSDL to a subset of the document.
soap_api_type (str or SoapApiType) –
Type of Api to create.
http
creates a SOAP to REST APIsoap
creates a SOAP pass-through API . Possible values include: “http”, “soap”.
- Variables
is_online (bool) – Indicates if API revision is accessible via the gateway.
-
class
azure.mgmt.apimanagement.models.
ApiCreateOrUpdateProperties
(*, path: str, description: Optional[str] = None, authentication_settings: Optional[AuthenticationSettingsContract] = None, subscription_key_parameter_names: Optional[SubscriptionKeyParameterNamesContract] = None, api_type: Union[str, ApiType, None] = None, api_revision: Optional[str] = None, api_version: Optional[str] = None, is_current: Optional[bool] = None, api_revision_description: Optional[str] = None, api_version_description: Optional[str] = None, api_version_set_id: Optional[str] = None, subscription_required: Optional[bool] = None, source_api_id: Optional[str] = None, display_name: Optional[str] = None, service_url: Optional[str] = None, protocols: Optional[List[Union[str, Protocol]]] = None, api_version_set: Optional[ApiVersionSetContractDetails] = None, value: Optional[str] = None, format: Union[str, ContentFormat, None] = None, wsdl_selector: Optional[ApiCreateOrUpdatePropertiesWsdlSelector] = None, soap_api_type: Union[str, SoapApiType, None] = None, **kwargs)[source]¶ Bases:
azure.mgmt.apimanagement.models._models_py3.ApiContractProperties
Api Create or Update Properties.
Variables are only populated by the server, and will be ignored when sending a request.
All required parameters must be populated in order to send to Azure.
- Parameters
description (str) – Description of the API. May include HTML formatting tags.
authentication_settings (AuthenticationSettingsContract) – Collection of authentication settings included into this API.
subscription_key_parameter_names (SubscriptionKeyParameterNamesContract) – Protocols over which API is made available.
api_type (str or ApiType) – Type of API. Possible values include: “http”, “soap”.
api_revision (str) – Describes the Revision of the Api. If no value is provided, default revision 1 is created.
api_version (str) – Indicates the Version identifier of the API if the API is versioned.
is_current (bool) – Indicates if API revision is current api revision.
api_revision_description (str) – Description of the Api Revision.
api_version_description (str) – Description of the Api Version.
api_version_set_id (str) – A resource identifier for the related ApiVersionSet.
subscription_required (bool) – Specifies whether an API or Product subscription is required for accessing the API.
source_api_id (str) – API identifier of the source API.
display_name (str) – API name. Must be 1 to 300 characters long.
service_url (str) – Absolute URL of the backend service implementing this API. Cannot be more than 2000 characters long.
path (str) – Required. Relative URL uniquely identifying this API and all of its resource paths within the API Management service instance. It is appended to the API endpoint base URL specified during the service instance creation to form a public URL for this API.
protocols (list[str or Protocol]) – Describes on which protocols the operations in this API can be invoked.
api_version_set (ApiVersionSetContractDetails) – Version set details.
value (str) – Content value when Importing an API.
format (str or ContentFormat) – Format of the Content in which the API is getting imported. Possible values include: “wadl-xml”, “wadl-link-json”, “swagger-json”, “swagger-link-json”, “wsdl”, “wsdl- link”, “openapi”, “openapi+json”, “openapi-link”, “openapi+json-link”.
wsdl_selector (ApiCreateOrUpdatePropertiesWsdlSelector) – Criteria to limit import of WSDL to a subset of the document.
soap_api_type (str or SoapApiType) –
Type of Api to create.
http
creates a SOAP to REST APIsoap
creates a SOAP pass-through API . Possible values include: “http”, “soap”.
- Variables
is_online (bool) – Indicates if API revision is accessible via the gateway.
-
class
azure.mgmt.apimanagement.models.
ApiCreateOrUpdatePropertiesWsdlSelector
(*, wsdl_service_name: Optional[str] = None, wsdl_endpoint_name: Optional[str] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Criteria to limit import of WSDL to a subset of the document.
-
class
azure.mgmt.apimanagement.models.
ApiEntityBaseContract
(*, description: Optional[str] = None, authentication_settings: Optional[AuthenticationSettingsContract] = None, subscription_key_parameter_names: Optional[SubscriptionKeyParameterNamesContract] = None, api_type: Union[str, ApiType, None] = None, api_revision: Optional[str] = None, api_version: Optional[str] = None, is_current: Optional[bool] = None, api_revision_description: Optional[str] = None, api_version_description: Optional[str] = None, api_version_set_id: Optional[str] = None, subscription_required: Optional[bool] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
API base contract details.
Variables are only populated by the server, and will be ignored when sending a request.
- Parameters
description (str) – Description of the API. May include HTML formatting tags.
authentication_settings (AuthenticationSettingsContract) – Collection of authentication settings included into this API.
subscription_key_parameter_names (SubscriptionKeyParameterNamesContract) – Protocols over which API is made available.
api_type (str or ApiType) – Type of API. Possible values include: “http”, “soap”.
api_revision (str) – Describes the Revision of the Api. If no value is provided, default revision 1 is created.
api_version (str) – Indicates the Version identifier of the API if the API is versioned.
is_current (bool) – Indicates if API revision is current api revision.
api_revision_description (str) – Description of the Api Revision.
api_version_description (str) – Description of the Api Version.
api_version_set_id (str) – A resource identifier for the related ApiVersionSet.
subscription_required (bool) – Specifies whether an API or Product subscription is required for accessing the API.
- Variables
is_online (bool) – Indicates if API revision is accessible via the gateway.
-
class
azure.mgmt.apimanagement.models.
ApiExportResult
(*, id: Optional[str] = None, export_result_format: Union[str, ExportResultFormat, None] = None, value: Optional[ApiExportResultValue] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
API Export result.
- Parameters
id (str) – ResourceId of the API which was exported.
export_result_format (str or ExportResultFormat) – Format in which the Api Details are exported to the Storage Blob with Sas Key valid for 5 minutes. Possible values include: “swagger-link-json”, “wsdl- link+xml”, “wadl-link-json”, “openapi-link”.
value (ApiExportResultValue) – The object defining the schema of the exported Api Detail.
-
class
azure.mgmt.apimanagement.models.
ApiExportResultValue
(*, link: Optional[str] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
The object defining the schema of the exported Api Detail.
- Parameters
link (str) – Link to the Storage Blob containing the result of the export operation. The Blob Uri is only valid for 5 minutes.
-
class
azure.mgmt.apimanagement.models.
ApiManagementServiceApplyNetworkConfigurationParameters
(*, location: Optional[str] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Parameter supplied to the Apply Network configuration operation.
- Parameters
location (str) – Location of the Api Management service to update for a multi-region service. For a service deployed in a single region, this parameter is not required.
-
class
azure.mgmt.apimanagement.models.
ApiManagementServiceBackupRestoreParameters
(*, storage_account: str, access_key: str, container_name: str, backup_name: str, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Parameters supplied to the Backup/Restore of an API Management service operation.
All required parameters must be populated in order to send to Azure.
- Parameters
storage_account (str) – Required. Azure Cloud Storage account (used to place/retrieve the backup) name.
access_key (str) – Required. Azure Cloud Storage account (used to place/retrieve the backup) access key.
container_name (str) – Required. Azure Cloud Storage blob container name used to place/retrieve the backup.
backup_name (str) – Required. The name of the backup file to create.
-
class
azure.mgmt.apimanagement.models.
ApiManagementServiceBaseProperties
(*, notification_sender_email: Optional[str] = None, hostname_configurations: Optional[List[HostnameConfiguration]] = None, virtual_network_configuration: Optional[VirtualNetworkConfiguration] = None, additional_locations: Optional[List[AdditionalLocation]] = None, custom_properties: Optional[Dict[str, str]] = None, certificates: Optional[List[CertificateConfiguration]] = None, enable_client_certificate: Optional[bool] = False, disable_gateway: Optional[bool] = False, virtual_network_type: Union[str, VirtualNetworkType, None] = 'None', api_version_constraint: Optional[ApiVersionConstraint] = None, restore: Optional[bool] = False, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Base Properties of an API Management service resource description.
Variables are only populated by the server, and will be ignored when sending a request.
- Parameters
notification_sender_email (str) – Email address from which the notification will be sent.
hostname_configurations (list[HostnameConfiguration]) – Custom hostname configuration of the API Management service.
virtual_network_configuration (VirtualNetworkConfiguration) – Virtual network configuration of the API Management service.
additional_locations (list[AdditionalLocation]) – Additional datacenter locations of the API Management service.
custom_properties (dict[str, str]) – Custom properties of the API Management service.</br>Setting
Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TripleDes168
will disable the cipher TLS_RSA_WITH_3DES_EDE_CBC_SHA for all TLS(1.0, 1.1 and 1.2).</br>SettingMicrosoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls11
can be used to disable just TLS 1.1.</br>SettingMicrosoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10
can be used to disable TLS 1.0 on an API Management service.</br>SettingMicrosoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls11
can be used to disable just TLS 1.1 for communications with backends.</br>SettingMicrosoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls10
can be used to disable TLS 1.0 for communications with backends.</br>SettingMicrosoft.WindowsAzure.ApiManagement.Gateway.Protocols.Server.Http2
can be used to enable HTTP2 protocol on an API Management service.</br>Not specifying any of these properties on PATCH operation will reset omitted properties’ values to their defaults. For all the settings except Http2 the default value isTrue
if the service was created on or before April 1st 2018 andFalse
otherwise. Http2 setting’s default value isFalse
.</br></br>You can disable any of next ciphers by using settings Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.[cipher_name]: TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA, TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA, TLS_RSA_WITH_AES_128_GCM_SHA256, TLS_RSA_WITH_AES_256_CBC_SHA256, TLS_RSA_WITH_AES_128_CBC_SHA256, TLS_RSA_WITH_AES_256_CBC_SHA, TLS_RSA_WITH_AES_128_CBC_SHA. For example, Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_128_CBC_SHA256:false
. The default value istrue
for them. Note: next ciphers can’t be disabled since they are required by Azure CloudService internal components: TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384,TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256,TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384,TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256,TLS_RSA_WITH_AES_256_GCM_SHA384.certificates (list[CertificateConfiguration]) – List of Certificates that need to be installed in the API Management service. Max supported certificates that can be installed is 10.
enable_client_certificate (bool) – Property only meant to be used for Consumption SKU Service. This enforces a client certificate to be presented on each request to the gateway. This also enables the ability to authenticate the certificate in the policy on the gateway.
disable_gateway (bool) – Property only valid for an Api Management service deployed in multiple locations. This can be used to disable the gateway in master region.
virtual_network_type (str or VirtualNetworkType) – The type of VPN in which API Management service needs to be configured in. None (Default Value) means the API Management service is not part of any Virtual Network, External means the API Management deployment is set up inside a Virtual Network having an Internet Facing Endpoint, and Internal means that API Management deployment is setup inside a Virtual Network having an Intranet Facing Endpoint only. Possible values include: “None”, “External”, “Internal”. Default value: “None”.
api_version_constraint (ApiVersionConstraint) – Control Plane Apis version constraint for the API Management service.
restore (bool) – Undelete Api Management Service if it was previously soft-deleted. If this flag is specified and set to True all other properties will be ignored.
- Variables
provisioning_state (str) – The current provisioning state of the API Management service which can be one of the following: Created/Activating/Succeeded/Updating/Failed/Stopped/Terminating/TerminationFailed/Deleted.
target_provisioning_state (str) – The provisioning state of the API Management service, which is targeted by the long running operation started on the service.
created_at_utc (datetime) – Creation UTC date of the API Management service.The date conforms to the following format:
yyyy-MM-ddTHH:mm:ssZ
as specified by the ISO 8601 standard.gateway_url (str) – Gateway URL of the API Management service.
gateway_regional_url (str) – Gateway URL of the API Management service in the Default Region.
portal_url (str) – Publisher portal endpoint Url of the API Management service.
management_api_url (str) – Management API endpoint URL of the API Management service.
scm_url (str) – SCM endpoint URL of the API Management service.
developer_portal_url (str) – DEveloper Portal endpoint URL of the API Management service.
public_ip_addresses (list[str]) – Public Static Load Balanced IP addresses of the API Management service in Primary region. Available only for Basic, Standard, Premium and Isolated SKU.
private_ip_addresses (list[str]) – Private Static Load Balanced IP addresses of the API Management service in Primary region which is deployed in an Internal Virtual Network. Available only for Basic, Standard, Premium and Isolated SKU.
-
class
azure.mgmt.apimanagement.models.
ApiManagementServiceCheckNameAvailabilityParameters
(*, name: str, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Parameters supplied to the CheckNameAvailability operation.
All required parameters must be populated in order to send to Azure.
- Parameters
name (str) – Required. The name to check for availability.
-
class
azure.mgmt.apimanagement.models.
ApiManagementServiceGetSsoTokenResult
(*, redirect_uri: Optional[str] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
The response of the GetSsoToken operation.
- Parameters
redirect_uri (str) – Redirect URL to the Publisher Portal containing the SSO token.
-
class
azure.mgmt.apimanagement.models.
ApiManagementServiceIdentity
(*, type: Union[str, ApimIdentityType], user_assigned_identities: Optional[Dict[str, UserIdentityProperties]] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Identity properties of the Api Management service resource.
Variables are only populated by the server, and will be ignored when sending a request.
All required parameters must be populated in order to send to Azure.
- Parameters
type (str or ApimIdentityType) – Required. The type of identity used for the resource. The type ‘SystemAssigned, UserAssigned’ includes both an implicitly created identity and a set of user assigned identities. The type ‘None’ will remove any identities from the service. Possible values include: “SystemAssigned”, “UserAssigned”, “SystemAssigned, UserAssigned”, “None”.
user_assigned_identities (dict[str, UserIdentityProperties]) –
The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: ‘/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/
providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}’.
- Variables
-
class
azure.mgmt.apimanagement.models.
ApiManagementServiceListResult
(*, value: List[ApiManagementServiceResource], next_link: Optional[str] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
The response of the List API Management services operation.
All required parameters must be populated in order to send to Azure.
- Parameters
value (list[ApiManagementServiceResource]) – Required. Result of the List API Management services operation.
next_link (str) – Link to the next set of results. Not empty if Value contains incomplete list of API Management services.
-
class
azure.mgmt.apimanagement.models.
ApiManagementServiceNameAvailabilityResult
(*, reason: Union[str, NameAvailabilityReason, None] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Response of the CheckNameAvailability operation.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
name_available (bool) – True if the name is available and can be used to create a new API Management service; otherwise false.
message (str) – If reason == invalid, provide the user with the reason why the given name is invalid, and provide the resource naming requirements so that the user can select a valid name. If reason == AlreadyExists, explain that
<resourceName>
is already in use, and direct them to select a different name.
- Parameters
reason (str or NameAvailabilityReason) – Invalid indicates the name provided does not match the resource provider’s naming requirements (incorrect length, unsupported characters, etc.) AlreadyExists indicates that the name is already in use and is therefore unavailable. Possible values include: “Valid”, “Invalid”, “AlreadyExists”.
-
class
azure.mgmt.apimanagement.models.
ApiManagementServiceProperties
(*, publisher_email: str, publisher_name: str, notification_sender_email: Optional[str] = None, hostname_configurations: Optional[List[HostnameConfiguration]] = None, virtual_network_configuration: Optional[VirtualNetworkConfiguration] = None, additional_locations: Optional[List[AdditionalLocation]] = None, custom_properties: Optional[Dict[str, str]] = None, certificates: Optional[List[CertificateConfiguration]] = None, enable_client_certificate: Optional[bool] = False, disable_gateway: Optional[bool] = False, virtual_network_type: Union[str, VirtualNetworkType, None] = 'None', api_version_constraint: Optional[ApiVersionConstraint] = None, restore: Optional[bool] = False, **kwargs)[source]¶ Bases:
azure.mgmt.apimanagement.models._models_py3.ApiManagementServiceBaseProperties
Properties of an API Management service resource description.
Variables are only populated by the server, and will be ignored when sending a request.
All required parameters must be populated in order to send to Azure.
- Parameters
notification_sender_email (str) – Email address from which the notification will be sent.
hostname_configurations (list[HostnameConfiguration]) – Custom hostname configuration of the API Management service.
virtual_network_configuration (VirtualNetworkConfiguration) – Virtual network configuration of the API Management service.
additional_locations (list[AdditionalLocation]) – Additional datacenter locations of the API Management service.
custom_properties (dict[str, str]) – Custom properties of the API Management service.</br>Setting
Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TripleDes168
will disable the cipher TLS_RSA_WITH_3DES_EDE_CBC_SHA for all TLS(1.0, 1.1 and 1.2).</br>SettingMicrosoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls11
can be used to disable just TLS 1.1.</br>SettingMicrosoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10
can be used to disable TLS 1.0 on an API Management service.</br>SettingMicrosoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls11
can be used to disable just TLS 1.1 for communications with backends.</br>SettingMicrosoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls10
can be used to disable TLS 1.0 for communications with backends.</br>SettingMicrosoft.WindowsAzure.ApiManagement.Gateway.Protocols.Server.Http2
can be used to enable HTTP2 protocol on an API Management service.</br>Not specifying any of these properties on PATCH operation will reset omitted properties’ values to their defaults. For all the settings except Http2 the default value isTrue
if the service was created on or before April 1st 2018 andFalse
otherwise. Http2 setting’s default value isFalse
.</br></br>You can disable any of next ciphers by using settings Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.[cipher_name]: TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA, TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA, TLS_RSA_WITH_AES_128_GCM_SHA256, TLS_RSA_WITH_AES_256_CBC_SHA256, TLS_RSA_WITH_AES_128_CBC_SHA256, TLS_RSA_WITH_AES_256_CBC_SHA, TLS_RSA_WITH_AES_128_CBC_SHA. For example, Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_128_CBC_SHA256:false
. The default value istrue
for them. Note: next ciphers can’t be disabled since they are required by Azure CloudService internal components: TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384,TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256,TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384,TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256,TLS_RSA_WITH_AES_256_GCM_SHA384.certificates (list[CertificateConfiguration]) – List of Certificates that need to be installed in the API Management service. Max supported certificates that can be installed is 10.
enable_client_certificate (bool) – Property only meant to be used for Consumption SKU Service. This enforces a client certificate to be presented on each request to the gateway. This also enables the ability to authenticate the certificate in the policy on the gateway.
disable_gateway (bool) – Property only valid for an Api Management service deployed in multiple locations. This can be used to disable the gateway in master region.
virtual_network_type (str or VirtualNetworkType) – The type of VPN in which API Management service needs to be configured in. None (Default Value) means the API Management service is not part of any Virtual Network, External means the API Management deployment is set up inside a Virtual Network having an Internet Facing Endpoint, and Internal means that API Management deployment is setup inside a Virtual Network having an Intranet Facing Endpoint only. Possible values include: “None”, “External”, “Internal”. Default value: “None”.
api_version_constraint (ApiVersionConstraint) – Control Plane Apis version constraint for the API Management service.
restore (bool) – Undelete Api Management Service if it was previously soft-deleted. If this flag is specified and set to True all other properties will be ignored.
publisher_email (str) – Required. Publisher email.
publisher_name (str) – Required. Publisher name.
- Variables
provisioning_state (str) – The current provisioning state of the API Management service which can be one of the following: Created/Activating/Succeeded/Updating/Failed/Stopped/Terminating/TerminationFailed/Deleted.
target_provisioning_state (str) – The provisioning state of the API Management service, which is targeted by the long running operation started on the service.
created_at_utc (datetime) – Creation UTC date of the API Management service.The date conforms to the following format:
yyyy-MM-ddTHH:mm:ssZ
as specified by the ISO 8601 standard.gateway_url (str) – Gateway URL of the API Management service.
gateway_regional_url (str) – Gateway URL of the API Management service in the Default Region.
portal_url (str) – Publisher portal endpoint Url of the API Management service.
management_api_url (str) – Management API endpoint URL of the API Management service.
scm_url (str) – SCM endpoint URL of the API Management service.
developer_portal_url (str) – DEveloper Portal endpoint URL of the API Management service.
public_ip_addresses (list[str]) – Public Static Load Balanced IP addresses of the API Management service in Primary region. Available only for Basic, Standard, Premium and Isolated SKU.
private_ip_addresses (list[str]) – Private Static Load Balanced IP addresses of the API Management service in Primary region which is deployed in an Internal Virtual Network. Available only for Basic, Standard, Premium and Isolated SKU.
-
class
azure.mgmt.apimanagement.models.
ApiManagementServiceResource
(*, sku: azure.mgmt.apimanagement.models._models_py3.ApiManagementServiceSkuProperties, location: str, publisher_email: str, publisher_name: str, tags: Optional[Dict[str, str]] = None, identity: Optional[ApiManagementServiceIdentity] = None, zones: Optional[List[str]] = None, notification_sender_email: Optional[str] = None, hostname_configurations: Optional[List[HostnameConfiguration]] = None, virtual_network_configuration: Optional[VirtualNetworkConfiguration] = None, additional_locations: Optional[List[AdditionalLocation]] = None, custom_properties: Optional[Dict[str, str]] = None, certificates: Optional[List[CertificateConfiguration]] = None, enable_client_certificate: Optional[bool] = False, disable_gateway: Optional[bool] = False, virtual_network_type: Union[str, VirtualNetworkType, None] = 'None', api_version_constraint: Optional[ApiVersionConstraint] = None, restore: Optional[bool] = False, **kwargs)[source]¶ Bases:
azure.mgmt.apimanagement.models._models_py3.ApimResource
A single API Management service resource in List or Get response.
Variables are only populated by the server, and will be ignored when sending a request.
All required parameters must be populated in order to send to Azure.
- Variables
name (str) – Resource name.
type (str) – Resource type for API Management resource is set to Microsoft.ApiManagement.
etag (str) – ETag of the resource.
provisioning_state (str) – The current provisioning state of the API Management service which can be one of the following: Created/Activating/Succeeded/Updating/Failed/Stopped/Terminating/TerminationFailed/Deleted.
target_provisioning_state (str) – The provisioning state of the API Management service, which is targeted by the long running operation started on the service.
created_at_utc (datetime) – Creation UTC date of the API Management service.The date conforms to the following format:
yyyy-MM-ddTHH:mm:ssZ
as specified by the ISO 8601 standard.gateway_url (str) – Gateway URL of the API Management service.
gateway_regional_url (str) – Gateway URL of the API Management service in the Default Region.
portal_url (str) – Publisher portal endpoint Url of the API Management service.
management_api_url (str) – Management API endpoint URL of the API Management service.
scm_url (str) – SCM endpoint URL of the API Management service.
developer_portal_url (str) – DEveloper Portal endpoint URL of the API Management service.
public_ip_addresses (list[str]) – Public Static Load Balanced IP addresses of the API Management service in Primary region. Available only for Basic, Standard, Premium and Isolated SKU.
private_ip_addresses (list[str]) – Private Static Load Balanced IP addresses of the API Management service in Primary region which is deployed in an Internal Virtual Network. Available only for Basic, Standard, Premium and Isolated SKU.
- Parameters
sku (ApiManagementServiceSkuProperties) – Required. SKU properties of the API Management service.
identity (ApiManagementServiceIdentity) – Managed service identity of the Api Management service.
location (str) – Required. Resource location.
zones (list[str]) – A list of availability zones denoting where the resource needs to come from.
notification_sender_email (str) – Email address from which the notification will be sent.
hostname_configurations (list[HostnameConfiguration]) – Custom hostname configuration of the API Management service.
virtual_network_configuration (VirtualNetworkConfiguration) – Virtual network configuration of the API Management service.
additional_locations (list[AdditionalLocation]) – Additional datacenter locations of the API Management service.
custom_properties (dict[str, str]) – Custom properties of the API Management service.</br>Setting
Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TripleDes168
will disable the cipher TLS_RSA_WITH_3DES_EDE_CBC_SHA for all TLS(1.0, 1.1 and 1.2).</br>SettingMicrosoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls11
can be used to disable just TLS 1.1.</br>SettingMicrosoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10
can be used to disable TLS 1.0 on an API Management service.</br>SettingMicrosoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls11
can be used to disable just TLS 1.1 for communications with backends.</br>SettingMicrosoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls10
can be used to disable TLS 1.0 for communications with backends.</br>SettingMicrosoft.WindowsAzure.ApiManagement.Gateway.Protocols.Server.Http2
can be used to enable HTTP2 protocol on an API Management service.</br>Not specifying any of these properties on PATCH operation will reset omitted properties’ values to their defaults. For all the settings except Http2 the default value isTrue
if the service was created on or before April 1st 2018 andFalse
otherwise. Http2 setting’s default value isFalse
.</br></br>You can disable any of next ciphers by using settings Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.[cipher_name]: TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA, TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA, TLS_RSA_WITH_AES_128_GCM_SHA256, TLS_RSA_WITH_AES_256_CBC_SHA256, TLS_RSA_WITH_AES_128_CBC_SHA256, TLS_RSA_WITH_AES_256_CBC_SHA, TLS_RSA_WITH_AES_128_CBC_SHA. For example, Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_128_CBC_SHA256:false
. The default value istrue
for them. Note: next ciphers can’t be disabled since they are required by Azure CloudService internal components: TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384,TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256,TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384,TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256,TLS_RSA_WITH_AES_256_GCM_SHA384.certificates (list[CertificateConfiguration]) – List of Certificates that need to be installed in the API Management service. Max supported certificates that can be installed is 10.
enable_client_certificate (bool) – Property only meant to be used for Consumption SKU Service. This enforces a client certificate to be presented on each request to the gateway. This also enables the ability to authenticate the certificate in the policy on the gateway.
disable_gateway (bool) – Property only valid for an Api Management service deployed in multiple locations. This can be used to disable the gateway in master region.
virtual_network_type (str or VirtualNetworkType) – The type of VPN in which API Management service needs to be configured in. None (Default Value) means the API Management service is not part of any Virtual Network, External means the API Management deployment is set up inside a Virtual Network having an Internet Facing Endpoint, and Internal means that API Management deployment is setup inside a Virtual Network having an Intranet Facing Endpoint only. Possible values include: “None”, “External”, “Internal”. Default value: “None”.
api_version_constraint (ApiVersionConstraint) – Control Plane Apis version constraint for the API Management service.
restore (bool) – Undelete Api Management Service if it was previously soft-deleted. If this flag is specified and set to True all other properties will be ignored.
publisher_email (str) – Required. Publisher email.
publisher_name (str) – Required. Publisher name.
-
class
azure.mgmt.apimanagement.models.
ApiManagementServiceSkuProperties
(*, name: Union[str, SkuType], capacity: int, **kwargs)[source]¶ Bases:
msrest.serialization.Model
API Management service resource SKU properties.
All required parameters must be populated in order to send to Azure.
-
class
azure.mgmt.apimanagement.models.
ApiManagementServiceUpdateParameters
(*, tags: Optional[Dict[str, str]] = None, sku: Optional[ApiManagementServiceSkuProperties] = None, identity: Optional[ApiManagementServiceIdentity] = None, notification_sender_email: Optional[str] = None, hostname_configurations: Optional[List[HostnameConfiguration]] = None, virtual_network_configuration: Optional[VirtualNetworkConfiguration] = None, additional_locations: Optional[List[AdditionalLocation]] = None, custom_properties: Optional[Dict[str, str]] = None, certificates: Optional[List[CertificateConfiguration]] = None, enable_client_certificate: Optional[bool] = False, disable_gateway: Optional[bool] = False, virtual_network_type: Union[str, VirtualNetworkType, None] = 'None', api_version_constraint: Optional[ApiVersionConstraint] = None, restore: Optional[bool] = False, publisher_email: Optional[str] = None, publisher_name: Optional[str] = None, **kwargs)[source]¶ Bases:
azure.mgmt.apimanagement.models._models_py3.ApimResource
Parameter supplied to Update Api Management Service.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
name (str) – Resource name.
type (str) – Resource type for API Management resource is set to Microsoft.ApiManagement.
etag (str) – ETag of the resource.
provisioning_state (str) – The current provisioning state of the API Management service which can be one of the following: Created/Activating/Succeeded/Updating/Failed/Stopped/Terminating/TerminationFailed/Deleted.
target_provisioning_state (str) – The provisioning state of the API Management service, which is targeted by the long running operation started on the service.
created_at_utc (datetime) – Creation UTC date of the API Management service.The date conforms to the following format:
yyyy-MM-ddTHH:mm:ssZ
as specified by the ISO 8601 standard.gateway_url (str) – Gateway URL of the API Management service.
gateway_regional_url (str) – Gateway URL of the API Management service in the Default Region.
portal_url (str) – Publisher portal endpoint Url of the API Management service.
management_api_url (str) – Management API endpoint URL of the API Management service.
scm_url (str) – SCM endpoint URL of the API Management service.
developer_portal_url (str) – DEveloper Portal endpoint URL of the API Management service.
public_ip_addresses (list[str]) – Public Static Load Balanced IP addresses of the API Management service in Primary region. Available only for Basic, Standard, Premium and Isolated SKU.
private_ip_addresses (list[str]) – Private Static Load Balanced IP addresses of the API Management service in Primary region which is deployed in an Internal Virtual Network. Available only for Basic, Standard, Premium and Isolated SKU.
- Parameters
sku (ApiManagementServiceSkuProperties) – SKU properties of the API Management service.
identity (ApiManagementServiceIdentity) – Managed service identity of the Api Management service.
notification_sender_email (str) – Email address from which the notification will be sent.
hostname_configurations (list[HostnameConfiguration]) – Custom hostname configuration of the API Management service.
virtual_network_configuration (VirtualNetworkConfiguration) – Virtual network configuration of the API Management service.
additional_locations (list[AdditionalLocation]) – Additional datacenter locations of the API Management service.
custom_properties (dict[str, str]) – Custom properties of the API Management service.</br>Setting
Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TripleDes168
will disable the cipher TLS_RSA_WITH_3DES_EDE_CBC_SHA for all TLS(1.0, 1.1 and 1.2).</br>SettingMicrosoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls11
can be used to disable just TLS 1.1.</br>SettingMicrosoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10
can be used to disable TLS 1.0 on an API Management service.</br>SettingMicrosoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls11
can be used to disable just TLS 1.1 for communications with backends.</br>SettingMicrosoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls10
can be used to disable TLS 1.0 for communications with backends.</br>SettingMicrosoft.WindowsAzure.ApiManagement.Gateway.Protocols.Server.Http2
can be used to enable HTTP2 protocol on an API Management service.</br>Not specifying any of these properties on PATCH operation will reset omitted properties’ values to their defaults. For all the settings except Http2 the default value isTrue
if the service was created on or before April 1st 2018 andFalse
otherwise. Http2 setting’s default value isFalse
.</br></br>You can disable any of next ciphers by using settings Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.[cipher_name]: TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA, TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA, TLS_RSA_WITH_AES_128_GCM_SHA256, TLS_RSA_WITH_AES_256_CBC_SHA256, TLS_RSA_WITH_AES_128_CBC_SHA256, TLS_RSA_WITH_AES_256_CBC_SHA, TLS_RSA_WITH_AES_128_CBC_SHA. For example, Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_128_CBC_SHA256:false
. The default value istrue
for them. Note: next ciphers can’t be disabled since they are required by Azure CloudService internal components: TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384,TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256,TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384,TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256,TLS_RSA_WITH_AES_256_GCM_SHA384.certificates (list[CertificateConfiguration]) – List of Certificates that need to be installed in the API Management service. Max supported certificates that can be installed is 10.
enable_client_certificate (bool) – Property only meant to be used for Consumption SKU Service. This enforces a client certificate to be presented on each request to the gateway. This also enables the ability to authenticate the certificate in the policy on the gateway.
disable_gateway (bool) – Property only valid for an Api Management service deployed in multiple locations. This can be used to disable the gateway in master region.
virtual_network_type (str or VirtualNetworkType) – The type of VPN in which API Management service needs to be configured in. None (Default Value) means the API Management service is not part of any Virtual Network, External means the API Management deployment is set up inside a Virtual Network having an Internet Facing Endpoint, and Internal means that API Management deployment is setup inside a Virtual Network having an Intranet Facing Endpoint only. Possible values include: “None”, “External”, “Internal”. Default value: “None”.
api_version_constraint (ApiVersionConstraint) – Control Plane Apis version constraint for the API Management service.
restore (bool) – Undelete Api Management Service if it was previously soft-deleted. If this flag is specified and set to True all other properties will be ignored.
publisher_email (str) – Publisher email.
publisher_name (str) – Publisher name.
-
class
azure.mgmt.apimanagement.models.
ApiManagementServiceUpdateProperties
(*, notification_sender_email: Optional[str] = None, hostname_configurations: Optional[List[HostnameConfiguration]] = None, virtual_network_configuration: Optional[VirtualNetworkConfiguration] = None, additional_locations: Optional[List[AdditionalLocation]] = None, custom_properties: Optional[Dict[str, str]] = None, certificates: Optional[List[CertificateConfiguration]] = None, enable_client_certificate: Optional[bool] = False, disable_gateway: Optional[bool] = False, virtual_network_type: Union[str, VirtualNetworkType, None] = 'None', api_version_constraint: Optional[ApiVersionConstraint] = None, restore: Optional[bool] = False, publisher_email: Optional[str] = None, publisher_name: Optional[str] = None, **kwargs)[source]¶ Bases:
azure.mgmt.apimanagement.models._models_py3.ApiManagementServiceBaseProperties
Properties of an API Management service resource description.
Variables are only populated by the server, and will be ignored when sending a request.
- Parameters
notification_sender_email (str) – Email address from which the notification will be sent.
hostname_configurations (list[HostnameConfiguration]) – Custom hostname configuration of the API Management service.
virtual_network_configuration (VirtualNetworkConfiguration) – Virtual network configuration of the API Management service.
additional_locations (list[AdditionalLocation]) – Additional datacenter locations of the API Management service.
custom_properties (dict[str, str]) – Custom properties of the API Management service.</br>Setting
Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TripleDes168
will disable the cipher TLS_RSA_WITH_3DES_EDE_CBC_SHA for all TLS(1.0, 1.1 and 1.2).</br>SettingMicrosoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls11
can be used to disable just TLS 1.1.</br>SettingMicrosoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10
can be used to disable TLS 1.0 on an API Management service.</br>SettingMicrosoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls11
can be used to disable just TLS 1.1 for communications with backends.</br>SettingMicrosoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls10
can be used to disable TLS 1.0 for communications with backends.</br>SettingMicrosoft.WindowsAzure.ApiManagement.Gateway.Protocols.Server.Http2
can be used to enable HTTP2 protocol on an API Management service.</br>Not specifying any of these properties on PATCH operation will reset omitted properties’ values to their defaults. For all the settings except Http2 the default value isTrue
if the service was created on or before April 1st 2018 andFalse
otherwise. Http2 setting’s default value isFalse
.</br></br>You can disable any of next ciphers by using settings Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.[cipher_name]: TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA, TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA, TLS_RSA_WITH_AES_128_GCM_SHA256, TLS_RSA_WITH_AES_256_CBC_SHA256, TLS_RSA_WITH_AES_128_CBC_SHA256, TLS_RSA_WITH_AES_256_CBC_SHA, TLS_RSA_WITH_AES_128_CBC_SHA. For example, Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_128_CBC_SHA256:false
. The default value istrue
for them. Note: next ciphers can’t be disabled since they are required by Azure CloudService internal components: TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384,TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256,TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384,TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256,TLS_RSA_WITH_AES_256_GCM_SHA384.certificates (list[CertificateConfiguration]) – List of Certificates that need to be installed in the API Management service. Max supported certificates that can be installed is 10.
enable_client_certificate (bool) – Property only meant to be used for Consumption SKU Service. This enforces a client certificate to be presented on each request to the gateway. This also enables the ability to authenticate the certificate in the policy on the gateway.
disable_gateway (bool) – Property only valid for an Api Management service deployed in multiple locations. This can be used to disable the gateway in master region.
virtual_network_type (str or VirtualNetworkType) – The type of VPN in which API Management service needs to be configured in. None (Default Value) means the API Management service is not part of any Virtual Network, External means the API Management deployment is set up inside a Virtual Network having an Internet Facing Endpoint, and Internal means that API Management deployment is setup inside a Virtual Network having an Intranet Facing Endpoint only. Possible values include: “None”, “External”, “Internal”. Default value: “None”.
api_version_constraint (ApiVersionConstraint) – Control Plane Apis version constraint for the API Management service.
restore (bool) – Undelete Api Management Service if it was previously soft-deleted. If this flag is specified and set to True all other properties will be ignored.
publisher_email (str) – Publisher email.
publisher_name (str) – Publisher name.
- Variables
provisioning_state (str) – The current provisioning state of the API Management service which can be one of the following: Created/Activating/Succeeded/Updating/Failed/Stopped/Terminating/TerminationFailed/Deleted.
target_provisioning_state (str) – The provisioning state of the API Management service, which is targeted by the long running operation started on the service.
created_at_utc (datetime) – Creation UTC date of the API Management service.The date conforms to the following format:
yyyy-MM-ddTHH:mm:ssZ
as specified by the ISO 8601 standard.gateway_url (str) – Gateway URL of the API Management service.
gateway_regional_url (str) – Gateway URL of the API Management service in the Default Region.
portal_url (str) – Publisher portal endpoint Url of the API Management service.
management_api_url (str) – Management API endpoint URL of the API Management service.
scm_url (str) – SCM endpoint URL of the API Management service.
developer_portal_url (str) – DEveloper Portal endpoint URL of the API Management service.
public_ip_addresses (list[str]) – Public Static Load Balanced IP addresses of the API Management service in Primary region. Available only for Basic, Standard, Premium and Isolated SKU.
private_ip_addresses (list[str]) – Private Static Load Balanced IP addresses of the API Management service in Primary region which is deployed in an Internal Virtual Network. Available only for Basic, Standard, Premium and Isolated SKU.
-
class
azure.mgmt.apimanagement.models.
ApiReleaseCollection
(**kwargs)[source]¶ Bases:
msrest.serialization.Model
Paged ApiRelease list representation.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
value (list[ApiReleaseContract]) – Page values.
next_link (str) – Next page link if any.
-
class
azure.mgmt.apimanagement.models.
ApiReleaseContract
(*, api_id: Optional[str] = None, notes: Optional[str] = None, **kwargs)[source]¶ Bases:
azure.mgmt.apimanagement.models._models_py3.Resource
ApiRelease details.
Variables are only populated by the server, and will be ignored when sending a request.
-
class
azure.mgmt.apimanagement.models.
ApiRevisionCollection
(**kwargs)[source]¶ Bases:
msrest.serialization.Model
Paged Api Revision list representation.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
value (list[ApiRevisionContract]) – Page values.
next_link (str) – Next page link if any.
-
class
azure.mgmt.apimanagement.models.
ApiRevisionContract
(**kwargs)[source]¶ Bases:
msrest.serialization.Model
Summary of revision metadata.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
api_id (str) – Identifier of the API Revision.
api_revision (str) – Revision number of API.
created_date_time (datetime) – The time the API Revision was created. The date conforms to the following format: yyyy-MM-ddTHH:mm:ssZ as specified by the ISO 8601 standard.
updated_date_time (datetime) – The time the API Revision were updated. The date conforms to the following format: yyyy-MM-ddTHH:mm:ssZ as specified by the ISO 8601 standard.
description (str) – Description of the API Revision.
private_url (str) – Gateway URL for accessing the non-current API Revision.
is_online (bool) – Indicates if API revision is the current api revision.
is_current (bool) – Indicates if API revision is accessible via the gateway.
-
class
azure.mgmt.apimanagement.models.
ApiRevisionInfoContract
(*, source_api_id: Optional[str] = None, api_version_name: Optional[str] = None, api_revision_description: Optional[str] = None, api_version_set: Optional[ApiVersionSetContractDetails] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Object used to create an API Revision or Version based on an existing API Revision.
- Parameters
source_api_id (str) – Resource identifier of API to be used to create the revision from.
api_version_name (str) – Version identifier for the new API Version.
api_revision_description (str) – Description of new API Revision.
api_version_set (ApiVersionSetContractDetails) – Version set details.
-
class
azure.mgmt.apimanagement.models.
ApiTagResourceContractProperties
(*, description: Optional[str] = None, authentication_settings: Optional[AuthenticationSettingsContract] = None, subscription_key_parameter_names: Optional[SubscriptionKeyParameterNamesContract] = None, api_type: Union[str, ApiType, None] = None, api_revision: Optional[str] = None, api_version: Optional[str] = None, is_current: Optional[bool] = None, api_revision_description: Optional[str] = None, api_version_description: Optional[str] = None, api_version_set_id: Optional[str] = None, subscription_required: Optional[bool] = None, id: Optional[str] = None, name: Optional[str] = None, service_url: Optional[str] = None, path: Optional[str] = None, protocols: Optional[List[Union[str, Protocol]]] = None, **kwargs)[source]¶ Bases:
azure.mgmt.apimanagement.models._models_py3.ApiEntityBaseContract
API contract properties for the Tag Resources.
Variables are only populated by the server, and will be ignored when sending a request.
- Parameters
description (str) – Description of the API. May include HTML formatting tags.
authentication_settings (AuthenticationSettingsContract) – Collection of authentication settings included into this API.
subscription_key_parameter_names (SubscriptionKeyParameterNamesContract) – Protocols over which API is made available.
api_type (str or ApiType) – Type of API. Possible values include: “http”, “soap”.
api_revision (str) – Describes the Revision of the Api. If no value is provided, default revision 1 is created.
api_version (str) – Indicates the Version identifier of the API if the API is versioned.
is_current (bool) – Indicates if API revision is current api revision.
api_revision_description (str) – Description of the Api Revision.
api_version_description (str) – Description of the Api Version.
api_version_set_id (str) – A resource identifier for the related ApiVersionSet.
subscription_required (bool) – Specifies whether an API or Product subscription is required for accessing the API.
id (str) – API identifier in the form /apis/{apiId}.
name (str) – API name.
service_url (str) – Absolute URL of the backend service implementing this API.
path (str) – Relative URL uniquely identifying this API and all of its resource paths within the API Management service instance. It is appended to the API endpoint base URL specified during the service instance creation to form a public URL for this API.
protocols (list[str or Protocol]) – Describes on which protocols the operations in this API can be invoked.
- Variables
is_online (bool) – Indicates if API revision is accessible via the gateway.
-
class
azure.mgmt.apimanagement.models.
ApiUpdateContract
(*, description: Optional[str] = None, authentication_settings: Optional[AuthenticationSettingsContract] = None, subscription_key_parameter_names: Optional[SubscriptionKeyParameterNamesContract] = None, api_type: Union[str, ApiType, None] = None, api_revision: Optional[str] = None, api_version: Optional[str] = None, is_current: Optional[bool] = None, api_revision_description: Optional[str] = None, api_version_description: Optional[str] = None, api_version_set_id: Optional[str] = None, subscription_required: Optional[bool] = None, display_name: Optional[str] = None, service_url: Optional[str] = None, path: Optional[str] = None, protocols: Optional[List[Union[str, Protocol]]] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
API update contract details.
Variables are only populated by the server, and will be ignored when sending a request.
- Parameters
description (str) – Description of the API. May include HTML formatting tags.
authentication_settings (AuthenticationSettingsContract) – Collection of authentication settings included into this API.
subscription_key_parameter_names (SubscriptionKeyParameterNamesContract) – Protocols over which API is made available.
api_type (str or ApiType) – Type of API. Possible values include: “http”, “soap”.
api_revision (str) – Describes the Revision of the Api. If no value is provided, default revision 1 is created.
api_version (str) – Indicates the Version identifier of the API if the API is versioned.
is_current (bool) – Indicates if API revision is current api revision.
api_revision_description (str) – Description of the Api Revision.
api_version_description (str) – Description of the Api Version.
api_version_set_id (str) – A resource identifier for the related ApiVersionSet.
subscription_required (bool) – Specifies whether an API or Product subscription is required for accessing the API.
display_name (str) – API name.
service_url (str) – Absolute URL of the backend service implementing this API.
path (str) – Relative URL uniquely identifying this API and all of its resource paths within the API Management service instance. It is appended to the API endpoint base URL specified during the service instance creation to form a public URL for this API.
protocols (list[str or Protocol]) – Describes on which protocols the operations in this API can be invoked.
- Variables
is_online (bool) – Indicates if API revision is accessible via the gateway.
-
class
azure.mgmt.apimanagement.models.
ApiVersionConstraint
(*, min_api_version: Optional[str] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Control Plane Apis version constraint for the API Management service.
- Parameters
min_api_version (str) – Limit control plane API calls to API Management service with version equal to or newer than this value.
-
class
azure.mgmt.apimanagement.models.
ApiVersionSetCollection
(*, value: Optional[List[ApiVersionSetContract]] = None, next_link: Optional[str] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Paged Api Version Set list representation.
- Parameters
value (list[ApiVersionSetContract]) – Page values.
next_link (str) – Next page link if any.
-
class
azure.mgmt.apimanagement.models.
ApiVersionSetContract
(*, description: Optional[str] = None, version_query_name: Optional[str] = None, version_header_name: Optional[str] = None, display_name: Optional[str] = None, versioning_scheme: Union[str, VersioningScheme, None] = None, **kwargs)[source]¶ Bases:
azure.mgmt.apimanagement.models._models_py3.Resource
Api Version Set Contract details.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
- Parameters
description (str) – Description of API Version Set.
version_query_name (str) – Name of query parameter that indicates the API Version if versioningScheme is set to
query
.version_header_name (str) – Name of HTTP header parameter that indicates the API Version if versioningScheme is set to
header
.display_name (str) – Name of API Version Set.
versioning_scheme (str or VersioningScheme) – An value that determines where the API Version identifer will be located in a HTTP request. Possible values include: “Segment”, “Query”, “Header”.
-
class
azure.mgmt.apimanagement.models.
ApiVersionSetContractDetails
(*, id: Optional[str] = None, name: Optional[str] = None, description: Optional[str] = None, versioning_scheme: Union[str, ApiVersionSetContractDetailsVersioningScheme, None] = None, version_query_name: Optional[str] = None, version_header_name: Optional[str] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
An API Version Set contains the common configuration for a set of API Versions relating.
- Parameters
id (str) – Identifier for existing API Version Set. Omit this value to create a new Version Set.
name (str) – The display Name of the API Version Set.
description (str) – Description of API Version Set.
versioning_scheme (str or ApiVersionSetContractDetailsVersioningScheme) – An value that determines where the API Version identifer will be located in a HTTP request. Possible values include: “Segment”, “Query”, “Header”.
version_query_name (str) – Name of query parameter that indicates the API Version if versioningScheme is set to
query
.version_header_name (str) – Name of HTTP header parameter that indicates the API Version if versioningScheme is set to
header
.
-
class
azure.mgmt.apimanagement.models.
ApiVersionSetContractProperties
(*, display_name: str, versioning_scheme: Union[str, VersioningScheme], description: Optional[str] = None, version_query_name: Optional[str] = None, version_header_name: Optional[str] = None, **kwargs)[source]¶ Bases:
azure.mgmt.apimanagement.models._models_py3.ApiVersionSetEntityBase
Properties of an API Version Set.
All required parameters must be populated in order to send to Azure.
- Parameters
description (str) – Description of API Version Set.
version_query_name (str) – Name of query parameter that indicates the API Version if versioningScheme is set to
query
.version_header_name (str) – Name of HTTP header parameter that indicates the API Version if versioningScheme is set to
header
.display_name (str) – Required. Name of API Version Set.
versioning_scheme (str or VersioningScheme) – Required. An value that determines where the API Version identifer will be located in a HTTP request. Possible values include: “Segment”, “Query”, “Header”.
-
class
azure.mgmt.apimanagement.models.
ApiVersionSetEntityBase
(*, description: Optional[str] = None, version_query_name: Optional[str] = None, version_header_name: Optional[str] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Api Version set base parameters.
- Parameters
-
class
azure.mgmt.apimanagement.models.
ApiVersionSetUpdateParameters
(*, description: Optional[str] = None, version_query_name: Optional[str] = None, version_header_name: Optional[str] = None, display_name: Optional[str] = None, versioning_scheme: Union[str, VersioningScheme, None] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Parameters to update or create an Api Version Set Contract.
- Parameters
description (str) – Description of API Version Set.
version_query_name (str) – Name of query parameter that indicates the API Version if versioningScheme is set to
query
.version_header_name (str) – Name of HTTP header parameter that indicates the API Version if versioningScheme is set to
header
.display_name (str) – Name of API Version Set.
versioning_scheme (str or VersioningScheme) – An value that determines where the API Version identifer will be located in a HTTP request. Possible values include: “Segment”, “Query”, “Header”.
-
class
azure.mgmt.apimanagement.models.
ApiVersionSetUpdateParametersProperties
(*, description: Optional[str] = None, version_query_name: Optional[str] = None, version_header_name: Optional[str] = None, display_name: Optional[str] = None, versioning_scheme: Union[str, VersioningScheme, None] = None, **kwargs)[source]¶ Bases:
azure.mgmt.apimanagement.models._models_py3.ApiVersionSetEntityBase
Properties used to create or update an API Version Set.
- Parameters
description (str) – Description of API Version Set.
version_query_name (str) – Name of query parameter that indicates the API Version if versioningScheme is set to
query
.version_header_name (str) – Name of HTTP header parameter that indicates the API Version if versioningScheme is set to
header
.display_name (str) – Name of API Version Set.
versioning_scheme (str or VersioningScheme) – An value that determines where the API Version identifer will be located in a HTTP request. Possible values include: “Segment”, “Query”, “Header”.
-
class
azure.mgmt.apimanagement.models.
ApimResource
(*, tags: Optional[Dict[str, str]] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
The Resource definition.
Variables are only populated by the server, and will be ignored when sending a request.
-
class
azure.mgmt.apimanagement.models.
AssociationContract
(**kwargs)[source]¶ Bases:
azure.mgmt.apimanagement.models._models_py3.Resource
Association entity details.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
-
provisioning_state
= 'created'¶
-
class
azure.mgmt.apimanagement.models.
AuthenticationSettingsContract
(*, o_auth2: Optional[OAuth2AuthenticationSettingsContract] = None, openid: Optional[OpenIdAuthenticationSettingsContract] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
API Authentication Settings.
- Parameters
o_auth2 (OAuth2AuthenticationSettingsContract) – OAuth2 Authentication settings.
openid (OpenIdAuthenticationSettingsContract) – OpenID Connect Authentication Settings.
-
class
azure.mgmt.apimanagement.models.
AuthorizationServerCollection
(*, value: Optional[List[AuthorizationServerContract]] = None, count: Optional[int] = None, next_link: Optional[str] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Paged OAuth2 Authorization Servers list representation.
- Parameters
value (list[AuthorizationServerContract]) – Page values.
count (long) – Total record count number across all pages.
next_link (str) – Next page link if any.
-
class
azure.mgmt.apimanagement.models.
AuthorizationServerContract
(*, description: Optional[str] = None, authorization_methods: Optional[List[Union[str, AuthorizationMethod]]] = None, client_authentication_method: Optional[List[Union[str, ClientAuthenticationMethod]]] = None, token_body_parameters: Optional[List[TokenBodyParameterContract]] = None, token_endpoint: Optional[str] = None, support_state: Optional[bool] = None, default_scope: Optional[str] = None, bearer_token_sending_methods: Optional[List[Union[str, BearerTokenSendingMethod]]] = None, resource_owner_username: Optional[str] = None, resource_owner_password: Optional[str] = None, display_name: Optional[str] = None, client_registration_endpoint: Optional[str] = None, authorization_endpoint: Optional[str] = None, grant_types: Optional[List[Union[str, GrantType]]] = None, client_id: Optional[str] = None, client_secret: Optional[str] = None, **kwargs)[source]¶ Bases:
azure.mgmt.apimanagement.models._models_py3.Resource
External OAuth authorization server settings.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
- Parameters
description (str) – Description of the authorization server. Can contain HTML formatting tags.
authorization_methods (list[str or AuthorizationMethod]) – HTTP verbs supported by the authorization endpoint. GET must be always present. POST is optional.
client_authentication_method (list[str or ClientAuthenticationMethod]) – Method of authentication supported by the token endpoint of this authorization server. Possible values are Basic and/or Body. When Body is specified, client credentials and other parameters are passed within the request body in the application/x-www-form-urlencoded format.
token_body_parameters (list[TokenBodyParameterContract]) – Additional parameters required by the token endpoint of this authorization server represented as an array of JSON objects with name and value string properties, i.e. {“name” : “name value”, “value”: “a value”}.
token_endpoint (str) – OAuth token endpoint. Contains absolute URI to entity being referenced.
support_state (bool) – If true, authorization server will include state parameter from the authorization request to its response. Client may use state parameter to raise protocol security.
default_scope (str) – Access token scope that is going to be requested by default. Can be overridden at the API level. Should be provided in the form of a string containing space- delimited values.
bearer_token_sending_methods (list[str or BearerTokenSendingMethod]) – Specifies the mechanism by which access token is passed to the API.
resource_owner_username (str) – Can be optionally specified when resource owner password grant type is supported by this authorization server. Default resource owner username.
resource_owner_password (str) – Can be optionally specified when resource owner password grant type is supported by this authorization server. Default resource owner password.
display_name (str) – User-friendly authorization server name.
client_registration_endpoint (str) – Optional reference to a page where client or app registration for this authorization server is performed. Contains absolute URL to entity being referenced.
authorization_endpoint (str) – OAuth authorization endpoint. See http://tools.ietf.org/html/rfc6749#section-3.2.
grant_types (list[str or GrantType]) – Form of an authorization grant, which the client uses to request the access token.
client_id (str) – Client or app id registered with this authorization server.
client_secret (str) – Client or app secret registered with this authorization server. This property will not be filled on ‘GET’ operations! Use ‘/listSecrets’ POST request to get the value.
-
class
azure.mgmt.apimanagement.models.
AuthorizationServerContractBaseProperties
(*, description: Optional[str] = None, authorization_methods: Optional[List[Union[str, AuthorizationMethod]]] = None, client_authentication_method: Optional[List[Union[str, ClientAuthenticationMethod]]] = None, token_body_parameters: Optional[List[TokenBodyParameterContract]] = None, token_endpoint: Optional[str] = None, support_state: Optional[bool] = None, default_scope: Optional[str] = None, bearer_token_sending_methods: Optional[List[Union[str, BearerTokenSendingMethod]]] = None, resource_owner_username: Optional[str] = None, resource_owner_password: Optional[str] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
External OAuth authorization server Update settings contract.
- Parameters
description (str) – Description of the authorization server. Can contain HTML formatting tags.
authorization_methods (list[str or AuthorizationMethod]) – HTTP verbs supported by the authorization endpoint. GET must be always present. POST is optional.
client_authentication_method (list[str or ClientAuthenticationMethod]) – Method of authentication supported by the token endpoint of this authorization server. Possible values are Basic and/or Body. When Body is specified, client credentials and other parameters are passed within the request body in the application/x-www-form-urlencoded format.
token_body_parameters (list[TokenBodyParameterContract]) – Additional parameters required by the token endpoint of this authorization server represented as an array of JSON objects with name and value string properties, i.e. {“name” : “name value”, “value”: “a value”}.
token_endpoint (str) – OAuth token endpoint. Contains absolute URI to entity being referenced.
support_state (bool) – If true, authorization server will include state parameter from the authorization request to its response. Client may use state parameter to raise protocol security.
default_scope (str) – Access token scope that is going to be requested by default. Can be overridden at the API level. Should be provided in the form of a string containing space- delimited values.
bearer_token_sending_methods (list[str or BearerTokenSendingMethod]) – Specifies the mechanism by which access token is passed to the API.
resource_owner_username (str) – Can be optionally specified when resource owner password grant type is supported by this authorization server. Default resource owner username.
resource_owner_password (str) – Can be optionally specified when resource owner password grant type is supported by this authorization server. Default resource owner password.
-
class
azure.mgmt.apimanagement.models.
AuthorizationServerContractProperties
(*, display_name: str, client_registration_endpoint: str, authorization_endpoint: str, grant_types: List[Union[str, GrantType]], client_id: str, description: Optional[str] = None, authorization_methods: Optional[List[Union[str, AuthorizationMethod]]] = None, client_authentication_method: Optional[List[Union[str, ClientAuthenticationMethod]]] = None, token_body_parameters: Optional[List[TokenBodyParameterContract]] = None, token_endpoint: Optional[str] = None, support_state: Optional[bool] = None, default_scope: Optional[str] = None, bearer_token_sending_methods: Optional[List[Union[str, BearerTokenSendingMethod]]] = None, resource_owner_username: Optional[str] = None, resource_owner_password: Optional[str] = None, client_secret: Optional[str] = None, **kwargs)[source]¶ Bases:
azure.mgmt.apimanagement.models._models_py3.AuthorizationServerContractBaseProperties
External OAuth authorization server settings Properties.
All required parameters must be populated in order to send to Azure.
- Parameters
description (str) – Description of the authorization server. Can contain HTML formatting tags.
authorization_methods (list[str or AuthorizationMethod]) – HTTP verbs supported by the authorization endpoint. GET must be always present. POST is optional.
client_authentication_method (list[str or ClientAuthenticationMethod]) – Method of authentication supported by the token endpoint of this authorization server. Possible values are Basic and/or Body. When Body is specified, client credentials and other parameters are passed within the request body in the application/x-www-form-urlencoded format.
token_body_parameters (list[TokenBodyParameterContract]) – Additional parameters required by the token endpoint of this authorization server represented as an array of JSON objects with name and value string properties, i.e. {“name” : “name value”, “value”: “a value”}.
token_endpoint (str) – OAuth token endpoint. Contains absolute URI to entity being referenced.
support_state (bool) – If true, authorization server will include state parameter from the authorization request to its response. Client may use state parameter to raise protocol security.
default_scope (str) – Access token scope that is going to be requested by default. Can be overridden at the API level. Should be provided in the form of a string containing space- delimited values.
bearer_token_sending_methods (list[str or BearerTokenSendingMethod]) – Specifies the mechanism by which access token is passed to the API.
resource_owner_username (str) – Can be optionally specified when resource owner password grant type is supported by this authorization server. Default resource owner username.
resource_owner_password (str) – Can be optionally specified when resource owner password grant type is supported by this authorization server. Default resource owner password.
display_name (str) – Required. User-friendly authorization server name.
client_registration_endpoint (str) – Required. Optional reference to a page where client or app registration for this authorization server is performed. Contains absolute URL to entity being referenced.
authorization_endpoint (str) – Required. OAuth authorization endpoint. See http://tools.ietf.org/html/rfc6749#section-3.2.
grant_types (list[str or GrantType]) – Required. Form of an authorization grant, which the client uses to request the access token.
client_id (str) – Required. Client or app id registered with this authorization server.
client_secret (str) – Client or app secret registered with this authorization server. This property will not be filled on ‘GET’ operations! Use ‘/listSecrets’ POST request to get the value.
-
class
azure.mgmt.apimanagement.models.
AuthorizationServerSecretsContract
(*, client_secret: Optional[str] = None, resource_owner_username: Optional[str] = None, resource_owner_password: Optional[str] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
OAuth Server Secrets Contract.
- Parameters
client_secret (str) – oAuth Authorization Server Secrets.
resource_owner_username (str) – Can be optionally specified when resource owner password grant type is supported by this authorization server. Default resource owner username.
resource_owner_password (str) – Can be optionally specified when resource owner password grant type is supported by this authorization server. Default resource owner password.
-
class
azure.mgmt.apimanagement.models.
AuthorizationServerUpdateContract
(*, description: Optional[str] = None, authorization_methods: Optional[List[Union[str, AuthorizationMethod]]] = None, client_authentication_method: Optional[List[Union[str, ClientAuthenticationMethod]]] = None, token_body_parameters: Optional[List[TokenBodyParameterContract]] = None, token_endpoint: Optional[str] = None, support_state: Optional[bool] = None, default_scope: Optional[str] = None, bearer_token_sending_methods: Optional[List[Union[str, BearerTokenSendingMethod]]] = None, resource_owner_username: Optional[str] = None, resource_owner_password: Optional[str] = None, display_name: Optional[str] = None, client_registration_endpoint: Optional[str] = None, authorization_endpoint: Optional[str] = None, grant_types: Optional[List[Union[str, GrantType]]] = None, client_id: Optional[str] = None, client_secret: Optional[str] = None, **kwargs)[source]¶ Bases:
azure.mgmt.apimanagement.models._models_py3.Resource
External OAuth authorization server settings.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
- Parameters
description (str) – Description of the authorization server. Can contain HTML formatting tags.
authorization_methods (list[str or AuthorizationMethod]) – HTTP verbs supported by the authorization endpoint. GET must be always present. POST is optional.
client_authentication_method (list[str or ClientAuthenticationMethod]) – Method of authentication supported by the token endpoint of this authorization server. Possible values are Basic and/or Body. When Body is specified, client credentials and other parameters are passed within the request body in the application/x-www-form-urlencoded format.
token_body_parameters (list[TokenBodyParameterContract]) – Additional parameters required by the token endpoint of this authorization server represented as an array of JSON objects with name and value string properties, i.e. {“name” : “name value”, “value”: “a value”}.
token_endpoint (str) – OAuth token endpoint. Contains absolute URI to entity being referenced.
support_state (bool) – If true, authorization server will include state parameter from the authorization request to its response. Client may use state parameter to raise protocol security.
default_scope (str) – Access token scope that is going to be requested by default. Can be overridden at the API level. Should be provided in the form of a string containing space- delimited values.
bearer_token_sending_methods (list[str or BearerTokenSendingMethod]) – Specifies the mechanism by which access token is passed to the API.
resource_owner_username (str) – Can be optionally specified when resource owner password grant type is supported by this authorization server. Default resource owner username.
resource_owner_password (str) – Can be optionally specified when resource owner password grant type is supported by this authorization server. Default resource owner password.
display_name (str) – User-friendly authorization server name.
client_registration_endpoint (str) – Optional reference to a page where client or app registration for this authorization server is performed. Contains absolute URL to entity being referenced.
authorization_endpoint (str) – OAuth authorization endpoint. See http://tools.ietf.org/html/rfc6749#section-3.2.
grant_types (list[str or GrantType]) – Form of an authorization grant, which the client uses to request the access token.
client_id (str) – Client or app id registered with this authorization server.
client_secret (str) – Client or app secret registered with this authorization server. This property will not be filled on ‘GET’ operations! Use ‘/listSecrets’ POST request to get the value.
-
class
azure.mgmt.apimanagement.models.
AuthorizationServerUpdateContractProperties
(*, description: Optional[str] = None, authorization_methods: Optional[List[Union[str, AuthorizationMethod]]] = None, client_authentication_method: Optional[List[Union[str, ClientAuthenticationMethod]]] = None, token_body_parameters: Optional[List[TokenBodyParameterContract]] = None, token_endpoint: Optional[str] = None, support_state: Optional[bool] = None, default_scope: Optional[str] = None, bearer_token_sending_methods: Optional[List[Union[str, BearerTokenSendingMethod]]] = None, resource_owner_username: Optional[str] = None, resource_owner_password: Optional[str] = None, display_name: Optional[str] = None, client_registration_endpoint: Optional[str] = None, authorization_endpoint: Optional[str] = None, grant_types: Optional[List[Union[str, GrantType]]] = None, client_id: Optional[str] = None, client_secret: Optional[str] = None, **kwargs)[source]¶ Bases:
azure.mgmt.apimanagement.models._models_py3.AuthorizationServerContractBaseProperties
External OAuth authorization server Update settings contract.
- Parameters
description (str) – Description of the authorization server. Can contain HTML formatting tags.
authorization_methods (list[str or AuthorizationMethod]) – HTTP verbs supported by the authorization endpoint. GET must be always present. POST is optional.
client_authentication_method (list[str or ClientAuthenticationMethod]) – Method of authentication supported by the token endpoint of this authorization server. Possible values are Basic and/or Body. When Body is specified, client credentials and other parameters are passed within the request body in the application/x-www-form-urlencoded format.
token_body_parameters (list[TokenBodyParameterContract]) – Additional parameters required by the token endpoint of this authorization server represented as an array of JSON objects with name and value string properties, i.e. {“name” : “name value”, “value”: “a value”}.
token_endpoint (str) – OAuth token endpoint. Contains absolute URI to entity being referenced.
support_state (bool) – If true, authorization server will include state parameter from the authorization request to its response. Client may use state parameter to raise protocol security.
default_scope (str) – Access token scope that is going to be requested by default. Can be overridden at the API level. Should be provided in the form of a string containing space- delimited values.
bearer_token_sending_methods (list[str or BearerTokenSendingMethod]) – Specifies the mechanism by which access token is passed to the API.
resource_owner_username (str) – Can be optionally specified when resource owner password grant type is supported by this authorization server. Default resource owner username.
resource_owner_password (str) – Can be optionally specified when resource owner password grant type is supported by this authorization server. Default resource owner password.
display_name (str) – User-friendly authorization server name.
client_registration_endpoint (str) – Optional reference to a page where client or app registration for this authorization server is performed. Contains absolute URL to entity being referenced.
authorization_endpoint (str) – OAuth authorization endpoint. See http://tools.ietf.org/html/rfc6749#section-3.2.
grant_types (list[str or GrantType]) – Form of an authorization grant, which the client uses to request the access token.
client_id (str) – Client or app id registered with this authorization server.
client_secret (str) – Client or app secret registered with this authorization server. This property will not be filled on ‘GET’ operations! Use ‘/listSecrets’ POST request to get the value.
-
class
azure.mgmt.apimanagement.models.
BackendAuthorizationHeaderCredentials
(*, scheme: str, parameter: str, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Authorization header information.
All required parameters must be populated in order to send to Azure.
-
class
azure.mgmt.apimanagement.models.
BackendBaseParameters
(*, title: Optional[str] = None, description: Optional[str] = None, resource_id: Optional[str] = None, properties: Optional[BackendProperties] = None, credentials: Optional[BackendCredentialsContract] = None, proxy: Optional[BackendProxyContract] = None, tls: Optional[BackendTlsProperties] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Backend entity base Parameter set.
- Parameters
title (str) – Backend Title.
description (str) – Backend Description.
resource_id (str) – Management Uri of the Resource in External System. This url can be the Arm Resource Id of Logic Apps, Function Apps or Api Apps.
properties (BackendProperties) – Backend Properties contract.
credentials (BackendCredentialsContract) – Backend Credentials Contract Properties.
proxy (BackendProxyContract) – Backend Proxy Contract Properties.
tls (BackendTlsProperties) – Backend TLS Properties.
-
class
azure.mgmt.apimanagement.models.
BackendCollection
(*, value: Optional[List[BackendContract]] = None, next_link: Optional[str] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Paged Backend list representation.
- Parameters
value (list[BackendContract]) – Backend values.
next_link (str) – Next page link if any.
-
class
azure.mgmt.apimanagement.models.
BackendContract
(*, title: Optional[str] = None, description: Optional[str] = None, resource_id: Optional[str] = None, properties: Optional[BackendProperties] = None, credentials: Optional[BackendCredentialsContract] = None, proxy: Optional[BackendProxyContract] = None, tls: Optional[BackendTlsProperties] = None, url: Optional[str] = None, protocol: Union[str, BackendProtocol, None] = None, **kwargs)[source]¶ Bases:
azure.mgmt.apimanagement.models._models_py3.Resource
Backend details.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
- Parameters
title (str) – Backend Title.
description (str) – Backend Description.
resource_id (str) – Management Uri of the Resource in External System. This url can be the Arm Resource Id of Logic Apps, Function Apps or Api Apps.
properties (BackendProperties) – Backend Properties contract.
credentials (BackendCredentialsContract) – Backend Credentials Contract Properties.
proxy (BackendProxyContract) – Backend Proxy Contract Properties.
tls (BackendTlsProperties) – Backend TLS Properties.
url (str) – Runtime Url of the Backend.
protocol (str or BackendProtocol) – Backend communication protocol. Possible values include: “http”, “soap”.
-
class
azure.mgmt.apimanagement.models.
BackendContractProperties
(*, url: str, protocol: Union[str, BackendProtocol], title: Optional[str] = None, description: Optional[str] = None, resource_id: Optional[str] = None, properties: Optional[BackendProperties] = None, credentials: Optional[BackendCredentialsContract] = None, proxy: Optional[BackendProxyContract] = None, tls: Optional[BackendTlsProperties] = None, **kwargs)[source]¶ Bases:
azure.mgmt.apimanagement.models._models_py3.BackendBaseParameters
Parameters supplied to the Create Backend operation.
All required parameters must be populated in order to send to Azure.
- Parameters
title (str) – Backend Title.
description (str) – Backend Description.
resource_id (str) – Management Uri of the Resource in External System. This url can be the Arm Resource Id of Logic Apps, Function Apps or Api Apps.
properties (BackendProperties) – Backend Properties contract.
credentials (BackendCredentialsContract) – Backend Credentials Contract Properties.
proxy (BackendProxyContract) – Backend Proxy Contract Properties.
tls (BackendTlsProperties) – Backend TLS Properties.
url (str) – Required. Runtime Url of the Backend.
protocol (str or BackendProtocol) – Required. Backend communication protocol. Possible values include: “http”, “soap”.
-
class
azure.mgmt.apimanagement.models.
BackendCredentialsContract
(*, certificate: Optional[List[str]] = None, query: Optional[Dict[str, List[str]]] = None, header: Optional[Dict[str, List[str]]] = None, authorization: Optional[BackendAuthorizationHeaderCredentials] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Details of the Credentials used to connect to Backend.
-
class
azure.mgmt.apimanagement.models.
BackendProperties
(*, service_fabric_cluster: Optional[BackendServiceFabricClusterProperties] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Properties specific to the Backend Type.
- Parameters
service_fabric_cluster (BackendServiceFabricClusterProperties) – Backend Service Fabric Cluster Properties.
-
class
azure.mgmt.apimanagement.models.
BackendProxyContract
(*, url: str, username: Optional[str] = None, password: Optional[str] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Details of the Backend WebProxy Server to use in the Request to Backend.
All required parameters must be populated in order to send to Azure.
-
class
azure.mgmt.apimanagement.models.
BackendReconnectContract
(*, after: Optional[datetime.timedelta] = None, **kwargs)[source]¶ Bases:
azure.mgmt.apimanagement.models._models_py3.Resource
Reconnect request parameters.
Variables are only populated by the server, and will be ignored when sending a request.
-
class
azure.mgmt.apimanagement.models.
BackendServiceFabricClusterProperties
(*, client_certificatethumbprint: str, management_endpoints: List[str], max_partition_resolution_retries: Optional[int] = None, server_certificate_thumbprints: Optional[List[str]] = None, server_x509_names: Optional[List[X509CertificateName]] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Properties of the Service Fabric Type Backend.
All required parameters must be populated in order to send to Azure.
- Parameters
client_certificatethumbprint (str) – Required. The client certificate thumbprint for the management endpoint.
max_partition_resolution_retries (int) – Maximum number of retries while attempting resolve the partition.
management_endpoints (list[str]) – Required. The cluster management endpoint.
server_certificate_thumbprints (list[str]) – Thumbprints of certificates cluster management service uses for tls communication.
server_x509_names (list[X509CertificateName]) – Server X509 Certificate Names Collection.
-
class
azure.mgmt.apimanagement.models.
BackendTlsProperties
(*, validate_certificate_chain: Optional[bool] = True, validate_certificate_name: Optional[bool] = True, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Properties controlling TLS Certificate Validation.
- Parameters
validate_certificate_chain (bool) – Flag indicating whether SSL certificate chain validation should be done when using self-signed certificates for this backend host.
validate_certificate_name (bool) – Flag indicating whether SSL certificate name validation should be done when using self-signed certificates for this backend host.
-
class
azure.mgmt.apimanagement.models.
BackendUpdateParameterProperties
(*, title: Optional[str] = None, description: Optional[str] = None, resource_id: Optional[str] = None, properties: Optional[BackendProperties] = None, credentials: Optional[BackendCredentialsContract] = None, proxy: Optional[BackendProxyContract] = None, tls: Optional[BackendTlsProperties] = None, url: Optional[str] = None, protocol: Union[str, BackendProtocol, None] = None, **kwargs)[source]¶ Bases:
azure.mgmt.apimanagement.models._models_py3.BackendBaseParameters
Parameters supplied to the Update Backend operation.
- Parameters
title (str) – Backend Title.
description (str) – Backend Description.
resource_id (str) – Management Uri of the Resource in External System. This url can be the Arm Resource Id of Logic Apps, Function Apps or Api Apps.
properties (BackendProperties) – Backend Properties contract.
credentials (BackendCredentialsContract) – Backend Credentials Contract Properties.
proxy (BackendProxyContract) – Backend Proxy Contract Properties.
tls (BackendTlsProperties) – Backend TLS Properties.
url (str) – Runtime Url of the Backend.
protocol (str or BackendProtocol) – Backend communication protocol. Possible values include: “http”, “soap”.
-
class
azure.mgmt.apimanagement.models.
BackendUpdateParameters
(*, title: Optional[str] = None, description: Optional[str] = None, resource_id: Optional[str] = None, properties: Optional[BackendProperties] = None, credentials: Optional[BackendCredentialsContract] = None, proxy: Optional[BackendProxyContract] = None, tls: Optional[BackendTlsProperties] = None, url: Optional[str] = None, protocol: Union[str, BackendProtocol, None] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Backend update parameters.
- Parameters
title (str) – Backend Title.
description (str) – Backend Description.
resource_id (str) – Management Uri of the Resource in External System. This url can be the Arm Resource Id of Logic Apps, Function Apps or Api Apps.
properties (BackendProperties) – Backend Properties contract.
credentials (BackendCredentialsContract) – Backend Credentials Contract Properties.
proxy (BackendProxyContract) – Backend Proxy Contract Properties.
tls (BackendTlsProperties) – Backend TLS Properties.
url (str) – Runtime Url of the Backend.
protocol (str or BackendProtocol) – Backend communication protocol. Possible values include: “http”, “soap”.
-
class
azure.mgmt.apimanagement.models.
BodyDiagnosticSettings
(*, bytes: Optional[int] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Body logging settings.
- Parameters
bytes (int) – Number of request body bytes to log.
-
class
azure.mgmt.apimanagement.models.
CacheCollection
(*, value: Optional[List[CacheContract]] = None, next_link: Optional[str] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Paged Caches list representation.
- Parameters
value (list[CacheContract]) – Page values.
next_link (str) – Next page link if any.
-
class
azure.mgmt.apimanagement.models.
CacheContract
(*, description: Optional[str] = None, connection_string: Optional[str] = None, use_from_location: Optional[str] = None, resource_id: Optional[str] = None, **kwargs)[source]¶ Bases:
azure.mgmt.apimanagement.models._models_py3.Resource
Cache details.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
- Parameters
description (str) – Cache description.
connection_string (str) – Runtime connection string to cache.
use_from_location (str) – Location identifier to use cache from (should be either ‘default’ or valid Azure region identifier).
resource_id (str) – Original uri of entity in external system cache points to.
-
class
azure.mgmt.apimanagement.models.
CacheUpdateParameters
(*, description: Optional[str] = None, connection_string: Optional[str] = None, use_from_location: Optional[str] = None, resource_id: Optional[str] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Cache update details.
- Parameters
description (str) – Cache description.
connection_string (str) – Runtime connection string to cache.
use_from_location (str) – Location identifier to use cache from (should be either ‘default’ or valid Azure region identifier).
resource_id (str) – Original uri of entity in external system cache points to.
-
class
azure.mgmt.apimanagement.models.
CertificateCollection
(*, value: Optional[List[CertificateContract]] = None, next_link: Optional[str] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Paged Certificates list representation.
- Parameters
value (list[CertificateContract]) – Page values.
next_link (str) – Next page link if any.
-
class
azure.mgmt.apimanagement.models.
CertificateConfiguration
(*, store_name: Union[str, CertificateConfigurationStoreName], encoded_certificate: Optional[str] = None, certificate_password: Optional[str] = None, certificate: Optional[CertificateInformation] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Certificate configuration which consist of non-trusted intermediates and root certificates.
All required parameters must be populated in order to send to Azure.
- Parameters
encoded_certificate (str) – Base64 Encoded certificate.
certificate_password (str) – Certificate Password.
store_name (str or CertificateConfigurationStoreName) – Required. The System.Security.Cryptography.x509certificates.StoreName certificate store location. Only Root and CertificateAuthority are valid locations. Possible values include: “CertificateAuthority”, “Root”.
certificate (CertificateInformation) – Certificate information.
-
class
azure.mgmt.apimanagement.models.
CertificateContract
(*, subject: Optional[str] = None, thumbprint: Optional[str] = None, expiration_date: Optional[datetime.datetime] = None, key_vault: Optional[KeyVaultContractProperties] = None, **kwargs)[source]¶ Bases:
azure.mgmt.apimanagement.models._models_py3.Resource
Certificate details.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
- Parameters
subject (str) – Subject attribute of the certificate.
thumbprint (str) – Thumbprint of the certificate.
expiration_date (datetime) – Expiration date of the certificate. The date conforms to the following format:
yyyy-MM-ddTHH:mm:ssZ
as specified by the ISO 8601 standard.key_vault (KeyVaultContractProperties) – KeyVault location details of the certificate.
-
class
azure.mgmt.apimanagement.models.
CertificateCreateOrUpdateParameters
(*, data: Optional[str] = None, password: Optional[str] = None, key_vault: Optional[KeyVaultContractCreateProperties] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Certificate create or update details.
- Parameters
data (str) – Base 64 encoded certificate using the application/x-pkcs12 representation.
password (str) – Password for the Certificate.
key_vault (KeyVaultContractCreateProperties) – KeyVault location details of the certificate.
-
class
azure.mgmt.apimanagement.models.
CertificateInformation
(*, expiry: datetime.datetime, thumbprint: str, subject: str, **kwargs)[source]¶ Bases:
msrest.serialization.Model
SSL certificate information.
All required parameters must be populated in order to send to Azure.
-
class
azure.mgmt.apimanagement.models.
ClientSecretContract
(*, client_secret: Optional[str] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Client or app secret used in IdentityProviders, Aad, OpenID or OAuth.
- Parameters
client_secret (str) – Client or app secret used in IdentityProviders, Aad, OpenID or OAuth.
-
class
azure.mgmt.apimanagement.models.
ConnectivityStatusContract
(*, name: str, status: Union[str, ConnectivityStatusType], last_updated: datetime.datetime, last_status_change: datetime.datetime, resource_type: str, is_optional: bool, error: Optional[str] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Details about connectivity to a resource.
All required parameters must be populated in order to send to Azure.
- Parameters
name (str) – Required. The hostname of the resource which the service depends on. This can be the database, storage or any other azure resource on which the service depends upon.
status (str or ConnectivityStatusType) – Required. Resource Connectivity Status Type identifier. Possible values include: “initializing”, “success”, “failure”.
error (str) – Error details of the connectivity to the resource.
last_updated (datetime) – Required. The date when the resource connectivity status was last updated. This status should be updated every 15 minutes. If this status has not been updated, then it means that the service has lost network connectivity to the resource, from inside the Virtual Network.The date conforms to the following format:
yyyy-MM-ddTHH:mm:ssZ
as specified by the ISO 8601 standard.last_status_change (datetime) – Required. The date when the resource connectivity status last Changed from success to failure or vice-versa. The date conforms to the following format:
yyyy-MM-ddTHH:mm:ssZ
as specified by the ISO 8601 standard.resource_type (str) – Required. Resource Type.
is_optional (bool) – Required. Whether this is optional.
-
class
azure.mgmt.apimanagement.models.
ContentItemCollection
(**kwargs)[source]¶ Bases:
msrest.serialization.Model
Paged list of content items.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
value (list[ContentItemContract]) – Collection of content items.
next_link (str) – Next page link, if any.
-
class
azure.mgmt.apimanagement.models.
ContentItemContract
(*, properties: Optional[Dict[str, object]] = None, **kwargs)[source]¶ Bases:
azure.mgmt.apimanagement.models._models_py3.Resource
Content type contract details.
Variables are only populated by the server, and will be ignored when sending a request.
-
class
azure.mgmt.apimanagement.models.
ContentTypeCollection
(**kwargs)[source]¶ Bases:
msrest.serialization.Model
Paged list of content types.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
value (list[ContentTypeContract]) – Collection of content types.
next_link (str) – Next page link, if any.
-
class
azure.mgmt.apimanagement.models.
ContentTypeContract
(*, id_properties_id: Optional[str] = None, name_properties_name: Optional[str] = None, description: Optional[str] = None, schema: object = None, version: Optional[str] = None, **kwargs)[source]¶ Bases:
azure.mgmt.apimanagement.models._models_py3.Resource
Content type contract details.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
- Parameters
-
class
azure.mgmt.apimanagement.models.
DataMasking
(*, query_params: Optional[List[DataMaskingEntity]] = None, headers: Optional[List[DataMaskingEntity]] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
DataMasking.
- Parameters
query_params (list[DataMaskingEntity]) – Masking settings for Url query parameters.
headers (list[DataMaskingEntity]) – Masking settings for headers.
-
class
azure.mgmt.apimanagement.models.
DataMaskingEntity
(*, value: Optional[str] = None, mode: Union[str, DataMaskingMode, None] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
DataMaskingEntity.
- Parameters
value (str) – The name of an entity to mask (e.g. a name of a header or a query parameter).
mode (str or DataMaskingMode) – Data masking mode. Possible values include: “Mask”, “Hide”.
-
class
azure.mgmt.apimanagement.models.
DeletedServiceContract
(*, service_id: Optional[str] = None, scheduled_purge_date: Optional[datetime.datetime] = None, deletion_date: Optional[datetime.datetime] = None, **kwargs)[source]¶ Bases:
azure.mgmt.apimanagement.models._models_py3.Resource
Deleted Api Management Service information.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
- Parameters
service_id (str) – Fully-qualified API Management Service Resource ID.
scheduled_purge_date (datetime) – UTC Date and Time when the service will be automatically purged. The date conforms to the following format: yyyy-MM-ddTHH:mm:ssZ as specified by the ISO 8601 standard.
deletion_date (datetime) – UTC Timestamp when the service was soft-deleted. The date conforms to the following format: yyyy-MM-ddTHH:mm:ssZ as specified by the ISO 8601 standard.
-
class
azure.mgmt.apimanagement.models.
DeletedServicesCollection
(**kwargs)[source]¶ Bases:
msrest.serialization.Model
Paged deleted Api Management Services List Representation.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
value (list[DeletedServiceContract]) – Page values.
next_link (str) – Next page link if any.
-
class
azure.mgmt.apimanagement.models.
DeployConfigurationParameters
(*, branch: Optional[str] = None, force: Optional[bool] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Deploy Tenant Configuration Contract.
-
class
azure.mgmt.apimanagement.models.
DiagnosticCollection
(*, value: Optional[List[DiagnosticContract]] = None, next_link: Optional[str] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Paged Diagnostic list representation.
- Parameters
value (list[DiagnosticContract]) – Page values.
next_link (str) – Next page link if any.
-
class
azure.mgmt.apimanagement.models.
DiagnosticContract
(*, always_log: Union[str, AlwaysLog, None] = None, logger_id: Optional[str] = None, sampling: Optional[SamplingSettings] = None, frontend: Optional[PipelineDiagnosticSettings] = None, backend: Optional[PipelineDiagnosticSettings] = None, log_client_ip: Optional[bool] = None, http_correlation_protocol: Union[str, HttpCorrelationProtocol, None] = None, verbosity: Union[str, Verbosity, None] = None, operation_name_format: Union[str, OperationNameFormat, None] = None, **kwargs)[source]¶ Bases:
azure.mgmt.apimanagement.models._models_py3.Resource
Diagnostic details.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
- Parameters
always_log (str or AlwaysLog) – Specifies for what type of messages sampling settings should not apply. Possible values include: “allErrors”.
logger_id (str) – Resource Id of a target logger.
sampling (SamplingSettings) – Sampling settings for Diagnostic.
frontend (PipelineDiagnosticSettings) – Diagnostic settings for incoming/outgoing HTTP messages to the Gateway.
backend (PipelineDiagnosticSettings) – Diagnostic settings for incoming/outgoing HTTP messages to the Backend.
log_client_ip (bool) – Log the ClientIP. Default is false.
http_correlation_protocol (str or HttpCorrelationProtocol) – Sets correlation protocol to use for Application Insights diagnostics. Possible values include: “None”, “Legacy”, “W3C”.
verbosity (str or Verbosity) – The verbosity level applied to traces emitted by trace policies. Possible values include: “verbose”, “information”, “error”.
operation_name_format (str or OperationNameFormat) – The format of the Operation Name for Application Insights telemetries. Default is Name. Possible values include: “Name”, “Url”.
-
class
azure.mgmt.apimanagement.models.
EmailTemplateCollection
(*, value: Optional[List[EmailTemplateContract]] = None, next_link: Optional[str] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Paged email template list representation.
- Parameters
value (list[EmailTemplateContract]) – Page values.
next_link (str) – Next page link if any.
-
class
azure.mgmt.apimanagement.models.
EmailTemplateContract
(*, subject: Optional[str] = None, body: Optional[str] = None, title: Optional[str] = None, description: Optional[str] = None, parameters: Optional[List[EmailTemplateParametersContractProperties]] = None, **kwargs)[source]¶ Bases:
azure.mgmt.apimanagement.models._models_py3.Resource
Email Template details.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
- Parameters
-
class
azure.mgmt.apimanagement.models.
EmailTemplateParametersContractProperties
(*, name: Optional[str] = None, title: Optional[str] = None, description: Optional[str] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Email Template Parameter contract.
-
class
azure.mgmt.apimanagement.models.
EmailTemplateUpdateParameters
(*, subject: Optional[str] = None, title: Optional[str] = None, description: Optional[str] = None, body: Optional[str] = None, parameters: Optional[List[EmailTemplateParametersContractProperties]] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Email Template update Parameters.
- Parameters
-
class
azure.mgmt.apimanagement.models.
ErrorFieldContract
(*, code: Optional[str] = None, message: Optional[str] = None, target: Optional[str] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Error Field contract.
-
class
azure.mgmt.apimanagement.models.
ErrorResponse
(*, code: Optional[str] = None, message: Optional[str] = None, details: Optional[List[ErrorFieldContract]] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Error Response.
- Parameters
code (str) – Service-defined error code. This code serves as a sub-status for the HTTP error code specified in the response.
message (str) – Human-readable representation of the error.
details (list[ErrorFieldContract]) – The list of invalid fields send in request, in case of validation error.
-
class
azure.mgmt.apimanagement.models.
ErrorResponseBody
(*, code: Optional[str] = None, message: Optional[str] = None, details: Optional[List[ErrorFieldContract]] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Error Body contract.
- Parameters
code (str) – Service-defined error code. This code serves as a sub-status for the HTTP error code specified in the response.
message (str) – Human-readable representation of the error.
details (list[ErrorFieldContract]) – The list of invalid fields send in request, in case of validation error.
-
class
azure.mgmt.apimanagement.models.
GatewayCollection
(**kwargs)[source]¶ Bases:
msrest.serialization.Model
Paged Gateway list representation.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
value (list[GatewayContract]) – Page values.
next_link (str) – Next page link if any.
-
class
azure.mgmt.apimanagement.models.
GatewayContract
(*, location_data: Optional[ResourceLocationDataContract] = None, description: Optional[str] = None, **kwargs)[source]¶ Bases:
azure.mgmt.apimanagement.models._models_py3.Resource
Gateway details.
Variables are only populated by the server, and will be ignored when sending a request.
-
class
azure.mgmt.apimanagement.models.
GatewayHostnameConfigurationCollection
(**kwargs)[source]¶ Bases:
msrest.serialization.Model
Paged Gateway hostname configuration list representation.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
value (list[GatewayHostnameConfigurationContract]) – Page values.
next_link (str) – Next page link if any.
-
class
azure.mgmt.apimanagement.models.
GatewayHostnameConfigurationContract
(*, hostname: Optional[str] = None, certificate_id: Optional[str] = None, negotiate_client_certificate: Optional[bool] = None, tls10_enabled: Optional[bool] = None, tls11_enabled: Optional[bool] = None, http2_enabled: Optional[bool] = None, **kwargs)[source]¶ Bases:
azure.mgmt.apimanagement.models._models_py3.Resource
Gateway hostname configuration details.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
- Parameters
hostname (str) – Hostname value. Supports valid domain name, partial or full wildcard.
certificate_id (str) – Identifier of Certificate entity that will be used for TLS connection establishment.
negotiate_client_certificate (bool) – Determines whether gateway requests client certificate.
tls10_enabled (bool) – Specifies if TLS 1.0 is supported.
tls11_enabled (bool) – Specifies if TLS 1.1 is supported.
http2_enabled (bool) – Specifies if HTTP/2.0 is supported.
-
class
azure.mgmt.apimanagement.models.
GatewayKeyRegenerationRequestContract
(*, key_type: Union[str, KeyType], **kwargs)[source]¶ Bases:
msrest.serialization.Model
Gateway key regeneration request contract properties.
All required parameters must be populated in order to send to Azure.
-
class
azure.mgmt.apimanagement.models.
GatewayKeysContract
(*, primary: Optional[str] = None, secondary: Optional[str] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Gateway authentication keys.
-
class
azure.mgmt.apimanagement.models.
GatewayTokenContract
(*, value: Optional[str] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Gateway access token.
- Parameters
value (str) – Shared Access Authentication token value for the Gateway.
-
class
azure.mgmt.apimanagement.models.
GatewayTokenRequestContract
(*, key_type: Union[str, KeyType], expiry: datetime.datetime, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Gateway token request contract properties.
All required parameters must be populated in order to send to Azure.
- Parameters
key_type (str or KeyType) – Required. The Key to be used to generate gateway token. Possible values include: “primary”, “secondary”.
expiry (datetime) – Required. The Expiry time of the Token. Maximum token expiry time is set to 30 days. The date conforms to the following format:
yyyy-MM-ddTHH:mm:ssZ
as specified by the ISO 8601 standard.
-
class
azure.mgmt.apimanagement.models.
GenerateSsoUrlResult
(*, value: Optional[str] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Generate SSO Url operations response details.
- Parameters
value (str) – Redirect Url containing the SSO URL value.
-
class
azure.mgmt.apimanagement.models.
GroupCollection
(*, value: Optional[List[GroupContract]] = None, next_link: Optional[str] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Paged Group list representation.
- Parameters
value (list[GroupContract]) – Page values.
next_link (str) – Next page link if any.
-
class
azure.mgmt.apimanagement.models.
GroupContract
(*, display_name: Optional[str] = None, description: Optional[str] = None, type_properties_type: Union[str, GroupType, None] = None, external_id: Optional[str] = None, **kwargs)[source]¶ Bases:
azure.mgmt.apimanagement.models._models_py3.Resource
Contract details.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
- Parameters
display_name (str) – Group name.
description (str) – Group description. Can contain HTML formatting tags.
type_properties_type (str or GroupType) – Group type. Possible values include: “custom”, “system”, “external”.
external_id (str) – For external groups, this property contains the id of the group from the external identity provider, e.g. for Azure Active Directory
aad://<tenant>.onmicrosoft.com/groups/<group object id>
; otherwise the value is null.
-
class
azure.mgmt.apimanagement.models.
GroupContractProperties
(*, display_name: str, description: Optional[str] = None, type: Union[str, GroupType, None] = None, external_id: Optional[str] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Group contract Properties.
Variables are only populated by the server, and will be ignored when sending a request.
All required parameters must be populated in order to send to Azure.
- Parameters
display_name (str) – Required. Group name.
description (str) – Group description. Can contain HTML formatting tags.
type (str or GroupType) – Group type. Possible values include: “custom”, “system”, “external”.
external_id (str) – For external groups, this property contains the id of the group from the external identity provider, e.g. for Azure Active Directory
aad://<tenant>.onmicrosoft.com/groups/<group object id>
; otherwise the value is null.
- Variables
built_in (bool) – true if the group is one of the three system groups (Administrators, Developers, or Guests); otherwise false.
-
class
azure.mgmt.apimanagement.models.
GroupCreateParameters
(*, display_name: Optional[str] = None, description: Optional[str] = None, type: Union[str, GroupType, None] = None, external_id: Optional[str] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Parameters supplied to the Create Group operation.
- Parameters
display_name (str) – Group name.
description (str) – Group description.
type (str or GroupType) – Group type. Possible values include: “custom”, “system”, “external”.
external_id (str) – Identifier of the external groups, this property contains the id of the group from the external identity provider, e.g. for Azure Active Directory
aad://<tenant>.onmicrosoft.com/groups/<group object id>
; otherwise the value is null.
-
class
azure.mgmt.apimanagement.models.
GroupUpdateParameters
(*, display_name: Optional[str] = None, description: Optional[str] = None, type: Union[str, GroupType, None] = None, external_id: Optional[str] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Parameters supplied to the Update Group operation.
- Parameters
display_name (str) – Group name.
description (str) – Group description.
type (str or GroupType) – Group type. Possible values include: “custom”, “system”, “external”.
external_id (str) – Identifier of the external groups, this property contains the id of the group from the external identity provider, e.g. for Azure Active Directory
aad://<tenant>.onmicrosoft.com/groups/<group object id>
; otherwise the value is null.
-
class
azure.mgmt.apimanagement.models.
HostnameConfiguration
(*, type: Union[str, HostnameType], host_name: str, key_vault_id: Optional[str] = None, identity_client_id: Optional[str] = None, encoded_certificate: Optional[str] = None, certificate_password: Optional[str] = None, default_ssl_binding: Optional[bool] = False, negotiate_client_certificate: Optional[bool] = False, certificate: Optional[CertificateInformation] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Custom hostname configuration.
All required parameters must be populated in order to send to Azure.
- Parameters
type (str or HostnameType) – Required. Hostname type. Possible values include: “Proxy”, “Portal”, “Management”, “Scm”, “DeveloperPortal”.
host_name (str) – Required. Hostname to configure on the Api Management service.
key_vault_id (str) – Url to the KeyVault Secret containing the Ssl Certificate. If absolute Url containing version is provided, auto-update of ssl certificate will not work. This requires Api Management service to be configured with aka.ms/apimmsi. The secret should be of type application/x-pkcs12.
identity_client_id (str) – System or User Assigned Managed identity clientId as generated by Azure AD, which has GET access to the keyVault containing the SSL certificate.
encoded_certificate (str) – Base64 Encoded certificate.
certificate_password (str) – Certificate Password.
default_ssl_binding (bool) – Specify true to setup the certificate associated with this Hostname as the Default SSL Certificate. If a client does not send the SNI header, then this will be the certificate that will be challenged. The property is useful if a service has multiple custom hostname enabled and it needs to decide on the default ssl certificate. The setting only applied to Proxy Hostname Type.
negotiate_client_certificate (bool) – Specify true to always negotiate client certificate on the hostname. Default Value is false.
certificate (CertificateInformation) – Certificate information.
-
class
azure.mgmt.apimanagement.models.
HttpMessageDiagnostic
(*, headers: Optional[List[str]] = None, body: Optional[BodyDiagnosticSettings] = None, data_masking: Optional[DataMasking] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Http message diagnostic settings.
- Parameters
body (BodyDiagnosticSettings) – Body logging settings.
data_masking (DataMasking) – Data masking settings.
-
class
azure.mgmt.apimanagement.models.
IdentityProviderBaseParameters
(*, type: Union[str, IdentityProviderType, None] = None, signin_tenant: Optional[str] = None, allowed_tenants: Optional[List[str]] = None, authority: Optional[str] = None, signup_policy_name: Optional[str] = None, signin_policy_name: Optional[str] = None, profile_editing_policy_name: Optional[str] = None, password_reset_policy_name: Optional[str] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Identity Provider Base Parameter Properties.
- Parameters
type (str or IdentityProviderType) – Identity Provider Type identifier. Possible values include: “facebook”, “google”, “microsoft”, “twitter”, “aad”, “aadB2C”.
signin_tenant (str) – The TenantId to use instead of Common when logging into Active Directory.
allowed_tenants (list[str]) – List of Allowed Tenants when configuring Azure Active Directory login.
authority (str) – OpenID Connect discovery endpoint hostname for AAD or AAD B2C.
signup_policy_name (str) – Signup Policy Name. Only applies to AAD B2C Identity Provider.
signin_policy_name (str) – Signin Policy Name. Only applies to AAD B2C Identity Provider.
profile_editing_policy_name (str) – Profile Editing Policy Name. Only applies to AAD B2C Identity Provider.
password_reset_policy_name (str) – Password Reset Policy Name. Only applies to AAD B2C Identity Provider.
-
class
azure.mgmt.apimanagement.models.
IdentityProviderContract
(*, type_properties_type: Union[str, IdentityProviderType, None] = None, signin_tenant: Optional[str] = None, allowed_tenants: Optional[List[str]] = None, authority: Optional[str] = None, signup_policy_name: Optional[str] = None, signin_policy_name: Optional[str] = None, profile_editing_policy_name: Optional[str] = None, password_reset_policy_name: Optional[str] = None, client_id: Optional[str] = None, client_secret: Optional[str] = None, **kwargs)[source]¶ Bases:
azure.mgmt.apimanagement.models._models_py3.Resource
Identity Provider details.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
- Parameters
type_properties_type (str or IdentityProviderType) – Identity Provider Type identifier. Possible values include: “facebook”, “google”, “microsoft”, “twitter”, “aad”, “aadB2C”.
signin_tenant (str) – The TenantId to use instead of Common when logging into Active Directory.
allowed_tenants (list[str]) – List of Allowed Tenants when configuring Azure Active Directory login.
authority (str) – OpenID Connect discovery endpoint hostname for AAD or AAD B2C.
signup_policy_name (str) – Signup Policy Name. Only applies to AAD B2C Identity Provider.
signin_policy_name (str) – Signin Policy Name. Only applies to AAD B2C Identity Provider.
profile_editing_policy_name (str) – Profile Editing Policy Name. Only applies to AAD B2C Identity Provider.
password_reset_policy_name (str) – Password Reset Policy Name. Only applies to AAD B2C Identity Provider.
client_id (str) – Client Id of the Application in the external Identity Provider. It is App ID for Facebook login, Client ID for Google login, App ID for Microsoft.
client_secret (str) – Client secret of the Application in external Identity Provider, used to authenticate login request. For example, it is App Secret for Facebook login, API Key for Google login, Public Key for Microsoft. This property will not be filled on ‘GET’ operations! Use ‘/listSecrets’ POST request to get the value.
-
class
azure.mgmt.apimanagement.models.
IdentityProviderContractProperties
(*, client_id: str, type: Union[str, IdentityProviderType, None] = None, signin_tenant: Optional[str] = None, allowed_tenants: Optional[List[str]] = None, authority: Optional[str] = None, signup_policy_name: Optional[str] = None, signin_policy_name: Optional[str] = None, profile_editing_policy_name: Optional[str] = None, password_reset_policy_name: Optional[str] = None, client_secret: Optional[str] = None, **kwargs)[source]¶ Bases:
azure.mgmt.apimanagement.models._models_py3.IdentityProviderBaseParameters
The external Identity Providers like Facebook, Google, Microsoft, Twitter or Azure Active Directory which can be used to enable access to the API Management service developer portal for all users.
All required parameters must be populated in order to send to Azure.
- Parameters
type (str or IdentityProviderType) – Identity Provider Type identifier. Possible values include: “facebook”, “google”, “microsoft”, “twitter”, “aad”, “aadB2C”.
signin_tenant (str) – The TenantId to use instead of Common when logging into Active Directory.
allowed_tenants (list[str]) – List of Allowed Tenants when configuring Azure Active Directory login.
authority (str) – OpenID Connect discovery endpoint hostname for AAD or AAD B2C.
signup_policy_name (str) – Signup Policy Name. Only applies to AAD B2C Identity Provider.
signin_policy_name (str) – Signin Policy Name. Only applies to AAD B2C Identity Provider.
profile_editing_policy_name (str) – Profile Editing Policy Name. Only applies to AAD B2C Identity Provider.
password_reset_policy_name (str) – Password Reset Policy Name. Only applies to AAD B2C Identity Provider.
client_id (str) – Required. Client Id of the Application in the external Identity Provider. It is App ID for Facebook login, Client ID for Google login, App ID for Microsoft.
client_secret (str) – Client secret of the Application in external Identity Provider, used to authenticate login request. For example, it is App Secret for Facebook login, API Key for Google login, Public Key for Microsoft. This property will not be filled on ‘GET’ operations! Use ‘/listSecrets’ POST request to get the value.
-
class
azure.mgmt.apimanagement.models.
IdentityProviderCreateContract
(*, type_properties_type: Union[str, IdentityProviderType, None] = None, signin_tenant: Optional[str] = None, allowed_tenants: Optional[List[str]] = None, authority: Optional[str] = None, signup_policy_name: Optional[str] = None, signin_policy_name: Optional[str] = None, profile_editing_policy_name: Optional[str] = None, password_reset_policy_name: Optional[str] = None, client_id: Optional[str] = None, client_secret: Optional[str] = None, **kwargs)[source]¶ Bases:
azure.mgmt.apimanagement.models._models_py3.Resource
Identity Provider details.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
- Parameters
type_properties_type (str or IdentityProviderType) – Identity Provider Type identifier. Possible values include: “facebook”, “google”, “microsoft”, “twitter”, “aad”, “aadB2C”.
signin_tenant (str) – The TenantId to use instead of Common when logging into Active Directory.
allowed_tenants (list[str]) – List of Allowed Tenants when configuring Azure Active Directory login.
authority (str) – OpenID Connect discovery endpoint hostname for AAD or AAD B2C.
signup_policy_name (str) – Signup Policy Name. Only applies to AAD B2C Identity Provider.
signin_policy_name (str) – Signin Policy Name. Only applies to AAD B2C Identity Provider.
profile_editing_policy_name (str) – Profile Editing Policy Name. Only applies to AAD B2C Identity Provider.
password_reset_policy_name (str) – Password Reset Policy Name. Only applies to AAD B2C Identity Provider.
client_id (str) – Client Id of the Application in the external Identity Provider. It is App ID for Facebook login, Client ID for Google login, App ID for Microsoft.
client_secret (str) – Client secret of the Application in external Identity Provider, used to authenticate login request. For example, it is App Secret for Facebook login, API Key for Google login, Public Key for Microsoft. This property will not be filled on ‘GET’ operations! Use ‘/listSecrets’ POST request to get the value.
-
class
azure.mgmt.apimanagement.models.
IdentityProviderCreateContractProperties
(*, client_id: str, client_secret: str, type: Union[str, IdentityProviderType, None] = None, signin_tenant: Optional[str] = None, allowed_tenants: Optional[List[str]] = None, authority: Optional[str] = None, signup_policy_name: Optional[str] = None, signin_policy_name: Optional[str] = None, profile_editing_policy_name: Optional[str] = None, password_reset_policy_name: Optional[str] = None, **kwargs)[source]¶ Bases:
azure.mgmt.apimanagement.models._models_py3.IdentityProviderBaseParameters
The external Identity Providers like Facebook, Google, Microsoft, Twitter or Azure Active Directory which can be used to enable access to the API Management service developer portal for all users.
All required parameters must be populated in order to send to Azure.
- Parameters
type (str or IdentityProviderType) – Identity Provider Type identifier. Possible values include: “facebook”, “google”, “microsoft”, “twitter”, “aad”, “aadB2C”.
signin_tenant (str) – The TenantId to use instead of Common when logging into Active Directory.
allowed_tenants (list[str]) – List of Allowed Tenants when configuring Azure Active Directory login.
authority (str) – OpenID Connect discovery endpoint hostname for AAD or AAD B2C.
signup_policy_name (str) – Signup Policy Name. Only applies to AAD B2C Identity Provider.
signin_policy_name (str) – Signin Policy Name. Only applies to AAD B2C Identity Provider.
profile_editing_policy_name (str) – Profile Editing Policy Name. Only applies to AAD B2C Identity Provider.
password_reset_policy_name (str) – Password Reset Policy Name. Only applies to AAD B2C Identity Provider.
client_id (str) – Required. Client Id of the Application in the external Identity Provider. It is App ID for Facebook login, Client ID for Google login, App ID for Microsoft.
client_secret (str) – Required. Client secret of the Application in external Identity Provider, used to authenticate login request. For example, it is App Secret for Facebook login, API Key for Google login, Public Key for Microsoft. This property will not be filled on ‘GET’ operations! Use ‘/listSecrets’ POST request to get the value.
-
class
azure.mgmt.apimanagement.models.
IdentityProviderList
(*, value: Optional[List[IdentityProviderContract]] = None, next_link: Optional[str] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
List of all the Identity Providers configured on the service instance.
- Parameters
value (list[IdentityProviderContract]) – Identity Provider configuration values.
next_link (str) – Next page link if any.
-
class
azure.mgmt.apimanagement.models.
IdentityProviderUpdateParameters
(*, type: Union[str, IdentityProviderType, None] = None, signin_tenant: Optional[str] = None, allowed_tenants: Optional[List[str]] = None, authority: Optional[str] = None, signup_policy_name: Optional[str] = None, signin_policy_name: Optional[str] = None, profile_editing_policy_name: Optional[str] = None, password_reset_policy_name: Optional[str] = None, client_id: Optional[str] = None, client_secret: Optional[str] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Parameters supplied to update Identity Provider.
- Parameters
type (str or IdentityProviderType) – Identity Provider Type identifier. Possible values include: “facebook”, “google”, “microsoft”, “twitter”, “aad”, “aadB2C”.
signin_tenant (str) – The TenantId to use instead of Common when logging into Active Directory.
allowed_tenants (list[str]) – List of Allowed Tenants when configuring Azure Active Directory login.
authority (str) – OpenID Connect discovery endpoint hostname for AAD or AAD B2C.
signup_policy_name (str) – Signup Policy Name. Only applies to AAD B2C Identity Provider.
signin_policy_name (str) – Signin Policy Name. Only applies to AAD B2C Identity Provider.
profile_editing_policy_name (str) – Profile Editing Policy Name. Only applies to AAD B2C Identity Provider.
password_reset_policy_name (str) – Password Reset Policy Name. Only applies to AAD B2C Identity Provider.
client_id (str) – Client Id of the Application in the external Identity Provider. It is App ID for Facebook login, Client ID for Google login, App ID for Microsoft.
client_secret (str) – Client secret of the Application in external Identity Provider, used to authenticate login request. For example, it is App Secret for Facebook login, API Key for Google login, Public Key for Microsoft.
-
class
azure.mgmt.apimanagement.models.
IdentityProviderUpdateProperties
(*, type: Union[str, IdentityProviderType, None] = None, signin_tenant: Optional[str] = None, allowed_tenants: Optional[List[str]] = None, authority: Optional[str] = None, signup_policy_name: Optional[str] = None, signin_policy_name: Optional[str] = None, profile_editing_policy_name: Optional[str] = None, password_reset_policy_name: Optional[str] = None, client_id: Optional[str] = None, client_secret: Optional[str] = None, **kwargs)[source]¶ Bases:
azure.mgmt.apimanagement.models._models_py3.IdentityProviderBaseParameters
Parameters supplied to the Update Identity Provider operation.
- Parameters
type (str or IdentityProviderType) – Identity Provider Type identifier. Possible values include: “facebook”, “google”, “microsoft”, “twitter”, “aad”, “aadB2C”.
signin_tenant (str) – The TenantId to use instead of Common when logging into Active Directory.
allowed_tenants (list[str]) – List of Allowed Tenants when configuring Azure Active Directory login.
authority (str) – OpenID Connect discovery endpoint hostname for AAD or AAD B2C.
signup_policy_name (str) – Signup Policy Name. Only applies to AAD B2C Identity Provider.
signin_policy_name (str) – Signin Policy Name. Only applies to AAD B2C Identity Provider.
profile_editing_policy_name (str) – Profile Editing Policy Name. Only applies to AAD B2C Identity Provider.
password_reset_policy_name (str) – Password Reset Policy Name. Only applies to AAD B2C Identity Provider.
client_id (str) – Client Id of the Application in the external Identity Provider. It is App ID for Facebook login, Client ID for Google login, App ID for Microsoft.
client_secret (str) – Client secret of the Application in external Identity Provider, used to authenticate login request. For example, it is App Secret for Facebook login, API Key for Google login, Public Key for Microsoft.
-
class
azure.mgmt.apimanagement.models.
IssueAttachmentCollection
(**kwargs)[source]¶ Bases:
msrest.serialization.Model
Paged Issue Attachment list representation.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
value (list[IssueAttachmentContract]) – Issue Attachment values.
next_link (str) – Next page link if any.
-
class
azure.mgmt.apimanagement.models.
IssueAttachmentContract
(*, title: Optional[str] = None, content_format: Optional[str] = None, content: Optional[str] = None, **kwargs)[source]¶ Bases:
azure.mgmt.apimanagement.models._models_py3.Resource
Issue Attachment Contract details.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
- Parameters
-
class
azure.mgmt.apimanagement.models.
IssueCollection
(**kwargs)[source]¶ Bases:
msrest.serialization.Model
Paged Issue list representation.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
value (list[IssueContract]) – Issue values.
next_link (str) – Next page link if any.
-
class
azure.mgmt.apimanagement.models.
IssueCommentCollection
(**kwargs)[source]¶ Bases:
msrest.serialization.Model
Paged Issue Comment list representation.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
value (list[IssueCommentContract]) – Issue Comment values.
next_link (str) – Next page link if any.
-
class
azure.mgmt.apimanagement.models.
IssueCommentContract
(*, text: Optional[str] = None, created_date: Optional[datetime.datetime] = None, user_id: Optional[str] = None, **kwargs)[source]¶ Bases:
azure.mgmt.apimanagement.models._models_py3.Resource
Issue Comment Contract details.
Variables are only populated by the server, and will be ignored when sending a request.
-
class
azure.mgmt.apimanagement.models.
IssueContract
(*, created_date: Optional[datetime.datetime] = None, state: Union[str, State, None] = None, api_id: Optional[str] = None, title: Optional[str] = None, description: Optional[str] = None, user_id: Optional[str] = None, **kwargs)[source]¶ Bases:
azure.mgmt.apimanagement.models._models_py3.Resource
Issue Contract details.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
- Parameters
created_date (datetime) – Date and time when the issue was created.
state (str or State) – Status of the issue. Possible values include: “proposed”, “open”, “removed”, “resolved”, “closed”.
api_id (str) – A resource identifier for the API the issue was created for.
title (str) – The issue title.
description (str) – Text describing the issue.
user_id (str) – A resource identifier for the user created the issue.
-
class
azure.mgmt.apimanagement.models.
IssueContractBaseProperties
(*, created_date: Optional[datetime.datetime] = None, state: Union[str, State, None] = None, api_id: Optional[str] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Issue contract Base Properties.
-
class
azure.mgmt.apimanagement.models.
IssueContractProperties
(*, title: str, description: str, user_id: str, created_date: Optional[datetime.datetime] = None, state: Union[str, State, None] = None, api_id: Optional[str] = None, **kwargs)[source]¶ Bases:
azure.mgmt.apimanagement.models._models_py3.IssueContractBaseProperties
Issue contract Properties.
All required parameters must be populated in order to send to Azure.
- Parameters
created_date (datetime) – Date and time when the issue was created.
state (str or State) – Status of the issue. Possible values include: “proposed”, “open”, “removed”, “resolved”, “closed”.
api_id (str) – A resource identifier for the API the issue was created for.
title (str) – Required. The issue title.
description (str) – Required. Text describing the issue.
user_id (str) – Required. A resource identifier for the user created the issue.
-
class
azure.mgmt.apimanagement.models.
IssueUpdateContract
(*, created_date: Optional[datetime.datetime] = None, state: Union[str, State, None] = None, api_id: Optional[str] = None, title: Optional[str] = None, description: Optional[str] = None, user_id: Optional[str] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Issue update Parameters.
- Parameters
created_date (datetime) – Date and time when the issue was created.
state (str or State) – Status of the issue. Possible values include: “proposed”, “open”, “removed”, “resolved”, “closed”.
api_id (str) – A resource identifier for the API the issue was created for.
title (str) – The issue title.
description (str) – Text describing the issue.
user_id (str) – A resource identifier for the user created the issue.
-
class
azure.mgmt.apimanagement.models.
IssueUpdateContractProperties
(*, created_date: Optional[datetime.datetime] = None, state: Union[str, State, None] = None, api_id: Optional[str] = None, title: Optional[str] = None, description: Optional[str] = None, user_id: Optional[str] = None, **kwargs)[source]¶ Bases:
azure.mgmt.apimanagement.models._models_py3.IssueContractBaseProperties
Issue contract Update Properties.
- Parameters
created_date (datetime) – Date and time when the issue was created.
state (str or State) – Status of the issue. Possible values include: “proposed”, “open”, “removed”, “resolved”, “closed”.
api_id (str) – A resource identifier for the API the issue was created for.
title (str) – The issue title.
description (str) – Text describing the issue.
user_id (str) – A resource identifier for the user created the issue.
-
class
azure.mgmt.apimanagement.models.
KeyVaultContractCreateProperties
(*, secret_identifier: Optional[str] = None, identity_client_id: Optional[str] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Create keyVault contract details.
- Parameters
secret_identifier (str) – Key vault secret identifier for fetching secret. Providing a versioned secret will prevent auto-refresh. This requires Api Management service to be configured with aka.ms/apimmsi.
identity_client_id (str) – SystemAssignedIdentity or UserAssignedIdentity Client Id which will be used to access key vault secret.
-
class
azure.mgmt.apimanagement.models.
KeyVaultContractProperties
(*, secret_identifier: Optional[str] = None, identity_client_id: Optional[str] = None, last_status: Optional[KeyVaultLastAccessStatusContractProperties] = None, **kwargs)[source]¶ Bases:
azure.mgmt.apimanagement.models._models_py3.KeyVaultContractCreateProperties
KeyVault contract details.
- Parameters
secret_identifier (str) – Key vault secret identifier for fetching secret. Providing a versioned secret will prevent auto-refresh. This requires Api Management service to be configured with aka.ms/apimmsi.
identity_client_id (str) – SystemAssignedIdentity or UserAssignedIdentity Client Id which will be used to access key vault secret.
last_status (KeyVaultLastAccessStatusContractProperties) – Last time sync and refresh status of secret from key vault.
-
class
azure.mgmt.apimanagement.models.
KeyVaultLastAccessStatusContractProperties
(*, code: Optional[str] = None, message: Optional[str] = None, time_stamp_utc: Optional[datetime.datetime] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Issue contract Update Properties.
-
class
azure.mgmt.apimanagement.models.
LoggerCollection
(*, value: Optional[List[LoggerContract]] = None, count: Optional[int] = None, next_link: Optional[str] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Paged Logger list representation.
- Parameters
value (list[LoggerContract]) – Logger values.
count (long) – Total record count number across all pages.
next_link (str) – Next page link if any.
-
class
azure.mgmt.apimanagement.models.
LoggerContract
(*, logger_type: Union[str, LoggerType, None] = None, description: Optional[str] = None, credentials: Optional[Dict[str, str]] = None, is_buffered: Optional[bool] = None, resource_id: Optional[str] = None, **kwargs)[source]¶ Bases:
azure.mgmt.apimanagement.models._models_py3.Resource
Logger details.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
- Parameters
logger_type (str or LoggerType) – Logger type. Possible values include: “azureEventHub”, “applicationInsights”, “azureMonitor”.
description (str) – Logger description.
credentials (dict[str, str]) – The name and SendRule connection string of the event hub for azureEventHub logger. Instrumentation key for applicationInsights logger.
is_buffered (bool) – Whether records are buffered in the logger before publishing. Default is assumed to be true.
resource_id (str) – Azure Resource Id of a log target (either Azure Event Hub resource or Azure Application Insights resource).
-
class
azure.mgmt.apimanagement.models.
LoggerUpdateContract
(*, logger_type: Union[str, LoggerType, None] = None, description: Optional[str] = None, credentials: Optional[Dict[str, str]] = None, is_buffered: Optional[bool] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Logger update contract.
- Parameters
logger_type (str or LoggerType) – Logger type. Possible values include: “azureEventHub”, “applicationInsights”, “azureMonitor”.
description (str) – Logger description.
is_buffered (bool) – Whether records are buffered in the logger before publishing. Default is assumed to be true.
-
class
azure.mgmt.apimanagement.models.
NamedValueCollection
(*, value: Optional[List[NamedValueContract]] = None, next_link: Optional[str] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Paged NamedValue list representation.
- Parameters
value (list[NamedValueContract]) – Page values.
next_link (str) – Next page link if any.
-
class
azure.mgmt.apimanagement.models.
NamedValueContract
(*, tags: Optional[List[str]] = None, secret: Optional[bool] = None, display_name: Optional[str] = None, value: Optional[str] = None, key_vault: Optional[KeyVaultContractProperties] = None, **kwargs)[source]¶ Bases:
azure.mgmt.apimanagement.models._models_py3.Resource
NamedValue details.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
- Parameters
tags (list[str]) – A set of tags. Optional tags that when provided can be used to filter the NamedValue list.
secret (bool) – Determines whether the value is a secret and should be encrypted or not. Default value is false.
display_name (str) – Unique name of NamedValue. It may contain only letters, digits, period, dash, and underscore characters.
value (str) – Value of the NamedValue. Can contain policy expressions. It may not be empty or consist only of whitespace. This property will not be filled on ‘GET’ operations! Use ‘/listSecrets’ POST request to get the value.
key_vault (KeyVaultContractProperties) – KeyVault location details of the namedValue.
-
class
azure.mgmt.apimanagement.models.
NamedValueContractProperties
(*, display_name: str, tags: Optional[List[str]] = None, secret: Optional[bool] = None, value: Optional[str] = None, key_vault: Optional[KeyVaultContractProperties] = None, **kwargs)[source]¶ Bases:
azure.mgmt.apimanagement.models._models_py3.NamedValueEntityBaseParameters
NamedValue Contract properties.
All required parameters must be populated in order to send to Azure.
- Parameters
tags (list[str]) – A set of tags. Optional tags that when provided can be used to filter the NamedValue list.
secret (bool) – Determines whether the value is a secret and should be encrypted or not. Default value is false.
display_name (str) – Required. Unique name of NamedValue. It may contain only letters, digits, period, dash, and underscore characters.
value (str) – Value of the NamedValue. Can contain policy expressions. It may not be empty or consist only of whitespace. This property will not be filled on ‘GET’ operations! Use ‘/listSecrets’ POST request to get the value.
key_vault (KeyVaultContractProperties) – KeyVault location details of the namedValue.
-
class
azure.mgmt.apimanagement.models.
NamedValueCreateContract
(*, tags: Optional[List[str]] = None, secret: Optional[bool] = None, display_name: Optional[str] = None, value: Optional[str] = None, key_vault: Optional[KeyVaultContractCreateProperties] = None, **kwargs)[source]¶ Bases:
azure.mgmt.apimanagement.models._models_py3.Resource
NamedValue details.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
- Parameters
tags (list[str]) – A set of tags. Optional tags that when provided can be used to filter the NamedValue list.
secret (bool) – Determines whether the value is a secret and should be encrypted or not. Default value is false.
display_name (str) – Unique name of NamedValue. It may contain only letters, digits, period, dash, and underscore characters.
value (str) – Value of the NamedValue. Can contain policy expressions. It may not be empty or consist only of whitespace. This property will not be filled on ‘GET’ operations! Use ‘/listSecrets’ POST request to get the value.
key_vault (KeyVaultContractCreateProperties) – KeyVault location details of the namedValue.
-
class
azure.mgmt.apimanagement.models.
NamedValueCreateContractProperties
(*, display_name: str, tags: Optional[List[str]] = None, secret: Optional[bool] = None, value: Optional[str] = None, key_vault: Optional[KeyVaultContractCreateProperties] = None, **kwargs)[source]¶ Bases:
azure.mgmt.apimanagement.models._models_py3.NamedValueEntityBaseParameters
NamedValue Contract properties.
All required parameters must be populated in order to send to Azure.
- Parameters
tags (list[str]) – A set of tags. Optional tags that when provided can be used to filter the NamedValue list.
secret (bool) – Determines whether the value is a secret and should be encrypted or not. Default value is false.
display_name (str) – Required. Unique name of NamedValue. It may contain only letters, digits, period, dash, and underscore characters.
value (str) – Value of the NamedValue. Can contain policy expressions. It may not be empty or consist only of whitespace. This property will not be filled on ‘GET’ operations! Use ‘/listSecrets’ POST request to get the value.
key_vault (KeyVaultContractCreateProperties) – KeyVault location details of the namedValue.
-
class
azure.mgmt.apimanagement.models.
NamedValueEntityBaseParameters
(*, tags: Optional[List[str]] = None, secret: Optional[bool] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
NamedValue Entity Base Parameters set.
-
class
azure.mgmt.apimanagement.models.
NamedValueSecretContract
(*, value: Optional[str] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Client or app secret used in IdentityProviders, Aad, OpenID or OAuth.
- Parameters
value (str) – This is secret value of the NamedValue entity.
-
class
azure.mgmt.apimanagement.models.
NamedValueUpdateParameterProperties
(*, tags: Optional[List[str]] = None, secret: Optional[bool] = None, display_name: Optional[str] = None, value: Optional[str] = None, key_vault: Optional[KeyVaultContractCreateProperties] = None, **kwargs)[source]¶ Bases:
azure.mgmt.apimanagement.models._models_py3.NamedValueEntityBaseParameters
NamedValue Contract properties.
- Parameters
tags (list[str]) – A set of tags. Optional tags that when provided can be used to filter the NamedValue list.
secret (bool) – Determines whether the value is a secret and should be encrypted or not. Default value is false.
display_name (str) – Unique name of NamedValue. It may contain only letters, digits, period, dash, and underscore characters.
value (str) – Value of the NamedValue. Can contain policy expressions. It may not be empty or consist only of whitespace.
key_vault (KeyVaultContractCreateProperties) – KeyVault location details of the namedValue.
-
class
azure.mgmt.apimanagement.models.
NamedValueUpdateParameters
(*, tags: Optional[List[str]] = None, secret: Optional[bool] = None, display_name: Optional[str] = None, value: Optional[str] = None, key_vault: Optional[KeyVaultContractCreateProperties] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
NamedValue update Parameters.
- Parameters
tags (list[str]) – A set of tags. Optional tags that when provided can be used to filter the NamedValue list.
secret (bool) – Determines whether the value is a secret and should be encrypted or not. Default value is false.
display_name (str) – Unique name of NamedValue. It may contain only letters, digits, period, dash, and underscore characters.
value (str) – Value of the NamedValue. Can contain policy expressions. It may not be empty or consist only of whitespace.
key_vault (KeyVaultContractCreateProperties) – KeyVault location details of the namedValue.
-
class
azure.mgmt.apimanagement.models.
NetworkStatusContract
(*, dns_servers: List[str], connectivity_status: List[ConnectivityStatusContract], **kwargs)[source]¶ Bases:
msrest.serialization.Model
Network Status details.
All required parameters must be populated in order to send to Azure.
- Parameters
dns_servers (list[str]) – Required. Gets the list of DNS servers IPV4 addresses.
connectivity_status (list[ConnectivityStatusContract]) – Required. Gets the list of Connectivity Status to the Resources on which the service depends upon.
-
class
azure.mgmt.apimanagement.models.
NetworkStatusContractByLocation
(*, location: Optional[str] = None, network_status: Optional[NetworkStatusContract] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Network Status in the Location.
- Parameters
location (str) – Location of service.
network_status (NetworkStatusContract) – Network status in Location.
-
class
azure.mgmt.apimanagement.models.
NotificationCollection
(*, value: Optional[List[NotificationContract]] = None, next_link: Optional[str] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Paged Notification list representation.
- Parameters
value (list[NotificationContract]) – Page values.
next_link (str) – Next page link if any.
-
class
azure.mgmt.apimanagement.models.
NotificationContract
(*, title: Optional[str] = None, description: Optional[str] = None, recipients: Optional[RecipientsContractProperties] = None, **kwargs)[source]¶ Bases:
azure.mgmt.apimanagement.models._models_py3.Resource
Notification details.
Variables are only populated by the server, and will be ignored when sending a request.
-
class
azure.mgmt.apimanagement.models.
OAuth2AuthenticationSettingsContract
(*, authorization_server_id: Optional[str] = None, scope: Optional[str] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
API OAuth2 Authentication settings details.
-
class
azure.mgmt.apimanagement.models.
OpenIdAuthenticationSettingsContract
(*, openid_provider_id: Optional[str] = None, bearer_token_sending_methods: Optional[List[Union[str, BearerTokenSendingMethods]]] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
API OAuth2 Authentication settings details.
- Parameters
openid_provider_id (str) – OAuth authorization server identifier.
bearer_token_sending_methods (list[str or BearerTokenSendingMethods]) – How to send token to the server.
-
class
azure.mgmt.apimanagement.models.
OpenIdConnectProviderCollection
(*, value: Optional[List[OpenidConnectProviderContract]] = None, next_link: Optional[str] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Paged OpenIdProviders list representation.
- Parameters
value (list[OpenidConnectProviderContract]) – Page values.
next_link (str) – Next page link if any.
-
class
azure.mgmt.apimanagement.models.
OpenidConnectProviderContract
(*, display_name: Optional[str] = None, description: Optional[str] = None, metadata_endpoint: Optional[str] = None, client_id: Optional[str] = None, client_secret: Optional[str] = None, **kwargs)[source]¶ Bases:
azure.mgmt.apimanagement.models._models_py3.Resource
OpenId Connect Provider details.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
- Parameters
display_name (str) – User-friendly OpenID Connect Provider name.
description (str) – User-friendly description of OpenID Connect Provider.
metadata_endpoint (str) – Metadata endpoint URI.
client_id (str) – Client ID of developer console which is the client application.
client_secret (str) – Client Secret of developer console which is the client application.
-
class
azure.mgmt.apimanagement.models.
OpenidConnectProviderUpdateContract
(*, display_name: Optional[str] = None, description: Optional[str] = None, metadata_endpoint: Optional[str] = None, client_id: Optional[str] = None, client_secret: Optional[str] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Parameters supplied to the Update OpenID Connect Provider operation.
- Parameters
display_name (str) – User-friendly OpenID Connect Provider name.
description (str) – User-friendly description of OpenID Connect Provider.
metadata_endpoint (str) – Metadata endpoint URI.
client_id (str) – Client ID of developer console which is the client application.
client_secret (str) – Client Secret of developer console which is the client application.
-
class
azure.mgmt.apimanagement.models.
Operation
(*, name: Optional[str] = None, display: Optional[OperationDisplay] = None, origin: Optional[str] = None, properties: object = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
REST API operation.
- Parameters
name (str) – Operation name: {provider}/{resource}/{operation}.
display (OperationDisplay) – The object that describes the operation.
origin (str) – The operation origin.
properties (object) – The operation properties.
-
class
azure.mgmt.apimanagement.models.
OperationCollection
(**kwargs)[source]¶ Bases:
msrest.serialization.Model
Paged Operation list representation.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
value (list[OperationContract]) – Page values.
next_link (str) – Next page link if any.
-
class
azure.mgmt.apimanagement.models.
OperationContract
(*, template_parameters: Optional[List[ParameterContract]] = None, description: Optional[str] = None, request: Optional[RequestContract] = None, responses: Optional[List[ResponseContract]] = None, policies: Optional[str] = None, display_name: Optional[str] = None, method: Optional[str] = None, url_template: Optional[str] = None, **kwargs)[source]¶ Bases:
azure.mgmt.apimanagement.models._models_py3.Resource
Api Operation details.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
- Parameters
template_parameters (list[ParameterContract]) – Collection of URL template parameters.
description (str) – Description of the operation. May include HTML formatting tags.
request (RequestContract) – An entity containing request details.
responses (list[ResponseContract]) – Array of Operation responses.
policies (str) – Operation Policies.
display_name (str) – Operation Name.
method (str) – A Valid HTTP Operation Method. Typical Http Methods like GET, PUT, POST but not limited by only them.
url_template (str) – Relative URL template identifying the target resource for this operation. May include parameters. Example: /customers/{cid}/orders/{oid}/?date={date}.
-
class
azure.mgmt.apimanagement.models.
OperationContractProperties
(*, display_name: str, method: str, url_template: str, template_parameters: Optional[List[ParameterContract]] = None, description: Optional[str] = None, request: Optional[RequestContract] = None, responses: Optional[List[ResponseContract]] = None, policies: Optional[str] = None, **kwargs)[source]¶ Bases:
azure.mgmt.apimanagement.models._models_py3.OperationEntityBaseContract
Operation Contract Properties.
All required parameters must be populated in order to send to Azure.
- Parameters
template_parameters (list[ParameterContract]) – Collection of URL template parameters.
description (str) – Description of the operation. May include HTML formatting tags.
request (RequestContract) – An entity containing request details.
responses (list[ResponseContract]) – Array of Operation responses.
policies (str) – Operation Policies.
display_name (str) – Required. Operation Name.
method (str) – Required. A Valid HTTP Operation Method. Typical Http Methods like GET, PUT, POST but not limited by only them.
url_template (str) – Required. Relative URL template identifying the target resource for this operation. May include parameters. Example: /customers/{cid}/orders/{oid}/?date={date}.
-
class
azure.mgmt.apimanagement.models.
OperationDisplay
(*, provider: Optional[str] = None, operation: Optional[str] = None, resource: Optional[str] = None, description: Optional[str] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
The object that describes the operation.
-
class
azure.mgmt.apimanagement.models.
OperationEntityBaseContract
(*, template_parameters: Optional[List[ParameterContract]] = None, description: Optional[str] = None, request: Optional[RequestContract] = None, responses: Optional[List[ResponseContract]] = None, policies: Optional[str] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Api Operation Entity Base Contract details.
- Parameters
template_parameters (list[ParameterContract]) – Collection of URL template parameters.
description (str) – Description of the operation. May include HTML formatting tags.
request (RequestContract) – An entity containing request details.
responses (list[ResponseContract]) – Array of Operation responses.
policies (str) – Operation Policies.
-
class
azure.mgmt.apimanagement.models.
OperationListResult
(*, value: Optional[List[Operation]] = None, next_link: Optional[str] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Result of the request to list REST API operations. It contains a list of operations and a URL nextLink to get the next set of results.
-
class
azure.mgmt.apimanagement.models.
OperationResultContract
(*, id: Optional[str] = None, status: Union[str, AsyncOperationStatus, None] = None, started: Optional[datetime.datetime] = None, updated: Optional[datetime.datetime] = None, result_info: Optional[str] = None, error: Optional[ErrorResponseBody] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Operation Result.
Variables are only populated by the server, and will be ignored when sending a request.
- Parameters
id (str) – Operation result identifier.
status (str or AsyncOperationStatus) – Status of an async operation. Possible values include: “Started”, “InProgress”, “Succeeded”, “Failed”.
started (datetime) – Start time of an async operation. The date conforms to the following format:
yyyy-MM-ddTHH:mm:ssZ
as specified by the ISO 8601 standard.updated (datetime) – Last update time of an async operation. The date conforms to the following format:
yyyy-MM-ddTHH:mm:ssZ
as specified by the ISO 8601 standard.result_info (str) – Optional result info.
error (ErrorResponseBody) – Error Body Contract.
- Variables
action_log (list[OperationResultLogItemContract]) – This property if only provided as part of the TenantConfiguration_Validate operation. It contains the log the entities which will be updated/created/deleted as part of the TenantConfiguration_Deploy operation.
-
class
azure.mgmt.apimanagement.models.
OperationResultLogItemContract
(*, object_type: Optional[str] = None, action: Optional[str] = None, object_key: Optional[str] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Log of the entity being created, updated or deleted.
-
class
azure.mgmt.apimanagement.models.
OperationTagResourceContractProperties
(*, id: Optional[str] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Operation Entity contract Properties.
Variables are only populated by the server, and will be ignored when sending a request.
- Parameters
id (str) – Identifier of the operation in form /operations/{operationId}.
- Variables
name (str) – Operation name.
api_name (str) – Api Name.
api_revision (str) – Api Revision.
api_version (str) – Api Version.
description (str) – Operation Description.
method (str) – A Valid HTTP Operation Method. Typical Http Methods like GET, PUT, POST but not limited by only them.
url_template (str) – Relative URL template identifying the target resource for this operation. May include parameters. Example: /customers/{cid}/orders/{oid}/?date={date}.
-
class
azure.mgmt.apimanagement.models.
OperationUpdateContract
(*, template_parameters: Optional[List[ParameterContract]] = None, description: Optional[str] = None, request: Optional[RequestContract] = None, responses: Optional[List[ResponseContract]] = None, policies: Optional[str] = None, display_name: Optional[str] = None, method: Optional[str] = None, url_template: Optional[str] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Api Operation Update Contract details.
- Parameters
template_parameters (list[ParameterContract]) – Collection of URL template parameters.
description (str) – Description of the operation. May include HTML formatting tags.
request (RequestContract) – An entity containing request details.
responses (list[ResponseContract]) – Array of Operation responses.
policies (str) – Operation Policies.
display_name (str) – Operation Name.
method (str) – A Valid HTTP Operation Method. Typical Http Methods like GET, PUT, POST but not limited by only them.
url_template (str) – Relative URL template identifying the target resource for this operation. May include parameters. Example: /customers/{cid}/orders/{oid}/?date={date}.
-
class
azure.mgmt.apimanagement.models.
OperationUpdateContractProperties
(*, template_parameters: Optional[List[ParameterContract]] = None, description: Optional[str] = None, request: Optional[RequestContract] = None, responses: Optional[List[ResponseContract]] = None, policies: Optional[str] = None, display_name: Optional[str] = None, method: Optional[str] = None, url_template: Optional[str] = None, **kwargs)[source]¶ Bases:
azure.mgmt.apimanagement.models._models_py3.OperationEntityBaseContract
Operation Update Contract Properties.
- Parameters
template_parameters (list[ParameterContract]) – Collection of URL template parameters.
description (str) – Description of the operation. May include HTML formatting tags.
request (RequestContract) – An entity containing request details.
responses (list[ResponseContract]) – Array of Operation responses.
policies (str) – Operation Policies.
display_name (str) – Operation Name.
method (str) – A Valid HTTP Operation Method. Typical Http Methods like GET, PUT, POST but not limited by only them.
url_template (str) – Relative URL template identifying the target resource for this operation. May include parameters. Example: /customers/{cid}/orders/{oid}/?date={date}.
-
class
azure.mgmt.apimanagement.models.
ParameterContract
(*, name: str, type: str, description: Optional[str] = None, default_value: Optional[str] = None, required: Optional[bool] = None, values: Optional[List[str]] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Operation parameters details.
All required parameters must be populated in order to send to Azure.
-
class
azure.mgmt.apimanagement.models.
PipelineDiagnosticSettings
(*, request: Optional[HttpMessageDiagnostic] = None, response: Optional[HttpMessageDiagnostic] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Diagnostic settings for incoming/outgoing HTTP messages to the Gateway.
- Parameters
request (HttpMessageDiagnostic) – Diagnostic settings for request.
response (HttpMessageDiagnostic) – Diagnostic settings for response.
-
class
azure.mgmt.apimanagement.models.
PolicyCollection
(*, value: Optional[List[PolicyContract]] = None, next_link: Optional[str] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
The response of the list policy operation.
- Parameters
value (list[PolicyContract]) – Policy Contract value.
next_link (str) – Next page link if any.
-
class
azure.mgmt.apimanagement.models.
PolicyContract
(*, value: Optional[str] = None, format: Union[str, PolicyContentFormat, None] = 'xml', **kwargs)[source]¶ Bases:
azure.mgmt.apimanagement.models._models_py3.Resource
Policy Contract details.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
- Parameters
value (str) – Contents of the Policy as defined by the format.
format (str or PolicyContentFormat) – Format of the policyContent. Possible values include: “xml”, “xml-link”, “rawxml”, “rawxml-link”. Default value: “xml”.
-
class
azure.mgmt.apimanagement.models.
PolicyDescriptionCollection
(*, value: Optional[List[PolicyDescriptionContract]] = None, count: Optional[int] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Descriptions of APIM policies.
- Parameters
value (list[PolicyDescriptionContract]) – Descriptions of APIM policies.
count (long) – Total record count number.
-
class
azure.mgmt.apimanagement.models.
PolicyDescriptionContract
(**kwargs)[source]¶ Bases:
azure.mgmt.apimanagement.models._models_py3.Resource
Policy description details.
Variables are only populated by the server, and will be ignored when sending a request.
-
class
azure.mgmt.apimanagement.models.
PortalDelegationSettings
(*, url: Optional[str] = None, validation_key: Optional[str] = None, subscriptions: Optional[SubscriptionsDelegationSettingsProperties] = None, user_registration: Optional[RegistrationDelegationSettingsProperties] = None, **kwargs)[source]¶ Bases:
azure.mgmt.apimanagement.models._models_py3.Resource
Delegation settings for a developer portal.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
- Parameters
url (str) – A delegation Url.
validation_key (str) – A base64-encoded validation key to validate, that a request is coming from Azure API Management.
subscriptions (SubscriptionsDelegationSettingsProperties) – Subscriptions delegation settings.
user_registration (RegistrationDelegationSettingsProperties) – User registration delegation settings.
-
class
azure.mgmt.apimanagement.models.
PortalRevisionCollection
(**kwargs)[source]¶ Bases:
msrest.serialization.Model
Paged list of portal revisions.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
value (list[PortalRevisionContract]) – Collection of portal revisions.
next_link (str) – Next page link, if any.
-
class
azure.mgmt.apimanagement.models.
PortalRevisionContract
(*, description: Optional[str] = None, is_current: Optional[bool] = None, **kwargs)[source]¶ Bases:
azure.mgmt.apimanagement.models._models_py3.Resource
Portal revisions contract details.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
name (str) – Resource name.
status_details (str) – Portal revision publishing status details.
status (str or PortalRevisionStatus) – Portal revision publishing status. Possible values include: “pending”, “publishing”, “completed”, “failed”.
created_date_time (datetime) – Portal revision creation date and time.
updated_date_time (datetime) – Last updated date and time.
- Parameters
-
class
azure.mgmt.apimanagement.models.
PortalSettingValidationKeyContract
(*, validation_key: Optional[str] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Client or app secret used in IdentityProviders, Aad, OpenID or OAuth.
- Parameters
validation_key (str) – This is secret value of the validation key in portal settings.
-
class
azure.mgmt.apimanagement.models.
PortalSigninSettings
(*, enabled: Optional[bool] = None, **kwargs)[source]¶ Bases:
azure.mgmt.apimanagement.models._models_py3.Resource
Sign-In settings for the Developer Portal.
Variables are only populated by the server, and will be ignored when sending a request.
-
class
azure.mgmt.apimanagement.models.
PortalSignupSettings
(*, enabled: Optional[bool] = None, terms_of_service: Optional[TermsOfServiceProperties] = None, **kwargs)[source]¶ Bases:
azure.mgmt.apimanagement.models._models_py3.Resource
Sign-Up settings for a developer portal.
Variables are only populated by the server, and will be ignored when sending a request.
-
class
azure.mgmt.apimanagement.models.
ProductCollection
(*, value: Optional[List[ProductContract]] = None, next_link: Optional[str] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Paged Products list representation.
- Parameters
value (list[ProductContract]) – Page values.
next_link (str) – Next page link if any.
-
class
azure.mgmt.apimanagement.models.
ProductContract
(*, description: Optional[str] = None, terms: Optional[str] = None, subscription_required: Optional[bool] = None, approval_required: Optional[bool] = None, subscriptions_limit: Optional[int] = None, state: Union[str, ProductState, None] = None, display_name: Optional[str] = None, **kwargs)[source]¶ Bases:
azure.mgmt.apimanagement.models._models_py3.Resource
Product details.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
- Parameters
description (str) – Product description. May include HTML formatting tags.
terms (str) – Product terms of use. Developers trying to subscribe to the product will be presented and required to accept these terms before they can complete the subscription process.
subscription_required (bool) – Whether a product subscription is required for accessing APIs included in this product. If true, the product is referred to as “protected” and a valid subscription key is required for a request to an API included in the product to succeed. If false, the product is referred to as “open” and requests to an API included in the product can be made without a subscription key. If property is omitted when creating a new product it’s value is assumed to be true.
approval_required (bool) – whether subscription approval is required. If false, new subscriptions will be approved automatically enabling developers to call the product’s APIs immediately after subscribing. If true, administrators must manually approve the subscription before the developer can any of the product’s APIs. Can be present only if subscriptionRequired property is present and has a value of false.
subscriptions_limit (int) – Whether the number of subscriptions a user can have to this product at the same time. Set to null or omit to allow unlimited per user subscriptions. Can be present only if subscriptionRequired property is present and has a value of false.
state (str or ProductState) – whether product is published or not. Published products are discoverable by users of developer portal. Non published products are visible only to administrators. Default state of Product is notPublished. Possible values include: “notPublished”, “published”.
display_name (str) – Product name.
-
class
azure.mgmt.apimanagement.models.
ProductContractProperties
(*, display_name: str, description: Optional[str] = None, terms: Optional[str] = None, subscription_required: Optional[bool] = None, approval_required: Optional[bool] = None, subscriptions_limit: Optional[int] = None, state: Union[str, ProductState, None] = None, **kwargs)[source]¶ Bases:
azure.mgmt.apimanagement.models._models_py3.ProductEntityBaseParameters
Product profile.
All required parameters must be populated in order to send to Azure.
- Parameters
description (str) – Product description. May include HTML formatting tags.
terms (str) – Product terms of use. Developers trying to subscribe to the product will be presented and required to accept these terms before they can complete the subscription process.
subscription_required (bool) – Whether a product subscription is required for accessing APIs included in this product. If true, the product is referred to as “protected” and a valid subscription key is required for a request to an API included in the product to succeed. If false, the product is referred to as “open” and requests to an API included in the product can be made without a subscription key. If property is omitted when creating a new product it’s value is assumed to be true.
approval_required (bool) – whether subscription approval is required. If false, new subscriptions will be approved automatically enabling developers to call the product’s APIs immediately after subscribing. If true, administrators must manually approve the subscription before the developer can any of the product’s APIs. Can be present only if subscriptionRequired property is present and has a value of false.
subscriptions_limit (int) – Whether the number of subscriptions a user can have to this product at the same time. Set to null or omit to allow unlimited per user subscriptions. Can be present only if subscriptionRequired property is present and has a value of false.
state (str or ProductState) – whether product is published or not. Published products are discoverable by users of developer portal. Non published products are visible only to administrators. Default state of Product is notPublished. Possible values include: “notPublished”, “published”.
display_name (str) – Required. Product name.
-
class
azure.mgmt.apimanagement.models.
ProductEntityBaseParameters
(*, description: Optional[str] = None, terms: Optional[str] = None, subscription_required: Optional[bool] = None, approval_required: Optional[bool] = None, subscriptions_limit: Optional[int] = None, state: Union[str, ProductState, None] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Product Entity Base Parameters.
- Parameters
description (str) – Product description. May include HTML formatting tags.
terms (str) – Product terms of use. Developers trying to subscribe to the product will be presented and required to accept these terms before they can complete the subscription process.
subscription_required (bool) – Whether a product subscription is required for accessing APIs included in this product. If true, the product is referred to as “protected” and a valid subscription key is required for a request to an API included in the product to succeed. If false, the product is referred to as “open” and requests to an API included in the product can be made without a subscription key. If property is omitted when creating a new product it’s value is assumed to be true.
approval_required (bool) – whether subscription approval is required. If false, new subscriptions will be approved automatically enabling developers to call the product’s APIs immediately after subscribing. If true, administrators must manually approve the subscription before the developer can any of the product’s APIs. Can be present only if subscriptionRequired property is present and has a value of false.
subscriptions_limit (int) – Whether the number of subscriptions a user can have to this product at the same time. Set to null or omit to allow unlimited per user subscriptions. Can be present only if subscriptionRequired property is present and has a value of false.
state (str or ProductState) – whether product is published or not. Published products are discoverable by users of developer portal. Non published products are visible only to administrators. Default state of Product is notPublished. Possible values include: “notPublished”, “published”.
-
class
azure.mgmt.apimanagement.models.
ProductTagResourceContractProperties
(*, name: str, description: Optional[str] = None, terms: Optional[str] = None, subscription_required: Optional[bool] = None, approval_required: Optional[bool] = None, subscriptions_limit: Optional[int] = None, state: Union[str, ProductState, None] = None, id: Optional[str] = None, **kwargs)[source]¶ Bases:
azure.mgmt.apimanagement.models._models_py3.ProductEntityBaseParameters
Product profile.
All required parameters must be populated in order to send to Azure.
- Parameters
description (str) – Product description. May include HTML formatting tags.
terms (str) – Product terms of use. Developers trying to subscribe to the product will be presented and required to accept these terms before they can complete the subscription process.
subscription_required (bool) – Whether a product subscription is required for accessing APIs included in this product. If true, the product is referred to as “protected” and a valid subscription key is required for a request to an API included in the product to succeed. If false, the product is referred to as “open” and requests to an API included in the product can be made without a subscription key. If property is omitted when creating a new product it’s value is assumed to be true.
approval_required (bool) – whether subscription approval is required. If false, new subscriptions will be approved automatically enabling developers to call the product’s APIs immediately after subscribing. If true, administrators must manually approve the subscription before the developer can any of the product’s APIs. Can be present only if subscriptionRequired property is present and has a value of false.
subscriptions_limit (int) – Whether the number of subscriptions a user can have to this product at the same time. Set to null or omit to allow unlimited per user subscriptions. Can be present only if subscriptionRequired property is present and has a value of false.
state (str or ProductState) – whether product is published or not. Published products are discoverable by users of developer portal. Non published products are visible only to administrators. Default state of Product is notPublished. Possible values include: “notPublished”, “published”.
id (str) – Identifier of the product in the form of /products/{productId}.
name (str) – Required. Product name.
-
class
azure.mgmt.apimanagement.models.
ProductUpdateParameters
(*, description: Optional[str] = None, terms: Optional[str] = None, subscription_required: Optional[bool] = None, approval_required: Optional[bool] = None, subscriptions_limit: Optional[int] = None, state: Union[str, ProductState, None] = None, display_name: Optional[str] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Product Update parameters.
- Parameters
description (str) – Product description. May include HTML formatting tags.
terms (str) – Product terms of use. Developers trying to subscribe to the product will be presented and required to accept these terms before they can complete the subscription process.
subscription_required (bool) – Whether a product subscription is required for accessing APIs included in this product. If true, the product is referred to as “protected” and a valid subscription key is required for a request to an API included in the product to succeed. If false, the product is referred to as “open” and requests to an API included in the product can be made without a subscription key. If property is omitted when creating a new product it’s value is assumed to be true.
approval_required (bool) – whether subscription approval is required. If false, new subscriptions will be approved automatically enabling developers to call the product’s APIs immediately after subscribing. If true, administrators must manually approve the subscription before the developer can any of the product’s APIs. Can be present only if subscriptionRequired property is present and has a value of false.
subscriptions_limit (int) – Whether the number of subscriptions a user can have to this product at the same time. Set to null or omit to allow unlimited per user subscriptions. Can be present only if subscriptionRequired property is present and has a value of false.
state (str or ProductState) – whether product is published or not. Published products are discoverable by users of developer portal. Non published products are visible only to administrators. Default state of Product is notPublished. Possible values include: “notPublished”, “published”.
display_name (str) – Product name.
-
class
azure.mgmt.apimanagement.models.
ProductUpdateProperties
(*, description: Optional[str] = None, terms: Optional[str] = None, subscription_required: Optional[bool] = None, approval_required: Optional[bool] = None, subscriptions_limit: Optional[int] = None, state: Union[str, ProductState, None] = None, display_name: Optional[str] = None, **kwargs)[source]¶ Bases:
azure.mgmt.apimanagement.models._models_py3.ProductEntityBaseParameters
Parameters supplied to the Update Product operation.
- Parameters
description (str) – Product description. May include HTML formatting tags.
terms (str) – Product terms of use. Developers trying to subscribe to the product will be presented and required to accept these terms before they can complete the subscription process.
subscription_required (bool) – Whether a product subscription is required for accessing APIs included in this product. If true, the product is referred to as “protected” and a valid subscription key is required for a request to an API included in the product to succeed. If false, the product is referred to as “open” and requests to an API included in the product can be made without a subscription key. If property is omitted when creating a new product it’s value is assumed to be true.
approval_required (bool) – whether subscription approval is required. If false, new subscriptions will be approved automatically enabling developers to call the product’s APIs immediately after subscribing. If true, administrators must manually approve the subscription before the developer can any of the product’s APIs. Can be present only if subscriptionRequired property is present and has a value of false.
subscriptions_limit (int) – Whether the number of subscriptions a user can have to this product at the same time. Set to null or omit to allow unlimited per user subscriptions. Can be present only if subscriptionRequired property is present and has a value of false.
state (str or ProductState) – whether product is published or not. Published products are discoverable by users of developer portal. Non published products are visible only to administrators. Default state of Product is notPublished. Possible values include: “notPublished”, “published”.
display_name (str) – Product name.
-
class
azure.mgmt.apimanagement.models.
QuotaCounterCollection
(*, value: Optional[List[QuotaCounterContract]] = None, count: Optional[int] = None, next_link: Optional[str] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Paged Quota Counter list representation.
- Parameters
value (list[QuotaCounterContract]) – Quota counter values.
count (long) – Total record count number across all pages.
next_link (str) – Next page link if any.
-
class
azure.mgmt.apimanagement.models.
QuotaCounterContract
(*, counter_key: str, period_key: str, period_start_time: datetime.datetime, period_end_time: datetime.datetime, value: Optional[QuotaCounterValueContractProperties] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Quota counter details.
All required parameters must be populated in order to send to Azure.
- Parameters
counter_key (str) – Required. The Key value of the Counter. Must not be empty.
period_key (str) – Required. Identifier of the Period for which the counter was collected. Must not be empty.
period_start_time (datetime) – Required. The date of the start of Counter Period. The date conforms to the following format:
yyyy-MM-ddTHH:mm:ssZ
as specified by the ISO 8601 standard.period_end_time (datetime) – Required. The date of the end of Counter Period. The date conforms to the following format:
yyyy-MM-ddTHH:mm:ssZ
as specified by the ISO 8601 standard.value (QuotaCounterValueContractProperties) – Quota Value Properties.
-
class
azure.mgmt.apimanagement.models.
QuotaCounterValueContract
(*, calls_count: Optional[int] = None, kb_transferred: Optional[float] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Quota counter value details.
-
class
azure.mgmt.apimanagement.models.
QuotaCounterValueContractProperties
(*, calls_count: Optional[int] = None, kb_transferred: Optional[float] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Quota counter value details.
-
class
azure.mgmt.apimanagement.models.
QuotaCounterValueUpdateContract
(*, calls_count: Optional[int] = None, kb_transferred: Optional[float] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Quota counter value details.
-
class
azure.mgmt.apimanagement.models.
RecipientEmailCollection
(*, value: Optional[List[RecipientEmailContract]] = None, next_link: Optional[str] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Paged Recipient User list representation.
- Parameters
value (list[RecipientEmailContract]) – Page values.
next_link (str) – Next page link if any.
-
class
azure.mgmt.apimanagement.models.
RecipientEmailContract
(*, email: Optional[str] = None, **kwargs)[source]¶ Bases:
azure.mgmt.apimanagement.models._models_py3.Resource
Recipient Email details.
Variables are only populated by the server, and will be ignored when sending a request.
-
class
azure.mgmt.apimanagement.models.
RecipientUserCollection
(*, value: Optional[List[RecipientUserContract]] = None, next_link: Optional[str] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Paged Recipient User list representation.
- Parameters
value (list[RecipientUserContract]) – Page values.
next_link (str) – Next page link if any.
-
class
azure.mgmt.apimanagement.models.
RecipientUserContract
(*, user_id: Optional[str] = None, **kwargs)[source]¶ Bases:
azure.mgmt.apimanagement.models._models_py3.Resource
Recipient User details.
Variables are only populated by the server, and will be ignored when sending a request.
-
class
azure.mgmt.apimanagement.models.
RecipientsContractProperties
(*, emails: Optional[List[str]] = None, users: Optional[List[str]] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Notification Parameter contract.
-
class
azure.mgmt.apimanagement.models.
RegionContract
(*, is_master_region: Optional[bool] = None, is_deleted: Optional[bool] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Region profile.
Variables are only populated by the server, and will be ignored when sending a request.
-
class
azure.mgmt.apimanagement.models.
RegionListResult
(*, value: Optional[List[RegionContract]] = None, count: Optional[int] = None, next_link: Optional[str] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Lists Regions operation response details.
- Parameters
value (list[RegionContract]) – Lists of Regions.
count (long) – Total record count number across all pages.
next_link (str) – Next page link if any.
-
class
azure.mgmt.apimanagement.models.
RegistrationDelegationSettingsProperties
(*, enabled: Optional[bool] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
User registration delegation settings properties.
- Parameters
enabled (bool) – Enable or disable delegation for user registration.
-
class
azure.mgmt.apimanagement.models.
ReportCollection
(*, value: Optional[List[ReportRecordContract]] = None, count: Optional[int] = None, next_link: Optional[str] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Paged Report records list representation.
- Parameters
value (list[ReportRecordContract]) – Page values.
count (long) – Total record count number across all pages.
next_link (str) – Next page link if any.
-
class
azure.mgmt.apimanagement.models.
ReportRecordContract
(*, name: Optional[str] = None, timestamp: Optional[datetime.datetime] = None, interval: Optional[str] = None, country: Optional[str] = None, region: Optional[str] = None, zip: Optional[str] = None, api_id: Optional[str] = None, operation_id: Optional[str] = None, api_region: Optional[str] = None, subscription_id: Optional[str] = None, call_count_success: Optional[int] = None, call_count_blocked: Optional[int] = None, call_count_failed: Optional[int] = None, call_count_other: Optional[int] = None, call_count_total: Optional[int] = None, bandwidth: Optional[int] = None, cache_hit_count: Optional[int] = None, cache_miss_count: Optional[int] = None, api_time_avg: Optional[float] = None, api_time_min: Optional[float] = None, api_time_max: Optional[float] = None, service_time_avg: Optional[float] = None, service_time_min: Optional[float] = None, service_time_max: Optional[float] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Report data.
Variables are only populated by the server, and will be ignored when sending a request.
- Parameters
name (str) – Name depending on report endpoint specifies product, API, operation or developer name.
timestamp (datetime) – Start of aggregation period. The date conforms to the following format:
yyyy-MM-ddTHH:mm:ssZ
as specified by the ISO 8601 standard.interval (str) – Length of aggregation period. Interval must be multiple of 15 minutes and may not be zero. The value should be in ISO 8601 format (http://en.wikipedia.org/wiki/ISO_8601#Durations).
country (str) – Country to which this record data is related.
region (str) – Country region to which this record data is related.
zip (str) – Zip code to which this record data is related.
api_id (str) – API identifier path. /apis/{apiId}.
operation_id (str) – Operation identifier path. /apis/{apiId}/operations/{operationId}.
api_region (str) – API region identifier.
subscription_id (str) – Subscription identifier path. /subscriptions/{subscriptionId}.
call_count_success (int) – Number of successful calls. This includes calls returning HttpStatusCode <= 301 and HttpStatusCode.NotModified and HttpStatusCode.TemporaryRedirect.
call_count_blocked (int) – Number of calls blocked due to invalid credentials. This includes calls returning HttpStatusCode.Unauthorized and HttpStatusCode.Forbidden and HttpStatusCode.TooManyRequests.
call_count_failed (int) – Number of calls failed due to proxy or backend errors. This includes calls returning HttpStatusCode.BadRequest(400) and any Code between HttpStatusCode.InternalServerError (500) and 600.
call_count_other (int) – Number of other calls.
call_count_total (int) – Total number of calls.
bandwidth (long) – Bandwidth consumed.
cache_hit_count (int) – Number of times when content was served from cache policy.
cache_miss_count (int) – Number of times content was fetched from backend.
api_time_avg (float) – Average time it took to process request.
api_time_min (float) – Minimum time it took to process request.
api_time_max (float) – Maximum time it took to process request.
service_time_avg (float) – Average time it took to process request on backend.
service_time_min (float) – Minimum time it took to process request on backend.
service_time_max (float) – Maximum time it took to process request on backend.
- Variables
-
class
azure.mgmt.apimanagement.models.
RepresentationContract
(*, content_type: str, sample: Optional[str] = None, schema_id: Optional[str] = None, type_name: Optional[str] = None, form_parameters: Optional[List[ParameterContract]] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Operation request/response representation details.
All required parameters must be populated in order to send to Azure.
- Parameters
content_type (str) – Required. Specifies a registered or custom content type for this representation, e.g. application/xml.
sample (str) – An example of the representation.
schema_id (str) – Schema identifier. Applicable only if ‘contentType’ value is neither ‘application/x-www-form-urlencoded’ nor ‘multipart/form-data’.
type_name (str) – Type name defined by the schema. Applicable only if ‘contentType’ value is neither ‘application/x-www-form-urlencoded’ nor ‘multipart/form-data’.
form_parameters (list[ParameterContract]) – Collection of form parameters. Required if ‘contentType’ value is either ‘application/x-www-form-urlencoded’ or ‘multipart/form-data’..
-
class
azure.mgmt.apimanagement.models.
RequestContract
(*, description: Optional[str] = None, query_parameters: Optional[List[ParameterContract]] = None, headers: Optional[List[ParameterContract]] = None, representations: Optional[List[RepresentationContract]] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Operation request details.
- Parameters
description (str) – Operation request description.
query_parameters (list[ParameterContract]) – Collection of operation request query parameters.
headers (list[ParameterContract]) – Collection of operation request headers.
representations (list[RepresentationContract]) – Collection of operation request representations.
-
class
azure.mgmt.apimanagement.models.
RequestReportCollection
(*, value: Optional[List[RequestReportRecordContract]] = None, count: Optional[int] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Paged Report records list representation.
- Parameters
value (list[RequestReportRecordContract]) – Page values.
count (long) – Total record count number across all pages.
-
class
azure.mgmt.apimanagement.models.
RequestReportRecordContract
(*, api_id: Optional[str] = None, operation_id: Optional[str] = None, method: Optional[str] = None, url: Optional[str] = None, ip_address: Optional[str] = None, backend_response_code: Optional[str] = None, response_code: Optional[int] = None, response_size: Optional[int] = None, timestamp: Optional[datetime.datetime] = None, cache: Optional[str] = None, api_time: Optional[float] = None, service_time: Optional[float] = None, api_region: Optional[str] = None, subscription_id: Optional[str] = None, request_id: Optional[str] = None, request_size: Optional[int] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Request Report data.
Variables are only populated by the server, and will be ignored when sending a request.
- Parameters
api_id (str) – API identifier path. /apis/{apiId}.
operation_id (str) – Operation identifier path. /apis/{apiId}/operations/{operationId}.
method (str) – The HTTP method associated with this request..
url (str) – The full URL associated with this request.
ip_address (str) – The client IP address associated with this request.
backend_response_code (str) – The HTTP status code received by the gateway as a result of forwarding this request to the backend.
response_code (int) – The HTTP status code returned by the gateway.
response_size (int) – The size of the response returned by the gateway.
timestamp (datetime) – The date and time when this request was received by the gateway in ISO 8601 format.
cache (str) – Specifies if response cache was involved in generating the response. If the value is none, the cache was not used. If the value is hit, cached response was returned. If the value is miss, the cache was used but lookup resulted in a miss and request was fulfilled by the backend.
api_time (float) – The total time it took to process this request.
service_time (float) – he time it took to forward this request to the backend and get the response back.
api_region (str) – Azure region where the gateway that processed this request is located.
subscription_id (str) – Subscription identifier path. /subscriptions/{subscriptionId}.
request_id (str) – Request Identifier.
request_size (int) – The size of this request..
- Variables
-
class
azure.mgmt.apimanagement.models.
Resource
(**kwargs)[source]¶ Bases:
msrest.serialization.Model
The Resource definition.
Variables are only populated by the server, and will be ignored when sending a request.
-
class
azure.mgmt.apimanagement.models.
ResourceLocationDataContract
(*, name: str, city: Optional[str] = None, district: Optional[str] = None, country_or_region: Optional[str] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Resource location data properties.
All required parameters must be populated in order to send to Azure.
- Parameters
name (str) – Required. A canonical name for the geographic or physical location.
city (str) – The city or locality where the resource is located.
district (str) – The district, state, or province where the resource is located.
country_or_region (str) – The country or region where the resource is located.
-
class
azure.mgmt.apimanagement.models.
ResourceSku
(*, name: Union[str, SkuType, None] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Describes an available API Management SKU.
-
class
azure.mgmt.apimanagement.models.
ResourceSkuCapacity
(**kwargs)[source]¶ Bases:
msrest.serialization.Model
Describes scaling information of a SKU.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
minimum (int) – The minimum capacity.
maximum (int) – The maximum capacity that can be set.
default (int) – The default capacity.
scale_type (str or ResourceSkuCapacityScaleType) – The scale type applicable to the sku. Possible values include: “automatic”, “manual”, “none”.
-
class
azure.mgmt.apimanagement.models.
ResourceSkuResult
(**kwargs)[source]¶ Bases:
msrest.serialization.Model
Describes an available API Management service SKU.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
resource_type (str) – The type of resource the SKU applies to.
sku (ResourceSku) – Specifies API Management SKU.
capacity (ResourceSkuCapacity) – Specifies the number of API Management units.
-
class
azure.mgmt.apimanagement.models.
ResourceSkuResults
(*, value: List[ResourceSkuResult], next_link: Optional[str] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
The API Management service SKUs operation response.
All required parameters must be populated in order to send to Azure.
- Parameters
value (list[ResourceSkuResult]) – Required. The list of skus available for the service.
next_link (str) – The uri to fetch the next page of API Management service Skus.
-
class
azure.mgmt.apimanagement.models.
ResponseContract
(*, status_code: int, description: Optional[str] = None, representations: Optional[List[RepresentationContract]] = None, headers: Optional[List[ParameterContract]] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Operation response details.
All required parameters must be populated in order to send to Azure.
- Parameters
status_code (int) – Required. Operation response HTTP status code.
description (str) – Operation response description.
representations (list[RepresentationContract]) – Collection of operation response representations.
headers (list[ParameterContract]) – Collection of operation response headers.
-
class
azure.mgmt.apimanagement.models.
SamplingSettings
(*, sampling_type: Union[str, SamplingType, None] = None, percentage: Optional[float] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Sampling settings for Diagnostic.
- Parameters
sampling_type (str or SamplingType) – Sampling type. Possible values include: “fixed”.
percentage (float) – Rate of sampling for fixed-rate sampling.
-
class
azure.mgmt.apimanagement.models.
SaveConfigurationParameter
(*, branch: Optional[str] = None, force: Optional[bool] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Save Tenant Configuration Contract details.
-
class
azure.mgmt.apimanagement.models.
SchemaCollection
(**kwargs)[source]¶ Bases:
msrest.serialization.Model
The response of the list schema operation.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
value (list[SchemaContract]) – Api Schema Contract value.
next_link (str) – Next page link if any.
-
class
azure.mgmt.apimanagement.models.
SchemaContract
(*, content_type: Optional[str] = None, value: Optional[str] = None, definitions: object = None, **kwargs)[source]¶ Bases:
azure.mgmt.apimanagement.models._models_py3.Resource
Schema Contract details.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
- Parameters
content_type (str) – 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). </br> -
Swagger
Schema useapplication/vnd.ms-azure-apim.swagger.definitions+json
</br> -WSDL
Schema useapplication/vnd.ms-azure-apim.xsd+xml
</br> -OpenApi
Schema useapplication/vnd.oai.openapi.components+json
</br> -WADL Schema
useapplication/vnd.ms-azure-apim.wadl.grammars+xml
.value (str) – Json escaped string defining the document representing the Schema. Used for schemas other than Swagger/OpenAPI.
definitions (object) – Types definitions. Used for Swagger/OpenAPI schemas only, null otherwise.
-
class
azure.mgmt.apimanagement.models.
SubscriptionCollection
(*, value: Optional[List[SubscriptionContract]] = None, next_link: Optional[str] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Paged Subscriptions list representation.
- Parameters
value (list[SubscriptionContract]) – Page values.
next_link (str) – Next page link if any.
-
class
azure.mgmt.apimanagement.models.
SubscriptionContract
(*, owner_id: Optional[str] = None, scope: Optional[str] = None, display_name: Optional[str] = None, state: Union[str, SubscriptionState, None] = None, start_date: Optional[datetime.datetime] = None, expiration_date: Optional[datetime.datetime] = None, end_date: Optional[datetime.datetime] = None, notification_date: Optional[datetime.datetime] = None, primary_key: Optional[str] = None, secondary_key: Optional[str] = None, state_comment: Optional[str] = None, allow_tracing: Optional[bool] = None, **kwargs)[source]¶ Bases:
azure.mgmt.apimanagement.models._models_py3.Resource
Subscription details.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
- Parameters
owner_id (str) – The user resource identifier of the subscription owner. The value is a valid relative URL in the format of /users/{userId} where {userId} is a user identifier.
scope (str) – Scope like /products/{productId} or /apis or /apis/{apiId}.
display_name (str) – The name of the subscription, or null if the subscription has no name.
state (str or SubscriptionState) – Subscription state. Possible states are * active – the subscription is active, * suspended – the subscription is blocked, and the subscriber cannot call any APIs of the product, * submitted – the subscription request has been made by the developer, but has not yet been approved or rejected, * rejected – the subscription request has been denied by an administrator, * cancelled – the subscription has been cancelled by the developer or administrator, * expired – the subscription reached its expiration date and was deactivated. Possible values include: “suspended”, “active”, “expired”, “submitted”, “rejected”, “cancelled”.
start_date (datetime) – Subscription activation date. The setting is for audit purposes only and the subscription is not automatically activated. The subscription lifecycle can be managed by using the
state
property. The date conforms to the following format:yyyy-MM-ddTHH:mm:ssZ
as specified by the ISO 8601 standard.expiration_date (datetime) – Subscription expiration date. The setting is for audit purposes only and the subscription is not automatically expired. The subscription lifecycle can be managed by using the
state
property. The date conforms to the following format:yyyy-MM- ddTHH:mm:ssZ
as specified by the ISO 8601 standard.end_date (datetime) – Date when subscription was cancelled or expired. The setting is for audit purposes only and the subscription is not automatically cancelled. The subscription lifecycle can be managed by using the
state
property. The date conforms to the following format:yyyy-MM-ddTHH:mm:ssZ
as specified by the ISO 8601 standard.notification_date (datetime) – Upcoming subscription expiration notification date. The date conforms to the following format:
yyyy-MM-ddTHH:mm:ssZ
as specified by the ISO 8601 standard.primary_key (str) – Subscription primary key. This property will not be filled on ‘GET’ operations! Use ‘/listSecrets’ POST request to get the value.
secondary_key (str) – Subscription secondary key. This property will not be filled on ‘GET’ operations! Use ‘/listSecrets’ POST request to get the value.
state_comment (str) – Optional subscription comment added by an administrator when the state is changed to the ‘rejected’.
allow_tracing (bool) – Determines whether tracing is enabled.
-
class
azure.mgmt.apimanagement.models.
SubscriptionCreateParameters
(*, owner_id: Optional[str] = None, scope: Optional[str] = None, display_name: Optional[str] = None, primary_key: Optional[str] = None, secondary_key: Optional[str] = None, state: Union[str, SubscriptionState, None] = None, allow_tracing: Optional[bool] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Subscription create details.
- Parameters
owner_id (str) – User (user id path) for whom subscription is being created in form /users/{userId}.
scope (str) – Scope like /products/{productId} or /apis or /apis/{apiId}.
display_name (str) – Subscription name.
primary_key (str) – Primary subscription key. If not specified during request key will be generated automatically.
secondary_key (str) – Secondary subscription key. If not specified during request key will be generated automatically.
state (str or SubscriptionState) – Initial subscription state. If no value is specified, subscription is created with Submitted state. Possible states are * active – the subscription is active, * suspended – the subscription is blocked, and the subscriber cannot call any APIs of the product, * submitted – the subscription request has been made by the developer, but has not yet been approved or rejected, * rejected – the subscription request has been denied by an administrator, * cancelled – the subscription has been cancelled by the developer or administrator, * expired – the subscription reached its expiration date and was deactivated. Possible values include: “suspended”, “active”, “expired”, “submitted”, “rejected”, “cancelled”.
allow_tracing (bool) – Determines whether tracing can be enabled.
-
class
azure.mgmt.apimanagement.models.
SubscriptionKeyParameterNamesContract
(*, header: Optional[str] = None, query: Optional[str] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Subscription key parameter names details.
-
class
azure.mgmt.apimanagement.models.
SubscriptionKeysContract
(*, primary_key: Optional[str] = None, secondary_key: Optional[str] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Subscription keys.
-
class
azure.mgmt.apimanagement.models.
SubscriptionUpdateParameters
(*, owner_id: Optional[str] = None, scope: Optional[str] = None, expiration_date: Optional[datetime.datetime] = None, display_name: Optional[str] = None, primary_key: Optional[str] = None, secondary_key: Optional[str] = None, state: Union[str, SubscriptionState, None] = None, state_comment: Optional[str] = None, allow_tracing: Optional[bool] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Subscription update details.
- Parameters
owner_id (str) – User identifier path: /users/{userId}.
scope (str) – Scope like /products/{productId} or /apis or /apis/{apiId}.
expiration_date (datetime) – Subscription expiration date. The setting is for audit purposes only and the subscription is not automatically expired. The subscription lifecycle can be managed by using the
state
property. The date conforms to the following format:yyyy-MM- ddTHH:mm:ssZ
as specified by the ISO 8601 standard.display_name (str) – Subscription name.
primary_key (str) – Primary subscription key.
secondary_key (str) – Secondary subscription key.
state (str or SubscriptionState) – Subscription state. Possible states are * active – the subscription is active, * suspended – the subscription is blocked, and the subscriber cannot call any APIs of the product, * submitted – the subscription request has been made by the developer, but has not yet been approved or rejected, * rejected – the subscription request has been denied by an administrator, * cancelled – the subscription has been cancelled by the developer or administrator, * expired – the subscription reached its expiration date and was deactivated. Possible values include: “suspended”, “active”, “expired”, “submitted”, “rejected”, “cancelled”.
state_comment (str) – Comments describing subscription state change by the administrator when the state is changed to the ‘rejected’.
allow_tracing (bool) – Determines whether tracing can be enabled.
-
class
azure.mgmt.apimanagement.models.
SubscriptionsDelegationSettingsProperties
(*, enabled: Optional[bool] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Subscriptions delegation settings properties.
- Parameters
enabled (bool) – Enable or disable delegation for subscriptions.
-
class
azure.mgmt.apimanagement.models.
TagCollection
(*, value: Optional[List[TagContract]] = None, next_link: Optional[str] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Paged Tag list representation.
- Parameters
value (list[TagContract]) – Page values.
next_link (str) – Next page link if any.
-
class
azure.mgmt.apimanagement.models.
TagContract
(*, display_name: Optional[str] = None, **kwargs)[source]¶ Bases:
azure.mgmt.apimanagement.models._models_py3.Resource
Tag Contract details.
Variables are only populated by the server, and will be ignored when sending a request.
-
class
azure.mgmt.apimanagement.models.
TagCreateUpdateParameters
(*, display_name: Optional[str] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Parameters supplied to Create/Update Tag operations.
- Parameters
display_name (str) – Tag name.
-
class
azure.mgmt.apimanagement.models.
TagDescriptionBaseProperties
(*, description: Optional[str] = None, external_docs_url: Optional[str] = None, external_docs_description: Optional[str] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Parameters supplied to the Create TagDescription operation.
-
class
azure.mgmt.apimanagement.models.
TagDescriptionCollection
(*, value: Optional[List[TagDescriptionContract]] = None, next_link: Optional[str] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Paged TagDescription list representation.
- Parameters
value (list[TagDescriptionContract]) – Page values.
next_link (str) – Next page link if any.
-
class
azure.mgmt.apimanagement.models.
TagDescriptionContract
(*, description: Optional[str] = None, external_docs_url: Optional[str] = None, external_docs_description: Optional[str] = None, tag_id: Optional[str] = None, display_name: Optional[str] = None, **kwargs)[source]¶ Bases:
azure.mgmt.apimanagement.models._models_py3.Resource
Contract details.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
- Parameters
description (str) – Description of the Tag.
external_docs_url (str) – Absolute URL of external resources describing the tag.
external_docs_description (str) – Description of the external resources describing the tag.
tag_id (str) – Identifier of the tag in the form of /tags/{tagId}.
display_name (str) – Tag name.
-
class
azure.mgmt.apimanagement.models.
TagDescriptionContractProperties
(*, description: Optional[str] = None, external_docs_url: Optional[str] = None, external_docs_description: Optional[str] = None, tag_id: Optional[str] = None, display_name: Optional[str] = None, **kwargs)[source]¶ Bases:
azure.mgmt.apimanagement.models._models_py3.TagDescriptionBaseProperties
TagDescription contract Properties.
- Parameters
description (str) – Description of the Tag.
external_docs_url (str) – Absolute URL of external resources describing the tag.
external_docs_description (str) – Description of the external resources describing the tag.
tag_id (str) – Identifier of the tag in the form of /tags/{tagId}.
display_name (str) – Tag name.
-
class
azure.mgmt.apimanagement.models.
TagDescriptionCreateParameters
(*, description: Optional[str] = None, external_docs_url: Optional[str] = None, external_docs_description: Optional[str] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Parameters supplied to the Create TagDescription operation.
-
class
azure.mgmt.apimanagement.models.
TagResourceCollection
(*, value: Optional[List[TagResourceContract]] = None, next_link: Optional[str] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Paged Tag list representation.
- Parameters
value (list[TagResourceContract]) – Page values.
next_link (str) – Next page link if any.
-
class
azure.mgmt.apimanagement.models.
TagResourceContract
(*, tag: azure.mgmt.apimanagement.models._models_py3.TagResourceContractProperties, api: Optional[ApiTagResourceContractProperties] = None, operation: Optional[OperationTagResourceContractProperties] = None, product: Optional[ProductTagResourceContractProperties] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
TagResource contract properties.
All required parameters must be populated in order to send to Azure.
- Parameters
tag (TagResourceContractProperties) – Required. Tag associated with the resource.
api (ApiTagResourceContractProperties) – Api associated with the tag.
operation (OperationTagResourceContractProperties) – Operation associated with the tag.
product (ProductTagResourceContractProperties) – Product associated with the tag.
-
class
azure.mgmt.apimanagement.models.
TagResourceContractProperties
(*, id: Optional[str] = None, name: Optional[str] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Contract defining the Tag property in the Tag Resource Contract.
-
class
azure.mgmt.apimanagement.models.
TenantConfigurationSyncStateContract
(*, branch: Optional[str] = None, commit_id: Optional[str] = None, is_export: Optional[bool] = None, is_synced: Optional[bool] = None, is_git_enabled: Optional[bool] = None, sync_date: Optional[datetime.datetime] = None, configuration_change_date: Optional[datetime.datetime] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Tenant Configuration Synchronization State.
- Parameters
branch (str) – The name of Git branch.
commit_id (str) – The latest commit Id.
is_export (bool) – value indicating if last sync was save (true) or deploy (false) operation.
is_synced (bool) – value indicating if last synchronization was later than the configuration change.
is_git_enabled (bool) – value indicating whether Git configuration access is enabled.
sync_date (datetime) – The date of the latest synchronization. The date conforms to the following format:
yyyy-MM-ddTHH:mm:ssZ
as specified by the ISO 8601 standard.configuration_change_date (datetime) – The date of the latest configuration change. The date conforms to the following format:
yyyy-MM-ddTHH:mm:ssZ
as specified by the ISO 8601 standard.
-
class
azure.mgmt.apimanagement.models.
TermsOfServiceProperties
(*, text: Optional[str] = None, enabled: Optional[bool] = None, consent_required: Optional[bool] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Terms of service contract properties.
-
class
azure.mgmt.apimanagement.models.
TokenBodyParameterContract
(*, name: str, value: str, **kwargs)[source]¶ Bases:
msrest.serialization.Model
OAuth acquire token request body parameter (www-url-form-encoded).
All required parameters must be populated in order to send to Azure.
-
class
azure.mgmt.apimanagement.models.
UserCollection
(*, value: Optional[List[UserContract]] = None, next_link: Optional[str] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Paged Users list representation.
- Parameters
value (list[UserContract]) – Page values.
next_link (str) – Next page link if any.
-
class
azure.mgmt.apimanagement.models.
UserContract
(*, state: Union[str, UserState, None] = 'active', note: Optional[str] = None, identities: Optional[List[UserIdentityContract]] = None, first_name: Optional[str] = None, last_name: Optional[str] = None, email: Optional[str] = None, registration_date: Optional[datetime.datetime] = None, **kwargs)[source]¶ Bases:
azure.mgmt.apimanagement.models._models_py3.Resource
User details.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
- Parameters
state (str or UserState) – Account state. Specifies whether the user is active or not. Blocked users are unable to sign into the developer portal or call any APIs of subscribed products. Default state is Active. Possible values include: “active”, “blocked”, “pending”, “deleted”. Default value: “active”.
note (str) – Optional note about a user set by the administrator.
identities (list[UserIdentityContract]) – Collection of user identities.
first_name (str) – First name.
last_name (str) – Last name.
email (str) – Email address.
registration_date (datetime) – Date of user registration. The date conforms to the following format:
yyyy-MM-ddTHH:mm:ssZ
as specified by the ISO 8601 standard.
-
class
azure.mgmt.apimanagement.models.
UserContractProperties
(*, state: Union[str, UserState, None] = 'active', note: Optional[str] = None, identities: Optional[List[UserIdentityContract]] = None, first_name: Optional[str] = None, last_name: Optional[str] = None, email: Optional[str] = None, registration_date: Optional[datetime.datetime] = None, **kwargs)[source]¶ Bases:
azure.mgmt.apimanagement.models._models_py3.UserEntityBaseParameters
User profile.
Variables are only populated by the server, and will be ignored when sending a request.
- Parameters
state (str or UserState) – Account state. Specifies whether the user is active or not. Blocked users are unable to sign into the developer portal or call any APIs of subscribed products. Default state is Active. Possible values include: “active”, “blocked”, “pending”, “deleted”. Default value: “active”.
note (str) – Optional note about a user set by the administrator.
identities (list[UserIdentityContract]) – Collection of user identities.
first_name (str) – First name.
last_name (str) – Last name.
email (str) – Email address.
registration_date (datetime) – Date of user registration. The date conforms to the following format:
yyyy-MM-ddTHH:mm:ssZ
as specified by the ISO 8601 standard.
- Variables
groups (list[GroupContractProperties]) – Collection of groups user is part of.
-
class
azure.mgmt.apimanagement.models.
UserCreateParameterProperties
(*, email: str, first_name: str, last_name: str, state: Union[str, UserState, None] = 'active', note: Optional[str] = None, identities: Optional[List[UserIdentityContract]] = None, password: Optional[str] = None, app_type: Union[str, AppType, None] = None, confirmation: Union[str, Confirmation, None] = None, **kwargs)[source]¶ Bases:
azure.mgmt.apimanagement.models._models_py3.UserEntityBaseParameters
Parameters supplied to the Create User operation.
All required parameters must be populated in order to send to Azure.
- Parameters
state (str or UserState) – Account state. Specifies whether the user is active or not. Blocked users are unable to sign into the developer portal or call any APIs of subscribed products. Default state is Active. Possible values include: “active”, “blocked”, “pending”, “deleted”. Default value: “active”.
note (str) – Optional note about a user set by the administrator.
identities (list[UserIdentityContract]) – Collection of user identities.
email (str) – Required. Email address. Must not be empty and must be unique within the service instance.
first_name (str) – Required. First name.
last_name (str) – Required. Last name.
password (str) – User Password. If no value is provided, a default password is generated.
app_type (str or AppType) – Determines the type of application which send the create user request. Default is legacy portal. Possible values include: “portal”, “developerPortal”.
confirmation (str or Confirmation) – Determines the type of confirmation e-mail that will be sent to the newly created user. Possible values include: “signup”, “invite”.
-
class
azure.mgmt.apimanagement.models.
UserCreateParameters
(*, state: Union[str, UserState, None] = 'active', note: Optional[str] = None, identities: Optional[List[UserIdentityContract]] = None, email: Optional[str] = None, first_name: Optional[str] = None, last_name: Optional[str] = None, password: Optional[str] = None, app_type: Union[str, AppType, None] = None, confirmation: Union[str, Confirmation, None] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
User create details.
- Parameters
state (str or UserState) – Account state. Specifies whether the user is active or not. Blocked users are unable to sign into the developer portal or call any APIs of subscribed products. Default state is Active. Possible values include: “active”, “blocked”, “pending”, “deleted”. Default value: “active”.
note (str) – Optional note about a user set by the administrator.
identities (list[UserIdentityContract]) – Collection of user identities.
email (str) – Email address. Must not be empty and must be unique within the service instance.
first_name (str) – First name.
last_name (str) – Last name.
password (str) – User Password. If no value is provided, a default password is generated.
app_type (str or AppType) – Determines the type of application which send the create user request. Default is legacy portal. Possible values include: “portal”, “developerPortal”.
confirmation (str or Confirmation) – Determines the type of confirmation e-mail that will be sent to the newly created user. Possible values include: “signup”, “invite”.
-
class
azure.mgmt.apimanagement.models.
UserEntityBaseParameters
(*, state: Union[str, UserState, None] = 'active', note: Optional[str] = None, identities: Optional[List[UserIdentityContract]] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
User Entity Base Parameters set.
- Parameters
state (str or UserState) – Account state. Specifies whether the user is active or not. Blocked users are unable to sign into the developer portal or call any APIs of subscribed products. Default state is Active. Possible values include: “active”, “blocked”, “pending”, “deleted”. Default value: “active”.
note (str) – Optional note about a user set by the administrator.
identities (list[UserIdentityContract]) – Collection of user identities.
-
class
azure.mgmt.apimanagement.models.
UserIdentityCollection
(*, value: Optional[List[UserIdentityContract]] = None, count: Optional[int] = None, next_link: Optional[str] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
List of Users Identity list representation.
- Parameters
value (list[UserIdentityContract]) – User Identity values.
count (long) – Total record count number across all pages.
next_link (str) – Next page link if any.
-
class
azure.mgmt.apimanagement.models.
UserIdentityContract
(*, provider: Optional[str] = None, id: Optional[str] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
User identity details.
-
class
azure.mgmt.apimanagement.models.
UserIdentityProperties
(*, principal_id: Optional[str] = None, client_id: Optional[str] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
UserIdentityProperties.
-
class
azure.mgmt.apimanagement.models.
UserTokenParameters
(*, key_type: Union[str, KeyType, None] = None, expiry: Optional[datetime.datetime] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Get User Token parameters.
- Parameters
key_type (str or KeyType) – The Key to be used to generate token for user. Possible values include: “primary”, “secondary”.
expiry (datetime) – The Expiry time of the Token. Maximum token expiry time is set to 30 days. The date conforms to the following format:
yyyy-MM-ddTHH:mm:ssZ
as specified by the ISO 8601 standard.
-
class
azure.mgmt.apimanagement.models.
UserTokenResult
(*, value: Optional[str] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Get User Token response details.
- Parameters
value (str) – Shared Access Authorization token for the User.
-
class
azure.mgmt.apimanagement.models.
UserUpdateParameters
(*, state: Union[str, UserState, None] = 'active', note: Optional[str] = None, identities: Optional[List[UserIdentityContract]] = None, email: Optional[str] = None, password: Optional[str] = None, first_name: Optional[str] = None, last_name: Optional[str] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
User update parameters.
- Parameters
state (str or UserState) – Account state. Specifies whether the user is active or not. Blocked users are unable to sign into the developer portal or call any APIs of subscribed products. Default state is Active. Possible values include: “active”, “blocked”, “pending”, “deleted”. Default value: “active”.
note (str) – Optional note about a user set by the administrator.
identities (list[UserIdentityContract]) – Collection of user identities.
email (str) – Email address. Must not be empty and must be unique within the service instance.
password (str) – User Password.
first_name (str) – First name.
last_name (str) – Last name.
-
class
azure.mgmt.apimanagement.models.
UserUpdateParametersProperties
(*, state: Union[str, UserState, None] = 'active', note: Optional[str] = None, identities: Optional[List[UserIdentityContract]] = None, email: Optional[str] = None, password: Optional[str] = None, first_name: Optional[str] = None, last_name: Optional[str] = None, **kwargs)[source]¶ Bases:
azure.mgmt.apimanagement.models._models_py3.UserEntityBaseParameters
Parameters supplied to the Update User operation.
- Parameters
state (str or UserState) – Account state. Specifies whether the user is active or not. Blocked users are unable to sign into the developer portal or call any APIs of subscribed products. Default state is Active. Possible values include: “active”, “blocked”, “pending”, “deleted”. Default value: “active”.
note (str) – Optional note about a user set by the administrator.
identities (list[UserIdentityContract]) – Collection of user identities.
email (str) – Email address. Must not be empty and must be unique within the service instance.
password (str) – User Password.
first_name (str) – First name.
last_name (str) – Last name.
-
class
azure.mgmt.apimanagement.models.
VirtualNetworkConfiguration
(*, subnet_resource_id: Optional[str] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Configuration of a virtual network to which API Management service is deployed.
Variables are only populated by the server, and will be ignored when sending a request.
-
class
azure.mgmt.apimanagement.models.
X509CertificateName
(*, name: Optional[str] = None, issuer_certificate_thumbprint: Optional[str] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Properties of server X509Names.
-
class
azure.mgmt.apimanagement.models.
AlwaysLog
[source]¶ -
Specifies for what type of messages sampling settings should not apply.
-
ALL_ERRORS
= 'allErrors'¶ Always log all erroneous request regardless of sampling settings.
-
-
class
azure.mgmt.apimanagement.models.
ApiVersionSetContractDetailsVersioningScheme
[source]¶ -
An value that determines where the API Version identifer will be located in a HTTP request.
-
HEADER
= 'Header'¶
-
QUERY
= 'Query'¶
-
SEGMENT
= 'Segment'¶
-
-
class
azure.mgmt.apimanagement.models.
ApimIdentityType
[source]¶ -
The type of identity used for the resource. The type ‘SystemAssigned, UserAssigned’ includes both an implicitly created identity and a set of user assigned identities. The type ‘None’ will remove any identities from the service.
-
NONE
= 'None'¶
-
SYSTEM_ASSIGNED
= 'SystemAssigned'¶
-
SYSTEM_ASSIGNED_USER_ASSIGNED
= 'SystemAssigned, UserAssigned'¶
-
USER_ASSIGNED
= 'UserAssigned'¶
-
-
class
azure.mgmt.apimanagement.models.
AppType
[source]¶ -
An enumeration.
-
DEVELOPER_PORTAL
= 'developerPortal'¶ User create request was sent by new developer portal.
-
PORTAL
= 'portal'¶ User create request was sent by legacy developer portal.
-
-
class
azure.mgmt.apimanagement.models.
AsyncOperationStatus
[source]¶ -
Status of an async operation.
-
FAILED
= 'Failed'¶
-
IN_PROGRESS
= 'InProgress'¶
-
STARTED
= 'Started'¶
-
SUCCEEDED
= 'Succeeded'¶
-
-
class
azure.mgmt.apimanagement.models.
AuthorizationMethod
[source]¶ -
An enumeration.
-
DELETE
= 'DELETE'¶
-
GET
= 'GET'¶
-
HEAD
= 'HEAD'¶
-
OPTIONS
= 'OPTIONS'¶
-
PATCH
= 'PATCH'¶
-
POST
= 'POST'¶
-
PUT
= 'PUT'¶
-
TRACE
= 'TRACE'¶
-
-
class
azure.mgmt.apimanagement.models.
BackendProtocol
[source]¶ -
Backend communication protocol.
-
HTTP
= 'http'¶ The Backend is a RESTful service.
-
SOAP
= 'soap'¶ The Backend is a SOAP service.
-
-
class
azure.mgmt.apimanagement.models.
BearerTokenSendingMethod
[source]¶ -
An enumeration.
-
AUTHORIZATION_HEADER
= 'authorizationHeader'¶
-
QUERY
= 'query'¶
-
-
class
azure.mgmt.apimanagement.models.
BearerTokenSendingMethods
[source]¶ -
Form of an authorization grant, which the client uses to request the access token.
-
AUTHORIZATION_HEADER
= 'authorizationHeader'¶ Access token will be transmitted in the Authorization header using Bearer schema.
-
QUERY
= 'query'¶ Access token will be transmitted as query parameters.
-
-
class
azure.mgmt.apimanagement.models.
CertificateConfigurationStoreName
[source]¶ -
The System.Security.Cryptography.x509certificates.StoreName certificate store location. Only Root and CertificateAuthority are valid locations.
-
CERTIFICATE_AUTHORITY
= 'CertificateAuthority'¶
-
ROOT
= 'Root'¶
-
-
class
azure.mgmt.apimanagement.models.
ClientAuthenticationMethod
[source]¶ -
An enumeration.
-
BASIC
= 'Basic'¶ Basic Client Authentication method.
-
BODY
= 'Body'¶ Body based Authentication method.
-
-
class
azure.mgmt.apimanagement.models.
ConfigurationIdName
[source]¶ -
An enumeration.
-
CONFIGURATION
= 'configuration'¶
-
-
class
azure.mgmt.apimanagement.models.
Confirmation
[source]¶ -
Determines the type of confirmation e-mail that will be sent to the newly created user.
-
INVITE
= 'invite'¶ Send an e-mail inviting the user to sign-up and complete registration.
-
SIGNUP
= 'signup'¶ Send an e-mail to the user confirming they have successfully signed up.
-
-
class
azure.mgmt.apimanagement.models.
ConnectivityStatusType
[source]¶ -
Resource Connectivity Status Type identifier.
-
FAILURE
= 'failure'¶
-
INITIALIZING
= 'initializing'¶
-
SUCCESS
= 'success'¶
-
-
class
azure.mgmt.apimanagement.models.
ContentFormat
[source]¶ -
Format of the Content in which the API is getting imported.
-
OPENAPI
= 'openapi'¶ The contents are inline and Content Type is a OpenAPI 3.0 YAML Document.
-
OPENAPI_JSON
= 'openapi+json'¶ The contents are inline and Content Type is a OpenAPI 3.0 JSON Document.
-
OPENAPI_JSON_LINK
= 'openapi+json-link'¶ The OpenAPI 3.0 JSON document is hosted on a publicly accessible internet address.
-
OPENAPI_LINK
= 'openapi-link'¶ The OpenAPI 3.0 YAML document is hosted on a publicly accessible internet address.
-
SWAGGER_JSON
= 'swagger-json'¶ The contents are inline and Content Type is a OpenAPI 2.0 JSON Document.
-
SWAGGER_LINK_JSON
= 'swagger-link-json'¶ The OpenAPI 2.0 JSON document is hosted on a publicly accessible internet address.
-
WADL_LINK_JSON
= 'wadl-link-json'¶ The WADL document is hosted on a publicly accessible internet address.
-
WADL_XML
= 'wadl-xml'¶ The contents are inline and Content type is a WADL document.
-
WSDL
= 'wsdl'¶ The contents are inline and the document is a WSDL/Soap document.
-
WSDL_LINK
= 'wsdl-link'¶ The WSDL document is hosted on a publicly accessible internet address.
-
-
class
azure.mgmt.apimanagement.models.
DataMaskingMode
[source]¶ -
Data masking mode.
-
HIDE
= 'Hide'¶ Hide the presence of an entity.
-
MASK
= 'Mask'¶ Mask the value of an entity.
-
-
class
azure.mgmt.apimanagement.models.
ExportFormat
[source]¶ -
An enumeration.
-
OPENAPI
= 'openapi-link'¶ Export the Api Definition in OpenAPI 3.0 Specification as YAML document to Storage Blob.
-
OPENAPI_JSON
= 'openapi+json-link'¶ Export the Api Definition in OpenAPI 3.0 Specification as JSON document to Storage Blob.
-
SWAGGER
= 'swagger-link'¶ Export the Api Definition in OpenAPI 2.0 Specification as JSON document to the Storage Blob.
-
WADL
= 'wadl-link'¶ Export the Api Definition in WADL Schema to Storage Blob.
-
WSDL
= 'wsdl-link'¶ Export the Api Definition in WSDL Schema to Storage Blob. This is only supported for APIs of Type
soap
.
-
-
class
azure.mgmt.apimanagement.models.
ExportResultFormat
[source]¶ -
Format in which the Api Details are exported to the Storage Blob with Sas Key valid for 5 minutes.
-
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.
-
WADL
= 'wadl-link-json'¶ Export the Api Definition in WADL Schema to 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
.
-
-
class
azure.mgmt.apimanagement.models.
GrantType
[source]¶ -
An enumeration.
-
AUTHORIZATION_CODE
= 'authorizationCode'¶ //tools.ietf.org/html/rfc6749#section-4.1.
- Type
Authorization Code Grant flow as described https
-
CLIENT_CREDENTIALS
= 'clientCredentials'¶ //tools.ietf.org/html/rfc6749#section-4.4.
- Type
Client Credentials Grant flow as described https
-
IMPLICIT
= 'implicit'¶ //tools.ietf.org/html/rfc6749#section-4.2.
- Type
Implicit Code Grant flow as described https
-
RESOURCE_OWNER_PASSWORD
= 'resourceOwnerPassword'¶ //tools.ietf.org/html/rfc6749#section-4.3.
- Type
Resource Owner Password Grant flow as described https
-
-
class
azure.mgmt.apimanagement.models.
GroupType
[source]¶ -
Group type.
-
CUSTOM
= 'custom'¶
-
EXTERNAL
= 'external'¶
-
SYSTEM
= 'system'¶
-
-
class
azure.mgmt.apimanagement.models.
HostnameType
[source]¶ -
Hostname type.
-
DEVELOPER_PORTAL
= 'DeveloperPortal'¶
-
MANAGEMENT
= 'Management'¶
-
PORTAL
= 'Portal'¶
-
PROXY
= 'Proxy'¶
-
SCM
= 'Scm'¶
-
-
class
azure.mgmt.apimanagement.models.
HttpCorrelationProtocol
[source]¶ -
Sets correlation protocol to use for Application Insights diagnostics.
-
LEGACY
= 'Legacy'¶ //github.com/dotnet/corefx/blob/master/src/System.Diagnostics.DiagnosticSource/src/HttpCorrelationProtocol.md.
- Type
Inject Request-Id and Request-Context headers with request correlation data. See https
-
NONE
= 'None'¶ Do not read and inject correlation headers.
-
W3_C
= 'W3C'¶ //w3c.github.io/trace-context.
- Type
Inject Trace Context headers. See https
-
-
class
azure.mgmt.apimanagement.models.
IdentityProviderType
[source]¶ -
An enumeration.
-
AAD
= 'aad'¶ Azure Active Directory as Identity provider.
-
AAD_B2_C
= 'aadB2C'¶ Azure Active Directory B2C as Identity provider.
-
FACEBOOK
= 'facebook'¶ Facebook as Identity provider.
-
GOOGLE
= 'google'¶ Google as Identity provider.
-
MICROSOFT
= 'microsoft'¶ Microsoft Live as Identity provider.
-
TWITTER
= 'twitter'¶ Twitter as Identity provider.
-
-
class
azure.mgmt.apimanagement.models.
KeyType
[source]¶ -
The Key to be used to generate token for user.
-
PRIMARY
= 'primary'¶
-
SECONDARY
= 'secondary'¶
-
-
class
azure.mgmt.apimanagement.models.
LoggerType
[source]¶ -
Logger type.
-
APPLICATION_INSIGHTS
= 'applicationInsights'¶ Azure Application Insights as log destination.
-
AZURE_EVENT_HUB
= 'azureEventHub'¶ Azure Event Hub as log destination.
-
AZURE_MONITOR
= 'azureMonitor'¶ Azure Monitor.
-
-
class
azure.mgmt.apimanagement.models.
NameAvailabilityReason
[source]¶ -
Invalid indicates the name provided does not match the resource provider’s naming requirements (incorrect length, unsupported characters, etc.) AlreadyExists indicates that the name is already in use and is therefore unavailable.
-
ALREADY_EXISTS
= 'AlreadyExists'¶
-
INVALID
= 'Invalid'¶
-
VALID
= 'Valid'¶
-
-
class
azure.mgmt.apimanagement.models.
NotificationName
[source]¶ -
An enumeration.
-
ACCOUNT_CLOSED_PUBLISHER
= 'AccountClosedPublisher'¶ The following email recipients and users will receive email notifications when developer closes his account.
-
BCC
= 'BCC'¶ The following recipients will receive blind carbon copies of all emails sent to developers.
-
NEW_APPLICATION_NOTIFICATION_MESSAGE
= 'NewApplicationNotificationMessage'¶ The following email recipients and users will receive email notifications when new applications are submitted to the application gallery.
-
NEW_ISSUE_PUBLISHER_NOTIFICATION_MESSAGE
= 'NewIssuePublisherNotificationMessage'¶ The following email recipients and users will receive email notifications when a new issue or comment is submitted on the developer portal.
-
PURCHASE_PUBLISHER_NOTIFICATION_MESSAGE
= 'PurchasePublisherNotificationMessage'¶ The following email recipients and users will receive email notifications about new API product subscriptions.
-
QUOTA_LIMIT_APPROACHING_PUBLISHER_NOTIFICATION_MESSAGE
= 'QuotaLimitApproachingPublisherNotificationMessage'¶ The following email recipients and users will receive email notifications when subscription usage gets close to usage quota.
-
REQUEST_PUBLISHER_NOTIFICATION_MESSAGE
= 'RequestPublisherNotificationMessage'¶ The following email recipients and users will receive email notifications about subscription requests for API products requiring approval.
-
-
class
azure.mgmt.apimanagement.models.
OperationNameFormat
[source]¶ -
The format of the Operation Name for Application Insights telemetries. Default is Name.
-
NAME
= 'Name'¶ API_NAME;rev=API_REVISION - OPERATION_NAME.
-
URL
= 'Url'¶ HTTP_VERB URL.
-
-
class
azure.mgmt.apimanagement.models.
PolicyContentFormat
[source]¶ -
Format of the policyContent.
-
RAWXML
= 'rawxml'¶ The contents are inline and Content type is a non XML encoded policy document.
-
RAWXML_LINK
= 'rawxml-link'¶ The policy document is not Xml encoded and is hosted on a http endpoint accessible from the API Management service.
-
XML
= 'xml'¶ The contents are inline and Content type is an XML document.
-
XML_LINK
= 'xml-link'¶ The policy XML document is hosted on a http endpoint accessible from the API Management service.
-
-
class
azure.mgmt.apimanagement.models.
PolicyExportFormat
[source]¶ -
An enumeration.
-
RAWXML
= 'rawxml'¶ The contents are inline and Content type is a non XML encoded policy document.
-
XML
= 'xml'¶ The contents are inline and Content type is an XML document.
-
-
class
azure.mgmt.apimanagement.models.
PolicyScopeContract
[source]¶ -
An enumeration.
-
ALL
= 'All'¶
-
API
= 'Api'¶
-
OPERATION
= 'Operation'¶
-
PRODUCT
= 'Product'¶
-
TENANT
= 'Tenant'¶
-
-
class
azure.mgmt.apimanagement.models.
PortalRevisionStatus
[source]¶ -
Portal revision publishing status
-
COMPLETED
= 'completed'¶ Portal revision publishing completed.
-
FAILED
= 'failed'¶ Portal revision publishing failed.
-
PENDING
= 'pending'¶ Portal revision publishing is pending.
-
PUBLISHING
= 'publishing'¶ Portal revision is publishing.
-
-
class
azure.mgmt.apimanagement.models.
ProductState
[source]¶ -
whether product is published or not. Published products are discoverable by users of developer portal. Non published products are visible only to administrators. Default state of Product is notPublished.
-
NOT_PUBLISHED
= 'notPublished'¶
-
PUBLISHED
= 'published'¶
-
-
class
azure.mgmt.apimanagement.models.
Protocol
[source]¶ -
An enumeration.
-
HTTP
= 'http'¶
-
HTTPS
= 'https'¶
-
-
class
azure.mgmt.apimanagement.models.
ResourceSkuCapacityScaleType
[source]¶ -
The scale type applicable to the sku.
-
AUTOMATIC
= 'automatic'¶ Supported scale type automatic.
-
MANUAL
= 'manual'¶ Supported scale type manual.
-
NONE
= 'none'¶ Scaling not supported.
-
-
class
azure.mgmt.apimanagement.models.
SamplingType
[source]¶ -
Sampling type.
-
FIXED
= 'fixed'¶ Fixed-rate sampling.
-
-
class
azure.mgmt.apimanagement.models.
SkuType
[source]¶ -
Name of the Sku.
-
BASIC
= 'Basic'¶ Basic SKU of Api Management.
-
CONSUMPTION
= 'Consumption'¶ Consumption SKU of Api Management.
-
DEVELOPER
= 'Developer'¶ Developer SKU of Api Management.
-
ISOLATED
= 'Isolated'¶ Isolated SKU of Api Management.
-
PREMIUM
= 'Premium'¶ Premium SKU of Api Management.
-
STANDARD
= 'Standard'¶ Standard SKU of Api Management.
-
-
class
azure.mgmt.apimanagement.models.
SoapApiType
[source]¶ -
Type of Api to create.
http
creates a SOAP to REST APIsoap
creates a SOAP pass-through API .
-
SOAP_PASS_THROUGH
= 'soap'¶ Imports the Soap API having a SOAP front end.
-
SOAP_TO_REST
= 'http'¶ Imports a SOAP API having a RESTful front end.
-
class
azure.mgmt.apimanagement.models.
State
[source]¶ -
Status of the issue.
-
CLOSED
= 'closed'¶ The issue was closed.
-
OPEN
= 'open'¶ The issue is opened.
-
PROPOSED
= 'proposed'¶ The issue is proposed.
-
REMOVED
= 'removed'¶ The issue was removed.
-
RESOLVED
= 'resolved'¶ The issue is now resolved.
-
-
class
azure.mgmt.apimanagement.models.
SubscriptionState
[source]¶ -
Subscription state. Possible states are * active – the subscription is active, * suspended – the subscription is blocked, and the subscriber cannot call any APIs of the product, * submitted – the subscription request has been made by the developer, but has not yet been approved or rejected, * rejected – the subscription request has been denied by an administrator, * cancelled – the subscription has been cancelled by the developer or administrator, * expired – the subscription reached its expiration date and was deactivated.
-
ACTIVE
= 'active'¶
-
CANCELLED
= 'cancelled'¶
-
EXPIRED
= 'expired'¶
-
REJECTED
= 'rejected'¶
-
SUBMITTED
= 'submitted'¶
-
SUSPENDED
= 'suspended'¶
-
-
class
azure.mgmt.apimanagement.models.
TemplateName
[source]¶ -
An enumeration.
-
ACCOUNT_CLOSED_DEVELOPER
= 'accountClosedDeveloper'¶
-
APPLICATION_APPROVED_NOTIFICATION_MESSAGE
= 'applicationApprovedNotificationMessage'¶
-
CONFIRM_SIGN_UP_IDENTITY_DEFAULT
= 'confirmSignUpIdentityDefault'¶
-
EMAIL_CHANGE_IDENTITY_DEFAULT
= 'emailChangeIdentityDefault'¶
-
INVITE_USER_NOTIFICATION_MESSAGE
= 'inviteUserNotificationMessage'¶
-
NEW_COMMENT_NOTIFICATION_MESSAGE
= 'newCommentNotificationMessage'¶
-
NEW_DEVELOPER_NOTIFICATION_MESSAGE
= 'newDeveloperNotificationMessage'¶
-
NEW_ISSUE_NOTIFICATION_MESSAGE
= 'newIssueNotificationMessage'¶
-
PASSWORD_RESET_BY_ADMIN_NOTIFICATION_MESSAGE
= 'passwordResetByAdminNotificationMessage'¶
-
PASSWORD_RESET_IDENTITY_DEFAULT
= 'passwordResetIdentityDefault'¶
-
PURCHASE_DEVELOPER_NOTIFICATION_MESSAGE
= 'purchaseDeveloperNotificationMessage'¶
-
QUOTA_LIMIT_APPROACHING_DEVELOPER_NOTIFICATION_MESSAGE
= 'quotaLimitApproachingDeveloperNotificationMessage'¶
-
REJECT_DEVELOPER_NOTIFICATION_MESSAGE
= 'rejectDeveloperNotificationMessage'¶
-
REQUEST_DEVELOPER_NOTIFICATION_MESSAGE
= 'requestDeveloperNotificationMessage'¶
-
-
class
azure.mgmt.apimanagement.models.
UserState
[source]¶ -
Account state. Specifies whether the user is active or not. Blocked users are unable to sign into the developer portal or call any APIs of subscribed products. Default state is Active.
-
ACTIVE
= 'active'¶ User state is active.
-
BLOCKED
= 'blocked'¶ User is blocked. Blocked users cannot authenticate at developer portal or call API.
-
DELETED
= 'deleted'¶ User account is closed. All identities and related entities are removed.
-
PENDING
= 'pending'¶ User account is pending. Requires identity confirmation before it can be made active.
-
-
class
azure.mgmt.apimanagement.models.
Verbosity
[source]¶ -
The verbosity level applied to traces emitted by trace policies.
-
ERROR
= 'error'¶ Only traces with ‘severity’ set to ‘error’ will be sent to the logger attached to this diagnostic instance.
-
INFORMATION
= 'information'¶ Traces with ‘severity’ set to ‘information’ and ‘error’ will be sent to the logger attached to this diagnostic instance.
-
VERBOSE
= 'verbose'¶ All the traces emitted by trace policies will be sent to the logger attached to this diagnostic instance.
-
-
class
azure.mgmt.apimanagement.models.
VersioningScheme
[source]¶ -
An value that determines where the API Version identifer will be located in a HTTP request.
-
HEADER
= 'Header'¶ The API Version is passed in a HTTP header.
-
QUERY
= 'Query'¶ The API Version is passed in a query parameter.
-
SEGMENT
= 'Segment'¶ The API Version is passed in a path segment.
-
-
class
azure.mgmt.apimanagement.models.
VirtualNetworkType
[source]¶ -
The type of VPN in which API Management service needs to be configured in. None (Default Value) means the API Management service is not part of any Virtual Network, External means the API Management deployment is set up inside a Virtual Network having an Internet Facing Endpoint, and Internal means that API Management deployment is setup inside a Virtual Network having an Intranet Facing Endpoint only.
-
EXTERNAL
= 'External'¶ The service is part of Virtual Network and it is accessible from Internet.
-
INTERNAL
= 'Internal'¶ The service is part of Virtual Network and it is only accessible from within the virtual network.
-
NONE
= 'None'¶ The service is not part of any Virtual Network.
-