Share via


ArmCosmosDBModelFactory.ExtendedCosmosDBSqlDatabaseResourceInfo Method

Definition

Overloads

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

Initializes a new instance of ExtendedCosmosDBSqlDatabaseResourceInfo.

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

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

Parameters

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

Returns

Applies to

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

Source:
ArmCosmosDBModelFactory.cs

Initializes a new instance of ExtendedCosmosDBSqlDatabaseResourceInfo.

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

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.

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 ExtendedCosmosDBSqlDatabaseResourceInfo instance for mocking.

Applies to