Udostępnij za pośrednictwem


ArmEventGridModelFactory.CaCertificateData Method

Definition

Initializes a new instance of CaCertificateData.

public static Azure.ResourceManager.EventGrid.CaCertificateData CaCertificateData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string description = default, string encodedCertificate = default, DateTimeOffset? issueTimeInUtc = default, DateTimeOffset? expiryTimeInUtc = default, Azure.ResourceManager.EventGrid.Models.CaCertificateProvisioningState? provisioningState = default);
static member CaCertificateData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.EventGrid.Models.CaCertificateProvisioningState> -> Azure.ResourceManager.EventGrid.CaCertificateData
Public Shared Function CaCertificateData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional description As String = Nothing, Optional encodedCertificate As String = Nothing, Optional issueTimeInUtc As Nullable(Of DateTimeOffset) = Nothing, Optional expiryTimeInUtc As Nullable(Of DateTimeOffset) = Nothing, Optional provisioningState As Nullable(Of CaCertificateProvisioningState) = Nothing) As CaCertificateData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

description
String

Description for the CA Certificate resource.

encodedCertificate
String

Base64 encoded PEM (Privacy Enhanced Mail) format certificate data.

issueTimeInUtc
Nullable<DateTimeOffset>

Certificate issue time in UTC. This is a read-only field.

expiryTimeInUtc
Nullable<DateTimeOffset>

Certificate expiry time in UTC. This is a read-only field.

provisioningState
Nullable<CaCertificateProvisioningState>

Provisioning state of the CA Certificate resource.

Returns

A new CaCertificateData instance for mocking.

Applies to