Udostępnij przez


ArmNetAppModelFactory.ElasticEncryptionIdentity Method

Definition

Initializes a new instance of ElasticEncryptionIdentity.

public static Azure.ResourceManager.NetApp.Models.ElasticEncryptionIdentity ElasticEncryptionIdentity(string principalId = default, Azure.Core.ResourceIdentifier userAssignedIdentity = default);
static member ElasticEncryptionIdentity : string * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.NetApp.Models.ElasticEncryptionIdentity
Public Shared Function ElasticEncryptionIdentity (Optional principalId As String = Nothing, Optional userAssignedIdentity As ResourceIdentifier = Nothing) As ElasticEncryptionIdentity

Parameters

principalId
String

The principal ID (object ID) of the identity used to authenticate with key vault. Read-only.

userAssignedIdentity
ResourceIdentifier

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 ElasticEncryptionIdentity instance for mocking.

Applies to