Class SharedPublicIpAddressConfiguration
java.lang.Object
com.azure.resourcemanager.devtestlabs.models.SharedPublicIpAddressConfiguration
Properties of a virtual machine that determine how it is connected to a load balancer.
-
Constructor Summary
ConstructorDescriptionCreates an instance of SharedPublicIpAddressConfiguration class. -
Method Summary
Modifier and TypeMethodDescriptionGet the inboundNatRules property: The incoming NAT rules.void
validate()
Validates the instance.withInboundNatRules
(List<InboundNatRule> inboundNatRules) Set the inboundNatRules property: The incoming NAT rules.
-
Constructor Details
-
SharedPublicIpAddressConfiguration
public SharedPublicIpAddressConfiguration()Creates an instance of SharedPublicIpAddressConfiguration class.
-
-
Method Details
-
inboundNatRules
Get the inboundNatRules property: The incoming NAT rules.- Returns:
- the inboundNatRules value.
-
withInboundNatRules
Set the inboundNatRules property: The incoming NAT rules.- Parameters:
inboundNatRules
- the inboundNatRules value to set.- Returns:
- the SharedPublicIpAddressConfiguration object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-