AgentPoolWindowsProfile Class

  • java.lang.Object
    • com.azure.resourcemanager.containerservice.models.AgentPoolWindowsProfile

Implements

public final class AgentPoolWindowsProfile
implements JsonSerializable<AgentPoolWindowsProfile>

The Windows agent pool's specific profile.

Constructor Summary

Constructor Description
AgentPoolWindowsProfile()

Creates an instance of AgentPoolWindowsProfile class.

Method Summary

Modifier and Type Method and Description
Boolean disableOutboundNat()

Get the disableOutboundNat property: The default value is false.

static AgentPoolWindowsProfile fromJson(JsonReader jsonReader)

Reads an instance of AgentPoolWindowsProfile from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

AgentPoolWindowsProfile withDisableOutboundNat(Boolean disableOutboundNat)

Set the disableOutboundNat property: The default value is false.

Methods inherited from java.lang.Object

Constructor Details

AgentPoolWindowsProfile

public AgentPoolWindowsProfile()

Creates an instance of AgentPoolWindowsProfile class.

Method Details

disableOutboundNat

public Boolean disableOutboundNat()

Get the disableOutboundNat property: 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.

fromJson

public static AgentPoolWindowsProfile fromJson(JsonReader jsonReader)

Reads an instance of AgentPoolWindowsProfile from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of AgentPoolWindowsProfile if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the AgentPoolWindowsProfile.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withDisableOutboundNat

public AgentPoolWindowsProfile withDisableOutboundNat(Boolean disableOutboundNat)

Set the disableOutboundNat property: 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.

Applies to