Compartilhar via


ArmCosmosDBModelFactory.RestorableSqlDatabasePropertiesResourceDatabase Method

Definition

Overloads

RestorableSqlDatabasePropertiesResourceDatabase(String, String, String, String, String, Nullable<Single>, Nullable<ETag>)
RestorableSqlDatabasePropertiesResourceDatabase(String, ResourceRestoreParameters, Nullable<CosmosDBAccountCreateMode>, String, String, String, String, Nullable<Single>, Nullable<ETag>)

Initializes a new instance of RestorableSqlDatabasePropertiesResourceDatabase.

RestorableSqlDatabasePropertiesResourceDatabase(String, String, String, String, String, Nullable<Single>, Nullable<ETag>)

Source:
ArmCosmosDBModelFactory.cs
public static Azure.ResourceManager.CosmosDB.Models.RestorableSqlDatabasePropertiesResourceDatabase RestorableSqlDatabasePropertiesResourceDatabase (string databaseName = default, string colls = default, string users = default, string self = default, string rid = default, float? timestamp = default, Azure.ETag? etag = default);
static member RestorableSqlDatabasePropertiesResourceDatabase : string * string * string * string * string * Nullable<single> * Nullable<Azure.ETag> -> Azure.ResourceManager.CosmosDB.Models.RestorableSqlDatabasePropertiesResourceDatabase
Public Shared Function RestorableSqlDatabasePropertiesResourceDatabase (Optional databaseName As String = Nothing, Optional colls As String = Nothing, Optional users As String = Nothing, Optional self As String = Nothing, Optional rid As String = Nothing, Optional timestamp As Nullable(Of Single) = Nothing, Optional etag As Nullable(Of ETag) = Nothing) As RestorableSqlDatabasePropertiesResourceDatabase

Parameters

databaseName
String
colls
String
users
String
self
String
rid
String
timestamp
Nullable<Single>
etag
Nullable<ETag>

Returns

Applies to

RestorableSqlDatabasePropertiesResourceDatabase(String, ResourceRestoreParameters, Nullable<CosmosDBAccountCreateMode>, String, String, String, String, Nullable<Single>, Nullable<ETag>)

Source:
ArmCosmosDBModelFactory.cs

Initializes a new instance of RestorableSqlDatabasePropertiesResourceDatabase.

public static Azure.ResourceManager.CosmosDB.Models.RestorableSqlDatabasePropertiesResourceDatabase RestorableSqlDatabasePropertiesResourceDatabase (string databaseName = default, Azure.ResourceManager.CosmosDB.Models.ResourceRestoreParameters restoreParameters = default, Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountCreateMode? createMode = default, string colls = default, string users = default, string self = default, string rid = default, float? timestamp = default, Azure.ETag? etag = default);
static member RestorableSqlDatabasePropertiesResourceDatabase : string * Azure.ResourceManager.CosmosDB.Models.ResourceRestoreParameters * Nullable<Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountCreateMode> * string * string * string * string * Nullable<single> * Nullable<Azure.ETag> -> Azure.ResourceManager.CosmosDB.Models.RestorableSqlDatabasePropertiesResourceDatabase
Public Shared Function RestorableSqlDatabasePropertiesResourceDatabase (Optional databaseName As String = Nothing, Optional restoreParameters As ResourceRestoreParameters = Nothing, Optional createMode As Nullable(Of CosmosDBAccountCreateMode) = Nothing, Optional colls As String = Nothing, Optional users As String = Nothing, Optional self As String = Nothing, Optional rid As String = Nothing, Optional timestamp As Nullable(Of Single) = Nothing, Optional etag As Nullable(Of ETag) = Nothing) As RestorableSqlDatabasePropertiesResourceDatabase

Parameters

databaseName
String

Name of the Cosmos DB SQL database.

restoreParameters
ResourceRestoreParameters

Parameters to indicate the information about the restore.

createMode
Nullable<CosmosDBAccountCreateMode>

Enum to indicate the mode of resource creation.

colls
String

A system generated property that specified the addressable path of the collections resource.

users
String

A system generated property that specifies the addressable path of the users resource.

self
String

A system generated property that specifies the addressable path of the database resource.

rid
String

A system generated property. A unique identifier.

timestamp
Nullable<Single>

A system generated property that denotes the last updated timestamp of the resource.

etag
Nullable<ETag>

A system generated property representing the resource etag required for optimistic concurrency control.

Returns

A new RestorableSqlDatabasePropertiesResourceDatabase instance for mocking.

Applies to