Share via


OperationAutoGenerated Class

Definition

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

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api40.OperationAutoGeneratedTypeConverter))]
public class OperationAutoGenerated : Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api40.IOperationAutoGenerated
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api40.OperationAutoGeneratedTypeConverter))>]
type OperationAutoGenerated = class
    interface IOperationAutoGenerated
    interface IJsonSerializable
Public Class OperationAutoGenerated
Implements IOperationAutoGenerated
Inheritance
OperationAutoGenerated
Attributes
Implements

Constructors

OperationAutoGenerated()

Creates an new OperationAutoGenerated 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 OperationAutoGenerated.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of OperationAutoGenerated.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api40.IOperationAutoGenerated.

FromJsonString(String)

Creates a new instance of OperationAutoGenerated, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of OperationAutoGenerated into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to