Compartilhar via


BatchCertificateReference Class

Definition

Warning: This object is deprecated and will be removed after February, 2024. Please use the Azure KeyVault Extension instead.

public class BatchCertificateReference : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Batch.Models.BatchCertificateReference>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Batch.Models.BatchCertificateReference>
public class BatchCertificateReference
type BatchCertificateReference = class
    interface IJsonModel<BatchCertificateReference>
    interface IPersistableModel<BatchCertificateReference>
type BatchCertificateReference = class
Public Class BatchCertificateReference
Implements IJsonModel(Of BatchCertificateReference), IPersistableModel(Of BatchCertificateReference)
Public Class BatchCertificateReference
Inheritance
BatchCertificateReference
Implements

Constructors

BatchCertificateReference(ResourceIdentifier)

Initializes a new instance of BatchCertificateReference.

Properties

Id

The fully qualified ID of the certificate to install on the pool. This must be inside the same batch account as the pool.

StoreLocation

The default value is currentUser. This property is applicable only for pools configured with Windows compute nodes. 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.

StoreName

This property is applicable only for pools configured with Windows compute nodes. Common store names include: My, Root, CA, Trust, Disallowed, TrustedPeople, TrustedPublisher, AuthRoot, AddressBook, but any custom store name can also be used. The default value is My.

Visibility

Which user accounts on the compute node should have access to the private data of the certificate.

Explicit Interface Implementations

IJsonModel<BatchCertificateReference>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<BatchCertificateReference>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<BatchCertificateReference>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<BatchCertificateReference>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<BatchCertificateReference>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to