Skip to main content

azure_dev_ops_projects

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

Overview

Nameazure_dev_ops_projects
TypeResource
Idazure.security.azure_dev_ops_projects

Fields

NameDatatypeDescription
actionable_remediationtextfield from the properties object
onboarding_statetextfield from the properties object
orgNametextfield from the properties object
parent_org_nametextfield from the properties object
projectNametextfield from the properties object
project_idtextfield from the properties object
provisioning_statetextfield from the properties object
provisioning_status_messagetextfield from the properties object
provisioning_status_update_time_utctextfield from the properties object
resourceGroupNametextfield from the properties object
securityConnectorNametextfield from the properties object
subscriptionIdtextfield from the properties object
system_datatextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTorgName, projectName, resourceGroupName, securityConnectorName, subscriptionId
listSELECTorgName, resourceGroupName, securityConnectorName, subscriptionId
create_or_updateINSERTorgName, projectName, resourceGroupName, securityConnectorName, subscriptionId
updateUPDATEorgName, projectName, resourceGroupName, securityConnectorName, subscriptionId

SELECT examples

SELECT
actionable_remediation,
onboarding_state,
orgName,
parent_org_name,
projectName,
project_id,
provisioning_state,
provisioning_status_message,
provisioning_status_update_time_utc,
resourceGroupName,
securityConnectorName,
subscriptionId,
system_data
FROM azure.security.vw_azure_dev_ops_projects
WHERE orgName = '{{ orgName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND securityConnectorName = '{{ securityConnectorName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure.security.azure_dev_ops_projects (
orgName,
projectName,
resourceGroupName,
securityConnectorName,
subscriptionId,
systemData,
properties
)
SELECT
'{{ orgName }}',
'{{ projectName }}',
'{{ resourceGroupName }}',
'{{ securityConnectorName }}',
'{{ subscriptionId }}',
'{{ systemData }}',
'{{ properties }}'
;

UPDATE example

Updates a azure_dev_ops_projects resource.

/*+ update */
UPDATE azure.security.azure_dev_ops_projects
SET
systemData = '{{ systemData }}',
properties = '{{ properties }}'
WHERE
orgName = '{{ orgName }}'
AND projectName = '{{ projectName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND securityConnectorName = '{{ securityConnectorName }}'
AND subscriptionId = '{{ subscriptionId }}';