Operation Class

REST API Operation.

Constructor

Operation(*args: Any, **kwargs: Any)

Variables

Name Description
name
str

The name of the operation, as per Resource-Based Access Control (RBAC). Examples: "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action".

is_data_action

Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for Azure Resource Manager/control-plane operations.

display

Localized display information for this particular operation.

origin
str or Origin

The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system". Known values are: "user", "system", and "user,system".

action_type

Extensible enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. "Internal"

Attributes

action_type

Extensible enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. "Internal"

action_type: str | _models.ActionType | None

display

Localized display information for this particular operation.

display: _models.OperationDisplay | None

is_data_action

Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for Azure Resource Manager/control-plane operations.

is_data_action: bool | None

name

The name of the operation, as per Resource-Based Access Control (RBAC). Examples: "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action".

name: str | None

origin

The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system". Known values are: "user", "system", and "user,system".

origin: str | _models.Origin | None