Skip to main content

sql_container_partition_merges

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

Overview

Namesql_container_partition_merges
TypeResource
Idazure.cosmos_db.sql_container_partition_merges

Fields

NameDatatypeDescription
physicalPartitionStorageInfoCollectionarrayList of physical partitions and their properties.

Methods

NameAccessible byRequired ParamsDescription
listSELECTaccountName, containerName, databaseName, resourceGroupName, subscriptionIdMerges the partitions of a SQL Container

SELECT examples

Merges the partitions of a SQL Container

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