Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR azurearcdata] Fixing additional Properties #2789

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions schemas/2021-11-01/Microsoft.AzureArcData.json
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,8 @@
{
"type": "object",
"additionalProperties": {
"type": "string"
"type": "object",
"properties": {}
},
"properties": {}
},
Expand All @@ -412,7 +413,8 @@
{
"type": "object",
"additionalProperties": {
"type": "string"
"type": "object",
"properties": {}
},
"properties": {}
},
Expand Down
197 changes: 197 additions & 0 deletions schemas/2023-01-15-preview/Microsoft.AzureArcData.json
Original file line number Diff line number Diff line change
Expand Up @@ -1058,6 +1058,82 @@
],
"description": "The specifications of the failover group resource."
},
"K8sActiveDirectory": {
"type": "object",
"properties": {
"accountName": {
"type": "string",
"description": "Account name for AAD"
},
"connector": {
"oneOf": [
{
"$ref": "#/definitions/K8sActiveDirectoryConnector"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"encryptionTypes": {
"oneOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "An array of encryption types"
},
"keytabSecret": {
"type": "string",
"description": "Keytab secret used to authenticate with Active Directory."
}
},
"description": "The kubernetes active directory information."
},
"K8sActiveDirectoryConnector": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Name of the connector"
},
"namespace": {
"type": "string",
"description": "Name space of the connector"
}
}
},
"K8sNetworkSettings": {
"type": "object",
"properties": {
"forceencryption": {
"oneOf": [
{
"type": "integer"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "If 1, then SQL Server forces all connections to be encrypted. By default, this option is 0"
},
"tlsciphers": {
"type": "string",
"description": "Specifies which ciphers are allowed by SQL Server for TLS"
},
"tlsprotocols": {
"type": "string",
"description": "A comma-separated list of which TLS protocols are allowed by SQL Server"
}
},
"description": "The kubernetes network settings information."
},
"K8sResourceRequirements": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -1176,6 +1252,105 @@
},
"description": "The kubernetes scheduling options. It describes restrictions used to help Kubernetes select appropriate nodes to host the database service"
},
"K8sSecurity": {
"type": "object",
"properties": {
"activeDirectory": {
"oneOf": [
{
"$ref": "#/definitions/K8sActiveDirectory"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The kubernetes active directory information."
},
"additionalProperties": {
"oneOf": [
{
"type": "object",
"additionalProperties": {
"type": "object",
"properties": {}
},
"properties": {}
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Unmatched properties from the message are deserialized this collection"
},
"adminLoginSecret": {
"type": "string",
"description": "Admin login secret key"
},
"serviceCertificateSecret": {
"type": "string",
"description": "Service certificate secret used"
},
"transparentDataEncryption": {
"oneOf": [
{
"$ref": "#/definitions/K8stransparentDataEncryption"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Transparent data encryption information."
}
},
"description": "The kubernetes security information."
},
"K8sSettings": {
"type": "object",
"properties": {
"additionalProperties": {
"oneOf": [
{
"type": "object",
"additionalProperties": {
"type": "object",
"properties": {}
},
"properties": {}
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Unmatched properties from the message are deserialized this collection"
},
"network": {
"oneOf": [
{
"$ref": "#/definitions/K8sNetworkSettings"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The kubernetes network settings information."
}
},
"description": "The kubernetes settings information."
},
"K8stransparentDataEncryption": {
"type": "object",
"properties": {
"mode": {
"type": "string",
"description": "Transparent data encryption mode. Can be Service Managed, Customer managed or disabled"
},
"protectorSecret": {
"type": "string",
"description": "Protector secret for customer managed Transparent data encryption mode"
}
},
"description": "Transparent data encryption information."
},
"KeytabInformation": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -1404,6 +1579,28 @@
}
],
"description": "The kubernetes scheduling information."
},
"security": {
"oneOf": [
{
"$ref": "#/definitions/K8sSecurity"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The kubernetes security information."
},
"settings": {
"oneOf": [
{
"$ref": "#/definitions/K8sSettings"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The kubernetes settings information."
}
},
"description": "The kubernetes spec information."
Expand Down