다음을 통해 공유


PureStorageSoftDeletionState Class

Definition

Soft-deletion state.

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

Constructors

PureStorageSoftDeletionState(Boolean)

Initializes a new instance of PureStorageSoftDeletionState.

Properties

EradicatedOn

Date at which the resource will be eradicated and impossible to recover, as an RFC 3339 timestamp; invalid if destroyed is false;.

IsDestroyed

If false, the resource is active; if true, the resource has been destroyed; resources can be soft-deleted by setting destroyed to true, and recovered by setting it to false.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<PureStorageSoftDeletionState>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<PureStorageSoftDeletionState>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<PureStorageSoftDeletionState>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<PureStorageSoftDeletionState>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<PureStorageSoftDeletionState>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to