InboundNatRulePortMapping Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. InboundNatRulePortMapping
- com.
Implements
public final class InboundNatRulePortMapping
implements JsonSerializable<InboundNatRulePortMapping>
Individual port mappings for inbound NAT rule created for backend pool.
Constructor Summary
Constructor | Description |
---|---|
InboundNatRulePortMapping() |
Creates an instance of Inbound |
Method Summary
Modifier and Type | Method and Description |
---|---|
Integer |
backendPort()
Get the backend |
static
Inbound |
fromJson(JsonReader jsonReader)
Reads an instance of Inbound |
Integer |
frontendPort()
Get the frontend |
String |
inboundNatRuleName()
Get the inbound |
Transport |
protocol()
Get the protocol property: The reference to the transport protocol used by the inbound NAT rule. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
InboundNatRulePortMapping
public InboundNatRulePortMapping()
Creates an instance of InboundNatRulePortMapping class.
Method Details
backendPort
public Integer backendPort()
Get the backendPort property: Backend port.
Returns:
fromJson
public static InboundNatRulePortMapping fromJson(JsonReader jsonReader)
Reads an instance of InboundNatRulePortMapping 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:
protocol
public TransportProtocol protocol()
Get the protocol property: The reference to the transport protocol used by the inbound NAT rule.
Returns:
toJson
validate
public void validate()
Validates the instance.
Applies to
Azure SDK for Java