ApiManagementServiceBaseProperties Class
- java.
lang. Object - com.
microsoft. azure. management. apimanagement. v2019_01_01.ApiManagementServiceBaseProperties
- com.
public class ApiManagementServiceBaseProperties
Base Properties of an API Management service resource description.
Constructor Summary
Constructor | Description | |
---|---|---|
ApiManagementServiceBaseProperties() |
Method Summary
Modifier and Type | Method and Description |
---|---|
java.util.List<Additional |
additionalLocations()
Get additional datacenter locations of the API Management service. |
java.util.List<Certificate |
certificates()
Get list of Certificates that need to be installed in the API Management service. |
org.joda.time.DateTime |
createdAtUtc()
Get creation UTC date of the API Management service. |
java.util.Map<java.lang.String,java.lang.String> |
customProperties()
Get custom properties of the API Management service. |
java.lang.Boolean |
enableClientCertificate()
Get property only meant to be used for Consumption SKU Service. |
java.lang.String |
gatewayRegionalUrl()
Get gateway URL of the API Management service in the Default Region. |
java.lang.String |
gatewayUrl()
Get gateway URL of the API Management service. |
java.util.List<Hostname |
hostnameConfigurations()
Get custom hostname configuration of the API Management service. |
java.lang.String |
managementApiUrl()
Get management API endpoint URL of the API Management service. |
java.lang.String |
notificationSenderEmail()
Get email address from which the notification will be sent. |
java.lang.String |
portalUrl()
Get publisher portal endpoint Url of the API Management service. |
java.util.List<java.lang.String> |
privateIPAddresses()
Get private Static Load Balanced IP addresses of the API Management service in Primary region which is deployed in an Internal Virtual Network. |
java.lang.String |
provisioningState()
Get the current provisioning state of the API Management service which can be one of the following: Created/Activating/Succeeded/Updating/Failed/Stopped/Terminating/Termination |
java.util.List<java.lang.String> |
publicIPAddresses()
Get public Static Load Balanced IP addresses of the API Management service in Primary region. |
java.lang.String |
scmUrl()
Get sCM endpoint URL of the API Management service. |
java.lang.String |
targetProvisioningState()
Get the provisioning state of the API Management service, which is targeted by the long running operation started on the service. |
Virtual |
virtualNetworkConfiguration()
Get virtual network configuration of the API Management service. |
Virtual |
virtualNetworkType()
Get the type of VPN in which API Management service needs to be configured in. |
Api |
withAdditionalLocations(List<AdditionalLocation> additionalLocations)
Set additional datacenter locations of the API Management service. |
Api |
withCertificates(List<CertificateConfiguration> certificates)
Set list of Certificates that need to be installed in the API Management service. |
Api |
withCustomProperties(Map<String,String> customProperties)
Set custom properties of the API Management service. |
Api |
withEnableClientCertificate(Boolean enableClientCertificate)
Set property only meant to be used for Consumption SKU Service. |
Api |
withHostnameConfigurations(List<HostnameConfiguration> hostnameConfigurations)
Set custom hostname configuration of the API Management service. |
Api |
withNotificationSenderEmail(String notificationSenderEmail)
Set email address from which the notification will be sent. |
Api |
withVirtualNetworkConfiguration(VirtualNetworkConfiguration virtualNetworkConfiguration)
Set virtual network configuration of the API Management service. |
Api |
withVirtualNetworkType(VirtualNetworkType virtualNetworkType)
Set the type of VPN in which API Management service needs to be configured in. |
Methods inherited from java.lang.Object
Constructor Details
ApiManagementServiceBaseProperties
public ApiManagementServiceBaseProperties()
Method Details
additionalLocations
public List
Get additional datacenter locations of the API Management service.
Returns:
certificates
public List
Get list of Certificates that need to be installed in the API Management service. Max supported certificates that can be installed is 10.
Returns:
createdAtUtc
public DateTime createdAtUtc()
Get 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.
Returns:
customProperties
public Map
Get custom properties of the API Management service.
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).
Setting `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls11` can be used to disable just TLS 1.1.
Setting `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10` can be used to disable TLS 1.0 on an API Management service.
Setting `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls11` can be used to disable just TLS 1.1 for communications with backends.
Setting `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls10` can be used to disable TLS 1.0 for communications with backends.
Setting `Microsoft.WindowsAzure.ApiManagement.Gateway.Protocols.Server.Http2` can be used to enable HTTP2 protocol on an API Management service.
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 is `True` if the service was created on or before April 1st 2018 and `False` otherwise. Http2 setting's default value is `False`.
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 is `true` for them.
Returns:
enableClientCertificate
public Boolean enableClientCertificate()
Get 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.
Returns:
gatewayRegionalUrl
public String gatewayRegionalUrl()
Get gateway URL of the API Management service in the Default Region.
Returns:
gatewayUrl
public String gatewayUrl()
Get gateway URL of the API Management service.
Returns:
hostnameConfigurations
public List
Get custom hostname configuration of the API Management service.
Returns:
managementApiUrl
public String managementApiUrl()
Get management API endpoint URL of the API Management service.
Returns:
notificationSenderEmail
public String notificationSenderEmail()
Get email address from which the notification will be sent.
Returns:
portalUrl
public String portalUrl()
Get publisher portal endpoint Url of the API Management service.
Returns:
privateIPAddresses
public List
Get 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 and Premium SKU.
Returns:
provisioningState
public String provisioningState()
Get 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.
Returns:
publicIPAddresses
public List
Get public Static Load Balanced IP addresses of the API Management service in Primary region. Available only for Basic, Standard and Premium SKU.
Returns:
scmUrl
public String scmUrl()
Get sCM endpoint URL of the API Management service.
Returns:
targetProvisioningState
public String targetProvisioningState()
Get the provisioning state of the API Management service, which is targeted by the long running operation started on the service.
Returns:
virtualNetworkConfiguration
public VirtualNetworkConfiguration virtualNetworkConfiguration()
Get virtual network configuration of the API Management service.
Returns:
virtualNetworkType
public VirtualNetworkType virtualNetworkType()
Get 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'.
Returns:
withAdditionalLocations
public ApiManagementServiceBaseProperties withAdditionalLocations(List
Set additional datacenter locations of the API Management service.
Parameters:
Returns:
withCertificates
public ApiManagementServiceBaseProperties withCertificates(List
Set list of Certificates that need to be installed in the API Management service. Max supported certificates that can be installed is 10.
Parameters:
Returns:
withCustomProperties
public ApiManagementServiceBaseProperties withCustomProperties(Map
Set custom properties of the API Management service.
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).
Setting `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls11` can be used to disable just TLS 1.1.
Setting `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10` can be used to disable TLS 1.0 on an API Management service.
Setting `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls11` can be used to disable just TLS 1.1 for communications with backends.
Setting `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls10` can be used to disable TLS 1.0 for communications with backends.
Setting `Microsoft.WindowsAzure.ApiManagement.Gateway.Protocols.Server.Http2` can be used to enable HTTP2 protocol on an API Management service.
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 is `True` if the service was created on or before April 1st 2018 and `False` otherwise. Http2 setting's default value is `False`.
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 is `true` for them.
Parameters:
Returns:
withEnableClientCertificate
public ApiManagementServiceBaseProperties withEnableClientCertificate(Boolean enableClientCertificate)
Set 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.
Parameters:
Returns:
withHostnameConfigurations
public ApiManagementServiceBaseProperties withHostnameConfigurations(List
Set custom hostname configuration of the API Management service.
Parameters:
Returns:
withNotificationSenderEmail
public ApiManagementServiceBaseProperties withNotificationSenderEmail(String notificationSenderEmail)
Set email address from which the notification will be sent.
Parameters:
Returns:
withVirtualNetworkConfiguration
public ApiManagementServiceBaseProperties withVirtualNetworkConfiguration(VirtualNetworkConfiguration virtualNetworkConfiguration)
Set virtual network configuration of the API Management service.
Parameters:
Returns:
withVirtualNetworkType
public ApiManagementServiceBaseProperties withVirtualNetworkType(VirtualNetworkType virtualNetworkType)
Set 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'.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for