VirtualNetworkGatewayNatRuleInner Class
- java.
lang. Object - com.
azure. core. management. SubResource - com.
azure. resourcemanager. network. fluent. models. VirtualNetworkGatewayNatRuleInner
- com.
- com.
public final class VirtualNetworkGatewayNatRuleInner
extends SubResource
VirtualNetworkGatewayNatRule Resource.
Constructor Summary
Constructor | Description |
---|---|
VirtualNetworkGatewayNatRuleInner() |
Creates an instance of Virtual |
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. |
List<Vpn |
externalMappings()
Get the external |
static
Virtual |
fromJson(JsonReader jsonReader)
Reads an instance of Virtual |
List<Vpn |
internalMappings()
Get the internal |
String |
ipConfigurationId()
Get the ip |
Vpn |
mode()
Get the mode property: The Source NAT direction of a VPN NAT. |
String |
name()
Get the name property: The name of the resource that is unique within a resource group. |
Provisioning |
provisioningState()
Get the provisioning |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: Resource type. |
Vpn |
typePropertiesType()
Get the type property: The type of NAT rule for VPN NAT. |
void |
validate()
Validates the instance. |
Virtual |
withExternalMappings(List<VpnNatRuleMapping> externalMappings)
Set the external |
Virtual |
withId(String id) |
Virtual |
withInternalMappings(List<VpnNatRuleMapping> internalMappings)
Set the internal |
Virtual |
withIpConfigurationId(String ipConfigurationId)
Set the ip |
Virtual |
withMode(VpnNatRuleMode mode)
Set the mode property: The Source NAT direction of a VPN NAT. |
Virtual |
withName(String name)
Set the name property: The name of the resource that is unique within a resource group. |
Virtual |
withTypePropertiesType(VpnNatRuleType type)
Set the type property: The type of NAT rule for VPN NAT. |
Methods inherited from SubResource
Methods inherited from java.lang.Object
Constructor Details
VirtualNetworkGatewayNatRuleInner
public VirtualNetworkGatewayNatRuleInner()
Creates an instance of VirtualNetworkGatewayNatRuleInner class.
Method Details
etag
public String etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
Returns:
externalMappings
public List
Get the externalMappings property: The private IP address external mapping for NAT.
Returns:
fromJson
public static VirtualNetworkGatewayNatRuleInner fromJson(JsonReader jsonReader)
Reads an instance of VirtualNetworkGatewayNatRuleInner from the JsonReader.
Parameters:
Returns:
Throws:
internalMappings
public List
Get the internalMappings property: The private IP address internal mapping for NAT.
Returns:
ipConfigurationId
public String ipConfigurationId()
Get the ipConfigurationId property: The IP Configuration ID this NAT rule applies to.
Returns:
mode
public VpnNatRuleMode mode()
Get the mode property: The Source NAT direction of a VPN NAT.
Returns:
name
public String name()
Get the name property: The name of the resource that is unique within a resource group. This name can be used to access the resource.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the NAT Rule resource.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
VirtualNetworkGatewayNatRuleInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: Resource type.
Returns:
typePropertiesType
public VpnNatRuleType typePropertiesType()
Get the type property: The type of NAT rule for VPN NAT.
Returns:
validate
public void validate()
Validates the instance.
withExternalMappings
public VirtualNetworkGatewayNatRuleInner withExternalMappings(List
Set the externalMappings property: The private IP address external mapping for NAT.
Parameters:
Returns:
withId
public VirtualNetworkGatewayNatRuleInner withId(String id)
Overrides:
VirtualNetworkGatewayNatRuleInner.withId(String id)Parameters:
withInternalMappings
public VirtualNetworkGatewayNatRuleInner withInternalMappings(List
Set the internalMappings property: The private IP address internal mapping for NAT.
Parameters:
Returns:
withIpConfigurationId
public VirtualNetworkGatewayNatRuleInner withIpConfigurationId(String ipConfigurationId)
Set the ipConfigurationId property: The IP Configuration ID this NAT rule applies to.
Parameters:
Returns:
withMode
public VirtualNetworkGatewayNatRuleInner withMode(VpnNatRuleMode mode)
Set the mode property: The Source NAT direction of a VPN NAT.
Parameters:
Returns:
withName
public VirtualNetworkGatewayNatRuleInner withName(String name)
Set the name property: The name of the resource that is unique within a resource group. This name can be used to access the resource.
Parameters:
Returns:
withTypePropertiesType
public VirtualNetworkGatewayNatRuleInner withTypePropertiesType(VpnNatRuleType type)
Set the type property: The type of NAT rule for VPN NAT.
Parameters:
Returns:
Applies to
Azure SDK for Java