Operation Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Details of a REST API operation, returned from the Resource Provider Operations API
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.FirmwareAnalysis.Models.OperationTypeConverter))]
public class Operation : Microsoft.Azure.PowerShell.Cmdlets.FirmwareAnalysis.Models.IOperation
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.FirmwareAnalysis.Models.OperationTypeConverter))>]
type Operation = class
interface IOperation
interface IJsonSerializable
Public Class Operation
Implements IOperation
- Inheritance
-
Operation
- Attributes
- Implements
Constructors
Operation() |
Creates an new Operation instance. |
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
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of Operation. |
DeserializeFromPSObject(PSObject) | |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.FirmwareAnalysis.Models.IOperation. |
FromJsonString(String) |
Creates a new instance of Operation, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) | |
ToJsonString() |
Serializes this instance to a json string. |
ToString() |