Class SecretObjectType

java.lang.Object
com.azure.core.util.ExpandableStringEnum<SecretObjectType>
com.azure.resourcemanager.containerregistry.models.SecretObjectType

public final class SecretObjectType extends com.azure.core.util.ExpandableStringEnum<SecretObjectType>
The type of the secret object which determines how the value of the secret object has to be interpreted.
  • Field Details

    • OPAQUE

      public static final SecretObjectType OPAQUE
      Static value Opaque for SecretObjectType.
    • VAULTSECRET

      public static final SecretObjectType VAULTSECRET
      Static value Vaultsecret for SecretObjectType.
  • Constructor Details

    • SecretObjectType

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

    • fromString

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

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