다음을 통해 공유


CertificateContract Constructors

Definition

Overloads

CertificateContract()

Initializes a new instance of the CertificateContract class.

CertificateContract(String, String, DateTime, String, String, String, KeyVaultContractProperties)

Initializes a new instance of the CertificateContract class.

CertificateContract()

Initializes a new instance of the CertificateContract class.

public CertificateContract ();
Public Sub New ()

Applies to

CertificateContract(String, String, DateTime, String, String, String, KeyVaultContractProperties)

Initializes a new instance of the CertificateContract class.

public CertificateContract (string subject, string thumbprint, DateTime expirationDate, string id = default, string name = default, string type = default, Microsoft.Azure.Management.ApiManagement.Models.KeyVaultContractProperties keyVault = default);
new Microsoft.Azure.Management.ApiManagement.Models.CertificateContract : string * string * DateTime * string * string * string * Microsoft.Azure.Management.ApiManagement.Models.KeyVaultContractProperties -> Microsoft.Azure.Management.ApiManagement.Models.CertificateContract
Public Sub New (subject As String, thumbprint As String, expirationDate As DateTime, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional keyVault As KeyVaultContractProperties = Nothing)

Parameters

subject
String

Subject attribute of the certificate.

thumbprint
String

Thumbprint of the certificate.

expirationDate
DateTime

Expiration date of the certificate. The date conforms to the following format: yyyy-MM-ddTHH:mm:ssZ as specified by the ISO 8601 standard.

id
String

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

name
String

The name of the resource

type
String

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

keyVault
KeyVaultContractProperties

KeyVault location details of the certificate.

Applies to