From 117217073d80bbc90386eabd0c54376ac3e9847c Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Thu, 27 Apr 2023 06:26:31 +0000 Subject: [PATCH] CodeGen from PR 23743 in Azure/azure-rest-api-specs Merge 537f5a1d7d6aae48bf29ee66f8605579557f68ba into 17b0396c5ce59d801b9eb38fd6c47d149f6db2a2 --- .../Microsoft.HDInsight.json | 1946 +++++++++++++++++ schemas/common/autogeneratedResources.json | 12 + 2 files changed, 1958 insertions(+) create mode 100644 schemas/2023-04-15-preview/Microsoft.HDInsight.json diff --git a/schemas/2023-04-15-preview/Microsoft.HDInsight.json b/schemas/2023-04-15-preview/Microsoft.HDInsight.json new file mode 100644 index 0000000000..172d2dc19f --- /dev/null +++ b/schemas/2023-04-15-preview/Microsoft.HDInsight.json @@ -0,0 +1,1946 @@ +{ + "id": "https://schema.management.azure.com/schemas/2023-04-15-preview/Microsoft.HDInsight.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.HDInsight", + "description": "Microsoft HDInsight Resource Types", + "resourceDefinitions": { + "clusters": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-04-15-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ClusterIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the cluster." + }, + "location": { + "type": "string", + "description": "The location of the cluster." + }, + "name": { + "type": "string", + "description": "The name of the cluster." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ClusterCreateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The cluster create parameters." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/clusters_applications_childResource" + }, + { + "$ref": "#/definitions/clusters_extensions_childResource" + }, + { + "$ref": "#/definitions/clusters_privateEndpointConnections_childResource" + } + ] + } + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The resource tags." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.HDInsight/clusters" + ] + }, + "zones": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The availability zones." + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.HDInsight/clusters" + }, + "clusters_applications": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-04-15-preview" + ] + }, + "etag": { + "type": "string", + "description": "The ETag for the application" + }, + "name": { + "type": "string", + "description": "The constant value for the application name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ApplicationProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The HDInsight cluster application GET response." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The tags for the application." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.HDInsight/clusters/applications" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.HDInsight/clusters/applications" + }, + "clusters_extensions": { + "type": "object", + "oneOf": [ + { + "type": "object", + "properties": { + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/clustermonitoring$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "primaryKey": { + "type": "string", + "description": "The cluster monitor workspace key." + }, + "workspaceId": { + "type": "string", + "description": "The cluster monitor workspace ID." + } + }, + "required": [ + "name" + ], + "description": "Microsoft.HDInsight/clusters/extensions" + }, + { + "type": "object", + "properties": { + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/azureMonitor$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "primaryKey": { + "type": "string", + "description": "The Log Analytics workspace key." + }, + "selectedConfigurations": { + "oneOf": [ + { + "$ref": "#/definitions/AzureMonitorSelectedConfigurations" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The selected configurations for azure monitor." + }, + "workspaceId": { + "type": "string", + "description": "The Log Analytics workspace ID." + } + }, + "required": [ + "name" + ], + "description": "Microsoft.HDInsight/clusters/extensions" + } + ], + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-04-15-preview" + ] + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.HDInsight/clusters/extensions" + ] + } + }, + "required": [ + "apiVersion", + "type" + ], + "description": "Microsoft.HDInsight/clusters/extensions" + }, + "clusters_privateEndpointConnections": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-04-15-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of the private endpoint connection." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateEndpointConnectionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The private endpoint connection properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.HDInsight/clusters/privateEndpointConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.HDInsight/clusters/privateEndpointConnections" + } + }, + "definitions": { + "ApplicationGetEndpoint": { + "type": "object", + "properties": { + "destinationPort": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The destination port to connect to." + }, + "location": { + "type": "string", + "description": "The location of the endpoint." + }, + "privateIPAddress": { + "type": "string", + "description": "The private ip address of the endpoint." + }, + "publicPort": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The public port to connect to." + } + }, + "description": "Gets the application SSH endpoint" + }, + "ApplicationGetHttpsEndpoint": { + "type": "object", + "properties": { + "accessModes": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of access modes for the application." + }, + "destinationPort": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The destination port to connect to." + }, + "disableGatewayAuth": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The value indicates whether to disable GatewayAuth." + }, + "privateIPAddress": { + "type": "string", + "description": "The private ip address of the endpoint." + }, + "subDomainSuffix": { + "type": "string", + "description": "The subdomain suffix of the application." + } + }, + "description": "Gets the application HTTP endpoints." + }, + "ApplicationProperties": { + "type": "object", + "properties": { + "applicationType": { + "type": "string", + "description": "The application type." + }, + "computeProfile": { + "oneOf": [ + { + "$ref": "#/definitions/ComputeProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the compute profile." + }, + "errors": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/Errors" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of errors." + }, + "httpsEndpoints": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ApplicationGetHttpsEndpoint" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of application HTTPS endpoints." + }, + "installScriptActions": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/RuntimeScriptAction" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of install script actions." + }, + "privateLinkConfigurations": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/PrivateLinkConfiguration" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The private link configurations." + }, + "sshEndpoints": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ApplicationGetEndpoint" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of application SSH endpoints." + }, + "uninstallScriptActions": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/RuntimeScriptAction" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of uninstall script actions." + } + }, + "description": "The HDInsight cluster application GET response." + }, + "Autoscale": { + "type": "object", + "properties": { + "capacity": { + "oneOf": [ + { + "$ref": "#/definitions/AutoscaleCapacity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The load-based autoscale request parameters" + }, + "recurrence": { + "oneOf": [ + { + "$ref": "#/definitions/AutoscaleRecurrence" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Schedule-based autoscale request parameters" + } + }, + "description": "The autoscale request parameters" + }, + "AutoscaleCapacity": { + "type": "object", + "properties": { + "maxInstanceCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The maximum instance count of the cluster" + }, + "minInstanceCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The minimum instance count of the cluster" + } + }, + "description": "The load-based autoscale request parameters" + }, + "AutoscaleRecurrence": { + "type": "object", + "properties": { + "schedule": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/AutoscaleSchedule" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Array of schedule-based autoscale rules" + }, + "timeZone": { + "type": "string", + "description": "The time zone for the autoscale schedule times" + } + }, + "description": "Schedule-based autoscale request parameters" + }, + "AutoscaleSchedule": { + "type": "object", + "properties": { + "days": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string", + "enum": [ + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday", + "Saturday", + "Sunday" + ] + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Days of the week for a schedule-based autoscale rule" + }, + "timeAndCapacity": { + "oneOf": [ + { + "$ref": "#/definitions/AutoscaleTimeAndCapacity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Time and capacity request parameters" + } + }, + "description": "Parameters for a schedule-based autoscale rule, consisting of an array of days + a time and capacity" + }, + "AutoscaleTimeAndCapacity": { + "type": "object", + "properties": { + "maxInstanceCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The maximum instance count of the cluster" + }, + "minInstanceCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The minimum instance count of the cluster" + }, + "time": { + "type": "string", + "description": "24-hour time in the form xx:xx" + } + }, + "description": "Time and capacity request parameters" + }, + "AzureMonitorSelectedConfigurations": { + "type": "object", + "properties": { + "configurationVersion": { + "type": "string", + "description": "The configuration version." + }, + "globalConfigurations": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The global configurations of selected configurations." + }, + "tableList": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/AzureMonitorTableConfiguration" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The table list." + } + }, + "description": "The selected configurations for azure monitor." + }, + "AzureMonitorTableConfiguration": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name." + } + }, + "description": "The table configuration for the Log Analytics integration." + }, + "ClientGroupInfo": { + "type": "object", + "properties": { + "groupId": { + "type": "string", + "description": "The AAD security group id." + }, + "groupName": { + "type": "string", + "description": "The AAD security group name." + } + }, + "description": "The information of AAD security group." + }, + "ClusterCreateProperties": { + "type": "object", + "properties": { + "clusterDefinition": { + "oneOf": [ + { + "$ref": "#/definitions/ClusterDefinition" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The cluster definition." + }, + "clusterVersion": { + "type": "string", + "description": "The version of the cluster." + }, + "computeIsolationProperties": { + "oneOf": [ + { + "$ref": "#/definitions/ComputeIsolationProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The compute isolation properties." + }, + "computeProfile": { + "oneOf": [ + { + "$ref": "#/definitions/ComputeProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the compute profile." + }, + "diskEncryptionProperties": { + "oneOf": [ + { + "$ref": "#/definitions/DiskEncryptionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The disk encryption properties" + }, + "encryptionInTransitProperties": { + "oneOf": [ + { + "$ref": "#/definitions/EncryptionInTransitProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The encryption-in-transit properties." + }, + "kafkaRestProperties": { + "oneOf": [ + { + "$ref": "#/definitions/KafkaRestProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The kafka rest proxy configuration which contains AAD security group information." + }, + "minSupportedTlsVersion": { + "type": "string", + "description": "The minimal supported tls version." + }, + "networkProperties": { + "oneOf": [ + { + "$ref": "#/definitions/NetworkProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The network properties." + }, + "osType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Windows", + "Linux" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The type of operating system." + }, + "privateLinkConfigurations": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/PrivateLinkConfiguration" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The private link configurations." + }, + "securityProfile": { + "oneOf": [ + { + "$ref": "#/definitions/SecurityProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The security profile which contains Ssh public key for the HDInsight cluster." + }, + "storageProfile": { + "oneOf": [ + { + "$ref": "#/definitions/StorageProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The storage profile." + }, + "tier": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Standard", + "Premium" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The cluster tier." + } + }, + "description": "The cluster create parameters." + }, + "ClusterDefinition": { + "type": "object", + "properties": { + "blueprint": { + "type": "string", + "description": "The link to the blueprint." + }, + "componentVersion": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The versions of different services in the cluster." + }, + "configurations": { + "type": "object", + "properties": {}, + "description": "The cluster configurations." + }, + "kind": { + "type": "string", + "description": "The type of cluster." + } + }, + "description": "The cluster definition." + }, + "ClusterIdentity": { + "type": "object", + "properties": { + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "SystemAssigned", + "UserAssigned", + "SystemAssigned, UserAssigned", + "None" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The type of identity used for the cluster. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities." + }, + "userAssignedIdentities": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/UserAssignedIdentity" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of user identities associated with the cluster. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'." + } + }, + "description": "Identity for the cluster." + }, + "clusters_applications_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-04-15-preview" + ] + }, + "etag": { + "type": "string", + "description": "The ETag for the application" + }, + "name": { + "type": "string", + "description": "The constant value for the application name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ApplicationProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The HDInsight cluster application GET response." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The tags for the application." + }, + "type": { + "type": "string", + "enum": [ + "applications" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.HDInsight/clusters/applications" + }, + "clusters_extensions_childResource": { + "type": "object", + "oneOf": [ + { + "type": "object", + "properties": { + "name": { + "type": "string", + "enum": [ + "clustermonitoring" + ] + }, + "primaryKey": { + "type": "string", + "description": "The cluster monitor workspace key." + }, + "workspaceId": { + "type": "string", + "description": "The cluster monitor workspace ID." + } + }, + "required": [ + "name" + ], + "description": "Microsoft.HDInsight/clusters/extensions" + }, + { + "type": "object", + "properties": { + "name": { + "type": "string", + "enum": [ + "azureMonitor" + ] + }, + "primaryKey": { + "type": "string", + "description": "The Log Analytics workspace key." + }, + "selectedConfigurations": { + "oneOf": [ + { + "$ref": "#/definitions/AzureMonitorSelectedConfigurations" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The selected configurations for azure monitor." + }, + "workspaceId": { + "type": "string", + "description": "The Log Analytics workspace ID." + } + }, + "required": [ + "name" + ], + "description": "Microsoft.HDInsight/clusters/extensions" + } + ], + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-04-15-preview" + ] + }, + "type": { + "type": "string", + "enum": [ + "extensions" + ] + } + }, + "required": [ + "apiVersion", + "type" + ], + "description": "Microsoft.HDInsight/clusters/extensions" + }, + "clusters_privateEndpointConnections_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-04-15-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of the private endpoint connection." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateEndpointConnectionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The private endpoint connection properties." + }, + "type": { + "type": "string", + "enum": [ + "privateEndpointConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.HDInsight/clusters/privateEndpointConnections" + }, + "ComputeIsolationProperties": { + "type": "object", + "properties": { + "enableComputeIsolation": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The flag indicates whether enable compute isolation or not." + }, + "hostSku": { + "type": "string", + "description": "The host sku." + } + }, + "description": "The compute isolation properties." + }, + "ComputeProfile": { + "type": "object", + "properties": { + "roles": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/Role" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of roles in the cluster." + } + }, + "description": "Describes the compute profile." + }, + "DataDisksGroups": { + "type": "object", + "properties": { + "disksPerNode": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The number of disks per node." + } + }, + "description": "The data disks groups for the role." + }, + "DiskEncryptionProperties": { + "type": "object", + "properties": { + "encryptionAlgorithm": { + "oneOf": [ + { + "type": "string", + "enum": [ + "RSA-OAEP", + "RSA-OAEP-256", + "RSA1_5" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Algorithm identifier for encryption, default RSA-OAEP." + }, + "encryptionAtHost": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether or not resource disk encryption is enabled." + }, + "keyName": { + "type": "string", + "description": "Key name that is used for enabling disk encryption." + }, + "keyVersion": { + "type": "string", + "description": "Specific key version that is used for enabling disk encryption." + }, + "msiResourceId": { + "type": "string", + "description": "Resource ID of Managed Identity that is used to access the key vault." + }, + "vaultUri": { + "type": "string", + "description": "Base key vault URI where the customers key is located eg. https://myvault.vault.azure.net" + } + }, + "description": "The disk encryption properties" + }, + "EncryptionInTransitProperties": { + "type": "object", + "properties": { + "isEncryptionInTransitEnabled": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether or not inter cluster node communication is encrypted in transit." + } + }, + "description": "The encryption-in-transit properties." + }, + "Errors": { + "type": "object", + "properties": { + "code": { + "type": "string", + "description": "The error code." + }, + "message": { + "type": "string", + "description": "The error message." + } + }, + "description": "The error message associated with the cluster creation." + }, + "HardwareProfile": { + "type": "object", + "properties": { + "vmSize": { + "type": "string", + "description": "The size of the VM" + } + }, + "description": "The hardware profile." + }, + "IPConfiguration": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of private link IP configuration." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/IPConfigurationProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The private link ip configuration properties." + } + }, + "required": [ + "name" + ], + "description": "The ip configurations for the private link service." + }, + "IPConfigurationProperties": { + "type": "object", + "properties": { + "primary": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether this IP configuration is primary for the corresponding NIC." + }, + "privateIPAddress": { + "type": "string", + "description": "The IP address." + }, + "privateIPAllocationMethod": { + "oneOf": [ + { + "type": "string", + "enum": [ + "dynamic", + "static" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The method that private IP address is allocated." + }, + "subnet": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceId" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The azure resource id." + } + }, + "description": "The private link ip configuration properties." + }, + "KafkaRestProperties": { + "type": "object", + "properties": { + "clientGroupInfo": { + "oneOf": [ + { + "$ref": "#/definitions/ClientGroupInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The information of AAD security group." + }, + "configurationOverride": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The configurations that need to be overriden." + } + }, + "description": "The kafka rest proxy configuration which contains AAD security group information." + }, + "LinuxOperatingSystemProfile": { + "type": "object", + "properties": { + "password": { + "type": "string", + "description": "The password." + }, + "sshProfile": { + "oneOf": [ + { + "$ref": "#/definitions/SshProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of SSH public keys." + }, + "username": { + "type": "string", + "description": "The username." + } + }, + "description": "The ssh username, password, and ssh public key." + }, + "NetworkProperties": { + "type": "object", + "properties": { + "privateLink": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Disabled", + "Enabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether or not private link is enabled." + }, + "resourceProviderConnection": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Inbound", + "Outbound" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The direction for the resource provider connection." + } + }, + "description": "The network properties." + }, + "OsProfile": { + "type": "object", + "properties": { + "linuxOperatingSystemProfile": { + "oneOf": [ + { + "$ref": "#/definitions/LinuxOperatingSystemProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The ssh username, password, and ssh public key." + } + }, + "description": "The Linux operation systems profile." + }, + "PrivateEndpointConnectionProperties": { + "type": "object", + "properties": { + "privateLinkServiceConnectionState": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateLinkServiceConnectionState" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The private link service connection state." + } + }, + "required": [ + "privateLinkServiceConnectionState" + ], + "description": "The private endpoint connection properties." + }, + "PrivateLinkConfiguration": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of private link configuration." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateLinkConfigurationProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The private link configuration properties." + } + }, + "required": [ + "name", + "properties" + ], + "description": "The private link configuration." + }, + "PrivateLinkConfigurationProperties": { + "type": "object", + "properties": { + "groupId": { + "type": "string", + "description": "The HDInsight private linkable sub-resource name to apply the private link configuration to. For example, 'headnode', 'gateway', 'edgenode'." + }, + "ipConfigurations": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/IPConfiguration" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The IP configurations for the private link service." + } + }, + "required": [ + "groupId", + "ipConfigurations" + ], + "description": "The private link configuration properties." + }, + "PrivateLinkServiceConnectionState": { + "type": "object", + "properties": { + "actionsRequired": { + "type": "string", + "description": "Whether there is further actions." + }, + "description": { + "type": "string", + "description": "The optional description of the status." + }, + "status": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Approved", + "Rejected", + "Pending", + "Removed" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The concrete private link service connection." + } + }, + "required": [ + "status" + ], + "description": "The private link service connection state." + }, + "ResourceId": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "The azure resource id." + } + }, + "description": "The azure resource id." + }, + "Role": { + "type": "object", + "properties": { + "autoscale": { + "oneOf": [ + { + "$ref": "#/definitions/Autoscale" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The autoscale request parameters" + }, + "dataDisksGroups": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/DataDisksGroups" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The data disks groups for the role." + }, + "encryptDataDisks": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether encrypt the data disks." + }, + "hardwareProfile": { + "oneOf": [ + { + "$ref": "#/definitions/HardwareProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The hardware profile." + }, + "minInstanceCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The minimum instance count of the cluster." + }, + "name": { + "type": "string", + "description": "The name of the role." + }, + "osProfile": { + "oneOf": [ + { + "$ref": "#/definitions/OsProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The Linux operation systems profile." + }, + "scriptActions": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ScriptAction" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of script actions on the role." + }, + "targetInstanceCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The instance count of the cluster." + }, + "virtualNetworkProfile": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualNetworkProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The virtual network properties." + }, + "VMGroupName": { + "type": "string", + "description": "The name of the virtual machine group." + } + }, + "description": "Describes a role on the cluster." + }, + "RuntimeScriptAction": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the script action." + }, + "parameters": { + "type": "string", + "description": "The parameters for the script" + }, + "roles": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of roles where script will be executed." + }, + "uri": { + "type": "string", + "description": "The URI to the script." + } + }, + "required": [ + "name", + "roles", + "uri" + ], + "description": "Describes a script action on a running cluster." + }, + "ScriptAction": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the script action." + }, + "parameters": { + "type": "string", + "description": "The parameters for the script provided." + }, + "uri": { + "type": "string", + "description": "The URI to the script." + } + }, + "required": [ + "name", + "parameters", + "uri" + ], + "description": "Describes a script action on role on the cluster." + }, + "SecurityProfile": { + "type": "object", + "properties": { + "aaddsResourceId": { + "type": "string", + "description": "The resource ID of the user's Azure Active Directory Domain Service." + }, + "clusterUsersGroupDNs": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Optional. The Distinguished Names for cluster user groups" + }, + "directoryType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "ActiveDirectory" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The directory type." + }, + "domain": { + "type": "string", + "description": "The organization's active directory domain." + }, + "domainUsername": { + "type": "string", + "description": "The domain user account that will have admin privileges on the cluster." + }, + "domainUserPassword": { + "type": "string", + "format": "password", + "description": "The domain admin password." + }, + "ldapsUrls": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The LDAPS protocol URLs to communicate with the Active Directory." + }, + "msiResourceId": { + "type": "string", + "description": "User assigned identity that has permissions to read and create cluster-related artifacts in the user's AADDS." + }, + "organizationalUnitDN": { + "type": "string", + "description": "The organizational unit within the Active Directory to place the cluster and service accounts." + } + }, + "description": "The security profile which contains Ssh public key for the HDInsight cluster." + }, + "SshProfile": { + "type": "object", + "properties": { + "publicKeys": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/SshPublicKey" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of SSH public keys." + } + }, + "description": "The list of SSH public keys." + }, + "SshPublicKey": { + "type": "object", + "properties": { + "certificateData": { + "type": "string", + "description": "The certificate for SSH." + } + }, + "description": "The SSH public key for the cluster nodes." + }, + "StorageAccount": { + "type": "object", + "properties": { + "container": { + "type": "string", + "description": "The container in the storage account, only to be specified for WASB storage accounts." + }, + "enableSecureChannel": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Enable secure channel or not, it's an optional field. Default value is false when cluster version < 5.1 and true when cluster version >= 5.1 , " + }, + "fileshare": { + "type": "string", + "description": "The file share name." + }, + "fileSystem": { + "type": "string", + "description": "The filesystem, only to be specified for Azure Data Lake Storage Gen 2." + }, + "isDefault": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether or not the storage account is the default storage account." + }, + "key": { + "type": "string", + "description": "The storage account access key." + }, + "msiResourceId": { + "type": "string", + "description": "The managed identity (MSI) that is allowed to access the storage account, only to be specified for Azure Data Lake Storage Gen 2." + }, + "name": { + "type": "string", + "description": "The name of the storage account." + }, + "resourceId": { + "type": "string", + "description": "The resource ID of storage account, only to be specified for Azure Data Lake Storage Gen 2." + }, + "saskey": { + "type": "string", + "description": "The shared access signature key." + } + }, + "description": "The storage Account." + }, + "StorageProfile": { + "type": "object", + "properties": { + "storageaccounts": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/StorageAccount" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of storage accounts in the cluster." + } + }, + "description": "The storage profile." + }, + "UserAssignedIdentity": { + "type": "object", + "properties": { + "tenantId": { + "type": "string", + "description": "The tenant id of user assigned identity." + } + }, + "description": "The User Assigned Identity" + }, + "VirtualNetworkProfile": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "The ID of the virtual network." + }, + "subnet": { + "type": "string", + "description": "The name of the subnet." + } + }, + "description": "The virtual network properties." + } + } +} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index 640ebad7f8..1d1c03c5f6 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -13594,6 +13594,18 @@ { "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.HDInsight.json#/resourceDefinitions/clusters_privateEndpointConnections" }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-04-15-preview/Microsoft.HDInsight.json#/resourceDefinitions/clusters" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-04-15-preview/Microsoft.HDInsight.json#/resourceDefinitions/clusters_applications" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-04-15-preview/Microsoft.HDInsight.json#/resourceDefinitions/clusters_extensions" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-04-15-preview/Microsoft.HDInsight.json#/resourceDefinitions/clusters_privateEndpointConnections" + }, { "$ref": "https://schema.management.azure.com/schemas/2020-10-20/Microsoft.HealthBot.json#/resourceDefinitions/healthBots" },