Share via


DeidServiceCollection.GetIfExists(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 Azure.NullableResponse<Azure.ResourceManager.HealthDataAIServices.DeidServiceResource> GetIfExists (string deidServiceName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.HealthDataAIServices.DeidServiceResource>
override this.GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.HealthDataAIServices.DeidServiceResource>
Public Overridable Function GetIfExists (deidServiceName As String, Optional cancellationToken As CancellationToken = Nothing) As 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