From e454e71d194f5ab4fa43d75efd252a5c86465518 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Wed, 29 May 2019 12:46:24 -0700 Subject: [PATCH] Generated from 41c0c7e343b202dccd533178235425eef5b2703e (#3257) added optional flag to indicate if location is an availability zone --- sdk/cosmosdb/arm-cosmosdb/src/models/index.ts | 4 ++++ sdk/cosmosdb/arm-cosmosdb/src/models/mappers.ts | 6 ++++++ 2 files changed, 10 insertions(+) diff --git a/sdk/cosmosdb/arm-cosmosdb/src/models/index.ts b/sdk/cosmosdb/arm-cosmosdb/src/models/index.ts index 5660472f8adf..32271effa8e0 100644 --- a/sdk/cosmosdb/arm-cosmosdb/src/models/index.ts +++ b/sdk/cosmosdb/arm-cosmosdb/src/models/index.ts @@ -72,6 +72,10 @@ export interface Location { * values must be unique for each of the regions in which the database account exists. */ failoverPriority?: number; + /** + * Flag to indicate whether or not this region is an AvailabilityZone region + */ + isZoneRedundant?: boolean; } /** diff --git a/sdk/cosmosdb/arm-cosmosdb/src/models/mappers.ts b/sdk/cosmosdb/arm-cosmosdb/src/models/mappers.ts index 9ae39d547034..b99ed62ce44c 100644 --- a/sdk/cosmosdb/arm-cosmosdb/src/models/mappers.ts +++ b/sdk/cosmosdb/arm-cosmosdb/src/models/mappers.ts @@ -112,6 +112,12 @@ export const Location: msRest.CompositeMapper = { type: { name: "Number" } + }, + isZoneRedundant: { + serializedName: "isZoneRedundant", + type: { + name: "Boolean" + } } } }