NatRulePortMapping Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. NatRulePortMapping
- com.
Implements
public final class NatRulePortMapping
implements JsonSerializable<NatRulePortMapping>
Individual port mappings for inbound NAT rule created for backend pool.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Integer |
backendPort()
Get the backend |
|
static
Nat |
fromJson(JsonReader jsonReader)
Reads an instance of Nat |
| Integer |
frontendPort()
Get the frontend |
| String |
inboundNatRuleName()
Get the inbound |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Method Details
backendPort
public Integer backendPort()
Get the backendPort property: Backend port.
Returns:
fromJson
public static NatRulePortMapping fromJson(JsonReader jsonReader)
Reads an instance of NatRulePortMapping from the JsonReader.
Parameters:
Returns:
Throws:
frontendPort
public Integer frontendPort()
Get the frontendPort property: Frontend port.
Returns:
inboundNatRuleName
public String inboundNatRuleName()
Get the inboundNatRuleName property: Name of inbound NAT rule.
Returns:
toJson
validate
public void validate()
Validates the instance.