Aracılığıyla paylaş


NetworkPrivateEndpointConnectionResource.Update Method

Definition

Approve or reject private end point connection for a private link service in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}/privateEndpointConnections/{peConnectionName}
  • Operation Id: PrivateLinkServices_UpdatePrivateEndpointConnection
  • Default Api Version: 2023-09-01
  • Resource: NetworkPrivateEndpointConnectionResource
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Network.NetworkPrivateEndpointConnectionResource> Update (Azure.WaitUntil waitUntil, Azure.ResourceManager.Network.NetworkPrivateEndpointConnectionData data, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.WaitUntil * Azure.ResourceManager.Network.NetworkPrivateEndpointConnectionData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Network.NetworkPrivateEndpointConnectionResource>
override this.Update : Azure.WaitUntil * Azure.ResourceManager.Network.NetworkPrivateEndpointConnectionData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Network.NetworkPrivateEndpointConnectionResource>
Public Overridable Function Update (waitUntil As WaitUntil, data As NetworkPrivateEndpointConnectionData, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of NetworkPrivateEndpointConnectionResource)

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

data
NetworkPrivateEndpointConnectionData

Parameters supplied to approve or reject the private end point connection.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

data is null.

Applies to