Compartilhar via


ArmCosmosDBModelFactory.RestorableCosmosDBAccountData Método

Definição

Inicializa uma nova instância de RestorableCosmosDBAccountData.

public static Azure.ResourceManager.CosmosDB.RestorableCosmosDBAccountData RestorableCosmosDBAccountData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.Core.AzureLocation? location = default, string accountName = default, DateTimeOffset? createdOn = default, DateTimeOffset? oldestRestorableOn = default, DateTimeOffset? deletedOn = default, Azure.ResourceManager.CosmosDB.Models.CosmosDBApiType? apiType = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.CosmosDB.Models.RestorableLocationResourceInfo> restorableLocations = default);
static member RestorableCosmosDBAccountData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.Core.AzureLocation> * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.CosmosDB.Models.CosmosDBApiType> * seq<Azure.ResourceManager.CosmosDB.Models.RestorableLocationResourceInfo> -> Azure.ResourceManager.CosmosDB.RestorableCosmosDBAccountData
Public Shared Function RestorableCosmosDBAccountData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional location As Nullable(Of AzureLocation) = Nothing, Optional accountName As String = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional oldestRestorableOn As Nullable(Of DateTimeOffset) = Nothing, Optional deletedOn As Nullable(Of DateTimeOffset) = Nothing, Optional apiType As Nullable(Of CosmosDBApiType) = Nothing, Optional restorableLocations As IEnumerable(Of RestorableLocationResourceInfo) = Nothing) As RestorableCosmosDBAccountData

Parâmetros

name
String

O nome.

resourceType
ResourceType

O resourceType.

systemData
SystemData

O systemData.

location
Nullable<AzureLocation>

O local do grupo de recursos ao qual o recurso pertence.

accountName
String

O nome da conta de banco de dados global.

createdOn
Nullable<DateTimeOffset>

A hora de criação da conta de banco de dados restaurável (formato ISO-8601).

oldestRestorableOn
Nullable<DateTimeOffset>

O momento menos recente em que a conta de banco de dados pode ser restaurada (formato ISO-8601).

deletedOn
Nullable<DateTimeOffset>

O momento em que a conta de banco de dados restaurável foi excluída (formato ISO-8601).

apiType
Nullable<CosmosDBApiType>

O tipo de API da conta de banco de dados restaurável.

restorableLocations
IEnumerable<RestorableLocationResourceInfo>

Lista de regiões das quais a da conta de banco de dados pode ser restaurada.

Retornos

Uma nova RestorableCosmosDBAccountData instância para zombar.

Aplica-se a