AgentPoolSecurityProfile Class

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

Implements

public final class AgentPoolSecurityProfile
implements JsonSerializable<AgentPoolSecurityProfile>

The security settings of an agent pool.

Constructor Summary

Constructor Description
AgentPoolSecurityProfile()

Creates an instance of AgentPoolSecurityProfile class.

Method Summary

Modifier and Type Method and Description
Boolean enableSecureBoot()

Get the enableSecureBoot property: Secure Boot is a feature of Trusted Launch which ensures that only signed operating systems and drivers can boot.

Boolean enableVtpm()

Get the enableVtpm property: vTPM is a Trusted Launch feature for configuring a dedicated secure vault for keys and measurements held locally on the node.

static AgentPoolSecurityProfile fromJson(JsonReader jsonReader)

Reads an instance of AgentPoolSecurityProfile from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

AgentPoolSecurityProfile withEnableSecureBoot(Boolean enableSecureBoot)

Set the enableSecureBoot property: Secure Boot is a feature of Trusted Launch which ensures that only signed operating systems and drivers can boot.

AgentPoolSecurityProfile withEnableVtpm(Boolean enableVtpm)

Set the enableVtpm property: vTPM is a Trusted Launch feature for configuring a dedicated secure vault for keys and measurements held locally on the node.

Methods inherited from java.lang.Object

Constructor Details

AgentPoolSecurityProfile

public AgentPoolSecurityProfile()

Creates an instance of AgentPoolSecurityProfile class.

Method Details

enableSecureBoot

public Boolean enableSecureBoot()

Get the enableSecureBoot property: Secure Boot is a feature of Trusted Launch which ensures that only signed operating systems and drivers can boot. For more details, see aka.ms/aks/trustedlaunch. If not specified, the default is false.

Returns:

the enableSecureBoot value.

enableVtpm

public Boolean enableVtpm()

Get the enableVtpm property: vTPM is a Trusted Launch feature for configuring a dedicated secure vault for keys and measurements held locally on the node. For more details, see aka.ms/aks/trustedlaunch. If not specified, the default is false.

Returns:

the enableVtpm value.

fromJson

public static AgentPoolSecurityProfile fromJson(JsonReader jsonReader)

Reads an instance of AgentPoolSecurityProfile from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of AgentPoolSecurityProfile 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 AgentPoolSecurityProfile.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withEnableSecureBoot

public AgentPoolSecurityProfile withEnableSecureBoot(Boolean enableSecureBoot)

Set the enableSecureBoot property: Secure Boot is a feature of Trusted Launch which ensures that only signed operating systems and drivers can boot. For more details, see aka.ms/aks/trustedlaunch. If not specified, the default is false.

Parameters:

enableSecureBoot - the enableSecureBoot value to set.

Returns:

the AgentPoolSecurityProfile object itself.

withEnableVtpm

public AgentPoolSecurityProfile withEnableVtpm(Boolean enableVtpm)

Set the enableVtpm property: vTPM is a Trusted Launch feature for configuring a dedicated secure vault for keys and measurements held locally on the node. For more details, see aka.ms/aks/trustedlaunch. If not specified, the default is false.

Parameters:

enableVtpm - the enableVtpm value to set.

Returns:

the AgentPoolSecurityProfile object itself.

Applies to