Delen via


ArmDataBoxEdgeModelFactory.GenerateCertResult Method

Definition

Initializes a new instance of GenerateCertResult.

public static Azure.ResourceManager.DataBoxEdge.Models.GenerateCertResult GenerateCertResult (string publicKey = default, string privateKey = default, DateTimeOffset? expireOn = default);
static member GenerateCertResult : string * string * Nullable<DateTimeOffset> -> Azure.ResourceManager.DataBoxEdge.Models.GenerateCertResult
Public Shared Function GenerateCertResult (Optional publicKey As String = Nothing, Optional privateKey As String = Nothing, Optional expireOn As Nullable(Of DateTimeOffset) = Nothing) As GenerateCertResult

Parameters

publicKey
String

Gets or sets base64 encoded certificate raw data, this is the public part needed to be uploaded to cert vault

privateKey
String

Gets or sets base64 encoded private part of the certificate, needed to form the activation key

expireOn
Nullable<DateTimeOffset>

Gets or sets expiry time in UTC.

Returns

A new GenerateCertResult instance for mocking.

Applies to