CognitiveServicesAssignedIdentity Constructor

Definition

Initializes a new instance of CognitiveServicesAssignedIdentity.

public CognitiveServicesAssignedIdentity(Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesIdentityKind kind, Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesIdentityManagementType type, string clientId, string principalId, string tenantId);
new Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesAssignedIdentity : Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesIdentityKind * Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesIdentityManagementType * string * string * string -> Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesAssignedIdentity
Public Sub New (kind As CognitiveServicesIdentityKind, type As CognitiveServicesIdentityManagementType, clientId As String, principalId As String, tenantId As String)

Parameters

kind
CognitiveServicesIdentityKind

Specifies the kind of Entra identity described by this object.

type
CognitiveServicesIdentityManagementType

Enumeration of identity types, from the perspective of management.

clientId
String

The client ID of the identity.

principalId
String

The principal ID of the identity.

tenantId
String

The tenant ID of the identity.

Exceptions

clientId, principalId or tenantId is null.

Applies to