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 |
publicIpPrefixes()
Get the public |
String |
resourceGuid()
Get the resource |
Nat |
sku()
Get the sku property: The nat gateway SKU. |
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 |
withPublicIpPrefixes(List<SubResource> publicIpPrefixes)
Set the public |
Nat |
withSku(NatGatewaySku sku)
Set the sku property: The nat gateway SKU. |
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
Get the publicIpAddresses property: An array of public ip addresses associated with the nat gateway resource.
Returns:
publicIpPrefixes
public List
Get the publicIpPrefixes property: An array of public ip prefixes 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:
subnets
public List
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
Set the publicIpAddresses property: An array of public ip addresses associated with the nat gateway resource.
Parameters:
Returns:
withPublicIpPrefixes
public NatGatewayInner withPublicIpPrefixes(List
Set the publicIpPrefixes property: An array of public ip prefixes associated with the nat gateway resource.
Parameters:
Returns:
withSku
public NatGatewayInner withSku(NatGatewaySku sku)
Set the sku property: The nat gateway SKU.
Parameters:
Returns:
withTags
public NatGatewayInner withTags(Map
Overrides:
NatGatewayInner.withTags(Map<String,String> tags)Parameters:
withZones
public NatGatewayInner withZones(List
Set the zones property: A list of availability zones denoting the zone in which Nat Gateway should be deployed.
Parameters:
Returns:
zones
public List
Get the zones property: A list of availability zones denoting the zone in which Nat Gateway should be deployed.
Returns:
Applies to
Azure SDK for Java