Skip to content

Commit

Permalink
CodeGen from PR 18770 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge c94a12c02d865039e8ce0ad26d8a2007bd398ca9 into 94198ce8fa5271ec6ac290561905ec6f5c9db18c
  • Loading branch information
SDKAuto committed May 23, 2022
1 parent 6eb5fbe commit 744c589
Show file tree
Hide file tree
Showing 5 changed files with 10,578 additions and 12 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,6 +1120,12 @@
"type": "array",
"items": {
"oneOf": [
{
"$ref": "#/definitions/servers_extendedAuditingSettings_childResource"
},
{
"$ref": "#/definitions/servers_auditingSettings_childResource"
},
{
"$ref": "#/definitions/servers_encryptionProtector_childResource"
},
Expand Down Expand Up @@ -1165,12 +1171,6 @@
{
"$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,6 +1381,12 @@
"type": "array",
"items": {
"oneOf": [
{
"$ref": "#/definitions/servers_databases_extendedAuditingSettings_childResource"
},
{
"$ref": "#/definitions/servers_databases_auditingSettings_childResource"
},
{
"$ref": "#/definitions/servers_databases_securityAlertPolicies_childResource"
},
Expand All @@ -1402,12 +1408,6 @@
{
"$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
37 changes: 37 additions & 0 deletions schemas/2021-08-01-preview/Microsoft.Sql.json
Original file line number Diff line number Diff line change
Expand Up @@ -3599,6 +3599,21 @@
"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 @@ -3771,6 +3786,18 @@
],
"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 @@ -3958,6 +3985,16 @@
],
"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: 37 additions & 0 deletions schemas/2021-11-01-preview/Microsoft.Sql.json
Original file line number Diff line number Diff line change
Expand Up @@ -3784,6 +3784,21 @@
"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 @@ -3956,6 +3971,18 @@
],
"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 @@ -4143,6 +4170,16 @@
],
"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
Loading

0 comments on commit 744c589

Please sign in to comment.