Udostępnij za pośrednictwem


RestorableCosmosDBAccountData Class

Definition

A class representing the RestorableCosmosDBAccount data model. A Azure Cosmos DB restorable database account.

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

Properties

AccountName

The name of the global database account.

ApiType

The API type of the restorable database account.

CreatedOn

The creation time of the restorable database account (ISO-8601 format).

DeletedOn

The time at which the restorable database account has been deleted (ISO-8601 format).

Id

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

(Inherited from ResourceData)
Location

The location of the resource group to which the resource belongs.

Name

The name of the resource.

(Inherited from ResourceData)
OldestRestorableOn

The least recent time at which the database account can be restored to (ISO-8601 format).

ResourceType

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

(Inherited from ResourceData)
RestorableLocations

List of regions where the of the database account can be restored from.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from ResourceData)

Explicit Interface Implementations

IJsonModel<RestorableCosmosDBAccountData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<RestorableCosmosDBAccountData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<RestorableCosmosDBAccountData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<RestorableCosmosDBAccountData>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<RestorableCosmosDBAccountData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to