BastionHostResource.DeleteBastionShareableLink Method

Definition

Deletes the Bastion Shareable Links for all the VMs specified in the request.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/deleteShareableLinks.
  • Operation Id. : BastionHosts_DeleteBastionShareableLink.
  • Default Api Version. : 2025-07-01.
  • Resource. : BastionHostResource.
public virtual Azure.ResourceManager.ArmOperation DeleteBastionShareableLink(Azure.WaitUntil waitUntil, Azure.ResourceManager.Network.Models.BastionShareableLinkListContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member DeleteBastionShareableLink : Azure.WaitUntil * Azure.ResourceManager.Network.Models.BastionShareableLinkListContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation
override this.DeleteBastionShareableLink : Azure.WaitUntil * Azure.ResourceManager.Network.Models.BastionShareableLinkListContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation
Public Overridable Function DeleteBastionShareableLink (waitUntil As WaitUntil, content As BastionShareableLinkListContent, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

content
BastionShareableLinkListContent

Post request for Create/Delete/Get Bastion Shareable Link endpoints.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to