Skip to content

Commit

Permalink
[AutoPR cosmos-db/resource-manager] Swagger changes to introduce REST…
Browse files Browse the repository at this point in the history
… APIs for offline and online region for the Cosmos DB account (#1751) (#1821)

* Generated from f2366fb3019c4625f0351dbf06bf4af52c814f6c

another try to specify the correct swagger changes

* Generated from 90571350169f9fa1de9d74a9588479d776cae2b8

Added default error response
  • Loading branch information
AutorestCI authored and jhendrixMSFT committed May 10, 2018
1 parent 1b404d2 commit c765d70
Show file tree
Hide file tree
Showing 4 changed files with 288 additions and 0 deletions.
4 changes: 4 additions & 0 deletions profiles/latest/cosmos-db/mgmt/documentdb/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,11 @@ type DatabaseAccountsCreateOrUpdateFuture = original.DatabaseAccountsCreateOrUpd
type DatabaseAccountsDeleteFuture = original.DatabaseAccountsDeleteFuture
type DatabaseAccountsFailoverPriorityChangeFuture = original.DatabaseAccountsFailoverPriorityChangeFuture
type DatabaseAccountsListResult = original.DatabaseAccountsListResult
type DatabaseAccountsOfflineRegionFuture = original.DatabaseAccountsOfflineRegionFuture
type DatabaseAccountsOnlineRegionFuture = original.DatabaseAccountsOnlineRegionFuture
type DatabaseAccountsPatchFuture = original.DatabaseAccountsPatchFuture
type DatabaseAccountsRegenerateKeyFuture = original.DatabaseAccountsRegenerateKeyFuture
type ErrorResponse = original.ErrorResponse
type FailoverPolicies = original.FailoverPolicies
type FailoverPolicy = original.FailoverPolicy
type Location = original.Location
Expand All @@ -130,6 +133,7 @@ type PartitionUsagesResult = original.PartitionUsagesResult
type PercentileMetric = original.PercentileMetric
type PercentileMetricListResult = original.PercentileMetricListResult
type PercentileMetricValue = original.PercentileMetricValue
type RegionForOnlineOffline = original.RegionForOnlineOffline
type Resource = original.Resource
type Usage = original.Usage
type UsagesResult = original.UsagesResult
Expand Down
4 changes: 4 additions & 0 deletions profiles/preview/cosmos-db/mgmt/documentdb/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,11 @@ type DatabaseAccountsCreateOrUpdateFuture = original.DatabaseAccountsCreateOrUpd
type DatabaseAccountsDeleteFuture = original.DatabaseAccountsDeleteFuture
type DatabaseAccountsFailoverPriorityChangeFuture = original.DatabaseAccountsFailoverPriorityChangeFuture
type DatabaseAccountsListResult = original.DatabaseAccountsListResult
type DatabaseAccountsOfflineRegionFuture = original.DatabaseAccountsOfflineRegionFuture
type DatabaseAccountsOnlineRegionFuture = original.DatabaseAccountsOnlineRegionFuture
type DatabaseAccountsPatchFuture = original.DatabaseAccountsPatchFuture
type DatabaseAccountsRegenerateKeyFuture = original.DatabaseAccountsRegenerateKeyFuture
type ErrorResponse = original.ErrorResponse
type FailoverPolicies = original.FailoverPolicies
type FailoverPolicy = original.FailoverPolicy
type Location = original.Location
Expand All @@ -130,6 +133,7 @@ type PartitionUsagesResult = original.PartitionUsagesResult
type PercentileMetric = original.PercentileMetric
type PercentileMetricListResult = original.PercentileMetricListResult
type PercentileMetricValue = original.PercentileMetricValue
type RegionForOnlineOffline = original.RegionForOnlineOffline
type Resource = original.Resource
type Usage = original.Usage
type UsagesResult = original.UsagesResult
Expand Down
168 changes: 168 additions & 0 deletions services/cosmos-db/mgmt/2015-04-08/documentdb/databaseaccounts.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

112 changes: 112 additions & 0 deletions services/cosmos-db/mgmt/2015-04-08/documentdb/models.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c765d70

Please sign in to comment.