managed_instances_by_instance_pools
Creates, updates, deletes, gets or lists a managed_instances_by_instance_pools resource.
Overview
| Name | managed_instances_by_instance_pools |
| Type | Resource |
| Id | azure.sql.managed_instances_by_instance_pools |
Fields
The following fields are returned by SELECT queries:
- list
Successfully retrieved the list of managed instances.
| Name | Datatype | Description |
|---|---|---|
identity | object | The Azure Active Directory identity of the managed instance. |
location | string | Resource location. |
properties | object | Resource properties. |
sku | object | An ARM Resource SKU. |
tags | object | Resource tags. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | resourceGroupName, instancePoolName, subscriptionId | $expand | Gets a list of all managed instances in an 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 |
|---|---|---|
instancePoolName | string | The instance pool name. |
resourceGroupName | string | The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. |
subscriptionId | string | The subscription ID that identifies an Azure subscription. |
$expand | string | The child resources to include in the response. |
SELECT examples
- list
Gets a list of all managed instances in an instance pool.
SELECT
identity,
location,
properties,
sku,
tags
FROM azure.sql.managed_instances_by_instance_pools
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND instancePoolName = '{{ instancePoolName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
AND $expand = '{{ $expand }}'
;