Share via


DeidServiceCollection.GetIfExistsAsync(String, CancellationToken) Method

Definition

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthDataAIServices/deidServices/{deidServiceName}
  • Operation Id: DeidService_Get
  • Default Api Version: 2024-09-20
  • Resource: DeidServiceResource
public virtual System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.HealthDataAIServices.DeidServiceResource>> GetIfExistsAsync (string deidServiceName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExistsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.HealthDataAIServices.DeidServiceResource>>
override this.GetIfExistsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.HealthDataAIServices.DeidServiceResource>>
Public Overridable Function GetIfExistsAsync (deidServiceName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of NullableResponse(Of DeidServiceResource))

Parameters

deidServiceName
String

The name of the deid service.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

deidServiceName is null.

Applies to