configuration_profiles_versions
Creates, updates, deletes, gets or lists a configuration_profiles_versions
resource.
Overview
Name | configuration_profiles_versions |
Type | Resource |
Id | azure.automanage.configuration_profiles_versions |
Fields
- vw_configuration_profiles_versions
- configuration_profiles_versions
Name | Datatype | Description |
---|---|---|
configuration | text | field from the properties object |
configurationProfileName | text | field from the properties object |
location | text | The geo-location where the resource lives |
resourceGroupName | text | field from the properties object |
subscriptionId | text | field from the properties object |
system_data | text | field from the properties object |
tags | text | Resource tags. |
versionName | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
location | string | The geo-location where the resource lives |
properties | object | Automanage configuration profile properties. |
systemData | object | Metadata pertaining to creation and last modification of the resource. |
tags | object | Resource tags. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | configurationProfileName, resourceGroupName, subscriptionId, versionName | Get information about a configuration profile version |
create_or_update | INSERT | configurationProfileName, resourceGroupName, subscriptionId, versionName | Creates a configuration profile version |
delete | DELETE | configurationProfileName, resourceGroupName, subscriptionId, versionName | Delete a configuration profile version |
SELECT
examples
Get information about a configuration profile version
- vw_configuration_profiles_versions
- configuration_profiles_versions
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 }}';
SELECT
location,
properties,
systemData,
tags
FROM azure.automanage.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.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.automanage.configuration_profiles_versions (
configurationProfileName,
resourceGroupName,
subscriptionId,
versionName,
properties,
tags,
location
)
SELECT
'{{ configurationProfileName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ versionName }}',
'{{ properties }}',
'{{ tags }}',
'{{ location }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: configuration
value: []
- name: systemData
value:
- name: createdBy
value: string
- name: createdByType
value: string
- name: createdAt
value: string
- name: lastModifiedBy
value: string
- name: lastModifiedByType
value: string
- name: lastModifiedAt
value: string
- name: tags
value: object
- name: location
value: string
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 }}';