Class PublicIpPrefixInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.core.management.Resource
-
- com.azure.resourcemanager.network.fluent.models.PublicIpPrefixInner
-
public final class PublicIpPrefixInner extends com.azure.core.management.ResourcePublic IP prefix resource.
-
-
Constructor Summary
Constructors Constructor Description PublicIpPrefixInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.azure.core.management.SubResourcecustomIpPrefix()Get the customIpPrefix property: The customIpPrefix that this prefix is associated with.Stringetag()Get the etag property: A unique read-only string that changes whenever the resource is updated.ExtendedLocationextendedLocation()Get the extendedLocation property: The extended location of the public ip address.Stringid()Get the id property: Resource ID.StringipPrefix()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.SubResourceloadBalancerFrontendIpConfiguration()Get the loadBalancerFrontendIpConfiguration property: The reference to load balancer frontend IP configuration associated with the public IP prefix.NatGatewayInnernatGateway()Get the natGateway property: NatGateway of Public IP Prefix.IntegerprefixLength()Get the prefixLength property: The Length of the Public IP Prefix.ProvisioningStateprovisioningState()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.IpVersionpublicIpAddressVersion()Get the publicIpAddressVersion property: The public IP address version.StringresourceGuid()Get the resourceGuid property: The resource GUID property of the public IP prefix resource.PublicIpPrefixSkusku()Get the sku property: The public IP prefix SKU.voidvalidate()Validates the instance.PublicIpPrefixInnerwithCustomIpPrefix(com.azure.core.management.SubResource customIpPrefix)Set the customIpPrefix property: The customIpPrefix that this prefix is associated with.PublicIpPrefixInnerwithExtendedLocation(ExtendedLocation extendedLocation)Set the extendedLocation property: The extended location of the public ip address.PublicIpPrefixInnerwithId(String id)Set the id property: Resource ID.PublicIpPrefixInnerwithIpTags(List<IpTag> ipTags)Set the ipTags property: The list of tags associated with the public IP prefix.PublicIpPrefixInnerwithLocation(String location)PublicIpPrefixInnerwithNatGateway(NatGatewayInner natGateway)Set the natGateway property: NatGateway of Public IP Prefix.PublicIpPrefixInnerwithPrefixLength(Integer prefixLength)Set the prefixLength property: The Length of the Public IP Prefix.PublicIpPrefixInnerwithPublicIpAddressVersion(IpVersion publicIpAddressVersion)Set the publicIpAddressVersion property: The public IP address version.PublicIpPrefixInnerwithSku(PublicIpPrefixSku sku)Set the sku property: The public IP prefix SKU.PublicIpPrefixInnerwithTags(Map<String,String> tags)PublicIpPrefixInnerwithZones(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.
-
-
-
Method Detail
-
extendedLocation
public ExtendedLocation extendedLocation()
Get the extendedLocation property: The extended location of the public ip address.- Returns:
- the extendedLocation value.
-
withExtendedLocation
public PublicIpPrefixInner withExtendedLocation(ExtendedLocation extendedLocation)
Set the extendedLocation property: The extended location of the public ip address.- Parameters:
extendedLocation- the extendedLocation value to set.- Returns:
- the PublicIpPrefixInner object itself.
-
sku
public PublicIpPrefixSku sku()
Get the sku property: The public IP prefix SKU.- Returns:
- the sku value.
-
withSku
public PublicIpPrefixInner withSku(PublicIpPrefixSku sku)
Set the sku property: The public IP prefix SKU.- Parameters:
sku- the sku value to set.- Returns:
- the PublicIpPrefixInner object itself.
-
etag
public String etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.- Returns:
- the etag value.
-
zones
public List<String> zones()
Get the zones property: A list of availability zones denoting the IP allocated for the resource needs to come from.- Returns:
- the zones value.
-
withZones
public 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.- Parameters:
zones- the zones value to set.- Returns:
- the PublicIpPrefixInner object itself.
-
id
public String id()
Get the id property: Resource ID.- Overrides:
idin classcom.azure.core.management.ProxyResource- Returns:
- the id value.
-
withId
public PublicIpPrefixInner withId(String id)
Set the id property: Resource ID.- Parameters:
id- the id value to set.- Returns:
- the PublicIpPrefixInner object itself.
-
withLocation
public PublicIpPrefixInner withLocation(String location)
- Overrides:
withLocationin classcom.azure.core.management.Resource
-
withTags
public PublicIpPrefixInner withTags(Map<String,String> tags)
- Overrides:
withTagsin classcom.azure.core.management.Resource
-
publicIpAddressVersion
public IpVersion publicIpAddressVersion()
Get the publicIpAddressVersion property: The public IP address version.- Returns:
- the publicIpAddressVersion value.
-
withPublicIpAddressVersion
public PublicIpPrefixInner withPublicIpAddressVersion(IpVersion publicIpAddressVersion)
Set the publicIpAddressVersion property: The public IP address version.- Parameters:
publicIpAddressVersion- the publicIpAddressVersion value to set.- Returns:
- the PublicIpPrefixInner object itself.
-
ipTags
public List<IpTag> ipTags()
Get the ipTags property: The list of tags associated with the public IP prefix.- Returns:
- the ipTags value.
-
withIpTags
public PublicIpPrefixInner withIpTags(List<IpTag> ipTags)
Set the ipTags property: The list of tags associated with the public IP prefix.- Parameters:
ipTags- the ipTags value to set.- Returns:
- the PublicIpPrefixInner object itself.
-
prefixLength
public Integer prefixLength()
Get the prefixLength property: The Length of the Public IP Prefix.- Returns:
- the prefixLength value.
-
withPrefixLength
public PublicIpPrefixInner withPrefixLength(Integer prefixLength)
Set the prefixLength property: The Length of the Public IP Prefix.- Parameters:
prefixLength- the prefixLength value to set.- Returns:
- the PublicIpPrefixInner object itself.
-
ipPrefix
public String ipPrefix()
Get the ipPrefix property: The allocated Prefix.- Returns:
- the ipPrefix value.
-
publicIpAddresses
public List<ReferencedPublicIpAddress> publicIpAddresses()
Get the publicIpAddresses property: The list of all referenced PublicIPAddresses.- Returns:
- the publicIpAddresses value.
-
loadBalancerFrontendIpConfiguration
public com.azure.core.management.SubResource loadBalancerFrontendIpConfiguration()
Get the loadBalancerFrontendIpConfiguration property: The reference to load balancer frontend IP configuration associated with the public IP prefix.- Returns:
- the loadBalancerFrontendIpConfiguration value.
-
customIpPrefix
public com.azure.core.management.SubResource customIpPrefix()
Get the customIpPrefix property: The customIpPrefix that this prefix is associated with.- Returns:
- the customIpPrefix value.
-
withCustomIpPrefix
public PublicIpPrefixInner withCustomIpPrefix(com.azure.core.management.SubResource customIpPrefix)
Set the customIpPrefix property: The customIpPrefix that this prefix is associated with.- Parameters:
customIpPrefix- the customIpPrefix value to set.- Returns:
- the PublicIpPrefixInner object itself.
-
resourceGuid
public String resourceGuid()
Get the resourceGuid property: The resource GUID property of the public IP prefix resource.- Returns:
- the resourceGuid value.
-
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the public IP prefix resource.- Returns:
- the provisioningState value.
-
natGateway
public NatGatewayInner natGateway()
Get the natGateway property: NatGateway of Public IP Prefix.- Returns:
- the natGateway value.
-
withNatGateway
public PublicIpPrefixInner withNatGateway(NatGatewayInner natGateway)
Set the natGateway property: NatGateway of Public IP Prefix.- Parameters:
natGateway- the natGateway value to set.- Returns:
- the PublicIpPrefixInner object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-