Class AgentPoolSecurityProfile
java.lang.Object
com.azure.resourcemanager.containerservice.models.AgentPoolSecurityProfile
- All Implemented Interfaces:
com.azure.json.JsonSerializable<AgentPoolSecurityProfile>
public final class AgentPoolSecurityProfile
extends Object
implements com.azure.json.JsonSerializable<AgentPoolSecurityProfile>
The security settings of an agent pool.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of AgentPoolSecurityProfile class. -
Method Summary
Modifier and TypeMethodDescriptionGet the enableSecureBoot property: Secure Boot is a feature of Trusted Launch which ensures that only signed operating systems and drivers can boot.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 AgentPoolSecurityProfilefromJson(com.azure.json.JsonReader jsonReader) Reads an instance of AgentPoolSecurityProfile from the JsonReader.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.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.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 class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
AgentPoolSecurityProfile
public AgentPoolSecurityProfile()Creates an instance of AgentPoolSecurityProfile class.
-
-
Method Details
-
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.
-
withEnableVtpm
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.
-
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.
-
withEnableSecureBoot
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.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<AgentPoolSecurityProfile>- Throws:
IOException
-
fromJson
public static AgentPoolSecurityProfile fromJson(com.azure.json.JsonReader jsonReader) throws IOException 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.
-