Compartilhar via


ArmCosmosDBModelFactory.RestorableLocationResourceInfo Method

Definition

Initializes a new instance of RestorableLocationResourceInfo.

public static Azure.ResourceManager.CosmosDB.Models.RestorableLocationResourceInfo RestorableLocationResourceInfo (Azure.Core.AzureLocation? locationName = default, string regionalDatabaseAccountInstanceId = default, DateTimeOffset? createdOn = default, DateTimeOffset? deletedOn = default);
static member RestorableLocationResourceInfo : Nullable<Azure.Core.AzureLocation> * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> -> Azure.ResourceManager.CosmosDB.Models.RestorableLocationResourceInfo
Public Shared Function RestorableLocationResourceInfo (Optional locationName As Nullable(Of AzureLocation) = Nothing, Optional regionalDatabaseAccountInstanceId As String = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional deletedOn As Nullable(Of DateTimeOffset) = Nothing) As RestorableLocationResourceInfo

Parameters

locationName
Nullable<AzureLocation>

The location of the regional restorable account.

regionalDatabaseAccountInstanceId
String

The instance id of the regional restorable account.

createdOn
Nullable<DateTimeOffset>

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

deletedOn
Nullable<DateTimeOffset>

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

Returns

A new RestorableLocationResourceInfo instance for mocking.

Applies to