Freigeben über


StaticSitesOperationsExtensions.ApproveOrRejectPrivateEndpointConnectionAsync Methode

Definition

Genehmigt oder lehnt eine Verbindung mit einem privaten Endpunkt ab

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)

Parameter

operations
IStaticSitesOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Name der Ressourcengruppe, zu der die Ressource gehört.

name
String

Name der statischen Website.

privateEndpointConnectionName
String

Name der verbindung mit dem privaten Endpunkt.

privateEndpointWrapper
PrivateLinkConnectionApprovalRequestResource

Anforderungstext.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Hinweise

Beschreibung für Genehmigen oder Ablehnen einer verbindung mit einem privaten Endpunkt

Gilt für: