Class AgentPoolWindowsProfile
java.lang.Object
com.azure.resourcemanager.containerservice.models.AgentPoolWindowsProfile
The Windows agent pool's specific profile.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of AgentPoolWindowsProfile class. -
Method Summary
Modifier and TypeMethodDescriptionGet the disableOutboundNat property: Whether to disable OutboundNAT in windows nodes The default value is false.voidvalidate()Validates the instance.withDisableOutboundNat(Boolean disableOutboundNat) Set the disableOutboundNat property: Whether to disable OutboundNAT in windows nodes The default value is false.
-
Constructor Details
-
AgentPoolWindowsProfile
public AgentPoolWindowsProfile()Creates an instance of AgentPoolWindowsProfile class.
-
-
Method Details
-
disableOutboundNat
Get the disableOutboundNat property: Whether to disable OutboundNAT in windows nodes The default value is false. Outbound NAT can only be disabled if the cluster outboundType is NAT Gateway and the Windows agent pool does not have node public IP enabled.- Returns:
- the disableOutboundNat value.
-
withDisableOutboundNat
Set the disableOutboundNat property: Whether to disable OutboundNAT in windows nodes The default value is false. Outbound NAT can only be disabled if the cluster outboundType is NAT Gateway and the Windows agent pool does not have node public IP enabled.- Parameters:
disableOutboundNat- the disableOutboundNat value to set.- Returns:
- the AgentPoolWindowsProfile object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-