Share via


BatchCertificate(String, String, BinaryData) Constructor

Definition

Initializes a new instance of BatchCertificate.

public BatchCertificate(string thumbprint, string thumbprintAlgorithm, BinaryData data);
new Azure.Compute.Batch.BatchCertificate : string * string * BinaryData -> Azure.Compute.Batch.BatchCertificate
Public Sub New (thumbprint As String, thumbprintAlgorithm As String, data As BinaryData)

Parameters

thumbprint
String

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
String

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

data
BinaryData

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

Exceptions

thumbprint, thumbprintAlgorithm or data is null.

Applies to