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
Operation

Constructor

Operation(*, display: Optional[azure.mgmt.agrifood.models._models_py3.OperationDisplay] = None, **kwargs)

Parameters

display
OperationDisplay
Required

Localized display information for this particular operation.

Variables

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
bool

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

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". Possible values include: "user", "system", "user,system".

action_type
str or ActionType

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