iac_profiles
Creates, updates, deletes, gets or lists a iac_profiles
resource.
Overview
Name | iac_profiles |
Type | Resource |
Id | azure_extras.developer_hub.iac_profiles |
Fields
- vw_iac_profiles
- iac_profiles
Name | Datatype | Description |
---|---|---|
etag | text | A unique read-only string that changes whenever the resource is updated. |
github_profile | text | field from the properties object |
iacProfileName | text | field from the properties object |
location | text | The geo-location where the resource lives |
resourceGroupName | text | field from the properties object |
stages | text | field from the properties object |
subscriptionId | text | field from the properties object |
tags | text | Resource tags. |
templates | text | field from the properties object |
terraform_profile | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
etag | string | A unique read-only string that changes whenever the resource is updated. |
location | string | The geo-location where the resource lives |
properties | object | Properties of a IacProfile. |
tags | object | Resource tags. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | iacProfileName, resourceGroupName, subscriptionId | |
list | SELECT | subscriptionId | |
list_by_resource_group | SELECT | resourceGroupName, subscriptionId | |
create_or_update | INSERT | iacProfileName, resourceGroupName, subscriptionId | |
delete | DELETE | iacProfileName, resourceGroupName, subscriptionId | |
export | EXEC | iacProfileName, resourceGroupName, subscriptionId | |
scale | EXEC | iacProfileName, resourceGroupName, subscriptionId | |
sync | EXEC | iacProfileName, resourceGroupName, subscriptionId | |
update_tags | EXEC | iacProfileName, resourceGroupName, subscriptionId |
SELECT
examples
- vw_iac_profiles
- iac_profiles
SELECT
etag,
github_profile,
iacProfileName,
location,
resourceGroupName,
stages,
subscriptionId,
tags,
templates,
terraform_profile
FROM azure_extras.developer_hub.vw_iac_profiles
WHERE subscriptionId = '{{ subscriptionId }}';
SELECT
etag,
location,
properties,
tags
FROM azure_extras.developer_hub.iac_profiles
WHERE subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new iac_profiles
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure_extras.developer_hub.iac_profiles (
iacProfileName,
resourceGroupName,
subscriptionId,
tags,
location,
properties
)
SELECT
'{{ iacProfileName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ tags }}',
'{{ location }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: tags
value: object
- name: location
value: string
- name: properties
value:
- name: githubProfile
value:
- name: repositoryName
value: string
- name: repositoryMainBranch
value: string
- name: repositoryOwner
value: string
- name: authStatus
value: []
- name: pullNumber
value: integer
- name: prStatus
value: []
- name: branchName
value: string
- name: terraformProfile
value:
- name: storageAccountSubscription
value: string
- name: storageAccountResourceGroup
value: string
- name: storageAccountName
value: string
- name: storageContainerName
value: string
- name: stages
value:
- - name: stageName
value: string
- name: dependencies
value:
- string
- name: gitEnvironment
value: string
- name: templates
value:
- - name: templateName
value: string
- name: sourceResourceId
value: string
- name: instanceStage
value: string
- name: instanceName
value: string
- name: templateDetails
value:
- - name: productName
value: string
- name: count
value: integer
- name: namingConvention
value: string
- name: quickStartTemplateType
value: []
- name: etag
value: string
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 }}';