Skip to main content

azure_dev_ops_orgs

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

Overview

Nameazure_dev_ops_orgs
TypeResource
Idazure.security.azure_dev_ops_orgs

Fields

NameDatatypeDescription
actionable_remediationtextfield from the properties object
onboarding_statetextfield from the properties object
orgNametextfield 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, resourceGroupName, securityConnectorName, subscriptionId
listSELECTresourceGroupName, securityConnectorName, subscriptionId
create_or_updateINSERTorgName, resourceGroupName, securityConnectorName, subscriptionId
updateUPDATEorgName, resourceGroupName, securityConnectorName, subscriptionId

SELECT examples

SELECT
actionable_remediation,
onboarding_state,
orgName,
provisioning_state,
provisioning_status_message,
provisioning_status_update_time_utc,
resourceGroupName,
securityConnectorName,
subscriptionId,
system_data
FROM azure.security.vw_azure_dev_ops_orgs
WHERE 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_orgs resource.

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

UPDATE example

Updates a azure_dev_ops_orgs resource.

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