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
Modifier and TypeFieldDescriptionstatic final ResourceAuthorIdentityType
Static value Application for ResourceAuthorIdentityType, represents an AAD application.static final ResourceAuthorIdentityType
Static value Key for ResourceAuthorIdentityType.static final ResourceAuthorIdentityType
Static value ManagedIdentity for ResourceAuthorIdentityType, represents a Managed Identity.static final ResourceAuthorIdentityType
Static value User for ResourceAuthorIdentityType, represents an AAD user. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ResourceAuthorIdentityType
fromString
(String name) Creates or finds a ResourceAuthorIdentityType from its string representation.static Collection<ResourceAuthorIdentityType>
values()
Gets the known 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 ofResourceAuthorIdentityType
without aExpandableStringEnum.toString()
value.This constructor shouldn't be called as it will produce a
ResourceAuthorIdentityType
which 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
Gets the known ResourceAuthorIdentityType values.- Returns:
- known ResourceAuthorIdentityType values.
-
ExpandableStringEnum.fromString(String, Class)
factory method.