Share via


PrivateEndpointConnectionsOperationsExtensions.DeleteAsync Method

Definition

Delete a specific private endpoint connection.

public static System.Threading.Tasks.Task DeleteAsync (this Microsoft.Azure.Management.EventGrid.IPrivateEndpointConnectionsOperations operations, string resourceGroupName, string parentType, string parentName, string privateEndpointConnectionName, System.Threading.CancellationToken cancellationToken = default);
static member DeleteAsync : Microsoft.Azure.Management.EventGrid.IPrivateEndpointConnectionsOperations * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function DeleteAsync (operations As IPrivateEndpointConnectionsOperations, resourceGroupName As String, parentType As String, parentName As String, privateEndpointConnectionName As String, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

operations
IPrivateEndpointConnectionsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group within the user's subscription.

parentType
String

The type of the parent resource. This can be either 'topics', 'domains', or 'partnerNamespaces'. Possible values include: 'topics', 'domains', 'partnerNamespaces'

parentName
String

The name of the parent resource (namely, either, the topic name, domain name, or partner namespace name).

privateEndpointConnectionName
String

The name of the private endpoint connection connection.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Delete a specific private endpoint connection under a topic, domain, or partner namespace.

Applies to