Sdílet prostřednictvím


AIServicesAccountIdentity(SearchIndexerDataIdentity, String) Constructor

Definition

Initializes a new instance of AIServicesAccountIdentity.

public AIServicesAccountIdentity (Azure.Search.Documents.Indexes.Models.SearchIndexerDataIdentity identity, string subdomainUrl);
new Azure.Search.Documents.Indexes.Models.AIServicesAccountIdentity : Azure.Search.Documents.Indexes.Models.SearchIndexerDataIdentity * string -> Azure.Search.Documents.Indexes.Models.AIServicesAccountIdentity
Public Sub New (identity As SearchIndexerDataIdentity, subdomainUrl As String)

Parameters

identity
SearchIndexerDataIdentity

The user-assigned managed identity used for connections to AI Service. If not specified, the system-assigned managed identity is used. On updates to the skillset, if the identity is unspecified, the value remains unchanged. If set to "none", the value of this property is cleared. Please note SearchIndexerDataIdentity is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include SearchIndexerDataNoneIdentity and SearchIndexerDataUserAssignedIdentity.

subdomainUrl
String

The subdomain url for the corresponding AI Service.

Exceptions

subdomainUrl is null.

Applies to