Class AuthType
- java.lang.Object
-
- com.azure.core.util.ExpandableStringEnum<AuthType>
-
- com.azure.resourcemanager.servicelinker.models.AuthType
-
public final class AuthType extends com.azure.core.util.ExpandableStringEnum<AuthType>
Defines values for AuthType.
-
-
Field Summary
Fields Modifier and Type Field Description static AuthType
SECRET
Static value secret for AuthType.static AuthType
SERVICE_PRINCIPAL_CERTIFICATE
Static value servicePrincipalCertificate for AuthType.static AuthType
SERVICE_PRINCIPAL_SECRET
Static value servicePrincipalSecret for AuthType.static AuthType
SYSTEM_ASSIGNED_IDENTITY
Static value systemAssignedIdentity for AuthType.static AuthType
USER_ASSIGNED_IDENTITY
Static value userAssignedIdentity for AuthType.
-
Constructor Summary
Constructors Constructor Description AuthType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AuthType
fromString(String name)
Creates or finds a AuthType from its string representation.static Collection<AuthType>
values()
Gets known AuthType values.
-
-
-
Field Detail
-
SYSTEM_ASSIGNED_IDENTITY
public static final AuthType SYSTEM_ASSIGNED_IDENTITY
Static value systemAssignedIdentity for AuthType.
-
USER_ASSIGNED_IDENTITY
public static final AuthType USER_ASSIGNED_IDENTITY
Static value userAssignedIdentity for AuthType.
-
SERVICE_PRINCIPAL_SECRET
public static final AuthType SERVICE_PRINCIPAL_SECRET
Static value servicePrincipalSecret for AuthType.
-
SERVICE_PRINCIPAL_CERTIFICATE
public static final AuthType SERVICE_PRINCIPAL_CERTIFICATE
Static value servicePrincipalCertificate for AuthType.
-
SECRET
public static final AuthType SECRET
Static value secret for AuthType.
-
-
Method Detail
-
fromString
public static AuthType fromString(String name)
Creates or finds a AuthType from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding AuthType.
-
values
public static Collection<AuthType> values()
Gets known AuthType values.- Returns:
- known AuthType values.
-
-