Skip to main content

managed_instances_by_instance_pools

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

Overview

Namemanaged_instances_by_instance_pools
TypeResource
Idazure.sql.managed_instances_by_instance_pools

Fields

The following fields are returned by SELECT queries:

Successfully retrieved the list of managed instances.

NameDatatypeDescription
identityobjectThe Azure Active Directory identity of the managed instance.
locationstringResource location.
propertiesobjectResource properties.
skuobjectAn ARM Resource SKU.
tagsobjectResource tags.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectresourceGroupName, instancePoolName, subscriptionId$expandGets 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.

NameDatatypeDescription
instancePoolNamestringThe instance pool name.
resourceGroupNamestringThe name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
subscriptionIdstringThe subscription ID that identifies an Azure subscription.
$expandstringThe child resources to include in the response.

SELECT examples

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 }}'
;