AIServicesAccountIdentity Class
- java.
lang. Object - com.
azure. search. documents. indexes. models. CognitiveServicesAccount - com.
azure. search. documents. indexes. models. AIServicesAccountIdentity
- com.
- com.
public final class AIServicesAccountIdentity
extends CognitiveServicesAccount
The multi-region account of an Azure AI service resource that's attached to a skillset.
Constructor Summary
| Constructor | Description |
|---|---|
| AIServicesAccountIdentity(String subdomainUrl) |
Creates an instance of AIServices |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
AIServices |
fromJson(JsonReader jsonReader)
Reads an instance of AIServices |
|
Search |
getIdentity()
Get the identity property: The user-assigned managed identity used for connections to AI Service. |
| String |
getOdataType()
Get the odata |
| String |
getSubdomainUrl()
Get the subdomain |
|
AIServices |
setDescription(String description)
Set the description property: Description of the Azure AI service resource attached to a skillset. |
|
AIServices |
setIdentity(SearchIndexerDataIdentity identity)
Set the identity property: The user-assigned managed identity used for connections to AI Service. |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from CognitiveServicesAccount
Methods inherited from java.lang.Object
Constructor Details
AIServicesAccountIdentity
public AIServicesAccountIdentity(String subdomainUrl)
Creates an instance of AIServicesAccountIdentity class.
Parameters:
Method Details
fromJson
public static AIServicesAccountIdentity fromJson(JsonReader jsonReader)
Reads an instance of AIServicesAccountIdentity from the JsonReader.
Parameters:
Returns:
Throws:
getIdentity
public SearchIndexerDataIdentity getIdentity()
Get the identity property: 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.
Returns:
getOdataType
public String getOdataType()
Get the odataType property: The discriminator for derived types.
Overrides:
AIServicesAccountIdentity.getOdataType()Returns:
getSubdomainUrl
public String getSubdomainUrl()
Get the subdomainUrl property: The subdomain/Azure AI Services endpoint url for the corresponding AI Service.
Returns:
setDescription
public AIServicesAccountIdentity setDescription(String description)
Set the description property: Description of the Azure AI service resource attached to a skillset.
Overrides:
AIServicesAccountIdentity.setDescription(String description)Parameters:
setIdentity
public AIServicesAccountIdentity setIdentity(SearchIndexerDataIdentity identity)
Set the identity property: 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.
Parameters:
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
AIServicesAccountIdentity.toJson(JsonWriter jsonWriter)Parameters:
Throws: