Skip to content

Commit 9a19f9c

Browse files
Release new version 2024-02-01-preview for dbformysql (#28863)
* add base folder * update api version * add new feature detach vnet and storage redundancy --------- Co-authored-by: Razvan Badea <[email protected]>
1 parent a07cb79 commit 9a19f9c

31 files changed

+3858
-57
lines changed

specification/mysql/resource-manager/Microsoft.DBforMySQL/FlexibleServers/preview/2024-02-01-preview/AdvancedThreatProtectionSettings.json

Lines changed: 404 additions & 0 deletions
Large diffs are not rendered by default.

specification/mysql/resource-manager/Microsoft.DBforMySQL/FlexibleServers/preview/2024-02-01-preview/FlexibleServers.json

Lines changed: 1514 additions & 0 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "00000000-1111-2222-3333-444444444444",
4+
"resourceGroupName": "threatprotection-6852",
5+
"serverName": "threatprotection-2080",
6+
"advancedThreatProtectionName": "Default",
7+
"api-version": "2024-02-01-preview"
8+
},
9+
"responses": {
10+
"200": {
11+
"body": {
12+
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/threatprotection-4799/providers/Microsoft.DBforMySQL/flexibleServers/threatprotection-6440/advancedThreatProtectionSettings/Default",
13+
"name": "Default",
14+
"type": "Microsoft.DBforMySQL/flexibleServers/advancedThreatProtectionSettings",
15+
"systemData": {
16+
"createdBy": "string",
17+
"createdByType": "User",
18+
"createdAt": "2022-04-03T04:41:33.937Z",
19+
"lastModifiedBy": "string",
20+
"lastModifiedByType": "User",
21+
"lastModifiedAt": "2022-04-03T04:41:33.937Z"
22+
},
23+
"properties": {
24+
"state": "Enabled",
25+
"creationTime": "2022-04-03T04:41:33.937Z",
26+
"provisioningState": "Succeeded"
27+
}
28+
}
29+
}
30+
}
31+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "00000000-1111-2222-3333-444444444444",
4+
"resourceGroupName": "threatprotection-6852",
5+
"serverName": "threatprotection-2080",
6+
"api-version": "2024-02-01-preview"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"value": [
12+
{
13+
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/threatprotection-6852/providers/Microsoft.DBforMySQL/flexibleServers/threatprotection-2080/advancedThreatProtectionSettings/Default",
14+
"name": "Default",
15+
"type": "Microsoft.DBforMySQL/flexibleServers/advancedThreatProtectionSettings",
16+
"systemData": {
17+
"createdBy": "string",
18+
"createdByType": "User",
19+
"createdAt": "2022-04-03T04:41:33.937Z",
20+
"lastModifiedBy": "string",
21+
"lastModifiedByType": "User",
22+
"lastModifiedAt": "2022-04-03T04:41:33.937Z"
23+
},
24+
"properties": {
25+
"state": "Enabled",
26+
"creationTime": "2022-04-03T04:41:33.937Z",
27+
"provisioningState": "Succeeded"
28+
}
29+
}
30+
]
31+
}
32+
}
33+
}
34+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "00000000-1111-2222-3333-444444444444",
4+
"resourceGroupName": "threatprotection-4799",
5+
"serverName": "threatprotection-6440",
6+
"advancedThreatProtectionName": "Default",
7+
"api-version": "2024-02-01-preview",
8+
"parameters": {
9+
"properties": {
10+
"state": "Disabled"
11+
}
12+
}
13+
},
14+
"responses": {
15+
"200": {
16+
"body": {
17+
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/threatprotection-4799/providers/Microsoft.DBforMySQL/flexibleServers/threatprotection-6440/advancedThreatProtectionSettings/Default",
18+
"name": "Default",
19+
"type": "Microsoft.DBforMySQL/flexibleServers/advancedThreatProtectionSettings",
20+
"systemData": {
21+
"createdBy": "string",
22+
"createdByType": "User",
23+
"createdAt": "2022-04-03T04:41:33.937Z",
24+
"lastModifiedBy": "string",
25+
"lastModifiedByType": "User",
26+
"lastModifiedAt": "2022-04-03T04:41:33.937Z"
27+
},
28+
"properties": {
29+
"state": "Disabled",
30+
"creationTime": "2022-04-03T04:41:33.937Z",
31+
"provisioningState": "Succeeded"
32+
}
33+
}
34+
},
35+
"202": {
36+
"headers": {
37+
"Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMySQL/locations/eastus/operationStatus/00000000-0000-0000-0000-000000000000?api-version=2023-06-01-preview",
38+
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/00000000-0000-0000-0000-000000000000?api-version=2023-06-01-preview"
39+
}
40+
}
41+
}
42+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "00000000-1111-2222-3333-444444444444",
4+
"resourceGroupName": "threatprotection-4799",
5+
"serverName": "threatprotection-6440",
6+
"advancedThreatProtectionName": "Default",
7+
"api-version": "2024-02-01-preview",
8+
"parameters": {
9+
"properties": {
10+
"state": "Enabled"
11+
}
12+
}
13+
},
14+
"responses": {
15+
"200": {
16+
"body": {
17+
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/threatprotection-4799/providers/Microsoft.DBforMySQL/flexibleServers/threatprotection-6440/advancedThreatProtectionSettings/Default",
18+
"name": "Default",
19+
"type": "Microsoft.DBforMySQL/flexibleServers/advancedThreatProtectionSettings",
20+
"systemData": {
21+
"createdBy": "string",
22+
"createdByType": "User",
23+
"createdAt": "2022-04-03T04:41:33.937Z",
24+
"lastModifiedBy": "string",
25+
"lastModifiedByType": "User",
26+
"lastModifiedAt": "2022-04-03T04:41:33.937Z"
27+
},
28+
"properties": {
29+
"state": "Enabled",
30+
"creationTime": "2022-04-03T04:41:33.937Z",
31+
"provisioningState": "Succeeded"
32+
}
33+
}
34+
},
35+
"202": {
36+
"headers": {
37+
"Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMySQL/locations/eastus/operationStatus/00000000-0000-0000-0000-000000000000?api-version=2023-06-01-preview",
38+
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/00000000-0000-0000-0000-000000000000?api-version=2023-06-01-preview"
39+
}
40+
}
41+
}
42+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "00000000-1111-2222-3333-444444444444",
4+
"resourceGroupName": "threatprotection-4799",
5+
"serverName": "threatprotection-6440",
6+
"advancedThreatProtectionName": "Default",
7+
"api-version": "2024-02-01-preview",
8+
"parameters": {
9+
"properties": {
10+
"state": "Disabled"
11+
}
12+
}
13+
},
14+
"responses": {
15+
"200": {
16+
"body": {
17+
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/threatprotection-4799/providers/Microsoft.DBforMySQL/flexibleServers/threatprotection-6440/advancedThreatProtectionSettings/Default",
18+
"name": "Default",
19+
"type": "Microsoft.DBforMySQL/flexibleServers/advancedThreatProtectionSettings",
20+
"systemData": {
21+
"createdBy": "string",
22+
"createdByType": "User",
23+
"createdAt": "2022-04-03T04:41:33.937Z",
24+
"lastModifiedBy": "string",
25+
"lastModifiedByType": "User",
26+
"lastModifiedAt": "2022-04-03T04:41:33.937Z"
27+
},
28+
"properties": {
29+
"state": "Disabled",
30+
"creationTime": "2022-04-03T04:41:33.937Z",
31+
"provisioningState": "Succeeded"
32+
}
33+
}
34+
},
35+
"201": {
36+
"body": {
37+
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/threatprotection-4799/providers/Microsoft.DBforMySQL/flexibleServers/threatprotection-6440/advancedThreatProtectionSettings/Default",
38+
"name": "Default",
39+
"type": "Microsoft.DBforMySQL/flexibleServers/advancedThreatProtectionSettings",
40+
"systemData": {
41+
"createdBy": "string",
42+
"createdByType": "User",
43+
"createdAt": "2022-04-03T04:41:33.937Z",
44+
"lastModifiedBy": "string",
45+
"lastModifiedByType": "User",
46+
"lastModifiedAt": "2022-04-03T04:41:33.937Z"
47+
},
48+
"properties": {
49+
"state": "Disabled",
50+
"creationTime": "2022-04-03T04:41:33.937Z",
51+
"provisioningState": "Succeeded"
52+
}
53+
}
54+
},
55+
"202": {
56+
"headers": {
57+
"Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMySQL/locations/eastus/operationStatus/00000000-0000-0000-0000-000000000000?api-version=2023-06-01-preview",
58+
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/00000000-0000-0000-0000-000000000000?api-version=2023-06-01-preview"
59+
}
60+
}
61+
}
62+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "00000000-1111-2222-3333-444444444444",
4+
"resourceGroupName": "threatprotection-4799",
5+
"serverName": "threatprotection-6440",
6+
"advancedThreatProtectionName": "Default",
7+
"api-version": "2024-02-01-preview",
8+
"parameters": {
9+
"properties": {
10+
"state": "Enabled"
11+
}
12+
}
13+
},
14+
"responses": {
15+
"200": {
16+
"body": {
17+
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/threatprotection-4799/providers/Microsoft.DBforMySQL/flexibleServers/threatprotection-6440/advancedThreatProtectionSettings/Default",
18+
"name": "Default",
19+
"type": "Microsoft.DBforMySQL/flexibleServers/advancedThreatProtectionSettings",
20+
"systemData": {
21+
"createdBy": "string",
22+
"createdByType": "User",
23+
"createdAt": "2022-04-03T04:41:33.937Z",
24+
"lastModifiedBy": "string",
25+
"lastModifiedByType": "User",
26+
"lastModifiedAt": "2022-04-03T04:41:33.937Z"
27+
},
28+
"properties": {
29+
"state": "Enabled",
30+
"creationTime": "2022-04-03T04:41:33.937Z",
31+
"provisioningState": "Succeeded"
32+
}
33+
}
34+
},
35+
"201": {
36+
"body": {
37+
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/threatprotection-4799/providers/Microsoft.DBforMySQL/flexibleServers/threatprotection-6440/advancedThreatProtectionSettings/Default",
38+
"name": "Default",
39+
"type": "Microsoft.DBforMySQL/flexibleServers/advancedThreatProtectionSettings",
40+
"systemData": {
41+
"createdBy": "string",
42+
"createdByType": "User",
43+
"createdAt": "2022-04-03T04:41:33.937Z",
44+
"lastModifiedBy": "string",
45+
"lastModifiedByType": "User",
46+
"lastModifiedAt": "2022-04-03T04:41:33.937Z"
47+
},
48+
"properties": {
49+
"state": "Enabled",
50+
"creationTime": "2022-04-03T04:41:33.937Z",
51+
"provisioningState": "Succeeded"
52+
}
53+
}
54+
},
55+
"202": {
56+
"headers": {
57+
"Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMySQL/locations/eastus/operationStatus/00000000-0000-0000-0000-000000000000?api-version=2023-06-01-preview",
58+
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/00000000-0000-0000-0000-000000000000?api-version=2023-06-01-preview"
59+
}
60+
}
61+
}
62+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
{
2+
"parameters": {
3+
"serverName": "mysqltestserver",
4+
"resourceGroupName": "testrg",
5+
"api-version": "2024-02-01-preview",
6+
"subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"sku": {
12+
"name": "Standard_D2ds_v4",
13+
"tier": "GeneralPurpose"
14+
},
15+
"properties": {
16+
"administratorLogin": "cloudsa",
17+
"storage": {
18+
"storageSizeGB": 30,
19+
"iops": 200,
20+
"autoGrow": "Disabled",
21+
"storageSku": "Premium_LRS",
22+
"autoIoScaling": "Disabled"
23+
},
24+
"version": "5.7",
25+
"state": "Ready",
26+
"fullyQualifiedDomainName": "mysqltestserver.database.mysql.azure.com",
27+
"availabilityZone": "3",
28+
"maintenanceWindow": {
29+
"customWindow": "Enabled",
30+
"dayOfWeek": 1,
31+
"startHour": 1,
32+
"startMinute": 0
33+
},
34+
"replicationRole": "None",
35+
"replicaCapacity": 10,
36+
"network": {
37+
"publicNetworkAccess": "Disabled"
38+
},
39+
"backup": {
40+
"backupRetentionDays": 7,
41+
"geoRedundantBackup": "Disabled",
42+
"earliestRestoreDate": "2021-06-17T06:11:38.4150019+00:00"
43+
},
44+
"highAvailability": {
45+
"mode": "Disabled",
46+
"state": "NotEnabled"
47+
}
48+
},
49+
"location": "Southeast Asia",
50+
"tags": {
51+
"num": "1"
52+
},
53+
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/flexibleServers/mysqltestserver",
54+
"name": "mysqltestserver",
55+
"type": "Microsoft.DBforMySQL/flexibleServers"
56+
}
57+
},
58+
"202": {
59+
"headers": {
60+
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforMySQL/locations/southeastasia/azureAsyncOperation/e276a03a-1770-4549-86f5-0edffae8997c?api-version=2024-02-01-preview",
61+
"Location": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforMySQL/locations/southeastasia/operationResults/e276a03a-1770-4549-86f5-0edffae8997c?api-version=2024-02-01-preview"
62+
}
63+
}
64+
}
65+
}

0 commit comments

Comments
 (0)