-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add managed instances swagger to 2018-06-01-preview (#6441)
* Add managed instances swagger to 2018-06-01-preview - update examples + readme.md * Update 2015-05-01 managedInstances.json * Remove maintenance window setting properties from managed instance swaggers
- Loading branch information
1 parent
59971a4
commit 5afe3f8
Showing
12 changed files
with
1,128 additions
and
52 deletions.
There are no files selected for viewing
50 changes: 2 additions & 48 deletions
50
...ation/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/managedInstances.json
Large diffs are not rendered by default.
Oops, something went wrong.
99 changes: 99 additions & 0 deletions
99
...e-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceCreateMax.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,99 @@ | ||
{ | ||
"parameters" : { | ||
"subscriptionId" : "20D7082A-0FC7-4468-82BD-542694D5042B", | ||
"resourceGroupName" : "testrg", | ||
"managedInstanceName" : "testinstance", | ||
"api-version" : "2018-06-01-preview", | ||
"parameters" : { | ||
"tags" : { | ||
"tagKey1" : "TagValue1" | ||
}, | ||
"location" : "Japan East", | ||
"sku" : { | ||
"name" : "GP_Gen5", | ||
"tier" : "GeneralPurpose" | ||
}, | ||
"properties": { | ||
"administratorLogin": "dummylogin", | ||
"administratorLoginPassword": "Un53cuRE!", | ||
"subnetId": "/subscriptions/20D7082A-0FC7-4468-82BD-542694D5042B/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1", | ||
"vCores": 8, | ||
"storageSizeInGB": 1024, | ||
"licenseType": "LicenseIncluded", | ||
"collation": "SQL_Latin1_General_CP1_CI_AS", | ||
"dnsZonePartner": "/subscriptions/20D7082A-0FC7-4468-82BD-542694D5042B/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/testinstance", | ||
"publicDataEndpointEnabled": false, | ||
"proxyOverride": "Redirect", | ||
"timezoneId": "UTC", | ||
"instancePoolId": "/subscriptions/20D7082A-0FC7-4468-82BD-542694D5042B/resourceGroups/testrg/providers/Microsoft.Sql/instancePools/pool1" | ||
} | ||
} | ||
}, | ||
"responses" : { | ||
"200": { | ||
"body": { | ||
"sku": { | ||
"name": "GP_Gen5", | ||
"tier": "GeneralPurpose", | ||
"capacity": 8, | ||
"family": "Gen5" | ||
}, | ||
"properties": { | ||
"fullyQualifiedDomainName": "testinstance.1b4e2caff2530.database.windows.net", | ||
"administratorLogin": "dummylogin", | ||
"subnetId": "/subscriptions/20D7082A-0FC7-4468-82BD-542694D5042B/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1", | ||
"state": "Ready", | ||
"vCores": 8, | ||
"storageSizeInGB": 1024, | ||
"licenseType": "LicenseIncluded", | ||
"collation": "SQL_Latin1_General_CP1_CI_AS", | ||
"publicDataEndpointEnabled": false, | ||
"proxyOverride": "Redirect", | ||
"dnsZone": "1b4e2caff2530", | ||
"timezoneId": "UTC", | ||
"instancePoolId": "/subscriptions/20D7082A-0FC7-4468-82BD-542694D5042B/resourceGroups/testrg/providers/Microsoft.Sql/instancePools/pool1" | ||
}, | ||
"location": "japaneast", | ||
"tags": { | ||
"tagKey1": "TagValue1" | ||
}, | ||
"id": "/subscriptions/20D7082A-0FC7-4468-82BD-542694D5042B/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/testinstance", | ||
"name": "testinstance", | ||
"type": "Microsoft.Sql/managedInstances" | ||
} | ||
}, | ||
"201" : { | ||
"body": { | ||
"sku": { | ||
"name": "GP_Gen5", | ||
"tier": "GeneralPurpose", | ||
"capacity": 8, | ||
"family": "Gen5" | ||
}, | ||
"properties": { | ||
"fullyQualifiedDomainName": "testinstance.1b4e2caff2530.database.windows.net", | ||
"administratorLogin": "dummylogin", | ||
"subnetId": "/subscriptions/20D7082A-0FC7-4468-82BD-542694D5042B/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1", | ||
"state": "Ready", | ||
"vCores": 8, | ||
"storageSizeInGB": 1024, | ||
"licenseType": "LicenseIncluded", | ||
"collation": "SQL_Latin1_General_CP1_CI_AS", | ||
"publicDataEndpointEnabled": false, | ||
"proxyOverride": "Redirect", | ||
"dnsZone": "1b4e2caff2530", | ||
"timezoneId": "UTC", | ||
"instancePoolId": "/subscriptions/20d7082a-0fc7-4468-82bd-542694d5042b/resourceGroups/testrg/providers/Microsoft.Sql/instancePools/pool1" | ||
}, | ||
"location": "japaneast", | ||
"tags": { | ||
"tagKey1": "TagValue1" | ||
}, | ||
"id": "/subscriptions/20d7082a-0fc7-4468-82bd-542694d5042b/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/testinstance", | ||
"name": "testinstance", | ||
"type": "Microsoft.Sql/managedInstances" | ||
} | ||
}, | ||
"202" : {} | ||
} | ||
} |
86 changes: 86 additions & 0 deletions
86
...e-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceCreateMin.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "20D7082A-0FC7-4468-82BD-542694D5042B", | ||
"resourceGroupName": "testrg", | ||
"managedInstanceName": "testinstance", | ||
"api-version": "2018-06-01-preview", | ||
"parameters": { | ||
"sku": { | ||
"name": "GP_Gen4", | ||
"tier": "GeneralPurpose" | ||
}, | ||
"properties": { | ||
"administratorLogin": "dummylogin", | ||
"administratorLoginPassword": "Un53cuRE!", | ||
"subnetId": "/subscriptions/20D7082A-0FC7-4468-82BD-542694D5042B/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1", | ||
"vCores": 8, | ||
"storageSizeInGB": 1024, | ||
"licenseType": "LicenseIncluded" | ||
}, | ||
"location": "Japan East" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"sku": { | ||
"name": "GP_Gen4", | ||
"tier": "GeneralPurpose", | ||
"capacity": 8, | ||
"family": "Gen4" | ||
}, | ||
"properties": { | ||
"fullyQualifiedDomainName": "testinstance.1b4e2caff2530.database.windows.net", | ||
"administratorLogin": "dummylogin", | ||
"subnetId": "/subscriptions/20D7082A-0FC7-4468-82BD-542694D5042B/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1", | ||
"state": "Ready", | ||
"vCores": 8, | ||
"storageSizeInGB": 1024, | ||
"licenseType": "LicenseIncluded", | ||
"collation": "SQL_Latin1_General_CP1_CI_AS", | ||
"publicDataEndpointEnabled": false, | ||
"proxyOverride": "Default", | ||
"dnsZone": "1b4e2caff2530" | ||
}, | ||
"location": "japaneast", | ||
"tags": { | ||
|
||
}, | ||
"id": "/subscriptions/20d7082a-0fc7-4468-82bd-542694d5042b/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/testinstance", | ||
"name": "testinstance", | ||
"type": "Microsoft.Sql/managedInstances" | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"sku": { | ||
"name": "GP_Gen4", | ||
"tier": "GeneralPurpose", | ||
"capacity": 8, | ||
"family": "Gen4" | ||
}, | ||
"properties": { | ||
"fullyQualifiedDomainName": "testinstance.1b4e2caff2530.database.windows.net", | ||
"administratorLogin": "dummylogin", | ||
"subnetId": "/subscriptions/20D7082A-0FC7-4468-82BD-542694D5042B/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1", | ||
"state": "Ready", | ||
"vCores": 8, | ||
"storageSizeInGB": 1024, | ||
"licenseType": "LicenseIncluded", | ||
"collation": "SQL_Latin1_General_CP1_CI_AS", | ||
"publicDataEndpointEnabled": false, | ||
"proxyOverride": "Redirect", | ||
"dnsZone": "1b4e2caff2530" | ||
}, | ||
"location": "japaneast", | ||
"tags": { | ||
|
||
}, | ||
"id": "/subscriptions/20d7082a-0fc7-4468-82bd-542694d5042b/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/testinstance", | ||
"name": "testinstance", | ||
"type": "Microsoft.Sql/managedInstances" | ||
} | ||
}, | ||
"202": {} | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
...urce-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceDelete.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"parameters" : { | ||
"subscriptionId" : "20D7082A-0FC7-4468-82BD-542694D5042B", | ||
"resourceGroupName" : "testrg", | ||
"managedInstanceName" : "testinstance", | ||
"api-version" : "2018-06-01-preview" | ||
}, | ||
"responses" : { | ||
"200" : { | ||
"body" : "" | ||
}, | ||
"202" : {}, | ||
"204" : { | ||
"body" : "" | ||
} | ||
} | ||
} |
41 changes: 41 additions & 0 deletions
41
...esource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceGet.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
{ | ||
"parameters" : { | ||
"subscriptionId" : "20d7082a-0fc7-4468-82bd-542694d5042b", | ||
"resourceGroupName" : "testrg", | ||
"managedInstanceName" : "testinstance", | ||
"api-version" : "2018-06-01-preview" | ||
}, | ||
"responses" : { | ||
"200" : { | ||
"body": { | ||
"sku": { | ||
"name": "GP_Gen4", | ||
"tier": "GeneralPurpose", | ||
"capacity": 8, | ||
"family": "Gen4" | ||
}, | ||
"properties": { | ||
"fullyQualifiedDomainName": "testinstance.1b4e2caff2530.database.windows.net", | ||
"administratorLogin": "dummylogin", | ||
"subnetId": "/subscriptions/20D7082A-0FC7-4468-82BD-542694D5042B/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1", | ||
"state": "Ready", | ||
"vCores": 8, | ||
"storageSizeInGB": 1024, | ||
"licenseType": "LicenseIncluded", | ||
"collation": "SQL_Latin1_General_CP1_CI_AS", | ||
"publicDataEndpointEnabled": false, | ||
"proxyOverride": "Default", | ||
"dnsZone": "1b4e2caff2530", | ||
"instancePoolId": "/subscriptions/20d7082a-0fc7-4468-82bd-542694d5042b/resourceGroups/testrg/providers/Microsoft.Sql/instancePools/instancePool1" | ||
}, | ||
"location": "japaneast", | ||
"tags": { | ||
"key": "value" | ||
}, | ||
"id": "/subscriptions/20d7082a-0fc7-4468-82bd-542694d5042b/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/testinstance", | ||
"name": "testinstance", | ||
"type": "Microsoft.Sql/managedInstances" | ||
} | ||
} | ||
} | ||
} |
64 changes: 64 additions & 0 deletions
64
...source-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceList.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
{ | ||
"parameters" : { | ||
"subscriptionId": "20D7082A-0FC7-4468-82BD-542694D5042B", | ||
"api-version" : "2018-06-01-preview" | ||
}, | ||
"responses" : { | ||
"200" : { | ||
"body" : { | ||
"value": [ | ||
{ | ||
"location": "japaneast", | ||
"id": "/subscriptions/20d7082a-0fc7-4468-82bd-542694d5042b/resourceGroups/Test1/providers/Microsoft.Sql/managedInstances/testinstance1", | ||
"name": "testinstance1", | ||
"type": "Microsoft.Sql/managedInstances", | ||
"sku": { | ||
"name": "GP_Gen4", | ||
"tier": "GeneralPurpose", | ||
"capacity": 8, | ||
"family": "Gen4" | ||
}, | ||
"properties": { | ||
"fullyQualifiedDomainName": "testinstance1.1b4e2caff2530.database.windows.net", | ||
"administratorLogin": "dummylogin", | ||
"subnetId": "/subscriptions/20D7082A-0FC7-4468-82BD-542694D5042B/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1", | ||
"state": "Ready", | ||
"vCores": 8, | ||
"storageSizeInGB": 1024, | ||
"licenseType": "LicenseIncluded", | ||
"collation": "SQL_Latin1_General_CP1_CI_AS", | ||
"publicDataEndpointEnabled": false, | ||
"proxyOverride": "Default", | ||
"dnsZone": "1b4e2caff2530" | ||
} | ||
}, | ||
{ | ||
"location": "japaneast", | ||
"id": "/subscriptions/20d7082a-0fc7-4468-82bd-542694d5042b/resourceGroups/Test1/providers/Microsoft.Sql/managedInstances/testinstance2", | ||
"name": "testinstance2", | ||
"type": "Microsoft.Sql/managedInstances", | ||
"sku": { | ||
"name": "BC_Gen5", | ||
"tier": "BusinessCritical", | ||
"capacity": 16, | ||
"family": "Gen4" | ||
}, | ||
"properties": { | ||
"fullyQualifiedDomainName": "testinstance2.2c3d1bdae3412.database.windows.net", | ||
"administratorLogin": "dummylogin", | ||
"subnetId": "/subscriptions/20D7082A-0FC7-4468-82BD-542694D5042B/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/subnet2", | ||
"state": "Ready", | ||
"vCores": 16, | ||
"storageSizeInGB": 1024, | ||
"licenseType": "Full", | ||
"collation": "SQL_Latin1_General_CP1_CI_AS", | ||
"publicDataEndpointEnabled": false, | ||
"proxyOverride": "Default", | ||
"dnsZone": "2c3d1bdae3412" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
65 changes: 65 additions & 0 deletions
65
...Microsoft.Sql/preview/2018-06-01-preview/examples/ManagedInstanceListByResourceGroup.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "20D7082A-0FC7-4468-82BD-542694D5042B", | ||
"resourceGroupName": "Test1", | ||
"api-version": "2018-06-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"location": "japaneast", | ||
"id": "/subscriptions/20d7082a-0fc7-4468-82bd-542694d5042b/resourceGroups/Test1/providers/Microsoft.Sql/managedInstances/testinstance1", | ||
"name": "testinstance1", | ||
"type": "Microsoft.Sql/managedInstances", | ||
"sku": { | ||
"name": "GP_Gen4", | ||
"tier": "GeneralPurpose", | ||
"capacity": 8, | ||
"family": "Gen4" | ||
}, | ||
"properties": { | ||
"fullyQualifiedDomainName": "testinstance1.1b4e2caff2530.database.windows.net", | ||
"administratorLogin": "dummylogin", | ||
"subnetId": "/subscriptions/20D7082A-0FC7-4468-82BD-542694D5042B/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1", | ||
"state": "Ready", | ||
"vCores": 8, | ||
"storageSizeInGB": 1024, | ||
"licenseType": "LicenseIncluded", | ||
"collation": "SQL_Latin1_General_CP1_CI_AS", | ||
"publicDataEndpointEnabled": false, | ||
"proxyOverride": "Default", | ||
"dnsZone": "1b4e2caff2530" | ||
} | ||
}, | ||
{ | ||
"location": "japaneast", | ||
"id": "/subscriptions/20d7082a-0fc7-4468-82bd-542694d5042b/resourceGroups/Test1/providers/Microsoft.Sql/managedInstances/testinstance2", | ||
"name": "testinstance2", | ||
"type": "Microsoft.Sql/managedInstances", | ||
"sku": { | ||
"name": "BC_Gen5", | ||
"tier": "BusinessCritical", | ||
"capacity": 16, | ||
"family": "Gen4" | ||
}, | ||
"properties": { | ||
"fullyQualifiedDomainName": "testinstance2.2c3d1bdae3412.database.windows.net", | ||
"administratorLogin": "dummylogin", | ||
"subnetId": "/subscriptions/20D7082A-0FC7-4468-82BD-542694D5042B/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/subnet2", | ||
"state": "Ready", | ||
"vCores": 16, | ||
"storageSizeInGB": 1024, | ||
"licenseType": "Full", | ||
"collation": "SQL_Latin1_General_CP1_CI_AS", | ||
"publicDataEndpointEnabled": false, | ||
"proxyOverride": "Default", | ||
"dnsZone": "2c3d1bdae3412" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.