scoping_configurations
Creates, updates, deletes, gets or lists a scoping_configurations
resource.
Overview
Name | scoping_configurations |
Type | Resource |
Id | azure_extras.app_compliance_automation.scoping_configurations |
Fields
- vw_scoping_configurations
- scoping_configurations
Name | Datatype | Description |
---|---|---|
answers | text | field from the properties object |
provisioning_state | text | field from the properties object |
reportName | text | field from the properties object |
scopingConfigurationName | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
properties | object | ScopingConfiguration's properties. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | reportName, scopingConfigurationName | Get the AppComplianceAutomation scoping configuration of the specific report. |
list | SELECT | reportName | Returns a list format of the singleton scopingConfiguration for a specified report. |
create_or_update | INSERT | reportName, scopingConfigurationName, data__properties | Get the AppComplianceAutomation scoping configuration of the specific report. |
delete | DELETE | reportName, scopingConfigurationName | Clean the AppComplianceAutomation scoping configuration of the specific report. |
SELECT
examples
Returns a list format of the singleton scopingConfiguration for a specified report.
- vw_scoping_configurations
- scoping_configurations
SELECT
answers,
provisioning_state,
reportName,
scopingConfigurationName
FROM azure_extras.app_compliance_automation.vw_scoping_configurations
WHERE reportName = '{{ reportName }}';
SELECT
properties
FROM azure_extras.app_compliance_automation.scoping_configurations
WHERE reportName = '{{ reportName }}';
INSERT
example
Use the following StackQL query and manifest file to create a new scoping_configurations
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure_extras.app_compliance_automation.scoping_configurations (
reportName,
scopingConfigurationName,
data__properties,
properties
)
SELECT
'{{ reportName }}',
'{{ scopingConfigurationName }}',
'{{ data__properties }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: answers
value:
- - name: questionId
value: string
- name: answers
value:
- string
- name: provisioningState
value: []
DELETE
example
Deletes the specified scoping_configurations
resource.
/*+ delete */
DELETE FROM azure_extras.app_compliance_automation.scoping_configurations
WHERE reportName = '{{ reportName }}'
AND scopingConfigurationName = '{{ scopingConfigurationName }}';