Share via


Operation Class

Definition

The Connected cluster API operation

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.Api20221001Preview.OperationTypeConverter))]
public class Operation : Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.Api20221001Preview.IOperation
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.Api20221001Preview.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

DisplayDescription

Description of the operation.

DisplayOperation

Operation type: Read, write, delete, etc.

DisplayProvider

Service provider: Microsoft.connectedClusters

DisplayResource

Connected Cluster Resource on which the operation is performed

Name

Operation name: {Microsoft.Kubernetes}/{resource}/{operation}

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of Operation.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of Operation.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.Api20221001Preview.IOperation.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of Operation into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to