Share via


ManagedServiceIdentity Constructors

Definition

Overloads

ManagedServiceIdentity()

Initializes a new instance of the ManagedServiceIdentity class.

ManagedServiceIdentity(String, String, Nullable<ResourceIdentityType>, IDictionary<String,ManagedServiceIdentityUserAssignedIdentitiesValue>)

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, String, Nullable<ResourceIdentityType>, IDictionary<String,ManagedServiceIdentityUserAssignedIdentitiesValue>)

Initializes a new instance of the ManagedServiceIdentity class.

public ManagedServiceIdentity (string principalId = default, string tenantId = default, Microsoft.Azure.Management.CosmosDB.Models.ResourceIdentityType? type = default, System.Collections.Generic.IDictionary<string,Microsoft.Azure.Management.CosmosDB.Models.ManagedServiceIdentityUserAssignedIdentitiesValue> userAssignedIdentities = default);
new Microsoft.Azure.Management.CosmosDB.Models.ManagedServiceIdentity : string * string * Nullable<Microsoft.Azure.Management.CosmosDB.Models.ResourceIdentityType> * System.Collections.Generic.IDictionary<string, Microsoft.Azure.Management.CosmosDB.Models.ManagedServiceIdentityUserAssignedIdentitiesValue> -> Microsoft.Azure.Management.CosmosDB.Models.ManagedServiceIdentity
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, ManagedServiceIdentityUserAssignedIdentitiesValue) = Nothing)

Parameters

principalId
String

The principal id of the system assigned identity. This property will only be provided for a system assigned identity.

tenantId
String

The tenant id of the system assigned identity. This property will only be provided for a system assigned identity.

type
Nullable<ResourceIdentityType>

The type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service. Possible values include: 'SystemAssigned', 'UserAssigned', 'SystemAssigned,UserAssigned', 'None'

userAssignedIdentities
IDictionary<String,ManagedServiceIdentityUserAssignedIdentitiesValue>

The list of user identities associated with 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