Share via


ArmNetAppModelFactory.NetAppEncryptionIdentity(String, String) Method

Definition

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