Skip to content

Commit

Permalink
Autogenerate schemas
Browse files Browse the repository at this point in the history
  • Loading branch information
Autogenerator Pipeline committed Mar 17, 2023
1 parent 8360b4e commit feb6ff6
Showing 1 changed file with 143 additions and 5 deletions.
148 changes: 143 additions & 5 deletions schemas/2022-08-01-preview/Microsoft.Sql.json
Original file line number Diff line number Diff line change
Expand Up @@ -860,7 +860,7 @@
"properties": {
"oneOf": [
{
"$ref": "#/definitions/DatabaseVulnerabilityAssessmentProperties"
"$ref": "#/definitions/DatabaseVulnerabilityAssessmentPropertiesModel"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
Expand Down Expand Up @@ -1253,7 +1253,7 @@
"properties": {
"oneOf": [
{
"$ref": "#/definitions/SecurityAlertsPolicyProperties"
"$ref": "#/definitions/SecurityAlertsPolicyPropertiesModel"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
Expand Down Expand Up @@ -4602,6 +4602,7 @@
},
"elasticPoolId": {
"type": "string",
"format": "arm-id",
"description": "The resource identifier of the elastic pool containing this database."
},
"encryptionProtector": {
Expand Down Expand Up @@ -4674,6 +4675,7 @@
},
"longTermRetentionBackupResourceId": {
"type": "string",
"format": "arm-id",
"description": "The resource identifier of the long term retention backup associated with create operation of this database."
},
"maintenanceConfigurationId": {
Expand Down Expand Up @@ -4756,10 +4758,12 @@
},
"recoverableDatabaseId": {
"type": "string",
"format": "arm-id",
"description": "The resource identifier of the recoverable database associated with create operation of this database."
},
"recoveryServicesRecoveryPointId": {
"type": "string",
"format": "arm-id",
"description": "The resource identifier of the recovery point associated with create operation of this database."
},
"requestedBackupStorageRedundancy": {
Expand All @@ -4781,6 +4785,7 @@
},
"restorableDroppedDatabaseId": {
"type": "string",
"format": "arm-id",
"description": "The resource identifier of the restorable dropped database associated with create operation of this database."
},
"restorePointInTime": {
Expand Down Expand Up @@ -4827,10 +4832,12 @@
},
"sourceDatabaseId": {
"type": "string",
"format": "arm-id",
"description": "The resource identifier of the source database associated with create operation of this database."
},
"sourceResourceId": {
"type": "string",
"format": "arm-id",
"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 "
},
"zoneRedundant": {
Expand Down Expand Up @@ -4961,6 +4968,35 @@
},
"description": "Properties of a database Vulnerability Assessment."
},
"DatabaseVulnerabilityAssessmentPropertiesModel": {
"type": "object",
"properties": {
"recurringScans": {
"oneOf": [
{
"$ref": "#/definitions/VulnerabilityAssessmentRecurringScansProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Properties of a Vulnerability Assessment recurring scans."
},
"storageAccountAccessKey": {
"type": "string",
"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"
},
"storageContainerPath": {
"type": "string",
"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"
},
"storageContainerSasKey": {
"type": "string",
"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"
}
},
"description": "Properties of a database Vulnerability Assessment."
},
"DatabaseVulnerabilityAssessmentRuleBaselineItem": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -5931,6 +5967,7 @@
"properties": {
"databaseId": {
"type": "string",
"format": "arm-id",
"description": "Resource ID of the database to store job metadata in."
}
},
Expand Down Expand Up @@ -6478,10 +6515,12 @@
},
"crossSubscriptionRestorableDroppedDatabaseId": {
"type": "string",
"format": "arm-id",
"description": "The restorable cross-subscription dropped database resource id to restore when creating this database."
},
"crossSubscriptionSourceDatabaseId": {
"type": "string",
"format": "arm-id",
"description": "The resource identifier of the cross-subscription source database associated with create operation of this database."
},
"crossSubscriptionTargetManagedInstanceId": {
Expand All @@ -6505,14 +6544,17 @@
},
"longTermRetentionBackupResourceId": {
"type": "string",
"format": "arm-id",
"description": "The name of the Long Term Retention backup to be used for restore of this managed database."
},
"recoverableDatabaseId": {
"type": "string",
"format": "arm-id",
"description": "The resource identifier of the recoverable database associated with create operation of this database."
},
"restorableDroppedDatabaseId": {
"type": "string",
"format": "arm-id",
"description": "The restorable dropped database resource id to restore when creating this database."
},
"restorePointInTime": {
Expand All @@ -6522,6 +6564,7 @@
},
"sourceDatabaseId": {
"type": "string",
"format": "arm-id",
"description": "The resource identifier of the source database associated with create operation of this database."
},
"storageContainerIdentity": {
Expand Down Expand Up @@ -6983,6 +7026,7 @@
},
"dnsZonePartner": {
"type": "string",
"format": "arm-id",
"description": "The resource id of another managed instance whose DNS zone this managed instance will share after creation."
},
"instancePoolId": {
Expand Down Expand Up @@ -7033,6 +7077,7 @@
},
"primaryUserAssignedIdentityId": {
"type": "string",
"format": "arm-id",
"description": "The resource id of a user assigned identity to be used by default."
},
"proxyOverride": {
Expand Down Expand Up @@ -7097,6 +7142,7 @@
},
"sourceManagedInstanceId": {
"type": "string",
"format": "arm-id",
"description": "The resource identifier of the source managed instance associated with create operation of this instance."
},
"storageSizeInGB": {
Expand All @@ -7112,6 +7158,7 @@
},
"subnetId": {
"type": "string",
"format": "arm-id",
"description": "Subnet resource ID for the managed instance."
},
"timezoneId": {
Expand Down Expand Up @@ -7598,7 +7645,7 @@
"properties": {
"oneOf": [
{
"$ref": "#/definitions/DatabaseVulnerabilityAssessmentProperties"
"$ref": "#/definitions/DatabaseVulnerabilityAssessmentPropertiesModel"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
Expand Down Expand Up @@ -7879,7 +7926,7 @@
"properties": {
"oneOf": [
{
"$ref": "#/definitions/SecurityAlertsPolicyProperties"
"$ref": "#/definitions/SecurityAlertsPolicyPropertiesModel"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
Expand Down Expand Up @@ -8179,10 +8226,12 @@
"properties": {
"sqlServerResourceId": {
"type": "string",
"format": "arm-id",
"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."
},
"storageAccountResourceId": {
"type": "string",
"format": "arm-id",
"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."
}
},
Expand All @@ -8193,6 +8242,7 @@
"properties": {
"id": {
"type": "string",
"format": "arm-id",
"description": "Resource identifier of the partner server."
}
},
Expand Down Expand Up @@ -8539,6 +8589,88 @@
],
"description": "Properties of a security alert policy."
},
"SecurityAlertsPolicyPropertiesModel": {
"type": "object",
"properties": {
"disabledAlerts": {
"oneOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"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"
},
"emailAccountAdmins": {
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Specifies that the alert is sent to the account administrators."
},
"emailAddresses": {
"oneOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Specifies an array of e-mail addresses to which the alert is sent."
},
"retentionDays": {
"oneOf": [
{
"type": "integer"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Specifies the number of days to keep in the Threat Detection audit logs."
},
"state": {
"oneOf": [
{
"type": "string",
"enum": [
"Enabled",
"Disabled"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"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."
},
"storageAccountAccessKey": {
"type": "string",
"description": "Specifies the identifier key of the Threat Detection audit storage account."
},
"storageEndpoint": {
"type": "string",
"description": "Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob storage will hold all Threat Detection audit logs."
}
},
"required": [
"state"
],
"description": "Properties of a security alert policy."
},
"SensitivityLabelProperties": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -8983,10 +9115,11 @@
},
"minimalTlsVersion": {
"type": "string",
"description": "Minimal TLS version. Allowed values: '1.0', '1.1', '1.2'"
"description": "Minimal TLS version. Allowed values: 'None', '1.0', '1.1', '1.2'"
},
"primaryUserAssignedIdentityId": {
"type": "string",
"format": "arm-id",
"description": "The resource id of a user assigned identity to be used by default."
},
"publicNetworkAccess": {
Expand Down Expand Up @@ -11328,6 +11461,7 @@
"properties": {
"syncDatabaseId": {
"type": "string",
"format": "arm-id",
"description": "ARM resource id of the sync database in the sync agent."
}
},
Expand Down Expand Up @@ -11405,6 +11539,7 @@
},
"syncDatabaseId": {
"type": "string",
"format": "arm-id",
"description": "ARM resource id of the sync database in the sync group."
},
"usePrivateLinkConnection": {
Expand Down Expand Up @@ -11531,6 +11666,7 @@
},
"syncAgentId": {
"type": "string",
"format": "arm-id",
"description": "ARM resource id of the sync agent in the sync member."
},
"syncDirection": {
Expand All @@ -11551,6 +11687,7 @@
},
"syncMemberAzureDatabaseResourceId": {
"type": "string",
"format": "arm-id",
"description": "ARM resource id of the sync member logical database, for sync members in Azure."
},
"usePrivateLinkConnection": {
Expand Down Expand Up @@ -11616,6 +11753,7 @@
},
"virtualNetworkSubnetId": {
"type": "string",
"format": "arm-id",
"description": "The ARM resource id of the virtual network subnet."
}
},
Expand Down

0 comments on commit feb6ff6

Please sign in to comment.