Skip to main content

scoping_configuration

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

Overview

Namescoping_configuration
TypeResource
Idazure_extras.app_compliance_automation.scoping_configuration

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. # pylint: disable=line-too-long
namestringThe name of the resource.
answersarrayList of scoping question answers.
provisioningStatestringAzure lifecycle management. Known values are: "Succeeded", "Failed", "Canceled", "Creating", "Deleting", "Fixing", "Verifying", and "Updating".
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectreport_name, scoping_configuration_nameGet the AppComplianceAutomation scoping configuration of the specific report.
listselectreport_nameReturns a list format of the singleton scopingConfiguration for a specified report.
create_or_updateinsertreport_name, scoping_configuration_name, propertiesGet the AppComplianceAutomation scoping configuration of the specific report.
create_or_updatereplacereport_name, scoping_configuration_name, propertiesGet the AppComplianceAutomation scoping configuration of the specific report.
deletedeletereport_name, scoping_configuration_nameClean the AppComplianceAutomation scoping configuration of the specific report.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
report_namestringReport Name. Required.
scoping_configuration_namestringThe scoping configuration of the specific report. Required.

SELECT examples

Get the AppComplianceAutomation scoping configuration of the specific report.

SELECT
id,
name,
answers,
provisioningState,
systemData,
type
FROM azure_extras.app_compliance_automation.scoping_configuration
WHERE report_name = '{{ report_name }}' -- required
AND scoping_configuration_name = '{{ scoping_configuration_name }}' -- required
;

INSERT examples

Get the AppComplianceAutomation scoping configuration of the specific report.

INSERT INTO azure_extras.app_compliance_automation.scoping_configuration (
properties,
report_name,
scoping_configuration_name
)
SELECT
'{{ properties }}' /* required */,
'{{ report_name }}',
'{{ scoping_configuration_name }}'
RETURNING
id,
name,
properties,
systemData,
type
;

REPLACE examples

Get the AppComplianceAutomation scoping configuration of the specific report.

REPLACE azure_extras.app_compliance_automation.scoping_configuration
SET
properties = '{{ properties }}'
WHERE
report_name = '{{ report_name }}' --required
AND scoping_configuration_name = '{{ scoping_configuration_name }}' --required
AND properties = '{{ properties }}' --required
RETURNING
id,
name,
properties,
systemData,
type;

DELETE examples

Clean the AppComplianceAutomation scoping configuration of the specific report.

DELETE FROM azure_extras.app_compliance_automation.scoping_configuration
WHERE report_name = '{{ report_name }}' --required
AND scoping_configuration_name = '{{ scoping_configuration_name }}' --required
;