Partager via


Operation interface

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

Properties

actionType

Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. NOTE: This property will not be serialized. It can only be populated by the server.

display

Localized display information for this particular operation.

isDataAction

Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for ARM/control-plane operations. NOTE: This property will not be serialized. It can only be populated by the server.

name

The name of the operation, as per Resource-Based Access Control (RBAC). Examples: "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action" NOTE: This property will not be serialized. It can only be populated by the server.

origin

The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system" NOTE: This property will not be serialized. It can only be populated by the server.

Property Details

actionType

Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. NOTE: This property will not be serialized. It can only be populated by the server.

actionType?: string

Property Value

string

display

Localized display information for this particular operation.

display?: OperationDisplay

Property Value

isDataAction

Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for ARM/control-plane operations. NOTE: This property will not be serialized. It can only be populated by the server.

isDataAction?: boolean

Property Value

boolean

name

The name of the operation, as per Resource-Based Access Control (RBAC). Examples: "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action" NOTE: This property will not be serialized. It can only be populated by the server.

name?: string

Property Value

string

origin

The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system" NOTE: This property will not be serialized. It can only be populated by the server.

origin?: string

Property Value

string