Skip to main content

instance_pool_operations

Creates, updates, deletes, gets or lists an instance_pool_operations resource.

Overview

Nameinstance_pool_operations
TypeResource
Idazure.sql.instance_pool_operations

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
namestringThe name of the resource.
descriptionstringThe operation description.
errorCodeintegerThe operation error code.
errorDescriptionstringThe operation error description.
errorSeverityintegerThe operation error severity.
errorTypestringError type (e.g. None, User). Known values are: "None" and "User". (None, User)
estimatedCompletionTimestring (date-time)The estimated completion time of the operation.
instancePoolNamestringThe name of the instance pool the operation is being performed on.
isCancellablebooleanWhether the operation can be cancelled.
operationstringThe name of operation.
operationFriendlyNamestringThe friendly name of operation.
percentCompleteintegerThe percentage of the operation completed.
startTimestring (date-time)The operation start time.
statestringThe operation state. Known values are: "Pending", "InProgress", "Succeeded", "Failed", "CancelInProgress", and "Cancelled". (Pending, InProgress, Succeeded, Failed, CancelInProgress, Cancelled)
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresource_group_name, instance_pool_name, operation_id, subscription_idGets a management operation on a instance pool.
list_by_instance_poolselectresource_group_name, instance_pool_name, subscription_idGets a list of operations performed on the instance pool.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
instance_pool_namestringThe name of the instance pool to be retrieved. Required.
operation_idstringRequired.
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
subscription_idstring

SELECT examples

Gets a management operation on a instance pool.

SELECT
id,
name,
description,
errorCode,
errorDescription,
errorSeverity,
errorType,
estimatedCompletionTime,
instancePoolName,
isCancellable,
operation,
operationFriendlyName,
percentComplete,
startTime,
state,
systemData,
type
FROM azure.sql.instance_pool_operations
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND instance_pool_name = '{{ instance_pool_name }}' -- required
AND operation_id = '{{ operation_id }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;