ApiManagementServiceResourceInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. apimanagement. models. ApimResource - com.
azure. resourcemanager. apimanagement. fluent. models. ApiManagementServiceResourceInner
- com.
- com.
- com.
public final class ApiManagementServiceResourceInner
extends ApimResource
A single API Management service resource in List or Get response.
Constructor Summary
Constructor | Description |
---|---|
ApiManagementServiceResourceInner() |
Creates an instance of Api |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Additional |
additionalLocations()
Get the additional |
Api |
apiVersionConstraint()
Get the api |
List<Certificate |
certificates()
Get the certificates property: List of Certificates that need to be installed in the API Management service. |
Offset |
createdAtUtc()
Get the created |
Map<String,String> |
customProperties()
Get the custom |
String |
developerPortalUrl()
Get the developer |
Boolean |
disableGateway()
Get the disable |
Boolean |
enableClientCertificate()
Get the enable |
String |
etag()
Get the etag property: ETag of the resource. |
String |
gatewayRegionalUrl()
Get the gateway |
String |
gatewayUrl()
Get the gateway |
List<Hostname |
hostnameConfigurations()
Get the hostname |
Api |
identity()
Get the identity property: Managed service identity of the Api Management service. |
String |
location()
Get the location property: Resource location. |
String |
managementApiUrl()
Get the management |
Nat |
natGatewayState()
Get the nat |
String |
notificationSenderEmail()
Get the notification |
List<String> |
outboundPublicIpAddresses()
Get the outbound |
Platform |
platformVersion()
Get the platform |
String |
portalUrl()
Get the portal |
List<Remote |
privateEndpointConnections()
Get the private |
List<String> |
privateIpAddresses()
Get the private |
String |
provisioningState()
Get the provisioning |
String |
publicIpAddressId()
Get the public |
List<String> |
publicIpAddresses()
Get the public |
Public |
publicNetworkAccess()
Get the public |
String |
publisherEmail()
Get the publisher |
String |
publisherName()
Get the publisher |
Boolean |
restore()
Get the restore property: Undelete Api Management Service if it was previously soft-deleted. |
String |
scmUrl()
Get the scm |
Api |
sku()
Get the sku property: SKU properties of the API Management service. |
System |
systemData()
Get the system |
String |
targetProvisioningState()
Get the target |
void |
validate()
Validates the instance. |
Virtual |
virtualNetworkConfiguration()
Get the virtual |
Virtual |
virtualNetworkType()
Get the virtual |
Api |
withAdditionalLocations(List<AdditionalLocation> additionalLocations)
Set the additional |
Api |
withApiVersionConstraint(ApiVersionConstraint apiVersionConstraint)
Set the api |
Api |
withCertificates(List<CertificateConfiguration> certificates)
Set the certificates property: List of Certificates that need to be installed in the API Management service. |
Api |
withCustomProperties(Map<String,String> customProperties)
Set the custom |
Api |
withDisableGateway(Boolean disableGateway)
Set the disable |
Api |
withEnableClientCertificate(Boolean enableClientCertificate)
Set the enable |
Api |
withHostnameConfigurations(List<HostnameConfiguration> hostnameConfigurations)
Set the hostname |
Api |
withIdentity(ApiManagementServiceIdentity identity)
Set the identity property: Managed service identity of the Api Management service. |
Api |
withLocation(String location)
Set the location property: Resource location. |
Api |
withNatGatewayState(NatGatewayState natGatewayState)
Set the nat |
Api |
withNotificationSenderEmail(String notificationSenderEmail)
Set the notification |
Api |
withPrivateEndpointConnections(List<RemotePrivateEndpointConnectionWrapper> privateEndpointConnections)
Set the private |
Api |
withPublicIpAddressId(String publicIpAddressId)
Set the public |
Api |
withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess)
Set the public |
Api |
withPublisherEmail(String publisherEmail)
Set the publisher |
Api |
withPublisherName(String publisherName)
Set the publisher |
Api |
withRestore(Boolean restore)
Set the restore property: Undelete Api Management Service if it was previously soft-deleted. |
Api |
withSku(ApiManagementServiceSkuProperties sku)
Set the sku property: SKU properties of the API Management service. |
Api |
withTags(Map<String,String> tags)
Set the tags property: Resource tags. |
Api |
withVirtualNetworkConfiguration(VirtualNetworkConfiguration virtualNetworkConfiguration)
Set the virtual |
Api |
withVirtualNetworkType(VirtualNetworkType virtualNetworkType)
Set the virtual |
Api |
withZones(List<String> zones)
Set the zones property: A list of availability zones denoting where the resource needs to come from. |
List<String> |
zones()
Get the zones property: A list of availability zones denoting where the resource needs to come from. |
Methods inherited from ProxyResource
Methods inherited from ApimResource
Methods inherited from java.lang.Object
Constructor Details
ApiManagementServiceResourceInner
public ApiManagementServiceResourceInner()
Creates an instance of ApiManagementServiceResourceInner class.
Method Details
additionalLocations
public List
Get the additionalLocations property: Additional datacenter locations of the API Management service.
Returns:
apiVersionConstraint
public ApiVersionConstraint apiVersionConstraint()
Get the apiVersionConstraint property: Control Plane Apis version constraint for the API Management service.
Returns:
certificates
public List
Get the certificates property: 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 OffsetDateTime createdAtUtc()
Get the createdAtUtc property: 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 the customProperties property: 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 1, 2018 and `False` otherwise. Http2 setting's default value is `False`.
You can disable any of the following 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.
Note: The following ciphers can't be disabled since they are required by internal platform components: TLS_AES_256_GCM_SHA384,TLS_AES_128_GCM_SHA256,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.
Returns:
developerPortalUrl
public String developerPortalUrl()
Get the developerPortalUrl property: DEveloper Portal endpoint URL of the API Management service.
Returns:
disableGateway
public Boolean disableGateway()
Get the disableGateway property: Property only valid for an Api Management service deployed in multiple locations. This can be used to disable the gateway in master region.
Returns:
enableClientCertificate
public Boolean enableClientCertificate()
Get the enableClientCertificate property: 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:
etag
public String etag()
Get the etag property: ETag of the resource.
Returns:
gatewayRegionalUrl
public String gatewayRegionalUrl()
Get the gatewayRegionalUrl property: Gateway URL of the API Management service in the Default Region.
Returns:
gatewayUrl
public String gatewayUrl()
Get the gatewayUrl property: Gateway URL of the API Management service.
Returns:
hostnameConfigurations
public List
Get the hostnameConfigurations property: Custom hostname configuration of the API Management service.
Returns:
identity
public ApiManagementServiceIdentity identity()
Get the identity property: Managed service identity of the Api Management service.
Returns:
location
public String location()
Get the location property: Resource location.
Returns:
managementApiUrl
public String managementApiUrl()
Get the managementApiUrl property: Management API endpoint URL of the API Management service.
Returns:
natGatewayState
public NatGatewayState natGatewayState()
Get the natGatewayState property: Property can be used to enable NAT Gateway for this API Management service.
Returns:
notificationSenderEmail
public String notificationSenderEmail()
Get the notificationSenderEmail property: Email address from which the notification will be sent.
Returns:
outboundPublicIpAddresses
public List
Get the outboundPublicIpAddresses property: Outbound public IPV4 address prefixes associated with NAT Gateway deployed service. Available only for Premium SKU on stv2 platform.
Returns:
platformVersion
public PlatformVersion platformVersion()
Get the platformVersion property: Compute Platform Version running the service in this location.
Returns:
portalUrl
public String portalUrl()
Get the portalUrl property: Publisher portal endpoint Url of the API Management service.
Returns:
privateEndpointConnections
public List
Get the privateEndpointConnections property: List of Private Endpoint Connections of this service.
Returns:
privateIpAddresses
public List
Get the privateIpAddresses property: 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.
Returns:
provisioningState
public String provisioningState()
Get the provisioningState property: 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:
publicIpAddressId
public String publicIpAddressId()
Get the publicIpAddressId property: Public Standard SKU IP V4 based IP address to be associated with Virtual Network deployed service in the region. Supported only for Developer and Premium SKU being deployed in Virtual Network.
Returns:
publicIpAddresses
public List
Get the publicIpAddresses property: Public Static Load Balanced IP addresses of the API Management service in Primary region. Available only for Basic, Standard, Premium and Isolated SKU.
Returns:
publicNetworkAccess
public PublicNetworkAccess publicNetworkAccess()
Get the publicNetworkAccess property: Whether or not public endpoint access is allowed for this API Management service. Value is optional but if passed in, must be 'Enabled' or 'Disabled'. If 'Disabled', private endpoints are the exclusive access method. Default value is 'Enabled'.
Returns:
publisherEmail
public String publisherEmail()
Get the publisherEmail property: Publisher email.
Returns:
publisherName
public String publisherName()
Get the publisherName property: Publisher name.
Returns:
restore
public Boolean restore()
Get the restore property: 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.
Returns:
scmUrl
public String scmUrl()
Get the scmUrl property: SCM endpoint URL of the API Management service.
Returns:
sku
public ApiManagementServiceSkuProperties sku()
Get the sku property: SKU properties of the API Management service.
Returns:
systemData
public SystemData systemData()
Get the systemData property: Metadata pertaining to creation and last modification of the resource.
Returns:
targetProvisioningState
public String targetProvisioningState()
Get the targetProvisioningState property: The provisioning state of the API Management service, which is targeted by the long running operation started on the service.
Returns:
validate
public void validate()
Validates the instance.
Overrides:
ApiManagementServiceResourceInner.validate()virtualNetworkConfiguration
public VirtualNetworkConfiguration virtualNetworkConfiguration()
Get the virtualNetworkConfiguration property: Virtual network configuration of the API Management service.
Returns:
virtualNetworkType
public VirtualNetworkType virtualNetworkType()
Get the virtualNetworkType property: 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.
Returns:
withAdditionalLocations
public ApiManagementServiceResourceInner withAdditionalLocations(List
Set the additionalLocations property: Additional datacenter locations of the API Management service.
Parameters:
Returns:
withApiVersionConstraint
public ApiManagementServiceResourceInner withApiVersionConstraint(ApiVersionConstraint apiVersionConstraint)
Set the apiVersionConstraint property: Control Plane Apis version constraint for the API Management service.
Parameters:
Returns:
withCertificates
public ApiManagementServiceResourceInner withCertificates(List
Set the certificates property: 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 ApiManagementServiceResourceInner withCustomProperties(Map
Set the customProperties property: 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 1, 2018 and `False` otherwise. Http2 setting's default value is `False`.
You can disable any of the following 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.
Note: The following ciphers can't be disabled since they are required by internal platform components: TLS_AES_256_GCM_SHA384,TLS_AES_128_GCM_SHA256,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.
Parameters:
Returns:
withDisableGateway
public ApiManagementServiceResourceInner withDisableGateway(Boolean disableGateway)
Set the disableGateway property: Property only valid for an Api Management service deployed in multiple locations. This can be used to disable the gateway in master region.
Parameters:
Returns:
withEnableClientCertificate
public ApiManagementServiceResourceInner withEnableClientCertificate(Boolean enableClientCertificate)
Set the enableClientCertificate property: 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 ApiManagementServiceResourceInner withHostnameConfigurations(List
Set the hostnameConfigurations property: Custom hostname configuration of the API Management service.
Parameters:
Returns:
withIdentity
public ApiManagementServiceResourceInner withIdentity(ApiManagementServiceIdentity identity)
Set the identity property: Managed service identity of the Api Management service.
Parameters:
Returns:
withLocation
public ApiManagementServiceResourceInner withLocation(String location)
Set the location property: Resource location.
Parameters:
Returns:
withNatGatewayState
public ApiManagementServiceResourceInner withNatGatewayState(NatGatewayState natGatewayState)
Set the natGatewayState property: Property can be used to enable NAT Gateway for this API Management service.
Parameters:
Returns:
withNotificationSenderEmail
public ApiManagementServiceResourceInner withNotificationSenderEmail(String notificationSenderEmail)
Set the notificationSenderEmail property: Email address from which the notification will be sent.
Parameters:
Returns:
withPrivateEndpointConnections
public ApiManagementServiceResourceInner withPrivateEndpointConnections(List
Set the privateEndpointConnections property: List of Private Endpoint Connections of this service.
Parameters:
Returns:
withPublicIpAddressId
public ApiManagementServiceResourceInner withPublicIpAddressId(String publicIpAddressId)
Set the publicIpAddressId property: Public Standard SKU IP V4 based IP address to be associated with Virtual Network deployed service in the region. Supported only for Developer and Premium SKU being deployed in Virtual Network.
Parameters:
Returns:
withPublicNetworkAccess
public ApiManagementServiceResourceInner withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess)
Set the publicNetworkAccess property: Whether or not public endpoint access is allowed for this API Management service. Value is optional but if passed in, must be 'Enabled' or 'Disabled'. If 'Disabled', private endpoints are the exclusive access method. Default value is 'Enabled'.
Parameters:
Returns:
withPublisherEmail
public ApiManagementServiceResourceInner withPublisherEmail(String publisherEmail)
Set the publisherEmail property: Publisher email.
Parameters:
Returns:
withPublisherName
public ApiManagementServiceResourceInner withPublisherName(String publisherName)
Set the publisherName property: Publisher name.
Parameters:
Returns:
withRestore
public ApiManagementServiceResourceInner withRestore(Boolean restore)
Set the restore property: 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.
Parameters:
Returns:
withSku
public ApiManagementServiceResourceInner withSku(ApiManagementServiceSkuProperties sku)
Set the sku property: SKU properties of the API Management service.
Parameters:
Returns:
withTags
public ApiManagementServiceResourceInner withTags(Map
Set the tags property: Resource tags.
Overrides:
ApiManagementServiceResourceInner.withTags(Map<String,String> tags)Parameters:
withVirtualNetworkConfiguration
public ApiManagementServiceResourceInner withVirtualNetworkConfiguration(VirtualNetworkConfiguration virtualNetworkConfiguration)
Set the virtualNetworkConfiguration property: Virtual network configuration of the API Management service.
Parameters:
Returns:
withVirtualNetworkType
public ApiManagementServiceResourceInner withVirtualNetworkType(VirtualNetworkType virtualNetworkType)
Set the virtualNetworkType property: 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.
Parameters:
Returns:
withZones
public ApiManagementServiceResourceInner withZones(List
Set the zones property: A list of availability zones denoting where the resource needs to come from.
Parameters:
Returns:
zones
public List
Get the zones property: A list of availability zones denoting where the resource needs to come from.
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