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
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionEnum value CurrentUser.Enum value LocalMachine. -
Method Summary
Modifier and TypeMethodDescriptionstatic CertificateStoreLocation
fromString
(String value) Parses a serialized value to a CertificateStoreLocation instance.toString()
static CertificateStoreLocation
Returns the enum constant of this type with the specified name.static CertificateStoreLocation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
CURRENT_USER
Enum value CurrentUser. -
LOCAL_MACHINE
Enum value LocalMachine.
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
fromString
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
- Overrides:
toString
in classEnum<CertificateStoreLocation>
-