Language

ChaosFaultData Class

Definition

A request object to enable/disable the chaos fault.

public class ChaosFaultData : Azure.ResourceManager.Models.ResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.CosmosDB.ChaosFaultData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.CosmosDB.ChaosFaultData>
type ChaosFaultData = class
    inherit ResourceData
    interface IJsonModel<ChaosFaultData>
    interface IPersistableModel<ChaosFaultData>
Public Class ChaosFaultData
Inherits ResourceData
Implements IJsonModel(Of ChaosFaultData), IPersistableModel(Of ChaosFaultData)
Inheritance
ChaosFaultData
Implements

Constructors

Name Description
ChaosFaultData()

Initializes a new instance of ChaosFaultData.

Properties

Name Description
Action

Indicates whether what action to take for the Chaos Fault.

ContainerName

Container name.

DatabaseName

Database name.

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

(Inherited from ResourceData)
Name

The name of the resource.

(Inherited from ResourceData)
ProvisioningState

A provisioning state of the Chaos Fault.

Region

Region of the account where the Chaos Fault is to be enabled/disabled.

ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

(Inherited from ResourceData)
SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)

Methods

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

Explicit Interface Implementations

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

Applies to