instance_pool_operations
Creates, updates, deletes, gets or lists an instance_pool_operations resource.
Overview
| Name | instance_pool_operations |
| Type | Resource |
| Id | azure.sql.instance_pool_operations |
Fields
The following fields are returned by SELECT queries:
- get
- list_by_instance_pool
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name | string | The name of the resource. |
description | string | The operation description. |
errorCode | integer | The operation error code. |
errorDescription | string | The operation error description. |
errorSeverity | integer | The operation error severity. |
errorType | string | Error type (e.g. None, User). Known values are: "None" and "User". (None, User) |
estimatedCompletionTime | string (date-time) | The estimated completion time of the operation. |
instancePoolName | string | The name of the instance pool the operation is being performed on. |
isCancellable | boolean | Whether the operation can be cancelled. |
operation | string | The name of operation. |
operationFriendlyName | string | The friendly name of operation. |
percentComplete | integer | The percentage of the operation completed. |
startTime | string (date-time) | The operation start time. |
state | string | The operation state. Known values are: "Pending", "InProgress", "Succeeded", "Failed", "CancelInProgress", and "Cancelled". (Pending, InProgress, Succeeded, Failed, CancelInProgress, Cancelled) |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name | string | The name of the resource. |
description | string | The operation description. |
errorCode | integer | The operation error code. |
errorDescription | string | The operation error description. |
errorSeverity | integer | The operation error severity. |
errorType | string | Error type (e.g. None, User). Known values are: "None" and "User". (None, User) |
estimatedCompletionTime | string (date-time) | The estimated completion time of the operation. |
instancePoolName | string | The name of the instance pool the operation is being performed on. |
isCancellable | boolean | Whether the operation can be cancelled. |
operation | string | The name of operation. |
operationFriendlyName | string | The friendly name of operation. |
percentComplete | integer | The percentage of the operation completed. |
startTime | string (date-time) | The operation start time. |
state | string | The operation state. Known values are: "Pending", "InProgress", "Succeeded", "Failed", "CancelInProgress", and "Cancelled". (Pending, InProgress, Succeeded, Failed, CancelInProgress, Cancelled) |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | resource_group_name, instance_pool_name, operation_id, subscription_id | Gets a management operation on a instance pool. | |
list_by_instance_pool | select | resource_group_name, instance_pool_name, subscription_id | Gets 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.
| Name | Datatype | Description |
|---|---|---|
instance_pool_name | string | The name of the instance pool to be retrieved. Required. |
operation_id | string | Required. |
resource_group_name | string | The name of the resource group. The name is case insensitive. Required. |
subscription_id | string |
SELECT examples
- get
- list_by_instance_pool
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
;
Gets a list of operations performed on the 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 subscription_id = '{{ subscription_id }}' -- required
;