Origin Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. servicenetworking. models. Origin
- com.
- com.
public final class Origin
extends ExpandableStringEnum<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
| Modifier and Type | Field and Description |
|---|---|
| static final Origin |
SYSTEM
Indicates the operation is initiated by a system. |
| static final Origin |
USER
Indicates the operation is initiated by a user. |
| static final Origin |
USER_SYSTEM
Indicates the operation is initiated by a user or system. |
Constructor Summary
| Constructor | Description |
|---|---|
| Origin() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Origin value. |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| static Origin |
fromString(String name)
Creates or finds a Origin from its string representation. |
| static Collection<Origin> |
values()
Gets known Origin values. |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
SYSTEM
public static final Origin SYSTEM
Indicates the operation is initiated by a system.
USER
public static final Origin USER
Indicates the operation is initiated by a user.
USER_SYSTEM
public static final Origin USER_SYSTEM
Indicates the operation is initiated by a user or system.
Constructor Details
Origin
@Deprecated
public Origin()
Deprecated
Creates a new instance of Origin value.
Method Details
fromString
public static Origin fromString(String name)
Creates or finds a Origin from its string representation.
Parameters:
Returns:
values
public static Collection<Origin> values()
Gets known Origin values.
Returns: