Sprog

LocalizedOperationDefinition Class

Definition

The LocalizedOperationDefinition.

public class LocalizedOperationDefinition : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ProviderHub.Models.LocalizedOperationDefinition>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ProviderHub.Models.LocalizedOperationDefinition>
type LocalizedOperationDefinition = class
    interface IJsonModel<LocalizedOperationDefinition>
    interface IPersistableModel<LocalizedOperationDefinition>
Public Class LocalizedOperationDefinition
Implements IJsonModel(Of LocalizedOperationDefinition), IPersistableModel(Of LocalizedOperationDefinition)
Inheritance
LocalizedOperationDefinition
Implements

Constructors

Name Description
LocalizedOperationDefinition(String, LocalizedOperationDisplayDefinition)

Initializes a new instance of LocalizedOperationDefinition.

Properties

Name Description
ActionType

The action type.

Display

Display information of the operation.

IsDataAction

Indicates whether the operation applies to data-plane.

Name

Name of the operation.

Origin

The origin.

Properties

Anything

To assign an object to this property use FromObjectAsJson<T>(T, JsonSerializerOptions).

To assign an already formatted json string to this property use FromString(String).

Examples:

  • BinaryData.FromObjectAsJson("foo"). : Creates a payload of "foo".
  • BinaryData.FromString("\"foo\""). : Creates a payload of "foo".
  • BinaryData.FromObjectAsJson(new { key = "value" }). : Creates a payload of { "key": "value" }.
  • BinaryData.FromString("{\"key\": \"value\"}"). : Creates a payload of { "key": "value" }.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<LocalizedOperationDefinition>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<LocalizedOperationDefinition>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<LocalizedOperationDefinition>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<LocalizedOperationDefinition>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<LocalizedOperationDefinition>.Write(ModelReaderWriterOptions)

Applies to