Skip to main content

managed_instance_operations

Creates, updates, deletes, gets or lists a managed_instance_operations resource.

Overview

Namemanaged_instance_operations
TypeResource
Idazure.sql.managed_instance_operations

Fields

NameDatatypeDescription
descriptiontextfield from the properties object
error_codetextfield from the properties object
error_descriptiontextfield from the properties object
error_severitytextfield from the properties object
estimated_completion_timetextfield from the properties object
is_cancellabletextfield from the properties object
is_user_errortextfield from the properties object
managedInstanceNametextfield from the properties object
managed_instance_nametextfield from the properties object
operationtextfield from the properties object
operationIdtextfield from the properties object
operation_friendly_nametextfield from the properties object
operation_parameterstextfield from the properties object
operation_stepstextfield from the properties object
percent_completetextfield from the properties object
resourceGroupNametextfield from the properties object
start_timetextfield from the properties object
statetextfield from the properties object
subscriptionIdtextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTmanagedInstanceName, operationId, resourceGroupName, subscriptionIdGets a management operation on a managed instance.
cancelEXECmanagedInstanceName, operationId, resourceGroupName, subscriptionIdCancels the asynchronous operation on the managed instance.

SELECT examples

Gets a management operation on a managed instance.

SELECT
description,
error_code,
error_description,
error_severity,
estimated_completion_time,
is_cancellable,
is_user_error,
managedInstanceName,
managed_instance_name,
operation,
operationId,
operation_friendly_name,
operation_parameters,
operation_steps,
percent_complete,
resourceGroupName,
start_time,
state,
subscriptionId
FROM azure.sql.vw_managed_instance_operations
WHERE managedInstanceName = '{{ managedInstanceName }}'
AND operationId = '{{ operationId }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';