Class Origin
java.lang.Object
com.azure.core.util.ExpandableStringEnum<Origin>
com.azure.resourcemanager.deviceregistry.models.Origin
The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value
is "user,system".
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Origin
fromString
(String name) Creates or finds a Origin from its string representation.static Collection<Origin>
values()
Gets known Origin values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
USER
Static value user for Origin. -
SYSTEM
Static value system for Origin. -
USER_SYSTEM
Static value user,system for Origin.
-
-
Constructor Details
-
Origin
Deprecated.Use thefromString(String)
factory method.Creates a new instance of Origin value.
-
-
Method Details
-
fromString
Creates or finds a Origin from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding Origin.
-
values
Gets known Origin values.- Returns:
- known Origin values.
-
fromString(String)
factory method.