Compartilhar via


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

Parameters

operationId
Guid

The Guid to use.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to