/// <summary> /// Detaches all followers of a database owned by this cluster. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group containing the Kusto cluster. /// </param> /// <param name='clusterName'> /// The name of the Kusto cluster. /// </param> /// <param name='followerDatabaseToRemove'> /// The follower databases properties to remove. /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task DetachFollowerDatabasesAsync(this IClustersOperations operations, string resourceGroupName, string clusterName, FollowerDatabaseDefinition followerDatabaseToRemove, CancellationToken cancellationToken = default(CancellationToken)) { (await operations.DetachFollowerDatabasesWithHttpMessagesAsync(resourceGroupName, clusterName, followerDatabaseToRemove, null, cancellationToken).ConfigureAwait(false)).Dispose(); }