ArmNetAppModelFactory.NetAppEncryptionIdentity(String, String) 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 NetAppEncryptionIdentity.
public static Azure.ResourceManager.NetApp.Models.NetAppEncryptionIdentity NetAppEncryptionIdentity (string principalId = default, string userAssignedIdentity = default);
static member NetAppEncryptionIdentity : string * string -> Azure.ResourceManager.NetApp.Models.NetAppEncryptionIdentity
Public Shared Function NetAppEncryptionIdentity (Optional principalId As String = Nothing, Optional userAssignedIdentity As String = Nothing) As NetAppEncryptionIdentity
Parameters
- principalId
- String
The principal ID (object ID) of the identity used to authenticate with key vault. Read-only.
- userAssignedIdentity
- String
The ARM resource identifier of the user assigned identity used to authenticate with key vault. Applicable if identity.type has 'UserAssigned'. It should match key of identity.userAssignedIdentities.
Returns
A new NetAppEncryptionIdentity instance for mocking.
Applies to
Azure SDK for .NET