/// <summary> /// Deletes the Bastion Shareable Links for all the VMs specified in the /// request. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group. /// </param> /// <param name='bastionHostName'> /// The name of the Bastion Host. /// </param> /// <param name='bslRequest'> /// Post request for all the Bastion Shareable Link endpoints. /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task DeleteBastionShareableLinkAsync(this INetworkManagementClient operations, string resourceGroupName, string bastionHostName, BastionShareableLinkListRequest bslRequest, CancellationToken cancellationToken = default(CancellationToken)) { (await operations.DeleteBastionShareableLinkWithHttpMessagesAsync(resourceGroupName, bastionHostName, bslRequest, null, cancellationToken).ConfigureAwait(false)).Dispose(); }