Sdílet prostřednictvím


ChaosKeyValuePair Class

Definition

A map to describe the settings of an action.

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

Constructors

ChaosKeyValuePair(String, String)

Initializes a new instance of ChaosKeyValuePair.

Properties

Key

The name of the setting for the action.

Value

The value of the setting for the action.

Explicit Interface Implementations

IJsonModel<ChaosKeyValuePair>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<ChaosKeyValuePair>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ChaosKeyValuePair>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ChaosKeyValuePair>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<ChaosKeyValuePair>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to