Share via


InformaticaServerlessRuntimeCollection.GetIfExistsAsync Method

Definition

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Informatica.DataManagement/organizations/{organizationName}/serverlessRuntimes/{serverlessRuntimeName}
  • Operation Id: ServerlessRuntimes_Get
  • Default Api Version: 2024-05-08
  • Resource: InformaticaServerlessRuntimeResource
public virtual System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.InformaticaDataManagement.InformaticaServerlessRuntimeResource>> GetIfExistsAsync (string serverlessRuntimeName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExistsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.InformaticaDataManagement.InformaticaServerlessRuntimeResource>>
override this.GetIfExistsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.InformaticaDataManagement.InformaticaServerlessRuntimeResource>>
Public Overridable Function GetIfExistsAsync (serverlessRuntimeName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of NullableResponse(Of InformaticaServerlessRuntimeResource))

Parameters

serverlessRuntimeName
String

Name of the Serverless Runtime resource.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

serverlessRuntimeName is null.

Applies to