public class PublicIpAddressInner
extends com.azure.core.management.Resource
| Constructor and Description |
|---|
PublicIpAddressInner() |
| Modifier and Type | Method and Description |
|---|---|
DdosSettings |
ddosSettings()
Get the ddosSettings property: The DDoS protection custom policy associated with the public IP address.
|
DeleteOptions |
deleteOption()
Get the deleteOption property: Specify what happens to the public IP address when the VM using it is deleted.
|
PublicIpAddressDnsSettings |
dnsSettings()
Get the dnsSettings property: The FQDN of the DNS record associated with the public IP address.
|
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.
|
Integer |
idleTimeoutInMinutes()
Get the idleTimeoutInMinutes property: The idle timeout of the public IP address.
|
String |
ipAddress()
Get the ipAddress property: The IP address associated with the public IP address resource.
|
IpConfigurationInner |
ipConfiguration()
Get the ipConfiguration property: The IP configuration associated with the public IP address.
|
List<IpTag> |
ipTags()
Get the ipTags property: The list of tags associated with the public IP address.
|
PublicIpAddressInner |
linkedPublicIpAddress()
Get the linkedPublicIpAddress property: The linked public IP address of the public IP address resource.
|
PublicIpAddressMigrationPhase |
migrationPhase()
Get the migrationPhase property: Migration phase of Public IP Address.
|
NatGatewayInner |
natGateway()
Get the natGateway property: The NatGateway for the Public IP address.
|
ProvisioningState |
provisioningState()
Get the provisioningState property: The provisioning state of the public IP address resource.
|
IpVersion |
publicIpAddressVersion()
Get the publicIpAddressVersion property: The public IP address version.
|
IpAllocationMethod |
publicIpAllocationMethod()
Get the publicIpAllocationMethod property: The public IP address allocation method.
|
com.azure.core.management.SubResource |
publicIpPrefix()
Get the publicIpPrefix property: The Public IP Prefix this Public IP Address should be allocated from.
|
String |
resourceGuid()
Get the resourceGuid property: The resource GUID property of the public IP address resource.
|
PublicIpAddressInner |
servicePublicIpAddress()
Get the servicePublicIpAddress property: The service public IP address of the public IP address resource.
|
PublicIpAddressSku |
sku()
Get the sku property: The public IP address SKU.
|
void |
validate()
Validates the instance.
|
PublicIpAddressInner |
withDdosSettings(DdosSettings ddosSettings)
Set the ddosSettings property: The DDoS protection custom policy associated with the public IP address.
|
PublicIpAddressInner |
withDeleteOption(DeleteOptions deleteOption)
Set the deleteOption property: Specify what happens to the public IP address when the VM using it is deleted.
|
PublicIpAddressInner |
withDnsSettings(PublicIpAddressDnsSettings dnsSettings)
Set the dnsSettings property: The FQDN of the DNS record associated with the public IP address.
|
PublicIpAddressInner |
withExtendedLocation(ExtendedLocation extendedLocation)
Set the extendedLocation property: The extended location of the public ip address.
|
PublicIpAddressInner |
withId(String id)
Set the id property: Resource ID.
|
PublicIpAddressInner |
withIdleTimeoutInMinutes(Integer idleTimeoutInMinutes)
Set the idleTimeoutInMinutes property: The idle timeout of the public IP address.
|
PublicIpAddressInner |
withIpAddress(String ipAddress)
Set the ipAddress property: The IP address associated with the public IP address resource.
|
PublicIpAddressInner |
withIpTags(List<IpTag> ipTags)
Set the ipTags property: The list of tags associated with the public IP address.
|
PublicIpAddressInner |
withLinkedPublicIpAddress(PublicIpAddressInner linkedPublicIpAddress)
Set the linkedPublicIpAddress property: The linked public IP address of the public IP address resource.
|
PublicIpAddressInner |
withLocation(String location) |
PublicIpAddressInner |
withMigrationPhase(PublicIpAddressMigrationPhase migrationPhase)
Set the migrationPhase property: Migration phase of Public IP Address.
|
PublicIpAddressInner |
withNatGateway(NatGatewayInner natGateway)
Set the natGateway property: The NatGateway for the Public IP address.
|
PublicIpAddressInner |
withPublicIpAddressVersion(IpVersion publicIpAddressVersion)
Set the publicIpAddressVersion property: The public IP address version.
|
PublicIpAddressInner |
withPublicIpAllocationMethod(IpAllocationMethod publicIpAllocationMethod)
Set the publicIpAllocationMethod property: The public IP address allocation method.
|
PublicIpAddressInner |
withPublicIpPrefix(com.azure.core.management.SubResource publicIpPrefix)
Set the publicIpPrefix property: The Public IP Prefix this Public IP Address should be allocated from.
|
PublicIpAddressInner |
withServicePublicIpAddress(PublicIpAddressInner servicePublicIpAddress)
Set the servicePublicIpAddress property: The service public IP address of the public IP address resource.
|
PublicIpAddressInner |
withSku(PublicIpAddressSku sku)
Set the sku property: The public IP address SKU.
|
PublicIpAddressInner |
withTags(Map<String,String> tags) |
PublicIpAddressInner |
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 PublicIpAddressInner withExtendedLocation(ExtendedLocation extendedLocation)
extendedLocation - the extendedLocation value to set.public PublicIpAddressSku sku()
public PublicIpAddressInner withSku(PublicIpAddressSku sku)
sku - the sku value to set.public String etag()
public List<String> zones()
public PublicIpAddressInner withZones(List<String> zones)
zones - the zones value to set.public IpAllocationMethod publicIpAllocationMethod()
public PublicIpAddressInner withPublicIpAllocationMethod(IpAllocationMethod publicIpAllocationMethod)
publicIpAllocationMethod - the publicIpAllocationMethod value to set.public IpVersion publicIpAddressVersion()
public PublicIpAddressInner withPublicIpAddressVersion(IpVersion publicIpAddressVersion)
publicIpAddressVersion - the publicIpAddressVersion value to set.public IpConfigurationInner ipConfiguration()
public PublicIpAddressDnsSettings dnsSettings()
public PublicIpAddressInner withDnsSettings(PublicIpAddressDnsSettings dnsSettings)
dnsSettings - the dnsSettings value to set.public DdosSettings ddosSettings()
public PublicIpAddressInner withDdosSettings(DdosSettings ddosSettings)
ddosSettings - the ddosSettings value to set.public List<IpTag> ipTags()
public PublicIpAddressInner withIpTags(List<IpTag> ipTags)
ipTags - the ipTags value to set.public String ipAddress()
public PublicIpAddressInner withIpAddress(String ipAddress)
ipAddress - the ipAddress value to set.public com.azure.core.management.SubResource publicIpPrefix()
public PublicIpAddressInner withPublicIpPrefix(com.azure.core.management.SubResource publicIpPrefix)
publicIpPrefix - the publicIpPrefix value to set.public Integer idleTimeoutInMinutes()
public PublicIpAddressInner withIdleTimeoutInMinutes(Integer idleTimeoutInMinutes)
idleTimeoutInMinutes - the idleTimeoutInMinutes value to set.public String resourceGuid()
public ProvisioningState provisioningState()
public PublicIpAddressInner servicePublicIpAddress()
public PublicIpAddressInner withServicePublicIpAddress(PublicIpAddressInner servicePublicIpAddress)
servicePublicIpAddress - the servicePublicIpAddress value to set.public NatGatewayInner natGateway()
public PublicIpAddressInner withNatGateway(NatGatewayInner natGateway)
natGateway - the natGateway value to set.public PublicIpAddressMigrationPhase migrationPhase()
public PublicIpAddressInner withMigrationPhase(PublicIpAddressMigrationPhase migrationPhase)
migrationPhase - the migrationPhase value to set.public PublicIpAddressInner linkedPublicIpAddress()
public PublicIpAddressInner withLinkedPublicIpAddress(PublicIpAddressInner linkedPublicIpAddress)
linkedPublicIpAddress - the linkedPublicIpAddress value to set.public DeleteOptions deleteOption()
public PublicIpAddressInner withDeleteOption(DeleteOptions deleteOption)
deleteOption - the deleteOption value to set.public String id()
id in class com.azure.core.management.ProxyResourcepublic PublicIpAddressInner withId(String id)
id - the id value to set.public PublicIpAddressInner withLocation(String location)
withLocation in class com.azure.core.management.Resourcepublic PublicIpAddressInner 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.