다음을 통해 공유


ApiManagementServiceIdentity Constructors

Definition

Overloads

ApiManagementServiceIdentity()

Initializes a new instance of the ApiManagementServiceIdentity class.

ApiManagementServiceIdentity(String, Nullable<Guid>, Nullable<Guid>, IDictionary<String,UserIdentityProperties>)

Initializes a new instance of the ApiManagementServiceIdentity class.

ApiManagementServiceIdentity()

Initializes a new instance of the ApiManagementServiceIdentity class.

public ApiManagementServiceIdentity ();
Public Sub New ()

Applies to

ApiManagementServiceIdentity(String, Nullable<Guid>, Nullable<Guid>, IDictionary<String,UserIdentityProperties>)

Initializes a new instance of the ApiManagementServiceIdentity class.

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

Parameters

type
String

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'

principalId
Nullable<Guid>

The principal id of the identity.

tenantId
Nullable<Guid>

The client tenant id of the identity.

userAssignedIdentities
IDictionary<String,UserIdentityProperties>

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