PublicIpPrefixInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. network. fluent. models. PublicIpPrefixInner
- com.
- com.
- com.
public final class PublicIpPrefixInner
extends Resource
Public IP prefix resource.
Constructor Summary
Constructor | Description |
---|---|
PublicIpPrefixInner() |
Creates an instance of Public |
Method Summary
Modifier and Type | Method and Description |
---|---|
Sub |
customIpPrefix()
Get the custom |
String |
etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated. |
Extended |
extendedLocation()
Get the extended |
static
Public |
fromJson(JsonReader jsonReader)
Reads an instance of Public |
String |
id()
Get the id property: Resource ID. |
String |
ipPrefix()
Get the ip |
List<Ip |
ipTags()
Get the ip |
Sub |
loadBalancerFrontendIpConfiguration()
Get the load |
String |
name()
Get the name property: The name of the resource. |
Nat |
natGateway()
Get the nat |
Integer |
prefixLength()
Get the prefix |
Provisioning |
provisioningState()
Get the provisioning |
Ip |
publicIpAddressVersion()
Get the public |
List<Referenced |
publicIpAddresses()
Get the public |
String |
resourceGuid()
Get the resource |
Public |
sku()
Get the sku property: The public IP prefix SKU. |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Public |
withCustomIpPrefix(SubResource customIpPrefix)
Set the custom |
Public |
withExtendedLocation(ExtendedLocation extendedLocation)
Set the extended |
Public |
withId(String id)
Set the id property: Resource ID. |
Public |
withIpTags(List<IpTag> ipTags)
Set the ip |
Public |
withLocation(String location) |
Public |
withNatGateway(NatGatewayInner natGateway)
Set the nat |
Public |
withPrefixLength(Integer prefixLength)
Set the prefix |
Public |
withPublicIpAddressVersion(IpVersion publicIpAddressVersion)
Set the public |
Public |
withSku(PublicIpPrefixSku sku)
Set the sku property: The public IP prefix SKU. |
Public |
withTags(Map<String,String> tags) |
Public |
withZones(List<String> zones)
Set the zones property: A list of availability zones denoting the IP allocated for the resource needs to come from. |
List<String> |
zones()
Get the zones property: A list of availability zones denoting the IP allocated for the resource needs to come from. |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
PublicIpPrefixInner
public PublicIpPrefixInner()
Creates an instance of PublicIpPrefixInner class.
Method Details
customIpPrefix
public SubResource customIpPrefix()
Get the customIpPrefix property: The customIpPrefix that this prefix is associated with.
Returns:
etag
public String etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
Returns:
extendedLocation
public ExtendedLocation extendedLocation()
Get the extendedLocation property: The extended location of the public ip address.
Returns:
fromJson
public static PublicIpPrefixInner fromJson(JsonReader jsonReader)
Reads an instance of PublicIpPrefixInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Resource ID.
Overrides:
PublicIpPrefixInner.id()Returns:
ipPrefix
public String ipPrefix()
Get the ipPrefix property: The allocated Prefix.
Returns:
ipTags
public List
Get the ipTags property: The list of tags associated with the public IP prefix.
Returns:
loadBalancerFrontendIpConfiguration
public SubResource loadBalancerFrontendIpConfiguration()
Get the loadBalancerFrontendIpConfiguration property: The reference to load balancer frontend IP configuration associated with the public IP prefix.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
PublicIpPrefixInner.name()Returns:
natGateway
public NatGatewayInner natGateway()
Get the natGateway property: NatGateway of Public IP Prefix.
Returns:
prefixLength
public Integer prefixLength()
Get the prefixLength property: The Length of the Public IP Prefix.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the public IP prefix resource.
Returns:
publicIpAddressVersion
public IpVersion publicIpAddressVersion()
Get the publicIpAddressVersion property: The public IP address version.
Returns:
publicIpAddresses
public List
Get the publicIpAddresses property: The list of all referenced PublicIPAddresses.
Returns:
resourceGuid
public String resourceGuid()
Get the resourceGuid property: The resource GUID property of the public IP prefix resource.
Returns:
sku
public PublicIpPrefixSku sku()
Get the sku property: The public IP prefix SKU.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
PublicIpPrefixInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
PublicIpPrefixInner.type()Returns:
validate
public void validate()
Validates the instance.
withCustomIpPrefix
public PublicIpPrefixInner withCustomIpPrefix(SubResource customIpPrefix)
Set the customIpPrefix property: The customIpPrefix that this prefix is associated with.
Parameters:
Returns:
withExtendedLocation
public PublicIpPrefixInner withExtendedLocation(ExtendedLocation extendedLocation)
Set the extendedLocation property: The extended location of the public ip address.
Parameters:
Returns:
withId
public PublicIpPrefixInner withId(String id)
Set the id property: Resource ID.
Parameters:
Returns:
withIpTags
public PublicIpPrefixInner withIpTags(List
Set the ipTags property: The list of tags associated with the public IP prefix.
Parameters:
Returns:
withLocation
public PublicIpPrefixInner withLocation(String location)
Overrides:
PublicIpPrefixInner.withLocation(String location)Parameters:
withNatGateway
public PublicIpPrefixInner withNatGateway(NatGatewayInner natGateway)
Set the natGateway property: NatGateway of Public IP Prefix.
Parameters:
Returns:
withPrefixLength
public PublicIpPrefixInner withPrefixLength(Integer prefixLength)
Set the prefixLength property: The Length of the Public IP Prefix.
Parameters:
Returns:
withPublicIpAddressVersion
public PublicIpPrefixInner withPublicIpAddressVersion(IpVersion publicIpAddressVersion)
Set the publicIpAddressVersion property: The public IP address version.
Parameters:
Returns:
withSku
public PublicIpPrefixInner withSku(PublicIpPrefixSku sku)
Set the sku property: The public IP prefix SKU.
Parameters:
Returns:
withTags
public PublicIpPrefixInner withTags(Map
Overrides:
PublicIpPrefixInner.withTags(Map<String,String> tags)Parameters:
withZones
public PublicIpPrefixInner withZones(List
Set the zones property: A list of availability zones denoting the IP allocated for the resource needs to come from.
Parameters:
Returns:
zones
public List
Get the zones property: A list of availability zones denoting the IP allocated for the resource needs to come from.
Returns:
Applies to
Azure SDK for Java