Skip to main content

azure_dev_ops_repos

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

Overview

Nameazure_dev_ops_repos
TypeResource
Idazure.security.azure_dev_ops_repos

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
parent_project_nametextfield from the properties object
projectNametextfield 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
repoNametextfield from the properties object
repo_idtextfield from the properties object
repo_urltextfield 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
visibilitytextfield from the properties object

Methods

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

SELECT examples

SELECT
actionable_remediation,
onboarding_state,
orgName,
parent_org_name,
parent_project_name,
projectName,
provisioning_state,
provisioning_status_message,
provisioning_status_update_time_utc,
repoName,
repo_id,
repo_url,
resourceGroupName,
securityConnectorName,
subscriptionId,
system_data,
visibility
FROM azure.security.vw_azure_dev_ops_repos
WHERE orgName = '{{ orgName }}'
AND projectName = '{{ projectName }}'
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_repos resource.

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

UPDATE example

Updates a azure_dev_ops_repos resource.

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