Class SecurityTypes

java.lang.Object
com.azure.core.util.ExpandableStringEnum<SecurityTypes>
com.azure.resourcemanager.compute.models.SecurityTypes
All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>

public final class SecurityTypes extends com.azure.core.util.ExpandableStringEnum<SecurityTypes>
Specifies the VM securityType; UefiSettings are enabled only when set to TrustedLaunch or ConfidentialVM, and returns a Standard value starting API version 2025-11-01.
  • Field Details

    • STANDARD

      public static final SecurityTypes STANDARD
      Indicates a VM without UEFI features such as SecureBoot or vTPM; returned as the default value when securityType is not specified.
    • TRUSTED_LAUNCH

      public static final SecurityTypes TRUSTED_LAUNCH
      Static value TrustedLaunch for SecurityTypes.
    • CONFIDENTIAL_VM

      public static final SecurityTypes CONFIDENTIAL_VM
      Static value ConfidentialVM for SecurityTypes.
  • Constructor Details

    • SecurityTypes

      @Deprecated public SecurityTypes()
      Deprecated.
      Use the fromString(String) factory method.
      Creates a new instance of SecurityTypes value.
  • Method Details

    • fromString

      public static SecurityTypes fromString(String name)
      Creates or finds a SecurityTypes from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding SecurityTypes.
    • values

      public static Collection<SecurityTypes> values()
      Gets known SecurityTypes values.
      Returns:
      known SecurityTypes values.