Module Values.UpdateClusterRequestSource

Updates a cluster configuration. You can modify Slurm scheduler settings, accounting configuration, and security groups for an existing cluster. You can only update clusters that are in ACTIVE, UPDATE_FAILED, or SUSPENDED state. All associated resources (queues and compute node groups) must be in ACTIVE state before you can update the cluster.

Sourcetype nonrec t = {
  1. clusterIdentifier : ClusterIdentifier.t;
    (*

    The name or ID of the cluster to update.

    *)
  2. clientToken : SBClientToken.t option;
    (*

    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.

    *)
  3. slurmConfiguration : UpdateClusterSlurmConfigurationRequest.t option;
    (*

    Additional options related to the Slurm scheduler.

    *)
}
Sourceval context_ : string
Sourceval make : ?clientToken:??? -> ?slurmConfiguration:??? -> clusterIdentifier:ClusterIdentifier.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of ClusterIdentifier.t | `Structure of (string * [> `Integer of UpdateClusterSlurmConfigurationRequestScaleDownIdleTimeInSecondsInteger.t | `List of [> `Structure of (string * [> `String of String_.t ]) list ] list | `Structure of (string * [> `Enum of string | `Integer of UpdateAccountingRequestDefaultPurgeTimeInDaysInteger.t ]) list ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t