UpdateClusterRequest
¶
Source code in docs_src/capo_pcs/types/update_cluster_request.py
client_token
instance-attribute
¶
client_token: NotRequired[SBClientToken]
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, the subsequent retries with the same client token return the result from the original successful request and they have no additional effect. If you don't specify a client token, the CLI and SDK automatically generate 1 for you.
cluster_identifier
instance-attribute
¶
cluster_identifier: ClusterIdentifier
The name or ID of the cluster to update.
scheduler
instance-attribute
¶
scheduler: NotRequired[UpdateSchedulerRequest]
The scheduler configuration to update for the cluster. Use this to update the scheduler version. For more information, see Updating the scheduler version on a cluster in the PCS User Guide.
slurm_configuration
instance-attribute
¶
slurm_configuration: NotRequired[UpdateClusterSlurmConfigurationRequest]
Additional options related to the Slurm scheduler.