ConnectionAuthType Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. machinelearning. models. ConnectionAuthType
- com.
- com.
public final class ConnectionAuthType
extends ExpandableStringEnum<ConnectionAuthType>
Authentication type of the connection target.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Connection |
AAD
Static value AAD for Connection |
|
static final
Connection |
ACCESS_KEY
Static value Access |
|
static final
Connection |
ACCOUNT_KEY
Static value Account |
|
static final
Connection |
API_KEY
Static value Api |
|
static final
Connection |
CUSTOM_KEYS
Static value Custom |
|
static final
Connection |
MANAGED_IDENTITY
Static value Managed |
|
static final
Connection |
NONE
Static value None for Connection |
|
static final
Connection |
OAUTH2
Static value OAuth2 for Connection |
|
static final
Connection |
PAT
Static value PAT for Connection |
|
static final
Connection |
SAS
Static value SAS for Connection |
|
static final
Connection |
SERVICE_PRINCIPAL
Static value Service |
|
static final
Connection |
USERNAME_PASSWORD
Static value Username |
Constructor Summary
| Constructor | Description |
|---|---|
| ConnectionAuthType() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Connection |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Connection |
fromString(String name)
Creates or finds a Connection |
|
static
Collection<Connection |
values()
Gets known Connection |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
AAD
public static final ConnectionAuthType AAD
Static value AAD for ConnectionAuthType.
ACCESS_KEY
public static final ConnectionAuthType ACCESS_KEY
Static value AccessKey for ConnectionAuthType.
ACCOUNT_KEY
public static final ConnectionAuthType ACCOUNT_KEY
Static value AccountKey for ConnectionAuthType.
API_KEY
public static final ConnectionAuthType API_KEY
Static value ApiKey for ConnectionAuthType.
CUSTOM_KEYS
public static final ConnectionAuthType CUSTOM_KEYS
Static value CustomKeys for ConnectionAuthType.
MANAGED_IDENTITY
public static final ConnectionAuthType MANAGED_IDENTITY
Static value ManagedIdentity for ConnectionAuthType.
NONE
public static final ConnectionAuthType NONE
Static value None for ConnectionAuthType.
OAUTH2
public static final ConnectionAuthType OAUTH2
Static value OAuth2 for ConnectionAuthType.
PAT
public static final ConnectionAuthType PAT
Static value PAT for ConnectionAuthType.
SAS
public static final ConnectionAuthType SAS
Static value SAS for ConnectionAuthType.
SERVICE_PRINCIPAL
public static final ConnectionAuthType SERVICE_PRINCIPAL
Static value ServicePrincipal for ConnectionAuthType.
USERNAME_PASSWORD
public static final ConnectionAuthType USERNAME_PASSWORD
Static value UsernamePassword for ConnectionAuthType.
Constructor Details
ConnectionAuthType
@Deprecated
public ConnectionAuthType()
Deprecated
Creates a new instance of ConnectionAuthType value.
Method Details
fromString
public static ConnectionAuthType fromString(String name)
Creates or finds a ConnectionAuthType from its string representation.
Parameters:
Returns:
values
public static Collection<ConnectionAuthType> values()
Gets known ConnectionAuthType values.
Returns: