Skip to main content

connector_dryruns

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

Overview

Nameconnector_dryruns
TypeResource
Idazure.service_connector.connector_dryruns

Fields

NameDatatypeDescription
dryrunNametextfield from the properties object
locationtextfield from the properties object
operation_previewstextfield from the properties object
parameterstextfield from the properties object
prerequisite_resultstextfield from the properties object
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
subscriptionIdtextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTdryrunName, location, resourceGroupName, subscriptionIdget a dryrun job
listSELECTlocation, resourceGroupName, subscriptionIdlist dryrun jobs
createINSERTdryrunName, location, resourceGroupName, subscriptionIdcreate a dryrun job to do necessary check before actual creation
deleteDELETEdryrunName, location, resourceGroupName, subscriptionIddelete a dryrun job
updateUPDATEdryrunName, location, resourceGroupName, subscriptionIdupdate a dryrun job to do necessary check before actual creation

SELECT examples

list dryrun jobs

SELECT
dryrunName,
location,
operation_previews,
parameters,
prerequisite_results,
provisioning_state,
resourceGroupName,
subscriptionId
FROM azure.service_connector.vw_connector_dryruns
WHERE location = '{{ location }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure.service_connector.connector_dryruns (
dryrunName,
location,
resourceGroupName,
subscriptionId,
properties
)
SELECT
'{{ dryrunName }}',
'{{ location }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}'
;

UPDATE example

Updates a connector_dryruns resource.

/*+ update */
UPDATE azure.service_connector.connector_dryruns
SET
properties = '{{ properties }}'
WHERE
dryrunName = '{{ dryrunName }}'
AND location = '{{ location }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

DELETE example

Deletes the specified connector_dryruns resource.

/*+ delete */
DELETE FROM azure.service_connector.connector_dryruns
WHERE dryrunName = '{{ dryrunName }}'
AND location = '{{ location }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';