From a1912e92e851ec9980cc39e12fc1e614d5c9f95a Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Tue, 2 Oct 2018 11:20:20 -0700 Subject: [PATCH] Generated from 6b73420d0a83a786389d2ef92484aa8df383c74a (#2870) adding parameter enableMultipleWriteLocations when creating account to support multi-master --- services/cosmos-db/mgmt/2015-04-08/documentdb/models.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/services/cosmos-db/mgmt/2015-04-08/documentdb/models.go b/services/cosmos-db/mgmt/2015-04-08/documentdb/models.go index a882a5a2e63e..57878609aba4 100644 --- a/services/cosmos-db/mgmt/2015-04-08/documentdb/models.go +++ b/services/cosmos-db/mgmt/2015-04-08/documentdb/models.go @@ -428,6 +428,8 @@ type DatabaseAccountCreateUpdateProperties struct { Capabilities *[]Capability `json:"capabilities,omitempty"` // VirtualNetworkRules - List of Virtual Network ACL rules configured for the Cosmos DB account. VirtualNetworkRules *[]VirtualNetworkRule `json:"virtualNetworkRules,omitempty"` + // EnableMultipleWriteLocations - Enables the account to write in multiple locations + EnableMultipleWriteLocations *bool `json:"enableMultipleWriteLocations,omitempty"` } // DatabaseAccountListConnectionStringsResult the connection strings for the given database account. @@ -595,6 +597,8 @@ type DatabaseAccountProperties struct { FailoverPolicies *[]FailoverPolicy `json:"failoverPolicies,omitempty"` // VirtualNetworkRules - List of Virtual Network ACL rules configured for the Cosmos DB account. VirtualNetworkRules *[]VirtualNetworkRule `json:"virtualNetworkRules,omitempty"` + // EnableMultipleWriteLocations - Enables the account to write in multiple locations + EnableMultipleWriteLocations *bool `json:"enableMultipleWriteLocations,omitempty"` } // DatabaseAccountRegenerateKeyParameters parameters to regenerate the keys within the database account.