Cmdlets for Azure Cosmos DB

Build 24.0.9062

UseRidAsPk Parameter (Connect-CosmosDB Cmdlet)

Set this property to false to switch using the id column as primary key instead the default _rid.

Syntax

Connect-CosmosDB -UseRidAsPk bool

Data Type

bool

Default Value

true

Remarks

Since CosmosDB allows you to use both _rid and id fields as unique values for retrieving resource data, you can set this property to false to switch using the id column as primary key instead the default _rid.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9062