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 Summary
Modifier and TypeFieldDescriptionstatic final CosmosDbServicePrincipalCredentialType
Static value ServicePrincipalCert for CosmosDbServicePrincipalCredentialType.static final CosmosDbServicePrincipalCredentialType
Static value ServicePrincipalKey for CosmosDbServicePrincipalCredentialType. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfromString
(String name) Creates or finds a CosmosDbServicePrincipalCredentialType from its string representation.values()
Gets known CosmosDbServicePrincipalCredentialType values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
SERVICE_PRINCIPAL_KEY
Static value ServicePrincipalKey for CosmosDbServicePrincipalCredentialType. -
SERVICE_PRINCIPAL_CERT
Static value ServicePrincipalCert for CosmosDbServicePrincipalCredentialType.
-
-
Constructor Details
-
CosmosDbServicePrincipalCredentialType
public CosmosDbServicePrincipalCredentialType()
-
-
Method Details
-
fromString
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.
-