/// <summary> /// Request that repair begin on this cluster as soon as possible. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group. The name is case insensitive. /// </param> /// <param name='clusterName'> /// Managed Cassandra cluster name. /// </param> /// <param name='body'> /// Specification of what keyspaces and tables to run repair on. /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task BeginRequestRepairAsync(this ICassandraClustersOperations operations, string resourceGroupName, string clusterName, RepairPostBody body, CancellationToken cancellationToken = default(CancellationToken)) { (await operations.BeginRequestRepairWithHttpMessagesAsync(resourceGroupName, clusterName, body, null, cancellationToken).ConfigureAwait(false)).Dispose(); }
/// <summary> /// Request that repair begin on this cluster as soon as possible. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group. The name is case insensitive. /// </param> /// <param name='clusterName'> /// Managed Cassandra cluster name. /// </param> /// <param name='body'> /// Specification of what keyspaces and tables to run repair on. /// </param> public static void BeginRequestRepair(this ICassandraClustersOperations operations, string resourceGroupName, string clusterName, RepairPostBody body) { operations.BeginRequestRepairAsync(resourceGroupName, clusterName, body).GetAwaiter().GetResult(); }