From 9451ceb1a6dbbe58d40d4cc839d21d2b9e668095 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Fri, 16 Jun 2023 05:43:25 +0000 Subject: [PATCH] CodeGen from PR 24480 in Azure/azure-rest-api-specs Merge d99a5d3753e2b9a7f1578adb5b30c03068d160fa into ab84b777992cf4ca170a18e1b8e5f3e437209888 --- .../2021-11-01/Microsoft.AzureArcData.json | 6 +- .../Microsoft.AzureArcData.json | 197 ++++++++++++++++++ 2 files changed, 201 insertions(+), 2 deletions(-) diff --git a/schemas/2021-11-01/Microsoft.AzureArcData.json b/schemas/2021-11-01/Microsoft.AzureArcData.json index a1cc352d18..63d4f12df6 100644 --- a/schemas/2021-11-01/Microsoft.AzureArcData.json +++ b/schemas/2021-11-01/Microsoft.AzureArcData.json @@ -397,7 +397,8 @@ { "type": "object", "additionalProperties": { - "type": "string" + "type": "object", + "properties": {} }, "properties": {} }, @@ -412,7 +413,8 @@ { "type": "object", "additionalProperties": { - "type": "string" + "type": "object", + "properties": {} }, "properties": {} }, diff --git a/schemas/2023-01-15-preview/Microsoft.AzureArcData.json b/schemas/2023-01-15-preview/Microsoft.AzureArcData.json index 9e452ebdc5..e40ade6f11 100644 --- a/schemas/2023-01-15-preview/Microsoft.AzureArcData.json +++ b/schemas/2023-01-15-preview/Microsoft.AzureArcData.json @@ -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": { @@ -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": { @@ -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."