Package com.azure.core.management
Class ResourceAuthorIdentityType
java.lang.Object
com.azure.core.util.ExpandableStringEnum<ResourceAuthorIdentityType>
com.azure.core.management.ResourceAuthorIdentityType
public final class ResourceAuthorIdentityType
extends ExpandableStringEnum<ResourceAuthorIdentityType>
Defines values for identity type of resource author.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ResourceAuthorIdentityTypeStatic value Application for ResourceAuthorIdentityType, represents an AAD application.static final ResourceAuthorIdentityTypeStatic value Key for ResourceAuthorIdentityType.static final ResourceAuthorIdentityTypeStatic value ManagedIdentity for ResourceAuthorIdentityType, represents a Managed Identity.static final ResourceAuthorIdentityTypeStatic value User for ResourceAuthorIdentityType, represents an AAD user. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ResourceAuthorIdentityTypefromString(String name) Creates or finds a ResourceAuthorIdentityType from its string representation.static Collection<ResourceAuthorIdentityType>values()Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
USER
Static value User for ResourceAuthorIdentityType, represents an AAD user. -
APPLICATION
Static value Application for ResourceAuthorIdentityType, represents an AAD application. -
MANAGED_IDENTITY
Static value ManagedIdentity for ResourceAuthorIdentityType, represents a Managed Identity. -
KEY
Static value Key for ResourceAuthorIdentityType.
-
-
Constructor Details
-
ResourceAuthorIdentityType
Deprecated.Use one of the constants or theExpandableStringEnum.fromString(String, Class)factory method.Creates a new instance ofResourceAuthorIdentityTypewithout aExpandableStringEnum.toString()value.This constructor shouldn't be called as it will produce a
ResourceAuthorIdentityTypewhich doesn't have a String enum value.
-
-
Method Details
-
fromString
Creates or finds a ResourceAuthorIdentityType from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding ResourceAuthorIdentityType.
-
values
- Returns:
- known ResourceAuthorIdentityType values.
-
ExpandableStringEnum.fromString(String, Class)factory method.