Skip to content

Commit

Permalink
CodeGen from PR 18753 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
[SQL] Databases API - propagate changes on newer versions (#18753)

* Update version 2021-08-01-preview

* Update version 2021-11-01-preview

* ignore string shuffling
  • Loading branch information
SDKAuto committed Apr 28, 2022
1 parent 492cb19 commit 33a85bd
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 89 deletions.
24 changes: 12 additions & 12 deletions schemas/2020-11-01-preview/Microsoft.Sql.json
Original file line number Diff line number Diff line change
Expand Up @@ -1120,12 +1120,6 @@
"type": "array",
"items": {
"oneOf": [
{
"$ref": "#/definitions/servers_extendedAuditingSettings_childResource"
},
{
"$ref": "#/definitions/servers_auditingSettings_childResource"
},
{
"$ref": "#/definitions/servers_encryptionProtector_childResource"
},
Expand Down Expand Up @@ -1171,6 +1165,12 @@
{
"$ref": "#/definitions/servers_databases_childResource"
},
{
"$ref": "#/definitions/servers_extendedAuditingSettings_childResource"
},
{
"$ref": "#/definitions/servers_auditingSettings_childResource"
},
{
"$ref": "#/definitions/servers_elasticPools_childResource"
}
Expand Down Expand Up @@ -1381,12 +1381,6 @@
"type": "array",
"items": {
"oneOf": [
{
"$ref": "#/definitions/servers_databases_extendedAuditingSettings_childResource"
},
{
"$ref": "#/definitions/servers_databases_auditingSettings_childResource"
},
{
"$ref": "#/definitions/servers_databases_securityAlertPolicies_childResource"
},
Expand All @@ -1408,6 +1402,12 @@
{
"$ref": "#/definitions/servers_databases_backupShortTermRetentionPolicies_childResource"
},
{
"$ref": "#/definitions/servers_databases_extendedAuditingSettings_childResource"
},
{
"$ref": "#/definitions/servers_databases_auditingSettings_childResource"
},
{
"$ref": "#/definitions/servers_databases_extensions_childResource"
},
Expand Down
6 changes: 3 additions & 3 deletions schemas/2021-05-01-preview/Microsoft.Sql.json
Original file line number Diff line number Diff line change
Expand Up @@ -198,9 +198,6 @@
{
"$ref": "#/definitions/managedInstances_distributedAvailabilityGroups_childResource"
},
{
"$ref": "#/definitions/managedInstances_serverTrustCertificates_childResource"
},
{
"$ref": "#/definitions/managedInstances_databases_childResource"
},
Expand All @@ -225,6 +222,9 @@
{
"$ref": "#/definitions/managedInstances_securityAlertPolicies_childResource"
},
{
"$ref": "#/definitions/managedInstances_serverTrustCertificates_childResource"
},
{
"$ref": "#/definitions/managedInstances_sqlAgent_childResource"
}
Expand Down
37 changes: 0 additions & 37 deletions schemas/2021-08-01-preview/Microsoft.Sql.json
Original file line number Diff line number Diff line change
Expand Up @@ -3599,21 +3599,6 @@
"DatabaseIdentity": {
"type": "object",
"properties": {
"delegatedResources": {
"oneOf": [
{
"type": "object",
"additionalProperties": {
"$ref": "#/definitions/Delegation"
},
"properties": {}
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Resources delegated to the database - Internal Use Only"
},
"type": {
"oneOf": [
{
Expand Down Expand Up @@ -3786,18 +3771,6 @@
],
"description": "Minimal capacity that database will always have allocated, if not paused"
},
"primaryDelegatedIdentityClientId": {
"oneOf": [
{
"type": "string",
"pattern": "^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The Primary Delegated Identity Client id used for per database CMK - for internal use only"
},
"readScale": {
"oneOf": [
{
Expand Down Expand Up @@ -3985,16 +3958,6 @@
],
"description": "Properties of a database Vulnerability Assessment rule baseline."
},
"Delegation": {
"type": "object",
"properties": {
"resourceId": {
"type": "string",
"description": "The resource id of the source resource - Internal Use Only"
}
},
"description": "Delegated Resource Properties - Internal Use Only"
},
"DistributedAvailabilityGroupProperties": {
"type": "object",
"properties": {
Expand Down
37 changes: 0 additions & 37 deletions schemas/2021-11-01-preview/Microsoft.Sql.json
Original file line number Diff line number Diff line change
Expand Up @@ -3784,21 +3784,6 @@
"DatabaseIdentity": {
"type": "object",
"properties": {
"delegatedResources": {
"oneOf": [
{
"type": "object",
"additionalProperties": {
"$ref": "#/definitions/Delegation"
},
"properties": {}
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Resources delegated to the database - Internal Use Only"
},
"type": {
"oneOf": [
{
Expand Down Expand Up @@ -3971,18 +3956,6 @@
],
"description": "Minimal capacity that database will always have allocated, if not paused"
},
"primaryDelegatedIdentityClientId": {
"oneOf": [
{
"type": "string",
"pattern": "^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The Primary Delegated Identity Client id used for per database CMK - for internal use only"
},
"readScale": {
"oneOf": [
{
Expand Down Expand Up @@ -4170,16 +4143,6 @@
],
"description": "Properties of a database Vulnerability Assessment rule baseline."
},
"Delegation": {
"type": "object",
"properties": {
"resourceId": {
"type": "string",
"description": "The resource id of the source resource - Internal Use Only"
}
},
"description": "Delegated Resource Properties - Internal Use Only"
},
"DistributedAvailabilityGroupProperties": {
"type": "object",
"properties": {
Expand Down

0 comments on commit 33a85bd

Please sign in to comment.