Skip to content

Commit feb6ff6

Browse files
author
Autogenerator Pipeline
committed
Autogenerate schemas
1 parent 8360b4e commit feb6ff6

File tree

1 file changed

+143
-5
lines changed

1 file changed

+143
-5
lines changed

schemas/2022-08-01-preview/Microsoft.Sql.json

Lines changed: 143 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -860,7 +860,7 @@
860860
"properties": {
861861
"oneOf": [
862862
{
863-
"$ref": "#/definitions/DatabaseVulnerabilityAssessmentProperties"
863+
"$ref": "#/definitions/DatabaseVulnerabilityAssessmentPropertiesModel"
864864
},
865865
{
866866
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
@@ -1253,7 +1253,7 @@
12531253
"properties": {
12541254
"oneOf": [
12551255
{
1256-
"$ref": "#/definitions/SecurityAlertsPolicyProperties"
1256+
"$ref": "#/definitions/SecurityAlertsPolicyPropertiesModel"
12571257
},
12581258
{
12591259
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
@@ -4602,6 +4602,7 @@
46024602
},
46034603
"elasticPoolId": {
46044604
"type": "string",
4605+
"format": "arm-id",
46054606
"description": "The resource identifier of the elastic pool containing this database."
46064607
},
46074608
"encryptionProtector": {
@@ -4674,6 +4675,7 @@
46744675
},
46754676
"longTermRetentionBackupResourceId": {
46764677
"type": "string",
4678+
"format": "arm-id",
46774679
"description": "The resource identifier of the long term retention backup associated with create operation of this database."
46784680
},
46794681
"maintenanceConfigurationId": {
@@ -4756,10 +4758,12 @@
47564758
},
47574759
"recoverableDatabaseId": {
47584760
"type": "string",
4761+
"format": "arm-id",
47594762
"description": "The resource identifier of the recoverable database associated with create operation of this database."
47604763
},
47614764
"recoveryServicesRecoveryPointId": {
47624765
"type": "string",
4766+
"format": "arm-id",
47634767
"description": "The resource identifier of the recovery point associated with create operation of this database."
47644768
},
47654769
"requestedBackupStorageRedundancy": {
@@ -4781,6 +4785,7 @@
47814785
},
47824786
"restorableDroppedDatabaseId": {
47834787
"type": "string",
4788+
"format": "arm-id",
47844789
"description": "The resource identifier of the restorable dropped database associated with create operation of this database."
47854790
},
47864791
"restorePointInTime": {
@@ -4827,10 +4832,12 @@
48274832
},
48284833
"sourceDatabaseId": {
48294834
"type": "string",
4835+
"format": "arm-id",
48304836
"description": "The resource identifier of the source database associated with create operation of this database."
48314837
},
48324838
"sourceResourceId": {
48334839
"type": "string",
4840+
"format": "arm-id",
48344841
"description": "The resource identifier of the source associated with the create operation of this database.\r\n\r\nThis property is only supported for DataWarehouse edition and allows to restore across subscriptions.\r\n\r\nWhen sourceResourceId is specified, sourceDatabaseId, recoverableDatabaseId, restorableDroppedDatabaseId and sourceDatabaseDeletionDate must not be specified and CreateMode must be PointInTimeRestore, Restore or Recover.\r\n\r\nWhen createMode is PointInTimeRestore, sourceResourceId must be the resource ID of the existing database or existing sql pool, and restorePointInTime must be specified.\r\n\r\nWhen createMode is Restore, sourceResourceId must be the resource ID of restorable dropped database or restorable dropped sql pool.\r\n\r\nWhen createMode is Recover, sourceResourceId must be the resource ID of recoverable database or recoverable sql pool.\r\n\r\nWhen source subscription belongs to a different tenant than target subscription, “x-ms-authorization-auxiliary” header must contain authentication token for the source tenant. For more details about “x-ms-authorization-auxiliary” header see https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/authenticate-multi-tenant "
48354842
},
48364843
"zoneRedundant": {
@@ -4961,6 +4968,35 @@
49614968
},
49624969
"description": "Properties of a database Vulnerability Assessment."
49634970
},
4971+
"DatabaseVulnerabilityAssessmentPropertiesModel": {
4972+
"type": "object",
4973+
"properties": {
4974+
"recurringScans": {
4975+
"oneOf": [
4976+
{
4977+
"$ref": "#/definitions/VulnerabilityAssessmentRecurringScansProperties"
4978+
},
4979+
{
4980+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
4981+
}
4982+
],
4983+
"description": "Properties of a Vulnerability Assessment recurring scans."
4984+
},
4985+
"storageAccountAccessKey": {
4986+
"type": "string",
4987+
"description": "Specifies the identifier key of the storage account for vulnerability assessment scan results. If 'StorageContainerSasKey' isn't specified, storageAccountAccessKey is required. Applies only if the storage account is not behind a Vnet or a firewall"
4988+
},
4989+
"storageContainerPath": {
4990+
"type": "string",
4991+
"description": "A blob storage container path to hold the scan results (e.g. https://myStorage.blob.core.windows.net/VaScans/). It is required if server level vulnerability assessment policy doesn't set"
4992+
},
4993+
"storageContainerSasKey": {
4994+
"type": "string",
4995+
"description": "A shared access signature (SAS Key) that has write access to the blob container specified in 'storageContainerPath' parameter. If 'storageAccountAccessKey' isn't specified, StorageContainerSasKey is required. Applies only if the storage account is not behind a Vnet or a firewall"
4996+
}
4997+
},
4998+
"description": "Properties of a database Vulnerability Assessment."
4999+
},
49645000
"DatabaseVulnerabilityAssessmentRuleBaselineItem": {
49655001
"type": "object",
49665002
"properties": {
@@ -5931,6 +5967,7 @@
59315967
"properties": {
59325968
"databaseId": {
59335969
"type": "string",
5970+
"format": "arm-id",
59345971
"description": "Resource ID of the database to store job metadata in."
59355972
}
59365973
},
@@ -6478,10 +6515,12 @@
64786515
},
64796516
"crossSubscriptionRestorableDroppedDatabaseId": {
64806517
"type": "string",
6518+
"format": "arm-id",
64816519
"description": "The restorable cross-subscription dropped database resource id to restore when creating this database."
64826520
},
64836521
"crossSubscriptionSourceDatabaseId": {
64846522
"type": "string",
6523+
"format": "arm-id",
64856524
"description": "The resource identifier of the cross-subscription source database associated with create operation of this database."
64866525
},
64876526
"crossSubscriptionTargetManagedInstanceId": {
@@ -6505,14 +6544,17 @@
65056544
},
65066545
"longTermRetentionBackupResourceId": {
65076546
"type": "string",
6547+
"format": "arm-id",
65086548
"description": "The name of the Long Term Retention backup to be used for restore of this managed database."
65096549
},
65106550
"recoverableDatabaseId": {
65116551
"type": "string",
6552+
"format": "arm-id",
65126553
"description": "The resource identifier of the recoverable database associated with create operation of this database."
65136554
},
65146555
"restorableDroppedDatabaseId": {
65156556
"type": "string",
6557+
"format": "arm-id",
65166558
"description": "The restorable dropped database resource id to restore when creating this database."
65176559
},
65186560
"restorePointInTime": {
@@ -6522,6 +6564,7 @@
65226564
},
65236565
"sourceDatabaseId": {
65246566
"type": "string",
6567+
"format": "arm-id",
65256568
"description": "The resource identifier of the source database associated with create operation of this database."
65266569
},
65276570
"storageContainerIdentity": {
@@ -6983,6 +7026,7 @@
69837026
},
69847027
"dnsZonePartner": {
69857028
"type": "string",
7029+
"format": "arm-id",
69867030
"description": "The resource id of another managed instance whose DNS zone this managed instance will share after creation."
69877031
},
69887032
"instancePoolId": {
@@ -7033,6 +7077,7 @@
70337077
},
70347078
"primaryUserAssignedIdentityId": {
70357079
"type": "string",
7080+
"format": "arm-id",
70367081
"description": "The resource id of a user assigned identity to be used by default."
70377082
},
70387083
"proxyOverride": {
@@ -7097,6 +7142,7 @@
70977142
},
70987143
"sourceManagedInstanceId": {
70997144
"type": "string",
7145+
"format": "arm-id",
71007146
"description": "The resource identifier of the source managed instance associated with create operation of this instance."
71017147
},
71027148
"storageSizeInGB": {
@@ -7112,6 +7158,7 @@
71127158
},
71137159
"subnetId": {
71147160
"type": "string",
7161+
"format": "arm-id",
71157162
"description": "Subnet resource ID for the managed instance."
71167163
},
71177164
"timezoneId": {
@@ -7598,7 +7645,7 @@
75987645
"properties": {
75997646
"oneOf": [
76007647
{
7601-
"$ref": "#/definitions/DatabaseVulnerabilityAssessmentProperties"
7648+
"$ref": "#/definitions/DatabaseVulnerabilityAssessmentPropertiesModel"
76027649
},
76037650
{
76047651
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
@@ -7879,7 +7926,7 @@
78797926
"properties": {
78807927
"oneOf": [
78817928
{
7882-
"$ref": "#/definitions/SecurityAlertsPolicyProperties"
7929+
"$ref": "#/definitions/SecurityAlertsPolicyPropertiesModel"
78837930
},
78847931
{
78857932
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
@@ -8179,10 +8226,12 @@
81798226
"properties": {
81808227
"sqlServerResourceId": {
81818228
"type": "string",
8229+
"format": "arm-id",
81828230
"description": "The resource id for the SQL server which is the target of this request. If set, private endpoint connection will be created for the SQL server. Must match server which is target of the operation."
81838231
},
81848232
"storageAccountResourceId": {
81858233
"type": "string",
8234+
"format": "arm-id",
81868235
"description": "The resource id for the storage account used to store BACPAC file. If set, private endpoint connection will be created for the storage account. Must match storage account used for StorageUri parameter."
81878236
}
81888237
},
@@ -8193,6 +8242,7 @@
81938242
"properties": {
81948243
"id": {
81958244
"type": "string",
8245+
"format": "arm-id",
81968246
"description": "Resource identifier of the partner server."
81978247
}
81988248
},
@@ -8539,6 +8589,88 @@
85398589
],
85408590
"description": "Properties of a security alert policy."
85418591
},
8592+
"SecurityAlertsPolicyPropertiesModel": {
8593+
"type": "object",
8594+
"properties": {
8595+
"disabledAlerts": {
8596+
"oneOf": [
8597+
{
8598+
"type": "array",
8599+
"items": {
8600+
"type": "string"
8601+
}
8602+
},
8603+
{
8604+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
8605+
}
8606+
],
8607+
"description": "Specifies an array of alerts that are disabled. Allowed values are: Sql_Injection, Sql_Injection_Vulnerability, Access_Anomaly, Data_Exfiltration, Unsafe_Action, Brute_Force"
8608+
},
8609+
"emailAccountAdmins": {
8610+
"oneOf": [
8611+
{
8612+
"type": "boolean"
8613+
},
8614+
{
8615+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
8616+
}
8617+
],
8618+
"description": "Specifies that the alert is sent to the account administrators."
8619+
},
8620+
"emailAddresses": {
8621+
"oneOf": [
8622+
{
8623+
"type": "array",
8624+
"items": {
8625+
"type": "string"
8626+
}
8627+
},
8628+
{
8629+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
8630+
}
8631+
],
8632+
"description": "Specifies an array of e-mail addresses to which the alert is sent."
8633+
},
8634+
"retentionDays": {
8635+
"oneOf": [
8636+
{
8637+
"type": "integer"
8638+
},
8639+
{
8640+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
8641+
}
8642+
],
8643+
"description": "Specifies the number of days to keep in the Threat Detection audit logs."
8644+
},
8645+
"state": {
8646+
"oneOf": [
8647+
{
8648+
"type": "string",
8649+
"enum": [
8650+
"Enabled",
8651+
"Disabled"
8652+
]
8653+
},
8654+
{
8655+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
8656+
}
8657+
],
8658+
"description": "Specifies the state of the policy, whether it is enabled or disabled or a policy has not been applied yet on the specific database."
8659+
},
8660+
"storageAccountAccessKey": {
8661+
"type": "string",
8662+
"description": "Specifies the identifier key of the Threat Detection audit storage account."
8663+
},
8664+
"storageEndpoint": {
8665+
"type": "string",
8666+
"description": "Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob storage will hold all Threat Detection audit logs."
8667+
}
8668+
},
8669+
"required": [
8670+
"state"
8671+
],
8672+
"description": "Properties of a security alert policy."
8673+
},
85428674
"SensitivityLabelProperties": {
85438675
"type": "object",
85448676
"properties": {
@@ -8983,10 +9115,11 @@
89839115
},
89849116
"minimalTlsVersion": {
89859117
"type": "string",
8986-
"description": "Minimal TLS version. Allowed values: '1.0', '1.1', '1.2'"
9118+
"description": "Minimal TLS version. Allowed values: 'None', '1.0', '1.1', '1.2'"
89879119
},
89889120
"primaryUserAssignedIdentityId": {
89899121
"type": "string",
9122+
"format": "arm-id",
89909123
"description": "The resource id of a user assigned identity to be used by default."
89919124
},
89929125
"publicNetworkAccess": {
@@ -11328,6 +11461,7 @@
1132811461
"properties": {
1132911462
"syncDatabaseId": {
1133011463
"type": "string",
11464+
"format": "arm-id",
1133111465
"description": "ARM resource id of the sync database in the sync agent."
1133211466
}
1133311467
},
@@ -11405,6 +11539,7 @@
1140511539
},
1140611540
"syncDatabaseId": {
1140711541
"type": "string",
11542+
"format": "arm-id",
1140811543
"description": "ARM resource id of the sync database in the sync group."
1140911544
},
1141011545
"usePrivateLinkConnection": {
@@ -11531,6 +11666,7 @@
1153111666
},
1153211667
"syncAgentId": {
1153311668
"type": "string",
11669+
"format": "arm-id",
1153411670
"description": "ARM resource id of the sync agent in the sync member."
1153511671
},
1153611672
"syncDirection": {
@@ -11551,6 +11687,7 @@
1155111687
},
1155211688
"syncMemberAzureDatabaseResourceId": {
1155311689
"type": "string",
11690+
"format": "arm-id",
1155411691
"description": "ARM resource id of the sync member logical database, for sync members in Azure."
1155511692
},
1155611693
"usePrivateLinkConnection": {
@@ -11616,6 +11753,7 @@
1161611753
},
1161711754
"virtualNetworkSubnetId": {
1161811755
"type": "string",
11756+
"format": "arm-id",
1161911757
"description": "The ARM resource id of the virtual network subnet."
1162011758
}
1162111759
},

0 commit comments

Comments
 (0)