Values.UpdateKxClusterCodeConfigurationRequestSourceAllows you to update code configuration on a running cluster. By using this API you can update the code, the initialization script path, and the command line arguments for a specific cluster. The configuration that you want to update will override any existing configurations on the cluster.
type nonrec t = {environmentId : KxEnvironmentId.t;A unique identifier of the kdb environment.
*)clusterName : KxClusterName.t;The name of the cluster.
*)clientToken : ClientTokenString.t option;A token that ensures idempotency. This token expires in 10 minutes.
*)code : CodeConfiguration.t;initializationScript : InitializationScriptFilePath.t option;Specifies a Q program that will be run at launch of a cluster. It is a relative path within .zip file that contains the custom code, which will be loaded on the cluster. It must include the file name itself. For example, somedir/init.q. You cannot update this parameter for a NO_RESTART deployment.
*)commandLineArguments : KxCommandLineArguments.t option;Specifies the key-value pairs to make them available inside the cluster. You cannot update this parameter for a NO_RESTART deployment.
*)deploymentConfiguration : KxClusterCodeDeploymentConfiguration.t option;The configuration that allows you to choose how you want to update the code on a cluster.
*)}val make :
?clientToken:??? ->
?initializationScript:??? ->
?commandLineArguments:??? ->
?deploymentConfiguration:??? ->
environmentId:KxEnvironmentId.t ->
clusterName:KxClusterName.t ->
code:CodeConfiguration.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `List of
[> `Structure of
(string * [> `String of KxCommandLineArgumentKey.t ]) list ]
list
| `String of KxEnvironmentId.t
| `Structure of
(string * [> `Enum of string | `String of S3Bucket.t ]) list ])
list ]