Skip to main content

elastic_pool_activities

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

Overview

Nameelastic_pool_activities
TypeResource
Idazure.sql.elastic_pool_activities

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
locationstringThe geo-location where the resource lives
propertiesobjectThe properties representing the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_by_elastic_poolselectsubscriptionId, resourceGroupName, serverName, elasticPoolNameReturns elastic pool activities.

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
elasticPoolNamestringThe name of the elastic pool for which to get the current activity.
resourceGroupNamestringThe name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverNamestringThe name of the server.
subscriptionIdstringThe subscription ID that identifies an Azure subscription.

SELECT examples

Returns elastic pool activities.

SELECT
location,
properties
FROM azure.sql.elastic_pool_activities
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND serverName = '{{ serverName }}' -- required
AND elasticPoolName = '{{ elasticPoolName }}' -- required
;