forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Release microsoft.sql 2020-11-01 preview API version (Azure#13332)
* Adds base for updating Microsoft.Sql from version preview/2020-08-01-preview to version 2020-11-01-preview * Updates readme * Updates API version in new specs and examples * Add updated 2020-11-01-preview versions of LongTermRetenionBackups.json and Databases.json (Azure#12146) * add updated databases.json swagger * update readme with new package * v4 -> v5 * add missing chunk in readme * add correct swaggeR * add examples * add correct examplese * remove unreferenced examples * update swagger and examples. add 2020-11 pure package * Fix reference to 2020-08-01 reference to ElasticPools.json * update Databases.json name * update examples * remove nonexistant swagger * fixed reference capitals in readme * update package composite and fix ref to ManagedInstances.jsON * make backupstorageredundancy settings consistent * add requestedBackupStorageRedundancy to properties object in example * add LTR swagger and examples * add LTR Policies swagger and examples * make v5 match v4 * add updated Databses.json * merge conflicts in LTR Policies swagger' * take out comments in readme * taking ImportExport.json out from 2020-11 package * remove duplicate 2020-11 tag in readme * modify Databases_legacy.json to exclude ImportExport-related APIs * add servers.json for IE APIS and remove unused databases examples * fix model & prettier errors; add missing server example * add missing servers examples * fix example to exclude property from server obj * change RecommendedActions definitoins * change tag to composite v4 * Add missing properties for api version 2020-02-02-preview of securityAlertPolicies (Azure#13117) * Add missing properties for api version 2020-02-02-preview * fix checks * fix according to prettier check * Add the change to version 2020-08-01-preview and version 2020-11-01-preview * remove changes in package-lock * Add new line at the end of file * update version 2020-11-01-preview * Update the ref to system data in serverdevopsaudit * add missing point * fix the validation errors (Azure#13325) * fix the validation errors * Delete ServerDevOpsAudit.json * fix the validation errors * re add ServerDevOpsAudit.json Co-authored-by: xaliciayang <59986952+xaliciayang@users.noreply.github.com> Co-authored-by: ayeletshpigelman <ayshpige@microsoft.com>
- Loading branch information
Showing
605 changed files
with
68,602 additions
and
24 deletions.
There are no files selected for viewing
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
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
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
89 changes: 89 additions & 0 deletions
89
...ger/Microsoft.Sql/preview/2020-02-02-preview/examples/DatabaseSecurityAlertCreateMax.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,89 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-1111-2222-3333-444444444444", | ||
"resourceGroupName": "securityalert-4799", | ||
"serverName": "securityalert-6440", | ||
"databaseName": "testdb", | ||
"securityAlertPolicyName": "default", | ||
"api-version": "2020-02-02-preview", | ||
"parameters": { | ||
"properties": { | ||
"state": "Enabled", | ||
"emailAccountAdmins": true, | ||
"emailAddresses": [ | ||
"test@microsoft.com", | ||
"user@microsoft.com" | ||
], | ||
"disabledAlerts": [ | ||
"Sql_Injection", | ||
"Usage_Anomaly" | ||
], | ||
"retentionDays": 6, | ||
"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.Sql/servers/securityalert-6440/databases/testdb", | ||
"name": "default", | ||
"type": "Microsoft.Sql/servers/databases/securityAlertPolicies", | ||
"systemData": { | ||
"createdBy": "string", | ||
"createdByType": "User", | ||
"createdAt": "2020-04-03T04:41:33.937Z", | ||
"lastModifiedBy": "string", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2020-04-03T04:41:33.937Z" | ||
}, | ||
"properties": { | ||
"state": "Enabled", | ||
"emailAccountAdmins": true, | ||
"emailAddresses": [ | ||
"test@microsoft.com", | ||
"user@microsoft.com" | ||
], | ||
"disabledAlerts": [ | ||
"Sql_Injection", | ||
"Usage_Anomaly" | ||
], | ||
"retentionDays": 6, | ||
"storageAccountAccessKey": "", | ||
"storageEndpoint": "https://mystorage.blob.core.windows.net" | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.Sql/servers/securityalert-6440/databases/testdb", | ||
"name": "default", | ||
"type": "Microsoft.Sql/servers/databases/securityAlertPolicies", | ||
"systemData": { | ||
"createdBy": "string", | ||
"createdByType": "User", | ||
"createdAt": "2020-04-03T04:41:33.937Z", | ||
"lastModifiedBy": "string", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2020-04-03T04:41:33.937Z" | ||
}, | ||
"properties": { | ||
"state": "Enabled", | ||
"emailAccountAdmins": true, | ||
"emailAddresses": [ | ||
"test@microsoft.com", | ||
"user@microsoft.com" | ||
], | ||
"disabledAlerts": [ | ||
"Access_Anomaly", | ||
"Usage_Anomaly" | ||
], | ||
"retentionDays": 6, | ||
"storageAccountAccessKey": "sdlfkjabc+sdlfkjsdlkfsjdfLDKFTERLKFDFKLjsdfksjdflsdkfD2342309432849328476458/3RSD==", | ||
"storageEndpoint": "https://mystorage.blob.core.windows.net" | ||
} | ||
} | ||
} | ||
} | ||
} |
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
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
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
Oops, something went wrong.