Editing the Name of a Compute Cluster
You can edit the name of a compute cluster.
Required IAM Policy
To use Oracle Cloud Infrastructure, you must be granted security access in a policy by an administrator. This access is required whether you're using the Console or the REST API with an SDK, CLI, or other tool. If you get a message that you don't have permission or are unauthorized, verify with your administrator what type of access you have and which compartment to work in.
For administrators: To allow users to do all things with compute clusters in all compartments, write the following policy:
Allow group ComputeClusterUsers to manage compute-clusters in tenancy
You must also allow users to create instances in cluster networks. For a typical policy, see Let users launch compute instances.
Using the Console
-
Open the navigation menu and click Compute. Under Compute, click Compute Clusters.
- Click the compute cluster that you're interested in.
- Click Edit name.
- Enter a name for the compute cluster. It doesn't have to be unique, and you can change it later. Avoid entering confidential information.
- Click Save changes.
Using the API
Use the UpdateComputeCluster operation.
Using the CLI
Use the compute-cluster update command.
oci compute compute-cluster update --compute-cluster-id <compute_cluster_OCID> --display-name <new_name>
For information about using the CLI, see Command Line Interface (CLI).