Class CosmosDbServicePrincipalCredentialType

java.lang.Object
com.azure.core.util.ExpandableStringEnum<CosmosDbServicePrincipalCredentialType>
com.azure.resourcemanager.datafactory.models.CosmosDbServicePrincipalCredentialType

public final class CosmosDbServicePrincipalCredentialType extends com.azure.core.util.ExpandableStringEnum<CosmosDbServicePrincipalCredentialType>
The service principal credential type to use in Server-To-Server authentication. 'ServicePrincipalKey' for key/secret, 'ServicePrincipalCert' for certificate. Type: string (or Expression with resultType string).
  • Field Details

  • Constructor Details

    • CosmosDbServicePrincipalCredentialType

      public CosmosDbServicePrincipalCredentialType()
  • Method Details

    • fromString

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

      Gets known CosmosDbServicePrincipalCredentialType values.
      Returns:
      known CosmosDbServicePrincipalCredentialType values.