From faaddb163da83b0b72c9156eea3b71779e169544 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Fri, 22 Apr 2022 03:01:37 +0000 Subject: [PATCH] CodeGen from PR 18771 in Azure/azure-rest-api-specs Enable azure-powershell CI for all management RPs (#18771) * Enable azure-powershell for all manage RPs * Change integrationRepository to Azure/azure-powershell-pr * Change azure-powershell in api-spec repo * Change azure-powershell in api-spec repo * Remove azure-powershell from some deprecated RPs Co-authored-by: v-yuzhichen@microsoft.com --- .../Microsoft.AzureArcData.json | 77 ++++++++++++++++--- 1 file changed, 68 insertions(+), 9 deletions(-) diff --git a/schemas/2022-03-01-preview/Microsoft.AzureArcData.json b/schemas/2022-03-01-preview/Microsoft.AzureArcData.json index 5d371ce88e..8de966c89e 100644 --- a/schemas/2022-03-01-preview/Microsoft.AzureArcData.json +++ b/schemas/2022-03-01-preview/Microsoft.AzureArcData.json @@ -415,9 +415,28 @@ "type": "string", "description": "NETBIOS name of the Active Directory domain." }, + "ouDistinguishedName": { + "type": "string", + "description": "The distinguished name of the Active Directory Organizational Unit." + }, "realm": { "type": "string", "description": "Name (uppercase) of the Active Directory domain that this AD connector will be associated with." + }, + "serviceAccountProvisioning": { + "oneOf": [ + { + "type": "string", + "enum": [ + "automatic", + "manual" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The service account provisioning mode for this Active Directory connector." } }, "required": [ @@ -429,6 +448,17 @@ "ActiveDirectoryConnectorProperties": { "type": "object", "properties": { + "domainServiceAccountLoginInformation": { + "oneOf": [ + { + "$ref": "#/definitions/BasicLoginInformation" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Username and password for basic login authentication." + }, "spec": { "oneOf": [ { @@ -574,6 +604,23 @@ }, "description": "Details about the Active Directory domain controllers associated with this AD connector instance" }, + "ActiveDirectoryInformation": { + "type": "object", + "properties": { + "keytabInformation": { + "oneOf": [ + { + "$ref": "#/definitions/KeytabInformation" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Keytab used for authenticate with Active Directory." + } + }, + "description": "Active Directory information that related to the resource." + }, "BasicLoginInformation": { "type": "object", "properties": { @@ -889,6 +936,16 @@ }, "description": "The kubernetes scheduling options. It describes restrictions used to help Kubernetes select appropriate nodes to host the database service" }, + "KeytabInformation": { + "type": "object", + "properties": { + "keytab": { + "type": "string", + "description": "A base64-encoded keytab." + } + }, + "description": "Keytab used for authenticate with Active Directory." + }, "LogAnalyticsWorkspaceConfig": { "type": "object", "properties": { @@ -1114,6 +1171,17 @@ "SqlManagedInstanceProperties": { "type": "object", "properties": { + "activeDirectoryInformation": { + "oneOf": [ + { + "$ref": "#/definitions/ActiveDirectoryInformation" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Active Directory information that related to the resource." + }, "admin": { "type": "string", "description": "The instance admin user" @@ -1156,10 +1224,6 @@ ], "description": "The raw kubernetes information." }, - "keytab": { - "type": "string", - "description": "A base64-encoded keytab." - }, "lastUploadedDate": { "type": "string", "format": "date-time", @@ -1312,11 +1376,6 @@ ], "description": "SQL Server edition." }, - "esuExpirationDate": { - "type": "string", - "format": "date-time", - "description": "Timestamp of ESU Expiration." - }, "hostType": { "oneOf": [ {