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

    Constructors
    Constructor
    Description
    Creates an instance of AgentPoolSecurityProfile class.
  • Method Summary

    Modifier and Type
    Method
    Description
    Get 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.
    fromJson(com.azure.json.JsonReader jsonReader)
    Reads an instance of AgentPoolSecurityProfile from the JsonReader.
    com.azure.json.JsonWriter
    toJson(com.azure.json.JsonWriter jsonWriter)
    void
    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, wait

    Methods 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

      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.
    • 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.
    • 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.
    • 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.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.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.