Enum Class CertificateVisibility

java.lang.Object
java.lang.Enum<CertificateVisibility>
com.microsoft.azure.management.batch.CertificateVisibility
All Implemented Interfaces:
Serializable, Comparable<CertificateVisibility>, java.lang.constant.Constable

public enum CertificateVisibility extends Enum<CertificateVisibility>
Defines values for CertificateVisibility.
  • Enum Constant Details

    • START_TASK

      public static final CertificateVisibility START_TASK
      The certificate should be visible to the user account under which the start task is run. Note that if AutoUser Scope is Pool for both the StartTask and a Task, this certificate will be visible to the Task as well.
    • TASK

      public static final CertificateVisibility TASK
      The certificate should be visible to the user accounts under which job tasks are run.
    • REMOTE_USER

      public static final CertificateVisibility REMOTE_USER
      The certificate should be visible to the user accounts under which users remotely access the node.
  • Method Details

    • values

      public static CertificateVisibility[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static CertificateVisibility valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • fromString

      public static CertificateVisibility fromString(String value)
      Parses a serialized value to a CertificateVisibility instance.
      Parameters:
      value - the serialized value to parse.
      Returns:
      the parsed CertificateVisibility object, or null if unable to parse.
    • toString

      public String toString()
      Overrides:
      toString in class Enum<CertificateVisibility>