Freigeben über


PrivateEndpointConnectionOperationsExtensions.PutAsync Methode

Definition

Genehmigt Anforderungen für einen privaten Endpunkt oder lehnt sie ab. Dieser Aufruf wird durch einen Backup-Admin ausgeführt.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.RecoveryServices.Backup.Models.PrivateEndpointConnectionResource> PutAsync (this Microsoft.Azure.Management.RecoveryServices.Backup.IPrivateEndpointConnectionOperations operations, string vaultName, string resourceGroupName, string privateEndpointConnectionName, Microsoft.Azure.Management.RecoveryServices.Backup.Models.PrivateEndpointConnectionResource parameters, System.Threading.CancellationToken cancellationToken = default);
static member PutAsync : Microsoft.Azure.Management.RecoveryServices.Backup.IPrivateEndpointConnectionOperations * string * string * string * Microsoft.Azure.Management.RecoveryServices.Backup.Models.PrivateEndpointConnectionResource * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.RecoveryServices.Backup.Models.PrivateEndpointConnectionResource>
<Extension()>
Public Function PutAsync (operations As IPrivateEndpointConnectionOperations, vaultName As String, resourceGroupName As String, privateEndpointConnectionName As String, parameters As PrivateEndpointConnectionResource, Optional cancellationToken As CancellationToken = Nothing) As Task(Of PrivateEndpointConnectionResource)

Parameter

operations
IPrivateEndpointConnectionOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

vaultName
String

Der Name des Recovery Services-Tresors.

resourceGroupName
String

Der Name der Ressourcengruppe, in der sich der Recovery Services-Tresor befindet.

privateEndpointConnectionName
String

Der Name der privaten Endpunktverbindung.

parameters
PrivateEndpointConnectionResource

Anforderungstext für Den Vorgang

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: