共用方式為


ReplicationEligibilityResultCollection.GetIfExistsAsync Method

Definition

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{virtualMachineName}/providers/Microsoft.RecoveryServices/replicationEligibilityResults/default
  • Operation Id: ReplicationEligibilityResults_Get
  • Default Api Version: 2023-08-01
  • Resource: ReplicationEligibilityResultResource
public virtual System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.RecoveryServicesSiteRecovery.ReplicationEligibilityResultResource>> GetIfExistsAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExistsAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.RecoveryServicesSiteRecovery.ReplicationEligibilityResultResource>>
override this.GetIfExistsAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.RecoveryServicesSiteRecovery.ReplicationEligibilityResultResource>>
Public Overridable Function GetIfExistsAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of NullableResponse(Of ReplicationEligibilityResultResource))

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to