diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/cosmos-db.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/cosmos-db.json index edf3ad6e9855..653488d55d15 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/cosmos-db.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/cosmos-db.json @@ -38,7 +38,9 @@ "get": { "operationId": "DatabaseAccounts_Get", "x-ms-examples": { - "CosmosDBDatabaseAccountGet": { "$ref": "./examples/CosmosDBDatabaseAccountGet.json" } + "CosmosDBDatabaseAccountGet": { + "$ref": "./examples/CosmosDBDatabaseAccountGet.json" + } }, "description": "Retrieves the properties of an existing Azure Cosmos DB database account.", "parameters": [ @@ -67,7 +69,9 @@ "patch": { "operationId": "DatabaseAccounts_Patch", "x-ms-examples": { - "CosmosDBDatabaseAccountPatch": { "$ref": "./examples/CosmosDBDatabaseAccountPatch.json" } + "CosmosDBDatabaseAccountPatch": { + "$ref": "./examples/CosmosDBDatabaseAccountPatch.json" + } }, "description": "Patches the properties of an existing Azure Cosmos DB database account.", "x-ms-long-running-operation": true, @@ -106,8 +110,12 @@ "put": { "operationId": "DatabaseAccounts_CreateOrUpdate", "x-ms-examples": { - "CosmosDBDatabaseAccountCreateMin": { "$ref": "./examples/CosmosDBDatabaseAccountCreateMin.json" }, - "CosmosDBDatabaseAccountCreateMax": { "$ref": "./examples/CosmosDBDatabaseAccountCreateMax.json" } + "CosmosDBDatabaseAccountCreateMin": { + "$ref": "./examples/CosmosDBDatabaseAccountCreateMin.json" + }, + "CosmosDBDatabaseAccountCreateMax": { + "$ref": "./examples/CosmosDBDatabaseAccountCreateMax.json" + } }, "description": "Creates or updates an Azure Cosmos DB database account.", "x-ms-long-running-operation": true, @@ -146,7 +154,9 @@ "delete": { "operationId": "DatabaseAccounts_Delete", "x-ms-examples": { - "CosmosDBDatabaseAccountDelete": { "$ref": "./examples/CosmosDBDatabaseAccountDelete.json" } + "CosmosDBDatabaseAccountDelete": { + "$ref": "./examples/CosmosDBDatabaseAccountDelete.json" + } }, "description": "Deletes an existing Azure Cosmos DB database account.", "x-ms-long-running-operation": true, @@ -178,7 +188,9 @@ "post": { "operationId": "DatabaseAccounts_FailoverPriorityChange", "x-ms-examples": { - "CosmosDBDatabaseAccountFailoverPriorityChange": { "$ref": "./examples/CosmosDBDatabaseAccountFailoverPriorityChange.json" } + "CosmosDBDatabaseAccountFailoverPriorityChange": { + "$ref": "./examples/CosmosDBDatabaseAccountFailoverPriorityChange.json" + } }, "description": "Changes the failover priority for the Azure Cosmos DB database account. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists.", "x-ms-long-running-operation": true, @@ -219,7 +231,9 @@ "get": { "operationId": "DatabaseAccounts_List", "x-ms-examples": { - "CosmosDBDatabaseAccountList": { "$ref": "./examples/CosmosDBDatabaseAccountList.json" } + "CosmosDBDatabaseAccountList": { + "$ref": "./examples/CosmosDBDatabaseAccountList.json" + } }, "description": "Lists all the Azure Cosmos DB database accounts available under the subscription.", "parameters": [ @@ -247,7 +261,9 @@ "get": { "operationId": "DatabaseAccounts_ListByResourceGroup", "x-ms-examples": { - "CosmosDBDatabaseAccountListByResourceGroup": { "$ref": "./examples/CosmosDBDatabaseAccountListByResourceGroup.json" } + "CosmosDBDatabaseAccountListByResourceGroup": { + "$ref": "./examples/CosmosDBDatabaseAccountListByResourceGroup.json" + } }, "description": "Lists all the Azure Cosmos DB database accounts available under the given resource group.", "parameters": [ @@ -278,7 +294,9 @@ "post": { "operationId": "DatabaseAccounts_ListKeys", "x-ms-examples": { - "CosmosDBDatabaseAccountListKeys": { "$ref": "./examples/CosmosDBDatabaseAccountListKeys.json" } + "CosmosDBDatabaseAccountListKeys": { + "$ref": "./examples/CosmosDBDatabaseAccountListKeys.json" + } }, "description": "Lists the access keys for the specified Azure Cosmos DB database account.", "parameters": [ @@ -309,8 +327,12 @@ "post": { "operationId": "DatabaseAccounts_ListConnectionStrings", "x-ms-examples": { - "CosmosDBDatabaseAccountListConnectionStrings": { "$ref": "./examples/CosmosDBDatabaseAccountListConnectionStrings.json" }, - "CosmosDBDatabaseAccountListConnectionStringsMongo": { "$ref": "./examples/CosmosDBDatabaseAccountListConnectionStringsMongo.json" } + "CosmosDBDatabaseAccountListConnectionStrings": { + "$ref": "./examples/CosmosDBDatabaseAccountListConnectionStrings.json" + }, + "CosmosDBDatabaseAccountListConnectionStringsMongo": { + "$ref": "./examples/CosmosDBDatabaseAccountListConnectionStringsMongo.json" + } }, "description": "Lists the connection strings for the specified Azure Cosmos DB database account.", "parameters": [ @@ -341,7 +363,9 @@ "post": { "operationId": "DatabaseAccounts_OfflineRegion", "x-ms-examples": { - "CosmosDBDatabaseAccountOfflineRegion": { "$ref": "./examples/CosmosDBDatabaseAccountOfflineRegion.json" } + "CosmosDBDatabaseAccountOfflineRegion": { + "$ref": "./examples/CosmosDBDatabaseAccountOfflineRegion.json" + } }, "description": "Offline the specified region for the specified Azure Cosmos DB database account.", "x-ms-long-running-operation": true, @@ -388,7 +412,9 @@ "post": { "operationId": "DatabaseAccounts_OnlineRegion", "x-ms-examples": { - "CosmosDBDatabaseAccountOnlineRegion": { "$ref": "./examples/CosmosDBDatabaseAccountOnlineRegion.json" } + "CosmosDBDatabaseAccountOnlineRegion": { + "$ref": "./examples/CosmosDBDatabaseAccountOnlineRegion.json" + } }, "description": "Online the specified region for the specified Azure Cosmos DB database account.", "x-ms-long-running-operation": true, @@ -435,7 +461,9 @@ "get": { "operationId": "DatabaseAccounts_GetReadOnlyKeys", "x-ms-examples": { - "CosmosDBDatabaseAccountListReadOnlyKeys": { "$ref": "./examples/CosmosDBDatabaseAccountListReadOnlyKeys.json" } + "CosmosDBDatabaseAccountListReadOnlyKeys": { + "$ref": "./examples/CosmosDBDatabaseAccountListReadOnlyKeys.json" + } }, "description": "Lists the read-only access keys for the specified Azure Cosmos DB database account.", "parameters": [ @@ -464,7 +492,9 @@ "post": { "operationId": "DatabaseAccounts_ListReadOnlyKeys", "x-ms-examples": { - "CosmosDBDatabaseAccountListReadOnlyKeys": { "$ref": "./examples/CosmosDBDatabaseAccountListReadOnlyKeys.json" } + "CosmosDBDatabaseAccountListReadOnlyKeys": { + "$ref": "./examples/CosmosDBDatabaseAccountListReadOnlyKeys.json" + } }, "description": "Lists the read-only access keys for the specified Azure Cosmos DB database account.", "parameters": [ @@ -495,7 +525,9 @@ "post": { "operationId": "DatabaseAccounts_RegenerateKey", "x-ms-examples": { - "CosmosDBDatabaseAccountRegenerateKey": { "$ref": "./examples/CosmosDBDatabaseAccountRegenerateKey.json" } + "CosmosDBDatabaseAccountRegenerateKey": { + "$ref": "./examples/CosmosDBDatabaseAccountRegenerateKey.json" + } }, "description": "Regenerates an access key for the specified Azure Cosmos DB database account.", "x-ms-long-running-operation": true, @@ -536,7 +568,9 @@ "head": { "operationId": "DatabaseAccounts_CheckNameExists", "x-ms-examples": { - "CosmosDBDatabaseAccountCheckNameExists": { "$ref": "./examples/CosmosDBDatabaseAccountCheckNameExists.json" } + "CosmosDBDatabaseAccountCheckNameExists": { + "$ref": "./examples/CosmosDBDatabaseAccountCheckNameExists.json" + } }, "description": "Checks that the Azure Cosmos DB account name already exists. A valid account name may contain only lowercase letters, numbers, and the '-' character, and must be between 3 and 50 characters.", "parameters": [ @@ -565,7 +599,9 @@ "description": "Lists all of the available Cosmos DB Resource Provider operations.", "operationId": "Operations_List", "x-ms-examples": { - "CosmosDBOperationsList": { "$ref": "./examples/CosmosDBOperationsList.json" } + "CosmosDBOperationsList": { + "$ref": "./examples/CosmosDBOperationsList.json" + } }, "parameters": [ { @@ -589,7 +625,9 @@ "get": { "operationId": "DatabaseAccounts_ListMetrics", "x-ms-examples": { - "CosmosDBDatabaseAccountGetMetrics": { "$ref": "./examples/CosmosDBDatabaseAccountGetMetrics.json" } + "CosmosDBDatabaseAccountGetMetrics": { + "$ref": "./examples/CosmosDBDatabaseAccountGetMetrics.json" + } }, "x-ms-pageable": { "nextLinkName": null @@ -626,7 +664,9 @@ "get": { "operationId": "Database_ListMetrics", "x-ms-examples": { - "CosmosDBDatabaseGetMetrics": { "$ref": "./examples/CosmosDBDatabaseGetMetrics.json" } + "CosmosDBDatabaseGetMetrics": { + "$ref": "./examples/CosmosDBDatabaseGetMetrics.json" + } }, "x-ms-pageable": { "nextLinkName": null @@ -666,7 +706,9 @@ "get": { "operationId": "Collection_ListMetrics", "x-ms-examples": { - "CosmosDBCollectionGetMetrics": { "$ref": "./examples/CosmosDBCollectionGetMetrics.json" } + "CosmosDBCollectionGetMetrics": { + "$ref": "./examples/CosmosDBCollectionGetMetrics.json" + } }, "x-ms-pageable": { "nextLinkName": null @@ -709,7 +751,9 @@ "get": { "operationId": "CollectionRegion_ListMetrics", "x-ms-examples": { - "CosmosDBRegionCollectionGetMetrics": { "$ref": "./examples/CosmosDBRegionCollectionGetMetrics.json" } + "CosmosDBRegionCollectionGetMetrics": { + "$ref": "./examples/CosmosDBRegionCollectionGetMetrics.json" + } }, "x-ms-pageable": { "nextLinkName": null @@ -755,7 +799,9 @@ "get": { "operationId": "DatabaseAccountRegion_ListMetrics", "x-ms-examples": { - "CosmosDBDatabaseAccountRegionGetMetrics": { "$ref": "./examples/CosmosDBDatabaseAccountRegionGetMetrics.json" } + "CosmosDBDatabaseAccountRegionGetMetrics": { + "$ref": "./examples/CosmosDBDatabaseAccountRegionGetMetrics.json" + } }, "x-ms-pageable": { "nextLinkName": null @@ -795,7 +841,9 @@ "get": { "operationId": "PercentileSourceTarget_ListMetrics", "x-ms-examples": { - "CosmosDBDatabaseAccountRegionGetMetrics": { "$ref": "./examples/CosmosDBPercentileSourceTargetGetMetrics.json" } + "CosmosDBDatabaseAccountRegionGetMetrics": { + "$ref": "./examples/CosmosDBPercentileSourceTargetGetMetrics.json" + } }, "x-ms-pageable": { "nextLinkName": null @@ -838,7 +886,9 @@ "get": { "operationId": "PercentileTarget_ListMetrics", "x-ms-examples": { - "CosmosDBDatabaseAccountRegionGetMetrics": { "$ref": "./examples/CosmosDBPercentileTargetGetMetrics.json" } + "CosmosDBDatabaseAccountRegionGetMetrics": { + "$ref": "./examples/CosmosDBPercentileTargetGetMetrics.json" + } }, "x-ms-pageable": { "nextLinkName": null @@ -878,7 +928,9 @@ "get": { "operationId": "Percentile_ListMetrics", "x-ms-examples": { - "CosmosDBDatabaseAccountRegionGetMetrics": { "$ref": "./examples/CosmosDBPercentileGetMetrics.json" } + "CosmosDBDatabaseAccountRegionGetMetrics": { + "$ref": "./examples/CosmosDBPercentileGetMetrics.json" + } }, "x-ms-pageable": { "nextLinkName": null @@ -915,7 +967,9 @@ "get": { "operationId": "CollectionPartitionRegion_ListMetrics", "x-ms-examples": { - "CosmosDBDatabaseAccountRegionGetMetrics": { "$ref": "./examples/CosmosDBCollectionPartitionRegionGetMetrics.json" } + "CosmosDBDatabaseAccountRegionGetMetrics": { + "$ref": "./examples/CosmosDBCollectionPartitionRegionGetMetrics.json" + } }, "x-ms-pageable": { "nextLinkName": null @@ -961,7 +1015,9 @@ "get": { "operationId": "CollectionPartition_ListMetrics", "x-ms-examples": { - "CosmosDBDatabaseAccountRegionGetMetrics": { "$ref": "./examples/CosmosDBCollectionPartitionGetMetrics.json" } + "CosmosDBDatabaseAccountRegionGetMetrics": { + "$ref": "./examples/CosmosDBCollectionPartitionGetMetrics.json" + } }, "x-ms-pageable": { "nextLinkName": null @@ -1004,7 +1060,9 @@ "get": { "operationId": "PartitionKeyRangeId_ListMetrics", "x-ms-examples": { - "CosmosDBDatabaseAccountRegionGetMetrics": { "$ref": "./examples/CosmosDBPKeyRangeIdGetMetrics.json" } + "CosmosDBDatabaseAccountRegionGetMetrics": { + "$ref": "./examples/CosmosDBPKeyRangeIdGetMetrics.json" + } }, "x-ms-pageable": { "nextLinkName": null @@ -1050,7 +1108,9 @@ "get": { "operationId": "PartitionKeyRangeIdRegion_ListMetrics", "x-ms-examples": { - "CosmosDBDatabaseAccountRegionGetMetrics": { "$ref": "./examples/CosmosDBPKeyRangeIdRegionGetMetrics.json" } + "CosmosDBDatabaseAccountRegionGetMetrics": { + "$ref": "./examples/CosmosDBPKeyRangeIdRegionGetMetrics.json" + } }, "x-ms-pageable": { "nextLinkName": null @@ -1099,7 +1159,9 @@ "get": { "operationId": "DatabaseAccounts_ListUsages", "x-ms-examples": { - "CosmosDBDatabaseAccountGetUsages": { "$ref": "./examples/CosmosDBDatabaseAccountGetUsages.json" } + "CosmosDBDatabaseAccountGetUsages": { + "$ref": "./examples/CosmosDBDatabaseAccountGetUsages.json" + } }, "description": "Retrieves the usages (most recent data) for the given database account.", "parameters": [ @@ -1136,7 +1198,9 @@ "get": { "operationId": "Database_ListUsages", "x-ms-examples": { - "CosmosDBDatabaseGetUsages": { "$ref": "./examples/CosmosDBDatabaseGetUsages.json" } + "CosmosDBDatabaseGetUsages": { + "$ref": "./examples/CosmosDBDatabaseGetUsages.json" + } }, "description": "Retrieves the usages (most recent data) for the given database.", "parameters": [ @@ -1176,7 +1240,9 @@ "get": { "operationId": "Collection_ListUsages", "x-ms-examples": { - "CosmosDBCollectionGetUsages": { "$ref": "./examples/CosmosDBCollectionGetUsages.json" } + "CosmosDBCollectionGetUsages": { + "$ref": "./examples/CosmosDBCollectionGetUsages.json" + } }, "description": "Retrieves the usages (most recent storage data) for the given collection.", "parameters": [ @@ -1219,7 +1285,9 @@ "get": { "operationId": "CollectionPartition_ListUsages", "x-ms-examples": { - "CosmosDBCollectionGetUsages": { "$ref": "./examples/CosmosDBCollectionPartitionGetUsages.json" } + "CosmosDBCollectionGetUsages": { + "$ref": "./examples/CosmosDBCollectionPartitionGetUsages.json" + } }, "description": "Retrieves the usages (most recent storage data) for the given collection, split by partition.", "parameters": [ @@ -1262,7 +1330,9 @@ "get": { "operationId": "Database_ListMetricDefinitions", "x-ms-examples": { - "CosmosDBDatabaseGetMetricDefinitions": { "$ref": "./examples/CosmosDBDatabaseGetMetricDefinitions.json" } + "CosmosDBDatabaseGetMetricDefinitions": { + "$ref": "./examples/CosmosDBDatabaseGetMetricDefinitions.json" + } }, "description": "Retrieves metric definitions for the given database.", "parameters": [ @@ -1299,7 +1369,9 @@ "get": { "operationId": "Collection_ListMetricDefinitions", "x-ms-examples": { - "CosmosDBCollectionGetMetricDefinitions": { "$ref": "./examples/CosmosDBCollectionGetMetricDefinitions.json" } + "CosmosDBCollectionGetMetricDefinitions": { + "$ref": "./examples/CosmosDBCollectionGetMetricDefinitions.json" + } }, "description": "Retrieves metric definitions for the given collection.", "parameters": [ @@ -1339,7 +1411,9 @@ "get": { "operationId": "DatabaseAccounts_ListMetricDefinitions", "x-ms-examples": { - "CosmosDBDatabaseAccountGetMetricDefinitions": { "$ref": "./examples/CosmosDBDatabaseAccountGetMetricDefinitions.json" } + "CosmosDBDatabaseAccountGetMetricDefinitions": { + "$ref": "./examples/CosmosDBDatabaseAccountGetMetricDefinitions.json" + } }, "description": "Retrieves metric definitions for the given database account.", "parameters": [ @@ -1373,7 +1447,9 @@ "get": { "operationId": "DatabaseAccounts_ListSqlDatabases", "x-ms-examples": { - "CosmosDBSqlDatabaseList": { "$ref": "./examples/CosmosDBSqlDatabaseList.json" } + "CosmosDBSqlDatabaseList": { + "$ref": "./examples/CosmosDBSqlDatabaseList.json" + } }, "description": "Lists the SQL databases under an existing Azure Cosmos DB database account.", "parameters": [ @@ -1407,7 +1483,9 @@ "get": { "operationId": "DatabaseAccounts_GetSqlDatabase", "x-ms-examples": { - "CosmosDBSqlDatabaseGet": { "$ref": "./examples/CosmosDBSqlDatabaseGet.json" } + "CosmosDBSqlDatabaseGet": { + "$ref": "./examples/CosmosDBSqlDatabaseGet.json" + } }, "description": "Gets the SQL databases under an existing Azure Cosmos DB database account with the provided name.", "parameters": [ @@ -1439,7 +1517,9 @@ "put": { "operationId": "DatabaseAccounts_CreateUpdateSqlDatabase", "x-ms-examples": { - "CosmosDBSqlDatabaseCreateUpdate": { "$ref": "./examples/CosmosDBSqlDatabaseCreateUpdate.json" } + "CosmosDBSqlDatabaseCreateUpdate": { + "$ref": "./examples/CosmosDBSqlDatabaseCreateUpdate.json" + } }, "description": "Create or update an Azure Cosmos DB SQL database", "x-ms-long-running-operation": true, @@ -1484,7 +1564,9 @@ "delete": { "operationId": "DatabaseAccounts_DeleteSqlDatabase", "x-ms-examples": { - "CosmosDBSqlDatabaseDelete": { "$ref": "./examples/CosmosDBSqlDatabaseDelete.json" } + "CosmosDBSqlDatabaseDelete": { + "$ref": "./examples/CosmosDBSqlDatabaseDelete.json" + } }, "description": "Deletes an existing Azure Cosmos DB SQL database.", "x-ms-long-running-operation": true, @@ -1519,7 +1601,9 @@ "get": { "operationId": "DatabaseAccounts_ListSqlContainers", "x-ms-examples": { - "CosmosDBSqlContainerList": { "$ref": "./examples/CosmosDBSqlContainerList.json" } + "CosmosDBSqlContainerList": { + "$ref": "./examples/CosmosDBSqlContainerList.json" + } }, "description": "Lists the SQL container under an existing Azure Cosmos DB database account.", "parameters": [ @@ -1556,7 +1640,9 @@ "get": { "operationId": "DatabaseAccounts_GetSqlContainer", "x-ms-examples": { - "CosmosDBSqlContainerGet": { "$ref": "./examples/CosmosDBSqlContainerGet.json" } + "CosmosDBSqlContainerGet": { + "$ref": "./examples/CosmosDBSqlContainerGet.json" + } }, "description": "Gets the SQL container under an existing Azure Cosmos DB database account.", "parameters": [ @@ -1591,7 +1677,9 @@ "put": { "operationId": "DatabaseAccounts_CreateUpdateSqlContainer", "x-ms-examples": { - "CosmosDBSqlContainerCreateUpdate": { "$ref": "./examples/CosmosDBSqlContainerCreateUpdate.json" } + "CosmosDBSqlContainerCreateUpdate": { + "$ref": "./examples/CosmosDBSqlContainerCreateUpdate.json" + } }, "description": "Create or update an Azure Cosmos DB SQL container", "x-ms-long-running-operation": true, @@ -1639,7 +1727,9 @@ "delete": { "operationId": "DatabaseAccounts_DeleteSqlContainer", "x-ms-examples": { - "CosmosDBSqlContainerDelete": { "$ref": "./examples/CosmosDBSqlContainerDelete.json" } + "CosmosDBSqlContainerDelete": { + "$ref": "./examples/CosmosDBSqlContainerDelete.json" + } }, "description": "Deletes an existing Azure Cosmos DB SQL container.", "x-ms-long-running-operation": true, @@ -1677,7 +1767,9 @@ "get": { "operationId": "DatabaseAccounts_ListMongoDBDatabases", "x-ms-examples": { - "CosmosDBMongoDBDatabaseList": { "$ref": "./examples/CosmosDBMongoDBDatabaseList.json" } + "CosmosDBMongoDBDatabaseList": { + "$ref": "./examples/CosmosDBMongoDBDatabaseList.json" + } }, "description": "Lists the MongoDB databases under an existing Azure Cosmos DB database account.", "parameters": [ @@ -1711,7 +1803,9 @@ "get": { "operationId": "DatabaseAccounts_GetMongoDBDatabase", "x-ms-examples": { - "CosmosDBMongoDBDatabaseGet": { "$ref": "./examples/CosmosDBMongoDBDatabaseGet.json" } + "CosmosDBMongoDBDatabaseGet": { + "$ref": "./examples/CosmosDBMongoDBDatabaseGet.json" + } }, "description": "Gets the MongoDB databases under an existing Azure Cosmos DB database account with the provided name.", "parameters": [ @@ -1743,7 +1837,9 @@ "put": { "operationId": "DatabaseAccounts_CreateUpdateMongoDBDatabase", "x-ms-examples": { - "CosmosDBMongoDBDatabaseCreateUpdate": { "$ref": "./examples/CosmosDBMongoDBDatabaseCreateUpdate.json" } + "CosmosDBMongoDBDatabaseCreateUpdate": { + "$ref": "./examples/CosmosDBMongoDBDatabaseCreateUpdate.json" + } }, "description": "Create or updates Azure Cosmos DB MongoDB database", "x-ms-long-running-operation": true, @@ -1788,7 +1884,9 @@ "delete": { "operationId": "DatabaseAccounts_DeleteMongoDBDatabase", "x-ms-examples": { - "CosmosDBMongoDBDatabaseDelete": { "$ref": "./examples/CosmosDBMongoDBDatabaseDelete.json" } + "CosmosDBMongoDBDatabaseDelete": { + "$ref": "./examples/CosmosDBMongoDBDatabaseDelete.json" + } }, "description": "Deletes an existing Azure Cosmos DB MongoDB database.", "x-ms-long-running-operation": true, @@ -1823,7 +1921,9 @@ "get": { "operationId": "DatabaseAccounts_ListMongoDBCollections", "x-ms-examples": { - "CosmosDBMongoDBCollectionList": { "$ref": "./examples/CosmosDBMongoDBCollectionList.json" } + "CosmosDBMongoDBCollectionList": { + "$ref": "./examples/CosmosDBMongoDBCollectionList.json" + } }, "description": "Lists the MongoDB collection under an existing Azure Cosmos DB database account.", "parameters": [ @@ -1860,7 +1960,9 @@ "get": { "operationId": "DatabaseAccounts_GetMongoDBCollection", "x-ms-examples": { - "CosmosDBMongoDBCollectionGet": { "$ref": "./examples/CosmosDBMongoDBCollectionGet.json" } + "CosmosDBMongoDBCollectionGet": { + "$ref": "./examples/CosmosDBMongoDBCollectionGet.json" + } }, "description": "Gets the MongoDB collection under an existing Azure Cosmos DB database account.", "parameters": [ @@ -1895,7 +1997,9 @@ "put": { "operationId": "DatabaseAccounts_CreateUpdateMongoDBCollection", "x-ms-examples": { - "CosmosDBMongoDBCollectionCreateUpdate": { "$ref": "./examples/CosmosDBMongoDBCollectionCreateUpdate.json" } + "CosmosDBMongoDBCollectionCreateUpdate": { + "$ref": "./examples/CosmosDBMongoDBCollectionCreateUpdate.json" + } }, "description": "Create or update an Azure Cosmos DB MongoDB Collection", "x-ms-long-running-operation": true, @@ -1943,7 +2047,9 @@ "delete": { "operationId": "DatabaseAccounts_DeleteMongoDBCollection", "x-ms-examples": { - "CosmosDBMongoDBCollectionDelete": { "$ref": "./examples/CosmosDBMongoDBCollectionDelete.json" } + "CosmosDBMongoDBCollectionDelete": { + "$ref": "./examples/CosmosDBMongoDBCollectionDelete.json" + } }, "description": "Deletes an existing Azure Cosmos DB MongoDB Collection.", "x-ms-long-running-operation": true, @@ -1981,7 +2087,9 @@ "get": { "operationId": "DatabaseAccounts_ListTables", "x-ms-examples": { - "CosmosDBTableList": { "$ref": "./examples/CosmosDBTableList.json" } + "CosmosDBTableList": { + "$ref": "./examples/CosmosDBTableList.json" + } }, "description": "Lists the Tables under an existing Azure Cosmos DB database account.", "parameters": [ @@ -2015,7 +2123,9 @@ "get": { "operationId": "DatabaseAccounts_GetTable", "x-ms-examples": { - "CosmosDBTableGet": { "$ref": "./examples/CosmosDBTableGet.json" } + "CosmosDBTableGet": { + "$ref": "./examples/CosmosDBTableGet.json" + } }, "description": "Gets the Tables under an existing Azure Cosmos DB database account with the provided name.", "parameters": [ @@ -2047,7 +2157,9 @@ "put": { "operationId": "DatabaseAccounts_CreateUpdateTable", "x-ms-examples": { - "CosmosDBTableReplace": { "$ref": "./examples/CosmosDBTableCreateUpdate.json" } + "CosmosDBTableReplace": { + "$ref": "./examples/CosmosDBTableCreateUpdate.json" + } }, "description": "Create or update an Azure Cosmos DB Table", "x-ms-long-running-operation": true, @@ -2092,7 +2204,9 @@ "delete": { "operationId": "DatabaseAccounts_DeleteTable", "x-ms-examples": { - "CosmosDBTableDelete": { "$ref": "./examples/CosmosDBTableDelete.json" } + "CosmosDBTableDelete": { + "$ref": "./examples/CosmosDBTableDelete.json" + } }, "description": "Deletes an existing Azure Cosmos DB Table.", "x-ms-long-running-operation": true, @@ -2127,7 +2241,9 @@ "get": { "operationId": "DatabaseAccounts_ListCassandraKeyspaces", "x-ms-examples": { - "CosmosDBCassandraKeyspaceList": { "$ref": "./examples/CosmosDBCassandraKeyspaceList.json" } + "CosmosDBCassandraKeyspaceList": { + "$ref": "./examples/CosmosDBCassandraKeyspaceList.json" + } }, "description": "Lists the Cassandra keyspaces under an existing Azure Cosmos DB database account.", "parameters": [ @@ -2161,7 +2277,9 @@ "get": { "operationId": "DatabaseAccounts_GetCassandraKeyspace", "x-ms-examples": { - "CosmosDBCassandraKeyspaceGet": { "$ref": "./examples/CosmosDBCassandraKeyspaceGet.json" } + "CosmosDBCassandraKeyspaceGet": { + "$ref": "./examples/CosmosDBCassandraKeyspaceGet.json" + } }, "description": "Gets the Cassandra keyspaces under an existing Azure Cosmos DB database account with the provided name.", "parameters": [ @@ -2193,7 +2311,9 @@ "put": { "operationId": "DatabaseAccounts_CreateUpdateCassandraKeyspace", "x-ms-examples": { - "CosmosDBCassandraKeyspaceCreateUpdate": { "$ref": "./examples/CosmosDBCassandraKeyspaceCreateUpdate.json" } + "CosmosDBCassandraKeyspaceCreateUpdate": { + "$ref": "./examples/CosmosDBCassandraKeyspaceCreateUpdate.json" + } }, "description": "Create or update an Azure Cosmos DB Cassandra keyspace", "x-ms-long-running-operation": true, @@ -2238,7 +2358,9 @@ "delete": { "operationId": "DatabaseAccounts_DeleteCassandraKeyspace", "x-ms-examples": { - "CosmosDBCassandraKeyspaceDelete": { "$ref": "./examples/CosmosDBCassandraKeyspaceDelete.json" } + "CosmosDBCassandraKeyspaceDelete": { + "$ref": "./examples/CosmosDBCassandraKeyspaceDelete.json" + } }, "description": "Deletes an existing Azure Cosmos DB Cassandra keyspace.", "x-ms-long-running-operation": true, @@ -2273,7 +2395,9 @@ "get": { "operationId": "DatabaseAccounts_ListCassandraTables", "x-ms-examples": { - "CosmosDBCassandraTableList": { "$ref": "./examples/CosmosDBCassandraTableList.json" } + "CosmosDBCassandraTableList": { + "$ref": "./examples/CosmosDBCassandraTableList.json" + } }, "description": "Lists the Cassandra table under an existing Azure Cosmos DB database account.", "parameters": [ @@ -2310,7 +2434,9 @@ "get": { "operationId": "DatabaseAccounts_GetCassandraTable", "x-ms-examples": { - "CosmosDBCassandraTableGet": { "$ref": "./examples/CosmosDBCassandraTableGet.json" } + "CosmosDBCassandraTableGet": { + "$ref": "./examples/CosmosDBCassandraTableGet.json" + } }, "description": "Gets the Cassandra table under an existing Azure Cosmos DB database account.", "parameters": [ @@ -2345,7 +2471,9 @@ "put": { "operationId": "DatabaseAccounts_CreateUpdateCassandraTable", "x-ms-examples": { - "CosmosDBCassandraTableCreateUpdate": { "$ref": "./examples/CosmosDBCassandraTableCreateUpdate.json" } + "CosmosDBCassandraTableCreateUpdate": { + "$ref": "./examples/CosmosDBCassandraTableCreateUpdate.json" + } }, "description": "Create or update an Azure Cosmos DB Cassandra Table", "x-ms-long-running-operation": true, @@ -2393,7 +2521,9 @@ "delete": { "operationId": "DatabaseAccounts_DeleteCassandraTable", "x-ms-examples": { - "CosmosDBCassandraTableDelete": { "$ref": "./examples/CosmosDBCassandraTableDelete.json" } + "CosmosDBCassandraTableDelete": { + "$ref": "./examples/CosmosDBCassandraTableDelete.json" + } }, "description": "Deletes an existing Azure Cosmos DB Cassandra table.", "x-ms-long-running-operation": true, @@ -2431,7 +2561,9 @@ "get": { "operationId": "DatabaseAccounts_ListGremlinDatabases", "x-ms-examples": { - "CosmosDBGremlinDatabaseList": { "$ref": "./examples/CosmosDBGremlinDatabaseList.json" } + "CosmosDBGremlinDatabaseList": { + "$ref": "./examples/CosmosDBGremlinDatabaseList.json" + } }, "description": "Lists the Gremlin databases under an existing Azure Cosmos DB database account.", "parameters": [ @@ -2465,7 +2597,9 @@ "get": { "operationId": "DatabaseAccounts_GetGremlinDatabase", "x-ms-examples": { - "CosmosDBGremlinDatabaseGet": { "$ref": "./examples/CosmosDBGremlinDatabaseGet.json" } + "CosmosDBGremlinDatabaseGet": { + "$ref": "./examples/CosmosDBGremlinDatabaseGet.json" + } }, "description": "Gets the Gremlin databases under an existing Azure Cosmos DB database account with the provided name.", "parameters": [ @@ -2497,7 +2631,9 @@ "put": { "operationId": "DatabaseAccounts_CreateUpdateGremlinDatabase", "x-ms-examples": { - "CosmosDBGremlinDatabaseCreateUpdate": { "$ref": "./examples/CosmosDBGremlinDatabaseCreateUpdate.json" } + "CosmosDBGremlinDatabaseCreateUpdate": { + "$ref": "./examples/CosmosDBGremlinDatabaseCreateUpdate.json" + } }, "description": "Create or update an Azure Cosmos DB Gremlin database", "x-ms-long-running-operation": true, @@ -2542,7 +2678,9 @@ "delete": { "operationId": "DatabaseAccounts_DeleteGremlinDatabase", "x-ms-examples": { - "CosmosDBGremlinDatabaseDelete": { "$ref": "./examples/CosmosDBGremlinDatabaseDelete.json" } + "CosmosDBGremlinDatabaseDelete": { + "$ref": "./examples/CosmosDBGremlinDatabaseDelete.json" + } }, "description": "Deletes an existing Azure Cosmos DB Gremlin database.", "x-ms-long-running-operation": true, @@ -2577,7 +2715,9 @@ "get": { "operationId": "DatabaseAccounts_ListGremlinGraphs", "x-ms-examples": { - "CosmosDBGremlinGraphList": { "$ref": "./examples/CosmosDBGremlinGraphList.json" } + "CosmosDBGremlinGraphList": { + "$ref": "./examples/CosmosDBGremlinGraphList.json" + } }, "description": "Lists the Gremlin graph under an existing Azure Cosmos DB database account.", "parameters": [ @@ -2614,7 +2754,9 @@ "get": { "operationId": "DatabaseAccounts_GetGremlinGraph", "x-ms-examples": { - "CosmosDBGremlinGraphGet": { "$ref": "./examples/CosmosDBGremlinGraphGet.json" } + "CosmosDBGremlinGraphGet": { + "$ref": "./examples/CosmosDBGremlinGraphGet.json" + } }, "description": "Gets the Gremlin graph under an existing Azure Cosmos DB database account.", "parameters": [ @@ -2649,7 +2791,9 @@ "put": { "operationId": "DatabaseAccounts_CreateUpdateGremlinGraph", "x-ms-examples": { - "CosmosDBGremlinGraphCreateUpdate": { "$ref": "./examples/CosmosDBGremlinGraphCreateUpdate.json" } + "CosmosDBGremlinGraphCreateUpdate": { + "$ref": "./examples/CosmosDBGremlinGraphCreateUpdate.json" + } }, "description": "Create or update an Azure Cosmos DB Gremlin graph", "x-ms-long-running-operation": true, @@ -2697,7 +2841,9 @@ "delete": { "operationId": "DatabaseAccounts_DeleteGremlinGraph", "x-ms-examples": { - "CosmosDBGremlinGraphDelete": { "$ref": "./examples/CosmosDBGremlinGraphDelete.json" } + "CosmosDBGremlinGraphDelete": { + "$ref": "./examples/CosmosDBGremlinGraphDelete.json" + } }, "description": "Deletes an existing Azure Cosmos DB Gremlin graph.", "x-ms-long-running-operation": true, @@ -3028,7 +3174,7 @@ } } }, - "SqlDatabase":{ + "SqlDatabase": { "description": "An Azure Cosmos DB SQL database.", "type": "object", "properties": { @@ -3066,7 +3212,7 @@ } ] }, - "SqlContainer":{ + "SqlContainer": { "description": "An Azure Cosmos DB container.", "type": "object", "properties": { @@ -3257,7 +3403,7 @@ } ] }, - "GremlinGraph":{ + "GremlinGraph": { "description": "An Azure Cosmos DB Gremlin graph.", "type": "object", "properties": { @@ -4414,11 +4560,11 @@ "type": "object", "description": "Virtual Network ACL Rule object", "properties": { - "id":{ + "id": { "type": "string", "description": "Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}." }, - "ignoreMissingVNetServiceEndpoint":{ + "ignoreMissingVNetServiceEndpoint": { "type": "boolean", "description": "Create firewall rule before the virtual network has vnet service endpoint enabled." } @@ -4843,7 +4989,7 @@ }, "description": "The response to a list partition metrics request." }, - "PartitionMetric" : { + "PartitionMetric": { "allOf": [ { "$ref": "#/definitions/Metric" @@ -4863,7 +5009,7 @@ }, "description": "The metric values for a single partition." }, - "UnitType" : { + "UnitType": { "type": "string", "readOnly": true, "description": "The unit of the metric.", diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBCassandraKeyspaceCreateUpdate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBCassandraKeyspaceCreateUpdate.json index 865d553c02a2..ad130b01712d 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBCassandraKeyspaceCreateUpdate.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBCassandraKeyspaceCreateUpdate.json @@ -7,16 +7,15 @@ "keyspaceName": "keyspaceName", "createUpdateCassandraKeyspaceParameters": { "properties": { - "resource": { - "id": "keyspaceName" - }, - "options": { - } + "resource": { + "id": "keyspaceName" + }, + "options": {} } } }, "responses": { - "200": { + "200": { "body": { "id": "keyspaceName", "name": "keyspaceName", @@ -26,8 +25,6 @@ } } }, - "202": { - - } + "202": {} } -} \ No newline at end of file +} diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBCassandraKeyspaceDelete.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBCassandraKeyspaceDelete.json index 0b85cbaf3e91..9486ee3af3dc 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBCassandraKeyspaceDelete.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBCassandraKeyspaceDelete.json @@ -7,7 +7,7 @@ "keyspaceName": "keyspaceName" }, "responses": { - "204": { }, - "202": { } + "204": {}, + "202": {} } -} \ No newline at end of file +} diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBCassandraKeyspaceGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBCassandraKeyspaceGet.json index 2cd525c9307e..2126f477e828 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBCassandraKeyspaceGet.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBCassandraKeyspaceGet.json @@ -7,7 +7,7 @@ "keyspaceName": "keyspaceName" }, "responses": { - "200": { + "200": { "body": { "id": "keyspaceName", "name": "keyspaceName", @@ -18,4 +18,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBCassandraKeyspaceList.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBCassandraKeyspaceList.json index cdbf3a8d9edb..b7cf0b0aab11 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBCassandraKeyspaceList.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBCassandraKeyspaceList.json @@ -21,4 +21,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBCassandraTableCreateUpdate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBCassandraTableCreateUpdate.json index c7b14b310525..f9a122c7ce3e 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBCassandraTableCreateUpdate.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBCassandraTableCreateUpdate.json @@ -8,36 +8,35 @@ "tableName": "tableName", "createUpdateCassandraTableParameters": { "properties": { - "resource": { - "id": "tableName", - "defaultTtl": 100, - "schema": { - "columns": [ - { - "name": "columnA", - "type": "Ascii" - } - ], - "partitionKeys": [ - { - "name": "columnA" - } - ], - "clusterKeys": [ - { - "name": "columnA", - "orderBy": "Asc" - } - ] + "resource": { + "id": "tableName", + "defaultTtl": 100, + "schema": { + "columns": [ + { + "name": "columnA", + "type": "Ascii" + } + ], + "partitionKeys": [ + { + "name": "columnA" + } + ], + "clusterKeys": [ + { + "name": "columnA", + "orderBy": "Asc" } - }, - "options": { + ] } + }, + "options": {} } } }, "responses": { - "200": { + "200": { "body": { "id": "tableName", "name": "tableName", @@ -67,8 +66,6 @@ } } }, - "202": { - - } + "202": {} } -} \ No newline at end of file +} diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBCassandraTableDelete.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBCassandraTableDelete.json index b3d9209aa8b5..0fd645e4c0c1 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBCassandraTableDelete.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBCassandraTableDelete.json @@ -8,7 +8,7 @@ "tableName": "tableName" }, "responses": { - "204": { }, - "202": { } + "204": {}, + "202": {} } -} \ No newline at end of file +} diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBCassandraTableGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBCassandraTableGet.json index d727b561f0ca..fe1b8dbc7b30 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBCassandraTableGet.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBCassandraTableGet.json @@ -8,7 +8,7 @@ "tableName": "tableName" }, "responses": { - "200": { + "200": { "body": { "id": "tableName", "name": "tableName", @@ -39,4 +39,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBCassandraTableList.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBCassandraTableList.json index faf3a544ce6f..5ff274205b6f 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBCassandraTableList.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBCassandraTableList.json @@ -42,4 +42,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBCollectionGetMetricDefinitions.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBCollectionGetMetricDefinitions.json index 6d214e03e898..152e7d214a53 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBCollectionGetMetricDefinitions.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBCollectionGetMetricDefinitions.json @@ -1,41 +1,41 @@ { - "parameters": { - "accountName": "ddb1", - "resourceGroupName": "rg1", - "subscriptionId": "subid", - "api-version": "2015-04-08", - "databaseRid": "databaseRid", - "collectionRid": "collectionRid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "metricAvailabilities": [ - { - "timeGrain": "PT5M", - "retention": "P2D" - }, - { - "timeGrain": "PT1H", - "retention": "P14D" - }, - { - "timeGrain": "P1D", - "retention": "P60D" - } - ], - "primaryAggregationType": "Total", - "unit": "Count", - "resourceUri": "\/subscriptions\/subId\/resourceGroups\/rg1\/providers\/Microsoft.DocumentDB\/databaseAccounts\/ddb1", - "name": { - "value": "Total Requests", - "localizedValue": "Total Requests" - } - } - ] + "parameters": { + "accountName": "ddb1", + "resourceGroupName": "rg1", + "subscriptionId": "subid", + "api-version": "2015-04-08", + "databaseRid": "databaseRid", + "collectionRid": "collectionRid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "metricAvailabilities": [ + { + "timeGrain": "PT5M", + "retention": "P2D" + }, + { + "timeGrain": "PT1H", + "retention": "P14D" + }, + { + "timeGrain": "P1D", + "retention": "P60D" + } + ], + "primaryAggregationType": "Total", + "unit": "Count", + "resourceUri": "\/subscriptions\/subId\/resourceGroups\/rg1\/providers\/Microsoft.DocumentDB\/databaseAccounts\/ddb1", + "name": { + "value": "Total Requests", + "localizedValue": "Total Requests" } - } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBCollectionGetMetrics.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBCollectionGetMetrics.json index f327fa096f22..9fd488a9166a 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBCollectionGetMetrics.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBCollectionGetMetrics.json @@ -1,55 +1,55 @@ { - "parameters": { - "accountName": "ddb1", - "resourceGroupName": "rg1", - "api-version": "2015-04-08", - "subscriptionId": "subid", - "databaseRid":"databaseRid", - "collectionRid":"collectionRid", - "$filter": "$filter=(name.value eq 'Total Requests') and timeGrain eq duration'PT5M' and startTime eq '2017-11-19T23:53:55.2780000Z' and endTime eq '2017-11-20T00:13:55.2780000Z" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "timeGrain": "PT5M", - "startTime": "2017-11-19T23:53:55.2780000Z", - "endTime": "2017-11-20T00:13:55.2780000Z", - "unit": "Count", - "metricValues": [ - { - "timestamp": "2017-11-19T23:53:55.2780000Z", - "total": 0, - "_count": 0, - "average": 0 - }, - { - "timestamp": "2017-11-19T23:58:55.2780000Z", - "total": 0, - "_count": 0, - "average": 0 - }, - { - "timestamp": "2017-11-20T00:03:55.2780000Z", - "total": 0, - "_count": 0, - "average": 0 - }, - { - "timestamp": "2017-11-20T00:08:55.2780000Z", - "total": 0, - "_count": 0, - "average": 0 - } - ], - "name": { - "value": "Total Requests", - "localizedValue": "Total Requests" - } - } - ] + "parameters": { + "accountName": "ddb1", + "resourceGroupName": "rg1", + "api-version": "2015-04-08", + "subscriptionId": "subid", + "databaseRid": "databaseRid", + "collectionRid": "collectionRid", + "$filter": "$filter=(name.value eq 'Total Requests') and timeGrain eq duration'PT5M' and startTime eq '2017-11-19T23:53:55.2780000Z' and endTime eq '2017-11-20T00:13:55.2780000Z" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "timeGrain": "PT5M", + "startTime": "2017-11-19T23:53:55.2780000Z", + "endTime": "2017-11-20T00:13:55.2780000Z", + "unit": "Count", + "metricValues": [ + { + "timestamp": "2017-11-19T23:53:55.2780000Z", + "total": 0, + "_count": 0, + "average": 0 + }, + { + "timestamp": "2017-11-19T23:58:55.2780000Z", + "total": 0, + "_count": 0, + "average": 0 + }, + { + "timestamp": "2017-11-20T00:03:55.2780000Z", + "total": 0, + "_count": 0, + "average": 0 + }, + { + "timestamp": "2017-11-20T00:08:55.2780000Z", + "total": 0, + "_count": 0, + "average": 0 + } + ], + "name": { + "value": "Total Requests", + "localizedValue": "Total Requests" } - } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBCollectionGetUsages.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBCollectionGetUsages.json index 7b0e810fff11..42f2a0bda6c2 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBCollectionGetUsages.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBCollectionGetUsages.json @@ -1,29 +1,29 @@ { - "parameters": { - "accountName": "ddb1", - "resourceGroupName": "rg1", - "api-version": "2015-04-08", - "databaseRid": "databaseRid", - "collectionRid": "collectionRid", - "subscriptionId": "subid", - "$filter": "$filter=name.value eq 'Storage'" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "unit": "Bytes", - "quotaPeriod": "P1D", - "limit": 10737418240, - "currentValue": 0, - "name": { - "value": "Storage", - "localizedValue": "Storage" - } - } - ] + "parameters": { + "accountName": "ddb1", + "resourceGroupName": "rg1", + "api-version": "2015-04-08", + "databaseRid": "databaseRid", + "collectionRid": "collectionRid", + "subscriptionId": "subid", + "$filter": "$filter=name.value eq 'Storage'" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "unit": "Bytes", + "quotaPeriod": "P1D", + "limit": 10737418240, + "currentValue": 0, + "name": { + "value": "Storage", + "localizedValue": "Storage" } - } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBCollectionPartitionGetMetrics.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBCollectionPartitionGetMetrics.json index fb863b9049ed..49e28c42d861 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBCollectionPartitionGetMetrics.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBCollectionPartitionGetMetrics.json @@ -1,57 +1,57 @@ { - "parameters": { - "accountName": "ddb1", - "resourceGroupName": "rg1", - "api-version": "2015-04-08", - "subscriptionId": "subid", - "databaseRid":"databaseRid", - "collectionRid":"collectionRid", - "$filter": "$filter=(name.value eq 'Max RUs Per Second') and timeGrain eq duration'PT1M' and startTime eq '2017-11-19T23:53:55.2780000Z' and endTime eq '2017-11-20T23:58:55.2780000Z" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "timeGrain": "PT1M", - "startTime": "2017-11-19T23:53:55.2780000Z", - "endTime": "2017-11-20T23:58:55.2780000Z", - "unit": "Count", - "partitionId": "00000000-0000-0000-0000-000000000000", - "partitionKeyRangeId": "0", - "metricValues": [ - { - "timestamp": "2017-11-19T23:53:55.2780000Z", - "maximum": 5 - }, - { - "timestamp": "2017-11-19T23:54:55.2780000Z", - "maximum": 5 - }, - { - "timestamp": "2017-11-19T23:55:55.2780000Z", - "maximum": 5 - }, - { - "timestamp": "2017-11-19T23:56:55.2780000Z", - "maximum": 5 - }, - { - "timestamp": "2017-11-19T23:57:55.2780000Z", - "maximum": 5 - }, - { - "timestamp": "2017-11-19T23:58:55.2780000Z", - "maximum": 5 - } - ], - "name": { - "value": "Max RUs Per Second", - "localizedValue": "Max RUs Per Second" - } - } - ] + "parameters": { + "accountName": "ddb1", + "resourceGroupName": "rg1", + "api-version": "2015-04-08", + "subscriptionId": "subid", + "databaseRid": "databaseRid", + "collectionRid": "collectionRid", + "$filter": "$filter=(name.value eq 'Max RUs Per Second') and timeGrain eq duration'PT1M' and startTime eq '2017-11-19T23:53:55.2780000Z' and endTime eq '2017-11-20T23:58:55.2780000Z" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "timeGrain": "PT1M", + "startTime": "2017-11-19T23:53:55.2780000Z", + "endTime": "2017-11-20T23:58:55.2780000Z", + "unit": "Count", + "partitionId": "00000000-0000-0000-0000-000000000000", + "partitionKeyRangeId": "0", + "metricValues": [ + { + "timestamp": "2017-11-19T23:53:55.2780000Z", + "maximum": 5 + }, + { + "timestamp": "2017-11-19T23:54:55.2780000Z", + "maximum": 5 + }, + { + "timestamp": "2017-11-19T23:55:55.2780000Z", + "maximum": 5 + }, + { + "timestamp": "2017-11-19T23:56:55.2780000Z", + "maximum": 5 + }, + { + "timestamp": "2017-11-19T23:57:55.2780000Z", + "maximum": 5 + }, + { + "timestamp": "2017-11-19T23:58:55.2780000Z", + "maximum": 5 + } + ], + "name": { + "value": "Max RUs Per Second", + "localizedValue": "Max RUs Per Second" } - } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBCollectionPartitionGetUsages.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBCollectionPartitionGetUsages.json index 20c305844353..8a9c8f366346 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBCollectionPartitionGetUsages.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBCollectionPartitionGetUsages.json @@ -1,31 +1,31 @@ { - "parameters": { - "accountName": "ddb1", - "resourceGroupName": "rg1", - "api-version": "2015-04-08", - "databaseRid": "databaseRid", - "collectionRid": "collectionRid", - "subscriptionId": "subid", - "$filter": "$filter=name.value eq 'Partition Storage'" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "unit": "Bytes", - "quotaPeriod": "P1D", - "limit": 10737418240, - "currentValue": 0, - "partitionId": "00000000-0000-0000-0000-000000000000", - "partitionKeyRangeId": "0", - "name": { - "value": "Storage", - "localizedValue": "Storage" - } - } - ] + "parameters": { + "accountName": "ddb1", + "resourceGroupName": "rg1", + "api-version": "2015-04-08", + "databaseRid": "databaseRid", + "collectionRid": "collectionRid", + "subscriptionId": "subid", + "$filter": "$filter=name.value eq 'Partition Storage'" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "unit": "Bytes", + "quotaPeriod": "P1D", + "limit": 10737418240, + "currentValue": 0, + "partitionId": "00000000-0000-0000-0000-000000000000", + "partitionKeyRangeId": "0", + "name": { + "value": "Storage", + "localizedValue": "Storage" } - } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBCollectionPartitionRegionGetMetrics.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBCollectionPartitionRegionGetMetrics.json index a57813353a2b..b74389777d54 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBCollectionPartitionRegionGetMetrics.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBCollectionPartitionRegionGetMetrics.json @@ -1,58 +1,58 @@ { - "parameters": { - "accountName": "ddb1", - "resourceGroupName": "rg1", - "api-version": "2015-04-08", - "subscriptionId": "subid", - "databaseRid":"databaseRid", - "collectionRid":"collectionRid", - "region":"North Europe", - "$filter": "$filter=(name.value eq 'Max RUs Per Second') and timeGrain eq duration'PT1M' and startTime eq '2017-11-19T23:53:55.2780000Z' and endTime eq '2017-11-20T23:58:55.2780000Z" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "timeGrain": "PT1M", - "startTime": "2017-11-19T23:53:55.2780000Z", - "endTime": "2017-11-20T23:58:55.2780000Z", - "unit": "Count", - "partitionId": "00000000-0000-0000-0000-000000000000", - "partitionKeyRangeId": "0", - "metricValues": [ - { - "timestamp": "2017-11-19T23:53:55.2780000Z", - "maximum": 5 - }, - { - "timestamp": "2017-11-19T23:54:55.2780000Z", - "maximum": 5 - }, - { - "timestamp": "2017-11-19T23:55:55.2780000Z", - "maximum": 5 - }, - { - "timestamp": "2017-11-19T23:56:55.2780000Z", - "maximum": 5 - }, - { - "timestamp": "2017-11-19T23:57:55.2780000Z", - "maximum": 5 - }, - { - "timestamp": "2017-11-19T23:58:55.2780000Z", - "maximum": 5 - } - ], - "name": { - "value": "Max RUs Per Second", - "localizedValue": "Max RUs Per Second" - } - } - ] + "parameters": { + "accountName": "ddb1", + "resourceGroupName": "rg1", + "api-version": "2015-04-08", + "subscriptionId": "subid", + "databaseRid": "databaseRid", + "collectionRid": "collectionRid", + "region": "North Europe", + "$filter": "$filter=(name.value eq 'Max RUs Per Second') and timeGrain eq duration'PT1M' and startTime eq '2017-11-19T23:53:55.2780000Z' and endTime eq '2017-11-20T23:58:55.2780000Z" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "timeGrain": "PT1M", + "startTime": "2017-11-19T23:53:55.2780000Z", + "endTime": "2017-11-20T23:58:55.2780000Z", + "unit": "Count", + "partitionId": "00000000-0000-0000-0000-000000000000", + "partitionKeyRangeId": "0", + "metricValues": [ + { + "timestamp": "2017-11-19T23:53:55.2780000Z", + "maximum": 5 + }, + { + "timestamp": "2017-11-19T23:54:55.2780000Z", + "maximum": 5 + }, + { + "timestamp": "2017-11-19T23:55:55.2780000Z", + "maximum": 5 + }, + { + "timestamp": "2017-11-19T23:56:55.2780000Z", + "maximum": 5 + }, + { + "timestamp": "2017-11-19T23:57:55.2780000Z", + "maximum": 5 + }, + { + "timestamp": "2017-11-19T23:58:55.2780000Z", + "maximum": 5 + } + ], + "name": { + "value": "Max RUs Per Second", + "localizedValue": "Max RUs Per Second" } - } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountCheckNameExists.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountCheckNameExists.json index eefc00128c1a..2a049f8f4aff 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountCheckNameExists.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountCheckNameExists.json @@ -4,7 +4,7 @@ "api-version": "2015-04-08" }, "responses": { - "200": { }, - "404": { } + "200": {}, + "404": {} } -} \ No newline at end of file +} diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountCreateMax.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountCreateMax.json index 353a2462d9a7..030034b7b039 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountCreateMax.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountCreateMax.json @@ -37,7 +37,7 @@ } }, "responses": { - "200": { + "200": { "body": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/ddb1", "name": "ddb1", @@ -98,4 +98,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountCreateMin.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountCreateMin.json index e831140a749f..94c4e51ef76a 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountCreateMin.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountCreateMin.json @@ -18,7 +18,7 @@ } }, "responses": { - "200": { + "200": { "body": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/ddb1", "name": "ddb1", @@ -62,4 +62,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountDelete.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountDelete.json index 568a4e238754..8ae1d42c4a4c 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountDelete.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountDelete.json @@ -6,7 +6,7 @@ "subscriptionId": "subid" }, "responses": { - "202": { }, - "204": { } + "202": {}, + "204": {} } -} \ No newline at end of file +} diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountFailoverPriorityChange.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountFailoverPriorityChange.json index 620edaf55573..818a399c203f 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountFailoverPriorityChange.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountFailoverPriorityChange.json @@ -18,7 +18,7 @@ } }, "responses": { - "202": { }, - "204": { } + "202": {}, + "204": {} } -} \ No newline at end of file +} diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountGet.json index 8a5253f1bb3c..dc77046823c2 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountGet.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountGet.json @@ -6,7 +6,7 @@ "subscriptionId": "subid" }, "responses": { - "200": { + "200": { "body": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/ddb1", "name": "ddb1", @@ -55,4 +55,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountGetMetricDefinitions.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountGetMetricDefinitions.json index 930277f0aaec..bca1e3bf032b 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountGetMetricDefinitions.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountGetMetricDefinitions.json @@ -1,39 +1,39 @@ { - "parameters": { - "accountName": "ddb1", - "resourceGroupName": "rg1", - "subscriptionId": "subid", - "api-version": "2015-04-08" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "metricAvailabilities": [ - { - "timeGrain": "PT5M", - "retention": "P2D" - }, - { - "timeGrain": "PT1H", - "retention": "P14D" - }, - { - "timeGrain": "P1D", - "retention": "P60D" - } - ], - "primaryAggregationType": "Total", - "unit": "Count", - "resourceUri": "\/subscriptions\/subId\/resourceGroups\/rg1\/providers\/Microsoft.DocumentDB\/databaseAccounts\/ddb1", - "name": { - "value": "Total Requests", - "localizedValue": "Total Requests" - } - } - ] + "parameters": { + "accountName": "ddb1", + "resourceGroupName": "rg1", + "subscriptionId": "subid", + "api-version": "2015-04-08" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "metricAvailabilities": [ + { + "timeGrain": "PT5M", + "retention": "P2D" + }, + { + "timeGrain": "PT1H", + "retention": "P14D" + }, + { + "timeGrain": "P1D", + "retention": "P60D" + } + ], + "primaryAggregationType": "Total", + "unit": "Count", + "resourceUri": "\/subscriptions\/subId\/resourceGroups\/rg1\/providers\/Microsoft.DocumentDB\/databaseAccounts\/ddb1", + "name": { + "value": "Total Requests", + "localizedValue": "Total Requests" } - } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountGetMetrics.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountGetMetrics.json index 96cd1c430935..b6e1761c464c 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountGetMetrics.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountGetMetrics.json @@ -1,53 +1,53 @@ { - "parameters": { - "accountName": "ddb1", - "resourceGroupName": "rg1", - "api-version": "2015-04-08", - "subscriptionId": "subid", - "$filter": "$filter=(name.value eq 'Total Requests') and timeGrain eq duration'PT5M' and startTime eq '2017-11-19T23:53:55.2780000Z' and endTime eq '2017-11-20T00:13:55.2780000Z" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "timeGrain": "PT5M", - "startTime": "2017-11-19T23:53:55.2780000Z", - "endTime": "2017-11-20T00:13:55.2780000Z", - "unit": "Count", - "metricValues": [ - { - "timestamp": "2017-11-19T23:53:55.2780000Z", - "total": 0, - "_count": 0, - "average": 0 - }, - { - "timestamp": "2017-11-19T23:58:55.2780000Z", - "total": 0, - "_count": 0, - "average": 0 - }, - { - "timestamp": "2017-11-20T00:03:55.2780000Z", - "total": 0, - "_count": 0, - "average": 0 - }, - { - "timestamp": "2017-11-20T00:08:55.2780000Z", - "total": 0, - "_count": 0, - "average": 0 - } - ], - "name": { - "value": "Total Requests", - "localizedValue": "Total Requests" - } - } - ] + "parameters": { + "accountName": "ddb1", + "resourceGroupName": "rg1", + "api-version": "2015-04-08", + "subscriptionId": "subid", + "$filter": "$filter=(name.value eq 'Total Requests') and timeGrain eq duration'PT5M' and startTime eq '2017-11-19T23:53:55.2780000Z' and endTime eq '2017-11-20T00:13:55.2780000Z" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "timeGrain": "PT5M", + "startTime": "2017-11-19T23:53:55.2780000Z", + "endTime": "2017-11-20T00:13:55.2780000Z", + "unit": "Count", + "metricValues": [ + { + "timestamp": "2017-11-19T23:53:55.2780000Z", + "total": 0, + "_count": 0, + "average": 0 + }, + { + "timestamp": "2017-11-19T23:58:55.2780000Z", + "total": 0, + "_count": 0, + "average": 0 + }, + { + "timestamp": "2017-11-20T00:03:55.2780000Z", + "total": 0, + "_count": 0, + "average": 0 + }, + { + "timestamp": "2017-11-20T00:08:55.2780000Z", + "total": 0, + "_count": 0, + "average": 0 + } + ], + "name": { + "value": "Total Requests", + "localizedValue": "Total Requests" } - } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountGetUsages.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountGetUsages.json index 5d734a33e7c6..8df625262e4d 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountGetUsages.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountGetUsages.json @@ -1,27 +1,27 @@ { - "parameters": { - "accountName": "ddb1", - "resourceGroupName": "rg1", - "api-version": "2015-04-08", - "subscriptionId": "subid", - "$filter": "$filter=name.value eq 'Storage'" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "unit": "Bytes", - "quotaPeriod": "P1D", - "limit": 10737418240, - "currentValue": 0, - "name": { - "value": "Storage", - "localizedValue": "Storage" - } - } - ] + "parameters": { + "accountName": "ddb1", + "resourceGroupName": "rg1", + "api-version": "2015-04-08", + "subscriptionId": "subid", + "$filter": "$filter=name.value eq 'Storage'" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "unit": "Bytes", + "quotaPeriod": "P1D", + "limit": 10737418240, + "currentValue": 0, + "name": { + "value": "Storage", + "localizedValue": "Storage" } - } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountList.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountList.json index d7551ec9a282..e6e8b362fe83 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountList.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountList.json @@ -55,4 +55,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountListByResourceGroup.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountListByResourceGroup.json index cb4ad7a5fbcf..4fa72b39ab4b 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountListByResourceGroup.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountListByResourceGroup.json @@ -56,4 +56,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountListConnectionStrings.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountListConnectionStrings.json index eaade99a33f2..55200c9a02f0 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountListConnectionStrings.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountListConnectionStrings.json @@ -6,6 +6,8 @@ "subscriptionId": "subid" }, "responses": { - "200": { "body": {} } + "200": { + "body": {} + } } -} \ No newline at end of file +} diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountListConnectionStringsMongo.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountListConnectionStringsMongo.json index a88d99558973..7717ae3b17b3 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountListConnectionStringsMongo.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountListConnectionStringsMongo.json @@ -7,14 +7,14 @@ }, "responses": { "200": { - "body": { - "connectionStrings": [ - { - "connectionString": "connection-string", - "description": "Name of the connection string" - } - ] - } + "body": { + "connectionStrings": [ + { + "connectionString": "connection-string", + "description": "Name of the connection string" + } + ] + } } } -} \ No newline at end of file +} diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountListKeys.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountListKeys.json index fc3907e25fbf..f04f6c904308 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountListKeys.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountListKeys.json @@ -6,7 +6,7 @@ "subscriptionId": "subid" }, "responses": { - "200": { + "200": { "body": { "primaryMasterKey": "primaryMasterKey", "secondaryMasterKey": "secondaryMasterKey", @@ -17,4 +17,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountListReadOnlyKeys.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountListReadOnlyKeys.json index 3964ad68cdd1..7977f15e2e4f 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountListReadOnlyKeys.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountListReadOnlyKeys.json @@ -6,7 +6,7 @@ "subscriptionId": "subid" }, "responses": { - "200": { + "200": { "body": { "primaryReadonlyMasterKey": "primaryReadonlyMasterKey", "secondaryReadonlyMasterKey": "secondaryReadonlyMasterKey" @@ -14,4 +14,3 @@ } } } - diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountOfflineRegion.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountOfflineRegion.json index de52c8749e01..10d50e5f6870 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountOfflineRegion.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountOfflineRegion.json @@ -4,7 +4,7 @@ "resourceGroupName": "rg1", "api-version": "2015-04-08", "subscriptionId": "subid", - "region":"North Europe", + "region": "North Europe", "regionParameterForOffline": [ { "region": "North Europe" @@ -12,7 +12,7 @@ ] }, "responses": { - "200": { }, - "202": { } + "200": {}, + "202": {} } -} \ No newline at end of file +} diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountOnlineRegion.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountOnlineRegion.json index b1d4bee16c37..06092522357b 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountOnlineRegion.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountOnlineRegion.json @@ -4,7 +4,7 @@ "resourceGroupName": "rg1", "api-version": "2015-04-08", "subscriptionId": "subid", - "region":"North Europe", + "region": "North Europe", "regionParameterForOnline": [ { "region": "North Europe" @@ -12,7 +12,7 @@ ] }, "responses": { - "200": { }, - "202": { } + "200": {}, + "202": {} } -} \ No newline at end of file +} diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountPatch.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountPatch.json index 797b60c62a86..937e97c627de 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountPatch.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountPatch.json @@ -1,17 +1,17 @@ { - "parameters": { - "accountName": "ddb1", - "resourceGroupName": "rg1", - "api-version": "2015-04-08", - "subscriptionId": "subid", - "updateParameters": { - "tags": { - "dept": "finance" - } + "parameters": { + "accountName": "ddb1", + "resourceGroupName": "rg1", + "api-version": "2015-04-08", + "subscriptionId": "subid", + "updateParameters": { + "tags": { + "dept": "finance" } + } }, "responses": { - "200": { + "200": { "body": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/ddb1", "name": "ddb1", @@ -58,4 +58,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountRegenerateKey.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountRegenerateKey.json index 833215ff884e..761af9be434e 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountRegenerateKey.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountRegenerateKey.json @@ -9,7 +9,7 @@ } }, "responses": { - "200": { }, - "202": { } + "200": {}, + "202": {} } -} \ No newline at end of file +} diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountRegionGetMetrics.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountRegionGetMetrics.json index 8b73a5ea1807..885f37897be7 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountRegionGetMetrics.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountRegionGetMetrics.json @@ -1,54 +1,54 @@ { - "parameters": { - "accountName": "ddb1", - "resourceGroupName": "rg1", - "api-version": "2015-04-08", - "subscriptionId": "subid", - "region":"North Europe", - "$filter": "$filter=(name.value eq 'Total Requests') and timeGrain eq duration'PT5M' and startTime eq '2017-11-19T23:53:55.2780000Z' and endTime eq '2017-11-20T00:13:55.2780000Z" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "timeGrain": "PT5M", - "startTime": "2017-11-19T23:53:55.2780000Z", - "endTime": "2017-11-20T00:13:55.2780000Z", - "unit": "Count", - "metricValues": [ - { - "timestamp": "2017-11-19T23:53:55.2780000Z", - "total": 0, - "_count": 0, - "average": 0 - }, - { - "timestamp": "2017-11-19T23:58:55.2780000Z", - "total": 0, - "_count": 0, - "average": 0 - }, - { - "timestamp": "2017-11-20T00:03:55.2780000Z", - "total": 0, - "_count": 0, - "average": 0 - }, - { - "timestamp": "2017-11-20T00:08:55.2780000Z", - "total": 0, - "_count": 0, - "average": 0 - } - ], - "name": { - "value": "Total Requests", - "localizedValue": "Total Requests" - } - } - ] + "parameters": { + "accountName": "ddb1", + "resourceGroupName": "rg1", + "api-version": "2015-04-08", + "subscriptionId": "subid", + "region": "North Europe", + "$filter": "$filter=(name.value eq 'Total Requests') and timeGrain eq duration'PT5M' and startTime eq '2017-11-19T23:53:55.2780000Z' and endTime eq '2017-11-20T00:13:55.2780000Z" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "timeGrain": "PT5M", + "startTime": "2017-11-19T23:53:55.2780000Z", + "endTime": "2017-11-20T00:13:55.2780000Z", + "unit": "Count", + "metricValues": [ + { + "timestamp": "2017-11-19T23:53:55.2780000Z", + "total": 0, + "_count": 0, + "average": 0 + }, + { + "timestamp": "2017-11-19T23:58:55.2780000Z", + "total": 0, + "_count": 0, + "average": 0 + }, + { + "timestamp": "2017-11-20T00:03:55.2780000Z", + "total": 0, + "_count": 0, + "average": 0 + }, + { + "timestamp": "2017-11-20T00:08:55.2780000Z", + "total": 0, + "_count": 0, + "average": 0 + } + ], + "name": { + "value": "Total Requests", + "localizedValue": "Total Requests" } - } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseGetMetricDefinitions.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseGetMetricDefinitions.json index 61fbe0446620..da325cde351b 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseGetMetricDefinitions.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseGetMetricDefinitions.json @@ -1,40 +1,40 @@ { - "parameters": { - "accountName": "ddb1", - "resourceGroupName": "rg1", - "subscriptionId": "subid", - "api-version": "2015-04-08", - "databaseRid": "databaseRid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "metricAvailabilities": [ - { - "timeGrain": "PT5M", - "retention": "P2D" - }, - { - "timeGrain": "PT1H", - "retention": "P14D" - }, - { - "timeGrain": "P1D", - "retention": "P60D" - } - ], - "primaryAggregationType": "Total", - "unit": "Count", - "resourceUri": "\/subscriptions\/subId\/resourceGroups\/rg1\/providers\/Microsoft.DocumentDB\/databaseAccounts\/ddb1", - "name": { - "value": "Total Requests", - "localizedValue": "Total Requests" - } - } - ] + "parameters": { + "accountName": "ddb1", + "resourceGroupName": "rg1", + "subscriptionId": "subid", + "api-version": "2015-04-08", + "databaseRid": "databaseRid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "metricAvailabilities": [ + { + "timeGrain": "PT5M", + "retention": "P2D" + }, + { + "timeGrain": "PT1H", + "retention": "P14D" + }, + { + "timeGrain": "P1D", + "retention": "P60D" + } + ], + "primaryAggregationType": "Total", + "unit": "Count", + "resourceUri": "\/subscriptions\/subId\/resourceGroups\/rg1\/providers\/Microsoft.DocumentDB\/databaseAccounts\/ddb1", + "name": { + "value": "Total Requests", + "localizedValue": "Total Requests" } - } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseGetMetrics.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseGetMetrics.json index 4aca04edf1dc..0c6ee1ddccd2 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseGetMetrics.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseGetMetrics.json @@ -1,54 +1,54 @@ { - "parameters": { - "accountName": "ddb1", - "resourceGroupName": "rg1", - "api-version": "2015-04-08", - "subscriptionId": "subid", - "databaseRid":"rid", - "$filter": "$filter=(name.value eq 'Total Requests') and timeGrain eq duration'PT5M' and startTime eq '2017-11-19T23:53:55.2780000Z' and endTime eq '2017-11-20T00:13:55.2780000Z" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "timeGrain": "PT5M", - "startTime": "2017-11-19T23:53:55.2780000Z", - "endTime": "2017-11-20T00:13:55.2780000Z", - "unit": "Count", - "metricValues": [ - { - "timestamp": "2017-11-19T23:53:55.2780000Z", - "total": 0, - "_count": 0, - "average": 0 - }, - { - "timestamp": "2017-11-19T23:58:55.2780000Z", - "total": 0, - "_count": 0, - "average": 0 - }, - { - "timestamp": "2017-11-20T00:03:55.2780000Z", - "total": 0, - "_count": 0, - "average": 0 - }, - { - "timestamp": "2017-11-20T00:08:55.2780000Z", - "total": 0, - "_count": 0, - "average": 0 - } - ], - "name": { - "value": "Total Requests", - "localizedValue": "Total Requests" - } - } - ] + "parameters": { + "accountName": "ddb1", + "resourceGroupName": "rg1", + "api-version": "2015-04-08", + "subscriptionId": "subid", + "databaseRid": "rid", + "$filter": "$filter=(name.value eq 'Total Requests') and timeGrain eq duration'PT5M' and startTime eq '2017-11-19T23:53:55.2780000Z' and endTime eq '2017-11-20T00:13:55.2780000Z" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "timeGrain": "PT5M", + "startTime": "2017-11-19T23:53:55.2780000Z", + "endTime": "2017-11-20T00:13:55.2780000Z", + "unit": "Count", + "metricValues": [ + { + "timestamp": "2017-11-19T23:53:55.2780000Z", + "total": 0, + "_count": 0, + "average": 0 + }, + { + "timestamp": "2017-11-19T23:58:55.2780000Z", + "total": 0, + "_count": 0, + "average": 0 + }, + { + "timestamp": "2017-11-20T00:03:55.2780000Z", + "total": 0, + "_count": 0, + "average": 0 + }, + { + "timestamp": "2017-11-20T00:08:55.2780000Z", + "total": 0, + "_count": 0, + "average": 0 + } + ], + "name": { + "value": "Total Requests", + "localizedValue": "Total Requests" } - } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseGetUsages.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseGetUsages.json index c8aeb9b7b663..b024e73a32e3 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseGetUsages.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseGetUsages.json @@ -1,28 +1,28 @@ { - "parameters": { - "accountName": "ddb1", - "resourceGroupName": "rg1", - "api-version": "2015-04-08", - "databaseRid": "databaseRid", - "subscriptionId": "subid", - "$filter": "$filter=name.value eq 'Storage'" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "unit": "Bytes", - "quotaPeriod": "P1D", - "limit": 10737418240, - "currentValue": 0, - "name": { - "value": "Storage", - "localizedValue": "Storage" - } - } - ] + "parameters": { + "accountName": "ddb1", + "resourceGroupName": "rg1", + "api-version": "2015-04-08", + "databaseRid": "databaseRid", + "subscriptionId": "subid", + "$filter": "$filter=name.value eq 'Storage'" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "unit": "Bytes", + "quotaPeriod": "P1D", + "limit": 10737418240, + "currentValue": 0, + "name": { + "value": "Storage", + "localizedValue": "Storage" } - } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBGremlinDatabaseCreateUpdate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBGremlinDatabaseCreateUpdate.json index 54bdd9c30df1..9edd90e3a6f0 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBGremlinDatabaseCreateUpdate.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBGremlinDatabaseCreateUpdate.json @@ -7,16 +7,15 @@ "databaseName": "databaseName", "createUpdateGremlinDatabaseParameters": { "properties": { - "resource": { - "id": "databaseName" - }, - "options": { - } + "resource": { + "id": "databaseName" + }, + "options": {} } } }, "responses": { - "200": { + "200": { "body": { "id": "databaseName", "name": "databaseName", @@ -29,8 +28,6 @@ } } }, - "202": { - - } + "202": {} } -} \ No newline at end of file +} diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBGremlinDatabaseDelete.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBGremlinDatabaseDelete.json index 992e802bffbd..f6b926e32f89 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBGremlinDatabaseDelete.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBGremlinDatabaseDelete.json @@ -7,7 +7,7 @@ "databaseName": "databaseName" }, "responses": { - "204": { }, - "202": { } + "204": {}, + "202": {} } -} \ No newline at end of file +} diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBGremlinDatabaseGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBGremlinDatabaseGet.json index 76d749e654eb..689ca96e0ffa 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBGremlinDatabaseGet.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBGremlinDatabaseGet.json @@ -7,7 +7,7 @@ "databaseName": "databaseName" }, "responses": { - "200": { + "200": { "body": { "id": "databaseName", "name": "databaseName", @@ -21,4 +21,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBGremlinDatabaseList.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBGremlinDatabaseList.json index 95776f31a04f..68e72656af2c 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBGremlinDatabaseList.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBGremlinDatabaseList.json @@ -24,4 +24,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBGremlinGraphCreateUpdate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBGremlinGraphCreateUpdate.json index ab6db03aa565..980202f358ed 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBGremlinGraphCreateUpdate.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBGremlinGraphCreateUpdate.json @@ -8,58 +8,57 @@ "graphName": "graphName", "createUpdateGremlinGraphParameters": { "properties": { - "resource": { - "id": "graphName", - "indexingPolicy": { - "indexingMode": "Consistent", - "automatic": true, - "includedPaths": [ - { - "path": "/*", - "indexes": [ - { - "kind": "Range", - "dataType": "String", - "precision": -1 - }, - { - "kind": "Range", - "dataType": "Number", - "precision": -1 - } - ] - } - ], - "excludedPaths": [] - }, - "partitionKey": { - "paths": [ - "/AccountNumber" - ], - "kind": "Hash" - }, - "defaultTtl": 100, - "uniqueKeyPolicy": { - "uniqueKeys": [ - { - "paths": [ - "/testPath" - ] - } - ] - }, - "conflictResolutionPolicy": { - "mode": "LastWriterWins", - "conflictResolutionPath": "/path" - } + "resource": { + "id": "graphName", + "indexingPolicy": { + "indexingMode": "Consistent", + "automatic": true, + "includedPaths": [ + { + "path": "/*", + "indexes": [ + { + "kind": "Range", + "dataType": "String", + "precision": -1 + }, + { + "kind": "Range", + "dataType": "Number", + "precision": -1 + } + ] + } + ], + "excludedPaths": [] }, - "options": { + "partitionKey": { + "paths": [ + "/AccountNumber" + ], + "kind": "Hash" + }, + "defaultTtl": 100, + "uniqueKeyPolicy": { + "uniqueKeys": [ + { + "paths": [ + "/testPath" + ] + } + ] + }, + "conflictResolutionPolicy": { + "mode": "LastWriterWins", + "conflictResolutionPath": "/path" } + }, + "options": {} } } }, "responses": { - "200": { + "200": { "body": { "id": "graphName", "name": "graphName", @@ -114,8 +113,6 @@ } } }, - "202": { - - } + "202": {} } -} \ No newline at end of file +} diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBGremlinGraphDelete.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBGremlinGraphDelete.json index 7f8495e2d349..f0dac5b83d63 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBGremlinGraphDelete.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBGremlinGraphDelete.json @@ -8,7 +8,7 @@ "graphName": "graphName" }, "responses": { - "204": { }, - "202": { } + "204": {}, + "202": {} } -} \ No newline at end of file +} diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBGremlinGraphGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBGremlinGraphGet.json index cb09924086a3..0004fe713220 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBGremlinGraphGet.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBGremlinGraphGet.json @@ -64,4 +64,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBGremlinGraphList.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBGremlinGraphList.json index b5bcaa6c61ec..cd33f4e198d4 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBGremlinGraphList.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBGremlinGraphList.json @@ -67,4 +67,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBMongoDBCollectionCreateUpdate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBMongoDBCollectionCreateUpdate.json index 24aa34797fea..57dc4cd3c761 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBMongoDBCollectionCreateUpdate.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBMongoDBCollectionCreateUpdate.json @@ -8,32 +8,31 @@ "collectionName": "collectionName", "createUpdateMongoDBCollectionParameters": { "properties": { - "resource": { - "id": "testcoll", - "indexes": [ - { - "key": { - "keys": [ - "testKey" - ] - }, - "options": { - "expireAfterSeconds": 100, - "unique": true - } + "resource": { + "id": "testcoll", + "indexes": [ + { + "key": { + "keys": [ + "testKey" + ] + }, + "options": { + "expireAfterSeconds": 100, + "unique": true } - ], - "shardKey": { - "testKey": "Hash" } - }, - "options": { + ], + "shardKey": { + "testKey": "Hash" } + }, + "options": {} } } }, "responses": { - "200": { + "200": { "body": { "id": "collectionName", "name": "collectionName", @@ -59,8 +58,6 @@ } } }, - "202": { - - } + "202": {} } -} \ No newline at end of file +} diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBMongoDBCollectionDelete.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBMongoDBCollectionDelete.json index 4d3b99c248ac..8f734370a9e9 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBMongoDBCollectionDelete.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBMongoDBCollectionDelete.json @@ -8,7 +8,7 @@ "collectionName": "collectionName" }, "responses": { - "204": { }, - "202": { } + "204": {}, + "202": {} } -} \ No newline at end of file +} diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBMongoDBCollectionGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBMongoDBCollectionGet.json index 6b30fc7db62d..b3de460fab6f 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBMongoDBCollectionGet.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBMongoDBCollectionGet.json @@ -35,4 +35,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBMongoDBCollectionList.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBMongoDBCollectionList.json index f746ab564614..100f9b22a697 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBMongoDBCollectionList.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBMongoDBCollectionList.json @@ -38,4 +38,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBMongoDBDatabaseCreateUpdate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBMongoDBDatabaseCreateUpdate.json index 56c65699d009..d5669321a823 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBMongoDBDatabaseCreateUpdate.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBMongoDBDatabaseCreateUpdate.json @@ -7,16 +7,15 @@ "databaseName": "databaseName", "createUpdateMongoDBDatabaseParameters": { "properties": { - "resource": { - "id": "updatedDatabaseName" - }, - "options": { - } + "resource": { + "id": "updatedDatabaseName" + }, + "options": {} } } }, "responses": { - "200": { + "200": { "body": { "id": "updatedDatabaseName", "name": "updatedDatabaseName", @@ -26,8 +25,6 @@ } } }, - "202": { - - } + "202": {} } -} \ No newline at end of file +} diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBMongoDBDatabaseDelete.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBMongoDBDatabaseDelete.json index 992e802bffbd..f6b926e32f89 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBMongoDBDatabaseDelete.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBMongoDBDatabaseDelete.json @@ -7,7 +7,7 @@ "databaseName": "databaseName" }, "responses": { - "204": { }, - "202": { } + "204": {}, + "202": {} } -} \ No newline at end of file +} diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBMongoDBDatabaseGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBMongoDBDatabaseGet.json index 7fa615b84473..7b120f22fd40 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBMongoDBDatabaseGet.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBMongoDBDatabaseGet.json @@ -7,7 +7,7 @@ "databaseName": "databaseName" }, "responses": { - "200": { + "200": { "body": { "id": "databaseName", "name": "databaseName", @@ -18,4 +18,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBMongoDBDatabaseList.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBMongoDBDatabaseList.json index e90d781caa34..24cdf9fc0a26 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBMongoDBDatabaseList.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBMongoDBDatabaseList.json @@ -21,4 +21,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBPKeyRangeIdGetMetrics.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBPKeyRangeIdGetMetrics.json index 83c8d9fbb992..a6e07faee7f8 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBPKeyRangeIdGetMetrics.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBPKeyRangeIdGetMetrics.json @@ -1,58 +1,58 @@ { - "parameters": { - "accountName": "ddb1", - "resourceGroupName": "rg1", - "api-version": "2015-04-08", - "subscriptionId": "subid", - "databaseRid":"databaseRid", - "collectionRid":"collectionRid", - "partitionKeyRangeId": "0", - "$filter": "$filter=(name.value eq 'Max RUs Per Second') and timeGrain eq duration'PT1M' and startTime eq '2017-11-19T23:53:55.2780000Z' and endTime eq '2017-11-20T23:58:55.2780000Z" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "timeGrain": "PT1M", - "startTime": "2017-11-19T23:53:55.2780000Z", - "endTime": "2017-11-20T23:58:55.2780000Z", - "unit": "Count", - "partitionId": "00000000-0000-0000-0000-000000000000", - "partitionKeyRangeId": "0", - "metricValues": [ - { - "timestamp": "2017-11-19T23:53:55.2780000Z", - "maximum": 5 - }, - { - "timestamp": "2017-11-19T23:54:55.2780000Z", - "maximum": 5 - }, - { - "timestamp": "2017-11-19T23:55:55.2780000Z", - "maximum": 5 - }, - { - "timestamp": "2017-11-19T23:56:55.2780000Z", - "maximum": 5 - }, - { - "timestamp": "2017-11-19T23:57:55.2780000Z", - "maximum": 5 - }, - { - "timestamp": "2017-11-19T23:58:55.2780000Z", - "maximum": 5 - } - ], - "name": { - "value": "Max RUs Per Second", - "localizedValue": "Max RUs Per Second" - } - } - ] + "parameters": { + "accountName": "ddb1", + "resourceGroupName": "rg1", + "api-version": "2015-04-08", + "subscriptionId": "subid", + "databaseRid": "databaseRid", + "collectionRid": "collectionRid", + "partitionKeyRangeId": "0", + "$filter": "$filter=(name.value eq 'Max RUs Per Second') and timeGrain eq duration'PT1M' and startTime eq '2017-11-19T23:53:55.2780000Z' and endTime eq '2017-11-20T23:58:55.2780000Z" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "timeGrain": "PT1M", + "startTime": "2017-11-19T23:53:55.2780000Z", + "endTime": "2017-11-20T23:58:55.2780000Z", + "unit": "Count", + "partitionId": "00000000-0000-0000-0000-000000000000", + "partitionKeyRangeId": "0", + "metricValues": [ + { + "timestamp": "2017-11-19T23:53:55.2780000Z", + "maximum": 5 + }, + { + "timestamp": "2017-11-19T23:54:55.2780000Z", + "maximum": 5 + }, + { + "timestamp": "2017-11-19T23:55:55.2780000Z", + "maximum": 5 + }, + { + "timestamp": "2017-11-19T23:56:55.2780000Z", + "maximum": 5 + }, + { + "timestamp": "2017-11-19T23:57:55.2780000Z", + "maximum": 5 + }, + { + "timestamp": "2017-11-19T23:58:55.2780000Z", + "maximum": 5 + } + ], + "name": { + "value": "Max RUs Per Second", + "localizedValue": "Max RUs Per Second" } - } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBPKeyRangeIdRegionGetMetrics.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBPKeyRangeIdRegionGetMetrics.json index f2eb660caf4e..91b71677ae16 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBPKeyRangeIdRegionGetMetrics.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBPKeyRangeIdRegionGetMetrics.json @@ -1,59 +1,59 @@ { - "parameters": { - "accountName": "ddb1", - "resourceGroupName": "rg1", - "api-version": "2015-04-08", - "subscriptionId": "subid", - "databaseRid":"databaseRid", - "collectionRid":"collectionRid", - "partitionKeyRangeId": "0", - "region": "West US", - "$filter": "$filter=(name.value eq 'Max RUs Per Second') and timeGrain eq duration'PT1M' and startTime eq '2017-11-19T23:53:55.2780000Z' and endTime eq '2017-11-20T23:58:55.2780000Z" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "timeGrain": "PT1M", - "startTime": "2017-11-19T23:53:55.2780000Z", - "endTime": "2017-11-20T23:58:55.2780000Z", - "unit": "Count", - "partitionId": "00000000-0000-0000-0000-000000000000", - "partitionKeyRangeId": "0", - "metricValues": [ - { - "timestamp": "2017-11-19T23:53:55.2780000Z", - "maximum": 5 - }, - { - "timestamp": "2017-11-19T23:54:55.2780000Z", - "maximum": 5 - }, - { - "timestamp": "2017-11-19T23:55:55.2780000Z", - "maximum": 5 - }, - { - "timestamp": "2017-11-19T23:56:55.2780000Z", - "maximum": 5 - }, - { - "timestamp": "2017-11-19T23:57:55.2780000Z", - "maximum": 5 - }, - { - "timestamp": "2017-11-19T23:58:55.2780000Z", - "maximum": 5 - } - ], - "name": { - "value": "Max RUs Per Second", - "localizedValue": "Max RUs Per Second" - } - } - ] + "parameters": { + "accountName": "ddb1", + "resourceGroupName": "rg1", + "api-version": "2015-04-08", + "subscriptionId": "subid", + "databaseRid": "databaseRid", + "collectionRid": "collectionRid", + "partitionKeyRangeId": "0", + "region": "West US", + "$filter": "$filter=(name.value eq 'Max RUs Per Second') and timeGrain eq duration'PT1M' and startTime eq '2017-11-19T23:53:55.2780000Z' and endTime eq '2017-11-20T23:58:55.2780000Z" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "timeGrain": "PT1M", + "startTime": "2017-11-19T23:53:55.2780000Z", + "endTime": "2017-11-20T23:58:55.2780000Z", + "unit": "Count", + "partitionId": "00000000-0000-0000-0000-000000000000", + "partitionKeyRangeId": "0", + "metricValues": [ + { + "timestamp": "2017-11-19T23:53:55.2780000Z", + "maximum": 5 + }, + { + "timestamp": "2017-11-19T23:54:55.2780000Z", + "maximum": 5 + }, + { + "timestamp": "2017-11-19T23:55:55.2780000Z", + "maximum": 5 + }, + { + "timestamp": "2017-11-19T23:56:55.2780000Z", + "maximum": 5 + }, + { + "timestamp": "2017-11-19T23:57:55.2780000Z", + "maximum": 5 + }, + { + "timestamp": "2017-11-19T23:58:55.2780000Z", + "maximum": 5 + } + ], + "name": { + "value": "Max RUs Per Second", + "localizedValue": "Max RUs Per Second" } - } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBPercentileGetMetrics.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBPercentileGetMetrics.json index 95171a06b43a..7eb81264d9ee 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBPercentileGetMetrics.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBPercentileGetMetrics.json @@ -1,61 +1,61 @@ { - "parameters": { - "accountName": "ddb1", - "resourceGroupName": "rg1", - "api-version": "2015-04-08", - "subscriptionId": "subid", - "$filter": "$filter=(name.value eq 'Probabilistic Bounded Staleness') and timeGrain eq duration'PT5M' and startTime eq '2017-11-19T23:53:55.2780000Z' and endTime eq '2017-11-20T00:13:55.2780000Z" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "timeGrain": "PT5M", - "startTime": "2017-11-19T23:53:55.2780000Z", - "endTime": "2017-11-20T00:13:55.2780000Z", - "unit": "Milliseconds", - "metricValues": [ - { - "timestamp": "2017-11-19T23:53:55.2780000Z", - "P10": 1.11, - "P25": 2.5, - "P50": 4.34, - "P75": 5.2, - "P90": 6.77, - "P95": 7.1, - "P99": 8.3 - } - ], - "name": { - "value": "Probabilistic Bounded Staleness-S-West Central US-T-East US", - "localizedValue": "Probabilistic Bounded Staleness-S-West Central US-T-East US" - } - }, - { - "timeGrain": "PT5M", - "startTime": "2017-11-19T23:53:55.2780000Z", - "endTime": "2017-11-20T00:13:55.2780000Z", - "unit": "Milliseconds", - "metricValues": [ - { - "timestamp": "2017-11-19T23:53:55.2780000Z", - "P10": 1.11, - "P25": 2.5, - "P50": 4.34, - "P75": 5.2, - "P90": 6.77, - "P95": 7.1, - "P99": 8.3 - } - ], - "name": { - "value": "Probabilistic Bounded Staleness-S-West Central US-T-West US", - "localizedValue": "Probabilistic Bounded Staleness-S-West Central US-T-West US" - } - } - ] + "parameters": { + "accountName": "ddb1", + "resourceGroupName": "rg1", + "api-version": "2015-04-08", + "subscriptionId": "subid", + "$filter": "$filter=(name.value eq 'Probabilistic Bounded Staleness') and timeGrain eq duration'PT5M' and startTime eq '2017-11-19T23:53:55.2780000Z' and endTime eq '2017-11-20T00:13:55.2780000Z" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "timeGrain": "PT5M", + "startTime": "2017-11-19T23:53:55.2780000Z", + "endTime": "2017-11-20T00:13:55.2780000Z", + "unit": "Milliseconds", + "metricValues": [ + { + "timestamp": "2017-11-19T23:53:55.2780000Z", + "P10": 1.11, + "P25": 2.5, + "P50": 4.34, + "P75": 5.2, + "P90": 6.77, + "P95": 7.1, + "P99": 8.3 + } + ], + "name": { + "value": "Probabilistic Bounded Staleness-S-West Central US-T-East US", + "localizedValue": "Probabilistic Bounded Staleness-S-West Central US-T-East US" } - } + }, + { + "timeGrain": "PT5M", + "startTime": "2017-11-19T23:53:55.2780000Z", + "endTime": "2017-11-20T00:13:55.2780000Z", + "unit": "Milliseconds", + "metricValues": [ + { + "timestamp": "2017-11-19T23:53:55.2780000Z", + "P10": 1.11, + "P25": 2.5, + "P50": 4.34, + "P75": 5.2, + "P90": 6.77, + "P95": 7.1, + "P99": 8.3 + } + ], + "name": { + "value": "Probabilistic Bounded Staleness-S-West Central US-T-West US", + "localizedValue": "Probabilistic Bounded Staleness-S-West Central US-T-West US" + } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBPercentileSourceTargetGetMetrics.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBPercentileSourceTargetGetMetrics.json index 3b46bf3ce9de..cd9d2dfe2c65 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBPercentileSourceTargetGetMetrics.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBPercentileSourceTargetGetMetrics.json @@ -1,41 +1,41 @@ { - "parameters": { - "accountName": "ddb1", - "resourceGroupName": "rg1", - "api-version": "2015-04-08", - "subscriptionId": "subid", - "sourceRegion": "West Central US", - "targetRegion": "East US", - "$filter": "$filter=(name.value eq 'Probabilistic Bounded Staleness') and timeGrain eq duration'PT5M' and startTime eq '2017-11-19T23:53:55.2780000Z' and endTime eq '2017-11-20T00:13:55.2780000Z" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "timeGrain": "PT5M", - "startTime": "2017-11-19T23:53:55.2780000Z", - "endTime": "2017-11-20T00:13:55.2780000Z", - "unit": "Milliseconds", - "metricValues": [ - { - "timestamp": "2017-11-19T23:53:55.2780000Z", - "P10": 1.11, - "P25": 2.5, - "P50": 4.34, - "P75": 5.2, - "P90": 6.77, - "P95": 7.1, - "P99": 8.3 - } - ], - "name": { - "value": "Probabilistic Bounded Staleness-S-West Central US-T-East US", - "localizedValue": "Probabilistic Bounded Staleness-S-West Central US-T-East US" - } - } - ] + "parameters": { + "accountName": "ddb1", + "resourceGroupName": "rg1", + "api-version": "2015-04-08", + "subscriptionId": "subid", + "sourceRegion": "West Central US", + "targetRegion": "East US", + "$filter": "$filter=(name.value eq 'Probabilistic Bounded Staleness') and timeGrain eq duration'PT5M' and startTime eq '2017-11-19T23:53:55.2780000Z' and endTime eq '2017-11-20T00:13:55.2780000Z" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "timeGrain": "PT5M", + "startTime": "2017-11-19T23:53:55.2780000Z", + "endTime": "2017-11-20T00:13:55.2780000Z", + "unit": "Milliseconds", + "metricValues": [ + { + "timestamp": "2017-11-19T23:53:55.2780000Z", + "P10": 1.11, + "P25": 2.5, + "P50": 4.34, + "P75": 5.2, + "P90": 6.77, + "P95": 7.1, + "P99": 8.3 + } + ], + "name": { + "value": "Probabilistic Bounded Staleness-S-West Central US-T-East US", + "localizedValue": "Probabilistic Bounded Staleness-S-West Central US-T-East US" } - } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBPercentileTargetGetMetrics.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBPercentileTargetGetMetrics.json index 383a3134213c..f4fff9fe6073 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBPercentileTargetGetMetrics.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBPercentileTargetGetMetrics.json @@ -1,62 +1,62 @@ { - "parameters": { - "accountName": "ddb1", - "resourceGroupName": "rg1", - "api-version": "2015-04-08", - "subscriptionId": "subid", - "targetRegion": "East US", - "$filter": "$filter=(name.value eq 'Probabilistic Bounded Staleness') and timeGrain eq duration'PT5M' and startTime eq '2017-11-19T23:53:55.2780000Z' and endTime eq '2017-11-20T00:13:55.2780000Z" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "timeGrain": "PT5M", - "startTime": "2017-11-19T23:53:55.2780000Z", - "endTime": "2017-11-20T00:13:55.2780000Z", - "unit": "Milliseconds", - "metricValues": [ - { - "timestamp": "2017-11-19T23:53:55.2780000Z", - "P10": 1.11, - "P25": 2.5, - "P50": 4.34, - "P75": 5.2, - "P90": 6.77, - "P95": 7.1, - "P99": 8.3 - } - ], - "name": { - "value": "Probabilistic Bounded Staleness-S-West Central US-T-East US", - "localizedValue": "Probabilistic Bounded Staleness-S-West Central US-T-East US" - } - }, - { - "timeGrain": "PT5M", - "startTime": "2017-11-19T23:53:55.2780000Z", - "endTime": "2017-11-20T00:13:55.2780000Z", - "unit": "Milliseconds", - "metricValues": [ - { - "timestamp": "2017-11-19T23:53:55.2780000Z", - "P10": 1.11, - "P25": 2.5, - "P50": 4.34, - "P75": 5.2, - "P90": 6.77, - "P95": 7.1, - "P99": 8.3 - } - ], - "name": { - "value": "Probabilistic Bounded Staleness-S-West US-T-East US", - "localizedValue": "Probabilistic Bounded Staleness-S-West Central US-T-West US" - } - } - ] + "parameters": { + "accountName": "ddb1", + "resourceGroupName": "rg1", + "api-version": "2015-04-08", + "subscriptionId": "subid", + "targetRegion": "East US", + "$filter": "$filter=(name.value eq 'Probabilistic Bounded Staleness') and timeGrain eq duration'PT5M' and startTime eq '2017-11-19T23:53:55.2780000Z' and endTime eq '2017-11-20T00:13:55.2780000Z" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "timeGrain": "PT5M", + "startTime": "2017-11-19T23:53:55.2780000Z", + "endTime": "2017-11-20T00:13:55.2780000Z", + "unit": "Milliseconds", + "metricValues": [ + { + "timestamp": "2017-11-19T23:53:55.2780000Z", + "P10": 1.11, + "P25": 2.5, + "P50": 4.34, + "P75": 5.2, + "P90": 6.77, + "P95": 7.1, + "P99": 8.3 + } + ], + "name": { + "value": "Probabilistic Bounded Staleness-S-West Central US-T-East US", + "localizedValue": "Probabilistic Bounded Staleness-S-West Central US-T-East US" } - } + }, + { + "timeGrain": "PT5M", + "startTime": "2017-11-19T23:53:55.2780000Z", + "endTime": "2017-11-20T00:13:55.2780000Z", + "unit": "Milliseconds", + "metricValues": [ + { + "timestamp": "2017-11-19T23:53:55.2780000Z", + "P10": 1.11, + "P25": 2.5, + "P50": 4.34, + "P75": 5.2, + "P90": 6.77, + "P95": 7.1, + "P99": 8.3 + } + ], + "name": { + "value": "Probabilistic Bounded Staleness-S-West US-T-East US", + "localizedValue": "Probabilistic Bounded Staleness-S-West Central US-T-West US" + } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBRegionCollectionGetMetrics.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBRegionCollectionGetMetrics.json index 575bfdbed6c7..45321f090a5f 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBRegionCollectionGetMetrics.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBRegionCollectionGetMetrics.json @@ -1,56 +1,56 @@ { - "parameters": { - "accountName": "ddb1", - "resourceGroupName": "rg1", - "api-version": "2015-04-08", - "subscriptionId": "subid", - "databaseRid":"databaseRid", - "collectionRid":"collectionRid", - "region":"North Europe", - "$filter": "$filter=(name.value eq 'Total Requests') and timeGrain eq duration'PT5M' and startTime eq '2017-11-19T23:53:55.2780000Z' and endTime eq '2017-11-20T00:13:55.2780000Z" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "timeGrain": "PT5M", - "startTime": "2017-11-19T23:53:55.2780000Z", - "endTime": "2017-11-20T00:13:55.2780000Z", - "unit": "Count", - "metricValues": [ - { - "timestamp": "2017-11-19T23:53:55.2780000Z", - "total": 0, - "_count": 0, - "average": 0 - }, - { - "timestamp": "2017-11-19T23:58:55.2780000Z", - "total": 0, - "_count": 0, - "average": 0 - }, - { - "timestamp": "2017-11-20T00:03:55.2780000Z", - "total": 0, - "_count": 0, - "average": 0 - }, - { - "timestamp": "2017-11-20T00:08:55.2780000Z", - "total": 0, - "_count": 0, - "average": 0 - } - ], - "name": { - "value": "Total Requests", - "localizedValue": "Total Requests" - } - } - ] + "parameters": { + "accountName": "ddb1", + "resourceGroupName": "rg1", + "api-version": "2015-04-08", + "subscriptionId": "subid", + "databaseRid": "databaseRid", + "collectionRid": "collectionRid", + "region": "North Europe", + "$filter": "$filter=(name.value eq 'Total Requests') and timeGrain eq duration'PT5M' and startTime eq '2017-11-19T23:53:55.2780000Z' and endTime eq '2017-11-20T00:13:55.2780000Z" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "timeGrain": "PT5M", + "startTime": "2017-11-19T23:53:55.2780000Z", + "endTime": "2017-11-20T00:13:55.2780000Z", + "unit": "Count", + "metricValues": [ + { + "timestamp": "2017-11-19T23:53:55.2780000Z", + "total": 0, + "_count": 0, + "average": 0 + }, + { + "timestamp": "2017-11-19T23:58:55.2780000Z", + "total": 0, + "_count": 0, + "average": 0 + }, + { + "timestamp": "2017-11-20T00:03:55.2780000Z", + "total": 0, + "_count": 0, + "average": 0 + }, + { + "timestamp": "2017-11-20T00:08:55.2780000Z", + "total": 0, + "_count": 0, + "average": 0 + } + ], + "name": { + "value": "Total Requests", + "localizedValue": "Total Requests" } - } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBSqlContainerCreateUpdate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBSqlContainerCreateUpdate.json index f1114c8a58b4..b7457a05c4f1 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBSqlContainerCreateUpdate.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBSqlContainerCreateUpdate.json @@ -8,58 +8,57 @@ "containerName": "containerName", "createUpdateSqlContainerParameters": { "properties": { - "resource": { - "id": "containerName", - "indexingPolicy": { - "indexingMode": "Consistent", - "automatic": true, - "includedPaths": [ - { - "path": "/*", - "indexes": [ - { - "kind": "Range", - "dataType": "String", - "precision": -1 - }, - { - "kind": "Range", - "dataType": "Number", - "precision": -1 - } - ] - } - ], - "excludedPaths": [] - }, - "partitionKey": { - "paths": [ - "/AccountNumber" - ], - "kind": "Hash" - }, - "defaultTtl": 100, - "uniqueKeyPolicy": { - "uniqueKeys": [ - { - "paths": [ - "/testPath" - ] - } - ] - }, - "conflictResolutionPolicy": { - "mode": "LastWriterWins", - "conflictResolutionPath": "/path" - } + "resource": { + "id": "containerName", + "indexingPolicy": { + "indexingMode": "Consistent", + "automatic": true, + "includedPaths": [ + { + "path": "/*", + "indexes": [ + { + "kind": "Range", + "dataType": "String", + "precision": -1 + }, + { + "kind": "Range", + "dataType": "Number", + "precision": -1 + } + ] + } + ], + "excludedPaths": [] }, - "options": { + "partitionKey": { + "paths": [ + "/AccountNumber" + ], + "kind": "Hash" + }, + "defaultTtl": 100, + "uniqueKeyPolicy": { + "uniqueKeys": [ + { + "paths": [ + "/testPath" + ] + } + ] + }, + "conflictResolutionPolicy": { + "mode": "LastWriterWins", + "conflictResolutionPath": "/path" } + }, + "options": {} } } }, "responses": { - "200": { + "200": { "body": { "id": "containerName", "name": "containerName", @@ -114,8 +113,6 @@ } } }, - "202": { - - } + "202": {} } -} \ No newline at end of file +} diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBSqlContainerDelete.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBSqlContainerDelete.json index fd288dbad570..b3432d4bbe9c 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBSqlContainerDelete.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBSqlContainerDelete.json @@ -8,7 +8,7 @@ "containerName": "containerName" }, "responses": { - "204": { }, - "202": { } + "204": {}, + "202": {} } -} \ No newline at end of file +} diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBSqlContainerGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBSqlContainerGet.json index edbdb5467566..7266cc1f94d8 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBSqlContainerGet.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBSqlContainerGet.json @@ -64,4 +64,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBSqlContainerList.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBSqlContainerList.json index d2685b2f18b7..a3f9a64152fb 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBSqlContainerList.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBSqlContainerList.json @@ -67,4 +67,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBSqlDatabaseCreateUpdate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBSqlDatabaseCreateUpdate.json index f717502e2d43..7e026b071e69 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBSqlDatabaseCreateUpdate.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBSqlDatabaseCreateUpdate.json @@ -7,16 +7,15 @@ "databaseName": "databaseName", "createUpdateSqlDatabaseParameters": { "properties": { - "resource": { - "id": "databaseName" - }, - "options": { - } + "resource": { + "id": "databaseName" + }, + "options": {} } } }, "responses": { - "200": { + "200": { "body": { "id": "databaseName", "name": "databaseName", @@ -29,7 +28,6 @@ } } }, - "202": { - } + "202": {} } -} \ No newline at end of file +} diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBSqlDatabaseDelete.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBSqlDatabaseDelete.json index 992e802bffbd..f6b926e32f89 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBSqlDatabaseDelete.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBSqlDatabaseDelete.json @@ -7,7 +7,7 @@ "databaseName": "databaseName" }, "responses": { - "204": { }, - "202": { } + "204": {}, + "202": {} } -} \ No newline at end of file +} diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBSqlDatabaseGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBSqlDatabaseGet.json index ab525baf65c2..594afb2deff7 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBSqlDatabaseGet.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBSqlDatabaseGet.json @@ -7,7 +7,7 @@ "databaseName": "databaseName" }, "responses": { - "200": { + "200": { "body": { "id": "databaseName", "name": "databaseName", @@ -23,4 +23,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBSqlDatabaseList.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBSqlDatabaseList.json index 37d38967d63f..1194d33b31f1 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBSqlDatabaseList.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBSqlDatabaseList.json @@ -26,4 +26,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBTableCreateUpdate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBTableCreateUpdate.json index 7fe3a7f6e39c..704194e1bdeb 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBTableCreateUpdate.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBTableCreateUpdate.json @@ -7,16 +7,15 @@ "tableName": "tableName", "createUpdateTableParameters": { "properties": { - "resource": { - "id": "tableName" - }, - "options": { - } + "resource": { + "id": "tableName" + }, + "options": {} } } }, "responses": { - "200": { + "200": { "body": { "id": "tableName", "name": "tableName", @@ -26,8 +25,6 @@ } } }, - "202": { - - } + "202": {} } -} \ No newline at end of file +} diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBTableDelete.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBTableDelete.json index ac6262385fb2..c18b8530c185 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBTableDelete.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBTableDelete.json @@ -7,7 +7,7 @@ "tableName": "tableName" }, "responses": { - "204": { }, - "202": { } + "204": {}, + "202": {} } -} \ No newline at end of file +} diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBTableGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBTableGet.json index 748c736bf1ba..995669c39120 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBTableGet.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBTableGet.json @@ -7,7 +7,7 @@ "tableName": "tableName" }, "responses": { - "200": { + "200": { "body": { "id": "tableName", "name": "tableName", @@ -18,4 +18,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBTableList.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBTableList.json index 48eea57b0684..31dcef013b4c 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBTableList.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBTableList.json @@ -21,4 +21,4 @@ } } } -} \ No newline at end of file +}