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.cognitiveservices._serialization.ModelOperation
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
|
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
|
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
|
str or
ActionType
Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. "Internal" |
Azure SDK for Python