OnlineExperimentationPrivateEndpointConnectionCollection.CreateOrUpdate Method

Definition

Updates private endpoint connection status (Approval/Rejected) for an online experimentation workspace resource. This gets invoked by resource admin.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OnlineExperimentation/workspaces/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}.
  • Operation Id. : PrivateEndpointConnections_Update.
  • Default Api Version. : 2025-08-01-preview.
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.OnlineExperimentation.OnlineExperimentationPrivateEndpointConnectionResource> CreateOrUpdate(Azure.WaitUntil waitUntil, string privateEndpointConnectionName, Azure.ResourceManager.OnlineExperimentation.OnlineExperimentationPrivateEndpointConnectionData data, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.OnlineExperimentation.OnlineExperimentationPrivateEndpointConnectionData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.OnlineExperimentation.OnlineExperimentationPrivateEndpointConnectionResource>
override this.CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.OnlineExperimentation.OnlineExperimentationPrivateEndpointConnectionData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.OnlineExperimentation.OnlineExperimentationPrivateEndpointConnectionResource>
Public Overridable Function CreateOrUpdate (waitUntil As WaitUntil, privateEndpointConnectionName As String, data As OnlineExperimentationPrivateEndpointConnectionData, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of OnlineExperimentationPrivateEndpointConnectionResource)

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.

privateEndpointConnectionName
String

The name of the PrivateEndpointConnection.

data
OnlineExperimentationPrivateEndpointConnectionData

Resource create parameters.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

privateEndpointConnectionName or data is null.

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

Applies to