public class NatGatewayInner
extends com.azure.core.management.Resource
| Constructor and Description |
|---|
NatGatewayInner() |
| Modifier and Type | Method and Description |
|---|---|
String |
etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
|
String |
id()
Get the id property: Resource ID.
|
Integer |
idleTimeoutInMinutes()
Get the idleTimeoutInMinutes property: The idle timeout of the nat gateway.
|
ProvisioningState |
provisioningState()
Get the provisioningState property: The provisioning state of the NAT gateway resource.
|
List<com.azure.core.management.SubResource> |
publicIpAddresses()
Get the publicIpAddresses property: An array of public ip addresses associated with the nat gateway resource.
|
List<com.azure.core.management.SubResource> |
publicIpPrefixes()
Get the publicIpPrefixes property: An array of public ip prefixes associated with the nat gateway resource.
|
String |
resourceGuid()
Get the resourceGuid property: The resource GUID property of the NAT gateway resource.
|
NatGatewaySku |
sku()
Get the sku property: The nat gateway SKU.
|
List<com.azure.core.management.SubResource> |
subnets()
Get the subnets property: An array of references to the subnets using this nat gateway resource.
|
void |
validate()
Validates the instance.
|
NatGatewayInner |
withId(String id)
Set the id property: Resource ID.
|
NatGatewayInner |
withIdleTimeoutInMinutes(Integer idleTimeoutInMinutes)
Set the idleTimeoutInMinutes property: The idle timeout of the nat gateway.
|
NatGatewayInner |
withLocation(String location) |
NatGatewayInner |
withPublicIpAddresses(List<com.azure.core.management.SubResource> publicIpAddresses)
Set the publicIpAddresses property: An array of public ip addresses associated with the nat gateway resource.
|
NatGatewayInner |
withPublicIpPrefixes(List<com.azure.core.management.SubResource> publicIpPrefixes)
Set the publicIpPrefixes property: An array of public ip prefixes associated with the nat gateway resource.
|
NatGatewayInner |
withSku(NatGatewaySku sku)
Set the sku property: The nat gateway SKU.
|
NatGatewayInner |
withTags(Map<String,String> tags) |
NatGatewayInner |
withZones(List<String> zones)
Set the zones property: A list of availability zones denoting the zone in which Nat Gateway should be deployed.
|
List<String> |
zones()
Get the zones property: A list of availability zones denoting the zone in which Nat Gateway should be deployed.
|
public NatGatewaySku sku()
public NatGatewayInner withSku(NatGatewaySku sku)
sku - the sku value to set.public List<String> zones()
public NatGatewayInner withZones(List<String> zones)
zones - the zones value to set.public String etag()
public Integer idleTimeoutInMinutes()
public NatGatewayInner withIdleTimeoutInMinutes(Integer idleTimeoutInMinutes)
idleTimeoutInMinutes - the idleTimeoutInMinutes value to set.public List<com.azure.core.management.SubResource> publicIpAddresses()
public NatGatewayInner withPublicIpAddresses(List<com.azure.core.management.SubResource> publicIpAddresses)
publicIpAddresses - the publicIpAddresses value to set.public List<com.azure.core.management.SubResource> publicIpPrefixes()
public NatGatewayInner withPublicIpPrefixes(List<com.azure.core.management.SubResource> publicIpPrefixes)
publicIpPrefixes - the publicIpPrefixes value to set.public List<com.azure.core.management.SubResource> subnets()
public String resourceGuid()
public ProvisioningState provisioningState()
public String id()
id in class com.azure.core.management.ProxyResourcepublic NatGatewayInner withId(String id)
id - the id value to set.public NatGatewayInner withLocation(String location)
withLocation in class com.azure.core.management.Resourcepublic NatGatewayInner 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.