Operation Class

Details of a REST API operation, returned from the Resource Provider Operations API.

Variables are only populated by the server, and will be ignored when sending a request.

Inheritance
azure.mgmt.resource.subscriptions._serialization.Model
Operation

Constructor

Operation(*, display: _models.OperationDisplay | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
display

Localized display information for this particular operation.

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 ARM/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

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