你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ManagedServiceIdentity 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
ManagedServiceIdentity() |
Initializes a new instance of the ManagedServiceIdentity class. |
ManagedServiceIdentity(String, Nullable<Guid>, Nullable<Guid>, IDictionary<String,UserAssignedIdentity>) |
Initializes a new instance of the ManagedServiceIdentity class. |
ManagedServiceIdentity()
Initializes a new instance of the ManagedServiceIdentity class.
public ManagedServiceIdentity ();
Public Sub New ()
Applies to
ManagedServiceIdentity(String, Nullable<Guid>, Nullable<Guid>, IDictionary<String,UserAssignedIdentity>)
Initializes a new instance of the ManagedServiceIdentity class.
public ManagedServiceIdentity (string type, Guid? principalId = default, Guid? tenantId = default, System.Collections.Generic.IDictionary<string,Microsoft.Azure.Management.NetApp.Models.UserAssignedIdentity> userAssignedIdentities = default);
new Microsoft.Azure.Management.NetApp.Models.ManagedServiceIdentity : string * Nullable<Guid> * Nullable<Guid> * System.Collections.Generic.IDictionary<string, Microsoft.Azure.Management.NetApp.Models.UserAssignedIdentity> -> Microsoft.Azure.Management.NetApp.Models.ManagedServiceIdentity
Public Sub New (type As String, Optional principalId As Nullable(Of Guid) = Nothing, Optional tenantId As Nullable(Of Guid) = Nothing, Optional userAssignedIdentities As IDictionary(Of String, UserAssignedIdentity) = Nothing)
Parameters
- type
- String
Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). Possible values include: 'None', 'SystemAssigned', 'UserAssigned', 'SystemAssigned,UserAssigned'
The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- userAssignedIdentities
- IDictionary<String,UserAssignedIdentity>
The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.