Поделиться через


BatchCertificate Class

Definition

A Certificate that can be installed on Compute Nodes and can be used to authenticate operations on the machine.

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

Constructors

BatchCertificate(String, String, String)

Initializes a new instance of BatchCertificate.

Properties

CertificateFormat

The format of the Certificate data.

Data

The base64-encoded contents of the Certificate. The maximum size is 10KB.

DeleteCertificateError

The error that occurred on the last attempt to delete this Certificate. This property is set only if the Certificate is in the DeleteFailed state.

Password

The password to access the Certificate's private key. This must be omitted if the Certificate format is cer.

PreviousState

The previous state of the Certificate. This property is not set if the Certificate is in its initial active state.

PreviousStateTransitionTime

The time at which the Certificate entered its previous state. This property is not set if the Certificate is in its initial Active state.

PublicData

The public part of the Certificate as a base-64 encoded .cer file.

State

The state of the Certificate.

StateTransitionTime

The time at which the Certificate entered its current state.

Thumbprint

The X.509 thumbprint of the Certificate. This is a sequence of up to 40 hex digits (it may include spaces but these are removed).

ThumbprintAlgorithm

The algorithm used to derive the thumbprint. This must be sha1.

Url

The URL of the Certificate.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<BatchCertificate>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<BatchCertificate>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<BatchCertificate>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<BatchCertificate>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<BatchCertificate>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to