Class AdditionalLocation
java.lang.Object
com.azure.resourcemanager.apimanagement.models.AdditionalLocation
- All Implemented Interfaces:
com.azure.json.JsonSerializable<AdditionalLocation>
public final class AdditionalLocation
extends Object
implements com.azure.json.JsonSerializable<AdditionalLocation>
Description of an additional API Management resource location.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the disableGateway property: Property only valid for an Api Management service deployed in multiple locations.static AdditionalLocationfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of AdditionalLocation from the JsonReader.Get the gatewayRegionalUrl property: Gateway URL of the API Management service in the Region.location()Get the location property: The location name of the additional region among Azure Data center regions.Get the natGatewayState property: Property can be used to enable NAT Gateway for this API Management service.Get the outboundPublicIpAddresses property: Outbound public IPV4 address prefixes associated with NAT Gateway deployed service.Get the platformVersion property: Compute Platform Version running the service.Get the privateIpAddresses property: Private Static Load Balanced IP addresses of the API Management service which is deployed in an Internal Virtual Network in a particular additional location.Get the publicIpAddresses property: Public Static Load Balanced IP addresses of the API Management service in the additional location.Get the publicIpAddressId property: Public Standard SKU IP V4 based IP address to be associated with Virtual Network deployed service in the location.sku()Get the sku property: SKU properties of the API Management service.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.Get the virtualNetworkConfiguration property: Virtual network configuration for the location.withDisableGateway(Boolean disableGateway) Set the disableGateway property: Property only valid for an Api Management service deployed in multiple locations.withLocation(String location) Set the location property: The location name of the additional region among Azure Data center regions.withNatGatewayState(NatGatewayState natGatewayState) Set the natGatewayState property: Property can be used to enable NAT Gateway for this API Management service.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 location.Set the sku property: SKU properties of the API Management service.withVirtualNetworkConfiguration(VirtualNetworkConfiguration virtualNetworkConfiguration) Set the virtualNetworkConfiguration property: Virtual network configuration for the location.Set the zones property: A list of availability zones denoting where the resource needs to come from.zones()Get the zones property: A list of availability zones denoting where the resource needs to come from.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
AdditionalLocation
public AdditionalLocation()Creates an instance of AdditionalLocation class.
-
-
Method Details
-
location
Get the location property: The location name of the additional region among Azure Data center regions.- Returns:
- the location value.
-
withLocation
Set the location property: The location name of the additional region among Azure Data center regions.- Parameters:
location- the location value to set.- Returns:
- the AdditionalLocation object itself.
-
sku
Get the sku property: SKU properties of the API Management service.- Returns:
- the sku value.
-
withSku
Set the sku property: SKU properties of the API Management service.- Parameters:
sku- the sku value to set.- Returns:
- the AdditionalLocation object itself.
-
zones
Get the zones property: A list of availability zones denoting where the resource needs to come from.- Returns:
- the zones value.
-
withZones
Set the zones property: A list of availability zones denoting where the resource needs to come from.- Parameters:
zones- the zones value to set.- Returns:
- the AdditionalLocation object itself.
-
publicIpAddresses
Get the publicIpAddresses property: Public Static Load Balanced IP addresses of the API Management service in the additional location. Available only for Basic, Standard, Premium and Isolated SKU.- Returns:
- the publicIpAddresses value.
-
privateIpAddresses
Get the privateIpAddresses property: 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.- Returns:
- the privateIpAddresses value.
-
publicIpAddressId
Get the publicIpAddressId property: Public Standard SKU IP V4 based IP address to be associated with Virtual Network deployed service in the location. Supported only for Premium SKU being deployed in Virtual Network.- Returns:
- the publicIpAddressId value.
-
withPublicIpAddressId
Set the publicIpAddressId property: Public Standard SKU IP V4 based IP address to be associated with Virtual Network deployed service in the location. Supported only for Premium SKU being deployed in Virtual Network.- Parameters:
publicIpAddressId- the publicIpAddressId value to set.- Returns:
- the AdditionalLocation object itself.
-
virtualNetworkConfiguration
Get the virtualNetworkConfiguration property: Virtual network configuration for the location.- Returns:
- the virtualNetworkConfiguration value.
-
withVirtualNetworkConfiguration
public AdditionalLocation withVirtualNetworkConfiguration(VirtualNetworkConfiguration virtualNetworkConfiguration) Set the virtualNetworkConfiguration property: Virtual network configuration for the location.- Parameters:
virtualNetworkConfiguration- the virtualNetworkConfiguration value to set.- Returns:
- the AdditionalLocation object itself.
-
gatewayRegionalUrl
Get the gatewayRegionalUrl property: Gateway URL of the API Management service in the Region.- Returns:
- the gatewayRegionalUrl value.
-
natGatewayState
Get the natGatewayState property: Property can be used to enable NAT Gateway for this API Management service.- Returns:
- the natGatewayState value.
-
withNatGatewayState
Set the natGatewayState property: Property can be used to enable NAT Gateway for this API Management service.- Parameters:
natGatewayState- the natGatewayState value to set.- Returns:
- the AdditionalLocation object itself.
-
outboundPublicIpAddresses
Get the outboundPublicIpAddresses property: Outbound public IPV4 address prefixes associated with NAT Gateway deployed service. Available only for Premium SKU on stv2 platform.- Returns:
- the outboundPublicIpAddresses value.
-
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 this additional location.- Returns:
- the disableGateway value.
-
withDisableGateway
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 this additional location.- Parameters:
disableGateway- the disableGateway value to set.- Returns:
- the AdditionalLocation object itself.
-
platformVersion
Get the platformVersion property: Compute Platform Version running the service.- Returns:
- the platformVersion value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<AdditionalLocation>- Throws:
IOException
-
fromJson
Reads an instance of AdditionalLocation from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of AdditionalLocation if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IllegalStateException- If the deserialized JSON object was missing any required properties.IOException- If an error occurs while reading the AdditionalLocation.
-