AdminKeyResultInner Class
- java.
lang. Object - com.
azure. resourcemanager. search. fluent. models. AdminKeyResultInner
- com.
Implements
public final class AdminKeyResultInner
implements JsonSerializable<AdminKeyResultInner>
Response containing the primary and secondary admin API keys for a given Azure AI Search service.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Admin |
fromJson(JsonReader jsonReader)
Reads an instance of Admin |
| String |
primaryKey()
Get the primary |
| String |
secondaryKey()
Get the secondary |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Method Details
fromJson
public static AdminKeyResultInner fromJson(JsonReader jsonReader)
Reads an instance of AdminKeyResultInner from the JsonReader.
Parameters:
Returns:
Throws:
primaryKey
public String primaryKey()
Get the primaryKey property: The primary admin API key of the search service.
Returns:
secondaryKey
public String secondaryKey()
Get the secondaryKey property: The secondary admin API key of the search service.
Returns:
toJson
validate
public void validate()
Validates the instance.