Skip to main content

mongodb_collection_partition_merges

Creates, updates, deletes, gets or lists a mongodb_collection_partition_merges resource.

Overview

Namemongodb_collection_partition_merges
TypeResource
Idazure.cosmos_db.mongodb_collection_partition_merges

Fields

NameDatatypeDescription
physicalPartitionStorageInfoCollectionarrayList of physical partitions and their properties.

Methods

NameAccessible byRequired ParamsDescription
listSELECTaccountName, collectionName, databaseName, resourceGroupName, subscriptionIdMerges the partitions of a MongoDB Collection

SELECT examples

Merges the partitions of a MongoDB Collection

SELECT
physicalPartitionStorageInfoCollection
FROM azure.cosmos_db.mongodb_collection_partition_merges
WHERE accountName = '{{ accountName }}'
AND collectionName = '{{ collectionName }}'
AND databaseName = '{{ databaseName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';