Update to ADO 64472154f607bb7b0820ef3d6a9f3ab6b058382d (#11)

This commit is contained in:
Steve Faulkner
2020-05-28 15:13:45 -05:00
committed by GitHub
parent 748cfc7da3
commit 9f7f7c202f
5 changed files with 6 additions and 18 deletions

View File

@@ -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;
}