Enum CertificateStoreLocation

java.lang.Object
java.lang.Enum<CertificateStoreLocation>
com.azure.resourcemanager.batch.models.CertificateStoreLocation
All Implemented Interfaces:
Serializable, Comparable<CertificateStoreLocation>, java.lang.constant.Constable

public enum CertificateStoreLocation extends Enum<CertificateStoreLocation>
The location of the certificate store on the compute node into which to install the certificate.

The default value is currentUser. This property is applicable only for pools configured with Windows nodes (that is, created with cloudServiceConfiguration, or with virtualMachineConfiguration using a Windows image reference). For Linux compute nodes, the certificates are stored in a directory inside the task working directory and an environment variable AZ_BATCH_CERTIFICATES_DIR is supplied to the task to query for this location. For certificates with visibility of 'remoteUser', a 'certs' directory is created in the user's home directory (e.g., /home/{user-name}/certs) and certificates are placed in that directory.

  • Enum Constant Details

  • Method Details

    • values

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

      public static CertificateStoreLocation valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null
    • fromString

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

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