Megosztás a következőn keresztül:


ArmSphereModelFactory.SphereCertificateProperties Method

Definition

Initializes a new instance of SphereCertificateProperties.

public static Azure.ResourceManager.Sphere.Models.SphereCertificateProperties SphereCertificateProperties (string certificate = default, Azure.ResourceManager.Sphere.Models.SphereCertificateStatus? status = default, string subject = default, string thumbprint = default, DateTimeOffset? expiryUtc = default, DateTimeOffset? notBeforeUtc = default, Azure.ResourceManager.Sphere.Models.SphereProvisioningState? provisioningState = default);
static member SphereCertificateProperties : string * Nullable<Azure.ResourceManager.Sphere.Models.SphereCertificateStatus> * string * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.Sphere.Models.SphereProvisioningState> -> Azure.ResourceManager.Sphere.Models.SphereCertificateProperties
Public Shared Function SphereCertificateProperties (Optional certificate As String = Nothing, Optional status As Nullable(Of SphereCertificateStatus) = Nothing, Optional subject As String = Nothing, Optional thumbprint As String = Nothing, Optional expiryUtc As Nullable(Of DateTimeOffset) = Nothing, Optional notBeforeUtc As Nullable(Of DateTimeOffset) = Nothing, Optional provisioningState As Nullable(Of SphereProvisioningState) = Nothing) As SphereCertificateProperties

Parameters

certificate
String

The certificate as a UTF-8 encoded base 64 string.

status
Nullable<SphereCertificateStatus>

The certificate status.

subject
String

The certificate subject.

thumbprint
String

The certificate thumbprint.

expiryUtc
Nullable<DateTimeOffset>

The certificate expiry date.

notBeforeUtc
Nullable<DateTimeOffset>

The certificate not before date.

provisioningState
Nullable<SphereProvisioningState>

The status of the last operation.

Returns

A new SphereCertificateProperties instance for mocking.

Applies to