java.lang.Object
com.azure.core.util.ExpandableStringEnum<KeySource>
com.azure.resourcemanager.cognitiveservices.models.KeySource

public final class KeySource extends com.azure.core.util.ExpandableStringEnum<KeySource>
Defines values for KeySource.
  • Field Details

    • MICROSOFT_COGNITIVE_SERVICES

      public static final KeySource MICROSOFT_COGNITIVE_SERVICES
      Static value Microsoft.CognitiveServices for KeySource.
    • MICROSOFT_KEY_VAULT

      public static final KeySource MICROSOFT_KEY_VAULT
      Static value Microsoft.KeyVault for KeySource.
  • Constructor Details

    • KeySource

      public KeySource()
  • Method Details

    • fromString

      public static KeySource fromString(String name)
      Creates or finds a KeySource from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding KeySource.
    • values

      public static Collection<KeySource> values()
      Gets known KeySource values.
      Returns:
      known KeySource values.