mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-12-20 01:11:25 +00:00
Update to ADO 64472154f607bb7b0820ef3d6a9f3ab6b058382d (#11)
This commit is contained in:
@@ -356,7 +356,6 @@ export function createMongoCollectionWithARM(
|
||||
armEndpoint: string,
|
||||
databaseId: string,
|
||||
analyticalStorageTtl: number,
|
||||
isFixedCollectionWithSharedThroughputBeingCreated: boolean,
|
||||
collectionId: string,
|
||||
offerThroughput: number,
|
||||
shardKey: string,
|
||||
@@ -380,8 +379,7 @@ export function createMongoCollectionWithARM(
|
||||
sid: CosmosClient.subscriptionId(),
|
||||
rg: CosmosClient.resourceGroup(),
|
||||
dba: databaseAccount.name,
|
||||
analyticalStorageTtl,
|
||||
isFixedCollectionWithSharedThroughputBeingCreated
|
||||
analyticalStorageTtl
|
||||
};
|
||||
|
||||
if (createDatabase) {
|
||||
@@ -453,11 +451,6 @@ export async function _createMongoCollectionWithARM(
|
||||
}
|
||||
}
|
||||
|
||||
if (params.isFixedCollectionWithSharedThroughputBeingCreated) {
|
||||
rpPayloadToCreateCollection.properties.options[Constants.HttpHeaders.mongoFixedCollectionWithSharedThroughput] =
|
||||
"true";
|
||||
}
|
||||
|
||||
if (params.analyticalStorageTtl) {
|
||||
rpPayloadToCreateCollection.properties.resource.analyticalStorageTtl = params.analyticalStorageTtl;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user