configurations
Creates, updates, deletes, gets or lists a configurations
resource.
Overview
Name | configurations |
Type | Resource |
Id | azure_isv.nginx.configurations |
Fields
- vw_configurations
- configurations
Name | Datatype | Description |
---|---|---|
id | text | field from the properties object |
name | text | field from the properties object |
configurationName | text | field from the properties object |
deploymentName | text | field from the properties object |
files | text | field from the properties object |
location | text | field from the properties object |
package | text | field from the properties object |
protected_files | text | field from the properties object |
provisioning_state | text | field from the properties object |
resourceGroupName | text | field from the properties object |
root_file | text | field from the properties object |
subscriptionId | text | field from the properties object |
system_data | text | field from the properties object |
type | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
id | string | |
name | string | |
location | string | |
properties | object | |
systemData | object | Metadata pertaining to creation and last modification of the resource. |
type | string |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | configurationName, deploymentName, resourceGroupName, subscriptionId | |
list | SELECT | deploymentName, resourceGroupName, subscriptionId | |
create_or_update | INSERT | configurationName, deploymentName, resourceGroupName, subscriptionId | |
delete | DELETE | configurationName, deploymentName, resourceGroupName, subscriptionId | |
analysis | EXEC | configurationName, deploymentName, resourceGroupName, subscriptionId, data__config |
SELECT
examples
- vw_configurations
- configurations
SELECT
id,
name,
configurationName,
deploymentName,
files,
location,
package,
protected_files,
provisioning_state,
resourceGroupName,
root_file,
subscriptionId,
system_data,
type
FROM azure_isv.nginx.vw_configurations
WHERE deploymentName = '{{ deploymentName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
SELECT
id,
name,
location,
properties,
systemData,
type
FROM azure_isv.nginx.configurations
WHERE deploymentName = '{{ deploymentName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new configurations
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure_isv.nginx.configurations (
configurationName,
deploymentName,
resourceGroupName,
subscriptionId,
properties,
location
)
SELECT
'{{ configurationName }}',
'{{ deploymentName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}',
'{{ location }}'
;
- name: your_resource_model_name
props:
- name: id
value: string
- name: name
value: string
- name: type
value: string
- name: properties
value:
- name: provisioningState
value: []
- name: files
value:
- - name: content
value: string
- name: virtualPath
value: string
- name: protectedFiles
value:
- - name: content
value: string
- name: virtualPath
value: string
- name: package
value:
- name: data
value: string
- name: protectedFiles
value:
- string
- name: rootFile
value: string
- name: location
value: string
- 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
DELETE
example
Deletes the specified configurations
resource.
/*+ delete */
DELETE FROM azure_isv.nginx.configurations
WHERE configurationName = '{{ configurationName }}'
AND deploymentName = '{{ deploymentName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';