Skip to main content

configuration_profiles

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

Overview

Nameconfiguration_profiles
TypeResource
Idazure.automanage.configuration_profiles

Fields

NameDatatypeDescription
configurationtextfield from the properties object
configurationProfileNametextfield from the properties object
locationtextThe geo-location where the resource lives
resourceGroupNametextfield from the properties object
subscriptionIdtextfield from the properties object
system_datatextfield from the properties object
tagstextResource tags.

Methods

NameAccessible byRequired ParamsDescription
getSELECTconfigurationProfileName, resourceGroupName, subscriptionIdGet information about a configuration profile
list_by_resource_groupSELECTresourceGroupName, subscriptionIdRetrieve a list of configuration profile within a given resource group
list_by_subscriptionSELECTsubscriptionIdRetrieve a list of configuration profile within a subscription
create_or_updateINSERTconfigurationProfileName, resourceGroupName, subscriptionIdCreates a configuration profile
deleteDELETEconfigurationProfileName, resourceGroupName, subscriptionIdDelete a configuration profile
updateUPDATEconfigurationProfileName, resourceGroupName, subscriptionIdUpdates a configuration profile

SELECT examples

Retrieve a list of configuration profile within a subscription

SELECT
configuration,
configurationProfileName,
location,
resourceGroupName,
subscriptionId,
system_data,
tags
FROM azure.automanage.vw_configuration_profiles
WHERE subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure.automanage.configuration_profiles (
configurationProfileName,
resourceGroupName,
subscriptionId,
properties,
tags,
location
)
SELECT
'{{ configurationProfileName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}',
'{{ tags }}',
'{{ location }}'
;

UPDATE example

Updates a configuration_profiles resource.

/*+ update */
UPDATE azure.automanage.configuration_profiles
SET
properties = '{{ properties }}',
tags = '{{ tags }}'
WHERE
configurationProfileName = '{{ configurationProfileName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

DELETE example

Deletes the specified configuration_profiles resource.

/*+ delete */
DELETE FROM azure.automanage.configuration_profiles
WHERE configurationProfileName = '{{ configurationProfileName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';