StaticSitesOperationsExtensions.ApproveOrRejectPrivateEndpointConnectionAsync Method

Definition

Approves or rejects a private endpoint connection

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.WebSites.Models.RemotePrivateEndpointConnectionARMResource> ApproveOrRejectPrivateEndpointConnectionAsync (this Microsoft.Azure.Management.WebSites.IStaticSitesOperations operations, string resourceGroupName, string name, string privateEndpointConnectionName, Microsoft.Azure.Management.WebSites.Models.PrivateLinkConnectionApprovalRequestResource privateEndpointWrapper, System.Threading.CancellationToken cancellationToken = default);
static member ApproveOrRejectPrivateEndpointConnectionAsync : Microsoft.Azure.Management.WebSites.IStaticSitesOperations * string * string * string * Microsoft.Azure.Management.WebSites.Models.PrivateLinkConnectionApprovalRequestResource * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.WebSites.Models.RemotePrivateEndpointConnectionARMResource>
<Extension()>
Public Function ApproveOrRejectPrivateEndpointConnectionAsync (operations As IStaticSitesOperations, resourceGroupName As String, name As String, privateEndpointConnectionName As String, privateEndpointWrapper As PrivateLinkConnectionApprovalRequestResource, Optional cancellationToken As CancellationToken = Nothing) As Task(Of RemotePrivateEndpointConnectionARMResource)

Parameters

operations
IStaticSitesOperations

The operations group for this extension method.

resourceGroupName
System.String

Name of the resource group to which the resource belongs.

name
System.String

Name of the static site.

privateEndpointConnectionName
System.String

Name of the private endpoint connection.

privateEndpointWrapper
PrivateLinkConnectionApprovalRequestResource

Request body.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<RemotePrivateEndpointConnectionARMResource>

Remarks

Description for Approves or rejects a private endpoint connection

Applies to