Compartilhar via


Identity Constructors

Definition

Overloads

Identity()

Initializes a new instance of the Identity class.

Identity(String, String, String, IDictionary<String,UserAssignedIdentity>)

Initializes a new instance of the Identity class.

Identity()

Initializes a new instance of the Identity class.

public Identity ();
Public Sub New ()

Applies to

Identity(String, String, String, IDictionary<String,UserAssignedIdentity>)

Initializes a new instance of the Identity class.

public Identity (string type, string principalId = default, string tenantId = default, System.Collections.Generic.IDictionary<string,Microsoft.Azure.PowerShell.Cmdlets.Compute.Helpers.Storage.Models.UserAssignedIdentity> userAssignedIdentities = default);
new Microsoft.Azure.PowerShell.Cmdlets.Compute.Helpers.Storage.Models.Identity : string * string * string * System.Collections.Generic.IDictionary<string, Microsoft.Azure.PowerShell.Cmdlets.Compute.Helpers.Storage.Models.UserAssignedIdentity> -> Microsoft.Azure.PowerShell.Cmdlets.Compute.Helpers.Storage.Models.Identity
Public Sub New (type As String, Optional principalId As String = Nothing, Optional tenantId As String = Nothing, Optional userAssignedIdentities As IDictionary(Of String, UserAssignedIdentity) = Nothing)

Parameters

type
String

The identity type. Possible values include: 'None', 'SystemAssigned', 'UserAssigned', 'SystemAssigned,UserAssigned'

principalId
String

The principal ID of resource identity.

tenantId
String

The tenant ID of resource.

userAssignedIdentities
IDictionary<String,UserAssignedIdentity>

Gets or sets a list of key value pairs that describe the set of User Assigned identities that will be used with this storage account. The key is the ARM resource identifier of the identity. Only 1 User Assigned identity is permitted here.

Applies to