From dfbd70fe97667376cb10997c3ca98442bd30ecdc Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Thu, 6 Jun 2019 18:31:17 -0400 Subject: [PATCH] chore: jsonfmt mariadb Ran `jsonfmt -w "specification/mariadb/**/*.json"` --- .../examples/CheckNameAvailability.json | 2 +- .../examples/ConfigurationCreateOrUpdate.json | 4 +- .../examples/ConfigurationGet.json | 2 +- .../examples/ConfigurationListByServer.json | 2 +- .../examples/DatabaseCreate.json | 8 +- .../examples/DatabaseDelete.json | 2 +- .../examples/DatabaseGet.json | 2 +- .../examples/DatabaseListByServer.json | 2 +- .../examples/FirewallRuleCreate.json | 8 +- .../examples/FirewallRuleDelete.json | 2 +- .../examples/FirewallRuleGet.json | 2 +- .../examples/FirewallRuleListByServer.json | 2 +- .../examples/LogFileListByServer.json | 2 +- .../examples/OperationList.json | 2 +- .../PerformanceTiersListByLocation.json | 2 +- .../examples/ReplicasListByServer.json | 14 +- .../examples/ServerCreate.json | 2 +- .../examples/ServerCreateGeoRestoreMode.json | 166 ++++++++--------- .../ServerCreatePointInTimeRestore.json | 168 +++++++++--------- .../examples/ServerCreateReplicaMode.json | 2 +- .../examples/ServerDelete.json | 2 +- .../examples/ServerGet.json | 2 +- .../examples/ServerList.json | 2 +- .../examples/ServerListByResourceGroup.json | 2 +- .../examples/ServerRestart.json | 22 +-- .../ServerSecurityAlertsCreateMax.json | 79 ++++---- .../ServerSecurityAlertsCreateMin.json | 59 +++--- .../examples/ServerSecurityAlertsGet.json | 50 +++--- .../examples/ServerUpdate.json | 2 +- .../VirtualNetworkRulesCreateOrUpdate.json | 56 +++--- .../examples/VirtualNetworkRulesDelete.json | 36 ++-- .../examples/VirtualNetworkRulesGet.json | 24 +-- .../examples/VirtualNetworkRulesList.json | 52 +++--- .../preview/2018-06-01-preview/mariadb.json | 18 +- .../examples/CheckNameAvailability.json | 2 +- .../examples/ConfigurationCreateOrUpdate.json | 4 +- .../examples/ConfigurationGet.json | 2 +- .../examples/ConfigurationListByServer.json | 2 +- .../examples/DatabaseCreate.json | 8 +- .../examples/DatabaseDelete.json | 2 +- .../examples/DatabaseGet.json | 2 +- .../examples/DatabaseListByServer.json | 2 +- .../examples/FirewallRuleCreate.json | 8 +- .../examples/FirewallRuleDelete.json | 2 +- .../examples/FirewallRuleGet.json | 2 +- .../examples/FirewallRuleListByServer.json | 2 +- .../examples/LogFileListByServer.json | 2 +- .../examples/OperationList.json | 2 +- .../PerformanceTiersListByLocation.json | 2 +- .../examples/QueryTextsListByServer.json | 5 +- .../RecommendedActionSessionCreate.json | 24 +-- .../examples/ReplicasListByServer.json | 14 +- .../examples/ServerCreate.json | 2 +- .../examples/ServerCreateGeoRestoreMode.json | 166 ++++++++--------- .../ServerCreatePointInTimeRestore.json | 168 +++++++++--------- .../examples/ServerCreateReplicaMode.json | 2 +- .../examples/ServerDelete.json | 2 +- .../examples/ServerGet.json | 2 +- .../examples/ServerList.json | 2 +- .../examples/ServerListByResourceGroup.json | 2 +- .../examples/ServerRestart.json | 22 +-- .../ServerSecurityAlertsCreateMax.json | 79 ++++---- .../ServerSecurityAlertsCreateMin.json | 59 +++--- .../examples/ServerSecurityAlertsGet.json | 50 +++--- .../examples/ServerUpdate.json | 2 +- .../examples/TopQueryStatisticsGet.json | 6 +- .../TopQueryStatisticsListByServer.json | 8 +- .../VirtualNetworkRulesCreateOrUpdate.json | 56 +++--- .../examples/VirtualNetworkRulesDelete.json | 36 ++-- .../examples/VirtualNetworkRulesGet.json | 24 +-- .../examples/VirtualNetworkRulesList.json | 52 +++--- .../2018-06-01-privatepreview/mariadb.json | 13 +- .../examples/CheckNameAvailability.json | 2 +- .../examples/ConfigurationCreateOrUpdate.json | 4 +- .../2018-06-01/examples/ConfigurationGet.json | 2 +- .../examples/ConfigurationListByServer.json | 2 +- .../2018-06-01/examples/DatabaseCreate.json | 8 +- .../2018-06-01/examples/DatabaseDelete.json | 2 +- .../2018-06-01/examples/DatabaseGet.json | 2 +- .../examples/DatabaseListByServer.json | 2 +- .../examples/FirewallRuleCreate.json | 8 +- .../examples/FirewallRuleDelete.json | 2 +- .../2018-06-01/examples/FirewallRuleGet.json | 2 +- .../examples/FirewallRuleListByServer.json | 2 +- .../examples/LogFileListByServer.json | 2 +- .../2018-06-01/examples/OperationList.json | 2 +- .../PerformanceTiersListByLocation.json | 2 +- .../examples/ReplicasListByServer.json | 14 +- .../2018-06-01/examples/ServerCreate.json | 2 +- .../examples/ServerCreateGeoRestoreMode.json | 166 ++++++++--------- .../ServerCreatePointInTimeRestore.json | 168 +++++++++--------- .../examples/ServerCreateReplicaMode.json | 2 +- .../2018-06-01/examples/ServerDelete.json | 2 +- .../stable/2018-06-01/examples/ServerGet.json | 2 +- .../2018-06-01/examples/ServerList.json | 2 +- .../examples/ServerListByResourceGroup.json | 2 +- .../2018-06-01/examples/ServerRestart.json | 22 +-- .../ServerSecurityAlertsCreateMax.json | 79 ++++---- .../ServerSecurityAlertsCreateMin.json | 59 +++--- .../examples/ServerSecurityAlertsGet.json | 50 +++--- .../2018-06-01/examples/ServerUpdate.json | 2 +- .../VirtualNetworkRulesCreateOrUpdate.json | 56 +++--- .../examples/VirtualNetworkRulesDelete.json | 36 ++-- .../examples/VirtualNetworkRulesGet.json | 24 +-- .../examples/VirtualNetworkRulesList.json | 52 +++--- .../stable/2018-06-01/mariadb.json | 16 +- 106 files changed, 1243 insertions(+), 1199 deletions(-) diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/CheckNameAvailability.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/CheckNameAvailability.json index 81ee354035c0..8698804befdc 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/CheckNameAvailability.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/CheckNameAvailability.json @@ -16,4 +16,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ConfigurationCreateOrUpdate.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ConfigurationCreateOrUpdate.json index 084be8873d75..be36388c313d 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ConfigurationCreateOrUpdate.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ConfigurationCreateOrUpdate.json @@ -6,7 +6,7 @@ "api-version": "2018-06-01-preview", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "parameters": { - "properties":{ + "properties": { "value": "off", "source": "user-override" } @@ -30,4 +30,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ConfigurationGet.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ConfigurationGet.json index c86a15752b67..6ef1f5fc04de 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ConfigurationGet.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ConfigurationGet.json @@ -23,4 +23,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ConfigurationListByServer.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ConfigurationListByServer.json index e17eb29e1310..01fa68bfa33a 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ConfigurationListByServer.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ConfigurationListByServer.json @@ -598,4 +598,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/DatabaseCreate.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/DatabaseCreate.json index 5cbd8be4c95c..63778e737c84 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/DatabaseCreate.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/DatabaseCreate.json @@ -6,9 +6,9 @@ "api-version": "2018-06-01-preview", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "parameters": { - "properties":{ - "charset":"utf8", - "collation":"utf8_general_ci" + "properties": { + "charset": "utf8", + "collation": "utf8_general_ci" } } }, @@ -37,4 +37,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/DatabaseDelete.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/DatabaseDelete.json index 7f513cbc3631..594cd7a4d947 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/DatabaseDelete.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/DatabaseDelete.json @@ -11,4 +11,4 @@ "202": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/DatabaseGet.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/DatabaseGet.json index ad3e04ba91b0..6957b23797c0 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/DatabaseGet.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/DatabaseGet.json @@ -19,4 +19,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/DatabaseListByServer.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/DatabaseListByServer.json index 433d9de6239e..319ac4834850 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/DatabaseListByServer.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/DatabaseListByServer.json @@ -31,4 +31,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/FirewallRuleCreate.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/FirewallRuleCreate.json index 478f32bcca6f..be8e9786c23c 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/FirewallRuleCreate.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/FirewallRuleCreate.json @@ -6,9 +6,9 @@ "api-version": "2018-06-01-preview", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "parameters": { - "properties":{ - "startIpAddress":"0.0.0.0", - "endIpAddress":"255.255.255.255" + "properties": { + "startIpAddress": "0.0.0.0", + "endIpAddress": "255.255.255.255" } } }, @@ -37,4 +37,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/FirewallRuleDelete.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/FirewallRuleDelete.json index b7efa2274f97..31ff7475182f 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/FirewallRuleDelete.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/FirewallRuleDelete.json @@ -11,4 +11,4 @@ "202": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/FirewallRuleGet.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/FirewallRuleGet.json index 8ea6c060589a..991ef3c7a9f8 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/FirewallRuleGet.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/FirewallRuleGet.json @@ -19,4 +19,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/FirewallRuleListByServer.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/FirewallRuleListByServer.json index 19ebb8a151ba..604c5203d79b 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/FirewallRuleListByServer.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/FirewallRuleListByServer.json @@ -31,4 +31,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/LogFileListByServer.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/LogFileListByServer.json index 9ca3b1a251d2..ce869d6e41d8 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/LogFileListByServer.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/LogFileListByServer.json @@ -25,4 +25,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/OperationList.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/OperationList.json index 128dbb34efc9..245c99392370 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/OperationList.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/OperationList.json @@ -214,4 +214,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/PerformanceTiersListByLocation.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/PerformanceTiersListByLocation.json index eb15a29cb5fc..ba773d87b696 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/PerformanceTiersListByLocation.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/PerformanceTiersListByLocation.json @@ -92,4 +92,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ReplicasListByServer.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ReplicasListByServer.json index e5deac0bb9aa..a46ef1141d13 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ReplicasListByServer.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ReplicasListByServer.json @@ -30,7 +30,7 @@ "geoRedundantBackup": "Enabled" }, "administratorLogin": "cloudsa", - "sslEnforcement":"Enabled", + "sslEnforcement": "Enabled", "userVisibleState": "Ready", "fullyQualifiedDomainName": "testserver.mariadb.database.azure.com", "version": "5.6", @@ -48,7 +48,7 @@ "tags": { "elasticServer": "1" }, - "sku": { + "sku": { "name": "GP_Gen4_2", "tier": "GeneralPurpose", "family": "Gen4", @@ -61,7 +61,7 @@ "geoRedundantBackup": "Enabled" }, "administratorLogin": "cloudsa", - "sslEnforcement":"Enabled", + "sslEnforcement": "Enabled", "userVisibleState": "Ready", "fullyQualifiedDomainName": "testserver1.mariadb.database.azure.com", "version": "5.6", @@ -79,20 +79,20 @@ "tags": { "elasticServer": "1" }, - "sku": { + "sku": { "name": "GP_Gen4_2", "tier": "GeneralPurpose", "family": "Gen4", "capacity": 2 }, - "properties": { + "properties": { "storageProfile": { "storageMB": 256000, "backupRetentionDays": 35, "geoRedundantBackup": "Enabled" }, "administratorLogin": "cloudsa", - "sslEnforcement":"Enabled", + "sslEnforcement": "Enabled", "userVisibleState": "Ready", "fullyQualifiedDomainName": "testserver2.mariadb.database.azure.com", "version": "5.6", @@ -106,4 +106,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerCreate.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerCreate.json index 1184ddb9c90a..b39e8dd93a1c 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerCreate.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerCreate.json @@ -91,4 +91,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerCreateGeoRestoreMode.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerCreateGeoRestoreMode.json index a576d4673980..88a73cd8bf8c 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerCreateGeoRestoreMode.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerCreateGeoRestoreMode.json @@ -1,87 +1,87 @@ { + "parameters": { + "serverName": "targetserver", + "resourceGroupName": "TargetResourceGroup", + "api-version": "2018-06-01-preview", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "parameters": { - "serverName": "targetserver", - "resourceGroupName": "TargetResourceGroup", - "api-version": "2018-06-01-preview", - "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", - "parameters": { - "location": "westus", - "properties": { - "createMode": "GeoRestore", - "sourceServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/SourceResourceGroup/providers/Microsoft.DBforMariaDB/servers/sourceserver" - }, - "sku": { - "name": "GP_Gen5_2", - "tier": "GeneralPurpose", - "family": "Gen5", - "capacity": 2 - }, - "tags": { - "ElasticServer": "1" - } - } - }, - "responses": { - "201": { - "body": { - "sku": { - "name": "GP_Gen5_2", - "tier": "GeneralPurpose", - "family": "Gen5", - "capacity": 2 - }, - "properties": { - "administratorLogin": "cloudsa", - "storageProfile": { - "storageMB": 128000, - "backupRetentionDays": 14, - "geoRedundantBackup": "Enabled" - }, - "version": "5.7", - "sslEnforcement": "Enabled", - "userVisibleState": "Ready", - "fullyQualifiedDomainName": "targetserver.mariadb.database.azure.com", - "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00" - }, - "location": "westus", - "tags": { - "ElasticServer": "1" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/targetserver", - "name": "targetserver", - "type": "Microsoft.DBforMariaDB/servers" - } + "location": "westus", + "properties": { + "createMode": "GeoRestore", + "sourceServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/SourceResourceGroup/providers/Microsoft.DBforMariaDB/servers/sourceserver" + }, + "sku": { + "name": "GP_Gen5_2", + "tier": "GeneralPurpose", + "family": "Gen5", + "capacity": 2 + }, + "tags": { + "ElasticServer": "1" + } + } + }, + "responses": { + "201": { + "body": { + "sku": { + "name": "GP_Gen5_2", + "tier": "GeneralPurpose", + "family": "Gen5", + "capacity": 2 + }, + "properties": { + "administratorLogin": "cloudsa", + "storageProfile": { + "storageMB": 128000, + "backupRetentionDays": 14, + "geoRedundantBackup": "Enabled" }, - "200": { - "body": { - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/targetserver", - "name": "targetserver", - "type": "Microsoft.DBforMariaDB/servers", - "location": "westus", - "sku": { - "name": "GP_Gen5_2", - "tier": "GeneralPurpose", - "family": "Gen5", - "capacity": 2 - }, - "tags": { - "elasticServer": "1" - }, - "properties": { - "administratorLogin": "cloudsa", - "storageProfile": { - "storageMB": 128000, - "backupRetentionDays": 14, - "geoRedundantBackup": "Enabled" - }, - "version": "5.7", - "sslEnforcement": "Enabled", - "userVisibleState": "Ready", - "fullyQualifiedDomainName": "targetserver.mariadb.database.azure.com", - "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00" - } - } + "version": "5.7", + "sslEnforcement": "Enabled", + "userVisibleState": "Ready", + "fullyQualifiedDomainName": "targetserver.mariadb.database.azure.com", + "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00" + }, + "location": "westus", + "tags": { + "ElasticServer": "1" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/targetserver", + "name": "targetserver", + "type": "Microsoft.DBforMariaDB/servers" + } + }, + "200": { + "body": { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/targetserver", + "name": "targetserver", + "type": "Microsoft.DBforMariaDB/servers", + "location": "westus", + "sku": { + "name": "GP_Gen5_2", + "tier": "GeneralPurpose", + "family": "Gen5", + "capacity": 2 + }, + "tags": { + "elasticServer": "1" + }, + "properties": { + "administratorLogin": "cloudsa", + "storageProfile": { + "storageMB": 128000, + "backupRetentionDays": 14, + "geoRedundantBackup": "Enabled" }, - "202": {} - } -} \ No newline at end of file + "version": "5.7", + "sslEnforcement": "Enabled", + "userVisibleState": "Ready", + "fullyQualifiedDomainName": "targetserver.mariadb.database.azure.com", + "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00" + } + } + }, + "202": {} + } +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerCreatePointInTimeRestore.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerCreatePointInTimeRestore.json index e4222b136323..432ff0d3a129 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerCreatePointInTimeRestore.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerCreatePointInTimeRestore.json @@ -1,88 +1,88 @@ { + "parameters": { + "serverName": "targetserver", + "resourceGroupName": "TargetResourceGroup", + "api-version": "2018-06-01-preview", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "parameters": { - "serverName": "targetserver", - "resourceGroupName": "TargetResourceGroup", - "api-version": "2018-06-01-preview", - "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", - "parameters": { - "location": "brazilsouth", - "properties": { - "restorePointInTime": "2017-12-14T00:00:37.467Z", - "createMode": "PointInTimeRestore", - "sourceServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/SourceResourceGroup/providers/Microsoft.DBforMariaDB/servers/sourceserver" - }, - "sku": { - "name": "GP_Gen5_2", - "tier": "GeneralPurpose", - "family": "Gen5", - "capacity": 2 - }, - "tags": { - "ElasticServer": "1" - } - } - }, - "responses": { - "201": { - "body": { - "sku": { - "name": "GP_Gen5_2", - "tier": "GeneralPurpose", - "family": "Gen5", - "capacity": 2 - }, - "properties": { - "administratorLogin": "cloudsa", - "storageProfile": { - "storageMB": 128000, - "backupRetentionDays": 7, - "geoRedundantBackup": "Enabled" - }, - "version": "5.7", - "sslEnforcement": "Enabled", - "userVisibleState": "Ready", - "fullyQualifiedDomainName": "targetserver.mariadb.database.azure.com", - "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00" - }, - "location": "brazilsouth", - "tags": { - "ElasticServer": "1" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/targetserver", - "name": "targetserver", - "type": "Microsoft.DBforMariaDB/servers" - } + "location": "brazilsouth", + "properties": { + "restorePointInTime": "2017-12-14T00:00:37.467Z", + "createMode": "PointInTimeRestore", + "sourceServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/SourceResourceGroup/providers/Microsoft.DBforMariaDB/servers/sourceserver" + }, + "sku": { + "name": "GP_Gen5_2", + "tier": "GeneralPurpose", + "family": "Gen5", + "capacity": 2 + }, + "tags": { + "ElasticServer": "1" + } + } + }, + "responses": { + "201": { + "body": { + "sku": { + "name": "GP_Gen5_2", + "tier": "GeneralPurpose", + "family": "Gen5", + "capacity": 2 + }, + "properties": { + "administratorLogin": "cloudsa", + "storageProfile": { + "storageMB": 128000, + "backupRetentionDays": 7, + "geoRedundantBackup": "Enabled" }, - "200": { - "body": { - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/targetserver", - "name": "targetserver", - "type": "Microsoft.DBforMariaDB/servers", - "location": "brazilsouth", - "sku": { - "name": "GP_Gen5_2", - "tier": "GeneralPurpose", - "family": "Gen5", - "capacity": 2 - }, - "tags": { - "elasticServer": "1" - }, - "properties": { - "administratorLogin": "cloudsa", - "storageProfile": { - "storageMB": 128000, - "backupRetentionDays": 7, - "geoRedundantBackup": "Enabled" - }, - "version": "5.7", - "sslEnforcement": "Enabled", - "userVisibleState": "Ready", - "fullyQualifiedDomainName": "targetserver.mariadb.database.azure.com", - "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00" - } - } + "version": "5.7", + "sslEnforcement": "Enabled", + "userVisibleState": "Ready", + "fullyQualifiedDomainName": "targetserver.mariadb.database.azure.com", + "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00" + }, + "location": "brazilsouth", + "tags": { + "ElasticServer": "1" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/targetserver", + "name": "targetserver", + "type": "Microsoft.DBforMariaDB/servers" + } + }, + "200": { + "body": { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/targetserver", + "name": "targetserver", + "type": "Microsoft.DBforMariaDB/servers", + "location": "brazilsouth", + "sku": { + "name": "GP_Gen5_2", + "tier": "GeneralPurpose", + "family": "Gen5", + "capacity": 2 + }, + "tags": { + "elasticServer": "1" + }, + "properties": { + "administratorLogin": "cloudsa", + "storageProfile": { + "storageMB": 128000, + "backupRetentionDays": 7, + "geoRedundantBackup": "Enabled" }, - "202": {} - } -} \ No newline at end of file + "version": "5.7", + "sslEnforcement": "Enabled", + "userVisibleState": "Ready", + "fullyQualifiedDomainName": "targetserver.mariadb.database.azure.com", + "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00" + } + } + }, + "202": {} + } +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerCreateReplicaMode.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerCreateReplicaMode.json index 171406e889c5..8335290219be 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerCreateReplicaMode.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerCreateReplicaMode.json @@ -81,4 +81,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerDelete.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerDelete.json index 2d3015f935d6..6a86cec544ed 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerDelete.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerDelete.json @@ -10,4 +10,4 @@ "202": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerGet.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerGet.json index 4ae14f56fadb..b4086096f776 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerGet.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerGet.json @@ -40,4 +40,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerList.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerList.json index 18bdcddc5016..8e7b0a20fab1 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerList.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerList.json @@ -86,4 +86,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerListByResourceGroup.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerListByResourceGroup.json index 08b101192192..9062e828c299 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerListByResourceGroup.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerListByResourceGroup.json @@ -62,4 +62,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerRestart.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerRestart.json index 25b3cbbc7cfc..8a6eec64860e 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerRestart.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerRestart.json @@ -1,12 +1,12 @@ { - "parameters": { - "serverName": "testserver", - "resourceGroupName": "TestGroup", - "api-version": "2018-06-01-preview", - "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" - }, - "responses": { - "200": {}, - "202": {} - } - } \ No newline at end of file + "parameters": { + "serverName": "testserver", + "resourceGroupName": "TestGroup", + "api-version": "2018-06-01-preview", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": {}, + "202": {} + } +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerSecurityAlertsCreateMax.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerSecurityAlertsCreateMax.json index 37e7bf3decc1..dd25e366fa0e 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerSecurityAlertsCreateMax.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerSecurityAlertsCreateMax.json @@ -1,39 +1,48 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "securityalert-4799", + "serverName": "securityalert-6440", + "securityAlertPolicyName": "Default", + "api-version": "2018-06-01-preview", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "securityalert-4799", - "serverName": "securityalert-6440", - "securityAlertPolicyName": "Default", - "api-version": "2018-06-01-preview", - "parameters": { - "properties": { - "state": "Enabled", - "emailAccountAdmins": true, - "emailAddresses": ["testSecurityAlert@microsoft.com"], - "disabledAlerts": ["Access_Anomaly", "Usage_Anomaly"], - "retentionDays": 5, - "storageAccountAccessKey": "sdlfkjabc+sdlfkjsdlkfsjdfLDKFTERLKFDFKLjsdfksjdflsdkfD2342309432849328476458/3RSD==", - "storageEndpoint": "https://mystorage.blob.core.windows.net" - } + "properties": { + "state": "Enabled", + "emailAccountAdmins": true, + "emailAddresses": [ + "testSecurityAlert@microsoft.com" + ], + "disabledAlerts": [ + "Access_Anomaly", + "Usage_Anomaly" + ], + "retentionDays": 5, + "storageAccountAccessKey": "sdlfkjabc+sdlfkjsdlkfsjdfLDKFTERLKFDFKLjsdfksjdflsdkfD2342309432849328476458/3RSD==", + "storageEndpoint": "https://mystorage.blob.core.windows.net" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMariaDB/servers/securityalert-6440/securityAlertPolicies/default", + "name": "Default", + "type": "Microsoft.DBforMariaDB/servers/securityAlertPolicies", + "properties": { + "state": "Enabled", + "emailAccountAdmins": true, + "emailAddresses": [ + "testSecurityAlert@microsoft.com" + ], + "disabledAlerts": [ + "Access_Anomaly", + "Usage_Anomaly" + ], + "retentionDays": 5, + "storageEndpoint": "https://mystorage.blob.core.windows.net" } + } }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMariaDB/servers/securityalert-6440/securityAlertPolicies/default", - "name": "Default", - "type": "Microsoft.DBforMariaDB/servers/securityAlertPolicies", - "properties": { - "state": "Enabled", - "emailAccountAdmins": true, - "emailAddresses": ["testSecurityAlert@microsoft.com"], - "disabledAlerts": ["Access_Anomaly","Usage_Anomaly"], - "retentionDays": 5, - "storageEndpoint": "https://mystorage.blob.core.windows.net" - } - } - }, - "202": { - } - } -} \ No newline at end of file + "202": {} + } +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerSecurityAlertsCreateMin.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerSecurityAlertsCreateMin.json index adc54a788662..2f9902071d37 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerSecurityAlertsCreateMin.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerSecurityAlertsCreateMin.json @@ -1,34 +1,33 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "securityalert-4799", + "serverName": "securityalert-6440", + "securityAlertPolicyName": "Default", + "api-version": "2018-06-01-preview", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "securityalert-4799", - "serverName": "securityalert-6440", - "securityAlertPolicyName": "Default", - "api-version": "2018-06-01-preview", - "parameters": { - "properties": { - "state": "Disabled", - "emailAccountAdmins": true - } + "properties": { + "state": "Disabled", + "emailAccountAdmins": true + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMariaDB/servers/securityalert-6440/securityAlertPolicies/default", + "name": "Default", + "type": "Microsoft.DBforMariaDB/servers/securityAlertPolicies", + "properties": { + "state": "Enabled", + "emailAccountAdmins": true, + "emailAddresses": [], + "disabledAlerts": [], + "retentionDays": 0, + "storageEndpoint": "" } + } }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMariaDB/servers/securityalert-6440/securityAlertPolicies/default", - "name": "Default", - "type": "Microsoft.DBforMariaDB/servers/securityAlertPolicies", - "properties": { - "state": "Enabled", - "emailAccountAdmins": true, - "emailAddresses": [], - "disabledAlerts": [], - "retentionDays": 0, - "storageEndpoint": "" - } - } - }, - "202": { - } - } -} \ No newline at end of file + "202": {} + } +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerSecurityAlertsGet.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerSecurityAlertsGet.json index acac76e14846..0c0b4cb90e4a 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerSecurityAlertsGet.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerSecurityAlertsGet.json @@ -1,26 +1,30 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "securityalert-4799", - "serverName": "securityalert-6440", - "securityAlertPolicyName": "Default", - "api-version": "2018-06-01-preview" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMariaDB/servers/securityalert-6440/securityAlertPolicies/default", - "name": "Default", - "type": "Microsoft.DBforMariaDB/servers/securityAlertPolicies", - "properties": { - "state": "Disabled", - "emailAccountAdmins": true, - "emailAddresses": [ "test@microsoft.com;user@microsoft.com" ], - "disabledAlerts": ["Access_Anomaly"], - "retentionDays": 0, - "storageEndpoint": "https://mystorage.blob.core.windows.net" - } - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "securityalert-4799", + "serverName": "securityalert-6440", + "securityAlertPolicyName": "Default", + "api-version": "2018-06-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMariaDB/servers/securityalert-6440/securityAlertPolicies/default", + "name": "Default", + "type": "Microsoft.DBforMariaDB/servers/securityAlertPolicies", + "properties": { + "state": "Disabled", + "emailAccountAdmins": true, + "emailAddresses": [ + "test@microsoft.com;user@microsoft.com" + ], + "disabledAlerts": [ + "Access_Anomaly" + ], + "retentionDays": 0, + "storageEndpoint": "https://mystorage.blob.core.windows.net" } + } } -} \ No newline at end of file + } +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerUpdate.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerUpdate.json index 38798615afa3..66b86a6813ab 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerUpdate.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerUpdate.json @@ -44,4 +44,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/VirtualNetworkRulesCreateOrUpdate.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/VirtualNetworkRulesCreateOrUpdate.json index f53ee5aec0d0..67b3b0a39cc3 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/VirtualNetworkRulesCreateOrUpdate.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/VirtualNetworkRulesCreateOrUpdate.json @@ -6,35 +6,35 @@ "virtualNetworkRuleName": "vnet-firewall-rule", "api-version": "2018-06-01-preview", "parameters": { - "properties": { - "ignoreMissingVnetServiceEndpoint": false, - "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" - } + "properties": { + "ignoreMissingVnetServiceEndpoint": false, + "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" + } } }, "responses": { - "200": { - "body": { - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", - "name": "vnet-firewall-rule", - "type": "Microsoft.DBforMariaDB/servers/virtualNetworkRules", - "properties": { - "ignoreMissingVnetServiceEndpoint": false, - "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", - "name": "vnet-firewall-rule", - "type": "Microsoft.DBforMariaDB/servers/virtualNetworkRules", - "properties": { - "ignoreMissingVnetServiceEndpoint": false, - "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" - } - } - }, - "202": {} + "200": { + "body": { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", + "name": "vnet-firewall-rule", + "type": "Microsoft.DBforMariaDB/servers/virtualNetworkRules", + "properties": { + "ignoreMissingVnetServiceEndpoint": false, + "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", + "name": "vnet-firewall-rule", + "type": "Microsoft.DBforMariaDB/servers/virtualNetworkRules", + "properties": { + "ignoreMissingVnetServiceEndpoint": false, + "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" + } + } + }, + "202": {} } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/VirtualNetworkRulesDelete.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/VirtualNetworkRulesDelete.json index d42649fe262c..c5ea31cb57b0 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/VirtualNetworkRulesDelete.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/VirtualNetworkRulesDelete.json @@ -1,20 +1,20 @@ { - "parameters": { - "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", - "resourceGroupName": "TestGroup", - "serverName": "vnet-test-svr", - "virtualNetworkRuleName": "vnet-firewall-rule", - "api-version": "2018-06-01-preview" - }, - "responses": { - "200": { - "body": "" - }, - "202": { - "body": "" - }, - "204": { - "body": "" - } + "parameters": { + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", + "resourceGroupName": "TestGroup", + "serverName": "vnet-test-svr", + "virtualNetworkRuleName": "vnet-firewall-rule", + "api-version": "2018-06-01-preview" + }, + "responses": { + "200": { + "body": "" + }, + "202": { + "body": "" + }, + "204": { + "body": "" } -} \ No newline at end of file + } +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/VirtualNetworkRulesGet.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/VirtualNetworkRulesGet.json index ded4809766aa..27ac4ff55177 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/VirtualNetworkRulesGet.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/VirtualNetworkRulesGet.json @@ -7,17 +7,17 @@ "api-version": "2018-06-01-preview" }, "responses": { - "200": { - "body": { - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", - "name": "vnet-firewall-rule", - "type": "Microsoft.DBforMariaDB/servers/virtualNetworkRules", - "properties": { - "ignoreMissingVnetServiceEndpoint": false, - "state": "Ready", - "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" - } - } + "200": { + "body": { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", + "name": "vnet-firewall-rule", + "type": "Microsoft.DBforMariaDB/servers/virtualNetworkRules", + "properties": { + "ignoreMissingVnetServiceEndpoint": false, + "state": "Ready", + "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" + } + } } } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/VirtualNetworkRulesList.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/VirtualNetworkRulesList.json index 331b5aa3f027..bcaba4c0368d 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/VirtualNetworkRulesList.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/VirtualNetworkRulesList.json @@ -7,31 +7,31 @@ "api-version": "2018-06-01-preview" }, "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", - "name": "vnet-firewall-rule", - "type": "Microsoft.DBforMariaDB/servers/virtualNetworkRules", - "properties": { - "ignoreMissingVnetServiceEndpoint": false, - "state": "Ready", - "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" - } - }, - { - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", - "name": "vnet-firewall-rule", - "type": "Microsoft.DBforMariaDB/servers/virtualNetworkRules", - "properties": { - "ignoreMissingVnetServiceEndpoint": false, - "state": "Ready", - "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" - } - } - ] - } + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", + "name": "vnet-firewall-rule", + "type": "Microsoft.DBforMariaDB/servers/virtualNetworkRules", + "properties": { + "ignoreMissingVnetServiceEndpoint": false, + "state": "Ready", + "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" + } + }, + { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", + "name": "vnet-firewall-rule", + "type": "Microsoft.DBforMariaDB/servers/virtualNetworkRules", + "properties": { + "ignoreMissingVnetServiceEndpoint": false, + "state": "Ready", + "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" + } + } + ] + } } } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/mariadb.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/mariadb.json index c71cc25e2aae..5a391f81e5cf 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/mariadb.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/mariadb.json @@ -44,8 +44,8 @@ "Create a new server": { "$ref": "./examples/ServerCreate.json" }, - "Create a database as a point in time restore":{ - "$ref":"./examples/ServerCreatePointInTimeRestore.json" + "Create a database as a point in time restore": { + "$ref": "./examples/ServerCreatePointInTimeRestore.json" }, "Create a server as a geo restore ": { "$ref": "./examples/ServerCreateGeoRestoreMode.json" @@ -293,7 +293,9 @@ ], "operationId": "Servers_Restart", "x-ms-examples": { - "ServerRestart": { "$ref": "./examples/ServerRestart.json" } + "ServerRestart": { + "$ref": "./examples/ServerRestart.json" + } }, "description": "Restarts a server.", "parameters": [ @@ -326,7 +328,7 @@ }, "x-ms-long-running-operation": true } - }, + }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMariaDB/servers/{serverName}/replicas": { "get": { "tags": [ @@ -1347,7 +1349,7 @@ "x-ms-mutability": [ "read", "create" - ], + ], "description": "The location the resource resides in." }, "tags": { @@ -1447,7 +1449,7 @@ "format": "int32", "description": "Max storage allowed for a server." }, - "storageAutogrow" : { + "storageAutogrow": { "type": "string", "description": "Enable Storage Auto Grow.", "enum": [ @@ -2276,7 +2278,7 @@ } }, "description": "An error response from the Batch service." - } + } }, "parameters": { "SubscriptionIdParameter": { @@ -2361,4 +2363,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/CheckNameAvailability.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/CheckNameAvailability.json index d547976bab99..31ab6da04c11 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/CheckNameAvailability.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/CheckNameAvailability.json @@ -16,4 +16,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ConfigurationCreateOrUpdate.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ConfigurationCreateOrUpdate.json index be1a20a77a7a..65cf3730b1b6 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ConfigurationCreateOrUpdate.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ConfigurationCreateOrUpdate.json @@ -6,7 +6,7 @@ "api-version": "2018-06-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "parameters": { - "properties":{ + "properties": { "value": "off", "source": "user-override" } @@ -30,4 +30,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ConfigurationGet.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ConfigurationGet.json index c742fb75969e..ee378a2516d7 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ConfigurationGet.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ConfigurationGet.json @@ -23,4 +23,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ConfigurationListByServer.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ConfigurationListByServer.json index 9d6f937021cf..409fd331305d 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ConfigurationListByServer.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ConfigurationListByServer.json @@ -598,4 +598,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/DatabaseCreate.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/DatabaseCreate.json index 0b0ffa2b8276..d4ccabe39680 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/DatabaseCreate.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/DatabaseCreate.json @@ -6,9 +6,9 @@ "api-version": "2018-06-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "parameters": { - "properties":{ - "charset":"utf8", - "collation":"utf8_general_ci" + "properties": { + "charset": "utf8", + "collation": "utf8_general_ci" } } }, @@ -37,4 +37,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/DatabaseDelete.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/DatabaseDelete.json index 8fb3bae30a47..d1d52f99130c 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/DatabaseDelete.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/DatabaseDelete.json @@ -11,4 +11,4 @@ "202": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/DatabaseGet.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/DatabaseGet.json index 9a48aa456d70..37c971e32133 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/DatabaseGet.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/DatabaseGet.json @@ -19,4 +19,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/DatabaseListByServer.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/DatabaseListByServer.json index 0307a92f626f..ecd533b78bcd 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/DatabaseListByServer.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/DatabaseListByServer.json @@ -31,4 +31,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/FirewallRuleCreate.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/FirewallRuleCreate.json index a788d945e9e0..9a416423697d 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/FirewallRuleCreate.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/FirewallRuleCreate.json @@ -6,9 +6,9 @@ "api-version": "2018-06-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "parameters": { - "properties":{ - "startIpAddress":"0.0.0.0", - "endIpAddress":"255.255.255.255" + "properties": { + "startIpAddress": "0.0.0.0", + "endIpAddress": "255.255.255.255" } } }, @@ -37,4 +37,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/FirewallRuleDelete.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/FirewallRuleDelete.json index 322a072c0209..a3891fa434de 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/FirewallRuleDelete.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/FirewallRuleDelete.json @@ -11,4 +11,4 @@ "202": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/FirewallRuleGet.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/FirewallRuleGet.json index e073fbc225d4..70f794d4e226 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/FirewallRuleGet.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/FirewallRuleGet.json @@ -19,4 +19,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/FirewallRuleListByServer.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/FirewallRuleListByServer.json index 7231a5428143..df35f93f8cc6 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/FirewallRuleListByServer.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/FirewallRuleListByServer.json @@ -31,4 +31,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/LogFileListByServer.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/LogFileListByServer.json index 89bf4bb4a8fe..7c961f4d9139 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/LogFileListByServer.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/LogFileListByServer.json @@ -25,4 +25,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/OperationList.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/OperationList.json index 5fee21cd2548..e5d4c6992f3f 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/OperationList.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/OperationList.json @@ -214,4 +214,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/PerformanceTiersListByLocation.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/PerformanceTiersListByLocation.json index d6c217745b17..bd4e7a26607e 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/PerformanceTiersListByLocation.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/PerformanceTiersListByLocation.json @@ -92,4 +92,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/QueryTextsListByServer.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/QueryTextsListByServer.json index decd570c9a8d..9a2ad8e212ac 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/QueryTextsListByServer.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/QueryTextsListByServer.json @@ -4,7 +4,10 @@ "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "resourceGroupName": "testResourceGroupName", "serverName": "testServerName", - "queryIds": [ "1", "2" ] + "queryIds": [ + "1", + "2" + ] }, "responses": { "200": { diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/RecommendedActionSessionCreate.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/RecommendedActionSessionCreate.json index 6a501bd5ceab..e127d2619fb9 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/RecommendedActionSessionCreate.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/RecommendedActionSessionCreate.json @@ -1,14 +1,14 @@ { - "parameters": { - "api-version": "2018-06-01-privatepreview", - "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", - "resourceGroupName": "testResourceGroupName", - "serverName": "testServerName", - "advisorName": "Index", - "databaseName": "someDatabaseName" - }, - "responses": { - "200": {}, - "202": {} - } + "parameters": { + "api-version": "2018-06-01-privatepreview", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", + "resourceGroupName": "testResourceGroupName", + "serverName": "testServerName", + "advisorName": "Index", + "databaseName": "someDatabaseName" + }, + "responses": { + "200": {}, + "202": {} } +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ReplicasListByServer.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ReplicasListByServer.json index 9679de879c33..dbff8b3c4e89 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ReplicasListByServer.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ReplicasListByServer.json @@ -30,7 +30,7 @@ "geoRedundantBackup": "Enabled" }, "administratorLogin": "cloudsa", - "sslEnforcement":"Enabled", + "sslEnforcement": "Enabled", "userVisibleState": "Ready", "fullyQualifiedDomainName": "testserver.mariadb.database.azure.com", "version": "5.6", @@ -48,7 +48,7 @@ "tags": { "elasticServer": "1" }, - "sku": { + "sku": { "name": "GP_Gen4_2", "tier": "GeneralPurpose", "family": "Gen4", @@ -61,7 +61,7 @@ "geoRedundantBackup": "Enabled" }, "administratorLogin": "cloudsa", - "sslEnforcement":"Enabled", + "sslEnforcement": "Enabled", "userVisibleState": "Ready", "fullyQualifiedDomainName": "testserver1.mariadb.database.azure.com", "version": "5.6", @@ -79,20 +79,20 @@ "tags": { "elasticServer": "1" }, - "sku": { + "sku": { "name": "GP_Gen4_2", "tier": "GeneralPurpose", "family": "Gen4", "capacity": 2 }, - "properties": { + "properties": { "storageProfile": { "storageMB": 256000, "backupRetentionDays": 35, "geoRedundantBackup": "Enabled" }, "administratorLogin": "cloudsa", - "sslEnforcement":"Enabled", + "sslEnforcement": "Enabled", "userVisibleState": "Ready", "fullyQualifiedDomainName": "testserver2.mariadb.database.azure.com", "version": "5.6", @@ -106,4 +106,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerCreate.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerCreate.json index c25bf15f2430..adcaa150fbcb 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerCreate.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerCreate.json @@ -91,4 +91,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerCreateGeoRestoreMode.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerCreateGeoRestoreMode.json index c8f33b2ee7a5..b352e68e5f10 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerCreateGeoRestoreMode.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerCreateGeoRestoreMode.json @@ -1,87 +1,87 @@ { + "parameters": { + "serverName": "targetserver", + "resourceGroupName": "TargetResourceGroup", + "api-version": "2018-06-01", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "parameters": { - "serverName": "targetserver", - "resourceGroupName": "TargetResourceGroup", - "api-version": "2018-06-01", - "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", - "parameters": { - "location": "westus", - "properties": { - "createMode": "GeoRestore", - "sourceServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/SourceResourceGroup/providers/Microsoft.DBforMariaDB/servers/sourceserver" - }, - "sku": { - "name": "GP_Gen5_2", - "tier": "GeneralPurpose", - "family": "Gen5", - "capacity": 2 - }, - "tags": { - "ElasticServer": "1" - } - } - }, - "responses": { - "201": { - "body": { - "sku": { - "name": "GP_Gen5_2", - "tier": "GeneralPurpose", - "family": "Gen5", - "capacity": 2 - }, - "properties": { - "administratorLogin": "cloudsa", - "storageProfile": { - "storageMB": 128000, - "backupRetentionDays": 14, - "geoRedundantBackup": "Enabled" - }, - "version": "5.7", - "sslEnforcement": "Enabled", - "userVisibleState": "Ready", - "fullyQualifiedDomainName": "targetserver.mariadb.database.azure.com", - "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00" - }, - "location": "westus", - "tags": { - "ElasticServer": "1" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/targetserver", - "name": "targetserver", - "type": "Microsoft.DBforMariaDB/servers" - } + "location": "westus", + "properties": { + "createMode": "GeoRestore", + "sourceServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/SourceResourceGroup/providers/Microsoft.DBforMariaDB/servers/sourceserver" + }, + "sku": { + "name": "GP_Gen5_2", + "tier": "GeneralPurpose", + "family": "Gen5", + "capacity": 2 + }, + "tags": { + "ElasticServer": "1" + } + } + }, + "responses": { + "201": { + "body": { + "sku": { + "name": "GP_Gen5_2", + "tier": "GeneralPurpose", + "family": "Gen5", + "capacity": 2 + }, + "properties": { + "administratorLogin": "cloudsa", + "storageProfile": { + "storageMB": 128000, + "backupRetentionDays": 14, + "geoRedundantBackup": "Enabled" }, - "200": { - "body": { - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/targetserver", - "name": "targetserver", - "type": "Microsoft.DBforMariaDB/servers", - "location": "westus", - "sku": { - "name": "GP_Gen5_2", - "tier": "GeneralPurpose", - "family": "Gen5", - "capacity": 2 - }, - "tags": { - "elasticServer": "1" - }, - "properties": { - "administratorLogin": "cloudsa", - "storageProfile": { - "storageMB": 128000, - "backupRetentionDays": 14, - "geoRedundantBackup": "Enabled" - }, - "version": "5.7", - "sslEnforcement": "Enabled", - "userVisibleState": "Ready", - "fullyQualifiedDomainName": "targetserver.mariadb.database.azure.com", - "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00" - } - } + "version": "5.7", + "sslEnforcement": "Enabled", + "userVisibleState": "Ready", + "fullyQualifiedDomainName": "targetserver.mariadb.database.azure.com", + "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00" + }, + "location": "westus", + "tags": { + "ElasticServer": "1" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/targetserver", + "name": "targetserver", + "type": "Microsoft.DBforMariaDB/servers" + } + }, + "200": { + "body": { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/targetserver", + "name": "targetserver", + "type": "Microsoft.DBforMariaDB/servers", + "location": "westus", + "sku": { + "name": "GP_Gen5_2", + "tier": "GeneralPurpose", + "family": "Gen5", + "capacity": 2 + }, + "tags": { + "elasticServer": "1" + }, + "properties": { + "administratorLogin": "cloudsa", + "storageProfile": { + "storageMB": 128000, + "backupRetentionDays": 14, + "geoRedundantBackup": "Enabled" }, - "202": {} - } -} \ No newline at end of file + "version": "5.7", + "sslEnforcement": "Enabled", + "userVisibleState": "Ready", + "fullyQualifiedDomainName": "targetserver.mariadb.database.azure.com", + "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00" + } + } + }, + "202": {} + } +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerCreatePointInTimeRestore.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerCreatePointInTimeRestore.json index e8791c551045..05f6fdc02bbd 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerCreatePointInTimeRestore.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerCreatePointInTimeRestore.json @@ -1,88 +1,88 @@ { + "parameters": { + "serverName": "targetserver", + "resourceGroupName": "TargetResourceGroup", + "api-version": "2018-06-01", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "parameters": { - "serverName": "targetserver", - "resourceGroupName": "TargetResourceGroup", - "api-version": "2018-06-01", - "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", - "parameters": { - "location": "brazilsouth", - "properties": { - "restorePointInTime": "2017-12-14T00:00:37.467Z", - "createMode": "PointInTimeRestore", - "sourceServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/SourceResourceGroup/providers/Microsoft.DBforMariaDB/servers/sourceserver" - }, - "sku": { - "name": "GP_Gen5_2", - "tier": "GeneralPurpose", - "family": "Gen5", - "capacity": 2 - }, - "tags": { - "ElasticServer": "1" - } - } - }, - "responses": { - "201": { - "body": { - "sku": { - "name": "GP_Gen5_2", - "tier": "GeneralPurpose", - "family": "Gen5", - "capacity": 2 - }, - "properties": { - "administratorLogin": "cloudsa", - "storageProfile": { - "storageMB": 128000, - "backupRetentionDays": 7, - "geoRedundantBackup": "Enabled" - }, - "version": "5.7", - "sslEnforcement": "Enabled", - "userVisibleState": "Ready", - "fullyQualifiedDomainName": "targetserver.mariadb.database.azure.com", - "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00" - }, - "location": "brazilsouth", - "tags": { - "ElasticServer": "1" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/targetserver", - "name": "targetserver", - "type": "Microsoft.DBforMariaDB/servers" - } + "location": "brazilsouth", + "properties": { + "restorePointInTime": "2017-12-14T00:00:37.467Z", + "createMode": "PointInTimeRestore", + "sourceServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/SourceResourceGroup/providers/Microsoft.DBforMariaDB/servers/sourceserver" + }, + "sku": { + "name": "GP_Gen5_2", + "tier": "GeneralPurpose", + "family": "Gen5", + "capacity": 2 + }, + "tags": { + "ElasticServer": "1" + } + } + }, + "responses": { + "201": { + "body": { + "sku": { + "name": "GP_Gen5_2", + "tier": "GeneralPurpose", + "family": "Gen5", + "capacity": 2 + }, + "properties": { + "administratorLogin": "cloudsa", + "storageProfile": { + "storageMB": 128000, + "backupRetentionDays": 7, + "geoRedundantBackup": "Enabled" }, - "200": { - "body": { - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/targetserver", - "name": "targetserver", - "type": "Microsoft.DBforMariaDB/servers", - "location": "brazilsouth", - "sku": { - "name": "GP_Gen5_2", - "tier": "GeneralPurpose", - "family": "Gen5", - "capacity": 2 - }, - "tags": { - "elasticServer": "1" - }, - "properties": { - "administratorLogin": "cloudsa", - "storageProfile": { - "storageMB": 128000, - "backupRetentionDays": 7, - "geoRedundantBackup": "Enabled" - }, - "version": "5.7", - "sslEnforcement": "Enabled", - "userVisibleState": "Ready", - "fullyQualifiedDomainName": "targetserver.mariadb.database.azure.com", - "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00" - } - } + "version": "5.7", + "sslEnforcement": "Enabled", + "userVisibleState": "Ready", + "fullyQualifiedDomainName": "targetserver.mariadb.database.azure.com", + "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00" + }, + "location": "brazilsouth", + "tags": { + "ElasticServer": "1" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/targetserver", + "name": "targetserver", + "type": "Microsoft.DBforMariaDB/servers" + } + }, + "200": { + "body": { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/targetserver", + "name": "targetserver", + "type": "Microsoft.DBforMariaDB/servers", + "location": "brazilsouth", + "sku": { + "name": "GP_Gen5_2", + "tier": "GeneralPurpose", + "family": "Gen5", + "capacity": 2 + }, + "tags": { + "elasticServer": "1" + }, + "properties": { + "administratorLogin": "cloudsa", + "storageProfile": { + "storageMB": 128000, + "backupRetentionDays": 7, + "geoRedundantBackup": "Enabled" }, - "202": {} - } -} \ No newline at end of file + "version": "5.7", + "sslEnforcement": "Enabled", + "userVisibleState": "Ready", + "fullyQualifiedDomainName": "targetserver.mariadb.database.azure.com", + "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00" + } + } + }, + "202": {} + } +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerCreateReplicaMode.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerCreateReplicaMode.json index f60da39a2c06..fd00d428392f 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerCreateReplicaMode.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerCreateReplicaMode.json @@ -81,4 +81,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerDelete.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerDelete.json index 2a1ad22df63e..f1950541bfd0 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerDelete.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerDelete.json @@ -10,4 +10,4 @@ "202": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerGet.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerGet.json index 97bad474fe4b..fb8fdea3d1f7 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerGet.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerGet.json @@ -40,4 +40,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerList.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerList.json index d5c2e5d0ccb3..de7b622078e6 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerList.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerList.json @@ -86,4 +86,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerListByResourceGroup.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerListByResourceGroup.json index 07c4f381084f..7331423f71cd 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerListByResourceGroup.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerListByResourceGroup.json @@ -62,4 +62,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerRestart.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerRestart.json index 3a6333f8febc..3b08fa5928f2 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerRestart.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerRestart.json @@ -1,12 +1,12 @@ { - "parameters": { - "serverName": "testserver", - "resourceGroupName": "TestGroup", - "api-version": "2018-06-01", - "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" - }, - "responses": { - "200": {}, - "202": {} - } - } \ No newline at end of file + "parameters": { + "serverName": "testserver", + "resourceGroupName": "TestGroup", + "api-version": "2018-06-01", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": {}, + "202": {} + } +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerSecurityAlertsCreateMax.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerSecurityAlertsCreateMax.json index ddd2caa7654b..36f74c0cf8a9 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerSecurityAlertsCreateMax.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerSecurityAlertsCreateMax.json @@ -1,39 +1,48 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "securityalert-4799", + "serverName": "securityalert-6440", + "securityAlertPolicyName": "Default", + "api-version": "2018-06-01", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "securityalert-4799", - "serverName": "securityalert-6440", - "securityAlertPolicyName": "Default", - "api-version": "2018-06-01", - "parameters": { - "properties": { - "state": "Enabled", - "emailAccountAdmins": true, - "emailAddresses": ["testSecurityAlert@microsoft.com"], - "disabledAlerts": ["Access_Anomaly", "Usage_Anomaly"], - "retentionDays": 5, - "storageAccountAccessKey": "sdlfkjabc+sdlfkjsdlkfsjdfLDKFTERLKFDFKLjsdfksjdflsdkfD2342309432849328476458/3RSD==", - "storageEndpoint": "https://mystorage.blob.core.windows.net" - } + "properties": { + "state": "Enabled", + "emailAccountAdmins": true, + "emailAddresses": [ + "testSecurityAlert@microsoft.com" + ], + "disabledAlerts": [ + "Access_Anomaly", + "Usage_Anomaly" + ], + "retentionDays": 5, + "storageAccountAccessKey": "sdlfkjabc+sdlfkjsdlkfsjdfLDKFTERLKFDFKLjsdfksjdflsdkfD2342309432849328476458/3RSD==", + "storageEndpoint": "https://mystorage.blob.core.windows.net" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMariaDB/servers/securityalert-6440/securityAlertPolicies/default", + "name": "Default", + "type": "Microsoft.DBforMariaDB/servers/securityAlertPolicies", + "properties": { + "state": "Enabled", + "emailAccountAdmins": true, + "emailAddresses": [ + "testSecurityAlert@microsoft.com" + ], + "disabledAlerts": [ + "Access_Anomaly", + "Usage_Anomaly" + ], + "retentionDays": 5, + "storageEndpoint": "https://mystorage.blob.core.windows.net" } + } }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMariaDB/servers/securityalert-6440/securityAlertPolicies/default", - "name": "Default", - "type": "Microsoft.DBforMariaDB/servers/securityAlertPolicies", - "properties": { - "state": "Enabled", - "emailAccountAdmins": true, - "emailAddresses": ["testSecurityAlert@microsoft.com"], - "disabledAlerts": ["Access_Anomaly","Usage_Anomaly"], - "retentionDays": 5, - "storageEndpoint": "https://mystorage.blob.core.windows.net" - } - } - }, - "202": { - } - } -} \ No newline at end of file + "202": {} + } +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerSecurityAlertsCreateMin.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerSecurityAlertsCreateMin.json index 704fcf37b4f3..e55f7fa38330 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerSecurityAlertsCreateMin.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerSecurityAlertsCreateMin.json @@ -1,34 +1,33 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "securityalert-4799", + "serverName": "securityalert-6440", + "securityAlertPolicyName": "Default", + "api-version": "2018-06-01", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "securityalert-4799", - "serverName": "securityalert-6440", - "securityAlertPolicyName": "Default", - "api-version": "2018-06-01", - "parameters": { - "properties": { - "state": "Disabled", - "emailAccountAdmins": true - } + "properties": { + "state": "Disabled", + "emailAccountAdmins": true + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMariaDB/servers/securityalert-6440/securityAlertPolicies/default", + "name": "Default", + "type": "Microsoft.DBforMariaDB/servers/securityAlertPolicies", + "properties": { + "state": "Enabled", + "emailAccountAdmins": true, + "emailAddresses": [], + "disabledAlerts": [], + "retentionDays": 0, + "storageEndpoint": "" } + } }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMariaDB/servers/securityalert-6440/securityAlertPolicies/default", - "name": "Default", - "type": "Microsoft.DBforMariaDB/servers/securityAlertPolicies", - "properties": { - "state": "Enabled", - "emailAccountAdmins": true, - "emailAddresses": [], - "disabledAlerts": [], - "retentionDays": 0, - "storageEndpoint": "" - } - } - }, - "202": { - } - } -} \ No newline at end of file + "202": {} + } +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerSecurityAlertsGet.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerSecurityAlertsGet.json index 6c7833d4d89c..749cbe317f46 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerSecurityAlertsGet.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerSecurityAlertsGet.json @@ -1,26 +1,30 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "securityalert-4799", - "serverName": "securityalert-6440", - "securityAlertPolicyName": "Default", - "api-version": "2018-06-01" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMariaDB/servers/securityalert-6440/securityAlertPolicies/default", - "name": "Default", - "type": "Microsoft.DBforMariaDB/servers/securityAlertPolicies", - "properties": { - "state": "Disabled", - "emailAccountAdmins": true, - "emailAddresses": [ "test@microsoft.com;user@microsoft.com" ], - "disabledAlerts": ["Access_Anomaly"], - "retentionDays": 0, - "storageEndpoint": "https://mystorage.blob.core.windows.net" - } - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "securityalert-4799", + "serverName": "securityalert-6440", + "securityAlertPolicyName": "Default", + "api-version": "2018-06-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMariaDB/servers/securityalert-6440/securityAlertPolicies/default", + "name": "Default", + "type": "Microsoft.DBforMariaDB/servers/securityAlertPolicies", + "properties": { + "state": "Disabled", + "emailAccountAdmins": true, + "emailAddresses": [ + "test@microsoft.com;user@microsoft.com" + ], + "disabledAlerts": [ + "Access_Anomaly" + ], + "retentionDays": 0, + "storageEndpoint": "https://mystorage.blob.core.windows.net" } + } } -} \ No newline at end of file + } +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerUpdate.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerUpdate.json index 046eed085de4..cc84bc925628 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerUpdate.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerUpdate.json @@ -44,4 +44,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/TopQueryStatisticsGet.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/TopQueryStatisticsGet.json index 87305a2a3432..25cf6245e6e1 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/TopQueryStatisticsGet.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/TopQueryStatisticsGet.json @@ -13,19 +13,19 @@ "name": "66-636923268000000000-636923277000000000-avg-duration", "type": "Microsoft.DBforMariaDB/servers/queryStatistics", "properties": { - "aggregationFunction" : "avg", + "aggregationFunction": "avg", "databaseNames": [ "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testResourceGroupName/providers/Microsoft.DBforMariaDB/servers/testServerName/databases/mariadb" ], "startTime": "2019-05-01T17:00:00Z", "endTime": "2019-05-01T17:15:00Z", - "metricDisplayName":"Query duration", + "metricDisplayName": "Query duration", "metricName": "duration", "metricValue": 123.301446136, "metricValueUnit": "milliseconds", "queryExecutionCount": 1, "queryId": "66" - } + } } } } diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/TopQueryStatisticsListByServer.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/TopQueryStatisticsListByServer.json index 3315678eca8f..05e1f9515e13 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/TopQueryStatisticsListByServer.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/TopQueryStatisticsListByServer.json @@ -24,13 +24,13 @@ "name": "66-636923268000000000-636923277000000000-avg-duration", "type": "Microsoft.DBforMariaDB/servers/queryStatistics", "properties": { - "aggregationFunction" : "avg", + "aggregationFunction": "avg", "databaseNames": [ "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testResourceGroupName/providers/Microsoft.DBforMariaDB/servers/testServerName/databases/mariadb" ], "startTime": "2019-05-01T17:00:00Z", "endTime": "2019-05-01T17:15:00Z", - "metricDisplayName":"Query duration", + "metricDisplayName": "Query duration", "metricName": "duration", "metricValue": 123.301446136, "metricValueUnit": "milliseconds", @@ -43,13 +43,13 @@ "name": "66-636924483000000000-636924492000000000-avg-duration", "type": "Microsoft.DBforMariaDB/servers/queryStatistics", "properties": { - "aggregationFunction" : "avg", + "aggregationFunction": "avg", "databaseNames": [ "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testResourceGroupName/providers/Microsoft.DBforMariaDB/servers/testServerName/databases/mariadb" ], "startTime": "2019-05-03T02:45:00Z", "endTime": "2019-05-03T03:00:00Z", - "metricDisplayName":"Query duration", + "metricDisplayName": "Query duration", "metricName": "duration", "metricValue": 1712.301446136, "metricValueUnit": "milliseconds", diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/VirtualNetworkRulesCreateOrUpdate.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/VirtualNetworkRulesCreateOrUpdate.json index 2df814ab4133..f4ba671f2acc 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/VirtualNetworkRulesCreateOrUpdate.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/VirtualNetworkRulesCreateOrUpdate.json @@ -6,35 +6,35 @@ "virtualNetworkRuleName": "vnet-firewall-rule", "api-version": "2018-06-01", "parameters": { - "properties": { - "ignoreMissingVnetServiceEndpoint": false, - "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" - } + "properties": { + "ignoreMissingVnetServiceEndpoint": false, + "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" + } } }, "responses": { - "200": { - "body": { - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", - "name": "vnet-firewall-rule", - "type": "Microsoft.DBforMariaDB/servers/virtualNetworkRules", - "properties": { - "ignoreMissingVnetServiceEndpoint": false, - "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", - "name": "vnet-firewall-rule", - "type": "Microsoft.DBforMariaDB/servers/virtualNetworkRules", - "properties": { - "ignoreMissingVnetServiceEndpoint": false, - "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" - } - } - }, - "202": {} + "200": { + "body": { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", + "name": "vnet-firewall-rule", + "type": "Microsoft.DBforMariaDB/servers/virtualNetworkRules", + "properties": { + "ignoreMissingVnetServiceEndpoint": false, + "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", + "name": "vnet-firewall-rule", + "type": "Microsoft.DBforMariaDB/servers/virtualNetworkRules", + "properties": { + "ignoreMissingVnetServiceEndpoint": false, + "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" + } + } + }, + "202": {} } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/VirtualNetworkRulesDelete.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/VirtualNetworkRulesDelete.json index 25b007c52c42..cfb5339892be 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/VirtualNetworkRulesDelete.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/VirtualNetworkRulesDelete.json @@ -1,20 +1,20 @@ { - "parameters": { - "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", - "resourceGroupName": "TestGroup", - "serverName": "vnet-test-svr", - "virtualNetworkRuleName": "vnet-firewall-rule", - "api-version": "2018-06-01" - }, - "responses": { - "200": { - "body": "" - }, - "202": { - "body": "" - }, - "204": { - "body": "" - } + "parameters": { + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", + "resourceGroupName": "TestGroup", + "serverName": "vnet-test-svr", + "virtualNetworkRuleName": "vnet-firewall-rule", + "api-version": "2018-06-01" + }, + "responses": { + "200": { + "body": "" + }, + "202": { + "body": "" + }, + "204": { + "body": "" } -} \ No newline at end of file + } +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/VirtualNetworkRulesGet.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/VirtualNetworkRulesGet.json index 1b97f04ccc5a..72eb33edf92a 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/VirtualNetworkRulesGet.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/VirtualNetworkRulesGet.json @@ -7,17 +7,17 @@ "api-version": "2018-06-01" }, "responses": { - "200": { - "body": { - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", - "name": "vnet-firewall-rule", - "type": "Microsoft.DBforMariaDB/servers/virtualNetworkRules", - "properties": { - "ignoreMissingVnetServiceEndpoint": false, - "state": "Ready", - "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" - } - } + "200": { + "body": { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", + "name": "vnet-firewall-rule", + "type": "Microsoft.DBforMariaDB/servers/virtualNetworkRules", + "properties": { + "ignoreMissingVnetServiceEndpoint": false, + "state": "Ready", + "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" + } + } } } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/VirtualNetworkRulesList.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/VirtualNetworkRulesList.json index e3ea4b632c8e..b55e9fb25c45 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/VirtualNetworkRulesList.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/VirtualNetworkRulesList.json @@ -7,31 +7,31 @@ "api-version": "2018-06-01" }, "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", - "name": "vnet-firewall-rule", - "type": "Microsoft.DBforMariaDB/servers/virtualNetworkRules", - "properties": { - "ignoreMissingVnetServiceEndpoint": false, - "state": "Ready", - "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" - } - }, - { - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", - "name": "vnet-firewall-rule", - "type": "Microsoft.DBforMariaDB/servers/virtualNetworkRules", - "properties": { - "ignoreMissingVnetServiceEndpoint": false, - "state": "Ready", - "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" - } - } - ] - } + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", + "name": "vnet-firewall-rule", + "type": "Microsoft.DBforMariaDB/servers/virtualNetworkRules", + "properties": { + "ignoreMissingVnetServiceEndpoint": false, + "state": "Ready", + "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" + } + }, + { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", + "name": "vnet-firewall-rule", + "type": "Microsoft.DBforMariaDB/servers/virtualNetworkRules", + "properties": { + "ignoreMissingVnetServiceEndpoint": false, + "state": "Ready", + "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" + } + } + ] + } } } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/mariadb.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/mariadb.json index 237172365fc3..bb7ed03ce2ba 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/mariadb.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/mariadb.json @@ -45,7 +45,7 @@ "$ref": "./examples/ServerCreate.json" }, "Create a database as a point in time restore": { - "$ref":"./examples/ServerCreatePointInTimeRestore.json" + "$ref": "./examples/ServerCreatePointInTimeRestore.json" }, "Create a server as a geo restore ": { "$ref": "./examples/ServerCreateGeoRestoreMode.json" @@ -293,7 +293,9 @@ ], "operationId": "Servers_Restart", "x-ms-examples": { - "ServerRestart": { "$ref": "./examples/ServerRestart.json" } + "ServerRestart": { + "$ref": "./examples/ServerRestart.json" + } }, "description": "Restarts a server.", "parameters": [ @@ -1907,7 +1909,7 @@ "x-ms-mutability": [ "read", "create" - ], + ], "description": "The location the resource resides in." }, "tags": { @@ -2007,7 +2009,7 @@ "format": "int32", "description": "Max storage allowed for a server." }, - "storageAutogrow" : { + "storageAutogrow": { "type": "string", "description": "Enable Storage Auto Grow.", "enum": [ @@ -3142,8 +3144,7 @@ } }, "AdvisorProperties": { - "properties": { - }, + "properties": {}, "description": "The properties of a recommendation action advisor." }, "Advisor": { diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/CheckNameAvailability.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/CheckNameAvailability.json index d547976bab99..31ab6da04c11 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/CheckNameAvailability.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/CheckNameAvailability.json @@ -16,4 +16,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ConfigurationCreateOrUpdate.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ConfigurationCreateOrUpdate.json index be1a20a77a7a..65cf3730b1b6 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ConfigurationCreateOrUpdate.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ConfigurationCreateOrUpdate.json @@ -6,7 +6,7 @@ "api-version": "2018-06-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "parameters": { - "properties":{ + "properties": { "value": "off", "source": "user-override" } @@ -30,4 +30,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ConfigurationGet.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ConfigurationGet.json index c742fb75969e..ee378a2516d7 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ConfigurationGet.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ConfigurationGet.json @@ -23,4 +23,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ConfigurationListByServer.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ConfigurationListByServer.json index 9d6f937021cf..409fd331305d 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ConfigurationListByServer.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ConfigurationListByServer.json @@ -598,4 +598,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/DatabaseCreate.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/DatabaseCreate.json index 0b0ffa2b8276..d4ccabe39680 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/DatabaseCreate.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/DatabaseCreate.json @@ -6,9 +6,9 @@ "api-version": "2018-06-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "parameters": { - "properties":{ - "charset":"utf8", - "collation":"utf8_general_ci" + "properties": { + "charset": "utf8", + "collation": "utf8_general_ci" } } }, @@ -37,4 +37,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/DatabaseDelete.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/DatabaseDelete.json index 8fb3bae30a47..d1d52f99130c 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/DatabaseDelete.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/DatabaseDelete.json @@ -11,4 +11,4 @@ "202": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/DatabaseGet.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/DatabaseGet.json index 9a48aa456d70..37c971e32133 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/DatabaseGet.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/DatabaseGet.json @@ -19,4 +19,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/DatabaseListByServer.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/DatabaseListByServer.json index 0307a92f626f..ecd533b78bcd 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/DatabaseListByServer.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/DatabaseListByServer.json @@ -31,4 +31,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/FirewallRuleCreate.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/FirewallRuleCreate.json index a788d945e9e0..9a416423697d 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/FirewallRuleCreate.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/FirewallRuleCreate.json @@ -6,9 +6,9 @@ "api-version": "2018-06-01", "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "parameters": { - "properties":{ - "startIpAddress":"0.0.0.0", - "endIpAddress":"255.255.255.255" + "properties": { + "startIpAddress": "0.0.0.0", + "endIpAddress": "255.255.255.255" } } }, @@ -37,4 +37,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/FirewallRuleDelete.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/FirewallRuleDelete.json index 322a072c0209..a3891fa434de 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/FirewallRuleDelete.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/FirewallRuleDelete.json @@ -11,4 +11,4 @@ "202": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/FirewallRuleGet.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/FirewallRuleGet.json index e073fbc225d4..70f794d4e226 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/FirewallRuleGet.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/FirewallRuleGet.json @@ -19,4 +19,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/FirewallRuleListByServer.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/FirewallRuleListByServer.json index 7231a5428143..df35f93f8cc6 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/FirewallRuleListByServer.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/FirewallRuleListByServer.json @@ -31,4 +31,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/LogFileListByServer.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/LogFileListByServer.json index 89bf4bb4a8fe..7c961f4d9139 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/LogFileListByServer.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/LogFileListByServer.json @@ -25,4 +25,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/OperationList.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/OperationList.json index 5fee21cd2548..e5d4c6992f3f 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/OperationList.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/OperationList.json @@ -214,4 +214,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/PerformanceTiersListByLocation.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/PerformanceTiersListByLocation.json index d6c217745b17..bd4e7a26607e 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/PerformanceTiersListByLocation.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/PerformanceTiersListByLocation.json @@ -92,4 +92,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ReplicasListByServer.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ReplicasListByServer.json index 9679de879c33..dbff8b3c4e89 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ReplicasListByServer.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ReplicasListByServer.json @@ -30,7 +30,7 @@ "geoRedundantBackup": "Enabled" }, "administratorLogin": "cloudsa", - "sslEnforcement":"Enabled", + "sslEnforcement": "Enabled", "userVisibleState": "Ready", "fullyQualifiedDomainName": "testserver.mariadb.database.azure.com", "version": "5.6", @@ -48,7 +48,7 @@ "tags": { "elasticServer": "1" }, - "sku": { + "sku": { "name": "GP_Gen4_2", "tier": "GeneralPurpose", "family": "Gen4", @@ -61,7 +61,7 @@ "geoRedundantBackup": "Enabled" }, "administratorLogin": "cloudsa", - "sslEnforcement":"Enabled", + "sslEnforcement": "Enabled", "userVisibleState": "Ready", "fullyQualifiedDomainName": "testserver1.mariadb.database.azure.com", "version": "5.6", @@ -79,20 +79,20 @@ "tags": { "elasticServer": "1" }, - "sku": { + "sku": { "name": "GP_Gen4_2", "tier": "GeneralPurpose", "family": "Gen4", "capacity": 2 }, - "properties": { + "properties": { "storageProfile": { "storageMB": 256000, "backupRetentionDays": 35, "geoRedundantBackup": "Enabled" }, "administratorLogin": "cloudsa", - "sslEnforcement":"Enabled", + "sslEnforcement": "Enabled", "userVisibleState": "Ready", "fullyQualifiedDomainName": "testserver2.mariadb.database.azure.com", "version": "5.6", @@ -106,4 +106,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerCreate.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerCreate.json index c25bf15f2430..adcaa150fbcb 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerCreate.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerCreate.json @@ -91,4 +91,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerCreateGeoRestoreMode.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerCreateGeoRestoreMode.json index c8f33b2ee7a5..b352e68e5f10 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerCreateGeoRestoreMode.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerCreateGeoRestoreMode.json @@ -1,87 +1,87 @@ { + "parameters": { + "serverName": "targetserver", + "resourceGroupName": "TargetResourceGroup", + "api-version": "2018-06-01", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "parameters": { - "serverName": "targetserver", - "resourceGroupName": "TargetResourceGroup", - "api-version": "2018-06-01", - "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", - "parameters": { - "location": "westus", - "properties": { - "createMode": "GeoRestore", - "sourceServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/SourceResourceGroup/providers/Microsoft.DBforMariaDB/servers/sourceserver" - }, - "sku": { - "name": "GP_Gen5_2", - "tier": "GeneralPurpose", - "family": "Gen5", - "capacity": 2 - }, - "tags": { - "ElasticServer": "1" - } - } - }, - "responses": { - "201": { - "body": { - "sku": { - "name": "GP_Gen5_2", - "tier": "GeneralPurpose", - "family": "Gen5", - "capacity": 2 - }, - "properties": { - "administratorLogin": "cloudsa", - "storageProfile": { - "storageMB": 128000, - "backupRetentionDays": 14, - "geoRedundantBackup": "Enabled" - }, - "version": "5.7", - "sslEnforcement": "Enabled", - "userVisibleState": "Ready", - "fullyQualifiedDomainName": "targetserver.mariadb.database.azure.com", - "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00" - }, - "location": "westus", - "tags": { - "ElasticServer": "1" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/targetserver", - "name": "targetserver", - "type": "Microsoft.DBforMariaDB/servers" - } + "location": "westus", + "properties": { + "createMode": "GeoRestore", + "sourceServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/SourceResourceGroup/providers/Microsoft.DBforMariaDB/servers/sourceserver" + }, + "sku": { + "name": "GP_Gen5_2", + "tier": "GeneralPurpose", + "family": "Gen5", + "capacity": 2 + }, + "tags": { + "ElasticServer": "1" + } + } + }, + "responses": { + "201": { + "body": { + "sku": { + "name": "GP_Gen5_2", + "tier": "GeneralPurpose", + "family": "Gen5", + "capacity": 2 + }, + "properties": { + "administratorLogin": "cloudsa", + "storageProfile": { + "storageMB": 128000, + "backupRetentionDays": 14, + "geoRedundantBackup": "Enabled" }, - "200": { - "body": { - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/targetserver", - "name": "targetserver", - "type": "Microsoft.DBforMariaDB/servers", - "location": "westus", - "sku": { - "name": "GP_Gen5_2", - "tier": "GeneralPurpose", - "family": "Gen5", - "capacity": 2 - }, - "tags": { - "elasticServer": "1" - }, - "properties": { - "administratorLogin": "cloudsa", - "storageProfile": { - "storageMB": 128000, - "backupRetentionDays": 14, - "geoRedundantBackup": "Enabled" - }, - "version": "5.7", - "sslEnforcement": "Enabled", - "userVisibleState": "Ready", - "fullyQualifiedDomainName": "targetserver.mariadb.database.azure.com", - "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00" - } - } + "version": "5.7", + "sslEnforcement": "Enabled", + "userVisibleState": "Ready", + "fullyQualifiedDomainName": "targetserver.mariadb.database.azure.com", + "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00" + }, + "location": "westus", + "tags": { + "ElasticServer": "1" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/targetserver", + "name": "targetserver", + "type": "Microsoft.DBforMariaDB/servers" + } + }, + "200": { + "body": { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/targetserver", + "name": "targetserver", + "type": "Microsoft.DBforMariaDB/servers", + "location": "westus", + "sku": { + "name": "GP_Gen5_2", + "tier": "GeneralPurpose", + "family": "Gen5", + "capacity": 2 + }, + "tags": { + "elasticServer": "1" + }, + "properties": { + "administratorLogin": "cloudsa", + "storageProfile": { + "storageMB": 128000, + "backupRetentionDays": 14, + "geoRedundantBackup": "Enabled" }, - "202": {} - } -} \ No newline at end of file + "version": "5.7", + "sslEnforcement": "Enabled", + "userVisibleState": "Ready", + "fullyQualifiedDomainName": "targetserver.mariadb.database.azure.com", + "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00" + } + } + }, + "202": {} + } +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerCreatePointInTimeRestore.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerCreatePointInTimeRestore.json index e8791c551045..05f6fdc02bbd 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerCreatePointInTimeRestore.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerCreatePointInTimeRestore.json @@ -1,88 +1,88 @@ { + "parameters": { + "serverName": "targetserver", + "resourceGroupName": "TargetResourceGroup", + "api-version": "2018-06-01", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "parameters": { - "serverName": "targetserver", - "resourceGroupName": "TargetResourceGroup", - "api-version": "2018-06-01", - "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", - "parameters": { - "location": "brazilsouth", - "properties": { - "restorePointInTime": "2017-12-14T00:00:37.467Z", - "createMode": "PointInTimeRestore", - "sourceServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/SourceResourceGroup/providers/Microsoft.DBforMariaDB/servers/sourceserver" - }, - "sku": { - "name": "GP_Gen5_2", - "tier": "GeneralPurpose", - "family": "Gen5", - "capacity": 2 - }, - "tags": { - "ElasticServer": "1" - } - } - }, - "responses": { - "201": { - "body": { - "sku": { - "name": "GP_Gen5_2", - "tier": "GeneralPurpose", - "family": "Gen5", - "capacity": 2 - }, - "properties": { - "administratorLogin": "cloudsa", - "storageProfile": { - "storageMB": 128000, - "backupRetentionDays": 7, - "geoRedundantBackup": "Enabled" - }, - "version": "5.7", - "sslEnforcement": "Enabled", - "userVisibleState": "Ready", - "fullyQualifiedDomainName": "targetserver.mariadb.database.azure.com", - "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00" - }, - "location": "brazilsouth", - "tags": { - "ElasticServer": "1" - }, - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/targetserver", - "name": "targetserver", - "type": "Microsoft.DBforMariaDB/servers" - } + "location": "brazilsouth", + "properties": { + "restorePointInTime": "2017-12-14T00:00:37.467Z", + "createMode": "PointInTimeRestore", + "sourceServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/SourceResourceGroup/providers/Microsoft.DBforMariaDB/servers/sourceserver" + }, + "sku": { + "name": "GP_Gen5_2", + "tier": "GeneralPurpose", + "family": "Gen5", + "capacity": 2 + }, + "tags": { + "ElasticServer": "1" + } + } + }, + "responses": { + "201": { + "body": { + "sku": { + "name": "GP_Gen5_2", + "tier": "GeneralPurpose", + "family": "Gen5", + "capacity": 2 + }, + "properties": { + "administratorLogin": "cloudsa", + "storageProfile": { + "storageMB": 128000, + "backupRetentionDays": 7, + "geoRedundantBackup": "Enabled" }, - "200": { - "body": { - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/targetserver", - "name": "targetserver", - "type": "Microsoft.DBforMariaDB/servers", - "location": "brazilsouth", - "sku": { - "name": "GP_Gen5_2", - "tier": "GeneralPurpose", - "family": "Gen5", - "capacity": 2 - }, - "tags": { - "elasticServer": "1" - }, - "properties": { - "administratorLogin": "cloudsa", - "storageProfile": { - "storageMB": 128000, - "backupRetentionDays": 7, - "geoRedundantBackup": "Enabled" - }, - "version": "5.7", - "sslEnforcement": "Enabled", - "userVisibleState": "Ready", - "fullyQualifiedDomainName": "targetserver.mariadb.database.azure.com", - "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00" - } - } + "version": "5.7", + "sslEnforcement": "Enabled", + "userVisibleState": "Ready", + "fullyQualifiedDomainName": "targetserver.mariadb.database.azure.com", + "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00" + }, + "location": "brazilsouth", + "tags": { + "ElasticServer": "1" + }, + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/targetserver", + "name": "targetserver", + "type": "Microsoft.DBforMariaDB/servers" + } + }, + "200": { + "body": { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/targetserver", + "name": "targetserver", + "type": "Microsoft.DBforMariaDB/servers", + "location": "brazilsouth", + "sku": { + "name": "GP_Gen5_2", + "tier": "GeneralPurpose", + "family": "Gen5", + "capacity": 2 + }, + "tags": { + "elasticServer": "1" + }, + "properties": { + "administratorLogin": "cloudsa", + "storageProfile": { + "storageMB": 128000, + "backupRetentionDays": 7, + "geoRedundantBackup": "Enabled" }, - "202": {} - } -} \ No newline at end of file + "version": "5.7", + "sslEnforcement": "Enabled", + "userVisibleState": "Ready", + "fullyQualifiedDomainName": "targetserver.mariadb.database.azure.com", + "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00" + } + } + }, + "202": {} + } +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerCreateReplicaMode.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerCreateReplicaMode.json index f60da39a2c06..fd00d428392f 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerCreateReplicaMode.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerCreateReplicaMode.json @@ -81,4 +81,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerDelete.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerDelete.json index 2a1ad22df63e..f1950541bfd0 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerDelete.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerDelete.json @@ -10,4 +10,4 @@ "202": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerGet.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerGet.json index 97bad474fe4b..fb8fdea3d1f7 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerGet.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerGet.json @@ -40,4 +40,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerList.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerList.json index d5c2e5d0ccb3..de7b622078e6 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerList.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerList.json @@ -86,4 +86,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerListByResourceGroup.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerListByResourceGroup.json index 07c4f381084f..7331423f71cd 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerListByResourceGroup.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerListByResourceGroup.json @@ -62,4 +62,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerRestart.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerRestart.json index 3a6333f8febc..3b08fa5928f2 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerRestart.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerRestart.json @@ -1,12 +1,12 @@ { - "parameters": { - "serverName": "testserver", - "resourceGroupName": "TestGroup", - "api-version": "2018-06-01", - "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" - }, - "responses": { - "200": {}, - "202": {} - } - } \ No newline at end of file + "parameters": { + "serverName": "testserver", + "resourceGroupName": "TestGroup", + "api-version": "2018-06-01", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": {}, + "202": {} + } +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerSecurityAlertsCreateMax.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerSecurityAlertsCreateMax.json index ddd2caa7654b..36f74c0cf8a9 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerSecurityAlertsCreateMax.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerSecurityAlertsCreateMax.json @@ -1,39 +1,48 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "securityalert-4799", + "serverName": "securityalert-6440", + "securityAlertPolicyName": "Default", + "api-version": "2018-06-01", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "securityalert-4799", - "serverName": "securityalert-6440", - "securityAlertPolicyName": "Default", - "api-version": "2018-06-01", - "parameters": { - "properties": { - "state": "Enabled", - "emailAccountAdmins": true, - "emailAddresses": ["testSecurityAlert@microsoft.com"], - "disabledAlerts": ["Access_Anomaly", "Usage_Anomaly"], - "retentionDays": 5, - "storageAccountAccessKey": "sdlfkjabc+sdlfkjsdlkfsjdfLDKFTERLKFDFKLjsdfksjdflsdkfD2342309432849328476458/3RSD==", - "storageEndpoint": "https://mystorage.blob.core.windows.net" - } + "properties": { + "state": "Enabled", + "emailAccountAdmins": true, + "emailAddresses": [ + "testSecurityAlert@microsoft.com" + ], + "disabledAlerts": [ + "Access_Anomaly", + "Usage_Anomaly" + ], + "retentionDays": 5, + "storageAccountAccessKey": "sdlfkjabc+sdlfkjsdlkfsjdfLDKFTERLKFDFKLjsdfksjdflsdkfD2342309432849328476458/3RSD==", + "storageEndpoint": "https://mystorage.blob.core.windows.net" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMariaDB/servers/securityalert-6440/securityAlertPolicies/default", + "name": "Default", + "type": "Microsoft.DBforMariaDB/servers/securityAlertPolicies", + "properties": { + "state": "Enabled", + "emailAccountAdmins": true, + "emailAddresses": [ + "testSecurityAlert@microsoft.com" + ], + "disabledAlerts": [ + "Access_Anomaly", + "Usage_Anomaly" + ], + "retentionDays": 5, + "storageEndpoint": "https://mystorage.blob.core.windows.net" } + } }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMariaDB/servers/securityalert-6440/securityAlertPolicies/default", - "name": "Default", - "type": "Microsoft.DBforMariaDB/servers/securityAlertPolicies", - "properties": { - "state": "Enabled", - "emailAccountAdmins": true, - "emailAddresses": ["testSecurityAlert@microsoft.com"], - "disabledAlerts": ["Access_Anomaly","Usage_Anomaly"], - "retentionDays": 5, - "storageEndpoint": "https://mystorage.blob.core.windows.net" - } - } - }, - "202": { - } - } -} \ No newline at end of file + "202": {} + } +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerSecurityAlertsCreateMin.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerSecurityAlertsCreateMin.json index 704fcf37b4f3..e55f7fa38330 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerSecurityAlertsCreateMin.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerSecurityAlertsCreateMin.json @@ -1,34 +1,33 @@ { + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "securityalert-4799", + "serverName": "securityalert-6440", + "securityAlertPolicyName": "Default", + "api-version": "2018-06-01", "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "securityalert-4799", - "serverName": "securityalert-6440", - "securityAlertPolicyName": "Default", - "api-version": "2018-06-01", - "parameters": { - "properties": { - "state": "Disabled", - "emailAccountAdmins": true - } + "properties": { + "state": "Disabled", + "emailAccountAdmins": true + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMariaDB/servers/securityalert-6440/securityAlertPolicies/default", + "name": "Default", + "type": "Microsoft.DBforMariaDB/servers/securityAlertPolicies", + "properties": { + "state": "Enabled", + "emailAccountAdmins": true, + "emailAddresses": [], + "disabledAlerts": [], + "retentionDays": 0, + "storageEndpoint": "" } + } }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMariaDB/servers/securityalert-6440/securityAlertPolicies/default", - "name": "Default", - "type": "Microsoft.DBforMariaDB/servers/securityAlertPolicies", - "properties": { - "state": "Enabled", - "emailAccountAdmins": true, - "emailAddresses": [], - "disabledAlerts": [], - "retentionDays": 0, - "storageEndpoint": "" - } - } - }, - "202": { - } - } -} \ No newline at end of file + "202": {} + } +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerSecurityAlertsGet.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerSecurityAlertsGet.json index 6c7833d4d89c..749cbe317f46 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerSecurityAlertsGet.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerSecurityAlertsGet.json @@ -1,26 +1,30 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "securityalert-4799", - "serverName": "securityalert-6440", - "securityAlertPolicyName": "Default", - "api-version": "2018-06-01" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMariaDB/servers/securityalert-6440/securityAlertPolicies/default", - "name": "Default", - "type": "Microsoft.DBforMariaDB/servers/securityAlertPolicies", - "properties": { - "state": "Disabled", - "emailAccountAdmins": true, - "emailAddresses": [ "test@microsoft.com;user@microsoft.com" ], - "disabledAlerts": ["Access_Anomaly"], - "retentionDays": 0, - "storageEndpoint": "https://mystorage.blob.core.windows.net" - } - } + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "securityalert-4799", + "serverName": "securityalert-6440", + "securityAlertPolicyName": "Default", + "api-version": "2018-06-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMariaDB/servers/securityalert-6440/securityAlertPolicies/default", + "name": "Default", + "type": "Microsoft.DBforMariaDB/servers/securityAlertPolicies", + "properties": { + "state": "Disabled", + "emailAccountAdmins": true, + "emailAddresses": [ + "test@microsoft.com;user@microsoft.com" + ], + "disabledAlerts": [ + "Access_Anomaly" + ], + "retentionDays": 0, + "storageEndpoint": "https://mystorage.blob.core.windows.net" } + } } -} \ No newline at end of file + } +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerUpdate.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerUpdate.json index 046eed085de4..cc84bc925628 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerUpdate.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerUpdate.json @@ -44,4 +44,4 @@ }, "202": {} } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/VirtualNetworkRulesCreateOrUpdate.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/VirtualNetworkRulesCreateOrUpdate.json index 2df814ab4133..f4ba671f2acc 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/VirtualNetworkRulesCreateOrUpdate.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/VirtualNetworkRulesCreateOrUpdate.json @@ -6,35 +6,35 @@ "virtualNetworkRuleName": "vnet-firewall-rule", "api-version": "2018-06-01", "parameters": { - "properties": { - "ignoreMissingVnetServiceEndpoint": false, - "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" - } + "properties": { + "ignoreMissingVnetServiceEndpoint": false, + "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" + } } }, "responses": { - "200": { - "body": { - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", - "name": "vnet-firewall-rule", - "type": "Microsoft.DBforMariaDB/servers/virtualNetworkRules", - "properties": { - "ignoreMissingVnetServiceEndpoint": false, - "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", - "name": "vnet-firewall-rule", - "type": "Microsoft.DBforMariaDB/servers/virtualNetworkRules", - "properties": { - "ignoreMissingVnetServiceEndpoint": false, - "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" - } - } - }, - "202": {} + "200": { + "body": { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", + "name": "vnet-firewall-rule", + "type": "Microsoft.DBforMariaDB/servers/virtualNetworkRules", + "properties": { + "ignoreMissingVnetServiceEndpoint": false, + "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", + "name": "vnet-firewall-rule", + "type": "Microsoft.DBforMariaDB/servers/virtualNetworkRules", + "properties": { + "ignoreMissingVnetServiceEndpoint": false, + "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" + } + } + }, + "202": {} } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/VirtualNetworkRulesDelete.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/VirtualNetworkRulesDelete.json index 25b007c52c42..cfb5339892be 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/VirtualNetworkRulesDelete.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/VirtualNetworkRulesDelete.json @@ -1,20 +1,20 @@ { - "parameters": { - "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", - "resourceGroupName": "TestGroup", - "serverName": "vnet-test-svr", - "virtualNetworkRuleName": "vnet-firewall-rule", - "api-version": "2018-06-01" - }, - "responses": { - "200": { - "body": "" - }, - "202": { - "body": "" - }, - "204": { - "body": "" - } + "parameters": { + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", + "resourceGroupName": "TestGroup", + "serverName": "vnet-test-svr", + "virtualNetworkRuleName": "vnet-firewall-rule", + "api-version": "2018-06-01" + }, + "responses": { + "200": { + "body": "" + }, + "202": { + "body": "" + }, + "204": { + "body": "" } -} \ No newline at end of file + } +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/VirtualNetworkRulesGet.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/VirtualNetworkRulesGet.json index 1b97f04ccc5a..72eb33edf92a 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/VirtualNetworkRulesGet.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/VirtualNetworkRulesGet.json @@ -7,17 +7,17 @@ "api-version": "2018-06-01" }, "responses": { - "200": { - "body": { - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", - "name": "vnet-firewall-rule", - "type": "Microsoft.DBforMariaDB/servers/virtualNetworkRules", - "properties": { - "ignoreMissingVnetServiceEndpoint": false, - "state": "Ready", - "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" - } - } + "200": { + "body": { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", + "name": "vnet-firewall-rule", + "type": "Microsoft.DBforMariaDB/servers/virtualNetworkRules", + "properties": { + "ignoreMissingVnetServiceEndpoint": false, + "state": "Ready", + "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" + } + } } } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/VirtualNetworkRulesList.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/VirtualNetworkRulesList.json index e3ea4b632c8e..b55e9fb25c45 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/VirtualNetworkRulesList.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/VirtualNetworkRulesList.json @@ -7,31 +7,31 @@ "api-version": "2018-06-01" }, "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", - "name": "vnet-firewall-rule", - "type": "Microsoft.DBforMariaDB/servers/virtualNetworkRules", - "properties": { - "ignoreMissingVnetServiceEndpoint": false, - "state": "Ready", - "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" - } - }, - { - "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", - "name": "vnet-firewall-rule", - "type": "Microsoft.DBforMariaDB/servers/virtualNetworkRules", - "properties": { - "ignoreMissingVnetServiceEndpoint": false, - "state": "Ready", - "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" - } - } - ] - } + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", + "name": "vnet-firewall-rule", + "type": "Microsoft.DBforMariaDB/servers/virtualNetworkRules", + "properties": { + "ignoreMissingVnetServiceEndpoint": false, + "state": "Ready", + "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" + } + }, + { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule", + "name": "vnet-firewall-rule", + "type": "Microsoft.DBforMariaDB/servers/virtualNetworkRules", + "properties": { + "ignoreMissingVnetServiceEndpoint": false, + "state": "Ready", + "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet" + } + } + ] + } } } -} \ No newline at end of file +} diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/mariadb.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/mariadb.json index fa9fd646f5fa..8a0ac15ca3bd 100644 --- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/mariadb.json +++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/mariadb.json @@ -45,7 +45,7 @@ "$ref": "./examples/ServerCreate.json" }, "Create a database as a point in time restore": { - "$ref":"./examples/ServerCreatePointInTimeRestore.json" + "$ref": "./examples/ServerCreatePointInTimeRestore.json" }, "Create a server as a geo restore ": { "$ref": "./examples/ServerCreateGeoRestoreMode.json" @@ -293,7 +293,9 @@ ], "operationId": "Servers_Restart", "x-ms-examples": { - "ServerRestart": { "$ref": "./examples/ServerRestart.json" } + "ServerRestart": { + "$ref": "./examples/ServerRestart.json" + } }, "description": "Restarts a server.", "parameters": [ @@ -326,7 +328,7 @@ }, "x-ms-long-running-operation": true } - }, + }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMariaDB/servers/{serverName}/replicas": { "get": { "tags": [ @@ -1347,7 +1349,7 @@ "x-ms-mutability": [ "read", "create" - ], + ], "description": "The location the resource resides in." }, "tags": { @@ -1447,7 +1449,7 @@ "format": "int32", "description": "Max storage allowed for a server." }, - "storageAutogrow" : { + "storageAutogrow": { "type": "string", "description": "Enable Storage Auto Grow.", "enum": [ @@ -2276,7 +2278,7 @@ } }, "description": "An error response from the Batch service." - } + } }, "parameters": { "SubscriptionIdParameter": { @@ -2361,4 +2363,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +}