Skip to main content

configuration_profiles_versions

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

Overview

Nameconfiguration_profiles_versions
TypeResource
Idazure.automanage.configuration_profiles_versions

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.
versionNametextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTconfigurationProfileName, resourceGroupName, subscriptionId, versionNameGet information about a configuration profile version
create_or_updateINSERTconfigurationProfileName, resourceGroupName, subscriptionId, versionNameCreates a configuration profile version
deleteDELETEconfigurationProfileName, resourceGroupName, subscriptionId, versionNameDelete a configuration profile version

SELECT examples

Get information about a configuration profile version

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

INSERT example

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

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

DELETE example

Deletes the specified configuration_profiles_versions resource.

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