ArmCosmosDBModelFactory.ExtendedMongoDBCollectionResourceInfo Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ExtendedMongoDBCollectionResourceInfo(String, IDictionary<String, String>, IEnumerable<MongoDBIndex>, Nullable<Int32>, String, Nullable<Single>, Nullable<ETag>)
- Source:
- ArmCosmosDBModelFactory.cs
public static Azure.ResourceManager.CosmosDB.Models.ExtendedMongoDBCollectionResourceInfo ExtendedMongoDBCollectionResourceInfo (string collectionName = default, System.Collections.Generic.IDictionary<string,string> shardKey = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.CosmosDB.Models.MongoDBIndex> indexes = default, int? analyticalStorageTtl = default, string rid = default, float? timestamp = default, Azure.ETag? etag = default);
static member ExtendedMongoDBCollectionResourceInfo : string * System.Collections.Generic.IDictionary<string, string> * seq<Azure.ResourceManager.CosmosDB.Models.MongoDBIndex> * Nullable<int> * string * Nullable<single> * Nullable<Azure.ETag> -> Azure.ResourceManager.CosmosDB.Models.ExtendedMongoDBCollectionResourceInfo
Public Shared Function ExtendedMongoDBCollectionResourceInfo (Optional collectionName As String = Nothing, Optional shardKey As IDictionary(Of String, String) = Nothing, Optional indexes As IEnumerable(Of MongoDBIndex) = Nothing, Optional analyticalStorageTtl As Nullable(Of Integer) = Nothing, Optional rid As String = Nothing, Optional timestamp As Nullable(Of Single) = Nothing, Optional etag As Nullable(Of ETag) = Nothing) As ExtendedMongoDBCollectionResourceInfo
Parameters
- collectionName
- String
- shardKey
- IDictionary<String,String>
- indexes
- IEnumerable<MongoDBIndex>
- rid
- String
Returns
Applies to
ExtendedMongoDBCollectionResourceInfo(String, IDictionary<String, String>, IEnumerable<MongoDBIndex>, Nullable<Int32>, ResourceRestoreParameters, Nullable<CosmosDBAccountCreateMode>, String, Nullable<Single>, Nullable<ETag>)
- Source:
- ArmCosmosDBModelFactory.cs
Initializes a new instance of ExtendedMongoDBCollectionResourceInfo.
public static Azure.ResourceManager.CosmosDB.Models.ExtendedMongoDBCollectionResourceInfo ExtendedMongoDBCollectionResourceInfo (string collectionName = default, System.Collections.Generic.IDictionary<string,string> shardKey = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.CosmosDB.Models.MongoDBIndex> indexes = default, int? analyticalStorageTtl = default, Azure.ResourceManager.CosmosDB.Models.ResourceRestoreParameters restoreParameters = default, Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountCreateMode? createMode = default, string rid = default, float? timestamp = default, Azure.ETag? etag = default);
static member ExtendedMongoDBCollectionResourceInfo : string * System.Collections.Generic.IDictionary<string, string> * seq<Azure.ResourceManager.CosmosDB.Models.MongoDBIndex> * Nullable<int> * Azure.ResourceManager.CosmosDB.Models.ResourceRestoreParameters * Nullable<Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountCreateMode> * string * Nullable<single> * Nullable<Azure.ETag> -> Azure.ResourceManager.CosmosDB.Models.ExtendedMongoDBCollectionResourceInfo
Public Shared Function ExtendedMongoDBCollectionResourceInfo (Optional collectionName As String = Nothing, Optional shardKey As IDictionary(Of String, String) = Nothing, Optional indexes As IEnumerable(Of MongoDBIndex) = Nothing, Optional analyticalStorageTtl As Nullable(Of Integer) = Nothing, Optional restoreParameters As ResourceRestoreParameters = Nothing, Optional createMode As Nullable(Of CosmosDBAccountCreateMode) = Nothing, Optional rid As String = Nothing, Optional timestamp As Nullable(Of Single) = Nothing, Optional etag As Nullable(Of ETag) = Nothing) As ExtendedMongoDBCollectionResourceInfo
Parameters
- collectionName
- String
Name of the Cosmos DB MongoDB collection.
- shardKey
- IDictionary<String,String>
A key-value pair of shard keys to be applied for the request.
- indexes
- IEnumerable<MongoDBIndex>
List of index keys.
- restoreParameters
- ResourceRestoreParameters
Parameters to indicate the information about the restore.
- createMode
- Nullable<CosmosDBAccountCreateMode>
Enum to indicate the mode of resource creation.
- rid
- String
A system generated property. A unique identifier.
A system generated property that denotes the last updated timestamp of the resource.
A system generated property representing the resource etag required for optimistic concurrency control.
Returns
A new ExtendedMongoDBCollectionResourceInfo instance for mocking.