From 46b2c1a20a0860308b4f59aaedecaaa9e757595d Mon Sep 17 00:00:00 2001 From: Wai Sing Wong Date: Fri, 15 Jun 2018 14:27:15 -0700 Subject: [PATCH 01/13] Fixed inaccurate API specifications for HDInsight extensions: 1. typo in casing, 2. added missing valid response code --- .../preview/2015-03-01-preview/extensions.json | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/extensions.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/extensions.json index f274bcdc9155..52109bd8de72 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/extensions.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/extensions.json @@ -75,6 +75,9 @@ } ], "responses": { + "200": { + "description": "Ok response definition." + }, "202": { "description": "Accepted response definition." } @@ -155,6 +158,9 @@ } ], "responses": { + "200": { + "description": "Ok response definition." + }, "202": { "description": "OK response definition." } @@ -351,11 +357,11 @@ "ClusterMonitoringResponse": { "description": "The Operations Management Suite (OMS) status response", "properties": { - "ClusterMonitoringEnabled": { + "clusterMonitoringEnabled": { "description": "The status of the Operations Management Suite (OMS) on the HDInsight cluster.", "type": "boolean" }, - "WorkspaceId": { + "workspaceId": { "description": "The workspace ID of the Operations Management Suite (OMS) on the HDInsight cluster.", "type": "string" } From 45dfa6f85f0c03e1e6ac3f66cdc091f4808e0386 Mon Sep 17 00:00:00 2001 From: Wai Sing Wong Date: Fri, 15 Jun 2018 17:00:55 -0700 Subject: [PATCH 02/13] Minor refactoring: 1. Organized shared parameters (e.g. resource group), 2. Fixed inappropriate enum constraints, 3. Moved property definitions to appropriate file --- .../2015-03-01-preview/applications.json | 137 ++++------- .../2015-03-01-preview/capabilities.json | 20 +- .../preview/2015-03-01-preview/cluster.json | 202 +++++++++------- .../2015-03-01-preview/configurations.json | 159 ++++--------- .../2015-03-01-preview/extensions.json | 222 +++++++----------- .../2015-03-01-preview/operations.json | 7 - .../2015-03-01-preview/scriptActions.json | 169 ++++++------- 7 files changed, 384 insertions(+), 532 deletions(-) diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/applications.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/applications.json index 02ed9748174c..ecb1c06d5a8d 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/applications.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/applications.json @@ -44,25 +44,18 @@ "$ref": "./examples/GetAllApplications.json" } }, - "parameters": [{ - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" }, { - "name": "clusterName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the cluster." + "$ref": "#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "#/parameters/ClusterNameParameter" }, { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "#/parameters/ApiVersionParameter" } ], "responses": { @@ -93,32 +86,21 @@ "$ref": "./examples/GetApplicationInProgress.json" } }, - "parameters": [{ - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" }, { - "name": "clusterName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the cluster." + "$ref": "#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "#/parameters/ClusterNameParameter" }, { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "#/parameters/ApplicationNameParameter" }, { - "name": "applicationName", - "in": "path", - "required": true, - "type": "string", - "description": "The constant value for the application name." + "$ref": "#/parameters/ApiVersionParameter" } ], "responses": { @@ -141,33 +123,21 @@ "$ref": "./examples/CreateApplication.json" } }, - "parameters": [{ - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" }, { - "name": "clusterName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the cluster." + "$ref": "#/parameters/ResourceGroupNameParameter" }, { - "name": "applicationName", - "in": "path", - "required": true, - "type": "string", - "description": "The constant value for the application name.", - "enum": [ - "hue" - ], - "x-ms-enum": { - "name": "ApplicationName", - "modelAsString": false - } + "$ref": "#/parameters/ClusterNameParameter" + }, + { + "$ref": "#/parameters/ApplicationNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" }, { "name": "parameters", @@ -177,12 +147,6 @@ "$ref": "#/definitions/ApplicationGetProperties" }, "description": "The application create request." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -205,39 +169,21 @@ "$ref": "./examples/DeleteApplication.json" } }, - "parameters": [{ - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" }, { - "name": "clusterName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the cluster." + "$ref": "#/parameters/ResourceGroupNameParameter" }, { - "name": "applicationName", - "in": "path", - "required": true, - "type": "string", - "description": "The constant value for the application name.", - "enum": [ - "hue" - ], - "x-ms-enum": { - "name": "ApplicationName", - "modelAsString": false - } + "$ref": "#/parameters/ClusterNameParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "#/parameters/ApplicationNameParameter" }, { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "#/parameters/ApiVersionParameter" } ], "responses": { @@ -425,6 +371,27 @@ "type": "string", "description": "The subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call." }, + "ResourceGroupNameParameter": { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + "ClusterNameParameter": { + "name": "clusterName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the cluster." + }, + "ApplicationNameParameter": { + "name": "applicationName", + "in": "path", + "required": true, + "type": "string", + "description": "The constant value for the application name." + }, "ApiVersionParameter": { "name": "api-version", "in": "query", diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/capabilities.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/capabilities.json index d6427a90f981..b56721df205a 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/capabilities.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/capabilities.json @@ -44,18 +44,15 @@ "$ref": "./examples/GetHDInsightCapabilities.json" } }, - "parameters": [{ - "name": "location", - "in": "path", - "required": true, - "type": "string", - "description": "The location to get capabilities for." + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "#/parameters/LocationParameter" }, { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "#/parameters/ApiVersionParameter" } ], "responses": { @@ -258,6 +255,13 @@ "type": "string", "description": "The subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call." }, + "LocationParameter": { + "name": "location", + "in": "path", + "required": true, + "type": "string", + "description": "The location to get capabilities for." + }, "ApiVersionParameter": { "name": "api-version", "in": "query", diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/cluster.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/cluster.json index 46f1725b2b31..ccdf009d25cf 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/cluster.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/cluster.json @@ -53,19 +53,18 @@ "$ref": "./examples/CreateLinuxHadoopSecureHadoop.json" } }, - "parameters": [{ - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" }, { - "name": "clusterName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the cluster." + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ClusterNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" }, { "name": "parameters", @@ -75,12 +74,6 @@ "$ref": "#/definitions/ClusterCreateParametersExtended" }, "description": "The cluster create request." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -104,19 +97,18 @@ "$ref": "./examples/PatchLinuxHadoopCluster.json" } }, - "parameters": [{ - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" }, { - "name": "clusterName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the cluster." + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ClusterNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" }, { "name": "parameters", @@ -126,12 +118,6 @@ "$ref": "#/definitions/ClusterPatchParameters" }, "description": "The cluster patch request." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -154,25 +140,18 @@ "$ref": "./examples/DeleteLinuxHadoopCluster.json" } }, - "parameters": [{ - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" }, { - "name": "clusterName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the cluster." + "$ref": "#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "#/parameters/ClusterNameParameter" }, { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "#/parameters/ApiVersionParameter" } ], "responses": { @@ -199,25 +178,18 @@ "$ref": "./examples/GetLinuxSparkCluster.json" } }, - "parameters": [{ - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" }, { - "name": "clusterName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the cluster." + "$ref": "#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "#/parameters/ClusterNameParameter" }, { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "#/parameters/ApiVersionParameter" } ], "responses": { @@ -242,18 +214,15 @@ "$ref": "./examples/GetLinuxHadoopAllClustersInResourceGroup.json" } }, - "parameters": [{ - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "#/parameters/ApiVersionParameter" } ], "responses": { @@ -281,19 +250,15 @@ "$ref": "./examples/ResizeLinuxHadoopCluster.json" } }, - "parameters": [{ - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" }, { - "name": "clusterName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the cluster." + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ClusterNameParameter" }, { "name": "roleName", @@ -309,6 +274,9 @@ "modelAsString": true } }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, { "name": "parameters", "in": "body", @@ -317,12 +285,6 @@ "$ref": "#/definitions/ClusterResizeParameters" }, "description": "The parameters for the resize operation." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -348,11 +310,12 @@ } }, "description": "Lists all the HDInsight clusters under the subscription.", - "parameters": [{ - "$ref": "#/parameters/ApiVersionParameter" - }, + "parameters": [ { "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" } ], "responses": { @@ -483,6 +446,53 @@ } } }, + "SshPublicKey": { + "description": "The SSH public key for the cluster nodes.", + "properties": { + "certificateData": { + "type": "string", + "description": "The certificate for SSH." + } + } + }, + "SshProfile": { + "description": "The list of SSH public keys.", + "properties": { + "publicKeys": { + "type": "array", + "items": { + "$ref": "#/definitions/SshPublicKey" + }, + "description": "The list of SSH public keys." + } + } + }, + "LinuxOperatingSystemProfile": { + "description": "The ssh username, password, and ssh public key.", + "properties": { + "username": { + "type": "string", + "description": "The username." + }, + "password": { + "type": "string", + "description": "The password." + }, + "sshProfile": { + "$ref": "#/definitions/SshProfile", + "description": "The SSH profile." + } + } + }, + "OsProfile": { + "description": "The Linux operation systems profile.", + "properties": { + "linuxOperatingSystemProfile": { + "$ref": "#/definitions/LinuxOperatingSystemProfile", + "description": "The Linux OS profile." + } + } + }, "Role": { "properties": { "name": { @@ -504,7 +514,7 @@ "description": "The hardware profile." }, "osProfile": { - "$ref": "./configurations.json#/definitions/OsProfile", + "$ref": "#/definitions/OsProfile", "description": "The operating system profile." }, "virtualNetworkProfile": { @@ -1119,6 +1129,20 @@ "type": "string", "description": "The subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call." }, + "ResourceGroupNameParameter": { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + "ClusterNameParameter": { + "name": "clusterName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the cluster." + }, "ApiVersionParameter": { "name": "api-version", "in": "query", diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/configurations.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/configurations.json index d851b34fee70..3729ccf0f3fd 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/configurations.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/configurations.json @@ -47,33 +47,21 @@ "$ref": "./examples/ChangeHttpConnectivityDisable.json" } }, - "parameters": [{ - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" }, { - "name": "clusterName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the cluster." + "$ref": "#/parameters/ResourceGroupNameParameter" }, { - "name": "configurationName", - "in": "path", - "required": true, - "type": "string", - "description": "The constant for configuration type of gateway.", - "enum": [ - "gateway" - ], - "x-ms-enum": { - "name": "ConfigurationName", - "modelAsString": false - } + "$ref": "#/parameters/ClusterNameParameter" + }, + { + "$ref": "#/parameters/ConfigurationNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" }, { "name": "parameters", @@ -83,12 +71,6 @@ "$ref": "#/definitions/HttpConnectivitySettings" }, "description": "The name of the resource group." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -115,32 +97,21 @@ "$ref": "./examples/GetHttpConnectivity.json" } }, - "parameters": [{ - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" }, { - "name": "clusterName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the cluster." + "$ref": "#/parameters/ResourceGroupNameParameter" }, { - "name": "configurationName", - "in": "path", - "required": true, - "type": "string", - "description": "The constant for configuration type of gateway." + "$ref": "#/parameters/ClusterNameParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "#/parameters/ConfigurationNameParameter" }, { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "#/parameters/ApiVersionParameter" } ], "responses": { @@ -158,53 +129,6 @@ } }, "definitions": { - "SshPublicKey": { - "description": "The SSH public key for the cluster nodes.", - "properties": { - "certificateData": { - "type": "string", - "description": "The certificate for SSH." - } - } - }, - "SshProfile": { - "description": "The list of SSH public keys.", - "properties": { - "publicKeys": { - "type": "array", - "items": { - "$ref": "#/definitions/SshPublicKey" - }, - "description": "The list of SSH public keys." - } - } - }, - "LinuxOperatingSystemProfile": { - "description": "The ssh username, password, and ssh public key.", - "properties": { - "username": { - "type": "string", - "description": "The username." - }, - "password": { - "type": "string", - "description": "The password." - }, - "sshProfile": { - "$ref": "#/definitions/SshProfile", - "description": "The SSH profile." - } - } - }, - "OsProfile": { - "description": "The Linux operation systems profile.", - "properties": { - "linuxOperatingSystemProfile": { - "$ref": "#/definitions/LinuxOperatingSystemProfile", - "description": "The Linux OS profile." - } - } - }, "HttpConnectivitySettings": { "properties": { "restAuthCredential.isEnabled": { @@ -233,18 +157,39 @@ }, "parameters": { "SubscriptionIdParameter": { - "name": "subscriptionId", - "in": "path", - "required": true, - "type": "string", - "description": "The subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call." - }, - "ApiVersionParameter": { - "name": "api-version", - "in": "query", - "required": true, - "type": "string", - "description": "The HDInsight client API Version." - } + "name": "subscriptionId", + "in": "path", + "required": true, + "type": "string", + "description": "The subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call." + }, + "ResourceGroupNameParameter": { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + "ClusterNameParameter": { + "name": "clusterName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the cluster." + }, + "ConfigurationNameParameter": { + "name": "configurationName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the cluster configuration." + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "The HDInsight client API Version." + } } } \ No newline at end of file diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/extensions.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/extensions.json index 52109bd8de72..126b437dc13d 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/extensions.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/extensions.json @@ -44,19 +44,18 @@ } }, "operationId": "Extension_EnableMonitoring", - "parameters": [{ - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" }, { - "name": "clusterName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the cluster." + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ClusterNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" }, { "name": "parameters", @@ -66,12 +65,6 @@ "$ref": "#/definitions/ClusterMonitoringRequest" }, "description": "The Operations Management Suite (OMS) workspace parameters." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -95,25 +88,18 @@ } }, "operationId": "Extension_GetMonitoringStatus", - "parameters": [{ - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" }, { - "name": "clusterName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the cluster." + "$ref": "#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "#/parameters/ClusterNameParameter" }, { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "#/parameters/ApiVersionParameter" } ], "responses": { @@ -136,25 +122,18 @@ } }, "operationId": "Extension_DisableMonitoring", - "parameters": [{ - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" }, { - "name": "clusterName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the cluster." + "$ref": "#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "#/parameters/ClusterNameParameter" }, { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "#/parameters/ApiVersionParameter" } ], "responses": { @@ -181,48 +160,30 @@ "$ref": "./examples/CreateExtension.json" } }, - "parameters": [{ - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" }, { - "name": "clusterName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the cluster." + "$ref": "#/parameters/ResourceGroupNameParameter" }, { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/Extension" - }, - "description": "The cluster extensions create request." + "$ref": "#/parameters/ClusterNameParameter" }, { - "name": "extensionName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the cluster extension.", - "enum": [ - "clustermonitoring" - ], - "x-ms-enum": { - "name": "ExtensionName", - "modelAsString": false - } + "$ref": "#/parameters/ExtensionNameParameter" }, { "$ref": "#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/SubscriptionIdParameter" + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Extension" + }, + "description": "The cluster extensions create request." } ], "responses": { @@ -242,39 +203,21 @@ } }, "operationId": "Extension_Get", - "parameters": [{ - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" }, { - "name": "clusterName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the cluster." + "$ref": "#/parameters/ResourceGroupNameParameter" }, { - "name": "extensionName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the cluster extension.", - "enum": [ - "clustermonitoring" - ], - "x-ms-enum": { - "name": "ExtensionName", - "modelAsString": false - } + "$ref": "#/parameters/ClusterNameParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "#/parameters/ExtensionNameParameter" }, { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "#/parameters/ApiVersionParameter" } ], "responses": { @@ -297,39 +240,21 @@ } }, "operationId": "Extension_Delete", - "parameters": [{ - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" }, { - "name": "clusterName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the cluster." + "$ref": "#/parameters/ResourceGroupNameParameter" }, { - "name": "extensionName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the cluster extension.", - "enum": [ - "clustermonitoring" - ], - "x-ms-enum": { - "name": "ExtensionName", - "modelAsString": false - } + "$ref": "#/parameters/ClusterNameParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "#/parameters/ExtensionNameParameter" }, { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "#/parameters/ApiVersionParameter" } ], "responses": { @@ -382,19 +307,40 @@ } }, "parameters": { - "SubscriptionIdParameter": { - "name": "subscriptionId", - "in": "path", - "required": true, - "type": "string", - "description": "The subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call." - }, - "ApiVersionParameter": { - "name": "api-version", - "in": "query", - "required": true, - "type": "string", - "description": "The HDInsight client API Version." - } + "SubscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "required": true, + "type": "string", + "description": "The subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call." + }, + "ResourceGroupNameParameter": { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + "ClusterNameParameter": { + "name": "clusterName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the cluster." + }, + "ExtensionNameParameter": { + "name": "extensionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the cluster extension." + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "The HDInsight client API Version." + } } } \ No newline at end of file diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/operations.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/operations.json index 899e1292c21e..0bef30d4a460 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/operations.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/operations.json @@ -92,13 +92,6 @@ } }, "parameters": { - "SubscriptionIdParameter": { - "name": "subscriptionId", - "in": "path", - "required": true, - "type": "string", - "description": "The subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call." - }, "ApiVersionParameter": { "name": "api-version", "in": "query", diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/scriptActions.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/scriptActions.json index 6a86a226912f..f800818412b7 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/scriptActions.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/scriptActions.json @@ -44,32 +44,21 @@ "$ref": "./examples/DeleteScriptAction.json" } }, - "parameters": [{ - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" }, { - "name": "clusterName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the cluster." + "$ref": "#/parameters/ResourceGroupNameParameter" }, { - "name": "scriptName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the script." + "$ref": "#/parameters/ClusterNameParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "#/parameters/ScriptNameParameter" }, { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "#/parameters/ApiVersionParameter" } ], "responses": { @@ -91,19 +80,18 @@ "$ref": "./examples/PostExecuteScriptAction.json" } }, - "parameters": [{ - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" }, { - "name": "clusterName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the cluster." + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ClusterNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" }, { "name": "parameters", @@ -113,12 +101,6 @@ "$ref": "./cluster.json#/definitions/ExecuteScriptActionParameters" }, "description": "The parameters for executing script actions." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -144,25 +126,18 @@ "$ref": "./examples/GetLinuxHadoopScriptAction.json" } }, - "parameters": [{ - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" }, { - "name": "clusterName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the cluster." + "$ref": "#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "#/parameters/ClusterNameParameter" }, { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "#/parameters/ApiVersionParameter" } ], "responses": { @@ -190,32 +165,21 @@ "$ref": "./examples/GetScriptActionById.json" } }, - "parameters": [{ - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" }, { - "name": "clusterName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the cluster." + "$ref": "#/parameters/ResourceGroupNameParameter" }, { - "name": "scriptExecutionId", - "in": "path", - "required": true, - "type": "string", - "description": "The script execution Id" + "$ref": "#/parameters/ClusterNameParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "#/parameters/ScriptExecutionIdParameter" }, { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "#/parameters/ApiVersionParameter" } ], "responses": { @@ -240,25 +204,18 @@ "$ref": "./examples/GetScriptExecutionHistory.json" } }, - "parameters": [{ - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" }, { - "name": "clusterName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the cluster." + "$ref": "#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "#/parameters/ClusterNameParameter" }, { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "#/parameters/ApiVersionParameter" } ], "responses": { @@ -286,33 +243,21 @@ "$ref": "./examples/PromoteLinuxHadoopScriptAction.json" } }, - "parameters": [{ - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" }, { - "name": "clusterName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the cluster." + "$ref": "#/parameters/ResourceGroupNameParameter" }, { - "name": "scriptExecutionId", - "in": "path", - "required": true, - "type": "integer", - "format": "int64", - "description": "The script execution ID." + "$ref": "#/parameters/ClusterNameParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "#/parameters/ScriptExecutionIdParameter" }, { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "#/parameters/ApiVersionParameter" } ], "responses": { @@ -436,6 +381,34 @@ "type": "string", "description": "The subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call." }, + "ResourceGroupNameParameter": { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + "ClusterNameParameter": { + "name": "clusterName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the cluster." + }, + "ScriptNameParameter": { + "name": "scriptName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the script." + }, + "ScriptExecutionIdParameter": { + "name": "scriptExecutionId", + "in": "path", + "required": true, + "type": "string", + "description": "The script execution Id" + }, "ApiVersionParameter": { "name": "api-version", "in": "query", From e7115d2a8ae65328d21d09d1fee491a611908c76 Mon Sep 17 00:00:00 2001 From: Wai Sing Wong Date: Mon, 18 Jun 2018 13:23:43 -0700 Subject: [PATCH 03/13] Updated examples for extensions with valid response status code. --- .../preview/2015-03-01-preview/examples/CreateExtension.json | 1 + .../preview/2015-03-01-preview/examples/DeleteExtension.json | 1 + .../examples/DisableLinuxClusterMonitoring.json | 1 + .../examples/EnableLinuxClusterMonitoring.json | 1 + 4 files changed, 4 insertions(+) diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/CreateExtension.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/CreateExtension.json index a537a23e4a0c..6738a1fe6424 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/CreateExtension.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/CreateExtension.json @@ -11,6 +11,7 @@ } }, "responses": { + "200": {}, "202": {} } } \ No newline at end of file diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/DeleteExtension.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/DeleteExtension.json index a587152a40ec..e9e9d2486215 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/DeleteExtension.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/DeleteExtension.json @@ -7,6 +7,7 @@ "extensionName": "clustermonitoring" }, "responses": { + "200": {}, "202": {} } } \ No newline at end of file diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/DisableLinuxClusterMonitoring.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/DisableLinuxClusterMonitoring.json index 350a92ee8a0c..4ee49f8033ca 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/DisableLinuxClusterMonitoring.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/DisableLinuxClusterMonitoring.json @@ -6,6 +6,7 @@ "subscriptionId": "subid" }, "responses": { + "200": {}, "202": {} } } \ No newline at end of file diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/EnableLinuxClusterMonitoring.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/EnableLinuxClusterMonitoring.json index 8aa977ed32a8..049991d352a2 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/EnableLinuxClusterMonitoring.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/EnableLinuxClusterMonitoring.json @@ -10,6 +10,7 @@ } }, "responses": { + "200": {}, "202": {} } } \ No newline at end of file From ed030b0739635725f920bc19fd4ebba6d0ab8ef3 Mon Sep 17 00:00:00 2001 From: Wai Sing Wong Date: Mon, 18 Jun 2018 18:01:07 -0700 Subject: [PATCH 04/13] Removed update configuration API specific for gateway --- .../2015-03-01-preview/configurations.json | 37 ++++--------------- 1 file changed, 8 insertions(+), 29 deletions(-) diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/configurations.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/configurations.json index 3729ccf0f3fd..ea625f2f685f 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/configurations.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/configurations.json @@ -68,9 +68,9 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/HttpConnectivitySettings" + "$ref": "#/definitions/ClusterConfiguration" }, - "description": "The name of the resource group." + "description": "The cluster configurations." } ], "responses": { @@ -118,10 +118,7 @@ "200": { "description": "OK response definition.", "schema": { - "type": "object", - "additionalProperties": { - "type": "string" - } + "$ref": "#/definitions/ClusterConfiguration" } } } @@ -129,30 +126,12 @@ } }, "definitions": { - "HttpConnectivitySettings": { - "properties": { - "restAuthCredential.isEnabled": { - "x-ms-client-name": "enabledCredential", - "type": "string", - "description": "Whether or not the HTTP based authorization is enabled.", - "enum": [ - "true", - "false" - ] - }, - "restAuthCredential.username": { - "x-ms-client-name": "username", - "type": "string", - "description": "The HTTP username." - }, - "restAuthCredential.password": { - "x-ms-client-name": "password", - "type": "string", - "format": "password", - "description": "The HTTP user password." - } + "ClusterConfiguration": { + "type": "object", + "additionalProperties": { + "type": "string" }, - "description": "The payload for a Configure HTTP settings request." + "description": "The configuration object for the specified configuration for the specified cluster." } }, "parameters": { From d025f34a5fd55f91cc31e57d9509372ffb5625e3 Mon Sep 17 00:00:00 2001 From: Wai Sing Wong Date: Mon, 18 Jun 2018 18:07:17 -0700 Subject: [PATCH 05/13] Removed the capabilities API, added the usages API --- .../2015-03-01-preview/capabilities.json | 273 -- .../examples/GetHDInsightCapabilities.json | 3236 ----------------- .../examples/GetHDInsightUsages.json | 24 + .../preview/2015-03-01-preview/locations.json | 140 + .../hdinsight/resource-manager/readme.md | 2 +- 5 files changed, 165 insertions(+), 3510 deletions(-) delete mode 100644 specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/capabilities.json delete mode 100644 specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/GetHDInsightCapabilities.json create mode 100644 specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/GetHDInsightUsages.json create mode 100644 specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/locations.json diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/capabilities.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/capabilities.json deleted file mode 100644 index b56721df205a..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/capabilities.json +++ /dev/null @@ -1,273 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "HDInsightManagementClient", - "description": "The HDInsight Management Client.", - "version": "2015-03-01-preview" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "security": [{ - "azure_auth": [ - "user_impersonation" - ] - }], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "paths": { - "/subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/locations/{location}/capabilities": { - "get": { - "tags": [ - "Regions" - ], - "operationId": "Location_GetCapabilities", - "description": "Gets the capabilities for the specified location.", - "x-ms-examples": { - "Get the subscription capabilities for specific location": { - "$ref": "./examples/GetHDInsightCapabilities.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/LocationParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK response definition.", - "schema": { - "$ref": "#/definitions/capabilitiesResult" - } - } - } - } - } - }, - "definitions": { - "versionSpec": { - "description": "The version properties.", - "properties": { - "friendlyName": { - "type": "string", - "description": "The friendly name" - }, - "displayName": { - "type": "string", - "description": "The display name" - }, - "isDefault": { - "type": "string", - "description": "Whether or not the version is the default version." - }, - "componentVersions": { - "type": "object", - "description": "The component version property.", - "additionalProperties": { - "type": "string" - } - } - } - }, - "versionsCapability": { - "description": "The version capability.", - "properties": { - "available": { - "description": "The list of version capabilities.", - "type": "array", - "items": { - "$ref": "#/definitions/versionSpec" - } - } - } - }, - "regionsCapability": { - "description": "The regions capability.", - "properties": { - "available": { - "description": "The list of region capabilities.", - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "vmSizesCapability": { - "description": "The virtual machine sizes capability.", - "properties": { - "available": { - "description": "The list of virtual machine size capabilities.", - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "vmSizeCompatibilityFilter": { - "description": "The virtual machine type compatibility filter.", - "properties": { - "FilterMode": { - "description": "The mode for the filter.", - "type": "string" - }, - "Regions": { - "description": "The list of regions.", - "type": "array", - "items": { - "type": "string" - } - }, - "ClusterFlavors": { - "description": "The list of cluster types available.", - "type": "array", - "items": { - "type": "string" - } - }, - "NodeTypes": { - "description": "The list of node types.", - "type": "array", - "items": { - "type": "string" - } - }, - "ClusterVersions": { - "description": "The list of cluster versions.", - "type": "array", - "items": { - "type": "string" - } - }, - "vmsizes": { - "description": "The list of virtual machine sizes.", - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "regionalQuotaCapability": { - "description": "The regional quota capacity.", - "properties": { - "region_name": { - "description": "The region name.", - "type": "string" - }, - "cores_used": { - "description": "The number of cores used in the region.", - "type": "integer", - "format": "int64" - }, - "cores_available": { - "description": "The number of courses available in the region.", - "type": "integer", - "format": "int64" - } - } - }, - "quotaCapability": { - "description": "The regional quota capability.", - "properties": { - "regionalQuotas": { - "description": "The list of region quota capabilities.", - "type": "array", - "items": { - "$ref": "#/definitions/regionalQuotaCapability" - } - } - } - }, - "capabilitiesResult": { - "description": "The Get Capabilities operation response.", - "properties": { - "versions": { - "description": "The version capability.", - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/versionsCapability" - } - }, - "regions": { - "description": "The virtual machine size compatibilty features.", - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/regionsCapability" - } - }, - "vmSizes": { - "description": "The virtual machine sizes.", - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/vmSizesCapability" - } - }, - "vmSize_filters": { - "description": "The virtual machine size compatibilty filters.", - "type": "array", - "items": { - "$ref": "#/definitions/vmSizeCompatibilityFilter" - } - }, - "features": { - "description": "The capabilty features.", - "type": "array", - "items": { - "type": "string" - } - }, - "quota": { - "description": "The quota capability.", - "$ref": "#/definitions/quotaCapability" - } - } - } - }, - "parameters": { - "SubscriptionIdParameter": { - "name": "subscriptionId", - "in": "path", - "required": true, - "type": "string", - "description": "The subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call." - }, - "LocationParameter": { - "name": "location", - "in": "path", - "required": true, - "type": "string", - "description": "The location to get capabilities for." - }, - "ApiVersionParameter": { - "name": "api-version", - "in": "query", - "required": true, - "type": "string", - "description": "The HDInsight client API Version." - } - } -} \ No newline at end of file diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/GetHDInsightCapabilities.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/GetHDInsightCapabilities.json deleted file mode 100644 index df951c140d04..000000000000 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/GetHDInsightCapabilities.json +++ /dev/null @@ -1,3236 +0,0 @@ -{ - "parameters": { - "location": "West US", - "api-version": "2015-03-01-preview", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "Body": { - "versions": { - "paas": { - "available": [{ - "friendlyName": "1.6", - "displayName": "HdInsight version 1.6.1.0.335536", - "isDefault": false - }, - { - "friendlyName": "2.1", - "displayName": "Version 2.1.9.406.1221105", - "isDefault": false, - "componentVersions": { - "HDP": "1.3", - "Hadoop": "1.2.0" - } - }, - { - "friendlyName": "3.0", - "displayName": "Version 3.0.6.989.2441725", - "isDefault": false, - "componentVersions": { - "HDP": "2.0", - "Hadoop": "2.2.0" - } - }, - { - "friendlyName": "3.1", - "displayName": "Version 3.1.4.989.2441725", - "isDefault": false, - "componentVersions": { - "HDP": "2.1.7", - "Hadoop": "2.4.0", - "HBase": "0.98" - } - }, - { - "friendlyName": "3.2", - "displayName": "Version 3.2.7.989.2441725", - "isDefault": false, - "componentVersions": { - "HDP": "2.2", - "Hadoop": "2.6.0", - "HBase": "0.98.4", - "Storm": "0.9.3" - } - }, - { - "friendlyName": "3.3", - "displayName": "Version 3.3.0.989.2441725", - "isDefault": true, - "componentVersions": { - "HDP": "2.3", - "Hadoop": "2.7.0", - "HBase": "1.1.2", - "Storm": "0.10.0" - } - } - ] - }, - "iaas": { - "available": [{ - "friendlyName": "3.2", - "displayName": "Version 3.2.1000.0.8840373", - "isDefault": false, - "componentVersions": { - "HDP": "2.2", - "Hadoop": "2.6.0", - "HBase": "0.98.4", - "Storm": "0.9.3" - } - }, - { - "friendlyName": "3.3", - "displayName": "Version 3.3.1000.0.9776961", - "isDefault": false, - "componentVersions": { - "HDP": "2.3", - "Hadoop": "2.7.0", - "HBase": "1.1.2", - "Storm": "0.10.0", - "Spark": "1.5.2" - } - }, - { - "friendlyName": "3.4", - "displayName": "Version 3.4.1000.0.9719475", - "isDefault": false, - "componentVersions": { - "HDP": "2.4", - "Hadoop": "2.7.1", - "HBase": "1.1.2", - "Storm": "0.10.0", - "Spark": "1.6.2", - "RServer": "8.0" - } - }, - { - "friendlyName": "3.5", - "displayName": "Version 3.5.1000.0.9732704", - "isDefault": true, - "componentVersions": { - "HDP": "2.5", - "Hadoop": "2.7.3", - "InteractiveHive": "2.1.0", - "HBase": "1.1.2", - "Storm": "1.0.1", - "Spark": "1.6.3,2.0.2", - "RServer": "9.0" - } - }, - { - "friendlyName": "3.6", - "displayName": "Version 3.6.1000.0.9503998", - "isDefault": false, - "componentVersions": { - "HDP": "2.6", - "Spark": "2.1.0" - } - }, - { - "friendlyName": "99.152", - "displayName": "Version 99.152.1000.0.6943836", - "isDefault": false - } - ] - } - }, - "regions": { - "paas": { - "available": [ - "AUSTRALIA EAST", - "AUSTRALIA SOUTHEAST", - "BRAZIL SOUTH", - "CENTRAL INDIA", - "CENTRAL US", - "EAST ASIA", - "EAST US", - "EAST US 2", - "JAPAN EAST", - "JAPAN WEST", - "NORTH CENTRAL US", - "NORTH EUROPE", - "SOUTH CENTRAL US", - "SOUTHEAST ASIA", - "WEST EUROPE", - "WEST US", - "WEST US 2" - ] - }, - "iaas": { - "available": [ - "AUSTRALIA EAST", - "AUSTRALIA SOUTHEAST", - "BRAZIL SOUTH", - "CANADA CENTRAL", - "CANADA EAST", - "CENTRAL INDIA", - "CENTRAL US", - "CENTRAL US EUAP", - "EAST ASIA", - "EAST US", - "EAST US 2", - "JAPAN EAST", - "JAPAN WEST", - "NORTH CENTRAL US", - "NORTH EUROPE", - "SOUTH CENTRAL US", - "SOUTHEAST ASIA", - "WEST CENTRAL US", - "WEST EUROPE", - "WEST US", - "WEST US 2" - ] - } - }, - "vmsizes": { - "paas": { - "available": [ - "A5", - "A6", - "A7", - "EXTRALARGE", - "LARGE", - "MEDIUM", - "SMALL", - "STANDARD_D1", - "STANDARD_D1_V2", - "STANDARD_D11", - "STANDARD_D11_V2", - "STANDARD_D12", - "STANDARD_D12_V2", - "STANDARD_D13", - "STANDARD_D13_V2", - "STANDARD_D14", - "STANDARD_D14_V2", - "STANDARD_D2", - "STANDARD_D2_V2", - "STANDARD_D3", - "STANDARD_D3_V2", - "STANDARD_D4", - "STANDARD_D4_V2", - "STANDARD_D5_V2" - ] - }, - "iaas": { - "available": [ - "A5", - "A6", - "A7", - "EXTRALARGE", - "LARGE", - "MEDIUM", - "SMALL", - "STANDARD_D1", - "STANDARD_D1_V2", - "STANDARD_D11", - "STANDARD_D11_V2", - "STANDARD_D12", - "STANDARD_D12_V2", - "STANDARD_D13", - "STANDARD_D13_V2", - "STANDARD_D14", - "STANDARD_D14_V2", - "STANDARD_D2", - "STANDARD_D2_V2", - "STANDARD_D3", - "STANDARD_D3_V2", - "STANDARD_D4", - "STANDARD_D4_V2", - "STANDARD_D5_V2" - ] - } - }, - "vmsize_filters": [{ - "FilterMode": "Exclude", - "Regions": [ - "*" - ], - "ClusterFlavors": [ - "Sandbox" - ], - "NodeTypes": [ - "*" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "A5" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "*" - ], - "ClusterFlavors": [ - "*" - ], - "NodeTypes": [ - "HeadNodeRole", - "WorkerNodeRole", - "EdgeNodeRole" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "A5" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "*" - ], - "ClusterFlavors": [ - "Hadoop", - "Spark" - ], - "NodeTypes": [ - "ZookeeperRole" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "A5" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "*" - ], - "ClusterFlavors": [ - "*" - ], - "NodeTypes": [ - "*" - ], - "ClusterVersions": [ - "1.6", - "2.1", - "3.0" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "A5" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "*" - ], - "ClusterFlavors": [ - "InteractiveHive" - ], - "NodeTypes": [ - "HeadNodeRole", - "WorkerNodeRole" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "A5" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "*" - ], - "ClusterFlavors": [ - "Sandbox" - ], - "NodeTypes": [ - "*" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "A6" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "*" - ], - "ClusterFlavors": [ - "Hadoop", - "Spark" - ], - "NodeTypes": [ - "ZookeeperRole" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "A6" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "*" - ], - "ClusterFlavors": [ - "*" - ], - "NodeTypes": [ - "*" - ], - "ClusterVersions": [ - "1.6", - "2.1", - "3.0" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "A6" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "*" - ], - "ClusterFlavors": [ - "InteractiveHive" - ], - "NodeTypes": [ - "HeadNodeRole", - "WorkerNodeRole" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "A6" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "*" - ], - "ClusterFlavors": [ - "Sandbox" - ], - "NodeTypes": [ - "*" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "A7" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "*" - ], - "ClusterFlavors": [ - "Hadoop", - "Spark" - ], - "NodeTypes": [ - "ZookeeperRole" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "A7" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "*" - ], - "ClusterFlavors": [ - "*" - ], - "NodeTypes": [ - "*" - ], - "ClusterVersions": [ - "1.6", - "2.1", - "3.0" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "A7" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "*" - ], - "ClusterFlavors": [ - "InteractiveHive" - ], - "NodeTypes": [ - "HeadNodeRole", - "WorkerNodeRole" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "A7" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "*" - ], - "ClusterFlavors": [ - "Sandbox" - ], - "NodeTypes": [ - "*" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "EXTRALARGE" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "*" - ], - "ClusterFlavors": [ - "Hadoop", - "Spark" - ], - "NodeTypes": [ - "ZookeeperRole" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "EXTRALARGE" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "*" - ], - "ClusterFlavors": [ - "*" - ], - "NodeTypes": [ - "WorkerNodeRole", - "EdgeNodeRole", - "ZookeeperRole" - ], - "ClusterVersions": [ - "1.6", - "2.1", - "3.0" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "EXTRALARGE" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "*" - ], - "ClusterFlavors": [ - "InteractiveHive" - ], - "NodeTypes": [ - "HeadNodeRole", - "WorkerNodeRole" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "EXTRALARGE" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "*" - ], - "ClusterFlavors": [ - "Sandbox" - ], - "NodeTypes": [ - "*" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "LARGE" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "*" - ], - "ClusterFlavors": [ - "Hadoop", - "Spark" - ], - "NodeTypes": [ - "ZookeeperRole" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "LARGE" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "*" - ], - "ClusterFlavors": [ - "*" - ], - "NodeTypes": [ - "ZookeeperRole" - ], - "ClusterVersions": [ - "1.6", - "2.1", - "3.0" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "LARGE" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "*" - ], - "ClusterFlavors": [ - "InteractiveHive" - ], - "NodeTypes": [ - "HeadNodeRole", - "WorkerNodeRole" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "LARGE" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "*" - ], - "ClusterFlavors": [ - "Sandbox" - ], - "NodeTypes": [ - "*" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "MEDIUM" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "*" - ], - "ClusterFlavors": [ - "*" - ], - "NodeTypes": [ - "HeadNodeRole", - "WorkerNodeRole", - "EdgeNodeRole" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "MEDIUM" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "*" - ], - "ClusterFlavors": [ - "InteractiveHive" - ], - "NodeTypes": [ - "HeadNodeRole", - "WorkerNodeRole" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "MEDIUM" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "*" - ], - "ClusterFlavors": [ - "Sandbox" - ], - "NodeTypes": [ - "*" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "SMALL" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "*" - ], - "ClusterFlavors": [ - "*" - ], - "NodeTypes": [ - "HeadNodeRole", - "WorkerNodeRole", - "EdgeNodeRole" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "SMALL" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "*" - ], - "ClusterFlavors": [ - "HBase", - "Spark" - ], - "NodeTypes": [ - "ZookeeperRole" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "SMALL" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "*" - ], - "ClusterFlavors": [ - "InteractiveHive" - ], - "NodeTypes": [ - "HeadNodeRole", - "WorkerNodeRole" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "SMALL" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "*" - ], - "ClusterFlavors": [ - "Sandbox" - ], - "NodeTypes": [ - "*" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "STANDARD_D1" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "*" - ], - "ClusterFlavors": [ - "*" - ], - "NodeTypes": [ - "HeadNodeRole", - "WorkerNodeRole", - "EdgeNodeRole" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "STANDARD_D1" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "*" - ], - "ClusterFlavors": [ - "Hadoop", - "Spark" - ], - "NodeTypes": [ - "ZookeeperRole" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "STANDARD_D1" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "Central India" - ], - "ClusterFlavors": [ - "*" - ], - "NodeTypes": [ - "*" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "STANDARD_D1" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "*" - ], - "ClusterFlavors": [ - "*" - ], - "NodeTypes": [ - "*" - ], - "ClusterVersions": [ - "1.6", - "2.1", - "3.0" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "STANDARD_D1" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "*" - ], - "ClusterFlavors": [ - "InteractiveHive" - ], - "NodeTypes": [ - "HeadNodeRole", - "WorkerNodeRole" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "STANDARD_D1" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "*" - ], - "ClusterFlavors": [ - "Sandbox" - ], - "NodeTypes": [ - "*" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "STANDARD_D1_V2" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "*" - ], - "ClusterFlavors": [ - "*" - ], - "NodeTypes": [ - "HeadNodeRole", - "WorkerNodeRole", - "EdgeNodeRole" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "STANDARD_D1_V2" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "*" - ], - "ClusterFlavors": [ - "Hadoop", - "Spark" - ], - "NodeTypes": [ - "ZookeeperRole" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "STANDARD_D1_V2" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "Brazil South", - "Japan West" - ], - "ClusterFlavors": [ - "*" - ], - "NodeTypes": [ - "*" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "STANDARD_D1_V2" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "*" - ], - "ClusterFlavors": [ - "*" - ], - "NodeTypes": [ - "*" - ], - "ClusterVersions": [ - "1.6", - "2.1", - "3.0" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "STANDARD_D1_V2" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "*" - ], - "ClusterFlavors": [ - "InteractiveHive" - ], - "NodeTypes": [ - "HeadNodeRole", - "WorkerNodeRole" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "STANDARD_D1_V2" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "*" - ], - "ClusterFlavors": [ - "Sandbox" - ], - "NodeTypes": [ - "*" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "STANDARD_D11" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "*" - ], - "ClusterFlavors": [ - "*" - ], - "NodeTypes": [ - "HeadNodeRole", - "WorkerNodeRole", - "EdgeNodeRole" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "STANDARD_D11" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "*" - ], - "ClusterFlavors": [ - "Hadoop", - "Spark" - ], - "NodeTypes": [ - "ZookeeperRole" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "STANDARD_D11" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "Central India" - ], - "ClusterFlavors": [ - "*" - ], - "NodeTypes": [ - "*" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "STANDARD_D11" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "*" - ], - "ClusterFlavors": [ - "*" - ], - "NodeTypes": [ - "*" - ], - "ClusterVersions": [ - "1.6", - "2.1", - "3.0" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "STANDARD_D11" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "*" - ], - "ClusterFlavors": [ - "InteractiveHive" - ], - "NodeTypes": [ - "HeadNodeRole", - "WorkerNodeRole" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "STANDARD_D11" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "*" - ], - "ClusterFlavors": [ - "Sandbox" - ], - "NodeTypes": [ - "*" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "STANDARD_D11_V2" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "*" - ], - "ClusterFlavors": [ - "*" - ], - "NodeTypes": [ - "HeadNodeRole", - "WorkerNodeRole", - "EdgeNodeRole" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "STANDARD_D11_V2" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "*" - ], - "ClusterFlavors": [ - "Hadoop", - "Spark" - ], - "NodeTypes": [ - "ZookeeperRole" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "STANDARD_D11_V2" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "Brazil South", - "Japan West" - ], - "ClusterFlavors": [ - "*" - ], - "NodeTypes": [ - "*" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "STANDARD_D11_V2" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "*" - ], - "ClusterFlavors": [ - "*" - ], - "NodeTypes": [ - "*" - ], - "ClusterVersions": [ - "1.6", - "2.1", - "3.0" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "STANDARD_D11_V2" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "*" - ], - "ClusterFlavors": [ - "InteractiveHive" - ], - "NodeTypes": [ - "HeadNodeRole", - "WorkerNodeRole" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "STANDARD_D11_V2" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "*" - ], - "ClusterFlavors": [ - "Sandbox" - ], - "NodeTypes": [ - "*" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "STANDARD_D12" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "*" - ], - "ClusterFlavors": [ - "Hadoop", - "Spark" - ], - "NodeTypes": [ - "ZookeeperRole" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "STANDARD_D12" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "Central India" - ], - "ClusterFlavors": [ - "*" - ], - "NodeTypes": [ - "*" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "STANDARD_D12" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "*" - ], - "ClusterFlavors": [ - "*" - ], - "NodeTypes": [ - "*" - ], - "ClusterVersions": [ - "1.6", - "2.1", - "3.0" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "STANDARD_D12" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "*" - ], - "ClusterFlavors": [ - "InteractiveHive" - ], - "NodeTypes": [ - "HeadNodeRole", - "WorkerNodeRole" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "STANDARD_D12" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "*" - ], - "ClusterFlavors": [ - "Sandbox" - ], - "NodeTypes": [ - "*" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "STANDARD_D12_V2" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "*" - ], - "ClusterFlavors": [ - "Hadoop", - "Spark" - ], - "NodeTypes": [ - "ZookeeperRole" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "STANDARD_D12_V2" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "Brazil South", - "Japan West" - ], - "ClusterFlavors": [ - "*" - ], - "NodeTypes": [ - "*" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "STANDARD_D12_V2" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "*" - ], - "ClusterFlavors": [ - "*" - ], - "NodeTypes": [ - "*" - ], - "ClusterVersions": [ - "1.6", - "2.1", - "3.0" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "STANDARD_D12_V2" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "*" - ], - "ClusterFlavors": [ - "InteractiveHive" - ], - "NodeTypes": [ - "HeadNodeRole", - "WorkerNodeRole" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "STANDARD_D12_V2" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "*" - ], - "ClusterFlavors": [ - "Sandbox" - ], - "NodeTypes": [ - "*" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "STANDARD_D13" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "*" - ], - "ClusterFlavors": [ - "Hadoop", - "Spark" - ], - "NodeTypes": [ - "ZookeeperRole" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "STANDARD_D13" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "Central India" - ], - "ClusterFlavors": [ - "*" - ], - "NodeTypes": [ - "*" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "STANDARD_D13" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "*" - ], - "ClusterFlavors": [ - "*" - ], - "NodeTypes": [ - "*" - ], - "ClusterVersions": [ - "1.6", - "2.1", - "3.0" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "STANDARD_D13" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "*" - ], - "ClusterFlavors": [ - "Hadoop", - "Spark" - ], - "NodeTypes": [ - "ZookeeperRole" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "STANDARD_D13_V2" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "Brazil South", - "Japan West" - ], - "ClusterFlavors": [ - "*" - ], - "NodeTypes": [ - "*" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "STANDARD_D13_V2" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "*" - ], - "ClusterFlavors": [ - "*" - ], - "NodeTypes": [ - "*" - ], - "ClusterVersions": [ - "1.6", - "2.1", - "3.0" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "STANDARD_D13_V2" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "*" - ], - "ClusterFlavors": [ - "Sandbox" - ], - "NodeTypes": [ - "*" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "STANDARD_D14" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "*" - ], - "ClusterFlavors": [ - "Hadoop", - "Spark" - ], - "NodeTypes": [ - "ZookeeperRole" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "STANDARD_D14" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "Central India" - ], - "ClusterFlavors": [ - "*" - ], - "NodeTypes": [ - "*" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "STANDARD_D14" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "*" - ], - "ClusterFlavors": [ - "*" - ], - "NodeTypes": [ - "*" - ], - "ClusterVersions": [ - "1.6", - "2.1", - "3.0" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "STANDARD_D14" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "*" - ], - "ClusterFlavors": [ - "Sandbox" - ], - "NodeTypes": [ - "*" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "STANDARD_D14_V2" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "*" - ], - "ClusterFlavors": [ - "Hadoop", - "Spark" - ], - "NodeTypes": [ - "ZookeeperRole" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "STANDARD_D14_V2" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "Brazil South", - "Japan West" - ], - "ClusterFlavors": [ - "*" - ], - "NodeTypes": [ - "*" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "STANDARD_D14_V2" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "*" - ], - "ClusterFlavors": [ - "*" - ], - "NodeTypes": [ - "*" - ], - "ClusterVersions": [ - "1.6", - "2.1", - "3.0" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "STANDARD_D14_V2" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "*" - ], - "ClusterFlavors": [ - "Sandbox" - ], - "NodeTypes": [ - "*" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "STANDARD_D2" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "*" - ], - "ClusterFlavors": [ - "*" - ], - "NodeTypes": [ - "HeadNodeRole", - "WorkerNodeRole", - "EdgeNodeRole" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "STANDARD_D2" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "*" - ], - "ClusterFlavors": [ - "Hadoop", - "Spark" - ], - "NodeTypes": [ - "ZookeeperRole" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "STANDARD_D2" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "Central India" - ], - "ClusterFlavors": [ - "*" - ], - "NodeTypes": [ - "*" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "STANDARD_D2" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "*" - ], - "ClusterFlavors": [ - "*" - ], - "NodeTypes": [ - "*" - ], - "ClusterVersions": [ - "1.6", - "2.1", - "3.0" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "STANDARD_D2" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "*" - ], - "ClusterFlavors": [ - "InteractiveHive" - ], - "NodeTypes": [ - "HeadNodeRole", - "WorkerNodeRole" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "STANDARD_D2" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "*" - ], - "ClusterFlavors": [ - "Sandbox" - ], - "NodeTypes": [ - "*" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "STANDARD_D2_V2" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "*" - ], - "ClusterFlavors": [ - "*" - ], - "NodeTypes": [ - "HeadNodeRole", - "WorkerNodeRole", - "EdgeNodeRole" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "STANDARD_D2_V2" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "*" - ], - "ClusterFlavors": [ - "Hadoop", - "Spark" - ], - "NodeTypes": [ - "ZookeeperRole" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "STANDARD_D2_V2" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "Brazil South", - "Japan West" - ], - "ClusterFlavors": [ - "*" - ], - "NodeTypes": [ - "*" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "STANDARD_D2_V2" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "*" - ], - "ClusterFlavors": [ - "*" - ], - "NodeTypes": [ - "*" - ], - "ClusterVersions": [ - "1.6", - "2.1", - "3.0" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "STANDARD_D2_V2" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "*" - ], - "ClusterFlavors": [ - "InteractiveHive" - ], - "NodeTypes": [ - "HeadNodeRole", - "WorkerNodeRole" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "STANDARD_D2_V2" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "*" - ], - "ClusterFlavors": [ - "Sandbox" - ], - "NodeTypes": [ - "*" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "STANDARD_D3" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "*" - ], - "ClusterFlavors": [ - "Hadoop", - "Spark" - ], - "NodeTypes": [ - "ZookeeperRole" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "STANDARD_D3" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "Central India" - ], - "ClusterFlavors": [ - "*" - ], - "NodeTypes": [ - "*" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "STANDARD_D3" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "*" - ], - "ClusterFlavors": [ - "*" - ], - "NodeTypes": [ - "*" - ], - "ClusterVersions": [ - "1.6", - "2.1", - "3.0" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "STANDARD_D3" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "*" - ], - "ClusterFlavors": [ - "InteractiveHive" - ], - "NodeTypes": [ - "HeadNodeRole", - "WorkerNodeRole" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "STANDARD_D3" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "*" - ], - "ClusterFlavors": [ - "Sandbox" - ], - "NodeTypes": [ - "*" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "STANDARD_D3_V2" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "*" - ], - "ClusterFlavors": [ - "Hadoop", - "Spark" - ], - "NodeTypes": [ - "ZookeeperRole" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "STANDARD_D3_V2" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "Brazil South", - "Japan West" - ], - "ClusterFlavors": [ - "*" - ], - "NodeTypes": [ - "*" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "STANDARD_D3_V2" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "*" - ], - "ClusterFlavors": [ - "*" - ], - "NodeTypes": [ - "*" - ], - "ClusterVersions": [ - "1.6", - "2.1", - "3.0" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "STANDARD_D3_V2" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "*" - ], - "ClusterFlavors": [ - "InteractiveHive" - ], - "NodeTypes": [ - "HeadNodeRole", - "WorkerNodeRole" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "STANDARD_D3_V2" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "*" - ], - "ClusterFlavors": [ - "Sandbox" - ], - "NodeTypes": [ - "*" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "STANDARD_D4" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "*" - ], - "ClusterFlavors": [ - "Hadoop", - "Spark" - ], - "NodeTypes": [ - "ZookeeperRole" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "STANDARD_D4" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "Central India" - ], - "ClusterFlavors": [ - "*" - ], - "NodeTypes": [ - "*" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "STANDARD_D4" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "*" - ], - "ClusterFlavors": [ - "*" - ], - "NodeTypes": [ - "*" - ], - "ClusterVersions": [ - "1.6", - "2.1", - "3.0" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "STANDARD_D4" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "*" - ], - "ClusterFlavors": [ - "InteractiveHive" - ], - "NodeTypes": [ - "HeadNodeRole", - "WorkerNodeRole" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "STANDARD_D4" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "*" - ], - "ClusterFlavors": [ - "Sandbox" - ], - "NodeTypes": [ - "*" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "STANDARD_D4_V2" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "*" - ], - "ClusterFlavors": [ - "Hadoop", - "Spark" - ], - "NodeTypes": [ - "ZookeeperRole" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "STANDARD_D4_V2" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "Brazil South", - "Japan West" - ], - "ClusterFlavors": [ - "*" - ], - "NodeTypes": [ - "*" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "STANDARD_D4_V2" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "*" - ], - "ClusterFlavors": [ - "*" - ], - "NodeTypes": [ - "*" - ], - "ClusterVersions": [ - "1.6", - "2.1", - "3.0" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "STANDARD_D4_V2" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "*" - ], - "ClusterFlavors": [ - "InteractiveHive" - ], - "NodeTypes": [ - "HeadNodeRole", - "WorkerNodeRole" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "STANDARD_D4_V2" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "*" - ], - "ClusterFlavors": [ - "Sandbox" - ], - "NodeTypes": [ - "*" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "STANDARD_D5_V2" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "*" - ], - "ClusterFlavors": [ - "Hadoop", - "Spark" - ], - "NodeTypes": [ - "ZookeeperRole" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "STANDARD_D5_V2" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "Brazil South", - "Japan West" - ], - "ClusterFlavors": [ - "*" - ], - "NodeTypes": [ - "*" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "STANDARD_D5_V2" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "*" - ], - "ClusterFlavors": [ - "*" - ], - "NodeTypes": [ - "*" - ], - "ClusterVersions": [ - "1.6", - "2.1", - "3.0" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "STANDARD_D5_V2" - ] - }, - { - "FilterMode": "Exclude", - "Regions": [ - "*" - ], - "ClusterFlavors": [ - "InteractiveHive" - ], - "NodeTypes": [ - "HeadNodeRole", - "WorkerNodeRole" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "STANDARD_D5_V2" - ] - }, - { - "FilterMode": "Include", - "Regions": [ - "Central India" - ], - "ClusterFlavors": [ - "HBase", - "Storm" - ], - "NodeTypes": [ - "ZookeeperRole" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "STANDARD_D1_V2" - ] - }, - { - "FilterMode": "Include", - "Regions": [ - "Central India" - ], - "ClusterFlavors": [ - "HBase", - "Storm" - ], - "NodeTypes": [ - "ZookeeperRole" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "STANDARD_D11_V2" - ] - }, - { - "FilterMode": "Include", - "Regions": [ - "Central India" - ], - "ClusterFlavors": [ - "*" - ], - "NodeTypes": [ - "HeadNodeRole", - "WorkerNodeRole" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "STANDARD_D12_V2" - ] - }, - { - "FilterMode": "Include", - "Regions": [ - "Central India" - ], - "ClusterFlavors": [ - "HBase", - "Storm" - ], - "NodeTypes": [ - "ZookeeperRole" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "STANDARD_D12_V2" - ] - }, - { - "FilterMode": "Include", - "Regions": [ - "Central India" - ], - "ClusterFlavors": [ - "*" - ], - "NodeTypes": [ - "HeadNodeRole", - "WorkerNodeRole" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "STANDARD_D13_V2" - ] - }, - { - "FilterMode": "Include", - "Regions": [ - "Central India" - ], - "ClusterFlavors": [ - "HBase", - "Storm" - ], - "NodeTypes": [ - "ZookeeperRole" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "STANDARD_D13_V2" - ] - }, - { - "FilterMode": "Include", - "Regions": [ - "Central India" - ], - "ClusterFlavors": [ - "*" - ], - "NodeTypes": [ - "HeadNodeRole", - "WorkerNodeRole" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "STANDARD_D14_V2" - ] - }, - { - "FilterMode": "Include", - "Regions": [ - "Central India" - ], - "ClusterFlavors": [ - "HBase", - "Storm" - ], - "NodeTypes": [ - "ZookeeperRole" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "STANDARD_D14_V2" - ] - }, - { - "FilterMode": "Include", - "Regions": [ - "Central India" - ], - "ClusterFlavors": [ - "HBase", - "Storm" - ], - "NodeTypes": [ - "ZookeeperRole" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "STANDARD_D2_V2" - ] - }, - { - "FilterMode": "Include", - "Regions": [ - "Central India" - ], - "ClusterFlavors": [ - "*" - ], - "NodeTypes": [ - "HeadNodeRole", - "WorkerNodeRole" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "STANDARD_D3_V2" - ] - }, - { - "FilterMode": "Include", - "Regions": [ - "Central India" - ], - "ClusterFlavors": [ - "HBase", - "Storm" - ], - "NodeTypes": [ - "ZookeeperRole" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "STANDARD_D3_V2" - ] - }, - { - "FilterMode": "Include", - "Regions": [ - "Central India" - ], - "ClusterFlavors": [ - "*" - ], - "NodeTypes": [ - "HeadNodeRole", - "WorkerNodeRole" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "STANDARD_D4_V2" - ] - }, - { - "FilterMode": "Include", - "Regions": [ - "Central India" - ], - "ClusterFlavors": [ - "HBase", - "Storm" - ], - "NodeTypes": [ - "ZookeeperRole" - ], - "ClusterVersions": [ - "*" - ], - "OsType": [ - "*" - ], - "VMSizes": [ - "STANDARD_D4_V2" - ] - } - ], - "features": [ - "ALLOW_GATEWAY_AUTH_BYPASS", - "AUX_IAAS_FUNCTIONALITIES", - "BLOCK_APPS_FOR_SECURE_CLUSTER", - "CLUSTER_RESIZE", - "CLUSTERS_CONTRACT_1", - "CLUSTERS_CONTRACT_1_SDK", - "CLUSTERS_CONTRACT_2_SDK", - "CLUSTERS_CONTRACT_VERSION_3_SDK", - "COLLECTANONYMIZEDLOGS", - "CONTAINER_LOG_COLLECTOR", - "CONTAINER_RESOURCE_V3", - "CUSTOM_ACTIONS_V2", - "DATALAKE", - "DATALAKE_3_2", - "DATALAKE_3_4", - "DATALAKE_3_5", - "DATALAKE_DEFAULTFS_3_5", - "DEFAULT_CONTAINER_IDENTIFIER_AND_STORAGEFQDN_ALREADY_USED", - "DOCUMENT_VALIDATION_IN_API", - "ENABLEDATALAKE", - "ENABLEGENEVAANALYTICS", - "HADOOP_VIRTUAL_NETWORK_ENABLED", - "HS2_ZK_ROUTER_INTERACTIVEHIVE", - "IAAS_ALLOW_CUSTOM_DNS", - "IAAS_AMBARI_APP_TIMELINE_SERVER_HA_SERVICE", - "IAAS_AMBARI_DEPENDENCY_BASED_DEPLOYMENT", - "IAAS_AMBARI_HA_SERVICES", - "IAAS_AMBARI_HISTORYSERVER_HA_SERVICE", - "IAAS_AMBARI_LOWER_LATENCY", - "IAAS_AMBARI_SKIP_COMPONENTS_INSTALL", - "IAAS_ARM_PROVISIONING", - "IAAS_CLOSE_HEAD_HTTPS_END_POINT_AFTER_CLUSTER_CREATE", - "IAAS_CLUSTER_APPLICATION_ALLOW_MULTIPLE_ROLE_INSTANCES", - "IAAS_CLUSTER_APPLICATION_REMOVE", - "IAAS_CLUSTER_CONTAINER_PREUPLOAD_SUBMIT_WAIT", - "IAAS_CLUSTER_RSERVER", - "IAAS_DB_CREATION_IN_PARALLEL_TO_VM", - "IAAS_DELETE_LEAKED_RESOURCES", - "IAAS_DEPLOYMENTS", - "IAAS_DO_NOT_CREATE_WASB_TABLES_IN_CUSTOMER_STORAGE", - "IAAS_ENABLE_CLUSTER_CONFIG_OVERRIDES", - "IAAS_ENABLE_OFFLINE_CLEANUP", - "IAAS_ENABLE_OFFLINE_CLEANUP_FOR_DELETING_VMS", - "IAAS_INCLUDE_STORAGE_IN_SUBSCRIPTION_SELECTION", - "IAAS_PARALLEL_DB_CREATE", - "IAAS_PREPROVISION_METASTORES_SCHEMAS", - "IAAS_SCRIPTACTIONS_DELETE_VMS_CRUD_FAILURES", - "IAAS_SCRIPTACTIONS_RUNNING", - "IAAS_SHORT_VM_NAME", - "IAAS_SUBMIT_AMBARI_REQUEST_ONCE_LINUX_VM_ARE_AVAILABLE", - "IAAS_TEZ_ATS_V15", - "IAAS_USE_UNATTENDED_UPGRADES_FOR_PATCHING", - "IAAS_VALIDATE_CUSTOM_VNET", - "IAAS_VALIDATE_NSG", - "IAAS_WAIT_FOR_CLOSING_HEAD_HTTPS_END_POINT_AFTER_CLUSTER_CREATE", - "IAAS_YARN_HDINSIGHT_SQL_TIMELINE_STORE", - "IAAS_YARN_HDINSIGHT_TIMELINE_STORE", - "INTERACTIVEHIVE", - "MDSCENTRALLOGGING", - "NODE_SETUP_POLLER_ENABLED", - "OVERPROVISION_HOSTGROUP_edgenode", - "OVERPROVISION_HOSTGROUP_Gateway", - "OVERPROVISION_HOSTGROUP_Workernode", - "OVERPROVISION_HOSTGROUP_zookeepernode", - "PERF_OPTIMIZED_RESOURCE_LOCATION_FETCH", - "PORTALAPPINSTALL", - "POWERSHELL_SCRIPT_ACTION", - "POWERSHELL_SCRIPT_ACTION_SDK", - "PREMIUM_TIER_PREVIEW", - "PROVISIONING_AGENT", - "RMHA", - "RSERVER_CLUSTERTYPE_3_5_ENABLED", - "RSERVER_CLUSTERTYPE_ENABLED", - "SHOW_HUMBOLDT_GA", - "SHOW_IBIZA_CREATE", - "SPARK_2_1", - "SPARK_EXPERIMENTAL", - "STORM_PREVIEW", - "UI_CREATE_WIZARD_V2", - "VIRTUAL_NETWORK_ENABLED", - "VMSIZES_AUX" - ], - "quota": { - "cores_used": 72, - "max_cores_allowed": 1000, - "regionalQuotas": [{ - "region_name": "Australia East", - "cores_used": 0, - "cores_available": 1000 - }, - { - "region_name": "Australia Southeast", - "cores_used": 0, - "cores_available": 1000 - }, - { - "region_name": "Brazil South", - "cores_used": 0, - "cores_available": 1000 - }, - { - "region_name": "Canada Central", - "cores_used": 0, - "cores_available": 1000 - }, - { - "region_name": "Canada East", - "cores_used": 0, - "cores_available": 1000 - }, - { - "region_name": "Central India", - "cores_used": 0, - "cores_available": 1000 - }, - { - "region_name": "Central US", - "cores_used": 24, - "cores_available": 1000 - }, - { - "region_name": "Central US EUAP", - "cores_used": 0, - "cores_available": 1000 - }, - { - "region_name": "East Asia", - "cores_used": 24, - "cores_available": 1000 - }, - { - "region_name": "East US", - "cores_used": 24, - "cores_available": 1000 - }, - { - "region_name": "East US 2", - "cores_used": 0, - "cores_available": 1000 - }, - { - "region_name": "Japan East", - "cores_used": 0, - "cores_available": 1000 - }, - { - "region_name": "Japan West", - "cores_used": 0, - "cores_available": 1000 - }, - { - "region_name": "North Central US", - "cores_used": 0, - "cores_available": 1000 - }, - { - "region_name": "North Europe", - "cores_used": 0, - "cores_available": 1000 - }, - { - "region_name": "South Central US", - "cores_used": 0, - "cores_available": 1000 - }, - { - "region_name": "Southeast Asia", - "cores_used": 0, - "cores_available": 1000 - }, - { - "region_name": "West Central US", - "cores_used": 0, - "cores_available": 1000 - }, - { - "region_name": "West Europe", - "cores_used": 0, - "cores_available": 1000 - }, - { - "region_name": "West US", - "cores_used": 132, - "cores_available": 1000 - }, - { - "region_name": "West US 2", - "cores_used": 0, - "cores_available": 1000 - } - ] - } - } - } - } -} \ No newline at end of file diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/GetHDInsightUsages.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/GetHDInsightUsages.json new file mode 100644 index 000000000000..015cb4e48d2e --- /dev/null +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/GetHDInsightUsages.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "location": "West US", + "api-version": "2015-03-01-preview", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "Body": { + "value": [ + { + "unit": "Count", + "currentValue": 0, + "limit": 5000, + "name": { + "value": "cores", + "localizedValue": "Cores" + } + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/locations.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/locations.json new file mode 100644 index 000000000000..38c5b1ea08ca --- /dev/null +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/locations.json @@ -0,0 +1,140 @@ +{ + "swagger": "2.0", + "info": { + "title": "HDInsightManagementClient", + "description": "The HDInsight Management Client.", + "version": "2015-03-01-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [{ + "azure_auth": [ + "user_impersonation" + ] + }], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/locations/{location}/usages": { + "get": { + "tags": [ + "Regions" + ], + "operationId": "Location_ListUsages", + "description": "Lists the usages for the specified location.", + "x-ms-examples": { + "Get the subscription usages for specific location": { + "$ref": "./examples/GetHDInsightUsages.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/LocationParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK response definition.", + "schema": { + "$ref": "#/definitions/UsagesResult" + } + } + } + } + } + }, + "definitions": { + "LocalizedName": { + "description": "The details about the localizable name of a type of usage.", + "properties": { + "value": { + "description": "The name of the used resource.", + "type": "string" + }, + "localizedValue": { + "description": "The localized name of the used resource.", + "type": "string" + } + } + }, + "Usage": { + "description": "The details about the usage of a particular limited resource.", + "properties": { + "unit": { + "description": "The type of measurement for usage.", + "type": "string" + }, + "currentValue": { + "description": "The current usage.", + "type": "integer" + }, + "limit": { + "description": "The maximum allowed usage.", + "type": "integer" + }, + "name": { + "description": "The details about the localizable name of the used resource.", + "$ref": "#/definitions/LocalizedName" + } + } + }, + "UsagesResult": { + "description": "The response for the operation to get regional usages for a subscription.", + "properties": { + "value": { + "description": "The list of usages.", + "type": "array", + "items": { + "$ref": "#/definitions/Usage" + } + } + } + } + }, + "parameters": { + "SubscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "required": true, + "type": "string", + "description": "The subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call." + }, + "LocationParameter": { + "name": "location", + "in": "path", + "required": true, + "type": "string", + "description": "The location to get capabilities for." + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "The HDInsight client API Version." + } + } +} \ No newline at end of file diff --git a/specification/hdinsight/resource-manager/readme.md b/specification/hdinsight/resource-manager/readme.md index 45e156b683e7..98df4059a05b 100644 --- a/specification/hdinsight/resource-manager/readme.md +++ b/specification/hdinsight/resource-manager/readme.md @@ -41,7 +41,7 @@ These settings apply only when `--tag=package-2015-03-preview` is specified on t input-file: - Microsoft.HDInsight/preview/2015-03-01-preview/cluster.json - Microsoft.HDInsight/preview/2015-03-01-preview/applications.json -- Microsoft.HDInsight/preview/2015-03-01-preview/capabilities.json +- Microsoft.HDInsight/preview/2015-03-01-preview/locations.json - Microsoft.HDInsight/preview/2015-03-01-preview/configurations.json - Microsoft.HDInsight/preview/2015-03-01-preview/extensions.json - Microsoft.HDInsight/preview/2015-03-01-preview/scriptActions.json From 683b4e5980fe33f271ff9140926572e544b46a33 Mon Sep 17 00:00:00 2001 From: Wai Sing Wong Date: Wed, 20 Jun 2018 13:50:05 -0700 Subject: [PATCH 06/13] Reverted capabilities change and created new API version with the capabilities change --- .../examples/GetHDInsightCapabilities.json | 3236 +++++++++++++++++ .../preview/2015-03-01-preview/locations.json | 214 +- .../2015-03-01-preview/operations.json | 2 +- .../2018-06-01-preview/applications.json | 403 ++ .../preview/2018-06-01-preview/cluster.json | 1154 ++++++ .../2018-06-01-preview/configurations.json | 174 + .../ChangeHttpConnectivityDisable.json | 21 + .../ChangeHttpConnectivityEnable.json | 23 + .../examples/CreateApplication.json | 61 + .../examples/CreateExtension.json | 17 + .../CreateLinuxHadoopSecureHadoop.json | 127 + .../CreateLinuxHadoopSshPassword.json | 86 + .../CreateLinuxHadoopSshPublicKey.json | 90 + .../examples/CreateLinuxSparkSshPassword.json | 75 + .../examples/DeleteApplication.json | 16 + .../examples/DeleteExtension.json | 13 + .../examples/DeleteLinuxHadoopCluster.json | 12 + .../examples/DeleteScriptAction.json | 12 + .../DisableLinuxClusterMonitoring.json | 12 + .../EnableLinuxClusterMonitoring.json | 16 + .../examples/GetAllApplications.json | 89 + .../examples/GetApplicationCreated.json | 53 + .../examples/GetApplicationInProgress.json | 49 + .../examples/GetExtension.json | 12 + .../examples/GetHDInsightUsages.json | 24 + .../examples/GetHttpConnectivity.json | 18 + .../GetLinuxClusterMonitoringStatus.json | 11 + .../examples/GetLinuxHadoopAllClusters.json | 163 + ...LinuxHadoopAllClustersInResourceGroup.json | 164 + .../examples/GetLinuxHadoopCluster.json | 87 + .../examples/GetLinuxHadoopScriptAction.json | 21 + .../GetLinuxHadoopScriptExecutionHistory.json | 32 + .../examples/GetLinuxSparkCluster.json | 90 + .../examples/GetScriptActionById.json | 30 + .../examples/GetScriptExecutionHistory.json | 48 + .../examples/PatchLinuxHadoopCluster.json | 90 + .../examples/PostExecuteScriptAction.json | 28 + .../PromoteLinuxHadoopScriptAction.json | 12 + .../examples/RdpSettingsEnable.json | 27 + .../examples/ResizeLinuxHadoopCluster.json | 16 + .../2018-06-01-preview/extensions.json | 346 ++ .../preview/2018-06-01-preview/locations.json | 140 + .../2018-06-01-preview/operations.json | 103 + .../2018-06-01-preview/scriptActions.json | 420 +++ .../hdinsight/resource-manager/readme.md | 45 +- 45 files changed, 7879 insertions(+), 3 deletions(-) create mode 100644 specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/GetHDInsightCapabilities.json create mode 100644 specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/applications.json create mode 100644 specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/cluster.json create mode 100644 specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/configurations.json create mode 100644 specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/ChangeHttpConnectivityDisable.json create mode 100644 specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/ChangeHttpConnectivityEnable.json create mode 100644 specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/CreateApplication.json create mode 100644 specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/CreateExtension.json create mode 100644 specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/CreateLinuxHadoopSecureHadoop.json create mode 100644 specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/CreateLinuxHadoopSshPassword.json create mode 100644 specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/CreateLinuxHadoopSshPublicKey.json create mode 100644 specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/CreateLinuxSparkSshPassword.json create mode 100644 specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/DeleteApplication.json create mode 100644 specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/DeleteExtension.json create mode 100644 specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/DeleteLinuxHadoopCluster.json create mode 100644 specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/DeleteScriptAction.json create mode 100644 specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/DisableLinuxClusterMonitoring.json create mode 100644 specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/EnableLinuxClusterMonitoring.json create mode 100644 specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetAllApplications.json create mode 100644 specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetApplicationCreated.json create mode 100644 specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetApplicationInProgress.json create mode 100644 specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetExtension.json create mode 100644 specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetHDInsightUsages.json create mode 100644 specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetHttpConnectivity.json create mode 100644 specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetLinuxClusterMonitoringStatus.json create mode 100644 specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetLinuxHadoopAllClusters.json create mode 100644 specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetLinuxHadoopAllClustersInResourceGroup.json create mode 100644 specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetLinuxHadoopCluster.json create mode 100644 specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetLinuxHadoopScriptAction.json create mode 100644 specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetLinuxHadoopScriptExecutionHistory.json create mode 100644 specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetLinuxSparkCluster.json create mode 100644 specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetScriptActionById.json create mode 100644 specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetScriptExecutionHistory.json create mode 100644 specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/PatchLinuxHadoopCluster.json create mode 100644 specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/PostExecuteScriptAction.json create mode 100644 specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/PromoteLinuxHadoopScriptAction.json create mode 100644 specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/RdpSettingsEnable.json create mode 100644 specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/ResizeLinuxHadoopCluster.json create mode 100644 specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/extensions.json create mode 100644 specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/locations.json create mode 100644 specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/operations.json create mode 100644 specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/scriptActions.json diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/GetHDInsightCapabilities.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/GetHDInsightCapabilities.json new file mode 100644 index 000000000000..df951c140d04 --- /dev/null +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/GetHDInsightCapabilities.json @@ -0,0 +1,3236 @@ +{ + "parameters": { + "location": "West US", + "api-version": "2015-03-01-preview", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "Body": { + "versions": { + "paas": { + "available": [{ + "friendlyName": "1.6", + "displayName": "HdInsight version 1.6.1.0.335536", + "isDefault": false + }, + { + "friendlyName": "2.1", + "displayName": "Version 2.1.9.406.1221105", + "isDefault": false, + "componentVersions": { + "HDP": "1.3", + "Hadoop": "1.2.0" + } + }, + { + "friendlyName": "3.0", + "displayName": "Version 3.0.6.989.2441725", + "isDefault": false, + "componentVersions": { + "HDP": "2.0", + "Hadoop": "2.2.0" + } + }, + { + "friendlyName": "3.1", + "displayName": "Version 3.1.4.989.2441725", + "isDefault": false, + "componentVersions": { + "HDP": "2.1.7", + "Hadoop": "2.4.0", + "HBase": "0.98" + } + }, + { + "friendlyName": "3.2", + "displayName": "Version 3.2.7.989.2441725", + "isDefault": false, + "componentVersions": { + "HDP": "2.2", + "Hadoop": "2.6.0", + "HBase": "0.98.4", + "Storm": "0.9.3" + } + }, + { + "friendlyName": "3.3", + "displayName": "Version 3.3.0.989.2441725", + "isDefault": true, + "componentVersions": { + "HDP": "2.3", + "Hadoop": "2.7.0", + "HBase": "1.1.2", + "Storm": "0.10.0" + } + } + ] + }, + "iaas": { + "available": [{ + "friendlyName": "3.2", + "displayName": "Version 3.2.1000.0.8840373", + "isDefault": false, + "componentVersions": { + "HDP": "2.2", + "Hadoop": "2.6.0", + "HBase": "0.98.4", + "Storm": "0.9.3" + } + }, + { + "friendlyName": "3.3", + "displayName": "Version 3.3.1000.0.9776961", + "isDefault": false, + "componentVersions": { + "HDP": "2.3", + "Hadoop": "2.7.0", + "HBase": "1.1.2", + "Storm": "0.10.0", + "Spark": "1.5.2" + } + }, + { + "friendlyName": "3.4", + "displayName": "Version 3.4.1000.0.9719475", + "isDefault": false, + "componentVersions": { + "HDP": "2.4", + "Hadoop": "2.7.1", + "HBase": "1.1.2", + "Storm": "0.10.0", + "Spark": "1.6.2", + "RServer": "8.0" + } + }, + { + "friendlyName": "3.5", + "displayName": "Version 3.5.1000.0.9732704", + "isDefault": true, + "componentVersions": { + "HDP": "2.5", + "Hadoop": "2.7.3", + "InteractiveHive": "2.1.0", + "HBase": "1.1.2", + "Storm": "1.0.1", + "Spark": "1.6.3,2.0.2", + "RServer": "9.0" + } + }, + { + "friendlyName": "3.6", + "displayName": "Version 3.6.1000.0.9503998", + "isDefault": false, + "componentVersions": { + "HDP": "2.6", + "Spark": "2.1.0" + } + }, + { + "friendlyName": "99.152", + "displayName": "Version 99.152.1000.0.6943836", + "isDefault": false + } + ] + } + }, + "regions": { + "paas": { + "available": [ + "AUSTRALIA EAST", + "AUSTRALIA SOUTHEAST", + "BRAZIL SOUTH", + "CENTRAL INDIA", + "CENTRAL US", + "EAST ASIA", + "EAST US", + "EAST US 2", + "JAPAN EAST", + "JAPAN WEST", + "NORTH CENTRAL US", + "NORTH EUROPE", + "SOUTH CENTRAL US", + "SOUTHEAST ASIA", + "WEST EUROPE", + "WEST US", + "WEST US 2" + ] + }, + "iaas": { + "available": [ + "AUSTRALIA EAST", + "AUSTRALIA SOUTHEAST", + "BRAZIL SOUTH", + "CANADA CENTRAL", + "CANADA EAST", + "CENTRAL INDIA", + "CENTRAL US", + "CENTRAL US EUAP", + "EAST ASIA", + "EAST US", + "EAST US 2", + "JAPAN EAST", + "JAPAN WEST", + "NORTH CENTRAL US", + "NORTH EUROPE", + "SOUTH CENTRAL US", + "SOUTHEAST ASIA", + "WEST CENTRAL US", + "WEST EUROPE", + "WEST US", + "WEST US 2" + ] + } + }, + "vmsizes": { + "paas": { + "available": [ + "A5", + "A6", + "A7", + "EXTRALARGE", + "LARGE", + "MEDIUM", + "SMALL", + "STANDARD_D1", + "STANDARD_D1_V2", + "STANDARD_D11", + "STANDARD_D11_V2", + "STANDARD_D12", + "STANDARD_D12_V2", + "STANDARD_D13", + "STANDARD_D13_V2", + "STANDARD_D14", + "STANDARD_D14_V2", + "STANDARD_D2", + "STANDARD_D2_V2", + "STANDARD_D3", + "STANDARD_D3_V2", + "STANDARD_D4", + "STANDARD_D4_V2", + "STANDARD_D5_V2" + ] + }, + "iaas": { + "available": [ + "A5", + "A6", + "A7", + "EXTRALARGE", + "LARGE", + "MEDIUM", + "SMALL", + "STANDARD_D1", + "STANDARD_D1_V2", + "STANDARD_D11", + "STANDARD_D11_V2", + "STANDARD_D12", + "STANDARD_D12_V2", + "STANDARD_D13", + "STANDARD_D13_V2", + "STANDARD_D14", + "STANDARD_D14_V2", + "STANDARD_D2", + "STANDARD_D2_V2", + "STANDARD_D3", + "STANDARD_D3_V2", + "STANDARD_D4", + "STANDARD_D4_V2", + "STANDARD_D5_V2" + ] + } + }, + "vmsize_filters": [{ + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "Sandbox" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "A5" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "HeadNodeRole", + "WorkerNodeRole", + "EdgeNodeRole" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "A5" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "Hadoop", + "Spark" + ], + "NodeTypes": [ + "ZookeeperRole" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "A5" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "1.6", + "2.1", + "3.0" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "A5" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "InteractiveHive" + ], + "NodeTypes": [ + "HeadNodeRole", + "WorkerNodeRole" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "A5" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "Sandbox" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "A6" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "Hadoop", + "Spark" + ], + "NodeTypes": [ + "ZookeeperRole" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "A6" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "1.6", + "2.1", + "3.0" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "A6" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "InteractiveHive" + ], + "NodeTypes": [ + "HeadNodeRole", + "WorkerNodeRole" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "A6" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "Sandbox" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "A7" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "Hadoop", + "Spark" + ], + "NodeTypes": [ + "ZookeeperRole" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "A7" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "1.6", + "2.1", + "3.0" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "A7" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "InteractiveHive" + ], + "NodeTypes": [ + "HeadNodeRole", + "WorkerNodeRole" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "A7" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "Sandbox" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "EXTRALARGE" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "Hadoop", + "Spark" + ], + "NodeTypes": [ + "ZookeeperRole" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "EXTRALARGE" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "WorkerNodeRole", + "EdgeNodeRole", + "ZookeeperRole" + ], + "ClusterVersions": [ + "1.6", + "2.1", + "3.0" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "EXTRALARGE" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "InteractiveHive" + ], + "NodeTypes": [ + "HeadNodeRole", + "WorkerNodeRole" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "EXTRALARGE" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "Sandbox" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "LARGE" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "Hadoop", + "Spark" + ], + "NodeTypes": [ + "ZookeeperRole" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "LARGE" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "ZookeeperRole" + ], + "ClusterVersions": [ + "1.6", + "2.1", + "3.0" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "LARGE" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "InteractiveHive" + ], + "NodeTypes": [ + "HeadNodeRole", + "WorkerNodeRole" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "LARGE" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "Sandbox" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "MEDIUM" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "HeadNodeRole", + "WorkerNodeRole", + "EdgeNodeRole" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "MEDIUM" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "InteractiveHive" + ], + "NodeTypes": [ + "HeadNodeRole", + "WorkerNodeRole" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "MEDIUM" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "Sandbox" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "SMALL" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "HeadNodeRole", + "WorkerNodeRole", + "EdgeNodeRole" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "SMALL" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "HBase", + "Spark" + ], + "NodeTypes": [ + "ZookeeperRole" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "SMALL" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "InteractiveHive" + ], + "NodeTypes": [ + "HeadNodeRole", + "WorkerNodeRole" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "SMALL" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "Sandbox" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "STANDARD_D1" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "HeadNodeRole", + "WorkerNodeRole", + "EdgeNodeRole" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "STANDARD_D1" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "Hadoop", + "Spark" + ], + "NodeTypes": [ + "ZookeeperRole" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "STANDARD_D1" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "Central India" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "STANDARD_D1" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "1.6", + "2.1", + "3.0" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "STANDARD_D1" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "InteractiveHive" + ], + "NodeTypes": [ + "HeadNodeRole", + "WorkerNodeRole" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "STANDARD_D1" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "Sandbox" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "STANDARD_D1_V2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "HeadNodeRole", + "WorkerNodeRole", + "EdgeNodeRole" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "STANDARD_D1_V2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "Hadoop", + "Spark" + ], + "NodeTypes": [ + "ZookeeperRole" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "STANDARD_D1_V2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "Brazil South", + "Japan West" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "STANDARD_D1_V2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "1.6", + "2.1", + "3.0" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "STANDARD_D1_V2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "InteractiveHive" + ], + "NodeTypes": [ + "HeadNodeRole", + "WorkerNodeRole" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "STANDARD_D1_V2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "Sandbox" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "STANDARD_D11" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "HeadNodeRole", + "WorkerNodeRole", + "EdgeNodeRole" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "STANDARD_D11" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "Hadoop", + "Spark" + ], + "NodeTypes": [ + "ZookeeperRole" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "STANDARD_D11" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "Central India" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "STANDARD_D11" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "1.6", + "2.1", + "3.0" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "STANDARD_D11" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "InteractiveHive" + ], + "NodeTypes": [ + "HeadNodeRole", + "WorkerNodeRole" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "STANDARD_D11" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "Sandbox" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "STANDARD_D11_V2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "HeadNodeRole", + "WorkerNodeRole", + "EdgeNodeRole" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "STANDARD_D11_V2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "Hadoop", + "Spark" + ], + "NodeTypes": [ + "ZookeeperRole" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "STANDARD_D11_V2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "Brazil South", + "Japan West" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "STANDARD_D11_V2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "1.6", + "2.1", + "3.0" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "STANDARD_D11_V2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "InteractiveHive" + ], + "NodeTypes": [ + "HeadNodeRole", + "WorkerNodeRole" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "STANDARD_D11_V2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "Sandbox" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "STANDARD_D12" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "Hadoop", + "Spark" + ], + "NodeTypes": [ + "ZookeeperRole" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "STANDARD_D12" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "Central India" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "STANDARD_D12" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "1.6", + "2.1", + "3.0" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "STANDARD_D12" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "InteractiveHive" + ], + "NodeTypes": [ + "HeadNodeRole", + "WorkerNodeRole" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "STANDARD_D12" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "Sandbox" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "STANDARD_D12_V2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "Hadoop", + "Spark" + ], + "NodeTypes": [ + "ZookeeperRole" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "STANDARD_D12_V2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "Brazil South", + "Japan West" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "STANDARD_D12_V2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "1.6", + "2.1", + "3.0" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "STANDARD_D12_V2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "InteractiveHive" + ], + "NodeTypes": [ + "HeadNodeRole", + "WorkerNodeRole" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "STANDARD_D12_V2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "Sandbox" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "STANDARD_D13" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "Hadoop", + "Spark" + ], + "NodeTypes": [ + "ZookeeperRole" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "STANDARD_D13" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "Central India" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "STANDARD_D13" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "1.6", + "2.1", + "3.0" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "STANDARD_D13" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "Hadoop", + "Spark" + ], + "NodeTypes": [ + "ZookeeperRole" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "STANDARD_D13_V2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "Brazil South", + "Japan West" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "STANDARD_D13_V2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "1.6", + "2.1", + "3.0" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "STANDARD_D13_V2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "Sandbox" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "STANDARD_D14" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "Hadoop", + "Spark" + ], + "NodeTypes": [ + "ZookeeperRole" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "STANDARD_D14" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "Central India" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "STANDARD_D14" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "1.6", + "2.1", + "3.0" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "STANDARD_D14" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "Sandbox" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "STANDARD_D14_V2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "Hadoop", + "Spark" + ], + "NodeTypes": [ + "ZookeeperRole" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "STANDARD_D14_V2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "Brazil South", + "Japan West" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "STANDARD_D14_V2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "1.6", + "2.1", + "3.0" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "STANDARD_D14_V2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "Sandbox" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "STANDARD_D2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "HeadNodeRole", + "WorkerNodeRole", + "EdgeNodeRole" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "STANDARD_D2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "Hadoop", + "Spark" + ], + "NodeTypes": [ + "ZookeeperRole" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "STANDARD_D2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "Central India" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "STANDARD_D2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "1.6", + "2.1", + "3.0" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "STANDARD_D2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "InteractiveHive" + ], + "NodeTypes": [ + "HeadNodeRole", + "WorkerNodeRole" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "STANDARD_D2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "Sandbox" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "STANDARD_D2_V2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "HeadNodeRole", + "WorkerNodeRole", + "EdgeNodeRole" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "STANDARD_D2_V2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "Hadoop", + "Spark" + ], + "NodeTypes": [ + "ZookeeperRole" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "STANDARD_D2_V2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "Brazil South", + "Japan West" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "STANDARD_D2_V2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "1.6", + "2.1", + "3.0" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "STANDARD_D2_V2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "InteractiveHive" + ], + "NodeTypes": [ + "HeadNodeRole", + "WorkerNodeRole" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "STANDARD_D2_V2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "Sandbox" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "STANDARD_D3" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "Hadoop", + "Spark" + ], + "NodeTypes": [ + "ZookeeperRole" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "STANDARD_D3" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "Central India" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "STANDARD_D3" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "1.6", + "2.1", + "3.0" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "STANDARD_D3" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "InteractiveHive" + ], + "NodeTypes": [ + "HeadNodeRole", + "WorkerNodeRole" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "STANDARD_D3" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "Sandbox" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "STANDARD_D3_V2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "Hadoop", + "Spark" + ], + "NodeTypes": [ + "ZookeeperRole" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "STANDARD_D3_V2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "Brazil South", + "Japan West" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "STANDARD_D3_V2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "1.6", + "2.1", + "3.0" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "STANDARD_D3_V2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "InteractiveHive" + ], + "NodeTypes": [ + "HeadNodeRole", + "WorkerNodeRole" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "STANDARD_D3_V2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "Sandbox" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "STANDARD_D4" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "Hadoop", + "Spark" + ], + "NodeTypes": [ + "ZookeeperRole" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "STANDARD_D4" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "Central India" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "STANDARD_D4" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "1.6", + "2.1", + "3.0" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "STANDARD_D4" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "InteractiveHive" + ], + "NodeTypes": [ + "HeadNodeRole", + "WorkerNodeRole" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "STANDARD_D4" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "Sandbox" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "STANDARD_D4_V2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "Hadoop", + "Spark" + ], + "NodeTypes": [ + "ZookeeperRole" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "STANDARD_D4_V2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "Brazil South", + "Japan West" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "STANDARD_D4_V2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "1.6", + "2.1", + "3.0" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "STANDARD_D4_V2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "InteractiveHive" + ], + "NodeTypes": [ + "HeadNodeRole", + "WorkerNodeRole" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "STANDARD_D4_V2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "Sandbox" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "STANDARD_D5_V2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "Hadoop", + "Spark" + ], + "NodeTypes": [ + "ZookeeperRole" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "STANDARD_D5_V2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "Brazil South", + "Japan West" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "STANDARD_D5_V2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "*" + ], + "ClusterVersions": [ + "1.6", + "2.1", + "3.0" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "STANDARD_D5_V2" + ] + }, + { + "FilterMode": "Exclude", + "Regions": [ + "*" + ], + "ClusterFlavors": [ + "InteractiveHive" + ], + "NodeTypes": [ + "HeadNodeRole", + "WorkerNodeRole" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "STANDARD_D5_V2" + ] + }, + { + "FilterMode": "Include", + "Regions": [ + "Central India" + ], + "ClusterFlavors": [ + "HBase", + "Storm" + ], + "NodeTypes": [ + "ZookeeperRole" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "STANDARD_D1_V2" + ] + }, + { + "FilterMode": "Include", + "Regions": [ + "Central India" + ], + "ClusterFlavors": [ + "HBase", + "Storm" + ], + "NodeTypes": [ + "ZookeeperRole" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "STANDARD_D11_V2" + ] + }, + { + "FilterMode": "Include", + "Regions": [ + "Central India" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "HeadNodeRole", + "WorkerNodeRole" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "STANDARD_D12_V2" + ] + }, + { + "FilterMode": "Include", + "Regions": [ + "Central India" + ], + "ClusterFlavors": [ + "HBase", + "Storm" + ], + "NodeTypes": [ + "ZookeeperRole" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "STANDARD_D12_V2" + ] + }, + { + "FilterMode": "Include", + "Regions": [ + "Central India" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "HeadNodeRole", + "WorkerNodeRole" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "STANDARD_D13_V2" + ] + }, + { + "FilterMode": "Include", + "Regions": [ + "Central India" + ], + "ClusterFlavors": [ + "HBase", + "Storm" + ], + "NodeTypes": [ + "ZookeeperRole" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "STANDARD_D13_V2" + ] + }, + { + "FilterMode": "Include", + "Regions": [ + "Central India" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "HeadNodeRole", + "WorkerNodeRole" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "STANDARD_D14_V2" + ] + }, + { + "FilterMode": "Include", + "Regions": [ + "Central India" + ], + "ClusterFlavors": [ + "HBase", + "Storm" + ], + "NodeTypes": [ + "ZookeeperRole" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "STANDARD_D14_V2" + ] + }, + { + "FilterMode": "Include", + "Regions": [ + "Central India" + ], + "ClusterFlavors": [ + "HBase", + "Storm" + ], + "NodeTypes": [ + "ZookeeperRole" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "STANDARD_D2_V2" + ] + }, + { + "FilterMode": "Include", + "Regions": [ + "Central India" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "HeadNodeRole", + "WorkerNodeRole" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "STANDARD_D3_V2" + ] + }, + { + "FilterMode": "Include", + "Regions": [ + "Central India" + ], + "ClusterFlavors": [ + "HBase", + "Storm" + ], + "NodeTypes": [ + "ZookeeperRole" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "STANDARD_D3_V2" + ] + }, + { + "FilterMode": "Include", + "Regions": [ + "Central India" + ], + "ClusterFlavors": [ + "*" + ], + "NodeTypes": [ + "HeadNodeRole", + "WorkerNodeRole" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "STANDARD_D4_V2" + ] + }, + { + "FilterMode": "Include", + "Regions": [ + "Central India" + ], + "ClusterFlavors": [ + "HBase", + "Storm" + ], + "NodeTypes": [ + "ZookeeperRole" + ], + "ClusterVersions": [ + "*" + ], + "OsType": [ + "*" + ], + "VMSizes": [ + "STANDARD_D4_V2" + ] + } + ], + "features": [ + "ALLOW_GATEWAY_AUTH_BYPASS", + "AUX_IAAS_FUNCTIONALITIES", + "BLOCK_APPS_FOR_SECURE_CLUSTER", + "CLUSTER_RESIZE", + "CLUSTERS_CONTRACT_1", + "CLUSTERS_CONTRACT_1_SDK", + "CLUSTERS_CONTRACT_2_SDK", + "CLUSTERS_CONTRACT_VERSION_3_SDK", + "COLLECTANONYMIZEDLOGS", + "CONTAINER_LOG_COLLECTOR", + "CONTAINER_RESOURCE_V3", + "CUSTOM_ACTIONS_V2", + "DATALAKE", + "DATALAKE_3_2", + "DATALAKE_3_4", + "DATALAKE_3_5", + "DATALAKE_DEFAULTFS_3_5", + "DEFAULT_CONTAINER_IDENTIFIER_AND_STORAGEFQDN_ALREADY_USED", + "DOCUMENT_VALIDATION_IN_API", + "ENABLEDATALAKE", + "ENABLEGENEVAANALYTICS", + "HADOOP_VIRTUAL_NETWORK_ENABLED", + "HS2_ZK_ROUTER_INTERACTIVEHIVE", + "IAAS_ALLOW_CUSTOM_DNS", + "IAAS_AMBARI_APP_TIMELINE_SERVER_HA_SERVICE", + "IAAS_AMBARI_DEPENDENCY_BASED_DEPLOYMENT", + "IAAS_AMBARI_HA_SERVICES", + "IAAS_AMBARI_HISTORYSERVER_HA_SERVICE", + "IAAS_AMBARI_LOWER_LATENCY", + "IAAS_AMBARI_SKIP_COMPONENTS_INSTALL", + "IAAS_ARM_PROVISIONING", + "IAAS_CLOSE_HEAD_HTTPS_END_POINT_AFTER_CLUSTER_CREATE", + "IAAS_CLUSTER_APPLICATION_ALLOW_MULTIPLE_ROLE_INSTANCES", + "IAAS_CLUSTER_APPLICATION_REMOVE", + "IAAS_CLUSTER_CONTAINER_PREUPLOAD_SUBMIT_WAIT", + "IAAS_CLUSTER_RSERVER", + "IAAS_DB_CREATION_IN_PARALLEL_TO_VM", + "IAAS_DELETE_LEAKED_RESOURCES", + "IAAS_DEPLOYMENTS", + "IAAS_DO_NOT_CREATE_WASB_TABLES_IN_CUSTOMER_STORAGE", + "IAAS_ENABLE_CLUSTER_CONFIG_OVERRIDES", + "IAAS_ENABLE_OFFLINE_CLEANUP", + "IAAS_ENABLE_OFFLINE_CLEANUP_FOR_DELETING_VMS", + "IAAS_INCLUDE_STORAGE_IN_SUBSCRIPTION_SELECTION", + "IAAS_PARALLEL_DB_CREATE", + "IAAS_PREPROVISION_METASTORES_SCHEMAS", + "IAAS_SCRIPTACTIONS_DELETE_VMS_CRUD_FAILURES", + "IAAS_SCRIPTACTIONS_RUNNING", + "IAAS_SHORT_VM_NAME", + "IAAS_SUBMIT_AMBARI_REQUEST_ONCE_LINUX_VM_ARE_AVAILABLE", + "IAAS_TEZ_ATS_V15", + "IAAS_USE_UNATTENDED_UPGRADES_FOR_PATCHING", + "IAAS_VALIDATE_CUSTOM_VNET", + "IAAS_VALIDATE_NSG", + "IAAS_WAIT_FOR_CLOSING_HEAD_HTTPS_END_POINT_AFTER_CLUSTER_CREATE", + "IAAS_YARN_HDINSIGHT_SQL_TIMELINE_STORE", + "IAAS_YARN_HDINSIGHT_TIMELINE_STORE", + "INTERACTIVEHIVE", + "MDSCENTRALLOGGING", + "NODE_SETUP_POLLER_ENABLED", + "OVERPROVISION_HOSTGROUP_edgenode", + "OVERPROVISION_HOSTGROUP_Gateway", + "OVERPROVISION_HOSTGROUP_Workernode", + "OVERPROVISION_HOSTGROUP_zookeepernode", + "PERF_OPTIMIZED_RESOURCE_LOCATION_FETCH", + "PORTALAPPINSTALL", + "POWERSHELL_SCRIPT_ACTION", + "POWERSHELL_SCRIPT_ACTION_SDK", + "PREMIUM_TIER_PREVIEW", + "PROVISIONING_AGENT", + "RMHA", + "RSERVER_CLUSTERTYPE_3_5_ENABLED", + "RSERVER_CLUSTERTYPE_ENABLED", + "SHOW_HUMBOLDT_GA", + "SHOW_IBIZA_CREATE", + "SPARK_2_1", + "SPARK_EXPERIMENTAL", + "STORM_PREVIEW", + "UI_CREATE_WIZARD_V2", + "VIRTUAL_NETWORK_ENABLED", + "VMSIZES_AUX" + ], + "quota": { + "cores_used": 72, + "max_cores_allowed": 1000, + "regionalQuotas": [{ + "region_name": "Australia East", + "cores_used": 0, + "cores_available": 1000 + }, + { + "region_name": "Australia Southeast", + "cores_used": 0, + "cores_available": 1000 + }, + { + "region_name": "Brazil South", + "cores_used": 0, + "cores_available": 1000 + }, + { + "region_name": "Canada Central", + "cores_used": 0, + "cores_available": 1000 + }, + { + "region_name": "Canada East", + "cores_used": 0, + "cores_available": 1000 + }, + { + "region_name": "Central India", + "cores_used": 0, + "cores_available": 1000 + }, + { + "region_name": "Central US", + "cores_used": 24, + "cores_available": 1000 + }, + { + "region_name": "Central US EUAP", + "cores_used": 0, + "cores_available": 1000 + }, + { + "region_name": "East Asia", + "cores_used": 24, + "cores_available": 1000 + }, + { + "region_name": "East US", + "cores_used": 24, + "cores_available": 1000 + }, + { + "region_name": "East US 2", + "cores_used": 0, + "cores_available": 1000 + }, + { + "region_name": "Japan East", + "cores_used": 0, + "cores_available": 1000 + }, + { + "region_name": "Japan West", + "cores_used": 0, + "cores_available": 1000 + }, + { + "region_name": "North Central US", + "cores_used": 0, + "cores_available": 1000 + }, + { + "region_name": "North Europe", + "cores_used": 0, + "cores_available": 1000 + }, + { + "region_name": "South Central US", + "cores_used": 0, + "cores_available": 1000 + }, + { + "region_name": "Southeast Asia", + "cores_used": 0, + "cores_available": 1000 + }, + { + "region_name": "West Central US", + "cores_used": 0, + "cores_available": 1000 + }, + { + "region_name": "West Europe", + "cores_used": 0, + "cores_available": 1000 + }, + { + "region_name": "West US", + "cores_used": 132, + "cores_available": 1000 + }, + { + "region_name": "West US 2", + "cores_used": 0, + "cores_available": 1000 + } + ] + } + } + } + } +} \ No newline at end of file diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/locations.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/locations.json index 38c5b1ea08ca..571c6415a289 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/locations.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/locations.json @@ -32,6 +32,39 @@ } }, "paths": { + "/subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/locations/{location}/capabilities": { + "get": { + "tags": [ + "Regions" + ], + "operationId": "Location_GetCapabilities", + "description": "Gets the capabilities for the specified location.", + "x-ms-examples": { + "Get the subscription capabilities for specific location": { + "$ref": "./examples/GetHDInsightCapabilities.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/LocationParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK response definition.", + "schema": { + "$ref": "#/definitions/capabilitiesResult" + } + } + } + } + }, "/subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/locations/{location}/usages": { "get": { "tags": [ @@ -67,6 +100,185 @@ } }, "definitions": { + "versionSpec": { + "description": "The version properties.", + "properties": { + "friendlyName": { + "type": "string", + "description": "The friendly name" + }, + "displayName": { + "type": "string", + "description": "The display name" + }, + "isDefault": { + "type": "string", + "description": "Whether or not the version is the default version." + }, + "componentVersions": { + "type": "object", + "description": "The component version property.", + "additionalProperties": { + "type": "string" + } + } + } + }, + "versionsCapability": { + "description": "The version capability.", + "properties": { + "available": { + "description": "The list of version capabilities.", + "type": "array", + "items": { + "$ref": "#/definitions/versionSpec" + } + } + } + }, + "regionsCapability": { + "description": "The regions capability.", + "properties": { + "available": { + "description": "The list of region capabilities.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "vmSizesCapability": { + "description": "The virtual machine sizes capability.", + "properties": { + "available": { + "description": "The list of virtual machine size capabilities.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "vmSizeCompatibilityFilter": { + "description": "The virtual machine type compatibility filter.", + "properties": { + "FilterMode": { + "description": "The mode for the filter.", + "type": "string" + }, + "Regions": { + "description": "The list of regions.", + "type": "array", + "items": { + "type": "string" + } + }, + "ClusterFlavors": { + "description": "The list of cluster types available.", + "type": "array", + "items": { + "type": "string" + } + }, + "NodeTypes": { + "description": "The list of node types.", + "type": "array", + "items": { + "type": "string" + } + }, + "ClusterVersions": { + "description": "The list of cluster versions.", + "type": "array", + "items": { + "type": "string" + } + }, + "vmsizes": { + "description": "The list of virtual machine sizes.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "regionalQuotaCapability": { + "description": "The regional quota capacity.", + "properties": { + "region_name": { + "description": "The region name.", + "type": "string" + }, + "cores_used": { + "description": "The number of cores used in the region.", + "type": "integer", + "format": "int64" + }, + "cores_available": { + "description": "The number of courses available in the region.", + "type": "integer", + "format": "int64" + } + } + }, + "quotaCapability": { + "description": "The regional quota capability.", + "properties": { + "regionalQuotas": { + "description": "The list of region quota capabilities.", + "type": "array", + "items": { + "$ref": "#/definitions/regionalQuotaCapability" + } + } + } + }, + "capabilitiesResult": { + "description": "The Get Capabilities operation response.", + "properties": { + "versions": { + "description": "The version capability.", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/versionsCapability" + } + }, + "regions": { + "description": "The virtual machine size compatibilty features.", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/regionsCapability" + } + }, + "vmSizes": { + "description": "The virtual machine sizes.", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/vmSizesCapability" + } + }, + "vmSize_filters": { + "description": "The virtual machine size compatibilty filters.", + "type": "array", + "items": { + "$ref": "#/definitions/vmSizeCompatibilityFilter" + } + }, + "features": { + "description": "The capabilty features.", + "type": "array", + "items": { + "type": "string" + } + }, + "quota": { + "description": "The quota capability.", + "$ref": "#/definitions/quotaCapability" + } + } + }, "LocalizedName": { "description": "The details about the localizable name of a type of usage.", "properties": { @@ -127,7 +339,7 @@ "in": "path", "required": true, "type": "string", - "description": "The location to get capabilities for." + "description": "The location." }, "ApiVersionParameter": { "name": "api-version", diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/operations.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/operations.json index 0bef30d4a460..0953b06d5b35 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/operations.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/operations.json @@ -63,7 +63,7 @@ "type": "string" }, "resource": { - "description": "The resource on which the operation is performed: Cluster, Capabilities, etc.", + "description": "The resource on which the operation is performed: Cluster, Applications, etc.", "type": "string" }, "operation": { diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/applications.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/applications.json new file mode 100644 index 000000000000..ecb1c06d5a8d --- /dev/null +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/applications.json @@ -0,0 +1,403 @@ +{ + "swagger": "2.0", + "info": { + "title": "HDInsightManagementClient", + "description": "The HDInsight Management Client.", + "version": "2015-03-01-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [{ + "azure_auth": [ + "user_impersonation" + ] + }], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/applications": { + "get": { + "tags": [ + "Applications" + ], + "description": "Lists all of the applications HDInsight cluster.", + "operationId": "Applications_List", + "x-ms-examples": { + "Get All Applications for an HDInsight cluster": { + "$ref": "./examples/GetAllApplications.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ClusterNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/ApplicationListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/applications/{applicationName}": { + "get": { + "tags": [ + "Applications" + ], + "description": "Lists properties of the specified application.", + "operationId": "Applications_Get", + "x-ms-examples": { + "Get application on HDInsight cluster successfully created.": { + "$ref": "./examples/GetApplicationCreated.json" + }, + "Get application on HDInsight cluster creation in progress": { + "$ref": "./examples/GetApplicationInProgress.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ClusterNameParameter" + }, + { + "$ref": "#/parameters/ApplicationNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/Application" + } + } + } + }, + "put": { + "tags": [ + "Applications" + ], + "description": "Creates applications for the HDInsight cluster.", + "operationId": "Applications_Create", + "x-ms-examples": { + "Create Application": { + "$ref": "./examples/CreateApplication.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ClusterNameParameter" + }, + { + "$ref": "#/parameters/ApplicationNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ApplicationGetProperties" + }, + "description": "The application create request." + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/Application" + } + } + } + }, + "delete": { + "tags": [ + "Applications" + ], + "description": "Deletes the specified application on the HDInsight cluster.", + "operationId": "Applications_Delete", + "x-ms-examples": { + "Delete Application from HDInsight cluster": { + "$ref": "./examples/DeleteApplication.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ClusterNameParameter" + }, + { + "$ref": "#/parameters/ApplicationNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded." + } + }, + "x-ms-long-running-operation": true + } + } + }, + "definitions": { + "ApplicationGetHttpsEndpoint": { + "description": "Gets the application HTTP endpoints.", + "type": "object", + "properties": { + "accessModes": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The list of access modes for the application." + }, + "location": { + "type": "string", + "description": "The location of the endpoint." + }, + "destinationPort": { + "type": "integer", + "format": "int32", + "description": "The destination port to connect to." + }, + "publicPort": { + "type": "integer", + "format": "int32", + "description": "The public port to connect to." + } + }, + "additionalProperties": { + "type": "string" + } + }, + "ApplicationGetEndpoint": { + "description": "Gets the application SSH endpoint", + "type": "object", + "properties": { + "location": { + "type": "string", + "description": "The location of the endpoint." + }, + "destinationPort": { + "type": "integer", + "format": "int32", + "description": "The destination port to connect to." + }, + "publicPort": { + "type": "integer", + "format": "int32", + "description": "The public port to connect to." + } + } + }, + "ApplicationGetProperties": { + "description": "The HDInsight cluster application GET response.", + "type": "object", + "properties": { + "computeProfile": { + "$ref": "./cluster.json#/definitions/ComputeProfile", + "description": "The list of roles in the cluster." + }, + "installScriptActions": { + "type": "array", + "items": { + "$ref": "./cluster.json#/definitions/RuntimeScriptAction" + }, + "description": "The list of install script actions." + }, + "uninstallScriptActions": { + "type": "array", + "items": { + "$ref": "./cluster.json#/definitions/RuntimeScriptAction" + }, + "description": "The list of uninstall script actions." + }, + "httpsEndpoints": { + "type": "array", + "items": { + "$ref": "#/definitions/ApplicationGetHttpsEndpoint" + }, + "description": "The list of application HTTPS endpoints." + }, + "sshEndpoints": { + "type": "array", + "items": { + "$ref": "#/definitions/ApplicationGetEndpoint" + }, + "description": "The list of application SSH endpoints." + }, + "provisioningState": { + "readOnly": true, + "type": "string", + "description": "The provisioning state of the application." + }, + "applicationType": { + "type": "string", + "description": "The application type." + }, + "applicationState": { + "readOnly": true, + "type": "string", + "description": "The application state." + }, + "errors": { + "type": "array", + "items": { + "$ref": "./cluster.json#/definitions/errors" + }, + "description": "The list of errors." + }, + "createdDate": { + "readOnly": true, + "type": "string", + "description": "The application create date time." + }, + "marketplaceIdentifier": { + "readOnly": true, + "type": "string", + "description": "The marketplace identifier." + }, + "additionalProperties": { + "description": "The additional properties for application.", + "type": "string" + } + } + }, + "Application": { + "description": "The HDInsight cluster application", + "type": "object", + "allOf": [ + { + "$ref": "./cluster.json#/definitions/ProxyResource" + } + ], + "properties": { + "etag": { + "description": "The ETag for the application", + "type": "string" + }, + "tags": { + "description": "The tags for the application.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "$ref": "#/definitions/ApplicationGetProperties", + "description": "The properties of the application." + } + } + }, + "ApplicationListResult": { + "description": "Result of the request to list cluster Applications. It contains a list of operations and a URL link to get the next set of results.", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Application" + }, + "description": "The list of HDInsight applications installed on HDInsight cluster." + }, + "nextLink": { + "type": "string", + "readOnly": true, + "description": "The URL to get the next set of operation list results if there are any." + } + } + } + }, + "parameters": { + "SubscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "required": true, + "type": "string", + "description": "The subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call." + }, + "ResourceGroupNameParameter": { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + "ClusterNameParameter": { + "name": "clusterName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the cluster." + }, + "ApplicationNameParameter": { + "name": "applicationName", + "in": "path", + "required": true, + "type": "string", + "description": "The constant value for the application name." + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "The HDInsight client API Version." + } + } +} \ No newline at end of file diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/cluster.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/cluster.json new file mode 100644 index 000000000000..4b9178fba063 --- /dev/null +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/cluster.json @@ -0,0 +1,1154 @@ +{ + "swagger": "2.0", + "info": { + "title": "HDInsightManagementClient", + "description": "The HDInsight Management Client.", + "version": "2015-03-01-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [{ + "azure_auth": [ + "user_impersonation" + ] + }], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}": { + "put": { + "tags": [ + "Clusters" + ], + "operationId": "Clusters_Create", + "description": "Creates a new HDInsight cluster with the specified parameters.", + "x-ms-examples": { + "Create Hadoop on Linux cluster with SSH password": { + "$ref": "./examples/CreateLinuxHadoopSshPassword.json" + }, + "Create Hadoop on Linux cluster with SSH public key": { + "$ref": "./examples/CreateLinuxHadoopSshPublicKey.json" + }, + "Create Spark on Linux Cluster with SSH password": { + "$ref": "./examples/CreateLinuxSparkSshPassword.json" + }, + "Create Secure Hadoop cluster": { + "$ref": "./examples/CreateLinuxHadoopSecureHadoop.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ClusterNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ClusterCreateParametersExtended" + }, + "description": "The cluster create request." + } + ], + "responses": { + "200": { + "description": "OK response definition.", + "schema": { + "$ref": "#/definitions/Cluster" + } + } + }, + "x-ms-long-running-operation": true + }, + "patch": { + "tags": [ + "Clusters" + ], + "operationId": "Clusters_Update", + "description": "Patch HDInsight cluster with the specified parameters.", + "x-ms-examples": { + "Patch HDInsight Linux clusters": { + "$ref": "./examples/PatchLinuxHadoopCluster.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ClusterNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ClusterPatchParameters" + }, + "description": "The cluster patch request." + } + ], + "responses": { + "200": { + "description": "OK response definition.", + "schema": { + "$ref": "#/definitions/Cluster" + } + } + } + }, + "delete": { + "tags": [ + "Clusters" + ], + "operationId": "Clusters_Delete", + "description": "Deletes the specified HDInsight cluster.", + "x-ms-examples": { + "Delete Hadoop on Linux cluster": { + "$ref": "./examples/DeleteLinuxHadoopCluster.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ClusterNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "202": { + "description": "Accepted response definition." + }, + "200": { + "description": "Ok response definition." + } + }, + "x-ms-long-running-operation": true + }, + "get": { + "tags": [ + "Clusters" + ], + "operationId": "Clusters_Get", + "description": "Gets the specified cluster.", + "x-ms-examples": { + "Get Hadoop on Linux cluster": { + "$ref": "./examples/GetLinuxHadoopCluster.json" + }, + "Get Spark on Linux cluster": { + "$ref": "./examples/GetLinuxSparkCluster.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ClusterNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK response definition.", + "schema": { + "$ref": "#/definitions/Cluster" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters": { + "get": { + "tags": [ + "Clusters" + ], + "operationId": "Clusters_ListByResourceGroup", + "description": "Lists the HDInsight clusters in a resource group.", + "x-ms-examples": { + "Get All Hadoop on Linux clusters in a resource group": { + "$ref": "./examples/GetLinuxHadoopAllClustersInResourceGroup.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK response definition.", + "schema": { + "$ref": "#/definitions/ClusterListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/roles/{roleName}/resize": { + "post": { + "tags": [ + "Clusters" + ], + "operationId": "Clusters_Resize", + "description": "Resizes the specified HDInsight cluster to the specified size.", + "x-ms-examples": { + "Resize the worker nodes for a Hadoop on Linux cluster": { + "$ref": "./examples/ResizeLinuxHadoopCluster.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ClusterNameParameter" + }, + { + "name": "roleName", + "in": "path", + "required": true, + "type": "string", + "description": "The constant value for the roleName", + "enum": [ + "workernode" + ], + "x-ms-enum": { + "name": "RoleName", + "modelAsString": true + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ClusterResizeParameters" + }, + "description": "The parameters for the resize operation." + } + ], + "responses": { + "200": { + "description": "OK response definition." + }, + "202": { + "description": "Accepted response definition." + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/clusters": { + "get": { + "tags": [ + "Clusters" + ], + "operationId": "Clusters_List", + "x-ms-examples": { + "Get All Hadoop on Linux clusters": { + "$ref": "./examples/GetLinuxHadoopAllClusters.json" + } + }, + "description": "Lists all the HDInsight clusters under the subscription.", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK response definition.", + "schema": { + "$ref": "#/definitions/ClusterListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "ClusterDefinition": { + "description": "The cluster definition.", + "properties": { + "blueprint": { + "type": "string", + "description": "The link to the blueprint." + }, + "kind": { + "type": "string", + "description": "The type of cluster." + }, + "componentVersion": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "The versions of different services in the cluster." + }, + "configurations": { + "type": "object", + "description": "The cluster configurations." + } + } + }, + "SecurityProfile": { + "description": "The security profile which contains Ssh public key for the HDInsight cluster.", + "properties": { + "directoryType": { + "type": "string", + "description": "The directory type.", + "enum": [ + "ActiveDirectory" + ], + "x-ms-enum": { + "name": "DirectoryType", + "modelAsString": false + } + }, + "domain": { + "type": "string", + "description": "The organization's active directory domain." + }, + "organizationalUnitDN": { + "type": "string", + "description": "The organizational unit within the Active Directory to place the cluster and service accounts." + }, + "ldapsUrls": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The LDAPS protocol URLs to communicate with the Active Directory." + }, + "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." + }, + "clusterUsersGroupDNs": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Optional. The Distinguished Names for cluster user groups" + } + } + }, + "HardwareProfile": { + "properties": { + "vmSize": { + "type": "string", + "description": "The size of the VM" + } + }, + "description": "The hardware profile." + }, + "VirtualNetworkProfile": { + "description": "The virtual network properties.", + "properties": { + "id": { + "type": "string", + "description": "The ID of the virtual network." + }, + "subnet": { + "type": "string", + "description": "The name of the subnet." + } + } + }, + "DataDisksGroups": { + "description": "The data disks groups for the role.", + "properties": { + "disksPerNode": { + "type": "integer", + "format": "int32", + "description": "The number of disks per node." + }, + "storageAccountType": { + "type": "string", + "description": "ReadOnly. The storage account type. Do not set this value.", + "readOnly": true + }, + "diskSizeGB": { + "type": "integer", + "description": "ReadOnly. The DiskSize in GB. Do not set this value.", + "readOnly": true + } + } + }, + "SshPublicKey": { + "description": "The SSH public key for the cluster nodes.", + "properties": { + "certificateData": { + "type": "string", + "description": "The certificate for SSH." + } + } + }, + "SshProfile": { + "description": "The list of SSH public keys.", + "properties": { + "publicKeys": { + "type": "array", + "items": { + "$ref": "#/definitions/SshPublicKey" + }, + "description": "The list of SSH public keys." + } + } + }, + "LinuxOperatingSystemProfile": { + "description": "The ssh username, password, and ssh public key.", + "properties": { + "username": { + "type": "string", + "description": "The username." + }, + "password": { + "type": "string", + "description": "The password." + }, + "sshProfile": { + "$ref": "#/definitions/SshProfile", + "description": "The SSH profile." + } + } + }, + "OsProfile": { + "description": "The Linux operation systems profile.", + "properties": { + "linuxOperatingSystemProfile": { + "$ref": "#/definitions/LinuxOperatingSystemProfile", + "description": "The Linux OS profile." + } + } + }, + "Role": { + "properties": { + "name": { + "type": "string", + "description": "The name of the role." + }, + "minInstanceCount": { + "type": "integer", + "format": "int32", + "description": "The minimum instance count of the cluster." + }, + "targetInstanceCount": { + "type": "integer", + "format": "int32", + "description": "The instance count of the cluster." + }, + "hardwareProfile": { + "$ref": "#/definitions/HardwareProfile", + "description": "The hardware profile." + }, + "osProfile": { + "$ref": "#/definitions/OsProfile", + "description": "The operating system profile." + }, + "virtualNetworkProfile": { + "$ref": "#/definitions/VirtualNetworkProfile", + "description": "The virtual network profile." + }, + "dataDisksGroups": { + "type": "array", + "items": { + "$ref": "#/definitions/DataDisksGroups" + }, + "description": "The data disks groups for the role." + }, + "scriptActions": { + "type": "array", + "items": { + "$ref": "./scriptActions.json#/definitions/ScriptAction" + }, + "description": "The list of script actions on the role." + } + }, + "description": "Describes a role on the cluster." + }, + "ComputeProfile": { + "properties": { + "roles": { + "type": "array", + "items": { + "$ref": "#/definitions/Role" + }, + "description": "The list of roles in the cluster." + } + }, + "description": "Describes the compute profile." + }, + "StorageAccount": { + "properties": { + "name": { + "type": "string", + "description": "The name of the storage account." + }, + "isDefault": { + "type": "boolean", + "description": "Whether or not the storage account is the default storage account." + }, + "container": { + "type": "string", + "description": "The container in the storage account." + }, + "key": { + "type": "string", + "description": "The storage account access key." + } + }, + "description": "The storage Account." + }, + "StorageProfile": { + "properties": { + "storageaccounts": { + "type": "array", + "items": { + "$ref": "#/definitions/StorageAccount" + }, + "description": "The list of storage accounts in the cluster." + } + }, + "description": "The storage profile." + }, + "ClusterCreateProperties": { + "description": "The cluster create parameters.", + "properties": { + "clusterVersion": { + "type": "string", + "description": "The version of the cluster." + }, + "osType": { + "type": "string", + "description": "The type of operating system.", + "enum": [ + "Windows", + "Linux" + ], + "x-ms-enum": { + "name": "OSType", + "modelAsString": false + } + }, + "tier": { + "type": "string", + "description": "The cluster tier.", + "enum": [ + "Standard", + "Premium" + ], + "x-ms-enum": { + "name": "Tier", + "modelAsString": false + } + }, + "clusterDefinition": { + "$ref": "#/definitions/ClusterDefinition", + "description": "The cluster definition." + }, + "securityProfile": { + "$ref": "#/definitions/SecurityProfile", + "description": "The security profile." + }, + "computeProfile": { + "$ref": "#/definitions/ComputeProfile", + "description": "The compute profile." + }, + "storageProfile": { + "$ref": "#/definitions/StorageProfile", + "description": "The storage profile." + } + } + }, + "ClusterCreateParametersExtended": { + "properties": { + "location": { + "type": "string", + "description": "The location of the cluster." + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "The resource tags." + }, + "properties": { + "$ref": "#/definitions/ClusterCreateProperties", + "description": "The cluster create parameters." + } + }, + "description": "The CreateCluster request parameters." + }, + "ClusterPatchParameters": { + "properties": { + "tags": { + "type": "object", + "x-nullable": true, + "additionalProperties": { + "type": "string" + }, + "description": "The resource tags." + } + }, + "description": "The PatchCluster request parameters" + }, + "QuotaInfo": { + "description": "The quota properties for the cluster.", + "properties": { + "coresUsed": { + "type": "integer", + "format": "int32", + "description": "The cores used by the cluster." + } + } + }, + "errors": { + "description": "The error message associated with the cluster creation.", + "properties": { + "code": { + "type": "string", + "description": "The error code." + }, + "message": { + "type": "string", + "description": "The error message." + } + } + }, + "ConnectivityEndpoint": { + "description": "The connectivity properties", + "properties": { + "name": { + "type": "string", + "description": "The name of the endpoint." + }, + "protocol": { + "type": "string", + "description": "The protocol of the endpoint." + }, + "location": { + "type": "string", + "description": "The location of the endpoint." + }, + "port": { + "type": "integer", + "format": "int32", + "description": "The port to connect to." + } + } + }, + "ClusterGetProperties": { + "description": "The properties of cluster.", + "properties": { + "clusterVersion": { + "type": "string", + "description": "The version of the cluster." + }, + "osType": { + "type": "string", + "description": "The type of operating system.", + "enum": [ + "Windows", + "Linux" + ], + "x-ms-enum": { + "name": "OSType", + "modelAsString": false + } + }, + "tier": { + "type": "string", + "description": "The cluster tier.", + "enum": [ + "Standard", + "Premium" + ], + "x-ms-enum": { + "name": "Tier", + "modelAsString": false + } + }, + "clusterDefinition": { + "$ref": "#/definitions/ClusterDefinition", + "description": "The cluster definition." + }, + "securityProfile": { + "$ref": "#/definitions/SecurityProfile", + "description": "The security profile." + }, + "computeProfile": { + "$ref": "#/definitions/ComputeProfile", + "description": "The compute profile." + }, + "provisioningState": { + "type": "string", + "description": "The provisioning state, which only appears in the response.", + "enum": [ + "InProgress", + "Failed", + "Succeeded", + "Canceled", + "Deleting" + ], + "x-ms-enum": { + "name": "HDInsightClusterProvisioningState", + "modelAsString": false + } + }, + "createdDate": { + "type": "string", + "description": "The date on which the cluster was created." + }, + "clusterState": { + "type": "string", + "description": "The state of the cluster." + }, + "quotaInfo": { + "$ref": "#/definitions/QuotaInfo", + "description": "The quota information." + }, + "errors": { + "type": "array", + "items": { + "$ref": "#/definitions/errors" + }, + "description": "The list of errors." + }, + "connectivityEndpoints": { + "type": "array", + "items": { + "$ref": "#/definitions/ConnectivityEndpoint" + }, + "description": "The list of connectivity endpoints." + } + }, + "required": [ + "clusterDefinition" + ] + }, + "Cluster": { + "allOf": [{ + "$ref": "#/definitions/TrackedResource" + }], + "properties": { + "etag": { + "type": "string", + "description": "The ETag for the resource" + }, + "properties": { + "$ref": "#/definitions/ClusterGetProperties", + "description": "The properties of the cluster." + } + }, + "description": "The HDInsight cluster." + }, + "RuntimeScriptAction": { + "properties": { + "name": { + "type": "string", + "description": "The name of the script action." + }, + "uri": { + "type": "string", + "description": "The URI to the script." + }, + "parameters": { + "type": "string", + "description": "The parameters for the script" + }, + "roles": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The list of roles where script will be executed." + }, + "applicationName": { + "readOnly": true, + "type": "string", + "description": "The application name of the script action, if any." + } + }, + "required": [ + "name", + "uri", + "roles" + ], + "description": "Describes a script action on a running cluster." + }, + "ExecuteScriptActionParameters": { + "properties": { + "scriptActions": { + "type": "array", + "items": { + "$ref": "#/definitions/RuntimeScriptAction" + }, + "description": "The list of run time script actions." + }, + "persistOnSuccess": { + "type": "boolean", + "description": "Gets or sets if the scripts needs to be persisted." + } + }, + "required": [ + "persistOnSuccess" + ], + "description": "The parameters for the script actions to execute on a running cluster." + }, + "ClusterListPersistedScriptActionsResult": { + "properties": { + "value": { + "description": "The list of Persisted Script Actions.", + "type": "array", + "items": { + "$ref": "#/definitions/RuntimeScriptAction" + } + }, + "nextLink": { + "type": "string", + "readOnly": true, + "description": "The link (url) to the next page of results." + } + }, + "description": "The ListPersistedScriptActions operation response." + }, + "ScriptActionExecutionSummary": { + "properties": { + "status": { + "readOnly": true, + "type": "string", + "description": "The status of script action execution." + }, + "instanceCount": { + "readOnly": true, + "type": "integer", + "format": "int32", + "description": "The instance count for a given script action execution status." + } + }, + "description": "The execution summary of a script action." + }, + "RuntimeScriptActionDetail": { + "allOf": [ + { + "$ref": "#/definitions/RuntimeScriptAction" + }, + { + "properties": { + "scriptExecutionId": { + "readOnly": true, + "type": "integer", + "format": "int64", + "description": "The execution id of the script action." + }, + "startTime": { + "readOnly": true, + "type": "string", + "description": "The start time of script action execution." + }, + "endTime": { + "readOnly": true, + "type": "string", + "description": "The end time of script action execution." + }, + "status": { + "readOnly": true, + "type": "string", + "description": "The current execution status of the script action." + }, + "operation": { + "readOnly": true, + "type": "string", + "description": "The reason why the script action was executed." + }, + "executionSummary": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/ScriptActionExecutionSummary" + }, + "description": "The summary of script action execution result." + }, + "debugInformation": { + "readOnly": true, + "type": "string", + "description": "The script action execution debug information." + } + } + } + ], + "description": "The execution details of a script action." + }, + "ClusterListRuntimeScriptActionDetailResult": { + "properties": { + "value": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/RuntimeScriptActionDetail" + } + }, + "nextLink": { + "type": "string", + "readOnly": true, + "description": "The link (url) to the next page of results." + } + }, + "description": "The list runtime script action detail response." + }, + "ClusterListResult": { + "properties": { + "value": { + "description": "The list of Clusters.", + "type": "array", + "items": { + "$ref": "#/definitions/Cluster" + } + }, + "nextLink": { + "type": "string", + "readOnly": true, + "description": "The link (url) to the next page of results." + } + }, + "description": "The List Cluster operation response." + }, + "ClusterResizeParameters": { + "properties": { + "targetInstanceCount": { + "type": "integer", + "format": "int32", + "description": "The target instance count for the operation." + } + }, + "description": "The Resize Cluster request parameters." + }, + "OperationResource": { + "properties": { + "status": { + "type": "string", + "description": "The async operation state.", + "enum": [ + "InProgress", + "Succeeded", + "Failed" + ], + "x-ms-enum": { + "name": "AsyncOperationState", + "modelAsString": false + } + }, + "error": { + "$ref": "#/definitions/errors", + "description": "The operation error information." + } + }, + "description": "The azure async operation response." + }, + "Resource": { + "description": "The core properties of ARM resources", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "Fully qualified resource Id for the resource." + }, + "name": { + "readOnly": true, + "type": "string", + "description": "The name of the resource" + }, + "type": { + "readOnly": true, + "type": "string", + "description": "The type of the resource." + } + }, + "x-ms-azure-resource": true + }, + "TrackedResource": { + "description": "The resource model definition for a ARM tracked top level resource", + "properties": { + "location": { + "type": "string", + "x-ms-mutability": [ + "read", + "create" + ], + "description": "The Azure Region where the resource lives" + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "x-ms-mutability": [ + "read", + "create", + "update" + ], + "description": "Resource tags." + } + }, + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ] + }, + "ProxyResource": { + "description": "The resource model definition for a ARM proxy resource. It will have everything other than required location and tags", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ] + }, + "Operation": { + "description": "The HDInsight REST API operation.", + "type": "object", + "properties": { + "name": { + "description": "The operation name: {provider}/{resource}/{operation}", + "type": "string" + }, + "display": { + "description": "The object that represents the operation.", + "properties": { + "provider": { + "description": "The service provider: Microsoft.HDInsight", + "type": "string" + }, + "resource": { + "description": "The resource on which the operation is performed: Cluster, Applications, etc.", + "type": "string" + }, + "operation": { + "description": "The operation type: read, write, delete, etc.", + "type": "string" + } + } + } + } + }, + "OperationListResult": { + "description": "Result of the request to list HDInsight operations. It contains a list of operations and a URL link to get the next set of results.", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Operation" + }, + "description": "The list of HDInsight operations supported by the HDInsight resource provider." + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of operation list results if there are any." + } + } + } + }, + "parameters": { + "SubscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "required": true, + "type": "string", + "description": "The subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call." + }, + "ResourceGroupNameParameter": { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + "ClusterNameParameter": { + "name": "clusterName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the cluster." + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "The HDInsight client API Version." + } + } +} \ No newline at end of file diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/configurations.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/configurations.json new file mode 100644 index 000000000000..ea625f2f685f --- /dev/null +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/configurations.json @@ -0,0 +1,174 @@ +{ + "swagger": "2.0", + "info": { + "title": "HDInsightManagementClient", + "description": "The HDInsight Management Client.", + "version": "2015-03-01-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [{ + "azure_auth": [ + "user_impersonation" + ] + }], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/configurations/{configurationName}": { + "post": { + "tags": [ + "Configurations" + ], + "operationId": "Configurations_UpdateHTTPSettings", + "description": "Configures the HTTP settings on the specified cluster.", + "x-ms-examples": { + "Enable HTTP connectivity": { + "$ref": "./examples/ChangeHttpConnectivityEnable.json" + }, + "Disable HTTP connectivity": { + "$ref": "./examples/ChangeHttpConnectivityDisable.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ClusterNameParameter" + }, + { + "$ref": "#/parameters/ConfigurationNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ClusterConfiguration" + }, + "description": "The cluster configurations." + } + ], + "responses": { + "200": { + "description": "Ok response definition" + }, + "202": { + "description": "Accepted response definition" + }, + "204": { + "description": "No content response definition" + } + }, + "x-ms-long-running-operation": true + }, + "get": { + "tags": [ + "Configurations" + ], + "operationId": "Configurations_Get", + "description": "The configuration object for the specified cluster.", + "x-ms-examples": { + "Get HTTP settings": { + "$ref": "./examples/GetHttpConnectivity.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ClusterNameParameter" + }, + { + "$ref": "#/parameters/ConfigurationNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK response definition.", + "schema": { + "$ref": "#/definitions/ClusterConfiguration" + } + } + } + } + } + }, + "definitions": { + "ClusterConfiguration": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "The configuration object for the specified configuration for the specified cluster." + } + }, + "parameters": { + "SubscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "required": true, + "type": "string", + "description": "The subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call." + }, + "ResourceGroupNameParameter": { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + "ClusterNameParameter": { + "name": "clusterName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the cluster." + }, + "ConfigurationNameParameter": { + "name": "configurationName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the cluster configuration." + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "The HDInsight client API Version." + } + } +} \ No newline at end of file diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/ChangeHttpConnectivityDisable.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/ChangeHttpConnectivityDisable.json new file mode 100644 index 000000000000..10dc9291bb9d --- /dev/null +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/ChangeHttpConnectivityDisable.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "clusterName": "cluster1", + "resourceGroupName": "rg1", + "api-version": "2015-03-01-preview", + "subscriptionId": "subid", + "configurationName": "gateway", + "parameters": { + "restAuthCredential.isEnabled": "false" + } + }, + "responses": { + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult" + } + }, + "200": {}, + "204": {} + } +} \ No newline at end of file diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/ChangeHttpConnectivityEnable.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/ChangeHttpConnectivityEnable.json new file mode 100644 index 000000000000..21e708525b29 --- /dev/null +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/ChangeHttpConnectivityEnable.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "clusterName": "cluster1", + "resourceGroupName": "rg1", + "api-version": "2015-03-01-preview", + "subscriptionId": "subid", + "configurationName": "gateway", + "parameters": { + "restAuthCredential.isEnabled": "true", + "restAuthCredential.username": "hadoop", + "restAuthCredential.password": "**********" + } + }, + "responses": { + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult" + } + }, + "200": {}, + "204": {} + } +} \ No newline at end of file diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/CreateApplication.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/CreateApplication.json new file mode 100644 index 000000000000..ea2788d25f95 --- /dev/null +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/CreateApplication.json @@ -0,0 +1,61 @@ +{ + "parameters": { + "applicationName": "hue", + "clusterName": "cluster1", + "resourceGroupName": "rg1", + "api-version": "2015-03-01-preview", + "subscriptionId": "subid", + "parameters": { + "computeProfile": { + "roles": [{ + "name": "edgenode", + "targetInstanceCount": 1, + "hardwareProfile": { + "vmSize": "Standard_D12_v2" + } + }] + }, + "installScriptActions": [{ + "name": "app-install-app1", + "uri": "https://.../install.sh", + "parameters": "-version latest -port 20000", + "roles": [ + "edgenode" + ] + }], + "uninstallScriptActions": [], + "httpsEndpoints": [{ + "subDomainSuffix": "dss", + "destinationPort": 20000, + "accessModes": [ + "WebPage" + ] + }], + "provisioningState": "", + "applicationType": "CustomApplication", + "errors": [] + } + }, + "responses": { + "200": { + "body": { + "id": "", + "name": "", + "type": "", + "etag": "", + "tags": {}, + "properties": { + "computeProfile": {}, + "installScriptActions": [], + "uninstallScriptActions": [], + "httpsEndpoints": [], + "sshEndpoints": [], + "provisioningState": "", + "applicationState": "", + "errors": [], + "createdDate": "2017-02-28" + } + } + } + } +} \ No newline at end of file diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/CreateExtension.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/CreateExtension.json new file mode 100644 index 000000000000..6738a1fe6424 --- /dev/null +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/CreateExtension.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "clusterName": "cluster1", + "resourceGroupName": "rg1", + "api-version": "2015-03-01-preview", + "subscriptionId": "subid", + "extensionName": "clustermonitoring", + "parameters": { + "workspaceId": "a2090ead-8c9f-4fba-b70e-533e3e003163", + "primaryKey": "**********" + } + }, + "responses": { + "200": {}, + "202": {} + } +} \ No newline at end of file diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/CreateLinuxHadoopSecureHadoop.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/CreateLinuxHadoopSecureHadoop.json new file mode 100644 index 000000000000..912e9de1d895 --- /dev/null +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/CreateLinuxHadoopSecureHadoop.json @@ -0,0 +1,127 @@ +{ + "parameters": { + "clusterName": "cluster1", + "resourceGroupName": "rg1", + "api-version": "2015-03-01-preview", + "subscriptionId": "subid", + "parameters": { + "tags": { "key1": "val1" }, + "properties": { + "clusterVersion": "3.5", + "osType": "Linux", + "tier": "Premium", + "clusterDefinition": { + "kind": "Hadoop", + "configurations": { + "gateway": { + "restAuthCredential.isEnabled": true, + "restAuthCredential.username": "admin", + "restAuthCredential.password": "**********" + } + } + }, + "storageProfile": { + "storageaccounts": [{ + "name": "mystorage", + "isDefault": true, + "container": "containername", + "key": "storage account key" + }] + }, + "securityProfile": { + "directoryType": "ActiveDirectory", + "domain": "DomainName", + "organizationalUnitDN": "OU=Hadoop,DC=hdinsight,DC=test", + "ldapsUrls": ["ldaps://10.10.0.4:636"], + "domainUsername": "DomainUsername", + "domainUserPassword": "**********", + "clusterUsersGroupDNs": ["hdiusers"] + }, + + + "computeProfile": { + "roles": [{ + "name": "headnode", + "minInstanceCount": 1, + "targetInstanceCount": 2, + "hardwareProfile": { + "vmSize": "Standard_D3_V2" + }, + "osProfile": { + "linuxOperatingSystemProfile": { + "username": "sshuser", + "password": "**********", + "sshProfile": { + "publicKeys": [{ + "certificateData": "**********" + }] + } + } + }, + "virtualNetworkProfile": { + "id": "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname", + "subnet": "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet" + }, + "scriptActions": [] + }, + { + "name": "workernode", + "minInstanceCount": 1, + "targetInstanceCount": 4, + "hardwareProfile": { + "vmSize": "Standard_D3_V2" + }, + "osProfile": { + "linuxOperatingSystemProfile": { + "username": "sshuser", + "password": "**********", + "sshProfile": { + "publicKeys": [{ + "certificateData": "**********" + }] + } + } + }, + "virtualNetworkProfile": { + "id": "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname", + "subnet": "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet" + }, + "scriptActions": [] + }, + { + "name": "zookeepernode", + "minInstanceCount": 1, + "targetInstanceCount": 3, + "hardwareProfile": { + "vmSize": "Small" + }, + "osProfile": { + "linuxOperatingSystemProfile": { + "username": "sshuser", + "password": "**********", + "sshProfile": { + "publicKeys": [{ + "certificateData": "**********" + }] + } + } + }, + "virtualNetworkProfile": { + "id": "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname", + "subnet": "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet" + }, + "scriptActions": [] + } + ] + } + } + } + }, + "responses": { + "200": { + "headers": { + "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult" + } + } + } +} \ No newline at end of file diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/CreateLinuxHadoopSshPassword.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/CreateLinuxHadoopSshPassword.json new file mode 100644 index 000000000000..340cb6860527 --- /dev/null +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/CreateLinuxHadoopSshPassword.json @@ -0,0 +1,86 @@ +{ + "parameters": { + "clusterName": "cluster1", + "resourceGroupName": "rg1", + "api-version": "2015-03-01-preview", + "subscriptionId": "subid", + "parameters": { + "tags": { "key1": "val1" }, + "properties": { + "clusterVersion": "3.5", + "osType": "Linux", + "tier": "Standard", + "clusterDefinition": { + "kind": "Hadoop", + "configurations": { + "gateway": { + "restAuthCredential.isEnabled": "true", + "restAuthCredential.username": "admin", + "restAuthCredential.password": "**********" + } + } + }, + "storageProfile": { + "storageaccounts": [{ + "name": "mystorage", + "isDefault": true, + "container": "containername", + "key": "storagekey" + }] + }, + "computeProfile": { + "roles": [{ + "name": "headnode", + "minInstanceCount": 1, + "targetInstanceCount": 2, + "hardwareProfile": { + "vmSize": "Standard_D3_V2" + }, + "osProfile": { + "linuxOperatingSystemProfile": { + "username": "sshuser", + "password": "**********" + } + } + }, + { + "name": "workernode", + "minInstanceCount": 1, + "targetInstanceCount": 4, + "hardwareProfile": { + "vmSize": "Standard_D3_V2" + }, + "osProfile": { + "linuxOperatingSystemProfile": { + "username": "sshuser", + "password": "**********" + } + } + }, + { + "name": "zookeepernode", + "minInstanceCount": 1, + "targetInstanceCount": 3, + "hardwareProfile": { + "vmSize": "Small" + }, + "osProfile": { + "linuxOperatingSystemProfile": { + "username": "sshuser", + "password": "**********" + } + } + } + ] + } + } + } + }, + "responses": { + "200": { + "headers": { + "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult" + } + } + } +} \ No newline at end of file diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/CreateLinuxHadoopSshPublicKey.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/CreateLinuxHadoopSshPublicKey.json new file mode 100644 index 000000000000..a629b472fb29 --- /dev/null +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/CreateLinuxHadoopSshPublicKey.json @@ -0,0 +1,90 @@ +{ + "parameters": { + "clusterName": "cluster1", + "resourceGroupName": "rg1", + "api-version": "2015-03-01-preview", + "subscriptionId": "subid", + "parameters": { + "tags": { "key1": "val1" }, + "properties": { + "clusterVersion": "3.5", + "osType": "Linux", + "tier": "Standard", + "clusterDefinition": { + "kind": "Hadoop", + "configurations": { + "gateway": { + "restAuthCredential.isEnabled": true, + "restAuthCredential.username": "admin", + "restAuthCredential.password": "**********" + } + } + }, + "storageProfile": { + "storageaccounts": [{ + "name": "mystorage", + "isDefault": true, + "container": "containername", + "key": "storagekey" + }] + }, + "computeProfile": { + "roles": [{ + "name": "headnode", + "minInstanceCount": 1, + "targetInstanceCount": 2, + "hardwareProfile": { + "vmSize": "Standard_D3_V2" + }, + "osProfile": { + "linuxOperatingSystemProfile": { + "username": "sshuser", + "sshProfile": { + "publicKeys": [{ + "certificateData": "**********" + }] + } + } + } + }, + { + "name": "workernode", + "minInstanceCount": 1, + "targetInstanceCount": 4, + "hardwareProfile": { + "vmSize": "Standard_D3_V2" + }, + "osProfile": { + "linuxOperatingSystemProfile": { + "username": "sshuser", + "password": "**********" + } + } + }, + { + "name": "zookeepernode", + "minInstanceCount": 1, + "targetInstanceCount": 3, + "hardwareProfile": { + "vmSize": "Small" + }, + "osProfile": { + "linuxOperatingSystemProfile": { + "username": "sshuser", + "password": "**********" + } + } + } + ] + } + } + } + }, + "responses": { + "200": { + "headers": { + "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult" + } + } + } +} \ No newline at end of file diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/CreateLinuxSparkSshPassword.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/CreateLinuxSparkSshPassword.json new file mode 100644 index 000000000000..a23fdad4f4e2 --- /dev/null +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/CreateLinuxSparkSshPassword.json @@ -0,0 +1,75 @@ +{ + "parameters": { + "clusterName": "cluster1", + "resourceGroupName": "rg1", + "api-version": "2015-03-01-preview", + "subscriptionId": "subid", + "parameters": { + "tags": { "key1": "val1" }, + "properties": { + "clusterVersion": "3.5", + "osType": "Linux", + "tier": "Standard", + "clusterDefinition": { + "kind": "Spark", + "componentVersion": { + "Spark": "2.0" + }, + "configurations": { + "gateway": { + "restAuthCredential.isEnabled": true, + "restAuthCredential.username": "admin", + "restAuthCredential.password": "**********" + } + } + }, + "storageProfile": { + "storageaccounts": [{ + "name": "mystorage", + "isDefault": true, + "container": "containername", + "key": "storageapikey*" + }] + }, + "computeProfile": { + "roles": [{ + "name": "headnode", + "minInstanceCount": 1, + "targetInstanceCount": 2, + "hardwareProfile": { + "vmSize": "Standard_D12_V2" + }, + "osProfile": { + "linuxOperatingSystemProfile": { + "username": "sshuser", + "password": "**********" + } + } + }, + { + "name": "workernode", + "minInstanceCount": 1, + "targetInstanceCount": 4, + "hardwareProfile": { + "vmSize": "Standard_D4_V2" + }, + "osProfile": { + "linuxOperatingSystemProfile": { + "username": "sshuser", + "password": "**********" + } + } + } + ] + } + } + } + }, + "responses": { + "200": { + "headers": { + "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult" + } + } + } +} \ No newline at end of file diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/DeleteApplication.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/DeleteApplication.json new file mode 100644 index 000000000000..fa8ab95c2dda --- /dev/null +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/DeleteApplication.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "applicationName": "hue", + "clusterName": "cluster1", + "resourceGroupName": "rg1", + "api-version": "2015-03-01-preview", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "headers": { + "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult" + } + } + } +} \ No newline at end of file diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/DeleteExtension.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/DeleteExtension.json new file mode 100644 index 000000000000..e9e9d2486215 --- /dev/null +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/DeleteExtension.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "clusterName": "cluster1", + "resourceGroupName": "rg1", + "api-version": "2015-03-01-preview", + "subscriptionId": "subid", + "extensionName": "clustermonitoring" + }, + "responses": { + "200": {}, + "202": {} + } +} \ No newline at end of file diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/DeleteLinuxHadoopCluster.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/DeleteLinuxHadoopCluster.json new file mode 100644 index 000000000000..d1ee5cccf872 --- /dev/null +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/DeleteLinuxHadoopCluster.json @@ -0,0 +1,12 @@ + { + "parameters": { + "clusterName": "cluster1", + "resourceGroupName": "rg1", + "api-version": "2015-03-01-preview", + "subscriptionId": "subid" + }, + "responses": { + "202": {}, + "200": {} + } + } \ No newline at end of file diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/DeleteScriptAction.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/DeleteScriptAction.json new file mode 100644 index 000000000000..421d2718dcb5 --- /dev/null +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/DeleteScriptAction.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "clusterName": "cluster1", + "resourceGroupName": "rg1", + "api-version": "2015-03-01-preview", + "subscriptionId": "subid", + "scriptName": "scriptName" + }, + "responses": { + "200": {} + } +} \ No newline at end of file diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/DisableLinuxClusterMonitoring.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/DisableLinuxClusterMonitoring.json new file mode 100644 index 000000000000..4ee49f8033ca --- /dev/null +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/DisableLinuxClusterMonitoring.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "clusterName": "cluster1", + "resourceGroupName": "rg1", + "api-version": "2015-03-01-preview", + "subscriptionId": "subid" + }, + "responses": { + "200": {}, + "202": {} + } +} \ No newline at end of file diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/EnableLinuxClusterMonitoring.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/EnableLinuxClusterMonitoring.json new file mode 100644 index 000000000000..049991d352a2 --- /dev/null +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/EnableLinuxClusterMonitoring.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "clusterName": "cluster1", + "resourceGroupName": "rg1", + "api-version": "2015-03-01-preview", + "subscriptionId": "subid", + "parameters": { + "workspaceId": "a2090ead-8c9f-4fba-b70e-533e3e003163", + "primaryKey": "**********" + } + }, + "responses": { + "200": {}, + "202": {} + } +} \ No newline at end of file diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetAllApplications.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetAllApplications.json new file mode 100644 index 000000000000..ee7aaeb3d3bb --- /dev/null +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetAllApplications.json @@ -0,0 +1,89 @@ +{ + "parameters": { + "clusterName": "cluster1", + "resourceGroupName": "rg1", + "api-version": "2015-03-01-preview", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [{ + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1/applications/app", + "name": "app", + "type": "Microsoft.HDInsight/clusters/applications", + "etag": "CF938302-6B4D-44A0-A6D2-C0D67E847AEC", + "tags": { "key1": "val1" }, + "properties": { + "computeProfile": { + "roles": [{ + "name": "edgenode", + "targetInstanceCount": 1, + "hardwareProfile": { + "vmSize": "Standard_D12_v2" + } + }] + }, + "installScriptActions": [{ + "name": "app-install-app", + "uri": "http://testurl.com/public/hdi-app/20170301/hdinsight-app-install.sh", + "roles": ["edgenode"] + }], + "uninstallScriptActions": [], + "httpsEndpoints": [{ + "accessModes": ["WebPage"], + "location": "https://cluster1-app.apps.azurehdinsight.net:443", + "destinationPort": 20000, + "publicPort": 443 + }], + "sshEndpoints": [{ + "location": "app.cluster1-ssh.azurehdinsight.net:22", + "destinationPort": 22, + "publicPort": 22 + }], + "provisioningState": "Succeeded", + "applicationState": "Running", + "createdDate": "2017-03-22T21:34:39.293", + "applicationType": "CustomApplication", + "marketplaceIdentifier": "app-on-hdiapp-on-hdi.1.0.3" + } + }, { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1/applications/app2", + "name": "app2", + "type": "Microsoft.HDInsight/clusters/applications", + "etag": "2C128F8E-BB26-4637-99E4-18EBC39FD51F", + "tags": { "key1": "val1" }, + "properties": { + "computeProfile": { + "roles": [{ + "name": "edgenode", + "targetInstanceCount": 1, + "hardwareProfile": { + "vmSize": "Standard_D3" + } + }] + }, + "installScriptActions": [{ + "name": "app2-Install", + "uri": "https://app2url.com/azure/2.4.0.0/app2_install.sh", + "roles": ["edgenode"] + }], + "uninstallScriptActions": [], + "httpsEndpoints": [{ + "accessModes": ["WebPage"], + "location": "location", + "destinationPort": 18630, + "publicPort": 443 + }], + "sshEndpoints": [], + "provisioningState": "InProgress", + "applicationState": "AzureVMConfiguration", + "createdDate": "2017-03-28T02:01:25.107", + "applicationType": "CustomApplication", + "marketplaceIdentifier": "app2-hdinsightsmall.1.0.8" + } + }] + } + } + } +} \ No newline at end of file diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetApplicationCreated.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetApplicationCreated.json new file mode 100644 index 000000000000..42c0dda789ff --- /dev/null +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetApplicationCreated.json @@ -0,0 +1,53 @@ +{ + "parameters": { + "applicationName": "app", + "clusterName": "cluster1", + "resourceGroupName": "rg1", + "api-version": "2015-03-01-preview", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1/applications/app", + "name": "app", + "type": "Microsoft.HDInsight/clusters/applications", + "etag": "CF938302-6B4D-44A0-A6D2-C0D67E847AEC", + "tags": { "key1": "val1" }, + "properties": { + "computeProfile": { + "roles": [{ + "name": "edgenode", + "targetInstanceCount": 1, + "hardwareProfile": { + "vmSize": "Standard_D12_v2" + } + }] + }, + "installScriptActions": [{ + "name": "app-install", + "uri": "http://app.com/public/hdi-app/20170301/app-install.sh", + "roles": ["edgenode"] + }], + "uninstallScriptActions": [], + "httpsEndpoints": [{ + "accessModes": ["WebPage"], + "location": "https://cluster1.apps.azurehdinsight.net:443", + "destinationPort": 20000, + "publicPort": 443 + }], + "sshEndpoints": [{ + "location": "cluster1-ssh.azurehdinsight.net:22", + "destinationPort": 22, + "publicPort": 22 + }], + "provisioningState": "Succeeded", + "applicationState": "Running", + "createdDate": "2017-03-22T21:34:39.293", + "applicationType": "CustomApplication", + "marketplaceIdentifier": "appMarketId" + } + } + } + } +} \ No newline at end of file diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetApplicationInProgress.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetApplicationInProgress.json new file mode 100644 index 000000000000..bd94b57821b4 --- /dev/null +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetApplicationInProgress.json @@ -0,0 +1,49 @@ +{ + "parameters": { + "applicationName": "app", + "clusterName": "cluster1", + "resourceGroupName": "rg1", + "api-version": "2015-03-01-preview", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1/applications/app", + "name": "app", + "type": "Microsoft.HDInsight/clusters/applications", + "etag": "2C128F8E-BB26-4637-99E4-18EBC39FD51F", + "tags": { "key1": "val1" }, + "properties": { + "computeProfile": { + "roles": [{ + "name": "edgenode", + "targetInstanceCount": 1, + "hardwareProfile": { + "vmSize": "Standard_D3" + } + }] + }, + "installScriptActions": [{ + "name": "app-Install", + "uri": "https://app.com/azure/app_install.sh", + "roles": ["edgenode"] + }], + "uninstallScriptActions": [], + "httpsEndpoints": [{ + "accessModes": ["WebPage"], + "location": "location", + "destinationPort": 18630, + "publicPort": 443 + }], + "sshEndpoints": [], + "provisioningState": "InProgress", + "applicationState": "AzureVMConfiguration", + "createdDate": "2017-03-28T02:01:25.107", + "applicationType": "CustomApplication", + "marketplaceIdentifier": "id" + } + } + } + } +} \ No newline at end of file diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetExtension.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetExtension.json new file mode 100644 index 000000000000..0fb5da4969ac --- /dev/null +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetExtension.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "clusterName": "cluster1", + "resourceGroupName": "rg1", + "api-version": "2015-03-01-preview", + "subscriptionId": "subid", + "extensionName": "clustermonitoring" + }, + "responses": { + "200": {} + } +} \ No newline at end of file diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetHDInsightUsages.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetHDInsightUsages.json new file mode 100644 index 000000000000..015cb4e48d2e --- /dev/null +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetHDInsightUsages.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "location": "West US", + "api-version": "2015-03-01-preview", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "Body": { + "value": [ + { + "unit": "Count", + "currentValue": 0, + "limit": 5000, + "name": { + "value": "cores", + "localizedValue": "Cores" + } + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetHttpConnectivity.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetHttpConnectivity.json new file mode 100644 index 000000000000..26033736edd0 --- /dev/null +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetHttpConnectivity.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "clusterName": "cluster1", + "resourceGroupName": "rg1", + "api-version": "2015-03-01-preview", + "subscriptionId": "subid", + "configurationName": "gateway" + }, + "responses": { + "200": { + "body": { + "restAuthCredential.isEnabled": "true", + "restAuthCredential.username": "hadoop", + "restAuthCredential.password": "**********" + } + } + } +} \ No newline at end of file diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetLinuxClusterMonitoringStatus.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetLinuxClusterMonitoringStatus.json new file mode 100644 index 000000000000..a566a5388d20 --- /dev/null +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetLinuxClusterMonitoringStatus.json @@ -0,0 +1,11 @@ +{ + "parameters": { + "clusterName": "cluster1", + "resourceGroupName": "rg1", + "api-version": "2015-03-01-preview", + "subscriptionId": "subid" + }, + "responses": { + "200": {} + } +} \ No newline at end of file diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetLinuxHadoopAllClusters.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetLinuxHadoopAllClusters.json new file mode 100644 index 000000000000..10d2697b2ca9 --- /dev/null +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetLinuxHadoopAllClusters.json @@ -0,0 +1,163 @@ + { + "parameters": { + "api-version": "2015-03-01-preview", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [{ + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1", + "name": "cluster1", + "type": "Microsoft.HDInsight/clusters", + "location": "West US", + "etag": "f0212a39-b827-45e0-9ffa-4f5232e58851", + "tags": { "key1": "val1" }, + "properties": { + "clusterVersion": "3.5.1000.0", + "osType": "Linux", + "clusterDefinition": { + "blueprint": "https://blueprints.azurehdinsight.net/hadoop-3.5.1000.0.9243893.json", + "kind": "hadoop" + }, + "computeProfile": { + "roles": [{ + "name": "headnode", + "targetInstanceCount": 2, + "hardwareProfile": { + "vmSize": "Standard_D3_V2" + }, + "osProfile": { + "linuxOperatingSystemProfile": { + "username": "pulkitssh" + } + } + }, + { + "name": "workernode", + "targetInstanceCount": 4, + "hardwareProfile": { + "vmSize": "Standard_D3_V2" + }, + "osProfile": { + "linuxOperatingSystemProfile": { + "username": "pulkitssh" + } + } + }, + { + "name": "zookeepernode", + "targetInstanceCount": 3, + "hardwareProfile": { + "vmSize": "Medium" + }, + "osProfile": { + "linuxOperatingSystemProfile": { + "username": "pulkitssh" + } + } + } + ] + }, + "provisioningState": "Succeeded", + "clusterState": "Running", + "createdDate": "2017-01-11T18:58:26.187", + "quotaInfo": { + "coresUsed": 24 + }, + "connectivityEndpoints": [{ + "name": "SSH", + "protocol": "TCP", + "location": "cluster1-ssh.azurehdinsight.net", + "port": 22 + }, + { + "name": "HTTPS", + "protocol": "TCP", + "location": "cluster1.azurehdinsight.net", + "port": 443 + } + ], + "tier": "Standard" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster2", + "name": "cluster2", + "type": "Microsoft.HDInsight/clusters", + "location": "West US", + "etag": "f0212a39-b827-45e0-9ffa-4f5232e58851", + "tags": { "key1": "val1" }, + "properties": { + "clusterVersion": "3.5.1000.0", + "osType": "Linux", + "clusterDefinition": { + "blueprint": "https://blueprints.azurehdinsight.net/hadoop-3.5.1000.0.9243893.json", + "kind": "hadoop" + }, + "computeProfile": { + "roles": [{ + "name": "headnode", + "targetInstanceCount": 2, + "hardwareProfile": { + "vmSize": "Standard_D3_V2" + }, + "osProfile": { + "linuxOperatingSystemProfile": { + "username": "pulkitssh" + } + } + }, + { + "name": "workernode", + "targetInstanceCount": 4, + "hardwareProfile": { + "vmSize": "Standard_D3_V2" + }, + "osProfile": { + "linuxOperatingSystemProfile": { + "username": "pulkitssh" + } + } + }, + { + "name": "zookeepernode", + "targetInstanceCount": 3, + "hardwareProfile": { + "vmSize": "Medium" + }, + "osProfile": { + "linuxOperatingSystemProfile": { + "username": "pulkitssh" + } + } + } + ] + }, + "provisioningState": "Succeeded", + "clusterState": "Running", + "createdDate": "2017-01-11T18:58:26.187", + "quotaInfo": { + "coresUsed": 24 + }, + "connectivityEndpoints": [{ + "name": "SSH", + "protocol": "TCP", + "location": "cluster2-ssh.azurehdinsight.net", + "port": 22 + }, + { + "name": "HTTPS", + "protocol": "TCP", + "location": "cluster2.azurehdinsight.net", + "port": 443 + } + ], + "tier": "Standard" + } + } + ] + } + } + } + } \ No newline at end of file diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetLinuxHadoopAllClustersInResourceGroup.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetLinuxHadoopAllClustersInResourceGroup.json new file mode 100644 index 000000000000..d9647b46bae6 --- /dev/null +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetLinuxHadoopAllClustersInResourceGroup.json @@ -0,0 +1,164 @@ + { + "parameters": { + "resourceGroupName": "rg1", + "api-version": "2015-03-01-preview", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [{ + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1", + "name": "cluster1", + "type": "Microsoft.HDInsight/clusters", + "location": "West US", + "etag": "f0212a39-b827-45e0-9ffa-4f5232e58851", + "tags": { "key1": "val1" }, + "properties": { + "clusterVersion": "3.5.1000.0", + "osType": "Linux", + "clusterDefinition": { + "blueprint": "https://blueprints.azurehdinsight.net/hadoop-3.5.1000.0.9243893.json", + "kind": "hadoop" + }, + "computeProfile": { + "roles": [{ + "name": "headnode", + "targetInstanceCount": 2, + "hardwareProfile": { + "vmSize": "Standard_D3_V2" + }, + "osProfile": { + "linuxOperatingSystemProfile": { + "username": "pulkitssh" + } + } + }, + { + "name": "workernode", + "targetInstanceCount": 4, + "hardwareProfile": { + "vmSize": "Standard_D3_V2" + }, + "osProfile": { + "linuxOperatingSystemProfile": { + "username": "pulkitssh" + } + } + }, + { + "name": "zookeepernode", + "targetInstanceCount": 3, + "hardwareProfile": { + "vmSize": "Medium" + }, + "osProfile": { + "linuxOperatingSystemProfile": { + "username": "pulkitssh" + } + } + } + ] + }, + "provisioningState": "Succeeded", + "clusterState": "Running", + "createdDate": "2017-01-11T18:58:26.187", + "quotaInfo": { + "coresUsed": 24 + }, + "connectivityEndpoints": [{ + "name": "SSH", + "protocol": "TCP", + "location": "cluster1-ssh.azurehdinsight.net", + "port": 22 + }, + { + "name": "HTTPS", + "protocol": "TCP", + "location": "cluster1.azurehdinsight.net", + "port": 443 + } + ], + "tier": "Standard" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster2", + "name": "cluster2", + "type": "Microsoft.HDInsight/clusters", + "location": "West US", + "etag": "f0212a39-b827-45e0-9ffa-4f5232e58851", + "tags": { "key1": "val1" }, + "properties": { + "clusterVersion": "3.5.1000.0", + "osType": "Linux", + "clusterDefinition": { + "blueprint": "https://blueprints.azurehdinsight.net/hadoop-3.5.1000.0.9243893.json", + "kind": "hadoop" + }, + "computeProfile": { + "roles": [{ + "name": "headnode", + "targetInstanceCount": 2, + "hardwareProfile": { + "vmSize": "Standard_D3_V2" + }, + "osProfile": { + "linuxOperatingSystemProfile": { + "username": "pulkitssh" + } + } + }, + { + "name": "workernode", + "targetInstanceCount": 4, + "hardwareProfile": { + "vmSize": "Standard_D3_V2" + }, + "osProfile": { + "linuxOperatingSystemProfile": { + "username": "pulkitssh" + } + } + }, + { + "name": "zookeepernode", + "targetInstanceCount": 3, + "hardwareProfile": { + "vmSize": "Medium" + }, + "osProfile": { + "linuxOperatingSystemProfile": { + "username": "pulkitssh" + } + } + } + ] + }, + "provisioningState": "Succeeded", + "clusterState": "Running", + "createdDate": "2017-01-11T18:58:26.187", + "quotaInfo": { + "coresUsed": 24 + }, + "connectivityEndpoints": [{ + "name": "SSH", + "protocol": "TCP", + "location": "cluster2-ssh.azurehdinsight.net", + "port": 22 + }, + { + "name": "HTTPS", + "protocol": "TCP", + "location": "cluster2.azurehdinsight.net", + "port": 443 + } + ], + "tier": "Standard" + } + } + ] + } + } + } + } \ No newline at end of file diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetLinuxHadoopCluster.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetLinuxHadoopCluster.json new file mode 100644 index 000000000000..5cf7ef0bd59d --- /dev/null +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetLinuxHadoopCluster.json @@ -0,0 +1,87 @@ + { + "parameters": { + "clusterName": "cluster1", + "resourceGroupName": "rg1", + "api-version": "2015-03-01-preview", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1", + "name": "cluster1", + "type": "Microsoft.HDInsight/clusters", + "location": "West US", + "etag": "f0212a39-b827-45e0-9ffa-4f5232e58851", + "tags": { "key1": "val1" }, + "properties": { + "clusterVersion": "3.5.1000.0", + "osType": "Linux", + "clusterDefinition": { + "blueprint": "https://blueprints.azurehdinsight.net/hadoop-3.5.1000.0.9243893.json", + "kind": "hadoop" + }, + "computeProfile": { + "roles": [{ + "name": "headnode", + "targetInstanceCount": 2, + "hardwareProfile": { + "vmSize": "Standard_D3_V2" + }, + "osProfile": { + "linuxOperatingSystemProfile": { + "username": "sshuser" + } + } + }, + { + "name": "workernode", + "targetInstanceCount": 4, + "hardwareProfile": { + "vmSize": "Standard_D3_V2" + }, + "osProfile": { + "linuxOperatingSystemProfile": { + "username": "sshuser" + } + } + }, + { + "name": "zookeepernode", + "targetInstanceCount": 3, + "hardwareProfile": { + "vmSize": "Medium" + }, + "osProfile": { + "linuxOperatingSystemProfile": { + "username": "sshuser" + } + } + } + ] + }, + "provisioningState": "Succeeded", + "clusterState": "Running", + "createdDate": "2017-01-11T18:58:26.187", + "quotaInfo": { + "coresUsed": 24 + }, + "connectivityEndpoints": [{ + "name": "SSH", + "protocol": "TCP", + "location": "cluster1-ssh.azurehdinsight.net", + "port": 22 + }, + { + "name": "HTTPS", + "protocol": "TCP", + "location": "cluster1.azurehdinsight.net", + "port": 443 + } + ], + "tier": "Standard" + } + } + } + } + } \ No newline at end of file diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetLinuxHadoopScriptAction.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetLinuxHadoopScriptAction.json new file mode 100644 index 000000000000..eb07e80c7e7f --- /dev/null +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetLinuxHadoopScriptAction.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "clusterName": "cluster1", + "resourceGroupName": "rg1", + "api-version": "2015-03-01-preview", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [{ + "name": "app-Install", + "uri": "https://app.com/azure/app_install.sh", + "parameters": "", + "roles": ["edgenode"], + "applicationName": "app" + }] + } + } + } +} \ No newline at end of file diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetLinuxHadoopScriptExecutionHistory.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetLinuxHadoopScriptExecutionHistory.json new file mode 100644 index 000000000000..8ead93315fbd --- /dev/null +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetLinuxHadoopScriptExecutionHistory.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "clusterName": "cluster1", + "resourceGroupName": "rg1", + "api-version": "2015-03-01-preview", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [{ + "scriptExecutionId": 386120808773799, + "name": "app-install", + "applicationName": "app", + "uri": "http://app.com/public/hdi-app/20170301/hdinsight-app-install.sh", + "parameters": "", + "roles": [ + "edgenode" + ], + "startTime": "2017-03-22T21:40:37.8865514Z", + "endTime": "2017-03-22T22:06:02.1584639Z", + "status": "Succeeded", + "operation": "AppInstall", + "executionSummary": [{ + "status": "COMPLETED", + "instanceCount": 1 + }] + }] + } + } + } +} \ No newline at end of file diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetLinuxSparkCluster.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetLinuxSparkCluster.json new file mode 100644 index 000000000000..41bce37d4458 --- /dev/null +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetLinuxSparkCluster.json @@ -0,0 +1,90 @@ +{ + "parameters": { + "clusterName": "cluster1", + "resourceGroupName": "rg1", + "api-version": "2015-03-01-preview", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1", + "name": "cluster1", + "type": "Microsoft.HDInsight/clusters", + "location": "West US", + "etag": "4cd8b5a9-ca9c-4239-9e5b-3916032e994c", + "tags": { "key1": "val1" }, + "properties": { + "clusterVersion": "3.5.1000.0", + "osType": "Linux", + "clusterDefinition": { + "blueprint": "https://blueprints.azurehdinsight.net/spark-3.5.1000.0.9625065.json", + "kind": "SPARK", + "componentVersion": { + "Spark": "2.0" + } + }, + "computeProfile": { + "roles": [{ + "name": "headnode", + "targetInstanceCount": 2, + "hardwareProfile": { + "vmSize": "Standard_D12_V2" + }, + "osProfile": { + "linuxOperatingSystemProfile": { + "username": "sshuser" + } + } + }, + { + "name": "workernode", + "targetInstanceCount": 4, + "hardwareProfile": { + "vmSize": "Standard_D4_V2" + }, + "osProfile": { + "linuxOperatingSystemProfile": { + "username": "sshuser" + } + } + }, + { + "name": "zookeepernode", + "targetInstanceCount": 3, + "hardwareProfile": { + "vmSize": "Medium" + }, + "osProfile": { + "linuxOperatingSystemProfile": { + "username": "sshuser" + } + } + } + ] + }, + "provisioningState": "Succeeded", + "clusterState": "Running", + "createdDate": "2017-03-03T08:35:07.323", + "quotaInfo": { + "coresUsed": 40 + }, + "connectivityEndpoints": [{ + "name": "SSH", + "protocol": "TCP", + "location": "cluster1-ssh.azurehdinsight.net", + "port": 22 + }, + { + "name": "HTTPS", + "protocol": "TCP", + "location": "cluster1.azurehdinsight.net", + "port": 443 + } + ], + "tier": "Standard" + } + } + } + } +} \ No newline at end of file diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetScriptActionById.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetScriptActionById.json new file mode 100644 index 000000000000..295274810010 --- /dev/null +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetScriptActionById.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "clusterName": "cluster1", + "resourceGroupName": "rg1", + "api-version": "2015-03-01-preview", + "subscriptionId": "subid", + "scriptExecutionId": "391145124054712" + }, + "responses": { + "200": { + "body": { + "scriptExecutionId": 391145124054712, + "name": "Test", + "applicationName": "app1", + "uri": "http://testurl.com/install.ssh", + "parameters": "", + "roles": [ + "headnode", + "workernode" + ], + "startTime": "2017-03-22T21:34:39.293", + "endTime": "2017-03-22T21:34:39.293", + "status": "ValidationFailed", + "operation": "PostClusterCreateScriptActionRequest", + "executionSummary": [], + "debugInformation": "" + } + } + } +} \ No newline at end of file diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetScriptExecutionHistory.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetScriptExecutionHistory.json new file mode 100644 index 000000000000..915ab142370c --- /dev/null +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetScriptExecutionHistory.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "clusterName": "cluster1", + "resourceGroupName": "rg1", + "api-version": "2015-03-01-preview", + "subscriptionId": "subid", + "scriptExecutionId": "391145124054712" + }, + "responses": { + "200": { + "body": { + "value": [{ + "scriptExecutionId": 391145124054712, + "name": "Test", + "applicationName": "app1", + "uri": "http://testurl.com/install.ssh", + "parameters": "", + "roles": [ + "headnode", + "workernode" + ], + "startTime": "2017-03-22T21:34:39.293", + "endTime": "2017-03-22T21:34:39.293", + "status": "ValidationFailed", + "operation": "PostClusterCreateScriptActionRequest", + "executionSummary": [] + }, + { + "scriptExecutionId": 391144597342127, + "name": "Test", + "applicationName": "app2", + "uri": "http://testurl.com/install-script.ssh", + "parameters": "", + "roles": [ + "headnode", + "workernode" + ], + "startTime": "2017-03-22T21:34:39.293", + "endTime": "2017-03-22T21:34:39.293", + "status": "ValidationFailed", + "operation": "PostClusterCreateScriptActionRequest", + "executionSummary": [] + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/PatchLinuxHadoopCluster.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/PatchLinuxHadoopCluster.json new file mode 100644 index 000000000000..d1e24f929c1e --- /dev/null +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/PatchLinuxHadoopCluster.json @@ -0,0 +1,90 @@ + { + "parameters": { + "clusterName": "cluster1", + "resourceGroupName": "rg1", + "api-version": "2015-03-01-preview", + "subscriptionId": "subid", + "parameters": { + "tags": { "key1": "val1", "key2": "val2" } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1", + "name": "cluster1", + "type": "Microsoft.HDInsight/clusters", + "location": "West US", + "etag": "f0212a39-b827-45e0-9ffa-4f5232e58851", + "tags": { "key1": "val1", "key2": "val2" }, + "properties": { + "clusterVersion": "3.5.1000.0", + "osType": "Linux", + "clusterDefinition": { + "blueprint": "https://blueprints.azurehdinsight.net/hadoop-3.5.1000.0.9243893.json", + "kind": "hadoop" + }, + "computeProfile": { + "roles": [{ + "name": "headnode", + "targetInstanceCount": 2, + "hardwareProfile": { + "vmSize": "Standard_D3_V2" + }, + "osProfile": { + "linuxOperatingSystemProfile": { + "username": "sshuser" + } + } + }, + { + "name": "workernode", + "targetInstanceCount": 4, + "hardwareProfile": { + "vmSize": "Standard_D3_V2" + }, + "osProfile": { + "linuxOperatingSystemProfile": { + "username": "sshuser" + } + } + }, + { + "name": "zookeepernode", + "targetInstanceCount": 3, + "hardwareProfile": { + "vmSize": "Medium" + }, + "osProfile": { + "linuxOperatingSystemProfile": { + "username": "sshuser" + } + } + } + ] + }, + "provisioningState": "Succeeded", + "clusterState": "Running", + "createdDate": "2017-01-11T18:58:26.187", + "quotaInfo": { + "coresUsed": 24 + }, + "connectivityEndpoints": [{ + "name": "SSH", + "protocol": "TCP", + "location": "cluster1-ssh.azurehdinsight.net", + "port": 22 + }, + { + "name": "HTTPS", + "protocol": "TCP", + "location": "cluster1.azurehdinsight.net", + "port": 443 + } + ], + "tier": "Standard" + } + } + } + } + } \ No newline at end of file diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/PostExecuteScriptAction.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/PostExecuteScriptAction.json new file mode 100644 index 000000000000..ab31f0a35332 --- /dev/null +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/PostExecuteScriptAction.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "clusterName": "cluster1", + "resourceGroupName": "rg1", + "api-version": "2015-03-01-preview", + "subscriptionId": "subid", + "parameters": { + "scriptActions": [{ + "name": "Test", + "uri": "http://testurl.com/install.ssh", + "roles": [ + "headnode", + "workernode" + ], + "parameters": "" + }], + "persistOnSuccess": false + } + }, + "responses": { + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult" + } + }, + "200": {} + } +} \ No newline at end of file diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/PromoteLinuxHadoopScriptAction.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/PromoteLinuxHadoopScriptAction.json new file mode 100644 index 000000000000..418fbc48acfd --- /dev/null +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/PromoteLinuxHadoopScriptAction.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "clusterName": "cluster1", + "resourceGroupName": "rg1", + "api-version": "2015-03-01-preview", + "subscriptionId": "subid", + "scriptExecutionId": "391145124054712" + }, + "responses": { + "200": {} + } +} \ No newline at end of file diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/RdpSettingsEnable.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/RdpSettingsEnable.json new file mode 100644 index 000000000000..d9c130239a81 --- /dev/null +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/RdpSettingsEnable.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "clusterName": "cluster1", + "resourceGroupName": "rg1", + "api-version": "2015-03-01-preview", + "subscriptionId": "subid", + "parameters": { + "osProfile": { + "windowsOperatingSystemProfile": { + "rdpSettings": { + "username": "hadoop", + "password": "**********", + "expiryDate": "2017-02-28" + } + } + } + } + }, + "responses": { + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult" + } + }, + "200": {} + } +} \ No newline at end of file diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/ResizeLinuxHadoopCluster.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/ResizeLinuxHadoopCluster.json new file mode 100644 index 000000000000..4bad750f3af0 --- /dev/null +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/ResizeLinuxHadoopCluster.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "clusterName": "cluster1", + "resourceGroupName": "rg1", + "api-version": "2015-03-01-preview", + "subscriptionId": "subid", + "roleName": "workernode", + "parameters": { + "targetInstanceCount": 10 + } + }, + "responses": { + "200": {}, + "202": {} + } +} \ No newline at end of file diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/extensions.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/extensions.json new file mode 100644 index 000000000000..126b437dc13d --- /dev/null +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/extensions.json @@ -0,0 +1,346 @@ +{ + "swagger": "2.0", + "info": { + "title": "HDInsightManagementClient", + "description": "The HDInsight Management Client.", + "version": "2015-03-01-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [{ + "azure_auth": [ + "user_impersonation" + ] + }], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/extensions/clustermonitoring": { + "put": { + "tags": [ + "Extensions" + ], + "description": "Enables the Operations Management Suite (OMS) on the HDInsight cluster.", + "x-ms-examples": { + "Enable cluster monitoring": { + "$ref": "./examples/EnableLinuxClusterMonitoring.json" + } + }, + "operationId": "Extension_EnableMonitoring", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ClusterNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ClusterMonitoringRequest" + }, + "description": "The Operations Management Suite (OMS) workspace parameters." + } + ], + "responses": { + "200": { + "description": "Ok response definition." + }, + "202": { + "description": "Accepted response definition." + } + }, + "x-ms-long-running-operation": true + }, + "get": { + "tags": [ + "Extensions" + ], + "description": "Gets the status of Operations Management Suite (OMS) on the HDInsight cluster.", + "x-ms-examples": { + "Enable cluster monitoring": { + "$ref": "./examples/GetLinuxClusterMonitoringStatus.json" + } + }, + "operationId": "Extension_GetMonitoringStatus", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ClusterNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/ClusterMonitoringResponse" + } + } + } + }, + "delete": { + "tags": [ + "Extensions" + ], + "description": "Disables the Operations Management Suite (OMS) on the HDInsight cluster.", + "x-ms-examples": { + "Enable cluster monitoring": { + "$ref": "./examples/DisableLinuxClusterMonitoring.json" + } + }, + "operationId": "Extension_DisableMonitoring", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ClusterNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Ok response definition." + }, + "202": { + "description": "OK response definition." + } + }, + "x-ms-long-running-operation": true + } + }, + + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/extensions/{extensionName}": { + "put": { + "tags": [ + "Extensions" + ], + "description": "Creates an HDInsight cluster extension.", + "operationId": "Extension_Create", + "x-ms-examples": { + "Create a monitoring extension on Hadoop Linux cluster": { + "$ref": "./examples/CreateExtension.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ClusterNameParameter" + }, + { + "$ref": "#/parameters/ExtensionNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Extension" + }, + "description": "The cluster extensions create request." + } + ], + "responses": { + "202": { + "description": "OK. The request has succeeded." + } + } + }, + "get": { + "tags": [ + "Extensions" + ], + "description": "Gets the extension properties for the specified HDInsight cluster extension.", + "x-ms-examples": { + "Get an extension": { + "$ref": "./examples/GetExtension.json" + } + }, + "operationId": "Extension_Get", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ClusterNameParameter" + }, + { + "$ref": "#/parameters/ExtensionNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/Extension" + } + } + } + }, + "delete": { + "tags": [ + "Extensions" + ], + "description": "Deletes the specified extension for HDInsight cluster.", + "x-ms-examples": { + "Delete an extension": { + "$ref": "./examples/DeleteExtension.json" + } + }, + "operationId": "Extension_Delete", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ClusterNameParameter" + }, + { + "$ref": "#/parameters/ExtensionNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "202": { + "description": "OK response definition." + } + } + } + } + }, + "definitions": { + "Extension": { + "description": "Cluster monitoring extensions", + "properties": { + "workspaceId": { + "description": "The workspace ID for the cluster monitoring extension.", + "type": "string" + }, + "primaryKey": { + "description": "The certificate for the cluster monitoring extensions.", + "type": "string" + } + } + }, + "ClusterMonitoringResponse": { + "description": "The Operations Management Suite (OMS) status response", + "properties": { + "clusterMonitoringEnabled": { + "description": "The status of the Operations Management Suite (OMS) on the HDInsight cluster.", + "type": "boolean" + }, + "workspaceId": { + "description": "The workspace ID of the Operations Management Suite (OMS) on the HDInsight cluster.", + "type": "string" + } + } + }, + "ClusterMonitoringRequest": { + "description": "The Operations Management Suite (OMS) parameters.", + "properties": { + "workspaceId": { + "description": "The Operations Management Suite (OMS) workspace ID.", + "type": "string" + }, + "primaryKey": { + "description": "The Operations Management Suite (OMS) workspace key.", + "type": "string" + } + } + } + }, + "parameters": { + "SubscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "required": true, + "type": "string", + "description": "The subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call." + }, + "ResourceGroupNameParameter": { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + "ClusterNameParameter": { + "name": "clusterName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the cluster." + }, + "ExtensionNameParameter": { + "name": "extensionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the cluster extension." + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "The HDInsight client API Version." + } + } +} \ No newline at end of file diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/locations.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/locations.json new file mode 100644 index 000000000000..38c5b1ea08ca --- /dev/null +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/locations.json @@ -0,0 +1,140 @@ +{ + "swagger": "2.0", + "info": { + "title": "HDInsightManagementClient", + "description": "The HDInsight Management Client.", + "version": "2015-03-01-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [{ + "azure_auth": [ + "user_impersonation" + ] + }], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/locations/{location}/usages": { + "get": { + "tags": [ + "Regions" + ], + "operationId": "Location_ListUsages", + "description": "Lists the usages for the specified location.", + "x-ms-examples": { + "Get the subscription usages for specific location": { + "$ref": "./examples/GetHDInsightUsages.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/LocationParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK response definition.", + "schema": { + "$ref": "#/definitions/UsagesResult" + } + } + } + } + } + }, + "definitions": { + "LocalizedName": { + "description": "The details about the localizable name of a type of usage.", + "properties": { + "value": { + "description": "The name of the used resource.", + "type": "string" + }, + "localizedValue": { + "description": "The localized name of the used resource.", + "type": "string" + } + } + }, + "Usage": { + "description": "The details about the usage of a particular limited resource.", + "properties": { + "unit": { + "description": "The type of measurement for usage.", + "type": "string" + }, + "currentValue": { + "description": "The current usage.", + "type": "integer" + }, + "limit": { + "description": "The maximum allowed usage.", + "type": "integer" + }, + "name": { + "description": "The details about the localizable name of the used resource.", + "$ref": "#/definitions/LocalizedName" + } + } + }, + "UsagesResult": { + "description": "The response for the operation to get regional usages for a subscription.", + "properties": { + "value": { + "description": "The list of usages.", + "type": "array", + "items": { + "$ref": "#/definitions/Usage" + } + } + } + } + }, + "parameters": { + "SubscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "required": true, + "type": "string", + "description": "The subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call." + }, + "LocationParameter": { + "name": "location", + "in": "path", + "required": true, + "type": "string", + "description": "The location to get capabilities for." + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "The HDInsight client API Version." + } + } +} \ No newline at end of file diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/operations.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/operations.json new file mode 100644 index 000000000000..0953b06d5b35 --- /dev/null +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/operations.json @@ -0,0 +1,103 @@ +{ + "swagger": "2.0", + "info": { + "title": "HDInsightManagementClient", + "description": "The HDInsight Management Client.", + "version": "2015-03-01-preview" + }, + "host": "management.azure.com", + "schemes": ["https"], + "consumes": ["application/json"], + "produces": ["application/json"], + "security": [{ + "azure_auth": ["user_impersonation"] + }], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/providers/Microsoft.HDInsight/operations": { + "get": { + "tags": ["Operations"], + "description": "Lists all of the available HDInsight REST API operations.", + "operationId": "Operations_List", + "parameters": [{ + "$ref": "#/parameters/ApiVersionParameter" + }], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/OperationListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "Operation": { + "description": "The HDInsight REST API operation.", + "type": "object", + "properties": { + "name": { + "description": "The operation name: {provider}/{resource}/{operation}", + "type": "string" + }, + "display": { + "description": "The object that represents the operation.", + "properties": { + "provider": { + "description": "The service provider: Microsoft.HDInsight", + "type": "string" + }, + "resource": { + "description": "The resource on which the operation is performed: Cluster, Applications, etc.", + "type": "string" + }, + "operation": { + "description": "The operation type: read, write, delete, etc.", + "type": "string" + } + } + } + } + }, + "OperationListResult": { + "description": "Result of the request to list HDInsight operations. It contains a list of operations and a URL link to get the next set of results.", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Operation" + }, + "description": "The list of HDInsight operations supported by the HDInsight resource provider." + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of operation list results if there are any." + } + } + } + }, + "parameters": { + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "The HDInsight client API Version." + } + } +} \ No newline at end of file diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/scriptActions.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/scriptActions.json new file mode 100644 index 000000000000..f800818412b7 --- /dev/null +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/scriptActions.json @@ -0,0 +1,420 @@ +{ + "swagger": "2.0", + "info": { + "title": "HDInsightManagementClient", + "description": "The HDInsight Management Client.", + "version": "2015-03-01-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [{ + "azure_auth": [ + "user_impersonation" + ] + }], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/scriptActions/{scriptName}": { + "delete": { + "tags": [ + "ScriptActions" + ], + "operationId": "ScriptActions_Delete", + "description": "Deletes a specified persisted script action of the cluster.", + "x-ms-examples": { + "Delete a script action on HDInsight cluster": { + "$ref": "./examples/DeleteScriptAction.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ClusterNameParameter" + }, + { + "$ref": "#/parameters/ScriptNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK response definition." + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/executeScriptActions": { + "post": { + "tags": [ + "Clusters" + ], + "operationId": "Clusters_ExecuteScriptActions", + "description": "Executes script actions on the specified HDInsight cluster.", + "x-ms-examples": { + "Execute script action on HDInsight cluster": { + "$ref": "./examples/PostExecuteScriptAction.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ClusterNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "./cluster.json#/definitions/ExecuteScriptActionParameters" + }, + "description": "The parameters for executing script actions." + } + ], + "responses": { + "202": { + "description": "OK response definition." + }, + "200": { + "description": "Accepted response definition." + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/scriptActions": { + "get": { + "tags": [ + "ScriptActions" + ], + "operationId": "ScriptActions_ListPersistedScripts", + "description": "Lists all the persisted script actions for the specified cluster.", + "x-ms-examples": { + "List all persisted script actions for the given cluster": { + "$ref": "./examples/GetLinuxHadoopScriptAction.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ClusterNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK response definition.", + "schema": { + "$ref": "#/definitions/ScriptActionsList" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/scriptExecutionHistory/{scriptExecutionId}": { + "get": { + "tags": [ + "ScriptExecutionHistory" + ], + "operationId": "ScriptActions_GetExecutionDetail", + "description": "Gets the script execution detail for the given script execution ID.", + "x-ms-examples": { + "Get script execution history by script id": { + "$ref": "./examples/GetScriptActionById.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ClusterNameParameter" + }, + { + "$ref": "#/parameters/ScriptExecutionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK response definition.", + "schema": { + "$ref": "./cluster.json#/definitions/RuntimeScriptActionDetail" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/scriptExecutionHistory": { + "get": { + "tags": [ + "ScriptExecutionHistory" + ], + "operationId": "ScriptExecutionHistory_List", + "description": "Lists all scripts' execution history for the specified cluster.", + "x-ms-examples": { + "Get Script Execution History List": { + "$ref": "./examples/GetScriptExecutionHistory.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ClusterNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK response definition.", + "schema": { + "$ref": "#/definitions/ScriptActionExecutionHistoryList" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/scriptExecutionHistory/{scriptExecutionId}/promote": { + "post": { + "tags": [ + "Promote" + ], + "operationId": "ScriptExecutionHistory_Promote", + "description": "Promotes the specified ad-hoc script execution to a persisted script.", + "x-ms-examples": { + "Promote a script action on HDInsight cluster": { + "$ref": "./examples/PromoteLinuxHadoopScriptAction.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ClusterNameParameter" + }, + { + "$ref": "#/parameters/ScriptExecutionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK response definition." + } + } + } + } + }, + "definitions": { + "ScriptActionExecutionHistoryList": { + "description": "The list script execution history response.", + "properties": { + "value": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "./cluster.json#/definitions/RuntimeScriptActionDetail" + }, + "description": "The list of persisted script action details for the cluster." + }, + "nextLink": { + "type": "string", + "readOnly": true, + "description": "The link (url) to the next page of results." + } + } + }, + "ClusterListRuntimeScriptActionDetailResult": { + "description": "The list runtime script action detail response.", + "properties": { + "value": { + "description": "The list of persisted script action details for the cluster.", + "readOnly": true, + "type": "array", + "items": { + "$ref": "./cluster.json#/definitions/RuntimeScriptActionDetail" + } + }, + "nextLink": { + "type": "string", + "readOnly": true, + "description": "The link (url) to the next page of results." + } + } + }, + "ScriptAction": { + "properties": { + "name": { + "type": "string", + "description": "The name of the script action." + }, + "uri": { + "type": "string", + "description": "The URI to the script." + }, + "parameters": { + "type": "string", + "description": "The parameters for the script provided." + } + }, + "required": [ + "name", + "uri", + "parameters" + ], + "description": "Describes a script action on role on the cluster." + }, + "ScriptActionPersistedGetResponseSpec": { + "description": "The persisted script action for cluster.", + "properties": { + "name": { + "type": "string", + "description": "The name of script action." + }, + "uri": { + "type": "string", + "description": "The URI to the script." + }, + "parameters": { + "type": "string", + "description": "The parameters for the script provided." + }, + "roles": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The list of roles where script will be executed." + }, + "applicationName": { + "type": "string", + "description": "The application name for the script action." + } + } + }, + "ScriptActionsList": { + "description": "The persisted script action for the cluster.", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "./cluster.json#/definitions/RuntimeScriptActionDetail" + }, + "description": "The list of persisted script action details for the cluster." + }, + "nextLink": { + "type": "string", + "readOnly": true, + "description": "The link (url) to the next page of results." + } + } + } + }, + "parameters": { + "SubscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "required": true, + "type": "string", + "description": "The subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call." + }, + "ResourceGroupNameParameter": { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + "ClusterNameParameter": { + "name": "clusterName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the cluster." + }, + "ScriptNameParameter": { + "name": "scriptName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the script." + }, + "ScriptExecutionIdParameter": { + "name": "scriptExecutionId", + "in": "path", + "required": true, + "type": "string", + "description": "The script execution Id" + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "The HDInsight client API Version." + } + } +} \ No newline at end of file diff --git a/specification/hdinsight/resource-manager/readme.md b/specification/hdinsight/resource-manager/readme.md index 98df4059a05b..6d8dd5b58be2 100644 --- a/specification/hdinsight/resource-manager/readme.md +++ b/specification/hdinsight/resource-manager/readme.md @@ -29,7 +29,23 @@ title: HDInsightManagementClient description: HDInsight Management Client openapi-type: arm azure-arm: true -tag: package-2015-03-preview +tag: package-2018-06-preview +``` + + +### Tag: package-2018-06-preview + +These settings apply only when `--tag=package-2018-06-preview` is specified on the command line. + +``` yaml $(tag) == 'package-2018-06-preview' +input-file: +- Microsoft.HDInsight/preview/2018-06-01-preview/cluster.json +- Microsoft.HDInsight/preview/2018-06-01-preview/applications.json +- Microsoft.HDInsight/preview/2018-06-01-preview/locations.json +- Microsoft.HDInsight/preview/2018-06-01-preview/configurations.json +- Microsoft.HDInsight/preview/2018-06-01-preview/extensions.json +- Microsoft.HDInsight/preview/2018-06-01-preview/scriptActions.json +- Microsoft.HDInsight/preview/2018-06-01-preview/operations.json ``` @@ -85,9 +101,19 @@ go: ``` yaml $(go) && $(multiapi) batch: + - tag: package-2018-06-preview - tag: package-2015-03-preview ``` +### Tag: package-2018-06-preview and go + +These settings apply only when `--tag=package-2018-06-preview --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2018-06-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/hdinsight/mgmt/2018-06-01-preview/hdinsight +``` + ### Tag: package-2015-03-preview and go These settings apply only when `--tag=package-2015-03-preview --go` is specified on the command line. @@ -97,6 +123,7 @@ Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2018-06-preview' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.hdinsight.v2018_06_01_preview + output-folder: $(azure-libraries-for-java-folder)/hdinsight/resource-manager/v2018_06_01_preview +regenerate-manager: true +generate-interface: true +``` + + ### Tag: package-2015-03-preview and java These settings apply only when `--tag=package-2015-03-preview --java` is specified on the command line. From 7568349164f77796def960a03b11acae99de64c8 Mon Sep 17 00:00:00 2001 From: Wai Sing Wong Date: Thu, 21 Jun 2018 18:24:35 -0700 Subject: [PATCH 07/13] Various minor changes: fixed API version in specs and examples, renamed properties, renamed operations, fixed examples, added x-ms-parameter-location to certain parameters, and made usages readonly. --- .../2015-03-01-preview/applications.json | 19 +- .../preview/2015-03-01-preview/cluster.json | 12 +- .../2015-03-01-preview/configurations.json | 9 +- .../2015-03-01-preview/extensions.json | 15 +- .../preview/2015-03-01-preview/locations.json | 7 +- .../2015-03-01-preview/scriptActions.json | 12 +- .../2018-06-01-preview/applications.json | 809 +++++++++--------- .../preview/2018-06-01-preview/cluster.json | 14 +- .../2018-06-01-preview/configurations.json | 11 +- .../ChangeHttpConnectivityDisable.json | 2 +- .../ChangeHttpConnectivityEnable.json | 2 +- .../examples/CreateApplication.json | 42 +- .../examples/CreateExtension.json | 2 +- .../CreateLinuxHadoopSecureHadoop.json | 2 +- .../CreateLinuxHadoopSshPassword.json | 2 +- .../CreateLinuxHadoopSshPublicKey.json | 2 +- .../examples/CreateLinuxSparkSshPassword.json | 2 +- .../examples/DeleteApplication.json | 2 +- .../examples/DeleteExtension.json | 2 +- .../examples/DeleteLinuxHadoopCluster.json | 2 +- .../examples/DeleteScriptAction.json | 2 +- .../DisableLinuxClusterMonitoring.json | 2 +- .../EnableLinuxClusterMonitoring.json | 2 +- .../examples/GetAllApplications.json | 2 +- .../examples/GetApplicationCreated.json | 2 +- .../examples/GetApplicationInProgress.json | 2 +- .../examples/GetExtension.json | 2 +- .../examples/GetHDInsightUsages.json | 2 +- .../examples/GetHttpConnectivity.json | 2 +- .../GetLinuxClusterMonitoringStatus.json | 2 +- .../examples/GetLinuxHadoopAllClusters.json | 2 +- ...LinuxHadoopAllClustersInResourceGroup.json | 2 +- .../examples/GetLinuxHadoopCluster.json | 2 +- .../examples/GetLinuxHadoopScriptAction.json | 2 +- .../GetLinuxHadoopScriptExecutionHistory.json | 2 +- .../examples/GetLinuxSparkCluster.json | 2 +- .../examples/GetScriptActionById.json | 2 +- .../examples/GetScriptExecutionHistory.json | 2 +- .../examples/PatchLinuxHadoopCluster.json | 2 +- .../examples/PostExecuteScriptAction.json | 2 +- .../PromoteLinuxHadoopScriptAction.json | 2 +- .../examples/RdpSettingsEnable.json | 2 +- .../examples/ResizeLinuxHadoopCluster.json | 2 +- .../2018-06-01-preview/extensions.json | 39 +- .../preview/2018-06-01-preview/locations.json | 18 +- .../2018-06-01-preview/operations.json | 8 +- .../2018-06-01-preview/scriptActions.json | 18 +- 47 files changed, 587 insertions(+), 512 deletions(-) diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/applications.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/applications.json index ecb1c06d5a8d..8d64566292b3 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/applications.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/applications.json @@ -37,7 +37,7 @@ "tags": [ "Applications" ], - "description": "Lists all of the applications HDInsight cluster.", + "description": "Lists all of the applications for the HDInsight cluster.", "operationId": "Applications_List", "x-ms-examples": { "Get All Applications for an HDInsight cluster": { @@ -144,7 +144,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/ApplicationGetProperties" + "$ref": "#/definitions/ApplicationProperties" }, "description": "The application create request." } @@ -246,7 +246,7 @@ } } }, - "ApplicationGetProperties": { + "ApplicationProperties": { "description": "The HDInsight cluster application GET response.", "type": "object", "properties": { @@ -299,7 +299,7 @@ "errors": { "type": "array", "items": { - "$ref": "./cluster.json#/definitions/errors" + "$ref": "./cluster.json#/definitions/Errors" }, "description": "The list of errors." }, @@ -340,7 +340,7 @@ } }, "properties": { - "$ref": "#/definitions/ApplicationGetProperties", + "$ref": "#/definitions/ApplicationProperties", "description": "The properties of the application." } } @@ -376,21 +376,24 @@ "in": "path", "required": true, "type": "string", - "description": "The name of the resource group." + "description": "The name of the resource group.", + "x-ms-parameter-location": "method" }, "ClusterNameParameter": { "name": "clusterName", "in": "path", "required": true, "type": "string", - "description": "The name of the cluster." + "description": "The name of the cluster.", + "x-ms-parameter-location": "method" }, "ApplicationNameParameter": { "name": "applicationName", "in": "path", "required": true, "type": "string", - "description": "The constant value for the application name." + "description": "The constant value for the application name.", + "x-ms-parameter-location": "method" }, "ApiVersionParameter": { "name": "api-version", diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/cluster.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/cluster.json index ccdf009d25cf..3fd6c644513f 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/cluster.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/cluster.json @@ -675,7 +675,7 @@ } } }, - "errors": { + "Errors": { "description": "The error message associated with the cluster creation.", "properties": { "code": { @@ -783,7 +783,7 @@ "errors": { "type": "array", "items": { - "$ref": "#/definitions/errors" + "$ref": "#/definitions/Errors" }, "description": "The list of errors." }, @@ -1012,7 +1012,7 @@ } }, "error": { - "$ref": "#/definitions/errors", + "$ref": "#/definitions/Errors", "description": "The operation error information." } }, @@ -1134,14 +1134,16 @@ "in": "path", "required": true, "type": "string", - "description": "The name of the resource group." + "description": "The name of the resource group.", + "x-ms-parameter-location": "method" }, "ClusterNameParameter": { "name": "clusterName", "in": "path", "required": true, "type": "string", - "description": "The name of the cluster." + "description": "The name of the cluster.", + "x-ms-parameter-location": "method" }, "ApiVersionParameter": { "name": "api-version", diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/configurations.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/configurations.json index ea625f2f685f..0fdf0a29cbc2 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/configurations.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/configurations.json @@ -147,21 +147,24 @@ "in": "path", "required": true, "type": "string", - "description": "The name of the resource group." + "description": "The name of the resource group.", + "x-ms-parameter-location": "method" }, "ClusterNameParameter": { "name": "clusterName", "in": "path", "required": true, "type": "string", - "description": "The name of the cluster." + "description": "The name of the cluster.", + "x-ms-parameter-location": "method" }, "ConfigurationNameParameter": { "name": "configurationName", "in": "path", "required": true, "type": "string", - "description": "The name of the cluster configuration." + "description": "The name of the cluster configuration.", + "x-ms-parameter-location": "method" }, "ApiVersionParameter": { "name": "api-version", diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/extensions.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/extensions.json index 126b437dc13d..d18ef92a50f1 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/extensions.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/extensions.json @@ -187,6 +187,9 @@ } ], "responses": { + "200": { + "description": "OK. The request has succeeded." + }, "202": { "description": "OK. The request has succeeded." } @@ -258,6 +261,9 @@ } ], "responses": { + "200": { + "description": "Ok response definition." + }, "202": { "description": "OK response definition." } @@ -319,21 +325,24 @@ "in": "path", "required": true, "type": "string", - "description": "The name of the resource group." + "description": "The name of the resource group.", + "x-ms-parameter-location": "method" }, "ClusterNameParameter": { "name": "clusterName", "in": "path", "required": true, "type": "string", - "description": "The name of the cluster." + "description": "The name of the cluster.", + "x-ms-parameter-location": "method" }, "ExtensionNameParameter": { "name": "extensionName", "in": "path", "required": true, "type": "string", - "description": "The name of the cluster extension." + "description": "The name of the cluster extension.", + "x-ms-parameter-location": "method" }, "ApiVersionParameter": { "name": "api-version", diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/locations.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/locations.json index 571c6415a289..10bc73033d72 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/locations.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/locations.json @@ -92,7 +92,7 @@ "200": { "description": "OK response definition.", "schema": { - "$ref": "#/definitions/UsagesResult" + "$ref": "#/definitions/UsagesListResult" } } } @@ -313,7 +313,7 @@ } } }, - "UsagesResult": { + "UsagesListResult": { "description": "The response for the operation to get regional usages for a subscription.", "properties": { "value": { @@ -339,7 +339,8 @@ "in": "path", "required": true, "type": "string", - "description": "The location." + "description": "The location.", + "x-ms-parameter-location": "method" }, "ApiVersionParameter": { "name": "api-version", diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/scriptActions.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/scriptActions.json index f800818412b7..7bbcb64f473c 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/scriptActions.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/scriptActions.json @@ -386,28 +386,32 @@ "in": "path", "required": true, "type": "string", - "description": "The name of the resource group." + "description": "The name of the resource group.", + "x-ms-parameter-location": "method" }, "ClusterNameParameter": { "name": "clusterName", "in": "path", "required": true, "type": "string", - "description": "The name of the cluster." + "description": "The name of the cluster.", + "x-ms-parameter-location": "method" }, "ScriptNameParameter": { "name": "scriptName", "in": "path", "required": true, "type": "string", - "description": "The name of the script." + "description": "The name of the script.", + "x-ms-parameter-location": "method" }, "ScriptExecutionIdParameter": { "name": "scriptExecutionId", "in": "path", "required": true, "type": "string", - "description": "The script execution Id" + "description": "The script execution Id", + "x-ms-parameter-location": "method" }, "ApiVersionParameter": { "name": "api-version", diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/applications.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/applications.json index ecb1c06d5a8d..3af93a237ba5 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/applications.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/applications.json @@ -1,403 +1,408 @@ -{ - "swagger": "2.0", - "info": { - "title": "HDInsightManagementClient", - "description": "The HDInsight Management Client.", - "version": "2015-03-01-preview" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "security": [{ - "azure_auth": [ - "user_impersonation" - ] - }], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/applications": { - "get": { - "tags": [ - "Applications" - ], - "description": "Lists all of the applications HDInsight cluster.", - "operationId": "Applications_List", - "x-ms-examples": { - "Get All Applications for an HDInsight cluster": { - "$ref": "./examples/GetAllApplications.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ClusterNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK. The request has succeeded.", - "schema": { - "$ref": "#/definitions/ApplicationListResult" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/applications/{applicationName}": { - "get": { - "tags": [ - "Applications" - ], - "description": "Lists properties of the specified application.", - "operationId": "Applications_Get", - "x-ms-examples": { - "Get application on HDInsight cluster successfully created.": { - "$ref": "./examples/GetApplicationCreated.json" - }, - "Get application on HDInsight cluster creation in progress": { - "$ref": "./examples/GetApplicationInProgress.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ClusterNameParameter" - }, - { - "$ref": "#/parameters/ApplicationNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK. The request has succeeded.", - "schema": { - "$ref": "#/definitions/Application" - } - } - } - }, - "put": { - "tags": [ - "Applications" - ], - "description": "Creates applications for the HDInsight cluster.", - "operationId": "Applications_Create", - "x-ms-examples": { - "Create Application": { - "$ref": "./examples/CreateApplication.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ClusterNameParameter" - }, - { - "$ref": "#/parameters/ApplicationNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ApplicationGetProperties" - }, - "description": "The application create request." - } - ], - "responses": { - "200": { - "description": "OK. The request has succeeded.", - "schema": { - "$ref": "#/definitions/Application" - } - } - } - }, - "delete": { - "tags": [ - "Applications" - ], - "description": "Deletes the specified application on the HDInsight cluster.", - "operationId": "Applications_Delete", - "x-ms-examples": { - "Delete Application from HDInsight cluster": { - "$ref": "./examples/DeleteApplication.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ClusterNameParameter" - }, - { - "$ref": "#/parameters/ApplicationNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK. The request has succeeded." - } - }, - "x-ms-long-running-operation": true - } - } - }, - "definitions": { - "ApplicationGetHttpsEndpoint": { - "description": "Gets the application HTTP endpoints.", - "type": "object", - "properties": { - "accessModes": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The list of access modes for the application." - }, - "location": { - "type": "string", - "description": "The location of the endpoint." - }, - "destinationPort": { - "type": "integer", - "format": "int32", - "description": "The destination port to connect to." - }, - "publicPort": { - "type": "integer", - "format": "int32", - "description": "The public port to connect to." - } - }, - "additionalProperties": { - "type": "string" - } - }, - "ApplicationGetEndpoint": { - "description": "Gets the application SSH endpoint", - "type": "object", - "properties": { - "location": { - "type": "string", - "description": "The location of the endpoint." - }, - "destinationPort": { - "type": "integer", - "format": "int32", - "description": "The destination port to connect to." - }, - "publicPort": { - "type": "integer", - "format": "int32", - "description": "The public port to connect to." - } - } - }, - "ApplicationGetProperties": { - "description": "The HDInsight cluster application GET response.", - "type": "object", - "properties": { - "computeProfile": { - "$ref": "./cluster.json#/definitions/ComputeProfile", - "description": "The list of roles in the cluster." - }, - "installScriptActions": { - "type": "array", - "items": { - "$ref": "./cluster.json#/definitions/RuntimeScriptAction" - }, - "description": "The list of install script actions." - }, - "uninstallScriptActions": { - "type": "array", - "items": { - "$ref": "./cluster.json#/definitions/RuntimeScriptAction" - }, - "description": "The list of uninstall script actions." - }, - "httpsEndpoints": { - "type": "array", - "items": { - "$ref": "#/definitions/ApplicationGetHttpsEndpoint" - }, - "description": "The list of application HTTPS endpoints." - }, - "sshEndpoints": { - "type": "array", - "items": { - "$ref": "#/definitions/ApplicationGetEndpoint" - }, - "description": "The list of application SSH endpoints." - }, - "provisioningState": { - "readOnly": true, - "type": "string", - "description": "The provisioning state of the application." - }, - "applicationType": { - "type": "string", - "description": "The application type." - }, - "applicationState": { - "readOnly": true, - "type": "string", - "description": "The application state." - }, - "errors": { - "type": "array", - "items": { - "$ref": "./cluster.json#/definitions/errors" - }, - "description": "The list of errors." - }, - "createdDate": { - "readOnly": true, - "type": "string", - "description": "The application create date time." - }, - "marketplaceIdentifier": { - "readOnly": true, - "type": "string", - "description": "The marketplace identifier." - }, - "additionalProperties": { - "description": "The additional properties for application.", - "type": "string" - } - } - }, - "Application": { - "description": "The HDInsight cluster application", - "type": "object", - "allOf": [ - { - "$ref": "./cluster.json#/definitions/ProxyResource" - } - ], - "properties": { - "etag": { - "description": "The ETag for the application", - "type": "string" - }, - "tags": { - "description": "The tags for the application.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "properties": { - "$ref": "#/definitions/ApplicationGetProperties", - "description": "The properties of the application." - } - } - }, - "ApplicationListResult": { - "description": "Result of the request to list cluster Applications. It contains a list of operations and a URL link to get the next set of results.", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Application" - }, - "description": "The list of HDInsight applications installed on HDInsight cluster." - }, - "nextLink": { - "type": "string", - "readOnly": true, - "description": "The URL to get the next set of operation list results if there are any." - } - } - } - }, - "parameters": { - "SubscriptionIdParameter": { - "name": "subscriptionId", - "in": "path", - "required": true, - "type": "string", - "description": "The subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call." - }, - "ResourceGroupNameParameter": { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - "ClusterNameParameter": { - "name": "clusterName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the cluster." - }, - "ApplicationNameParameter": { - "name": "applicationName", - "in": "path", - "required": true, - "type": "string", - "description": "The constant value for the application name." - }, - "ApiVersionParameter": { - "name": "api-version", - "in": "query", - "required": true, - "type": "string", - "description": "The HDInsight client API Version." - } - } +{ + "swagger": "2.0", + "info": { + "title": "HDInsightManagementClient", + "description": "The HDInsight Management Client.", + "version": "2018-06-01-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/applications": { + "get": { + "tags": [ + "Applications" + ], + "description": "Lists all of the applications for the HDInsight cluster.", + "operationId": "Applications_ListByCluster", + "x-ms-examples": { + "Get All Applications for an HDInsight cluster": { + "$ref": "./examples/GetAllApplications.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ClusterNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/ApplicationListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/applications/{applicationName}": { + "get": { + "tags": [ + "Applications" + ], + "description": "Lists properties of the specified application.", + "operationId": "Applications_Get", + "x-ms-examples": { + "Get application on HDInsight cluster successfully created.": { + "$ref": "./examples/GetApplicationCreated.json" + }, + "Get application on HDInsight cluster creation in progress": { + "$ref": "./examples/GetApplicationInProgress.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ClusterNameParameter" + }, + { + "$ref": "#/parameters/ApplicationNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/Application" + } + } + } + }, + "put": { + "tags": [ + "Applications" + ], + "description": "Creates applications for the HDInsight cluster.", + "operationId": "Applications_Create", + "x-ms-examples": { + "Create Application": { + "$ref": "./examples/CreateApplication.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ClusterNameParameter" + }, + { + "$ref": "#/parameters/ApplicationNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ApplicationProperties" + }, + "description": "The application create request." + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/Application" + } + } + } + }, + "delete": { + "tags": [ + "Applications" + ], + "description": "Deletes the specified application on the HDInsight cluster.", + "operationId": "Applications_Delete", + "x-ms-examples": { + "Delete Application from HDInsight cluster": { + "$ref": "./examples/DeleteApplication.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ClusterNameParameter" + }, + { + "$ref": "#/parameters/ApplicationNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded." + } + }, + "x-ms-long-running-operation": true + } + } + }, + "definitions": { + "ApplicationGetHttpsEndpoint": { + "description": "Gets the application HTTP endpoints.", + "type": "object", + "properties": { + "accessModes": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The list of access modes for the application." + }, + "location": { + "type": "string", + "description": "The location of the endpoint." + }, + "destinationPort": { + "type": "integer", + "format": "int32", + "description": "The destination port to connect to." + }, + "publicPort": { + "type": "integer", + "format": "int32", + "description": "The public port to connect to." + } + }, + "additionalProperties": { + "type": "string" + } + }, + "ApplicationGetEndpoint": { + "description": "Gets the application SSH endpoint", + "type": "object", + "properties": { + "location": { + "type": "string", + "description": "The location of the endpoint." + }, + "destinationPort": { + "type": "integer", + "format": "int32", + "description": "The destination port to connect to." + }, + "publicPort": { + "type": "integer", + "format": "int32", + "description": "The public port to connect to." + } + } + }, + "ApplicationProperties": { + "description": "The HDInsight cluster application GET response.", + "type": "object", + "properties": { + "computeProfile": { + "$ref": "./cluster.json#/definitions/ComputeProfile", + "description": "The list of roles in the cluster." + }, + "installScriptActions": { + "type": "array", + "items": { + "$ref": "./cluster.json#/definitions/RuntimeScriptAction" + }, + "description": "The list of install script actions." + }, + "uninstallScriptActions": { + "type": "array", + "items": { + "$ref": "./cluster.json#/definitions/RuntimeScriptAction" + }, + "description": "The list of uninstall script actions." + }, + "httpsEndpoints": { + "type": "array", + "items": { + "$ref": "#/definitions/ApplicationGetHttpsEndpoint" + }, + "description": "The list of application HTTPS endpoints." + }, + "sshEndpoints": { + "type": "array", + "items": { + "$ref": "#/definitions/ApplicationGetEndpoint" + }, + "description": "The list of application SSH endpoints." + }, + "provisioningState": { + "readOnly": true, + "type": "string", + "description": "The provisioning state of the application." + }, + "applicationType": { + "type": "string", + "description": "The application type." + }, + "applicationState": { + "readOnly": true, + "type": "string", + "description": "The application state." + }, + "errors": { + "type": "array", + "items": { + "$ref": "./cluster.json#/definitions/Errors" + }, + "description": "The list of errors." + }, + "createdDate": { + "readOnly": true, + "type": "string", + "description": "The application create date time." + }, + "marketplaceIdentifier": { + "readOnly": true, + "type": "string", + "description": "The marketplace identifier." + }, + "additionalProperties": { + "description": "The additional properties for application.", + "type": "string" + } + } + }, + "Application": { + "description": "The HDInsight cluster application", + "type": "object", + "allOf": [ + { + "$ref": "./cluster.json#/definitions/ProxyResource" + } + ], + "properties": { + "etag": { + "description": "The ETag for the application", + "type": "string" + }, + "tags": { + "description": "The tags for the application.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "$ref": "#/definitions/ApplicationProperties", + "description": "The properties of the application." + } + } + }, + "ApplicationListResult": { + "description": "Result of the request to list cluster Applications. It contains a list of operations and a URL link to get the next set of results.", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Application" + }, + "description": "The list of HDInsight applications installed on HDInsight cluster." + }, + "nextLink": { + "type": "string", + "readOnly": true, + "description": "The URL to get the next set of operation list results if there are any." + } + } + } + }, + "parameters": { + "SubscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "required": true, + "type": "string", + "description": "The subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call." + }, + "ResourceGroupNameParameter": { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group.", + "x-ms-parameter-location": "method" + }, + "ClusterNameParameter": { + "name": "clusterName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the cluster.", + "x-ms-parameter-location": "method" + }, + "ApplicationNameParameter": { + "name": "applicationName", + "in": "path", + "required": true, + "type": "string", + "description": "The constant value for the application name.", + "x-ms-parameter-location": "method" + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "The HDInsight client API Version." + } + } } \ No newline at end of file diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/cluster.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/cluster.json index 4b9178fba063..4146f70494dc 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/cluster.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/cluster.json @@ -3,7 +3,7 @@ "info": { "title": "HDInsightManagementClient", "description": "The HDInsight Management Client.", - "version": "2015-03-01-preview" + "version": "2018-06-01-preview" }, "host": "management.azure.com", "schemes": [ @@ -675,7 +675,7 @@ } } }, - "errors": { + "Errors": { "description": "The error message associated with the cluster creation.", "properties": { "code": { @@ -783,7 +783,7 @@ "errors": { "type": "array", "items": { - "$ref": "#/definitions/errors" + "$ref": "#/definitions/Errors" }, "description": "The list of errors." }, @@ -1012,7 +1012,7 @@ } }, "error": { - "$ref": "#/definitions/errors", + "$ref": "#/definitions/Errors", "description": "The operation error information." } }, @@ -1134,14 +1134,16 @@ "in": "path", "required": true, "type": "string", - "description": "The name of the resource group." + "description": "The name of the resource group.", + "x-ms-parameter-location": "method" }, "ClusterNameParameter": { "name": "clusterName", "in": "path", "required": true, "type": "string", - "description": "The name of the cluster." + "description": "The name of the cluster.", + "x-ms-parameter-location": "method" }, "ApiVersionParameter": { "name": "api-version", diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/configurations.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/configurations.json index ea625f2f685f..7eb41ebd776f 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/configurations.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/configurations.json @@ -3,7 +3,7 @@ "info": { "title": "HDInsightManagementClient", "description": "The HDInsight Management Client.", - "version": "2015-03-01-preview" + "version": "2018-06-01-preview" }, "host": "management.azure.com", "schemes": [ @@ -147,21 +147,24 @@ "in": "path", "required": true, "type": "string", - "description": "The name of the resource group." + "description": "The name of the resource group.", + "x-ms-parameter-location": "method" }, "ClusterNameParameter": { "name": "clusterName", "in": "path", "required": true, "type": "string", - "description": "The name of the cluster." + "description": "The name of the cluster.", + "x-ms-parameter-location": "method" }, "ConfigurationNameParameter": { "name": "configurationName", "in": "path", "required": true, "type": "string", - "description": "The name of the cluster configuration." + "description": "The name of the cluster configuration.", + "x-ms-parameter-location": "method" }, "ApiVersionParameter": { "name": "api-version", diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/ChangeHttpConnectivityDisable.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/ChangeHttpConnectivityDisable.json index 10dc9291bb9d..36e6abcfc05e 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/ChangeHttpConnectivityDisable.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/ChangeHttpConnectivityDisable.json @@ -2,7 +2,7 @@ "parameters": { "clusterName": "cluster1", "resourceGroupName": "rg1", - "api-version": "2015-03-01-preview", + "api-version": "2018-06-01-preview", "subscriptionId": "subid", "configurationName": "gateway", "parameters": { diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/ChangeHttpConnectivityEnable.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/ChangeHttpConnectivityEnable.json index 21e708525b29..11b287ddbef3 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/ChangeHttpConnectivityEnable.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/ChangeHttpConnectivityEnable.json @@ -2,7 +2,7 @@ "parameters": { "clusterName": "cluster1", "resourceGroupName": "rg1", - "api-version": "2015-03-01-preview", + "api-version": "2018-06-01-preview", "subscriptionId": "subid", "configurationName": "gateway", "parameters": { diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/CreateApplication.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/CreateApplication.json index ea2788d25f95..a56b27bf2e7d 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/CreateApplication.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/CreateApplication.json @@ -3,7 +3,7 @@ "applicationName": "hue", "clusterName": "cluster1", "resourceGroupName": "rg1", - "api-version": "2015-03-01-preview", + "api-version": "2018-06-01-preview", "subscriptionId": "subid", "parameters": { "computeProfile": { @@ -39,19 +39,41 @@ "responses": { "200": { "body": { - "id": "", - "name": "", - "type": "", - "etag": "", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1/applications/hue", + "name": "hue", + "type": "Microsoft.HDInsight/clusters/applications", + "etag": "etag", "tags": {}, "properties": { - "computeProfile": {}, - "installScriptActions": [], + "computeProfile": { + "roles": [{ + "name": "edgenode", + "targetInstanceCount": 1, + "hardwareProfile": { + "vmSize": "Standard_D12_v2" + } + }] + }, + "installScriptActions": [{ + "name": "app-install-app1", + "uri": "https://.../install.sh", + "parameters": "-version latest -port 20000", + "roles": [ + "edgenode" + ] + }], "uninstallScriptActions": [], - "httpsEndpoints": [], + "httpsEndpoints": [{ + "subDomainSuffix": "dss", + "destinationPort": 20000, + "accessModes": [ + "WebPage" + ] + }], "sshEndpoints": [], - "provisioningState": "", - "applicationState": "", + "provisioningState": "InProgress", + "applicationState": "ApplicationConfiguration", + "applicationType": "CustomApplication", "errors": [], "createdDate": "2017-02-28" } diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/CreateExtension.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/CreateExtension.json index 6738a1fe6424..0ba75a738687 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/CreateExtension.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/CreateExtension.json @@ -2,7 +2,7 @@ "parameters": { "clusterName": "cluster1", "resourceGroupName": "rg1", - "api-version": "2015-03-01-preview", + "api-version": "2018-06-01-preview", "subscriptionId": "subid", "extensionName": "clustermonitoring", "parameters": { diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/CreateLinuxHadoopSecureHadoop.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/CreateLinuxHadoopSecureHadoop.json index 912e9de1d895..b7d04576b131 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/CreateLinuxHadoopSecureHadoop.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/CreateLinuxHadoopSecureHadoop.json @@ -2,7 +2,7 @@ "parameters": { "clusterName": "cluster1", "resourceGroupName": "rg1", - "api-version": "2015-03-01-preview", + "api-version": "2018-06-01-preview", "subscriptionId": "subid", "parameters": { "tags": { "key1": "val1" }, diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/CreateLinuxHadoopSshPassword.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/CreateLinuxHadoopSshPassword.json index 340cb6860527..3831b22c7672 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/CreateLinuxHadoopSshPassword.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/CreateLinuxHadoopSshPassword.json @@ -2,7 +2,7 @@ "parameters": { "clusterName": "cluster1", "resourceGroupName": "rg1", - "api-version": "2015-03-01-preview", + "api-version": "2018-06-01-preview", "subscriptionId": "subid", "parameters": { "tags": { "key1": "val1" }, diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/CreateLinuxHadoopSshPublicKey.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/CreateLinuxHadoopSshPublicKey.json index a629b472fb29..9a1078519ddc 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/CreateLinuxHadoopSshPublicKey.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/CreateLinuxHadoopSshPublicKey.json @@ -2,7 +2,7 @@ "parameters": { "clusterName": "cluster1", "resourceGroupName": "rg1", - "api-version": "2015-03-01-preview", + "api-version": "2018-06-01-preview", "subscriptionId": "subid", "parameters": { "tags": { "key1": "val1" }, diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/CreateLinuxSparkSshPassword.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/CreateLinuxSparkSshPassword.json index a23fdad4f4e2..8a9b5a07e513 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/CreateLinuxSparkSshPassword.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/CreateLinuxSparkSshPassword.json @@ -2,7 +2,7 @@ "parameters": { "clusterName": "cluster1", "resourceGroupName": "rg1", - "api-version": "2015-03-01-preview", + "api-version": "2018-06-01-preview", "subscriptionId": "subid", "parameters": { "tags": { "key1": "val1" }, diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/DeleteApplication.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/DeleteApplication.json index fa8ab95c2dda..b20f08c48aef 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/DeleteApplication.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/DeleteApplication.json @@ -3,7 +3,7 @@ "applicationName": "hue", "clusterName": "cluster1", "resourceGroupName": "rg1", - "api-version": "2015-03-01-preview", + "api-version": "2018-06-01-preview", "subscriptionId": "subid" }, "responses": { diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/DeleteExtension.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/DeleteExtension.json index e9e9d2486215..d73289f0c7a1 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/DeleteExtension.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/DeleteExtension.json @@ -2,7 +2,7 @@ "parameters": { "clusterName": "cluster1", "resourceGroupName": "rg1", - "api-version": "2015-03-01-preview", + "api-version": "2018-06-01-preview", "subscriptionId": "subid", "extensionName": "clustermonitoring" }, diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/DeleteLinuxHadoopCluster.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/DeleteLinuxHadoopCluster.json index d1ee5cccf872..b1c8b19d9927 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/DeleteLinuxHadoopCluster.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/DeleteLinuxHadoopCluster.json @@ -2,7 +2,7 @@ "parameters": { "clusterName": "cluster1", "resourceGroupName": "rg1", - "api-version": "2015-03-01-preview", + "api-version": "2018-06-01-preview", "subscriptionId": "subid" }, "responses": { diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/DeleteScriptAction.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/DeleteScriptAction.json index 421d2718dcb5..3a430578e53f 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/DeleteScriptAction.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/DeleteScriptAction.json @@ -2,7 +2,7 @@ "parameters": { "clusterName": "cluster1", "resourceGroupName": "rg1", - "api-version": "2015-03-01-preview", + "api-version": "2018-06-01-preview", "subscriptionId": "subid", "scriptName": "scriptName" }, diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/DisableLinuxClusterMonitoring.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/DisableLinuxClusterMonitoring.json index 4ee49f8033ca..d850812235da 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/DisableLinuxClusterMonitoring.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/DisableLinuxClusterMonitoring.json @@ -2,7 +2,7 @@ "parameters": { "clusterName": "cluster1", "resourceGroupName": "rg1", - "api-version": "2015-03-01-preview", + "api-version": "2018-06-01-preview", "subscriptionId": "subid" }, "responses": { diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/EnableLinuxClusterMonitoring.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/EnableLinuxClusterMonitoring.json index 049991d352a2..2206311af486 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/EnableLinuxClusterMonitoring.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/EnableLinuxClusterMonitoring.json @@ -2,7 +2,7 @@ "parameters": { "clusterName": "cluster1", "resourceGroupName": "rg1", - "api-version": "2015-03-01-preview", + "api-version": "2018-06-01-preview", "subscriptionId": "subid", "parameters": { "workspaceId": "a2090ead-8c9f-4fba-b70e-533e3e003163", diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetAllApplications.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetAllApplications.json index ee7aaeb3d3bb..7f9fb39ed54d 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetAllApplications.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetAllApplications.json @@ -2,7 +2,7 @@ "parameters": { "clusterName": "cluster1", "resourceGroupName": "rg1", - "api-version": "2015-03-01-preview", + "api-version": "2018-06-01-preview", "subscriptionId": "subid" }, "responses": { diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetApplicationCreated.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetApplicationCreated.json index 42c0dda789ff..c8f8767c7d14 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetApplicationCreated.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetApplicationCreated.json @@ -3,7 +3,7 @@ "applicationName": "app", "clusterName": "cluster1", "resourceGroupName": "rg1", - "api-version": "2015-03-01-preview", + "api-version": "2018-06-01-preview", "subscriptionId": "subid" }, "responses": { diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetApplicationInProgress.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetApplicationInProgress.json index bd94b57821b4..c54dd5425f8d 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetApplicationInProgress.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetApplicationInProgress.json @@ -3,7 +3,7 @@ "applicationName": "app", "clusterName": "cluster1", "resourceGroupName": "rg1", - "api-version": "2015-03-01-preview", + "api-version": "2018-06-01-preview", "subscriptionId": "subid" }, "responses": { diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetExtension.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetExtension.json index 0fb5da4969ac..d7cce776a632 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetExtension.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetExtension.json @@ -2,7 +2,7 @@ "parameters": { "clusterName": "cluster1", "resourceGroupName": "rg1", - "api-version": "2015-03-01-preview", + "api-version": "2018-06-01-preview", "subscriptionId": "subid", "extensionName": "clustermonitoring" }, diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetHDInsightUsages.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetHDInsightUsages.json index 015cb4e48d2e..c0d5a5b4653c 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetHDInsightUsages.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetHDInsightUsages.json @@ -1,7 +1,7 @@ { "parameters": { "location": "West US", - "api-version": "2015-03-01-preview", + "api-version": "2018-06-01-preview", "subscriptionId": "subid" }, "responses": { diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetHttpConnectivity.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetHttpConnectivity.json index 26033736edd0..75ff30e36059 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetHttpConnectivity.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetHttpConnectivity.json @@ -2,7 +2,7 @@ "parameters": { "clusterName": "cluster1", "resourceGroupName": "rg1", - "api-version": "2015-03-01-preview", + "api-version": "2018-06-01-preview", "subscriptionId": "subid", "configurationName": "gateway" }, diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetLinuxClusterMonitoringStatus.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetLinuxClusterMonitoringStatus.json index a566a5388d20..99ce8d118673 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetLinuxClusterMonitoringStatus.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetLinuxClusterMonitoringStatus.json @@ -2,7 +2,7 @@ "parameters": { "clusterName": "cluster1", "resourceGroupName": "rg1", - "api-version": "2015-03-01-preview", + "api-version": "2018-06-01-preview", "subscriptionId": "subid" }, "responses": { diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetLinuxHadoopAllClusters.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetLinuxHadoopAllClusters.json index 10d2697b2ca9..538cd8531681 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetLinuxHadoopAllClusters.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetLinuxHadoopAllClusters.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2015-03-01-preview", + "api-version": "2018-06-01-preview", "subscriptionId": "subid" }, "responses": { diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetLinuxHadoopAllClustersInResourceGroup.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetLinuxHadoopAllClustersInResourceGroup.json index d9647b46bae6..72d54d1abcdb 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetLinuxHadoopAllClustersInResourceGroup.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetLinuxHadoopAllClustersInResourceGroup.json @@ -1,7 +1,7 @@ { "parameters": { "resourceGroupName": "rg1", - "api-version": "2015-03-01-preview", + "api-version": "2018-06-01-preview", "subscriptionId": "subid" }, "responses": { diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetLinuxHadoopCluster.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetLinuxHadoopCluster.json index 5cf7ef0bd59d..385d80ffd223 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetLinuxHadoopCluster.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetLinuxHadoopCluster.json @@ -2,7 +2,7 @@ "parameters": { "clusterName": "cluster1", "resourceGroupName": "rg1", - "api-version": "2015-03-01-preview", + "api-version": "2018-06-01-preview", "subscriptionId": "subid" }, "responses": { diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetLinuxHadoopScriptAction.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetLinuxHadoopScriptAction.json index eb07e80c7e7f..35e14bd1dcde 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetLinuxHadoopScriptAction.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetLinuxHadoopScriptAction.json @@ -2,7 +2,7 @@ "parameters": { "clusterName": "cluster1", "resourceGroupName": "rg1", - "api-version": "2015-03-01-preview", + "api-version": "2018-06-01-preview", "subscriptionId": "subid" }, "responses": { diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetLinuxHadoopScriptExecutionHistory.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetLinuxHadoopScriptExecutionHistory.json index 8ead93315fbd..60b3ddcf0b00 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetLinuxHadoopScriptExecutionHistory.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetLinuxHadoopScriptExecutionHistory.json @@ -2,7 +2,7 @@ "parameters": { "clusterName": "cluster1", "resourceGroupName": "rg1", - "api-version": "2015-03-01-preview", + "api-version": "2018-06-01-preview", "subscriptionId": "subid" }, "responses": { diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetLinuxSparkCluster.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetLinuxSparkCluster.json index 41bce37d4458..d9b7e6ee6e9e 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetLinuxSparkCluster.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetLinuxSparkCluster.json @@ -2,7 +2,7 @@ "parameters": { "clusterName": "cluster1", "resourceGroupName": "rg1", - "api-version": "2015-03-01-preview", + "api-version": "2018-06-01-preview", "subscriptionId": "subid" }, "responses": { diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetScriptActionById.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetScriptActionById.json index 295274810010..635a25d3e455 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetScriptActionById.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetScriptActionById.json @@ -2,7 +2,7 @@ "parameters": { "clusterName": "cluster1", "resourceGroupName": "rg1", - "api-version": "2015-03-01-preview", + "api-version": "2018-06-01-preview", "subscriptionId": "subid", "scriptExecutionId": "391145124054712" }, diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetScriptExecutionHistory.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetScriptExecutionHistory.json index 915ab142370c..fc162160c88a 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetScriptExecutionHistory.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetScriptExecutionHistory.json @@ -2,7 +2,7 @@ "parameters": { "clusterName": "cluster1", "resourceGroupName": "rg1", - "api-version": "2015-03-01-preview", + "api-version": "2018-06-01-preview", "subscriptionId": "subid", "scriptExecutionId": "391145124054712" }, diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/PatchLinuxHadoopCluster.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/PatchLinuxHadoopCluster.json index d1e24f929c1e..1d4c8485eced 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/PatchLinuxHadoopCluster.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/PatchLinuxHadoopCluster.json @@ -2,7 +2,7 @@ "parameters": { "clusterName": "cluster1", "resourceGroupName": "rg1", - "api-version": "2015-03-01-preview", + "api-version": "2018-06-01-preview", "subscriptionId": "subid", "parameters": { "tags": { "key1": "val1", "key2": "val2" } diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/PostExecuteScriptAction.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/PostExecuteScriptAction.json index ab31f0a35332..5727598112cc 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/PostExecuteScriptAction.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/PostExecuteScriptAction.json @@ -2,7 +2,7 @@ "parameters": { "clusterName": "cluster1", "resourceGroupName": "rg1", - "api-version": "2015-03-01-preview", + "api-version": "2018-06-01-preview", "subscriptionId": "subid", "parameters": { "scriptActions": [{ diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/PromoteLinuxHadoopScriptAction.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/PromoteLinuxHadoopScriptAction.json index 418fbc48acfd..2fcf642c2d56 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/PromoteLinuxHadoopScriptAction.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/PromoteLinuxHadoopScriptAction.json @@ -2,7 +2,7 @@ "parameters": { "clusterName": "cluster1", "resourceGroupName": "rg1", - "api-version": "2015-03-01-preview", + "api-version": "2018-06-01-preview", "subscriptionId": "subid", "scriptExecutionId": "391145124054712" }, diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/RdpSettingsEnable.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/RdpSettingsEnable.json index d9c130239a81..cd7de3816f56 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/RdpSettingsEnable.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/RdpSettingsEnable.json @@ -2,7 +2,7 @@ "parameters": { "clusterName": "cluster1", "resourceGroupName": "rg1", - "api-version": "2015-03-01-preview", + "api-version": "2018-06-01-preview", "subscriptionId": "subid", "parameters": { "osProfile": { diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/ResizeLinuxHadoopCluster.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/ResizeLinuxHadoopCluster.json index 4bad750f3af0..9562da3e97c9 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/ResizeLinuxHadoopCluster.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/ResizeLinuxHadoopCluster.json @@ -2,7 +2,7 @@ "parameters": { "clusterName": "cluster1", "resourceGroupName": "rg1", - "api-version": "2015-03-01-preview", + "api-version": "2018-06-01-preview", "subscriptionId": "subid", "roleName": "workernode", "parameters": { diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/extensions.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/extensions.json index 126b437dc13d..b3bf9b6201ba 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/extensions.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/extensions.json @@ -3,7 +3,7 @@ "info": { "title": "HDInsightManagementClient", "description": "The HDInsight Management Client.", - "version": "2015-03-01-preview" + "version": "2018-06-01-preview" }, "host": "management.azure.com", "schemes": [ @@ -43,7 +43,7 @@ "$ref": "./examples/EnableLinuxClusterMonitoring.json" } }, - "operationId": "Extension_EnableMonitoring", + "operationId": "Extensions_EnableMonitoring", "parameters": [ { "$ref": "#/parameters/SubscriptionIdParameter" @@ -87,7 +87,7 @@ "$ref": "./examples/GetLinuxClusterMonitoringStatus.json" } }, - "operationId": "Extension_GetMonitoringStatus", + "operationId": "Extensions_GetMonitoringStatus", "parameters": [ { "$ref": "#/parameters/SubscriptionIdParameter" @@ -121,7 +121,7 @@ "$ref": "./examples/DisableLinuxClusterMonitoring.json" } }, - "operationId": "Extension_DisableMonitoring", + "operationId": "Extensions_DisableMonitoring", "parameters": [ { "$ref": "#/parameters/SubscriptionIdParameter" @@ -154,7 +154,7 @@ "Extensions" ], "description": "Creates an HDInsight cluster extension.", - "operationId": "Extension_Create", + "operationId": "Extensions_Create", "x-ms-examples": { "Create a monitoring extension on Hadoop Linux cluster": { "$ref": "./examples/CreateExtension.json" @@ -187,10 +187,14 @@ } ], "responses": { + "200": { + "description": "Ok response definition." + }, "202": { - "description": "OK. The request has succeeded." + "description": "Accepted response definition." } - } + }, + "x-ms-long-running-operation": true }, "get": { "tags": [ @@ -202,7 +206,7 @@ "$ref": "./examples/GetExtension.json" } }, - "operationId": "Extension_Get", + "operationId": "Extensions_Get", "parameters": [ { "$ref": "#/parameters/SubscriptionIdParameter" @@ -239,7 +243,7 @@ "$ref": "./examples/DeleteExtension.json" } }, - "operationId": "Extension_Delete", + "operationId": "Extensions_Delete", "parameters": [ { "$ref": "#/parameters/SubscriptionIdParameter" @@ -258,10 +262,14 @@ } ], "responses": { + "200": { + "description": "Ok response definition." + }, "202": { - "description": "OK response definition." + "description": "Accepted response definition." } - } + }, + "x-ms-long-running-operation": true } } }, @@ -319,21 +327,24 @@ "in": "path", "required": true, "type": "string", - "description": "The name of the resource group." + "description": "The name of the resource group.", + "x-ms-parameter-location": "method" }, "ClusterNameParameter": { "name": "clusterName", "in": "path", "required": true, "type": "string", - "description": "The name of the cluster." + "description": "The name of the cluster.", + "x-ms-parameter-location": "method" }, "ExtensionNameParameter": { "name": "extensionName", "in": "path", "required": true, "type": "string", - "description": "The name of the cluster extension." + "description": "The name of the cluster extension.", + "x-ms-parameter-location": "method" }, "ApiVersionParameter": { "name": "api-version", diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/locations.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/locations.json index 38c5b1ea08ca..b909187bc9ab 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/locations.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/locations.json @@ -3,7 +3,7 @@ "info": { "title": "HDInsightManagementClient", "description": "The HDInsight Management Client.", - "version": "2015-03-01-preview" + "version": "2018-06-01-preview" }, "host": "management.azure.com", "schemes": [ @@ -59,7 +59,7 @@ "200": { "description": "OK response definition.", "schema": { - "$ref": "#/definitions/UsagesResult" + "$ref": "#/definitions/UsagesListResult" } } } @@ -78,7 +78,8 @@ "description": "The localized name of the used resource.", "type": "string" } - } + }, + "readOnly": true }, "Usage": { "description": "The details about the usage of a particular limited resource.", @@ -99,9 +100,10 @@ "description": "The details about the localizable name of the used resource.", "$ref": "#/definitions/LocalizedName" } - } + }, + "readOnly": true }, - "UsagesResult": { + "UsagesListResult": { "description": "The response for the operation to get regional usages for a subscription.", "properties": { "value": { @@ -111,7 +113,8 @@ "$ref": "#/definitions/Usage" } } - } + }, + "readOnly": true } }, "parameters": { @@ -127,7 +130,8 @@ "in": "path", "required": true, "type": "string", - "description": "The location to get capabilities for." + "description": "The location to get capabilities for.", + "x-ms-parameter-location": "method" }, "ApiVersionParameter": { "name": "api-version", diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/operations.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/operations.json index 0953b06d5b35..3e42e209eaa6 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/operations.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/operations.json @@ -3,7 +3,7 @@ "info": { "title": "HDInsightManagementClient", "description": "The HDInsight Management Client.", - "version": "2015-03-01-preview" + "version": "2018-06-01-preview" }, "host": "management.azure.com", "schemes": ["https"], @@ -72,7 +72,8 @@ } } } - } + }, + "readOnly": true }, "OperationListResult": { "description": "Result of the request to list HDInsight operations. It contains a list of operations and a URL link to get the next set of results.", @@ -88,7 +89,8 @@ "type": "string", "description": "The URL to get the next set of operation list results if there are any." } - } + }, + "readOnly": true } }, "parameters": { diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/scriptActions.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/scriptActions.json index f800818412b7..2f6e15e6c8fe 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/scriptActions.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/scriptActions.json @@ -3,7 +3,7 @@ "info": { "title": "HDInsightManagementClient", "description": "The HDInsight Management Client.", - "version": "2015-03-01-preview" + "version": "2018-06-01-preview" }, "host": "management.azure.com", "schemes": [ @@ -119,7 +119,7 @@ "tags": [ "ScriptActions" ], - "operationId": "ScriptActions_ListPersistedScripts", + "operationId": "ScriptActions_ListPersistedScriptsByCluster", "description": "Lists all the persisted script actions for the specified cluster.", "x-ms-examples": { "List all persisted script actions for the given cluster": { @@ -197,7 +197,7 @@ "tags": [ "ScriptExecutionHistory" ], - "operationId": "ScriptExecutionHistory_List", + "operationId": "ScriptExecutionHistory_ListByCluster", "description": "Lists all scripts' execution history for the specified cluster.", "x-ms-examples": { "Get Script Execution History List": { @@ -386,28 +386,32 @@ "in": "path", "required": true, "type": "string", - "description": "The name of the resource group." + "description": "The name of the resource group.", + "x-ms-parameter-location": "method" }, "ClusterNameParameter": { "name": "clusterName", "in": "path", "required": true, "type": "string", - "description": "The name of the cluster." + "description": "The name of the cluster.", + "x-ms-parameter-location": "method" }, "ScriptNameParameter": { "name": "scriptName", "in": "path", "required": true, "type": "string", - "description": "The name of the script." + "description": "The name of the script.", + "x-ms-parameter-location": "method" }, "ScriptExecutionIdParameter": { "name": "scriptExecutionId", "in": "path", "required": true, "type": "string", - "description": "The script execution Id" + "description": "The script execution Id", + "x-ms-parameter-location": "method" }, "ApiVersionParameter": { "name": "api-version", From 223eddb1d5734d0bf18e103a140871bf6b6b2308 Mon Sep 17 00:00:00 2001 From: Wai Sing Wong Date: Thu, 21 Jun 2018 19:39:00 -0700 Subject: [PATCH 08/13] Fixed bug for applications where expected response was missing --- .../preview/2015-03-01-preview/applications.json | 6 +++++- .../preview/2018-06-01-preview/applications.json | 8 ++++++-- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/applications.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/applications.json index 8d64566292b3..9d0e6f2c2ed0 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/applications.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/applications.json @@ -156,7 +156,8 @@ "$ref": "#/definitions/Application" } } - } + }, + "x-ms-long-running-operation": true }, "delete": { "tags": [ @@ -189,6 +190,9 @@ "responses": { "200": { "description": "OK. The request has succeeded." + }, + "202": { + "description": "Accepted response definition." } }, "x-ms-long-running-operation": true diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/applications.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/applications.json index 3af93a237ba5..0c2188b39df4 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/applications.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/applications.json @@ -78,7 +78,7 @@ "tags": [ "Applications" ], - "description": "Lists properties of the specified application.", + "description": "Gets properties of the specified application.", "operationId": "Applications_Get", "x-ms-examples": { "Get application on HDInsight cluster successfully created.": { @@ -158,7 +158,8 @@ "$ref": "#/definitions/Application" } } - } + }, + "x-ms-long-running-operation": true }, "delete": { "tags": [ @@ -191,6 +192,9 @@ "responses": { "200": { "description": "OK. The request has succeeded." + }, + "202": { + "description": "Accepted response definition." } }, "x-ms-long-running-operation": true From 5145fb325274a0a5b890e76cdf9b7fa3c754c88e Mon Sep 17 00:00:00 2001 From: Wai Sing Wong Date: Thu, 21 Jun 2018 19:40:12 -0700 Subject: [PATCH 09/13] Renamed operation that lists script actions --- .../preview/2018-06-01-preview/scriptActions.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/scriptActions.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/scriptActions.json index 2f6e15e6c8fe..65dc51d2732e 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/scriptActions.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/scriptActions.json @@ -119,7 +119,7 @@ "tags": [ "ScriptActions" ], - "operationId": "ScriptActions_ListPersistedScriptsByCluster", + "operationId": "ScriptActions_ListByCluster", "description": "Lists all the persisted script actions for the specified cluster.", "x-ms-examples": { "List all persisted script actions for the given cluster": { From 36ee7b14405869e46a89315ed226077d22407755 Mon Sep 17 00:00:00 2001 From: Wai Sing Wong Date: Thu, 21 Jun 2018 20:39:17 -0700 Subject: [PATCH 10/13] Fixed examples for applications to include expected status code from bug fix --- .../preview/2015-03-01-preview/examples/DeleteApplication.json | 3 ++- .../preview/2018-06-01-preview/examples/DeleteApplication.json | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/DeleteApplication.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/DeleteApplication.json index fa8ab95c2dda..101d3c534ced 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/DeleteApplication.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/DeleteApplication.json @@ -11,6 +11,7 @@ "headers": { "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult" } - } + }, + "202": {} } } \ No newline at end of file diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/DeleteApplication.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/DeleteApplication.json index b20f08c48aef..23d14c01f45d 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/DeleteApplication.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/DeleteApplication.json @@ -11,6 +11,7 @@ "headers": { "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult" } - } + }, + "202": {} } } \ No newline at end of file From c3c62d0bfc81f3c0cd151748736e94152548cae0 Mon Sep 17 00:00:00 2001 From: Wai Sing Wong Date: Fri, 22 Jun 2018 11:40:01 -0700 Subject: [PATCH 11/13] Fixed inconsistent description for Operation in cluster.json --- .../Microsoft.HDInsight/preview/2015-03-01-preview/cluster.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/cluster.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/cluster.json index 3fd6c644513f..b4a3257803e8 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/cluster.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/cluster.json @@ -1093,7 +1093,7 @@ "type": "string" }, "resource": { - "description": "The resource on which the operation is performed: Cluster, Capabilities, etc.", + "description": "The resource on which the operation is performed: Cluster, Applications, etc.", "type": "string" }, "operation": { From 332ca042d73c58c99ef44f285cc16fa862c23e6f Mon Sep 17 00:00:00 2001 From: Wai Sing Wong Date: Fri, 22 Jun 2018 15:04:06 -0700 Subject: [PATCH 12/13] Removed unnecessary definition, added default responses on all endpoints --- .../2015-03-01-preview/applications.json | 24 ++++++ .../preview/2015-03-01-preview/cluster.json | 85 +++++++++---------- .../2015-03-01-preview/configurations.json | 12 +++ .../2015-03-01-preview/extensions.json | 36 ++++++++ .../preview/2015-03-01-preview/locations.json | 12 +++ .../2015-03-01-preview/operations.json | 28 +++++- .../2015-03-01-preview/scriptActions.json | 36 ++++++++ .../2018-06-01-preview/applications.json | 24 ++++++ .../preview/2018-06-01-preview/cluster.json | 85 +++++++++---------- .../2018-06-01-preview/configurations.json | 12 +++ .../2018-06-01-preview/extensions.json | 36 ++++++++ .../preview/2018-06-01-preview/locations.json | 6 ++ .../2018-06-01-preview/operations.json | 20 +++++ .../2018-06-01-preview/scriptActions.json | 36 ++++++++ 14 files changed, 363 insertions(+), 89 deletions(-) diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/applications.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/applications.json index 9d0e6f2c2ed0..71f7a44cd8b7 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/applications.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/applications.json @@ -59,6 +59,12 @@ } ], "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./operations.json#/definitions/ErrorResponse" + } + }, "200": { "description": "OK. The request has succeeded.", "schema": { @@ -104,6 +110,12 @@ } ], "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./operations.json#/definitions/ErrorResponse" + } + }, "200": { "description": "OK. The request has succeeded.", "schema": { @@ -150,6 +162,12 @@ } ], "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./operations.json#/definitions/ErrorResponse" + } + }, "200": { "description": "OK. The request has succeeded.", "schema": { @@ -188,6 +206,12 @@ } ], "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./operations.json#/definitions/ErrorResponse" + } + }, "200": { "description": "OK. The request has succeeded." }, diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/cluster.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/cluster.json index b4a3257803e8..539f96736263 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/cluster.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/cluster.json @@ -77,6 +77,12 @@ } ], "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./operations.json#/definitions/ErrorResponse" + } + }, "200": { "description": "OK response definition.", "schema": { @@ -121,6 +127,12 @@ } ], "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./operations.json#/definitions/ErrorResponse" + } + }, "200": { "description": "OK response definition.", "schema": { @@ -155,6 +167,12 @@ } ], "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./operations.json#/definitions/ErrorResponse" + } + }, "202": { "description": "Accepted response definition." }, @@ -193,6 +211,12 @@ } ], "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./operations.json#/definitions/ErrorResponse" + } + }, "200": { "description": "OK response definition.", "schema": { @@ -226,6 +250,12 @@ } ], "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./operations.json#/definitions/ErrorResponse" + } + }, "200": { "description": "OK response definition.", "schema": { @@ -288,6 +318,12 @@ } ], "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./operations.json#/definitions/ErrorResponse" + } + }, "200": { "description": "OK response definition." }, @@ -319,6 +355,12 @@ } ], "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./operations.json#/definitions/ErrorResponse" + } + }, "200": { "description": "OK response definition.", "schema": { @@ -1076,49 +1118,6 @@ "$ref": "#/definitions/Resource" } ] - }, - "Operation": { - "description": "The HDInsight REST API operation.", - "type": "object", - "properties": { - "name": { - "description": "The operation name: {provider}/{resource}/{operation}", - "type": "string" - }, - "display": { - "description": "The object that represents the operation.", - "properties": { - "provider": { - "description": "The service provider: Microsoft.HDInsight", - "type": "string" - }, - "resource": { - "description": "The resource on which the operation is performed: Cluster, Applications, etc.", - "type": "string" - }, - "operation": { - "description": "The operation type: read, write, delete, etc.", - "type": "string" - } - } - } - } - }, - "OperationListResult": { - "description": "Result of the request to list HDInsight operations. It contains a list of operations and a URL link to get the next set of results.", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Operation" - }, - "description": "The list of HDInsight operations supported by the HDInsight resource provider." - }, - "nextLink": { - "type": "string", - "description": "The URL to get the next set of operation list results if there are any." - } - } } }, "parameters": { diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/configurations.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/configurations.json index 0fdf0a29cbc2..12bb5e526c61 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/configurations.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/configurations.json @@ -74,6 +74,12 @@ } ], "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./operations.json#/definitions/ErrorResponse" + } + }, "200": { "description": "Ok response definition" }, @@ -115,6 +121,12 @@ } ], "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./operations.json#/definitions/ErrorResponse" + } + }, "200": { "description": "OK response definition.", "schema": { diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/extensions.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/extensions.json index d18ef92a50f1..a35b2f9f6407 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/extensions.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/extensions.json @@ -68,6 +68,12 @@ } ], "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./operations.json#/definitions/ErrorResponse" + } + }, "200": { "description": "Ok response definition." }, @@ -103,6 +109,12 @@ } ], "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./operations.json#/definitions/ErrorResponse" + } + }, "200": { "description": "OK. The request has succeeded.", "schema": { @@ -137,6 +149,12 @@ } ], "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./operations.json#/definitions/ErrorResponse" + } + }, "200": { "description": "Ok response definition." }, @@ -187,6 +205,12 @@ } ], "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./operations.json#/definitions/ErrorResponse" + } + }, "200": { "description": "OK. The request has succeeded." }, @@ -224,6 +248,12 @@ } ], "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./operations.json#/definitions/ErrorResponse" + } + }, "200": { "description": "OK. The request has succeeded.", "schema": { @@ -261,6 +291,12 @@ } ], "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./operations.json#/definitions/ErrorResponse" + } + }, "200": { "description": "Ok response definition." }, diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/locations.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/locations.json index 10bc73033d72..e6f45877ddda 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/locations.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/locations.json @@ -56,6 +56,12 @@ } ], "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./operations.json#/definitions/ErrorResponse" + } + }, "200": { "description": "OK response definition.", "schema": { @@ -89,6 +95,12 @@ } ], "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./operations.json#/definitions/ErrorResponse" + } + }, "200": { "description": "OK response definition.", "schema": { diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/operations.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/operations.json index 0953b06d5b35..06b0460e7297 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/operations.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/operations.json @@ -29,10 +29,18 @@ "tags": ["Operations"], "description": "Lists all of the available HDInsight REST API operations.", "operationId": "Operations_List", - "parameters": [{ - "$ref": "#/parameters/ApiVersionParameter" - }], + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + }, "200": { "description": "OK. The request has succeeded.", "schema": { @@ -89,6 +97,20 @@ "description": "The URL to get the next set of operation list results if there are any." } } + }, + "ErrorResponse": { + "description": "Describes the format of Error response.", + "type": "object", + "properties": { + "code": { + "description": "Error code", + "type": "string" + }, + "message": { + "description": "Error message indicating why the operation failed.", + "type": "string" + } + } } }, "parameters": { diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/scriptActions.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/scriptActions.json index 7bbcb64f473c..b50054bcb1ed 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/scriptActions.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/scriptActions.json @@ -62,6 +62,12 @@ } ], "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./operations.json#/definitions/ErrorResponse" + } + }, "200": { "description": "OK response definition." } @@ -104,6 +110,12 @@ } ], "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./operations.json#/definitions/ErrorResponse" + } + }, "202": { "description": "OK response definition." }, @@ -141,6 +153,12 @@ } ], "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./operations.json#/definitions/ErrorResponse" + } + }, "200": { "description": "OK response definition.", "schema": { @@ -183,6 +201,12 @@ } ], "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./operations.json#/definitions/ErrorResponse" + } + }, "200": { "description": "OK response definition.", "schema": { @@ -219,6 +243,12 @@ } ], "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./operations.json#/definitions/ErrorResponse" + } + }, "200": { "description": "OK response definition.", "schema": { @@ -261,6 +291,12 @@ } ], "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./operations.json#/definitions/ErrorResponse" + } + }, "200": { "description": "OK response definition." } diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/applications.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/applications.json index 0c2188b39df4..225b0aa592d3 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/applications.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/applications.json @@ -61,6 +61,12 @@ } ], "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./operations.json#/definitions/ErrorResponse" + } + }, "200": { "description": "OK. The request has succeeded.", "schema": { @@ -106,6 +112,12 @@ } ], "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./operations.json#/definitions/ErrorResponse" + } + }, "200": { "description": "OK. The request has succeeded.", "schema": { @@ -152,6 +164,12 @@ } ], "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./operations.json#/definitions/ErrorResponse" + } + }, "200": { "description": "OK. The request has succeeded.", "schema": { @@ -190,6 +208,12 @@ } ], "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./operations.json#/definitions/ErrorResponse" + } + }, "200": { "description": "OK. The request has succeeded." }, diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/cluster.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/cluster.json index 4146f70494dc..737fbae03484 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/cluster.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/cluster.json @@ -77,6 +77,12 @@ } ], "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./operations.json#/definitions/ErrorResponse" + } + }, "200": { "description": "OK response definition.", "schema": { @@ -121,6 +127,12 @@ } ], "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./operations.json#/definitions/ErrorResponse" + } + }, "200": { "description": "OK response definition.", "schema": { @@ -155,6 +167,12 @@ } ], "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./operations.json#/definitions/ErrorResponse" + } + }, "202": { "description": "Accepted response definition." }, @@ -193,6 +211,12 @@ } ], "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./operations.json#/definitions/ErrorResponse" + } + }, "200": { "description": "OK response definition.", "schema": { @@ -226,6 +250,12 @@ } ], "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./operations.json#/definitions/ErrorResponse" + } + }, "200": { "description": "OK response definition.", "schema": { @@ -288,6 +318,12 @@ } ], "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./operations.json#/definitions/ErrorResponse" + } + }, "200": { "description": "OK response definition." }, @@ -319,6 +355,12 @@ } ], "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./operations.json#/definitions/ErrorResponse" + } + }, "200": { "description": "OK response definition.", "schema": { @@ -1076,49 +1118,6 @@ "$ref": "#/definitions/Resource" } ] - }, - "Operation": { - "description": "The HDInsight REST API operation.", - "type": "object", - "properties": { - "name": { - "description": "The operation name: {provider}/{resource}/{operation}", - "type": "string" - }, - "display": { - "description": "The object that represents the operation.", - "properties": { - "provider": { - "description": "The service provider: Microsoft.HDInsight", - "type": "string" - }, - "resource": { - "description": "The resource on which the operation is performed: Cluster, Applications, etc.", - "type": "string" - }, - "operation": { - "description": "The operation type: read, write, delete, etc.", - "type": "string" - } - } - } - } - }, - "OperationListResult": { - "description": "Result of the request to list HDInsight operations. It contains a list of operations and a URL link to get the next set of results.", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Operation" - }, - "description": "The list of HDInsight operations supported by the HDInsight resource provider." - }, - "nextLink": { - "type": "string", - "description": "The URL to get the next set of operation list results if there are any." - } - } } }, "parameters": { diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/configurations.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/configurations.json index 7eb41ebd776f..179a28687e06 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/configurations.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/configurations.json @@ -74,6 +74,12 @@ } ], "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./operations.json#/definitions/ErrorResponse" + } + }, "200": { "description": "Ok response definition" }, @@ -115,6 +121,12 @@ } ], "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./operations.json#/definitions/ErrorResponse" + } + }, "200": { "description": "OK response definition.", "schema": { diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/extensions.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/extensions.json index b3bf9b6201ba..8fd625202ae2 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/extensions.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/extensions.json @@ -68,6 +68,12 @@ } ], "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./operations.json#/definitions/ErrorResponse" + } + }, "200": { "description": "Ok response definition." }, @@ -103,6 +109,12 @@ } ], "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./operations.json#/definitions/ErrorResponse" + } + }, "200": { "description": "OK. The request has succeeded.", "schema": { @@ -137,6 +149,12 @@ } ], "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./operations.json#/definitions/ErrorResponse" + } + }, "200": { "description": "Ok response definition." }, @@ -187,6 +205,12 @@ } ], "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./operations.json#/definitions/ErrorResponse" + } + }, "200": { "description": "Ok response definition." }, @@ -225,6 +249,12 @@ } ], "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./operations.json#/definitions/ErrorResponse" + } + }, "200": { "description": "OK. The request has succeeded.", "schema": { @@ -262,6 +292,12 @@ } ], "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./operations.json#/definitions/ErrorResponse" + } + }, "200": { "description": "Ok response definition." }, diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/locations.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/locations.json index b909187bc9ab..453ceafd2589 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/locations.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/locations.json @@ -56,6 +56,12 @@ } ], "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./operations.json#/definitions/ErrorResponse" + } + }, "200": { "description": "OK response definition.", "schema": { diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/operations.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/operations.json index 3e42e209eaa6..d7e898ed03e1 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/operations.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/operations.json @@ -33,6 +33,12 @@ "$ref": "#/parameters/ApiVersionParameter" }], "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + }, "200": { "description": "OK. The request has succeeded.", "schema": { @@ -91,6 +97,20 @@ } }, "readOnly": true + }, + "ErrorResponse": { + "description": "Describes the format of Error response.", + "type": "object", + "properties": { + "code": { + "description": "Error code", + "type": "string" + }, + "message": { + "description": "Error message indicating why the operation failed.", + "type": "string" + } + } } }, "parameters": { diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/scriptActions.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/scriptActions.json index 65dc51d2732e..20677800032d 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/scriptActions.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/scriptActions.json @@ -62,6 +62,12 @@ } ], "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./operations.json#/definitions/ErrorResponse" + } + }, "200": { "description": "OK response definition." } @@ -104,6 +110,12 @@ } ], "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./operations.json#/definitions/ErrorResponse" + } + }, "202": { "description": "OK response definition." }, @@ -141,6 +153,12 @@ } ], "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./operations.json#/definitions/ErrorResponse" + } + }, "200": { "description": "OK response definition.", "schema": { @@ -183,6 +201,12 @@ } ], "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./operations.json#/definitions/ErrorResponse" + } + }, "200": { "description": "OK response definition.", "schema": { @@ -219,6 +243,12 @@ } ], "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./operations.json#/definitions/ErrorResponse" + } + }, "200": { "description": "OK response definition.", "schema": { @@ -261,6 +291,12 @@ } ], "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./operations.json#/definitions/ErrorResponse" + } + }, "200": { "description": "OK response definition." } From 4e88cba291b77a61a5da6d129a74e0b9fc53e7de Mon Sep 17 00:00:00 2001 From: Wai Sing Wong Date: Fri, 22 Jun 2018 15:55:36 -0700 Subject: [PATCH 13/13] Fixed PascalCasing of properties, and made Locations plural in operation IDs --- .../preview/2015-03-01-preview/locations.json | 36 +++++++++---------- .../preview/2018-06-01-preview/locations.json | 2 +- 2 files changed, 19 insertions(+), 19 deletions(-) diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/locations.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/locations.json index e6f45877ddda..fa4b6acbf035 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/locations.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/locations.json @@ -37,7 +37,7 @@ "tags": [ "Regions" ], - "operationId": "Location_GetCapabilities", + "operationId": "Locations_GetCapabilities", "description": "Gets the capabilities for the specified location.", "x-ms-examples": { "Get the subscription capabilities for specific location": { @@ -65,7 +65,7 @@ "200": { "description": "OK response definition.", "schema": { - "$ref": "#/definitions/capabilitiesResult" + "$ref": "#/definitions/CapabilitiesResult" } } } @@ -76,7 +76,7 @@ "tags": [ "Regions" ], - "operationId": "Location_ListUsages", + "operationId": "Locations_ListUsages", "description": "Lists the usages for the specified location.", "x-ms-examples": { "Get the subscription usages for specific location": { @@ -112,7 +112,7 @@ } }, "definitions": { - "versionSpec": { + "VersionSpec": { "description": "The version properties.", "properties": { "friendlyName": { @@ -136,19 +136,19 @@ } } }, - "versionsCapability": { + "VersionsCapability": { "description": "The version capability.", "properties": { "available": { "description": "The list of version capabilities.", "type": "array", "items": { - "$ref": "#/definitions/versionSpec" + "$ref": "#/definitions/VersionSpec" } } } }, - "regionsCapability": { + "RegionsCapability": { "description": "The regions capability.", "properties": { "available": { @@ -160,7 +160,7 @@ } } }, - "vmSizesCapability": { + "VmSizesCapability": { "description": "The virtual machine sizes capability.", "properties": { "available": { @@ -172,7 +172,7 @@ } } }, - "vmSizeCompatibilityFilter": { + "VmSizeCompatibilityFilter": { "description": "The virtual machine type compatibility filter.", "properties": { "FilterMode": { @@ -216,7 +216,7 @@ } } }, - "regionalQuotaCapability": { + "RegionalQuotaCapability": { "description": "The regional quota capacity.", "properties": { "region_name": { @@ -235,47 +235,47 @@ } } }, - "quotaCapability": { + "QuotaCapability": { "description": "The regional quota capability.", "properties": { "regionalQuotas": { "description": "The list of region quota capabilities.", "type": "array", "items": { - "$ref": "#/definitions/regionalQuotaCapability" + "$ref": "#/definitions/RegionalQuotaCapability" } } } }, - "capabilitiesResult": { + "CapabilitiesResult": { "description": "The Get Capabilities operation response.", "properties": { "versions": { "description": "The version capability.", "type": "object", "additionalProperties": { - "$ref": "#/definitions/versionsCapability" + "$ref": "#/definitions/VersionsCapability" } }, "regions": { "description": "The virtual machine size compatibilty features.", "type": "object", "additionalProperties": { - "$ref": "#/definitions/regionsCapability" + "$ref": "#/definitions/RegionsCapability" } }, "vmSizes": { "description": "The virtual machine sizes.", "type": "object", "additionalProperties": { - "$ref": "#/definitions/vmSizesCapability" + "$ref": "#/definitions/VmSizesCapability" } }, "vmSize_filters": { "description": "The virtual machine size compatibilty filters.", "type": "array", "items": { - "$ref": "#/definitions/vmSizeCompatibilityFilter" + "$ref": "#/definitions/VmSizeCompatibilityFilter" } }, "features": { @@ -287,7 +287,7 @@ }, "quota": { "description": "The quota capability.", - "$ref": "#/definitions/quotaCapability" + "$ref": "#/definitions/QuotaCapability" } } }, diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/locations.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/locations.json index 453ceafd2589..a69ff4e0f1ac 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/locations.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/locations.json @@ -37,7 +37,7 @@ "tags": [ "Regions" ], - "operationId": "Location_ListUsages", + "operationId": "Locations_ListUsages", "description": "Lists the usages for the specified location.", "x-ms-examples": { "Get the subscription usages for specific location": {