Class AdminKeyResultInner

java.lang.Object
com.azure.resourcemanager.search.fluent.models.AdminKeyResultInner

public final class AdminKeyResultInner extends Object
Response containing the primary and secondary admin API keys for a given Azure Cognitive Search service.
  • Constructor Details

    • AdminKeyResultInner

      public AdminKeyResultInner()
  • Method Details

    • primaryKey

      public String primaryKey()
      Get the primaryKey property: The primary admin API key of the search service.
      Returns:
      the primaryKey value.
    • secondaryKey

      public String secondaryKey()
      Get the secondaryKey property: The secondary admin API key of the search service.
      Returns:
      the secondaryKey value.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.