Remove meaningless params from cosmos example
MODIFY
azure-ts-cosmosapp-component/cosmosApp.ts
azure-ts-cosmosapp-component/cosmosApp.ts
@@ -55,8 +55,6 @@ export class CosmosApp extends pulumi.ComponentResource {
offerType: "Standard",
consistencyPolicy: {
consistencyLevel: "Session",
- maxIntervalInSeconds: 5,
- maxStalenessPrefix: 100,
},
enableMultipleWriteLocations: args.enableMultiMaster,
}, parentOpts);

MODIFY
azure-ts-cosmosdb-logicapp/index.ts
azure-ts-cosmosdb-logicapp/index.ts
@@ -22,8 +22,6 @@ const cosmosdbAccount = new azure.cosmosdb.Account("logicappdemo-cdb", {
geoLocations: [{ location: resourceGroup.location, failoverPriority: 0 }],
consistencyPolicy: {
consistencyLevel: "Session",
- maxIntervalInSeconds: 5,
- maxStalenessPrefix: 100,
},
});

MODIFY
azure-ts-serverless-url-shortener-global/index.ts
azure-ts-serverless-url-shortener-global/index.ts
@@ -23,8 +23,6 @@ const account = new azure.cosmosdb.Account("UrlStore", {
offerType: "Standard",
consistencyPolicy: {
consistencyLevel: "Session",
- maxIntervalInSeconds: 5,
- maxStalenessPrefix: 100,
},
});

Remove meaningless params from cosmos example (#403)