Skip to content

Commit

Permalink
CodeGen from PR 24335 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
[Hub Generated] Publish private branch 'dev/alzahedi/update_arc_sql_mi_spec' (#24335)

* Updated spec for arc sql mi to include security and network settings

* Fixed prettier issues

* Resolved spell checks
  • Loading branch information
SDKAuto committed Jun 8, 2023
1 parent f5dce1d commit 2e0ca5a
Showing 1 changed file with 197 additions and 0 deletions.
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

0 comments on commit 2e0ca5a

Please sign in to comment.