Share via


DataReplicationPrivateEndpointConnectionProxyResource.ValidateAsync Method

Definition

Returns remote private endpoint connection information after validation.

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

Parameters

data
DataReplicationPrivateEndpointConnectionProxyData

The private endpoint connection proxy input.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

data is null.

Applies to