NetworkPrivateEndpointConnectionCollection.CreateOrUpdate 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-11-01
  • Resource: NetworkPrivateEndpointConnectionResource
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Network.NetworkPrivateEndpointConnectionResource> CreateOrUpdate (Azure.WaitUntil waitUntil, string peConnectionName, Azure.ResourceManager.Network.NetworkPrivateEndpointConnectionData data, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.Network.NetworkPrivateEndpointConnectionData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Network.NetworkPrivateEndpointConnectionResource>
override this.CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.Network.NetworkPrivateEndpointConnectionData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Network.NetworkPrivateEndpointConnectionResource>
Public Overridable Function CreateOrUpdate (waitUntil As WaitUntil, peConnectionName As String, 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.

peConnectionName
String

The name of the private end point connection.

data
NetworkPrivateEndpointConnectionData

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

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

peConnectionName is an empty string, and was expected to be non-empty.

peConnectionName or data is null.

Applies to