AIServicesAccountKey Class
- java.
lang. Object - com.
azure. search. documents. indexes. models. CognitiveServicesAccount - com.
azure. search. documents. indexes. models. AIServicesAccountKey
- com.
- com.
public final class AIServicesAccountKey
extends CognitiveServicesAccount
The account key of an Azure AI service resource that's attached to a skillset, to be used with the resource's subdomain.
Constructor Summary
| Constructor | Description |
|---|---|
| AIServicesAccountKey(String key, 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 |
| String |
getKey()
Get the key property: The key used to provision the Azure AI service resource attached to a skillset. |
| 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. |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from CognitiveServicesAccount
Methods inherited from java.lang.Object
Constructor Details
AIServicesAccountKey
public AIServicesAccountKey(String key, String subdomainUrl)
Creates an instance of AIServicesAccountKey class.
Parameters:
Method Details
fromJson
public static AIServicesAccountKey fromJson(JsonReader jsonReader)
Reads an instance of AIServicesAccountKey from the JsonReader.
Parameters:
Returns:
Throws:
getKey
public String getKey()
Get the key property: The key used to provision the Azure AI service resource attached to a skillset.
Returns:
getOdataType
public String getOdataType()
Get the odataType property: The discriminator for derived types.
Overrides:
AIServicesAccountKey.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 AIServicesAccountKey setDescription(String description)
Set the description property: Description of the Azure AI service resource attached to a skillset.
Overrides:
AIServicesAccountKey.setDescription(String description)Parameters:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
AIServicesAccountKey.toJson(JsonWriter jsonWriter)Parameters:
Throws: