public async Task Edit(string clusterId, ClusterInfo clusterConfig, CancellationToken cancellationToken = default) { clusterConfig.ClusterId = clusterId; await HttpPost(this.HttpClient, "clusters/edit", clusterConfig, cancellationToken).ConfigureAwait(false); }
public T WithNewCluster(ClusterInfo newClusterConfig) { this.NewCluster = newClusterConfig; this.ExistingClusterId = null; return((T)this); }
public async Task Edit(string clusterId, ClusterInfo clusterConfig) { clusterConfig.ClusterId = clusterId; await HttpPost(this.HttpClient, "clusters/edit", clusterConfig).ConfigureAwait(false); }