Dela via


ManagedInstanceOperationCollection.GetAsync(Guid, CancellationToken) Method

Definition

Gets a management operation on a managed instance.

  • 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.Response<Azure.ResourceManager.Sql.ManagedInstanceOperationResource>> GetAsync (Guid operationId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : Guid * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Sql.ManagedInstanceOperationResource>>
override this.GetAsync : Guid * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Sql.ManagedInstanceOperationResource>>
Public Overridable Function GetAsync (operationId As Guid, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ManagedInstanceOperationResource))

Parameters

operationId
Guid

The Guid to use.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to