Share via


Certificate Constructors

Definition

Overloads

Certificate()

Initializes a new instance of the Certificate class.

Certificate(String, String, String, String, String, String, CertificateFormat, CertificateProvisioningState, Nullable<DateTime>, CertificateProvisioningState, Nullable<DateTime>, String, DeleteCertificateError)

Initializes a new instance of the Certificate class.

Certificate()

Initializes a new instance of the Certificate class.

public Certificate ();
Public Sub New ()

Applies to

Certificate(String, String, String, String, String, String, CertificateFormat, CertificateProvisioningState, Nullable<DateTime>, CertificateProvisioningState, Nullable<DateTime>, String, DeleteCertificateError)

Initializes a new instance of the Certificate class.

public Certificate (string id = default, string name = default, string type = default, string etag = default, string thumbprintAlgorithm = default, string thumbprint = default, Microsoft.Azure.Management.Batch.Models.CertificateFormat format = Microsoft.Azure.Management.Batch.Models.CertificateFormat.Pfx, Microsoft.Azure.Management.Batch.Models.CertificateProvisioningState provisioningState = Microsoft.Azure.Management.Batch.Models.CertificateProvisioningState.Succeeded, DateTime? provisioningStateTransitionTime = default, Microsoft.Azure.Management.Batch.Models.CertificateProvisioningState previousProvisioningState = Microsoft.Azure.Management.Batch.Models.CertificateProvisioningState.Succeeded, DateTime? previousProvisioningStateTransitionTime = default, string publicData = default, Microsoft.Azure.Management.Batch.Models.DeleteCertificateError deleteCertificateError = default);
new Microsoft.Azure.Management.Batch.Models.Certificate : string * string * string * string * string * string * Microsoft.Azure.Management.Batch.Models.CertificateFormat * Microsoft.Azure.Management.Batch.Models.CertificateProvisioningState * Nullable<DateTime> * Microsoft.Azure.Management.Batch.Models.CertificateProvisioningState * Nullable<DateTime> * string * Microsoft.Azure.Management.Batch.Models.DeleteCertificateError -> Microsoft.Azure.Management.Batch.Models.Certificate
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional etag As String = Nothing, Optional thumbprintAlgorithm As String = Nothing, Optional thumbprint As String = Nothing, Optional format As CertificateFormat = Microsoft.Azure.Management.Batch.Models.CertificateFormat.Pfx, Optional provisioningState As CertificateProvisioningState = Microsoft.Azure.Management.Batch.Models.CertificateProvisioningState.Succeeded, Optional provisioningStateTransitionTime As Nullable(Of DateTime) = Nothing, Optional previousProvisioningState As CertificateProvisioningState = Microsoft.Azure.Management.Batch.Models.CertificateProvisioningState.Succeeded, Optional previousProvisioningStateTransitionTime As Nullable(Of DateTime) = Nothing, Optional publicData As String = Nothing, Optional deleteCertificateError As DeleteCertificateError = Nothing)

Parameters

id
String

The ID of the resource.

name
String

The name of the resource.

type
String

The type of the resource.

etag
String

The ETag of the resource, used for concurrency statements.

thumbprintAlgorithm
String

The algorithm of the certificate thumbprint.

thumbprint
String

The thumbprint of the certificate.

format
CertificateFormat

The format of the certificate - either Pfx or Cer. If omitted, the default is Pfx. Possible values include: 'Pfx', 'Cer'

provisioningState
CertificateProvisioningState

The provisioned state of the resource

provisioningStateTransitionTime
Nullable<DateTime>

The time at which the certificate entered its current state.

previousProvisioningState
CertificateProvisioningState

The previous provisioned state of the resource. Possible values include: 'Succeeded', 'Deleting', 'Failed'

previousProvisioningStateTransitionTime
Nullable<DateTime>

The time at which the certificate entered its previous state.

publicData
String

The public key of the certificate.

deleteCertificateError
DeleteCertificateError

The error which occurred while deleting the certificate

Applies to