Method: Azure::Hdinsight::Mgmt::V2018_06_01_preview::Clusters#update

Defined in:
lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/clusters.rb

#update(resource_group_name, cluster_name, parameters, custom_headers: nil) ⇒ Cluster

Patch HDInsight cluster with the specified parameters.

will be added to the HTTP request.

Parameters:

  • resource_group_name (String)

    The name of the resource group.

  • cluster_name (String)

    The name of the cluster.

  • parameters (ClusterPatchParameters)

    The cluster patch request.

  • custom_headers (Hash{String => String}) (defaults to: nil)

    A hash of custom headers that

Returns:

  • (Cluster)

    operation results.



81
82
83
84
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/clusters.rb', line 81

def update(resource_group_name, cluster_name, parameters, custom_headers:nil)
  response = update_async(resource_group_name, cluster_name, parameters, custom_headers:custom_headers).value!
  response.body unless response.nil?
end