你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Identity Constructors
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.
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.