Skip to main content

iac_profiles

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

Overview

Nameiac_profiles
TypeResource
Idazure_extras.developer_hub.iac_profiles

Fields

NameDatatypeDescription
etagtextA unique read-only string that changes whenever the resource is updated.
github_profiletextfield from the properties object
iacProfileNametextfield from the properties object
locationtextThe geo-location where the resource lives
resourceGroupNametextfield from the properties object
stagestextfield from the properties object
subscriptionIdtextfield from the properties object
tagstextResource tags.
templatestextfield from the properties object
terraform_profiletextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTiacProfileName, resourceGroupName, subscriptionId
listSELECTsubscriptionId
list_by_resource_groupSELECTresourceGroupName, subscriptionId
create_or_updateINSERTiacProfileName, resourceGroupName, subscriptionId
deleteDELETEiacProfileName, resourceGroupName, subscriptionId
exportEXECiacProfileName, resourceGroupName, subscriptionId
scaleEXECiacProfileName, resourceGroupName, subscriptionId
syncEXECiacProfileName, resourceGroupName, subscriptionId
update_tagsEXECiacProfileName, resourceGroupName, subscriptionId

SELECT examples

SELECT
etag,
github_profile,
iacProfileName,
location,
resourceGroupName,
stages,
subscriptionId,
tags,
templates,
terraform_profile
FROM azure_extras.developer_hub.vw_iac_profiles
WHERE subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure_extras.developer_hub.iac_profiles (
iacProfileName,
resourceGroupName,
subscriptionId,
tags,
location,
properties
)
SELECT
'{{ iacProfileName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ tags }}',
'{{ location }}',
'{{ properties }}'
;

DELETE example

Deletes the specified iac_profiles resource.

/*+ delete */
DELETE FROM azure_extras.developer_hub.iac_profiles
WHERE iacProfileName = '{{ iacProfileName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';