Dela via


Operation Class

Definition

REST API Operation

public class Operation
type Operation = class
Public Class Operation
Inheritance
Operation

Remarks

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

Constructors

Operation()

Initializes a new instance of the Operation class.

Operation(String, Nullable<Boolean>, OperationDisplay, String, String)

Initializes a new instance of the Operation class.

Properties

ActionType

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

Display

Gets or sets localized display information for this particular operation.

IsDataAction

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

Name

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

Origin

Gets 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'

Applies to