-
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.
[Reviewed in Private repo] Add new api version: 2024-06-01-preview fo…
…r two new features (#29991) * copy previous version as first commit * update version and readme * add new feature: optional database number and canary maintenance * fix prettier check * update readme * fix model validation * fix model validation * fix prettier check * add ARM Strong test
- Loading branch information
1 parent
b8cd40d
commit b72e019
Showing
35 changed files
with
4,517 additions
and
2 deletions.
There are no files selected for viewing
404 changes: 404 additions & 0 deletions
404
...forMySQL/FlexibleServers/preview/2024-06-01-preview/AdvancedThreatProtectionSettings.json
Large diffs are not rendered by default.
Oops, something went wrong.
1,562 changes: 1,562 additions & 0 deletions
1,562
...ager/Microsoft.DBforMySQL/FlexibleServers/preview/2024-06-01-preview/FlexibleServers.json
Large diffs are not rendered by default.
Oops, something went wrong.
31 changes: 31 additions & 0 deletions
31
...xibleServers/preview/2024-06-01-preview/examples/AdvancedThreatProtectionSettingsGet.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,31 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-1111-2222-3333-444444444444", | ||
"resourceGroupName": "threatprotection-6852", | ||
"serverName": "threatprotection-2080", | ||
"advancedThreatProtectionName": "Default", | ||
"api-version": "2024-06-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/threatprotection-4799/providers/Microsoft.DBforMySQL/flexibleServers/threatprotection-6440/advancedThreatProtectionSettings/Default", | ||
"name": "Default", | ||
"type": "Microsoft.DBforMySQL/flexibleServers/advancedThreatProtectionSettings", | ||
"systemData": { | ||
"createdBy": "string", | ||
"createdByType": "User", | ||
"createdAt": "2022-04-03T04:41:33.937Z", | ||
"lastModifiedBy": "string", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2022-04-03T04:41:33.937Z" | ||
}, | ||
"properties": { | ||
"state": "Enabled", | ||
"creationTime": "2022-04-03T04:41:33.937Z", | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
} | ||
} | ||
} |
34 changes: 34 additions & 0 deletions
34
...ibleServers/preview/2024-06-01-preview/examples/AdvancedThreatProtectionSettingsList.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,34 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-1111-2222-3333-444444444444", | ||
"resourceGroupName": "threatprotection-6852", | ||
"serverName": "threatprotection-2080", | ||
"api-version": "2024-06-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/threatprotection-6852/providers/Microsoft.DBforMySQL/flexibleServers/threatprotection-2080/advancedThreatProtectionSettings/Default", | ||
"name": "Default", | ||
"type": "Microsoft.DBforMySQL/flexibleServers/advancedThreatProtectionSettings", | ||
"systemData": { | ||
"createdBy": "string", | ||
"createdByType": "User", | ||
"createdAt": "2022-04-03T04:41:33.937Z", | ||
"lastModifiedBy": "string", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2022-04-03T04:41:33.937Z" | ||
}, | ||
"properties": { | ||
"state": "Enabled", | ||
"creationTime": "2022-04-03T04:41:33.937Z", | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
42 changes: 42 additions & 0 deletions
42
...rs/preview/2024-06-01-preview/examples/AdvancedThreatProtectionSettingsPatchDisabled.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,42 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-1111-2222-3333-444444444444", | ||
"resourceGroupName": "threatprotection-4799", | ||
"serverName": "threatprotection-6440", | ||
"advancedThreatProtectionName": "Default", | ||
"api-version": "2024-06-01-preview", | ||
"parameters": { | ||
"properties": { | ||
"state": "Disabled" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/threatprotection-4799/providers/Microsoft.DBforMySQL/flexibleServers/threatprotection-6440/advancedThreatProtectionSettings/Default", | ||
"name": "Default", | ||
"type": "Microsoft.DBforMySQL/flexibleServers/advancedThreatProtectionSettings", | ||
"systemData": { | ||
"createdBy": "string", | ||
"createdByType": "User", | ||
"createdAt": "2022-04-03T04:41:33.937Z", | ||
"lastModifiedBy": "string", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2022-04-03T04:41:33.937Z" | ||
}, | ||
"properties": { | ||
"state": "Disabled", | ||
"creationTime": "2022-04-03T04:41:33.937Z", | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
}, | ||
"202": { | ||
"headers": { | ||
"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", | ||
"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" | ||
} | ||
} | ||
} | ||
} |
42 changes: 42 additions & 0 deletions
42
...ers/preview/2024-06-01-preview/examples/AdvancedThreatProtectionSettingsPatchEnabled.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,42 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-1111-2222-3333-444444444444", | ||
"resourceGroupName": "threatprotection-4799", | ||
"serverName": "threatprotection-6440", | ||
"advancedThreatProtectionName": "Default", | ||
"api-version": "2024-06-01-preview", | ||
"parameters": { | ||
"properties": { | ||
"state": "Enabled" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/threatprotection-4799/providers/Microsoft.DBforMySQL/flexibleServers/threatprotection-6440/advancedThreatProtectionSettings/Default", | ||
"name": "Default", | ||
"type": "Microsoft.DBforMySQL/flexibleServers/advancedThreatProtectionSettings", | ||
"systemData": { | ||
"createdBy": "string", | ||
"createdByType": "User", | ||
"createdAt": "2022-04-03T04:41:33.937Z", | ||
"lastModifiedBy": "string", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2022-04-03T04:41:33.937Z" | ||
}, | ||
"properties": { | ||
"state": "Enabled", | ||
"creationTime": "2022-04-03T04:41:33.937Z", | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
}, | ||
"202": { | ||
"headers": { | ||
"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", | ||
"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" | ||
} | ||
} | ||
} | ||
} |
62 changes: 62 additions & 0 deletions
62
...vers/preview/2024-06-01-preview/examples/AdvancedThreatProtectionSettingsPutDisabled.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,62 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-1111-2222-3333-444444444444", | ||
"resourceGroupName": "threatprotection-4799", | ||
"serverName": "threatprotection-6440", | ||
"advancedThreatProtectionName": "Default", | ||
"api-version": "2024-06-01-preview", | ||
"parameters": { | ||
"properties": { | ||
"state": "Disabled" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/threatprotection-4799/providers/Microsoft.DBforMySQL/flexibleServers/threatprotection-6440/advancedThreatProtectionSettings/Default", | ||
"name": "Default", | ||
"type": "Microsoft.DBforMySQL/flexibleServers/advancedThreatProtectionSettings", | ||
"systemData": { | ||
"createdBy": "string", | ||
"createdByType": "User", | ||
"createdAt": "2022-04-03T04:41:33.937Z", | ||
"lastModifiedBy": "string", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2022-04-03T04:41:33.937Z" | ||
}, | ||
"properties": { | ||
"state": "Disabled", | ||
"creationTime": "2022-04-03T04:41:33.937Z", | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/threatprotection-4799/providers/Microsoft.DBforMySQL/flexibleServers/threatprotection-6440/advancedThreatProtectionSettings/Default", | ||
"name": "Default", | ||
"type": "Microsoft.DBforMySQL/flexibleServers/advancedThreatProtectionSettings", | ||
"systemData": { | ||
"createdBy": "string", | ||
"createdByType": "User", | ||
"createdAt": "2022-04-03T04:41:33.937Z", | ||
"lastModifiedBy": "string", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2022-04-03T04:41:33.937Z" | ||
}, | ||
"properties": { | ||
"state": "Disabled", | ||
"creationTime": "2022-04-03T04:41:33.937Z", | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
}, | ||
"202": { | ||
"headers": { | ||
"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", | ||
"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" | ||
} | ||
} | ||
} | ||
} |
62 changes: 62 additions & 0 deletions
62
...rvers/preview/2024-06-01-preview/examples/AdvancedThreatProtectionSettingsPutEnabled.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,62 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-1111-2222-3333-444444444444", | ||
"resourceGroupName": "threatprotection-4799", | ||
"serverName": "threatprotection-6440", | ||
"advancedThreatProtectionName": "Default", | ||
"api-version": "2024-06-01-preview", | ||
"parameters": { | ||
"properties": { | ||
"state": "Enabled" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/threatprotection-4799/providers/Microsoft.DBforMySQL/flexibleServers/threatprotection-6440/advancedThreatProtectionSettings/Default", | ||
"name": "Default", | ||
"type": "Microsoft.DBforMySQL/flexibleServers/advancedThreatProtectionSettings", | ||
"systemData": { | ||
"createdBy": "string", | ||
"createdByType": "User", | ||
"createdAt": "2022-04-03T04:41:33.937Z", | ||
"lastModifiedBy": "string", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2022-04-03T04:41:33.937Z" | ||
}, | ||
"properties": { | ||
"state": "Enabled", | ||
"creationTime": "2022-04-03T04:41:33.937Z", | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/threatprotection-4799/providers/Microsoft.DBforMySQL/flexibleServers/threatprotection-6440/advancedThreatProtectionSettings/Default", | ||
"name": "Default", | ||
"type": "Microsoft.DBforMySQL/flexibleServers/advancedThreatProtectionSettings", | ||
"systemData": { | ||
"createdBy": "string", | ||
"createdByType": "User", | ||
"createdAt": "2022-04-03T04:41:33.937Z", | ||
"lastModifiedBy": "string", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2022-04-03T04:41:33.937Z" | ||
}, | ||
"properties": { | ||
"state": "Enabled", | ||
"creationTime": "2022-04-03T04:41:33.937Z", | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
}, | ||
"202": { | ||
"headers": { | ||
"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", | ||
"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" | ||
} | ||
} | ||
} | ||
} |
68 changes: 68 additions & 0 deletions
68
...soft.DBforMySQL/FlexibleServers/preview/2024-06-01-preview/examples/CutoverMigration.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,68 @@ | ||
{ | ||
"parameters": { | ||
"serverName": "mysqltestserver", | ||
"resourceGroupName": "testrg", | ||
"api-version": "2024-06-01-preview", | ||
"subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"sku": { | ||
"name": "Standard_D2ds_v4", | ||
"tier": "GeneralPurpose" | ||
}, | ||
"properties": { | ||
"administratorLogin": "cloudsa", | ||
"storage": { | ||
"storageSizeGB": 30, | ||
"iops": 200, | ||
"autoGrow": "Disabled", | ||
"storageSku": "Premium_LRS", | ||
"autoIoScaling": "Disabled" | ||
}, | ||
"version": "5.7", | ||
"state": "Ready", | ||
"fullyQualifiedDomainName": "mysqltestserver.database.mysql.azure.com", | ||
"availabilityZone": "3", | ||
"maintenancePolicy": { | ||
"patchStrategy": "Regular" | ||
}, | ||
"maintenanceWindow": { | ||
"customWindow": "Enabled", | ||
"dayOfWeek": 1, | ||
"startHour": 1, | ||
"startMinute": 0 | ||
}, | ||
"replicationRole": "None", | ||
"replicaCapacity": 10, | ||
"network": { | ||
"publicNetworkAccess": "Disabled" | ||
}, | ||
"backup": { | ||
"backupRetentionDays": 7, | ||
"geoRedundantBackup": "Disabled", | ||
"earliestRestoreDate": "2021-06-17T06:11:38.4150019+00:00" | ||
}, | ||
"highAvailability": { | ||
"mode": "Disabled", | ||
"state": "NotEnabled" | ||
} | ||
}, | ||
"location": "Southeast Asia", | ||
"tags": { | ||
"num": "1" | ||
}, | ||
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/flexibleServers/mysqltestserver", | ||
"name": "mysqltestserver", | ||
"type": "Microsoft.DBforMySQL/flexibleServers" | ||
} | ||
}, | ||
"202": { | ||
"headers": { | ||
"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-06-01-preview", | ||
"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-06-01-preview" | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.