Udostępnij za pośrednictwem


ArmDataBoxEdgeModelFactory.DataBoxEdgeDeviceSecret Method

Definition

Initializes a new instance of DataBoxEdgeDeviceSecret.

public static Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeDeviceSecret DataBoxEdgeDeviceSecret (Azure.ResourceManager.DataBoxEdge.Models.AsymmetricEncryptedSecret encryptedSecret = default, string keyVaultId = default);
static member DataBoxEdgeDeviceSecret : Azure.ResourceManager.DataBoxEdge.Models.AsymmetricEncryptedSecret * string -> Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeDeviceSecret
Public Shared Function DataBoxEdgeDeviceSecret (Optional encryptedSecret As AsymmetricEncryptedSecret = Nothing, Optional keyVaultId As String = Nothing) As DataBoxEdgeDeviceSecret

Parameters

encryptedSecret
AsymmetricEncryptedSecret

Encrypted (using device public key) secret value.

keyVaultId
String

Id of the Key-Vault where secret is stored (ex: secrets/AuthClientSecret/82ef4346187a4033a10d629cde07d740).

Returns

A new DataBoxEdgeDeviceSecret instance for mocking.

Applies to