NatGatewayInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. network. fluent. models. NatGatewayInner
- com.
- com.
- com.
public final class NatGatewayInner
extends Resource
Nat Gateway resource.
Constructor Summary
| Constructor | Description |
|---|---|
| NatGatewayInner() |
Creates an instance of Nat |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated. |
|
static
Nat |
fromJson(JsonReader jsonReader)
Reads an instance of Nat |
| String |
id()
Get the id property: Resource ID. |
| Integer |
idleTimeoutInMinutes()
Get the idle |
| String |
name()
Get the name property: The name of the resource. |
|
Provisioning |
provisioningState()
Get the provisioning |
|
List<Sub |
publicIpAddresses()
Get the public |
|
List<Sub |
publicIpAddressesV6()
Get the public |
|
List<Sub |
publicIpPrefixes()
Get the public |
|
List<Sub |
publicIpPrefixesV6()
Get the public |
| String |
resourceGuid()
Get the resource |
|
Nat |
sku()
Get the sku property: The nat gateway SKU. |
|
Sub |
sourceVirtualNetwork()
Get the source |
|
List<Sub |
subnets()
Get the subnets property: An array of references to the subnets using this nat gateway resource. |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
|
Nat |
withId(String id)
Set the id property: Resource ID. |
|
Nat |
withIdleTimeoutInMinutes(Integer idleTimeoutInMinutes)
Set the idle |
|
Nat |
withLocation(String location) |
|
Nat |
withPublicIpAddresses(List<SubResource> publicIpAddresses)
Set the public |
|
Nat |
withPublicIpAddressesV6(List<SubResource> publicIpAddressesV6)
Set the public |
|
Nat |
withPublicIpPrefixes(List<SubResource> publicIpPrefixes)
Set the public |
|
Nat |
withPublicIpPrefixesV6(List<SubResource> publicIpPrefixesV6)
Set the public |
|
Nat |
withSku(NatGatewaySku sku)
Set the sku property: The nat gateway SKU. |
|
Nat |
withSourceVirtualNetwork(SubResource sourceVirtualNetwork)
Set the source |
|
Nat |
withTags(Map<String,String> tags) |
|
Nat |
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. |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
NatGatewayInner
public NatGatewayInner()
Creates an instance of NatGatewayInner class.
Method Details
etag
public String etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
Returns:
fromJson
public static NatGatewayInner fromJson(JsonReader jsonReader)
Reads an instance of NatGatewayInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Resource ID.
Overrides:
NatGatewayInner.id()Returns:
idleTimeoutInMinutes
public Integer idleTimeoutInMinutes()
Get the idleTimeoutInMinutes property: The idle timeout of the nat gateway.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
NatGatewayInner.name()Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the NAT gateway resource.
Returns:
publicIpAddresses
public List<SubResource> publicIpAddresses()
Get the publicIpAddresses property: An array of public ip addresses V4 associated with the nat gateway resource.
Returns:
publicIpAddressesV6
public List<SubResource> publicIpAddressesV6()
Get the publicIpAddressesV6 property: An array of public ip addresses V6 associated with the nat gateway resource.
Returns:
publicIpPrefixes
public List<SubResource> publicIpPrefixes()
Get the publicIpPrefixes property: An array of public ip prefixes V4 associated with the nat gateway resource.
Returns:
publicIpPrefixesV6
public List<SubResource> publicIpPrefixesV6()
Get the publicIpPrefixesV6 property: An array of public ip prefixes V6 associated with the nat gateway resource.
Returns:
resourceGuid
public String resourceGuid()
Get the resourceGuid property: The resource GUID property of the NAT gateway resource.
Returns:
sku
public NatGatewaySku sku()
Get the sku property: The nat gateway SKU.
Returns:
sourceVirtualNetwork
public SubResource sourceVirtualNetwork()
Get the sourceVirtualNetwork property: A reference to the source virtual network using this nat gateway resource.
Returns:
subnets
public List<SubResource> subnets()
Get the subnets property: An array of references to the subnets using this nat gateway resource.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
NatGatewayInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
NatGatewayInner.type()Returns:
validate
public void validate()
Validates the instance.
withId
public NatGatewayInner withId(String id)
Set the id property: Resource ID.
Parameters:
Returns:
withIdleTimeoutInMinutes
public NatGatewayInner withIdleTimeoutInMinutes(Integer idleTimeoutInMinutes)
Set the idleTimeoutInMinutes property: The idle timeout of the nat gateway.
Parameters:
Returns:
withLocation
public NatGatewayInner withLocation(String location)
Overrides:
NatGatewayInner.withLocation(String location)Parameters:
withPublicIpAddresses
public NatGatewayInner withPublicIpAddresses(List<SubResource> publicIpAddresses)
Set the publicIpAddresses property: An array of public ip addresses V4 associated with the nat gateway resource.
Parameters:
Returns:
withPublicIpAddressesV6
public NatGatewayInner withPublicIpAddressesV6(List<SubResource> publicIpAddressesV6)
Set the publicIpAddressesV6 property: An array of public ip addresses V6 associated with the nat gateway resource.
Parameters:
Returns:
withPublicIpPrefixes
public NatGatewayInner withPublicIpPrefixes(List<SubResource> publicIpPrefixes)
Set the publicIpPrefixes property: An array of public ip prefixes V4 associated with the nat gateway resource.
Parameters:
Returns:
withPublicIpPrefixesV6
public NatGatewayInner withPublicIpPrefixesV6(List<SubResource> publicIpPrefixesV6)
Set the publicIpPrefixesV6 property: An array of public ip prefixes V6 associated with the nat gateway resource.
Parameters:
Returns:
withSku
public NatGatewayInner withSku(NatGatewaySku sku)
Set the sku property: The nat gateway SKU.
Parameters:
Returns:
withSourceVirtualNetwork
public NatGatewayInner withSourceVirtualNetwork(SubResource sourceVirtualNetwork)
Set the sourceVirtualNetwork property: A reference to the source virtual network using this nat gateway resource.
Parameters:
Returns:
withTags
public NatGatewayInner withTags(Map<String,String> tags)
Overrides:
NatGatewayInner.withTags(Map<String,String> tags)Parameters:
withZones
public NatGatewayInner withZones(List<String> zones)
Set the zones property: A list of availability zones denoting the zone in which Nat Gateway should be deployed.
Parameters:
Returns:
zones
public List<String> zones()
Get the zones property: A list of availability zones denoting the zone in which Nat Gateway should be deployed.
Returns: