ArmDataBoxEdgeModelFactory.GenerateCertResult Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.