PublicIpAddressInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. network. fluent. models. PublicIpAddressInner
- com.
- com.
- com.
public final class PublicIpAddressInner
extends Resource
Public IP address resource.
Constructor Summary
Constructor | Description |
---|---|
PublicIpAddressInner() |
Creates an instance of Public |
Method Summary
Modifier and Type | Method and Description |
---|---|
Ddos |
ddosSettings()
Get the ddos |
Delete |
deleteOption()
Get the delete |
Public |
dnsSettings()
Get the dns |
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. |
Integer |
idleTimeoutInMinutes()
Get the idle |
String |
ipAddress()
Get the ip |
Ip |
ipConfiguration()
Get the ip |
List<Ip |
ipTags()
Get the ip |
Public |
linkedPublicIpAddress()
Get the linked |
Public |
migrationPhase()
Get the migration |
String |
name()
Get the name property: The name of the resource. |
Nat |
natGateway()
Get the nat |
Provisioning |
provisioningState()
Get the provisioning |
Ip |
publicIpAddressVersion()
Get the public |
Ip |
publicIpAllocationMethod()
Get the public |
Sub |
publicIpPrefix()
Get the public |
String |
resourceGuid()
Get the resource |
Public |
servicePublicIpAddress()
Get the service |
Public |
sku()
Get the sku property: The public IP address SKU. |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Public |
withDdosSettings(DdosSettings ddosSettings)
Set the ddos |
Public |
withDeleteOption(DeleteOptions deleteOption)
Set the delete |
Public |
withDnsSettings(PublicIpAddressDnsSettings dnsSettings)
Set the dns |
Public |
withExtendedLocation(ExtendedLocation extendedLocation)
Set the extended |
Public |
withId(String id)
Set the id property: Resource ID. |
Public |
withIdleTimeoutInMinutes(Integer idleTimeoutInMinutes)
Set the idle |
Public |
withIpAddress(String ipAddress)
Set the ip |
Public |
withIpTags(List<IpTag> ipTags)
Set the ip |
Public |
withLinkedPublicIpAddress(PublicIpAddressInner linkedPublicIpAddress)
Set the linked |
Public |
withLocation(String location) |
Public |
withMigrationPhase(PublicIpAddressMigrationPhase migrationPhase)
Set the migration |
Public |
withNatGateway(NatGatewayInner natGateway)
Set the nat |
Public |
withPublicIpAddressVersion(IpVersion publicIpAddressVersion)
Set the public |
Public |
withPublicIpAllocationMethod(IpAllocationMethod publicIpAllocationMethod)
Set the public |
Public |
withPublicIpPrefix(SubResource publicIpPrefix)
Set the public |
Public |
withServicePublicIpAddress(PublicIpAddressInner servicePublicIpAddress)
Set the service |
Public |
withSku(PublicIpAddressSku sku)
Set the sku property: The public IP address 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
PublicIpAddressInner
public PublicIpAddressInner()
Creates an instance of PublicIpAddressInner class.
Method Details
ddosSettings
public DdosSettings ddosSettings()
Get the ddosSettings property: The DDoS protection custom policy associated with the public IP address.
Returns:
deleteOption
public DeleteOptions deleteOption()
Get the deleteOption property: Specify what happens to the public IP address when the VM using it is deleted.
Returns:
dnsSettings
public PublicIpAddressDnsSettings dnsSettings()
Get the dnsSettings property: The FQDN of the DNS record associated with the public IP address.
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 PublicIpAddressInner fromJson(JsonReader jsonReader)
Reads an instance of PublicIpAddressInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Resource ID.
Overrides:
PublicIpAddressInner.id()Returns:
idleTimeoutInMinutes
public Integer idleTimeoutInMinutes()
Get the idleTimeoutInMinutes property: The idle timeout of the public IP address.
Returns:
ipAddress
public String ipAddress()
Get the ipAddress property: The IP address associated with the public IP address resource.
Returns:
ipConfiguration
public IpConfigurationInner ipConfiguration()
Get the ipConfiguration property: The IP configuration associated with the public IP address.
Returns:
ipTags
public List
Get the ipTags property: The list of tags associated with the public IP address.
Returns:
linkedPublicIpAddress
public PublicIpAddressInner linkedPublicIpAddress()
Get the linkedPublicIpAddress property: The linked public IP address of the public IP address resource.
Returns:
migrationPhase
public PublicIpAddressMigrationPhase migrationPhase()
Get the migrationPhase property: Migration phase of Public IP Address.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
PublicIpAddressInner.name()Returns:
natGateway
public NatGatewayInner natGateway()
Get the natGateway property: The NatGateway for the Public IP address.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the public IP address resource.
Returns:
publicIpAddressVersion
public IpVersion publicIpAddressVersion()
Get the publicIpAddressVersion property: The public IP address version.
Returns:
publicIpAllocationMethod
public IpAllocationMethod publicIpAllocationMethod()
Get the publicIpAllocationMethod property: The public IP address allocation method.
Returns:
publicIpPrefix
public SubResource publicIpPrefix()
Get the publicIpPrefix property: The Public IP Prefix this Public IP Address should be allocated from.
Returns:
resourceGuid
public String resourceGuid()
Get the resourceGuid property: The resource GUID property of the public IP address resource.
Returns:
servicePublicIpAddress
public PublicIpAddressInner servicePublicIpAddress()
Get the servicePublicIpAddress property: The service public IP address of the public IP address resource.
Returns:
sku
public PublicIpAddressSku sku()
Get the sku property: The public IP address SKU.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
PublicIpAddressInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
PublicIpAddressInner.type()Returns:
validate
public void validate()
Validates the instance.
withDdosSettings
public PublicIpAddressInner withDdosSettings(DdosSettings ddosSettings)
Set the ddosSettings property: The DDoS protection custom policy associated with the public IP address.
Parameters:
Returns:
withDeleteOption
public PublicIpAddressInner withDeleteOption(DeleteOptions deleteOption)
Set the deleteOption property: Specify what happens to the public IP address when the VM using it is deleted.
Parameters:
Returns:
withDnsSettings
public PublicIpAddressInner withDnsSettings(PublicIpAddressDnsSettings dnsSettings)
Set the dnsSettings property: The FQDN of the DNS record associated with the public IP address.
Parameters:
Returns:
withExtendedLocation
public PublicIpAddressInner withExtendedLocation(ExtendedLocation extendedLocation)
Set the extendedLocation property: The extended location of the public ip address.
Parameters:
Returns:
withId
public PublicIpAddressInner withId(String id)
Set the id property: Resource ID.
Parameters:
Returns:
withIdleTimeoutInMinutes
public PublicIpAddressInner withIdleTimeoutInMinutes(Integer idleTimeoutInMinutes)
Set the idleTimeoutInMinutes property: The idle timeout of the public IP address.
Parameters:
Returns:
withIpAddress
public PublicIpAddressInner withIpAddress(String ipAddress)
Set the ipAddress property: The IP address associated with the public IP address resource.
Parameters:
Returns:
withIpTags
public PublicIpAddressInner withIpTags(List
Set the ipTags property: The list of tags associated with the public IP address.
Parameters:
Returns:
withLinkedPublicIpAddress
public PublicIpAddressInner withLinkedPublicIpAddress(PublicIpAddressInner linkedPublicIpAddress)
Set the linkedPublicIpAddress property: The linked public IP address of the public IP address resource.
Parameters:
Returns:
withLocation
public PublicIpAddressInner withLocation(String location)
Overrides:
PublicIpAddressInner.withLocation(String location)Parameters:
withMigrationPhase
public PublicIpAddressInner withMigrationPhase(PublicIpAddressMigrationPhase migrationPhase)
Set the migrationPhase property: Migration phase of Public IP Address.
Parameters:
Returns:
withNatGateway
public PublicIpAddressInner withNatGateway(NatGatewayInner natGateway)
Set the natGateway property: The NatGateway for the Public IP address.
Parameters:
Returns:
withPublicIpAddressVersion
public PublicIpAddressInner withPublicIpAddressVersion(IpVersion publicIpAddressVersion)
Set the publicIpAddressVersion property: The public IP address version.
Parameters:
Returns:
withPublicIpAllocationMethod
public PublicIpAddressInner withPublicIpAllocationMethod(IpAllocationMethod publicIpAllocationMethod)
Set the publicIpAllocationMethod property: The public IP address allocation method.
Parameters:
Returns:
withPublicIpPrefix
public PublicIpAddressInner withPublicIpPrefix(SubResource publicIpPrefix)
Set the publicIpPrefix property: The Public IP Prefix this Public IP Address should be allocated from.
Parameters:
Returns:
withServicePublicIpAddress
public PublicIpAddressInner withServicePublicIpAddress(PublicIpAddressInner servicePublicIpAddress)
Set the servicePublicIpAddress property: The service public IP address of the public IP address resource.
Parameters:
Returns:
withSku
public PublicIpAddressInner withSku(PublicIpAddressSku sku)
Set the sku property: The public IP address SKU.
Parameters:
Returns:
withTags
public PublicIpAddressInner withTags(Map
Overrides:
PublicIpAddressInner.withTags(Map<String,String> tags)Parameters:
withZones
public PublicIpAddressInner 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