Share via


MockableContainerInstanceResourceGroupResource.DeleteSubnetServiceAssociationLink Method

Definition

Delete container group virtual network association links. The operation does not delete other resources provided by the user.

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}/providers/Microsoft.ContainerInstance/serviceAssociationLinks/default
  • Operation Id: SubnetServiceAssociationLink_Delete
  • Default Api Version: 2023-05-01
public virtual Azure.ResourceManager.ArmOperation DeleteSubnetServiceAssociationLink (Azure.WaitUntil waitUntil, string virtualNetworkName, string subnetName, System.Threading.CancellationToken cancellationToken = default);
abstract member DeleteSubnetServiceAssociationLink : Azure.WaitUntil * string * string * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation
override this.DeleteSubnetServiceAssociationLink : Azure.WaitUntil * string * string * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation
Public Overridable Function DeleteSubnetServiceAssociationLink (waitUntil As WaitUntil, virtualNetworkName As String, subnetName As String, 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.

virtualNetworkName
String

The name of the virtual network.

subnetName
String

The name of the subnet.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

virtualNetworkName or subnetName is an empty string, and was expected to be non-empty.

virtualNetworkName or subnetName is null.

Applies to