public virtual Response DisableScheduling(string poolId, string nodeId, NodeDisableSchedulingParameter nodeDisableSchedulingParameter, ComputeNodeDisableSchedulingOptions computeNodeDisableSchedulingOptions, CancellationToken cancellationToken = default) { return(RestClient.DisableScheduling(poolId, nodeId, nodeDisableSchedulingParameter, computeNodeDisableSchedulingOptions, cancellationToken).GetRawResponse()); }
public virtual async Task <Response> DisableSchedulingAsync(string poolId, string nodeId, NodeDisableSchedulingParameter nodeDisableSchedulingParameter, ComputeNodeDisableSchedulingOptions computeNodeDisableSchedulingOptions, CancellationToken cancellationToken = default) { return((await RestClient.DisableSchedulingAsync(poolId, nodeId, nodeDisableSchedulingParameter, computeNodeDisableSchedulingOptions, cancellationToken).ConfigureAwait(false)).GetRawResponse()); }