Skip to main content

configurations

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

Overview

Nameconfigurations
TypeResource
Idazure.advisor.configurations

Fields

NameDatatypeDescription
idstringFully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
namestringThe name of the resource
propertiesobjectConfiguration data properties
systemDataobjectMetadata pertaining to creation and last modification of the resource.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Methods

NameAccessible byRequired ParamsDescription
list_by_resource_groupSELECTresourceGroup, subscriptionId
list_by_subscriptionSELECTsubscriptionIdRetrieve Azure Advisor configurations and also retrieve configurations of contained resource groups.
create_in_resource_groupINSERTconfigurationName, resourceGroup, subscriptionId
create_in_subscriptionINSERTconfigurationName, subscriptionIdCreate/Overwrite Azure Advisor configuration and also delete all configurations of contained resource groups.

SELECT examples

Retrieve Azure Advisor configurations and also retrieve configurations of contained resource groups.

SELECT
id,
name,
properties,
systemData,
type
FROM azure.advisor.configurations
WHERE subscriptionId = '{{ subscriptionId }}';

INSERT example

Use the following StackQL query and manifest file to create a new configurations resource.

/*+ create */
INSERT INTO azure.advisor.configurations (
configurationName,
subscriptionId,
properties
)
SELECT
'{{ configurationName }}',
'{{ subscriptionId }}',
'{{ properties }}'
;