Skip to content

Commit

Permalink
CodeGen from PR 22673 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge 57d1b620e578ba5e08a04a1cbb4f0e78ae779f26 into 637605c07dabaefda3b1b23dda48ef0682eb1ad3
  • Loading branch information
SDKAuto committed Mar 6, 2023
1 parent f0c32b9 commit f266f1f
Show file tree
Hide file tree
Showing 3 changed files with 12,027 additions and 140 deletions.
144 changes: 4 additions & 140 deletions schemas/2021-11-01/Microsoft.Sql.json
Original file line number Diff line number Diff line change
Expand Up @@ -701,7 +701,7 @@
"properties": {
"oneOf": [
{
"$ref": "#/definitions/DatabaseVulnerabilityAssessmentPropertiesModel"
"$ref": "#/definitions/DatabaseVulnerabilityAssessmentProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
Expand Down Expand Up @@ -1047,7 +1047,7 @@
"properties": {
"oneOf": [
{
"$ref": "#/definitions/SecurityAlertsPolicyPropertiesModel"
"$ref": "#/definitions/SecurityAlertsPolicyProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
Expand Down Expand Up @@ -4024,7 +4024,6 @@
},
"elasticPoolId": {
"type": "string",
"format": "arm-id",
"description": "The resource identifier of the elastic pool containing this database."
},
"federatedClientId": {
Expand Down Expand Up @@ -4078,7 +4077,6 @@
},
"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 @@ -4124,12 +4122,10 @@
},
"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 @@ -4151,7 +4147,6 @@
},
"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 @@ -4197,12 +4192,10 @@
},
"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 @@ -4253,35 +4246,6 @@
},
"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 @@ -5205,7 +5169,6 @@
"properties": {
"databaseId": {
"type": "string",
"format": "arm-id",
"description": "Resource ID of the database to store job metadata in."
}
},
Expand Down Expand Up @@ -5757,17 +5720,14 @@
},
"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 @@ -5777,7 +5737,6 @@
},
"sourceDatabaseId": {
"type": "string",
"format": "arm-id",
"description": "The resource identifier of the source database associated with create operation of this database."
},
"storageContainerSasToken": {
Expand Down Expand Up @@ -6100,7 +6059,6 @@
},
"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 @@ -6151,7 +6109,6 @@
},
"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 @@ -6216,7 +6173,6 @@
},
"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 @@ -6232,7 +6188,6 @@
},
"subnetId": {
"type": "string",
"format": "arm-id",
"description": "Subnet resource ID for the managed instance."
},
"timezoneId": {
Expand Down Expand Up @@ -6593,7 +6548,7 @@
"properties": {
"oneOf": [
{
"$ref": "#/definitions/DatabaseVulnerabilityAssessmentPropertiesModel"
"$ref": "#/definitions/DatabaseVulnerabilityAssessmentProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
Expand Down Expand Up @@ -6832,7 +6787,7 @@
"properties": {
"oneOf": [
{
"$ref": "#/definitions/SecurityAlertsPolicyPropertiesModel"
"$ref": "#/definitions/SecurityAlertsPolicyProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
Expand Down Expand Up @@ -7038,12 +6993,10 @@
"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 @@ -7054,7 +7007,6 @@
"properties": {
"id": {
"type": "string",
"format": "arm-id",
"description": "Resource identifier of the partner server."
}
},
Expand Down Expand Up @@ -7341,88 +7293,6 @@
],
"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 @@ -7840,7 +7710,6 @@
},
"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 @@ -9966,7 +9835,6 @@
"properties": {
"syncDatabaseId": {
"type": "string",
"format": "arm-id",
"description": "ARM resource id of the sync database in the sync agent."
}
},
Expand Down Expand Up @@ -10044,7 +9912,6 @@
},
"syncDatabaseId": {
"type": "string",
"format": "arm-id",
"description": "ARM resource id of the sync database in the sync group."
},
"usePrivateLinkConnection": {
Expand Down Expand Up @@ -10171,7 +10038,6 @@
},
"syncAgentId": {
"type": "string",
"format": "arm-id",
"description": "ARM resource id of the sync agent in the sync member."
},
"syncDirection": {
Expand All @@ -10192,7 +10058,6 @@
},
"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 @@ -10258,7 +10123,6 @@
},
"virtualNetworkSubnetId": {
"type": "string",
"format": "arm-id",
"description": "The ARM resource id of the virtual network subnet."
}
},
Expand Down
Loading

0 comments on commit f266f1f

Please sign in to comment.