diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/applications.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/applications.json similarity index 100% rename from specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/applications.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/applications.json diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/cluster.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/cluster.json similarity index 97% rename from specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/cluster.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/cluster.json index 1bdcbbd7fe80..d7e58446e8b6 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/cluster.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/cluster.json @@ -1,1483 +1,1483 @@ -{ - "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}": { - "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" - }, - "Create Hadoop cluster with Azure Data Lake Storage Gen 2": { - "$ref": "./examples/CreateLinuxHadoopAdlsGen2.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": { - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./operations.json#/definitions/ErrorResponse" - } - }, - "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": { - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./operations.json#/definitions/ErrorResponse" - } - }, - "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": { - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./operations.json#/definitions/ErrorResponse" - } - }, - "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": { - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./operations.json#/definitions/ErrorResponse" - } - }, - "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": { - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./operations.json#/definitions/ErrorResponse" - } - }, - "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": { - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./operations.json#/definitions/ErrorResponse" - } - }, - "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": { - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./operations.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "OK response definition.", - "schema": { - "$ref": "#/definitions/ClusterListResult" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/rotatediskencryptionkey": { - "post": { - "tags": [ - "Clusters" - ], - "operationId": "Clusters_RotateDiskEncryptionKey", - "x-ms-examples": { - "Rotate disk encryption key of the specified HDInsight cluster": { - "$ref": "./examples/RotateLinuxHadoopClusterDiskEncryptionKey.json" - } - }, - "description": "Rotate disk encryption key of the specified HDInsight cluster.", - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ClusterNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ClusterDiskEncryptionParameters" - }, - "description": "The parameters for the disk encryption operation." - } - ], - "responses": { - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./operations.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "OK response definition." - }, - "202": { - "description": "Accepted response definition." - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/getGatewaySettings": { - "post": { - "tags": [ - "Clusters" - ], - "operationId": "Clusters_GetGatewaySettings", - "description": "Gets the gateway settings for the specified cluster.", - "x-ms-examples": { - "Get HTTP settings": { - "$ref": "./examples/HDI_Clusters_GetGatewaySettings.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ClusterNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./operations.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "OK response definition.", - "schema": { - "$ref": "#/definitions/GatewaySettings" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/updateGatewaySettings": { - "post": { - "tags": [ - "Clusters" - ], - "operationId": "Clusters_UpdateGatewaySettings", - "description": "Configures the gateway settings on the specified cluster.", - "x-ms-examples": { - "Enable HTTP connectivity": { - "$ref": "./examples/HDI_Clusters_UpdateGatewaySettings_Enable.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ClusterNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/UpdateGatewaySettingsParameters" - }, - "description": "The cluster configurations." - } - ], - "responses": { - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./operations.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "OK response definition." - }, - "202": { - "description": "Accepted response definition" - } - }, - "x-ms-long-running-operation": true - } - } - }, - "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" - }, - "aaddsResourceId": { - "type": "string", - "description": "The resource ID of the user's Azure Active Directory Domain Service." - }, - "msiResourceId": { - "type": "string", - "description": "User assigned identity that has permissions to read and create cluster-related artifacts in the user's AADDS." - } - } - }, - "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, only to be specified for WASB storage accounts." - }, - "fileSystem": { - "type": "string", - "description": "The filesystem, only to be specified for Azure Data Lake Storage type Gen 2." - }, - "key": { - "type": "string", - "description": "The storage account access key." - }, - "resourceId": { - "type": "string", - "description": "The resource ID of storage account, only to be specified for Azure Data Lake Storage Gen 2." - }, - "msiResourceId": { - "type": "string", - "description": "The managed identity (MSI) that is allowed to access the storage account, only to be specified for Azure Data Lake Storage Gen 2." - } - }, - "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." - }, - "diskEncryptionProperties": { - "$ref": "#/definitions/DiskEncryptionProperties", - "description": "The disk encryption properties." - } - } - }, - "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." - }, - "identity": { - "$ref": "#/definitions/ClusterIdentity", - "description": "The identity of the cluster, if configured." - } - }, - "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." - }, - "diskEncryptionProperties": { - "$ref": "#/definitions/DiskEncryptionProperties", - "description": "The disk encryption properties." - } - }, - "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." - }, - "identity": { - "$ref": "#/definitions/ClusterIdentity", - "description": "The identity of the cluster, if configured." - } - }, - "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." - }, - "ClusterIdentity": { - "properties": { - "principalId": { - "readOnly": true, - "type": "string", - "description": "The principal id of cluster identity. This property will only be provided for a system assigned identity." - }, - "tenantId": { - "readOnly": true, - "type": "string", - "description": "The tenant id associated with the cluster. This property will only be provided for a system assigned identity." - }, - "type": { - "type": "string", - "description": "The type of identity used for the cluster. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities.", - "enum": [ - "SystemAssigned", - "UserAssigned", - "SystemAssigned, UserAssigned", - "None" - ], - "x-ms-enum": { - "name": "ResourceIdentityType", - "modelAsString": false - } - }, - "userAssignedIdentities": { - "type": "object", - "additionalProperties": { - "type": "object", - "properties": { - "principalId": { - "readOnly": true, - "type": "string", - "description": "The principal id of user assigned identity." - }, - "clientId": { - "readOnly": true, - "type": "string", - "description": "The client id of user assigned identity." - } - } - }, - "description": "The list of user identities associated with the cluster. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'." - } - }, - "description": "Identity for the cluster." - }, - "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." - }, - "ClusterDiskEncryptionParameters": { - "properties": { - "vaultUri": { - "type": "string", - "description": "Base key vault URI where the customers key is located eg. https://myvault.vault.azure.net" - }, - "keyName": { - "type": "string", - "description": "Key name that is used for enabling disk encryption." - }, - "keyVersion": { - "type": "string", - "description": "Specific key version that is used for enabling disk encryption." - } - }, - "description": "The Disk Encryption Cluster request parameters." - }, - "DiskEncryptionProperties": { - "description": "The disk encryption properties", - "properties": { - "vaultUri": { - "type": "string", - "description": "Base key vault URI where the customers key is located eg. https://myvault.vault.azure.net" - }, - "keyName": { - "type": "string", - "description": "Key name that is used for enabling disk encryption." - }, - "keyVersion": { - "type": "string", - "description": "Specific key version that is used for enabling disk encryption." - }, - "encryptionAlgorithm": { - "type": "string", - "description": "Algorithm identifier for encryption, default RSA-OAEP.", - "enum": [ - "RSA-OAEP", - "RSA-OAEP-256", - "RSA1_5" - ], - "x-ms-enum": { - "name": "JsonWebKeyEncryptionAlgorithm", - "modelAsString": true - } - }, - "msiResourceId": { - "type": "string", - "description": "Resource ID of Managed Identity that is used to access the key vault." - } - } - }, - "UpdateGatewaySettingsParameters": { - "properties": { - "restAuthCredential.isEnabled": { - "type": "boolean", - "default": true, - "x-ms-client-name": "isCredentialEnabled", - "description": "Indicates whether or not the gateway settings based authorization is enabled." - }, - "restAuthCredential.username": { - "type": "string", - "x-ms-client-name": "userName", - "description": "The gateway settings user name." - }, - "restAuthCredential.password": { - "type": "string", - "x-ms-client-name": "password", - "description": "The gateway settings user password." - } - }, - "description": "The update gateway settings request parameters." - }, - "GatewaySettings": { - "properties": { - "restAuthCredential.isEnabled": { - "type": "string", - "x-ms-client-name": "isCredentialEnabled", - "description": "Indicates whether or not the gateway settings based authorization is enabled.", - "readOnly": true - }, - "restAuthCredential.username": { - "type": "string", - "x-ms-client-name": "userName", - "description": "The gateway settings user name.", - "readOnly": true - }, - "restAuthCredential.password": { - "type": "string", - "x-ms-client-name": "password", - "description": "The gateway settings user password.", - "readOnly": true - } - }, - "description": "Gateway settings." - }, - "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" - } - ] - } - }, - "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" - }, - "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}": { + "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" + }, + "Create Hadoop cluster with Azure Data Lake Storage Gen 2": { + "$ref": "./examples/CreateLinuxHadoopAdlsGen2.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": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./operations.json#/definitions/ErrorResponse" + } + }, + "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": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./operations.json#/definitions/ErrorResponse" + } + }, + "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": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./operations.json#/definitions/ErrorResponse" + } + }, + "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": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./operations.json#/definitions/ErrorResponse" + } + }, + "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": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./operations.json#/definitions/ErrorResponse" + } + }, + "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": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./operations.json#/definitions/ErrorResponse" + } + }, + "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": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./operations.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "OK response definition.", + "schema": { + "$ref": "#/definitions/ClusterListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/rotatediskencryptionkey": { + "post": { + "tags": [ + "Clusters" + ], + "operationId": "Clusters_RotateDiskEncryptionKey", + "x-ms-examples": { + "Rotate disk encryption key of the specified HDInsight cluster": { + "$ref": "./examples/RotateLinuxHadoopClusterDiskEncryptionKey.json" + } + }, + "description": "Rotate disk encryption key of the specified HDInsight cluster.", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ClusterNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ClusterDiskEncryptionParameters" + }, + "description": "The parameters for the disk encryption operation." + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./operations.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "OK response definition." + }, + "202": { + "description": "Accepted response definition." + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/getGatewaySettings": { + "post": { + "tags": [ + "Clusters" + ], + "operationId": "Clusters_GetGatewaySettings", + "description": "Gets the gateway settings for the specified cluster.", + "x-ms-examples": { + "Get HTTP settings": { + "$ref": "./examples/HDI_Clusters_GetGatewaySettings.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ClusterNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./operations.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "OK response definition.", + "schema": { + "$ref": "#/definitions/GatewaySettings" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/updateGatewaySettings": { + "post": { + "tags": [ + "Clusters" + ], + "operationId": "Clusters_UpdateGatewaySettings", + "description": "Configures the gateway settings on the specified cluster.", + "x-ms-examples": { + "Enable HTTP connectivity": { + "$ref": "./examples/HDI_Clusters_UpdateGatewaySettings_Enable.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ClusterNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/UpdateGatewaySettingsParameters" + }, + "description": "The cluster configurations." + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./operations.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "OK response definition." + }, + "202": { + "description": "Accepted response definition" + } + }, + "x-ms-long-running-operation": true + } + } + }, + "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" + }, + "aaddsResourceId": { + "type": "string", + "description": "The resource ID of the user's Azure Active Directory Domain Service." + }, + "msiResourceId": { + "type": "string", + "description": "User assigned identity that has permissions to read and create cluster-related artifacts in the user's AADDS." + } + } + }, + "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, only to be specified for WASB storage accounts." + }, + "fileSystem": { + "type": "string", + "description": "The filesystem, only to be specified for Azure Data Lake Storage type Gen 2." + }, + "key": { + "type": "string", + "description": "The storage account access key." + }, + "resourceId": { + "type": "string", + "description": "The resource ID of storage account, only to be specified for Azure Data Lake Storage Gen 2." + }, + "msiResourceId": { + "type": "string", + "description": "The managed identity (MSI) that is allowed to access the storage account, only to be specified for Azure Data Lake Storage Gen 2." + } + }, + "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." + }, + "diskEncryptionProperties": { + "$ref": "#/definitions/DiskEncryptionProperties", + "description": "The disk encryption properties." + } + } + }, + "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." + }, + "identity": { + "$ref": "#/definitions/ClusterIdentity", + "description": "The identity of the cluster, if configured." + } + }, + "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." + }, + "diskEncryptionProperties": { + "$ref": "#/definitions/DiskEncryptionProperties", + "description": "The disk encryption properties." + } + }, + "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." + }, + "identity": { + "$ref": "#/definitions/ClusterIdentity", + "description": "The identity of the cluster, if configured." + } + }, + "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." + }, + "ClusterIdentity": { + "properties": { + "principalId": { + "readOnly": true, + "type": "string", + "description": "The principal id of cluster identity. This property will only be provided for a system assigned identity." + }, + "tenantId": { + "readOnly": true, + "type": "string", + "description": "The tenant id associated with the cluster. This property will only be provided for a system assigned identity." + }, + "type": { + "type": "string", + "description": "The type of identity used for the cluster. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities.", + "enum": [ + "SystemAssigned", + "UserAssigned", + "SystemAssigned, UserAssigned", + "None" + ], + "x-ms-enum": { + "name": "ResourceIdentityType", + "modelAsString": false + } + }, + "userAssignedIdentities": { + "type": "object", + "additionalProperties": { + "type": "object", + "properties": { + "principalId": { + "readOnly": true, + "type": "string", + "description": "The principal id of user assigned identity." + }, + "clientId": { + "readOnly": true, + "type": "string", + "description": "The client id of user assigned identity." + } + } + }, + "description": "The list of user identities associated with the cluster. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'." + } + }, + "description": "Identity for the cluster." + }, + "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." + }, + "ClusterDiskEncryptionParameters": { + "properties": { + "vaultUri": { + "type": "string", + "description": "Base key vault URI where the customers key is located eg. https://myvault.vault.azure.net" + }, + "keyName": { + "type": "string", + "description": "Key name that is used for enabling disk encryption." + }, + "keyVersion": { + "type": "string", + "description": "Specific key version that is used for enabling disk encryption." + } + }, + "description": "The Disk Encryption Cluster request parameters." + }, + "DiskEncryptionProperties": { + "description": "The disk encryption properties", + "properties": { + "vaultUri": { + "type": "string", + "description": "Base key vault URI where the customers key is located eg. https://myvault.vault.azure.net" + }, + "keyName": { + "type": "string", + "description": "Key name that is used for enabling disk encryption." + }, + "keyVersion": { + "type": "string", + "description": "Specific key version that is used for enabling disk encryption." + }, + "encryptionAlgorithm": { + "type": "string", + "description": "Algorithm identifier for encryption, default RSA-OAEP.", + "enum": [ + "RSA-OAEP", + "RSA-OAEP-256", + "RSA1_5" + ], + "x-ms-enum": { + "name": "JsonWebKeyEncryptionAlgorithm", + "modelAsString": true + } + }, + "msiResourceId": { + "type": "string", + "description": "Resource ID of Managed Identity that is used to access the key vault." + } + } + }, + "UpdateGatewaySettingsParameters": { + "properties": { + "restAuthCredential.isEnabled": { + "type": "boolean", + "default": true, + "x-ms-client-name": "isCredentialEnabled", + "description": "Indicates whether or not the gateway settings based authorization is enabled." + }, + "restAuthCredential.username": { + "type": "string", + "x-ms-client-name": "userName", + "description": "The gateway settings user name." + }, + "restAuthCredential.password": { + "type": "string", + "x-ms-client-name": "password", + "description": "The gateway settings user password." + } + }, + "description": "The update gateway settings request parameters." + }, + "GatewaySettings": { + "properties": { + "restAuthCredential.isEnabled": { + "type": "string", + "x-ms-client-name": "isCredentialEnabled", + "description": "Indicates whether or not the gateway settings based authorization is enabled.", + "readOnly": true + }, + "restAuthCredential.username": { + "type": "string", + "x-ms-client-name": "userName", + "description": "The gateway settings user name.", + "readOnly": true + }, + "restAuthCredential.password": { + "type": "string", + "x-ms-client-name": "password", + "description": "The gateway settings user password.", + "readOnly": true + } + }, + "description": "Gateway settings." + }, + "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" + } + ] + } + }, + "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" + }, + "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/stable/2018-06-01-preview/configurations.json similarity index 97% rename from specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/configurations.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/configurations.json index 077626bdec58..72f5ab4bb05c 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/configurations.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/configurations.json @@ -1,244 +1,244 @@ -{ - "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}/configurations": { - "post": { - "tags": [ - "Configurations" - ], - "operationId": "Configurations_List", - "description": "Gets all configuration information for an HDI cluster.", - "x-ms-examples": { - "Get all configuration information": { - "$ref": "./examples/HDI_Configurations_List.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ClusterNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./operations.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "OK response definition.", - "schema": { - "$ref": "#/definitions/ClusterConfigurations" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/configurations/{configurationName}": { - "post": { - "tags": [ - "Configurations" - ], - "operationId": "Configurations_Update", - "description": "Configures the HTTP settings on the specified cluster. This API is deprecated, please use UpdateGatewaySettings in cluster endpoint instead.", - "deprecated": true, - "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": { - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./operations.json#/definitions/ErrorResponse" - } - }, - "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. This API is not recommended and might be removed in the future. Please consider using List configurations API instead.", - "x-ms-examples": { - "Get Core site settings": { - "$ref": "./examples/HDI_Configurations_Get.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ClusterNameParameter" - }, - { - "$ref": "#/parameters/ConfigurationNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./operations.json#/definitions/ErrorResponse" - } - }, - "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." - }, - "ClusterConfigurations": { - "properties": { - "configurations": { - "description": "The configuration object for the specified configuration for the specified cluster.", - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/ClusterConfiguration" - } - } - }, - "description": "The configuration object 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.", - "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" - }, - "ConfigurationNameParameter": { - "name": "configurationName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the cluster configuration.", - "x-ms-parameter-location": "method" - }, - "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}/configurations": { + "post": { + "tags": [ + "Configurations" + ], + "operationId": "Configurations_List", + "description": "Gets all configuration information for an HDI cluster.", + "x-ms-examples": { + "Get all configuration information": { + "$ref": "./examples/HDI_Configurations_List.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ClusterNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./operations.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "OK response definition.", + "schema": { + "$ref": "#/definitions/ClusterConfigurations" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/configurations/{configurationName}": { + "post": { + "tags": [ + "Configurations" + ], + "operationId": "Configurations_Update", + "description": "Configures the HTTP settings on the specified cluster. This API is deprecated, please use UpdateGatewaySettings in cluster endpoint instead.", + "deprecated": true, + "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": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./operations.json#/definitions/ErrorResponse" + } + }, + "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. This API is not recommended and might be removed in the future. Please consider using List configurations API instead.", + "x-ms-examples": { + "Get Core site settings": { + "$ref": "./examples/HDI_Configurations_Get.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ClusterNameParameter" + }, + { + "$ref": "#/parameters/ConfigurationNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./operations.json#/definitions/ErrorResponse" + } + }, + "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." + }, + "ClusterConfigurations": { + "properties": { + "configurations": { + "description": "The configuration object for the specified configuration for the specified cluster.", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/ClusterConfiguration" + } + } + }, + "description": "The configuration object 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.", + "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" + }, + "ConfigurationNameParameter": { + "name": "configurationName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the cluster configuration.", + "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/examples/ChangeHttpConnectivityDisable.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/ChangeHttpConnectivityDisable.json similarity index 96% rename from specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/ChangeHttpConnectivityDisable.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/ChangeHttpConnectivityDisable.json index 36e6abcfc05e..ee0cefc7b821 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/ChangeHttpConnectivityDisable.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/ChangeHttpConnectivityDisable.json @@ -1,21 +1,21 @@ -{ - "parameters": { - "clusterName": "cluster1", - "resourceGroupName": "rg1", - "api-version": "2018-06-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": {} - } +{ + "parameters": { + "clusterName": "cluster1", + "resourceGroupName": "rg1", + "api-version": "2018-06-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/stable/2018-06-01-preview/examples/ChangeHttpConnectivityEnable.json similarity index 96% rename from specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/ChangeHttpConnectivityEnable.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/ChangeHttpConnectivityEnable.json index 11b287ddbef3..2975ff6d576f 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/ChangeHttpConnectivityEnable.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/ChangeHttpConnectivityEnable.json @@ -1,23 +1,23 @@ -{ - "parameters": { - "clusterName": "cluster1", - "resourceGroupName": "rg1", - "api-version": "2018-06-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": {} - } +{ + "parameters": { + "clusterName": "cluster1", + "resourceGroupName": "rg1", + "api-version": "2018-06-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/stable/2018-06-01-preview/examples/CreateApplication.json similarity index 100% rename from specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/CreateApplication.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/CreateApplication.json diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/CreateExtension.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/CreateExtension.json similarity index 96% rename from specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/CreateExtension.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/CreateExtension.json index 0ba75a738687..2ef0440b833e 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/CreateExtension.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/CreateExtension.json @@ -1,17 +1,17 @@ -{ - "parameters": { - "clusterName": "cluster1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "extensionName": "clustermonitoring", - "parameters": { - "workspaceId": "a2090ead-8c9f-4fba-b70e-533e3e003163", - "primaryKey": "**********" - } - }, - "responses": { - "200": {}, - "202": {} - } +{ + "parameters": { + "clusterName": "cluster1", + "resourceGroupName": "rg1", + "api-version": "2018-06-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/CreateLinuxHadoopAdlsGen2.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/CreateLinuxHadoopAdlsGen2.json similarity index 97% rename from specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/CreateLinuxHadoopAdlsGen2.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/CreateLinuxHadoopAdlsGen2.json index 0c791b3d6937..1d9094f8d80c 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/CreateLinuxHadoopAdlsGen2.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/CreateLinuxHadoopAdlsGen2.json @@ -1,88 +1,88 @@ -{ - "parameters": { - "clusterName": "cluster1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "parameters": { - "tags": { "key1": "val1" }, - "properties": { - "clusterVersion": "3.6", - "osType": "Linux", - "tier": "Standard", - "clusterDefinition": { - "kind": "Hadoop", - "configurations": { - "gateway": { - "restAuthCredential.isEnabled": "true", - "restAuthCredential.username": "admin", - "restAuthCredential.password": "**********" - } - } - }, - "storageProfile": { - "storageaccounts": [ - { - "name": "mystorage.dfs.core.windows.net", - "isDefault": true, - "fileSystem": "default", - "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" - } - } - } +{ + "parameters": { + "clusterName": "cluster1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "parameters": { + "tags": { "key1": "val1" }, + "properties": { + "clusterVersion": "3.6", + "osType": "Linux", + "tier": "Standard", + "clusterDefinition": { + "kind": "Hadoop", + "configurations": { + "gateway": { + "restAuthCredential.isEnabled": "true", + "restAuthCredential.username": "admin", + "restAuthCredential.password": "**********" + } + } + }, + "storageProfile": { + "storageaccounts": [ + { + "name": "mystorage.dfs.core.windows.net", + "isDefault": true, + "fileSystem": "default", + "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/CreateLinuxHadoopSecureHadoop.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/CreateLinuxHadoopSecureHadoop.json similarity index 100% rename from specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/CreateLinuxHadoopSecureHadoop.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/CreateLinuxHadoopSecureHadoop.json diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/CreateLinuxHadoopSshPassword.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/CreateLinuxHadoopSshPassword.json similarity index 100% rename from specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/CreateLinuxHadoopSshPassword.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/CreateLinuxHadoopSshPassword.json diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/CreateLinuxHadoopSshPublicKey.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/CreateLinuxHadoopSshPublicKey.json similarity index 100% rename from specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/CreateLinuxHadoopSshPublicKey.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/CreateLinuxHadoopSshPublicKey.json diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/CreateLinuxSparkSshPassword.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/CreateLinuxSparkSshPassword.json similarity index 100% rename from specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/CreateLinuxSparkSshPassword.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/CreateLinuxSparkSshPassword.json diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/DeleteApplication.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/DeleteApplication.json similarity index 96% rename from specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/DeleteApplication.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/DeleteApplication.json index 23d14c01f45d..e10fc4227e99 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/DeleteApplication.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/DeleteApplication.json @@ -1,17 +1,17 @@ -{ - "parameters": { - "applicationName": "hue", - "clusterName": "cluster1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "headers": { - "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult" - } - }, - "202": {} - } +{ + "parameters": { + "applicationName": "hue", + "clusterName": "cluster1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "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/DeleteExtension.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/DeleteExtension.json similarity index 96% rename from specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/DeleteExtension.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/DeleteExtension.json index d73289f0c7a1..5ab33a68737f 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/DeleteExtension.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/DeleteExtension.json @@ -1,13 +1,13 @@ -{ - "parameters": { - "clusterName": "cluster1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "extensionName": "clustermonitoring" - }, - "responses": { - "200": {}, - "202": {} - } +{ + "parameters": { + "clusterName": "cluster1", + "resourceGroupName": "rg1", + "api-version": "2018-06-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/stable/2018-06-01-preview/examples/DeleteLinuxHadoopCluster.json similarity index 95% rename from specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/DeleteLinuxHadoopCluster.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/DeleteLinuxHadoopCluster.json index b1c8b19d9927..fa8321bcaeb3 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/DeleteLinuxHadoopCluster.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/DeleteLinuxHadoopCluster.json @@ -1,12 +1,12 @@ - { - "parameters": { - "clusterName": "cluster1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid" - }, - "responses": { - "202": {}, - "200": {} - } + { + "parameters": { + "clusterName": "cluster1", + "resourceGroupName": "rg1", + "api-version": "2018-06-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/stable/2018-06-01-preview/examples/DeleteScriptAction.json similarity index 95% rename from specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/DeleteScriptAction.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/DeleteScriptAction.json index 3a430578e53f..66dcf8633aa1 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/DeleteScriptAction.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/DeleteScriptAction.json @@ -1,12 +1,12 @@ -{ - "parameters": { - "clusterName": "cluster1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "scriptName": "scriptName" - }, - "responses": { - "200": {} - } +{ + "parameters": { + "clusterName": "cluster1", + "resourceGroupName": "rg1", + "api-version": "2018-06-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/stable/2018-06-01-preview/examples/DisableLinuxClusterMonitoring.json similarity index 95% rename from specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/DisableLinuxClusterMonitoring.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/DisableLinuxClusterMonitoring.json index d850812235da..3b5289d0db70 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/DisableLinuxClusterMonitoring.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/DisableLinuxClusterMonitoring.json @@ -1,12 +1,12 @@ -{ - "parameters": { - "clusterName": "cluster1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid" - }, - "responses": { - "200": {}, - "202": {} - } +{ + "parameters": { + "clusterName": "cluster1", + "resourceGroupName": "rg1", + "api-version": "2018-06-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/stable/2018-06-01-preview/examples/EnableLinuxClusterMonitoring.json similarity index 96% rename from specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/EnableLinuxClusterMonitoring.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/EnableLinuxClusterMonitoring.json index 2206311af486..f7bc5b41ef13 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/EnableLinuxClusterMonitoring.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/EnableLinuxClusterMonitoring.json @@ -1,16 +1,16 @@ -{ - "parameters": { - "clusterName": "cluster1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "parameters": { - "workspaceId": "a2090ead-8c9f-4fba-b70e-533e3e003163", - "primaryKey": "**********" - } - }, - "responses": { - "200": {}, - "202": {} - } +{ + "parameters": { + "clusterName": "cluster1", + "resourceGroupName": "rg1", + "api-version": "2018-06-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/stable/2018-06-01-preview/examples/GetAllApplications.json similarity index 97% rename from specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetAllApplications.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/GetAllApplications.json index 7f9fb39ed54d..24237fb08d4e 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetAllApplications.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/GetAllApplications.json @@ -1,89 +1,89 @@ -{ - "parameters": { - "clusterName": "cluster1", - "resourceGroupName": "rg1", - "api-version": "2018-06-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" - } - }] - } - } - } +{ + "parameters": { + "clusterName": "cluster1", + "resourceGroupName": "rg1", + "api-version": "2018-06-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/stable/2018-06-01-preview/examples/GetApplicationCreated.json similarity index 97% rename from specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetApplicationCreated.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/GetApplicationCreated.json index c8f8767c7d14..c517a9e334df 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetApplicationCreated.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/GetApplicationCreated.json @@ -1,53 +1,53 @@ -{ - "parameters": { - "applicationName": "app", - "clusterName": "cluster1", - "resourceGroupName": "rg1", - "api-version": "2018-06-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" - } - } - } - } +{ + "parameters": { + "applicationName": "app", + "clusterName": "cluster1", + "resourceGroupName": "rg1", + "api-version": "2018-06-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/stable/2018-06-01-preview/examples/GetApplicationInProgress.json similarity index 97% rename from specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetApplicationInProgress.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/GetApplicationInProgress.json index c54dd5425f8d..de0f68047fc5 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetApplicationInProgress.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/GetApplicationInProgress.json @@ -1,49 +1,49 @@ -{ - "parameters": { - "applicationName": "app", - "clusterName": "cluster1", - "resourceGroupName": "rg1", - "api-version": "2018-06-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" - } - } - } - } +{ + "parameters": { + "applicationName": "app", + "clusterName": "cluster1", + "resourceGroupName": "rg1", + "api-version": "2018-06-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/stable/2018-06-01-preview/examples/GetExtension.json similarity index 96% rename from specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetExtension.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/GetExtension.json index d7cce776a632..511c866cd913 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetExtension.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/GetExtension.json @@ -1,12 +1,12 @@ -{ - "parameters": { - "clusterName": "cluster1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "extensionName": "clustermonitoring" - }, - "responses": { - "200": {} - } +{ + "parameters": { + "clusterName": "cluster1", + "resourceGroupName": "rg1", + "api-version": "2018-06-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/stable/2018-06-01-preview/examples/GetHDInsightUsages.json similarity index 96% rename from specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetHDInsightUsages.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/GetHDInsightUsages.json index c0d5a5b4653c..8b261609ffb3 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetHDInsightUsages.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/GetHDInsightUsages.json @@ -1,24 +1,24 @@ -{ - "parameters": { - "location": "West US", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "Body": { - "value": [ - { - "unit": "Count", - "currentValue": 0, - "limit": 5000, - "name": { - "value": "cores", - "localizedValue": "Cores" - } - } - ] - } - } - } +{ + "parameters": { + "location": "West US", + "api-version": "2018-06-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/GetLinuxClusterMonitoringStatus.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/GetLinuxClusterMonitoringStatus.json similarity index 95% rename from specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetLinuxClusterMonitoringStatus.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/GetLinuxClusterMonitoringStatus.json index 99ce8d118673..56e95ca51075 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetLinuxClusterMonitoringStatus.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/GetLinuxClusterMonitoringStatus.json @@ -1,11 +1,11 @@ -{ - "parameters": { - "clusterName": "cluster1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid" - }, - "responses": { - "200": {} - } +{ + "parameters": { + "clusterName": "cluster1", + "resourceGroupName": "rg1", + "api-version": "2018-06-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/stable/2018-06-01-preview/examples/GetLinuxHadoopAllClusters.json similarity index 98% rename from specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetLinuxHadoopAllClusters.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/GetLinuxHadoopAllClusters.json index 538cd8531681..2a41a0163347 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetLinuxHadoopAllClusters.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/GetLinuxHadoopAllClusters.json @@ -1,163 +1,163 @@ - { - "parameters": { - "api-version": "2018-06-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" - } - } - ] - } - } - } + { + "parameters": { + "api-version": "2018-06-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/stable/2018-06-01-preview/examples/GetLinuxHadoopAllClustersInResourceGroup.json similarity index 98% rename from specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetLinuxHadoopAllClustersInResourceGroup.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/GetLinuxHadoopAllClustersInResourceGroup.json index 72d54d1abcdb..65d188f6c675 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetLinuxHadoopAllClustersInResourceGroup.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/GetLinuxHadoopAllClustersInResourceGroup.json @@ -1,164 +1,164 @@ - { - "parameters": { - "resourceGroupName": "rg1", - "api-version": "2018-06-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" - } - } - ] - } - } - } + { + "parameters": { + "resourceGroupName": "rg1", + "api-version": "2018-06-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/stable/2018-06-01-preview/examples/GetLinuxHadoopCluster.json similarity index 97% rename from specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetLinuxHadoopCluster.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/GetLinuxHadoopCluster.json index 385d80ffd223..8b4586304d43 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetLinuxHadoopCluster.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/GetLinuxHadoopCluster.json @@ -1,87 +1,87 @@ - { - "parameters": { - "clusterName": "cluster1", - "resourceGroupName": "rg1", - "api-version": "2018-06-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" - } - } - } - } + { + "parameters": { + "clusterName": "cluster1", + "resourceGroupName": "rg1", + "api-version": "2018-06-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/stable/2018-06-01-preview/examples/GetLinuxHadoopScriptAction.json similarity index 96% rename from specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetLinuxHadoopScriptAction.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/GetLinuxHadoopScriptAction.json index 35e14bd1dcde..b8dd2843d362 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetLinuxHadoopScriptAction.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/GetLinuxHadoopScriptAction.json @@ -1,21 +1,21 @@ -{ - "parameters": { - "clusterName": "cluster1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [{ - "name": "app-Install", - "uri": "https://app.com/azure/app_install.sh", - "parameters": "", - "roles": ["edgenode"], - "applicationName": "app" - }] - } - } - } +{ + "parameters": { + "clusterName": "cluster1", + "resourceGroupName": "rg1", + "api-version": "2018-06-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/GetLinuxSparkCluster.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/GetLinuxSparkCluster.json similarity index 97% rename from specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetLinuxSparkCluster.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/GetLinuxSparkCluster.json index d9b7e6ee6e9e..a7311de2c4b7 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetLinuxSparkCluster.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/GetLinuxSparkCluster.json @@ -1,90 +1,90 @@ -{ - "parameters": { - "clusterName": "cluster1", - "resourceGroupName": "rg1", - "api-version": "2018-06-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" - } - } - } - } +{ + "parameters": { + "clusterName": "cluster1", + "resourceGroupName": "rg1", + "api-version": "2018-06-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/stable/2018-06-01-preview/examples/GetScriptActionById.json similarity index 97% rename from specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetScriptActionById.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/GetScriptActionById.json index 635a25d3e455..a184770a566d 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetScriptActionById.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/GetScriptActionById.json @@ -1,30 +1,30 @@ -{ - "parameters": { - "clusterName": "cluster1", - "resourceGroupName": "rg1", - "api-version": "2018-06-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": "" - } - } - } +{ + "parameters": { + "clusterName": "cluster1", + "resourceGroupName": "rg1", + "api-version": "2018-06-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/stable/2018-06-01-preview/examples/GetScriptExecutionHistory.json similarity index 97% rename from specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetScriptExecutionHistory.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/GetScriptExecutionHistory.json index fc162160c88a..e03cddbadaca 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/GetScriptExecutionHistory.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/GetScriptExecutionHistory.json @@ -1,48 +1,48 @@ -{ - "parameters": { - "clusterName": "cluster1", - "resourceGroupName": "rg1", - "api-version": "2018-06-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": [] - } - ] - } - } - } +{ + "parameters": { + "clusterName": "cluster1", + "resourceGroupName": "rg1", + "api-version": "2018-06-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/HDI_Clusters_GetGatewaySettings.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/HDI_Clusters_GetGatewaySettings.json similarity index 95% rename from specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/HDI_Clusters_GetGatewaySettings.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/HDI_Clusters_GetGatewaySettings.json index 8a85b271a6fd..e7c997d4df5a 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/HDI_Clusters_GetGatewaySettings.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/HDI_Clusters_GetGatewaySettings.json @@ -1,17 +1,17 @@ -{ - "parameters": { - "clusterName": "cluster1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "restAuthCredential.isEnabled": "true", - "restAuthCredential.username": "hadoop", - "restAuthCredential.password": "**********" - } - } - } +{ + "parameters": { + "clusterName": "cluster1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid" + }, + "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/HDI_Clusters_UpdateGatewaySettings_Enable.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/HDI_Clusters_UpdateGatewaySettings_Enable.json similarity index 96% rename from specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/HDI_Clusters_UpdateGatewaySettings_Enable.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/HDI_Clusters_UpdateGatewaySettings_Enable.json index abd6f96579c0..49e6feef7ee2 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/HDI_Clusters_UpdateGatewaySettings_Enable.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/HDI_Clusters_UpdateGatewaySettings_Enable.json @@ -1,20 +1,20 @@ -{ - "parameters": { - "clusterName": "cluster1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "parameters": { - "restAuthCredential.isEnabled": true, - "restAuthCredential.username": "hadoop", - "restAuthCredential.password": "**********" - } - }, - "responses": { - "202": { - "headers": { - "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult" - } - } - } +{ + "parameters": { + "clusterName": "cluster1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "parameters": { + "restAuthCredential.isEnabled": true, + "restAuthCredential.username": "hadoop", + "restAuthCredential.password": "**********" + } + }, + "responses": { + "202": { + "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/HDI_Configurations_Get.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/HDI_Configurations_Get.json similarity index 96% rename from specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/HDI_Configurations_Get.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/HDI_Configurations_Get.json index 7abae5b25e2e..07c9b75dc97c 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/HDI_Configurations_Get.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/HDI_Configurations_Get.json @@ -1,17 +1,17 @@ -{ - "parameters": { - "clusterName": "cluster1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "configurationName": "core-site" - }, - "responses": { - "200": { - "body": { - "fs.defaultFS":"wasb://test.blob.core.windows.net", - "fs.azure.account.key.test.blob.core.windows.net":"accountKey" - } - } - } +{ + "parameters": { + "clusterName": "cluster1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "configurationName": "core-site" + }, + "responses": { + "200": { + "body": { + "fs.defaultFS":"wasb://test.blob.core.windows.net", + "fs.azure.account.key.test.blob.core.windows.net":"accountKey" + } + } + } } \ No newline at end of file diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/HDI_Configurations_List.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/HDI_Configurations_List.json similarity index 96% rename from specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/HDI_Configurations_List.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/HDI_Configurations_List.json index 81448557d3f6..7e4022524858 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/HDI_Configurations_List.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/HDI_Configurations_List.json @@ -1,25 +1,25 @@ -{ - "parameters": { - "clusterName": "cluster1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "configurations": { - "core-site": { - "fs.defaultFS": "wasb://test.blob.core.windows.net", - "fs.azure.account.key.test.blob.core.windows.net": "accountKey" - }, - "gateway": { - "restAuthCredential.isEnabled": "true", - "restAuthCredential.username": "admin", - "restAuthCredential.password": "**********" - } - } - } - } - } +{ + "parameters": { + "clusterName": "cluster1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "configurations": { + "core-site": { + "fs.defaultFS": "wasb://test.blob.core.windows.net", + "fs.azure.account.key.test.blob.core.windows.net": "accountKey" + }, + "gateway": { + "restAuthCredential.isEnabled": "true", + "restAuthCredential.username": "admin", + "restAuthCredential.password": "**********" + } + } + } + } + } } \ 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/stable/2018-06-01-preview/examples/PatchLinuxHadoopCluster.json similarity index 100% rename from specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/PatchLinuxHadoopCluster.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/PatchLinuxHadoopCluster.json diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/PostExecuteScriptAction.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/PostExecuteScriptAction.json similarity index 96% rename from specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/PostExecuteScriptAction.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/PostExecuteScriptAction.json index 5727598112cc..30dbbb97bb8d 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/PostExecuteScriptAction.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/PostExecuteScriptAction.json @@ -1,28 +1,28 @@ -{ - "parameters": { - "clusterName": "cluster1", - "resourceGroupName": "rg1", - "api-version": "2018-06-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": {} - } +{ + "parameters": { + "clusterName": "cluster1", + "resourceGroupName": "rg1", + "api-version": "2018-06-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/stable/2018-06-01-preview/examples/PromoteLinuxHadoopScriptAction.json similarity index 96% rename from specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/PromoteLinuxHadoopScriptAction.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/PromoteLinuxHadoopScriptAction.json index 2fcf642c2d56..6a285dfcf4f4 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/PromoteLinuxHadoopScriptAction.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/PromoteLinuxHadoopScriptAction.json @@ -1,12 +1,12 @@ -{ - "parameters": { - "clusterName": "cluster1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "scriptExecutionId": "391145124054712" - }, - "responses": { - "200": {} - } +{ + "parameters": { + "clusterName": "cluster1", + "resourceGroupName": "rg1", + "api-version": "2018-06-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/ResizeLinuxHadoopCluster.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/ResizeLinuxHadoopCluster.json similarity index 95% rename from specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/ResizeLinuxHadoopCluster.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/ResizeLinuxHadoopCluster.json index 9562da3e97c9..583be1270ced 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/ResizeLinuxHadoopCluster.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/ResizeLinuxHadoopCluster.json @@ -1,16 +1,16 @@ -{ - "parameters": { - "clusterName": "cluster1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "roleName": "workernode", - "parameters": { - "targetInstanceCount": 10 - } - }, - "responses": { - "200": {}, - "202": {} - } +{ + "parameters": { + "clusterName": "cluster1", + "resourceGroupName": "rg1", + "api-version": "2018-06-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/examples/RotateLinuxHadoopClusterDiskEncryptionKey.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/RotateLinuxHadoopClusterDiskEncryptionKey.json similarity index 96% rename from specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/RotateLinuxHadoopClusterDiskEncryptionKey.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/RotateLinuxHadoopClusterDiskEncryptionKey.json index b5c58b8ebe81..a5f59fb83418 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/examples/RotateLinuxHadoopClusterDiskEncryptionKey.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/RotateLinuxHadoopClusterDiskEncryptionKey.json @@ -1,17 +1,17 @@ -{ - "parameters": { - "clusterName": "cluster1", - "resourceGroupName": "rg1", - "api-version": "2018-06-01-preview", - "subscriptionId": "subid", - "parameters": { - "vaultUri": "https://newkeyvault.vault.azure.net/", - "keyName": "newkeyname", - "keyVersion": "newkeyversion" - } - }, - "responses": { - "200": {}, - "202": {} - } +{ + "parameters": { + "clusterName": "cluster1", + "resourceGroupName": "rg1", + "api-version": "2018-06-01-preview", + "subscriptionId": "subid", + "parameters": { + "vaultUri": "https://newkeyvault.vault.azure.net/", + "keyName": "newkeyname", + "keyVersion": "newkeyversion" + } + }, + "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/stable/2018-06-01-preview/extensions.json similarity index 97% rename from specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/extensions.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/extensions.json index 8fd625202ae2..0448f2f9ecf3 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/extensions.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/extensions.json @@ -1,393 +1,393 @@ -{ - "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}/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": "Extensions_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": { - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./operations.json#/definitions/ErrorResponse" - } - }, - "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": "Extensions_GetMonitoringStatus", - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ClusterNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./operations.json#/definitions/ErrorResponse" - } - }, - "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": "Extensions_DisableMonitoring", - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ClusterNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./operations.json#/definitions/ErrorResponse" - } - }, - "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": "Extensions_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": { - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./operations.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Ok response definition." - }, - "202": { - "description": "Accepted response definition." - } - }, - "x-ms-long-running-operation": true - }, - "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": "Extensions_Get", - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ClusterNameParameter" - }, - { - "$ref": "#/parameters/ExtensionNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./operations.json#/definitions/ErrorResponse" - } - }, - "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": "Extensions_Delete", - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ClusterNameParameter" - }, - { - "$ref": "#/parameters/ExtensionNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./operations.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Ok response definition." - }, - "202": { - "description": "Accepted response definition." - } - }, - "x-ms-long-running-operation": true - } - } - }, - "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.", - "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" - }, - "ExtensionNameParameter": { - "name": "extensionName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the cluster extension.", - "x-ms-parameter-location": "method" - }, - "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}/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": "Extensions_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": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./operations.json#/definitions/ErrorResponse" + } + }, + "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": "Extensions_GetMonitoringStatus", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ClusterNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./operations.json#/definitions/ErrorResponse" + } + }, + "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": "Extensions_DisableMonitoring", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ClusterNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./operations.json#/definitions/ErrorResponse" + } + }, + "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": "Extensions_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": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./operations.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Ok response definition." + }, + "202": { + "description": "Accepted response definition." + } + }, + "x-ms-long-running-operation": true + }, + "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": "Extensions_Get", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ClusterNameParameter" + }, + { + "$ref": "#/parameters/ExtensionNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./operations.json#/definitions/ErrorResponse" + } + }, + "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": "Extensions_Delete", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ClusterNameParameter" + }, + { + "$ref": "#/parameters/ExtensionNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./operations.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Ok response definition." + }, + "202": { + "description": "Accepted response definition." + } + }, + "x-ms-long-running-operation": true + } + } + }, + "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.", + "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" + }, + "ExtensionNameParameter": { + "name": "extensionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the cluster extension.", + "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/locations.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/locations.json similarity index 97% rename from specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/locations.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/locations.json index a69ff4e0f1ac..ecd6733b4eb8 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/locations.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/locations.json @@ -1,150 +1,150 @@ -{ - "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}/providers/Microsoft.HDInsight/locations/{location}/usages": { - "get": { - "tags": [ - "Regions" - ], - "operationId": "Locations_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": { - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./operations.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "OK response definition.", - "schema": { - "$ref": "#/definitions/UsagesListResult" - } - } - } - } - } - }, - "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" - } - }, - "readOnly": true - }, - "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" - } - }, - "readOnly": true - }, - "UsagesListResult": { - "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" - } - } - }, - "readOnly": true - } - }, - "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.", - "x-ms-parameter-location": "method" - }, - "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}/providers/Microsoft.HDInsight/locations/{location}/usages": { + "get": { + "tags": [ + "Regions" + ], + "operationId": "Locations_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": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./operations.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "OK response definition.", + "schema": { + "$ref": "#/definitions/UsagesListResult" + } + } + } + } + } + }, + "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" + } + }, + "readOnly": true + }, + "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" + } + }, + "readOnly": true + }, + "UsagesListResult": { + "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" + } + } + }, + "readOnly": true + } + }, + "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.", + "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/operations.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/operations.json similarity index 100% rename from specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/operations.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/operations.json diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/scriptActions.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/scriptActions.json similarity index 97% rename from specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/scriptActions.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/scriptActions.json index 20677800032d..c149bcf37d1b 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2018-06-01-preview/scriptActions.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/scriptActions.json @@ -1,460 +1,460 @@ -{ - "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}/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": { - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./operations.json#/definitions/ErrorResponse" - } - }, - "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": { - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./operations.json#/definitions/ErrorResponse" - } - }, - "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_ListByCluster", - "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": { - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./operations.json#/definitions/ErrorResponse" - } - }, - "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": { - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./operations.json#/definitions/ErrorResponse" - } - }, - "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_ListByCluster", - "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": { - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./operations.json#/definitions/ErrorResponse" - } - }, - "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": { - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./operations.json#/definitions/ErrorResponse" - } - }, - "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.", - "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" - }, - "ScriptNameParameter": { - "name": "scriptName", - "in": "path", - "required": true, - "type": "string", - "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", - "x-ms-parameter-location": "method" - }, - "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}/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": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./operations.json#/definitions/ErrorResponse" + } + }, + "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": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./operations.json#/definitions/ErrorResponse" + } + }, + "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_ListByCluster", + "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": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./operations.json#/definitions/ErrorResponse" + } + }, + "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": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./operations.json#/definitions/ErrorResponse" + } + }, + "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_ListByCluster", + "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": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./operations.json#/definitions/ErrorResponse" + } + }, + "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": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./operations.json#/definitions/ErrorResponse" + } + }, + "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.", + "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" + }, + "ScriptNameParameter": { + "name": "scriptName", + "in": "path", + "required": true, + "type": "string", + "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", + "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/readme.go.md b/specification/hdinsight/resource-manager/readme.go.md index f9fad03fe39e..4497e723d981 100644 --- a/specification/hdinsight/resource-manager/readme.go.md +++ b/specification/hdinsight/resource-manager/readme.go.md @@ -23,7 +23,7 @@ These settings apply only when `--tag=package-2018-06-preview --go` is specified Please also specify `--go-sdk-folder=`. ``` yaml $(tag) == 'package-2018-06-preview' && $(go) -output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2018-06-01-preview/$(namespace) +output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2018-06-01-preview/$(namespace) ``` ### Tag: package-2015-03-preview and go diff --git a/specification/hdinsight/resource-manager/readme.md b/specification/hdinsight/resource-manager/readme.md index 727d3664ab4d..62cd4dc2f135 100644 --- a/specification/hdinsight/resource-manager/readme.md +++ b/specification/hdinsight/resource-manager/readme.md @@ -67,13 +67,13 @@ These settings apply only when `--tag=package-2018-06-preview` is specified on t ``` 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 +- Microsoft.HDInsight/stable/2018-06-01-preview/cluster.json +- Microsoft.HDInsight/stable/2018-06-01-preview/applications.json +- Microsoft.HDInsight/stable/2018-06-01-preview/locations.json +- Microsoft.HDInsight/stable/2018-06-01-preview/configurations.json +- Microsoft.HDInsight/stable/2018-06-01-preview/extensions.json +- Microsoft.HDInsight/stable/2018-06-01-preview/scriptActions.json +- Microsoft.HDInsight/stable/2018-06-01-preview/operations.json ```