module Gitlab::Client::ProjectClusters
def edit_project_cluster(project, cluster_id, options = {})
-
(Gitlab::ObjectifiedHash)
- Information about the updated project cluster.
Options Hash:
(**options)
-
:platform_kubernetes_attributes
(Hash
) -- A customizable set of Kubernetes platform attributes -
:name(optional)
(String
) -- The name of the cluster
Parameters:
-
options
(Hash
) -- A customizable set of options. -
cluster_id
(Integer
) -- The ID of the cluster. -
project
(Integer, String
) -- The ID or name of a project.
def edit_project_cluster(project, cluster_id, options = {}) put("/projects/#{url_encode project}/clusters/#{cluster_id}", body: options) end