Skip to content

Commit 5c5f36b

Browse files
authored
Moving private preview spec version to public preview for MySQL AMS discovery (#32888)
* Swagger changes for MySQL AMS discovery * Fixing readme changes
1 parent eeb0e92 commit 5c5f36b

24 files changed

+2060
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"parameters": {
3+
"api-version": "2024-09-30-preview",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"resourceGroupName": "testrg",
6+
"siteName": "testSite",
7+
"errorSummaryName": "testErrorSummaryName"
8+
},
9+
"responses": {
10+
"200": {
11+
"body": {
12+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.MySQLDiscovery/MySQLSites/testSite/errorSummaries/testErrorSummaryName",
13+
"name": "testErrorSummaryName",
14+
"type": "Microsoft.MySQLDiscovery/MySQLSites/errorSummary",
15+
"properties": {
16+
"affectedObjectsCount": 20
17+
}
18+
}
19+
}
20+
}
21+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"parameters": {
3+
"api-version": "2024-09-30-preview",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"resourceGroupName": "testrg",
6+
"siteName": "testSite"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"value": [
12+
{
13+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.MySQLDiscovery/MySQLSites/testSite/errorSummaries/testErrorSummaryName",
14+
"name": "testErrorSummaryName",
15+
"type": "Microsoft.MySQLDiscovery/MySQLSites/errorSummaries",
16+
"properties": {
17+
"affectedObjectsCount": 20
18+
}
19+
}
20+
]
21+
}
22+
}
23+
}
24+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
{
2+
"parameters": {
3+
"api-version": "2024-09-30-preview",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"resourceGroupName": "testrg",
6+
"siteName": "testSite",
7+
"serverName": "testServerName",
8+
"body": {
9+
"properties": {
10+
"hostName": "test.mysql.server",
11+
"hostIp": [
12+
"127.0.0.1",
13+
"127.0.0.2"
14+
],
15+
"machineId": "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourcegroups/demoRG/providers/Microsoft.OffAzure/serverSites/xxx/machines/xxx",
16+
"portNumber": "3306",
17+
"mysqlVersion": "8.0",
18+
"numberOfDatabase": 16,
19+
"supportStatus": "Mainstream"
20+
}
21+
}
22+
},
23+
"responses": {
24+
"200": {
25+
"body": {
26+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.MySQLDiscovery/MySQLSites/testSite/MySQLServers/testServerName",
27+
"name": "testServerName",
28+
"type": "Microsoft.MySQLDiscovery/MySQLSites/MySQLServers",
29+
"properties": {
30+
"hostName": "test.mysql.server",
31+
"machineId": "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourcegroups/demoRG/providers/Microsoft.OffAzure/serverSites/xxx/machines/xxx",
32+
"portNumber": "3306",
33+
"mysqlVersion": "8.0",
34+
"numberOfDatabase": 16,
35+
"supportStatus": "Mainstream",
36+
"provisioningState": "Succeeded"
37+
}
38+
}
39+
},
40+
"201": {
41+
"body": {
42+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.MySQLDiscovery/MySQLSites/testSite/MySQLServers/testServerName",
43+
"name": "testServerName",
44+
"type": "Microsoft.MySQLDiscovery/MySQLSites/MySQLServers",
45+
"properties": {
46+
"hostName": "test.mysql.server",
47+
"machineId": "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourcegroups/demoRG/providers/Microsoft.OffAzure/serverSites/xxx/machines/xxx",
48+
"portNumber": "3306",
49+
"mysqlVersion": "8.0",
50+
"numberOfDatabase": 16,
51+
"supportStatus": "Mainstream",
52+
"provisioningState": "Succeeded"
53+
}
54+
}
55+
}
56+
}
57+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"parameters": {
3+
"api-version": "2024-09-30-preview",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"resourceGroupName": "testrg",
6+
"siteName": "testSite",
7+
"serverName": "testServerName"
8+
},
9+
"responses": {
10+
"200": {},
11+
"204": {}
12+
}
13+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"parameters": {
3+
"api-version": "2024-09-30-preview",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"resourceGroupName": "testrg",
6+
"siteName": "testSite",
7+
"serverName": "testServerName"
8+
},
9+
"responses": {
10+
"200": {
11+
"body": {
12+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.MySQLDiscovery/MySQLSites/testSite/MySQLServers/testServerName",
13+
"name": "testServerName",
14+
"type": "Microsoft.MySQLDiscovery/MySQLSites/MySQLServers",
15+
"properties": {
16+
"hostName": "test.mysql.server",
17+
"machineId": "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourcegroups/demoRG/providers/Microsoft.OffAzure/serverSites/xxx/machines/xxx",
18+
"portNumber": "3306",
19+
"mysqlVersion": "8.0",
20+
"numberOfDatabase": 16,
21+
"supportStatus": "Mainstream",
22+
"edition": "Community",
23+
"supportEndIn": "2021-04-01",
24+
"provisioningState": "Succeeded"
25+
}
26+
}
27+
}
28+
}
29+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"parameters": {
3+
"api-version": "2024-09-30-preview",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"resourceGroupName": "testrg",
6+
"siteName": "testSite"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"value": [
12+
{
13+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.MySQLDiscovery/MySQLSites/testSite/MySQLServers/testServerName",
14+
"name": "testServerName",
15+
"type": "Microsoft.MySQLDiscovery/MySQLSites/MySQLServers",
16+
"properties": {
17+
"hostName": "test.mysql.server",
18+
"machineId": "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourcegroups/demoRG/providers/Microsoft.OffAzure/serverSites/xxx/machines/xxx",
19+
"portNumber": "3306",
20+
"mysqlVersion": "8.0",
21+
"numberOfDatabase": 16,
22+
"supportStatus": "Mainstream",
23+
"edition": "Community",
24+
"supportEndIn": "2021-04-01",
25+
"provisioningState": "Succeeded"
26+
}
27+
}
28+
]
29+
}
30+
}
31+
}
32+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
{
2+
"parameters": {
3+
"api-version": "2024-09-30-preview",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"resourceGroupName": "testrg",
6+
"siteName": "testSite",
7+
"serverName": "testDatabaseName",
8+
"body": {
9+
"tags": {
10+
"tag1": "value1",
11+
"tag2": "value2"
12+
}
13+
}
14+
},
15+
"responses": {
16+
"200": {
17+
"body": {
18+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.MySQLDiscovery/MySQLSites/testSite/MySQLServers/testServerName",
19+
"name": "testServerName",
20+
"type": "Microsoft.MySQLDiscovery/MySQLSites/MySQLServers",
21+
"properties": {
22+
"hostName": "test.mysql.server",
23+
"machineId": "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourcegroups/demoRG/providers/Microsoft.OffAzure/serverSites/xxx/machines/xxx",
24+
"portNumber": "3306",
25+
"mysqlVersion": "8.0",
26+
"numberOfDatabase": 16,
27+
"supportStatus": "Mainstream",
28+
"edition": "Community",
29+
"supportEndIn": "2021-04-01",
30+
"provisioningState": "Succeeded"
31+
}
32+
}
33+
},
34+
"202": {
35+
"headers": {
36+
"location": "https://contoso.com/operationstatus"
37+
}
38+
}
39+
}
40+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
{
2+
"parameters": {
3+
"api-version": "2024-09-30-preview",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"resourceGroupName": "testrg",
6+
"siteName": "testSite",
7+
"body": {
8+
"location": "East US",
9+
"extendedLocation": {
10+
"type": "customLocation",
11+
"name": "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.ExtendedLocation/customLocations/contoso"
12+
},
13+
"properties": {
14+
"masterSiteId": "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.OffAzure/MasterSites/xxx",
15+
"migrateProjectId": "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourcegroups/demoRG/providers/microsoft.migrate/migrateprojects/xxx"
16+
}
17+
}
18+
},
19+
"responses": {
20+
"200": {
21+
"body": {
22+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.MySQLDiscovery/MySQLSites/testSite",
23+
"name": "testSite",
24+
"type": "Microsoft.MySQLDiscovery/MySQLSites",
25+
"location": "East US",
26+
"extendedLocation": {
27+
"type": "customLocation",
28+
"name": "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.Arc/customLocations/contoso"
29+
},
30+
"properties": {
31+
"masterSiteId": "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.OffAzure/MasterSites/xxx",
32+
"migrateProjectId": "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourcegroups/demoRG/providers/microsoft.migrate/migrateprojects/xxx",
33+
"provisioningState": "Succeeded"
34+
}
35+
}
36+
},
37+
"201": {
38+
"body": {
39+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.MySQLDiscovery/MySQLSites/testSite",
40+
"name": "testSite",
41+
"type": "Microsoft.MySQLDiscovery/MySQLSites",
42+
"location": "East US",
43+
"extendedLocation": {
44+
"type": "customLocation",
45+
"name": "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.Arc/customLocations/contoso"
46+
},
47+
"properties": {
48+
"masterSiteId": "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.OffAzure/MasterSites/xxx",
49+
"migrateProjectId": "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourcegroups/demoRG/providers/microsoft.migrate/migrateprojects/xxx",
50+
"provisioningState": "Succeeded"
51+
}
52+
}
53+
}
54+
}
55+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"parameters": {
3+
"api-version": "2024-09-30-preview",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"resourceGroupName": "testrg",
6+
"siteName": "testSite"
7+
},
8+
"responses": {
9+
"200": {},
10+
"204": {}
11+
}
12+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"parameters": {
3+
"api-version": "2024-09-30-preview",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"resourceGroupName": "testrg",
6+
"siteName": "testSite"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.MySQLDiscovery/MySQLSites/testSite",
12+
"name": "testSite",
13+
"type": "Microsoft.MySQLDiscovery/MySQLSites",
14+
"location": "East US",
15+
"extendedLocation": {
16+
"type": "customLocation",
17+
"name": "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.Arc/customLocations/contoso"
18+
},
19+
"properties": {
20+
"masterSiteId": "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.OffAzure/MasterSites/xxx",
21+
"migrateProjectId": "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourcegroups/demoRG/providers/microsoft.migrate/migrateprojects/xxx",
22+
"provisioningState": "Succeeded"
23+
}
24+
}
25+
}
26+
}
27+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"parameters": {
3+
"api-version": "2024-09-30-preview",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"resourceGroupName": "testrg"
6+
},
7+
"responses": {
8+
"200": {
9+
"body": {
10+
"value": [
11+
{
12+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.MySQLDiscovery/MySQLSites/testSite",
13+
"name": "testSite",
14+
"type": "Microsoft.MySQLDiscovery/MySQLSites",
15+
"location": "East US",
16+
"extendedLocation": {
17+
"type": "customLocation",
18+
"name": "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.Arc/customLocations/contoso"
19+
},
20+
"properties": {
21+
"masterSiteId": "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.OffAzure/MasterSites/xxx",
22+
"migrateProjectId": "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourcegroups/demoRG/providers/microsoft.migrate/migrateprojects/xxx",
23+
"provisioningState": "Succeeded"
24+
}
25+
}
26+
]
27+
}
28+
}
29+
}
30+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"parameters": {
3+
"api-version": "2024-09-30-preview",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000"
5+
},
6+
"responses": {
7+
"200": {
8+
"body": {
9+
"value": [
10+
{
11+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.MySQLDiscovery/MySQLSites/testSite",
12+
"name": "testSite",
13+
"type": "Microsoft.MySQLDiscovery/MySQLSites",
14+
"location": "East US",
15+
"extendedLocation": {
16+
"type": "customLocation",
17+
"name": "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.Arc/customLocations/contoso"
18+
},
19+
"properties": {
20+
"masterSiteId": "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourceGroups/demoRG/providers/Microsoft.OffAzure/MasterSites/xxx",
21+
"migrateProjectId": "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourcegroups/demoRG/providers/microsoft.migrate/migrateprojects/xxx",
22+
"provisioningState": "Succeeded"
23+
}
24+
}
25+
]
26+
}
27+
}
28+
}
29+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"parameters": {
3+
"api-version": "2024-09-30-preview",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"resourceGroupName": "testrg",
6+
"siteName": "testSite"
7+
},
8+
"responses": {
9+
"202": {
10+
"headers": {
11+
"Azure-AsyncOperation": "https://foo.com/operationstatus"
12+
}
13+
}
14+
}
15+
}

0 commit comments

Comments
 (0)