ArmDataBoxEdgeModelFactory.DataBoxEdgeDeviceSecret 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 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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET