Share via


ArmBatchModelFactory.BatchAccountCertificateData Method

Definition

Initializes a new instance of BatchAccountCertificateData.

public static Azure.ResourceManager.Batch.BatchAccountCertificateData BatchAccountCertificateData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string thumbprintAlgorithm = default, string thumbprintString = default, Azure.ResourceManager.Batch.Models.BatchAccountCertificateFormat? format = default, Azure.ResourceManager.Batch.Models.BatchAccountCertificateProvisioningState? provisioningState = default, DateTimeOffset? provisioningStateTransitOn = default, Azure.ResourceManager.Batch.Models.BatchAccountCertificateProvisioningState? previousProvisioningState = default, DateTimeOffset? previousProvisioningStateTransitOn = default, string publicData = default, Azure.ResponseError deleteCertificateError = default, Azure.ETag? etag = default);
static member BatchAccountCertificateData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * string * Nullable<Azure.ResourceManager.Batch.Models.BatchAccountCertificateFormat> * Nullable<Azure.ResourceManager.Batch.Models.BatchAccountCertificateProvisioningState> * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.Batch.Models.BatchAccountCertificateProvisioningState> * Nullable<DateTimeOffset> * string * Azure.ResponseError * Nullable<Azure.ETag> -> Azure.ResourceManager.Batch.BatchAccountCertificateData
Public Shared Function BatchAccountCertificateData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional thumbprintAlgorithm As String = Nothing, Optional thumbprintString As String = Nothing, Optional format As Nullable(Of BatchAccountCertificateFormat) = Nothing, Optional provisioningState As Nullable(Of BatchAccountCertificateProvisioningState) = Nothing, Optional provisioningStateTransitOn As Nullable(Of DateTimeOffset) = Nothing, Optional previousProvisioningState As Nullable(Of BatchAccountCertificateProvisioningState) = Nothing, Optional previousProvisioningStateTransitOn As Nullable(Of DateTimeOffset) = Nothing, Optional publicData As String = Nothing, Optional deleteCertificateError As ResponseError = Nothing, Optional etag As Nullable(Of ETag) = Nothing) As BatchAccountCertificateData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

thumbprintAlgorithm
String

This must match the first portion of the certificate name. Currently required to be 'SHA1'.

thumbprintString
String

This must match the thumbprint from the name.

format
Nullable<BatchAccountCertificateFormat>

The format of the certificate - either Pfx or Cer. If omitted, the default is Pfx.

provisioningStateTransitOn
Nullable<DateTimeOffset>

The time at which the certificate entered its current state.

previousProvisioningState
Nullable<BatchAccountCertificateProvisioningState>

The previous provisioned state of the resource.

previousProvisioningStateTransitOn
Nullable<DateTimeOffset>

The time at which the certificate entered its previous state.

publicData
String

The public key of the certificate.

deleteCertificateError
ResponseError

This is only returned when the certificate provisioningState is 'Failed'.

etag
Nullable<ETag>

The ETag of the resource, used for concurrency statements.

Returns

A new BatchAccountCertificateData instance for mocking.

Applies to