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, Nullable<ResourceIdentityType>, IDictionary<String,IdentityUserAssignedIdentitiesValue>) |
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, Nullable<ResourceIdentityType>, IDictionary<String,IdentityUserAssignedIdentitiesValue>)
Initializes a new instance of the Identity class.
public Identity (string principalId = default, string tenantId = default, Microsoft.Azure.Management.Automation.Models.ResourceIdentityType? type = default, System.Collections.Generic.IDictionary<string,Microsoft.Azure.Management.Automation.Models.IdentityUserAssignedIdentitiesValue> userAssignedIdentities = default);
new Microsoft.Azure.Management.Automation.Models.Identity : string * string * Nullable<Microsoft.Azure.Management.Automation.Models.ResourceIdentityType> * System.Collections.Generic.IDictionary<string, Microsoft.Azure.Management.Automation.Models.IdentityUserAssignedIdentitiesValue> -> Microsoft.Azure.Management.Automation.Models.Identity
Public Sub New (Optional principalId As String = Nothing, Optional tenantId As String = Nothing, Optional type As Nullable(Of ResourceIdentityType) = Nothing, Optional userAssignedIdentities As IDictionary(Of String, IdentityUserAssignedIdentitiesValue) = Nothing)
Parameters
- principalId
- String
The principal ID of resource identity.
- tenantId
- String
The tenant ID of resource.
- type
- Nullable<ResourceIdentityType>
The identity type. Possible values include: 'SystemAssigned', 'UserAssigned', 'SystemAssigned, UserAssigned', 'None'
- userAssignedIdentities
- IDictionary<String,IdentityUserAssignedIdentitiesValue>
The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
Applies to
Azure SDK for .NET
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk