Поделиться через


DataReplicationPrivateEndpointConnectionProxyCollection.CreateOrUpdate Method

Definition

Create a new private endpoint connection proxy which includes both auto and manual approval types. Creating the proxy resource will also create a private endpoint connection resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}/privateEndpointConnectionProxies/{privateEndpointConnectionProxyName}
  • Operation Id: PrivateEndpointConnectionProxy_Create
  • Default Api Version: 2024-09-01
  • Resource: DataReplicationPrivateEndpointConnectionProxyResource
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.RecoveryServicesDataReplication.DataReplicationPrivateEndpointConnectionProxyResource> CreateOrUpdate(Azure.WaitUntil waitUntil, string privateEndpointConnectionProxyName, Azure.ResourceManager.RecoveryServicesDataReplication.DataReplicationPrivateEndpointConnectionProxyData data, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.RecoveryServicesDataReplication.DataReplicationPrivateEndpointConnectionProxyData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.RecoveryServicesDataReplication.DataReplicationPrivateEndpointConnectionProxyResource>
override this.CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.RecoveryServicesDataReplication.DataReplicationPrivateEndpointConnectionProxyData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.RecoveryServicesDataReplication.DataReplicationPrivateEndpointConnectionProxyResource>
Public Overridable Function CreateOrUpdate (waitUntil As WaitUntil, privateEndpointConnectionProxyName As String, data As DataReplicationPrivateEndpointConnectionProxyData, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of DataReplicationPrivateEndpointConnectionProxyResource)

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.

privateEndpointConnectionProxyName
String

The private endpoint connection proxy name.

data
DataReplicationPrivateEndpointConnectionProxyData

Private endpoint connection creation input.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

privateEndpointConnectionProxyName or data is null.

Applies to