public class PublicIpPrefixInner
extends com.azure.core.management.Resource
| Constructor and Description |
|---|
PublicIpPrefixInner() |
| Modifier and Type | Method and Description |
|---|---|
com.azure.core.management.SubResource |
customIpPrefix()
Get the customIpPrefix property: The customIpPrefix that this prefix is associated with.
|
String |
etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
|
ExtendedLocation |
extendedLocation()
Get the extendedLocation property: The extended location of the public ip address.
|
String |
id()
Get the id property: Resource ID.
|
String |
ipPrefix()
Get the ipPrefix property: The allocated Prefix.
|
List<IpTag> |
ipTags()
Get the ipTags property: The list of tags associated with the public IP prefix.
|
com.azure.core.management.SubResource |
loadBalancerFrontendIpConfiguration()
Get the loadBalancerFrontendIpConfiguration property: The reference to load balancer frontend IP configuration
associated with the public IP prefix.
|
NatGatewayInner |
natGateway()
Get the natGateway property: NatGateway of Public IP Prefix.
|
Integer |
prefixLength()
Get the prefixLength property: The Length of the Public IP Prefix.
|
ProvisioningState |
provisioningState()
Get the provisioningState property: The provisioning state of the public IP prefix resource.
|
List<ReferencedPublicIpAddress> |
publicIpAddresses()
Get the publicIpAddresses property: The list of all referenced PublicIPAddresses.
|
IpVersion |
publicIpAddressVersion()
Get the publicIpAddressVersion property: The public IP address version.
|
String |
resourceGuid()
Get the resourceGuid property: The resource GUID property of the public IP prefix resource.
|
PublicIpPrefixSku |
sku()
Get the sku property: The public IP prefix SKU.
|
void |
validate()
Validates the instance.
|
PublicIpPrefixInner |
withCustomIpPrefix(com.azure.core.management.SubResource customIpPrefix)
Set the customIpPrefix property: The customIpPrefix that this prefix is associated with.
|
PublicIpPrefixInner |
withExtendedLocation(ExtendedLocation extendedLocation)
Set the extendedLocation property: The extended location of the public ip address.
|
PublicIpPrefixInner |
withId(String id)
Set the id property: Resource ID.
|
PublicIpPrefixInner |
withIpTags(List<IpTag> ipTags)
Set the ipTags property: The list of tags associated with the public IP prefix.
|
PublicIpPrefixInner |
withLocation(String location) |
PublicIpPrefixInner |
withNatGateway(NatGatewayInner natGateway)
Set the natGateway property: NatGateway of Public IP Prefix.
|
PublicIpPrefixInner |
withPrefixLength(Integer prefixLength)
Set the prefixLength property: The Length of the Public IP Prefix.
|
PublicIpPrefixInner |
withPublicIpAddressVersion(IpVersion publicIpAddressVersion)
Set the publicIpAddressVersion property: The public IP address version.
|
PublicIpPrefixInner |
withSku(PublicIpPrefixSku sku)
Set the sku property: The public IP prefix SKU.
|
PublicIpPrefixInner |
withTags(Map<String,String> tags) |
PublicIpPrefixInner |
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.
|
public ExtendedLocation extendedLocation()
public PublicIpPrefixInner withExtendedLocation(ExtendedLocation extendedLocation)
extendedLocation - the extendedLocation value to set.public PublicIpPrefixSku sku()
public PublicIpPrefixInner withSku(PublicIpPrefixSku sku)
sku - the sku value to set.public String etag()
public List<String> zones()
public PublicIpPrefixInner withZones(List<String> zones)
zones - the zones value to set.public IpVersion publicIpAddressVersion()
public PublicIpPrefixInner withPublicIpAddressVersion(IpVersion publicIpAddressVersion)
publicIpAddressVersion - the publicIpAddressVersion value to set.public List<IpTag> ipTags()
public PublicIpPrefixInner withIpTags(List<IpTag> ipTags)
ipTags - the ipTags value to set.public Integer prefixLength()
public PublicIpPrefixInner withPrefixLength(Integer prefixLength)
prefixLength - the prefixLength value to set.public String ipPrefix()
public List<ReferencedPublicIpAddress> publicIpAddresses()
public com.azure.core.management.SubResource loadBalancerFrontendIpConfiguration()
public com.azure.core.management.SubResource customIpPrefix()
public PublicIpPrefixInner withCustomIpPrefix(com.azure.core.management.SubResource customIpPrefix)
customIpPrefix - the customIpPrefix value to set.public String resourceGuid()
public ProvisioningState provisioningState()
public NatGatewayInner natGateway()
public PublicIpPrefixInner withNatGateway(NatGatewayInner natGateway)
natGateway - the natGateway value to set.public String id()
id in class com.azure.core.management.ProxyResourcepublic PublicIpPrefixInner withId(String id)
id - the id value to set.public PublicIpPrefixInner withLocation(String location)
withLocation in class com.azure.core.management.Resourcepublic PublicIpPrefixInner withTags(Map<String,String> tags)
withTags in class com.azure.core.management.Resourcepublic void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.