Compartir a través de


IOperation Interface

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Workloads.Models.Api30.OperationTypeConverter))]
public interface IOperation : Microsoft.Azure.PowerShell.Cmdlets.Workloads.Runtime.IJsonSerializable
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Workloads.Models.Api30.OperationTypeConverter))>]
type IOperation = interface
    interface IJsonSerializable
Public Interface IOperation
Implements IJsonSerializable
Derived
Attributes
Implements

Properties

ActionType

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

DisplayDescription

The short, localized friendly description of the operation; suitable for tool tips and detailed views.

DisplayOperation

The concise, localized friendly name for the operation; suitable for dropdowns. E.g. "Create or Update Virtual Machine", "Restart Virtual Machine".

DisplayProvider

The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring Insights" or "Microsoft Compute".

DisplayResource

The localized friendly name of the resource type related to this operation. E.g. "Virtual Machines" or "Job Schedule Collections".

IsDataAction

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

Name

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

Origin

The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system"

Methods

ToJson(JsonObject, SerializationMode) (Inherited from IJsonSerializable)

Applies to