DataReplicationPrivateEndpointConnectionProxyCollection.GetIfExists Method

Definition

Tries to get details for this resource from the service.

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

Parameters

privateEndpointConnectionProxyName
String

The private endpoint connection proxy name.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

privateEndpointConnectionProxyName is null.

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

Applies to