Share via


ManagedInstanceOperationCollection.GetIfExistsAsync Method

Definition

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/operations/{operationId}
  • Operation Id: ManagedInstanceOperations_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: ManagedInstanceOperationResource
public virtual System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.Sql.ManagedInstanceOperationResource>> GetIfExistsAsync (Guid operationId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExistsAsync : Guid * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.Sql.ManagedInstanceOperationResource>>
override this.GetIfExistsAsync : Guid * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.Sql.ManagedInstanceOperationResource>>
Public Overridable Function GetIfExistsAsync (operationId As Guid, Optional cancellationToken As CancellationToken = Nothing) As Task(Of NullableResponse(Of ManagedInstanceOperationResource))

Parameters

operationId
Guid

The Guid to use.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to