Delen via


ContainerGroupsOperationsExtensions.Delete Method

Definition

Delete the specified container group.

public static Microsoft.Azure.Management.ContainerInstance.Models.ContainerGroup Delete (this Microsoft.Azure.Management.ContainerInstance.IContainerGroupsOperations operations, string resourceGroupName, string containerGroupName);
static member Delete : Microsoft.Azure.Management.ContainerInstance.IContainerGroupsOperations * string * string -> Microsoft.Azure.Management.ContainerInstance.Models.ContainerGroup
<Extension()>
Public Function Delete (operations As IContainerGroupsOperations, resourceGroupName As String, containerGroupName As String) As ContainerGroup

Parameters

operations
IContainerGroupsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

containerGroupName
String

The name of the container group.

Returns

Remarks

Delete the specified container group in the specified subscription and resource group. The operation does not delete other resources provided by the user, such as volumes.

Applies to