Dela via


ArmApiManagementModelFactory.ApiManagementCertificateData Method

Definition

Initializes a new instance of ApiManagementCertificateData.

public static Azure.ResourceManager.ApiManagement.ApiManagementCertificateData ApiManagementCertificateData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string subject = default, string thumbprint = default, DateTimeOffset? expireOn = default, Azure.ResourceManager.ApiManagement.Models.KeyVaultContractProperties keyVaultDetails = default);
static member ApiManagementCertificateData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * string * Nullable<DateTimeOffset> * Azure.ResourceManager.ApiManagement.Models.KeyVaultContractProperties -> Azure.ResourceManager.ApiManagement.ApiManagementCertificateData
Public Shared Function ApiManagementCertificateData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional subject As String = Nothing, Optional thumbprint As String = Nothing, Optional expireOn As Nullable(Of DateTimeOffset) = Nothing, Optional keyVaultDetails As KeyVaultContractProperties = Nothing) As ApiManagementCertificateData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

subject
String

Subject attribute of the certificate.

thumbprint
String

Thumbprint of the certificate.

expireOn
Nullable<DateTimeOffset>

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

keyVaultDetails
KeyVaultContractProperties

KeyVault location details of the certificate.

Returns

A new ApiManagementCertificateData instance for mocking.

Applies to