connector_dryruns
Creates, updates, deletes, gets or lists a connector_dryruns
resource.
Overview
Name | connector_dryruns |
Type | Resource |
Id | azure.service_connector.connector_dryruns |
Fields
- vw_connector_dryruns
- connector_dryruns
Name | Datatype | Description |
---|---|---|
dryrunName | text | field from the properties object |
location | text | field from the properties object |
operation_previews | text | field from the properties object |
parameters | text | field from the properties object |
prerequisite_results | text | field from the properties object |
provisioning_state | text | field from the properties object |
resourceGroupName | text | field from the properties object |
subscriptionId | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
properties | object | The properties of the dryrun job |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | dryrunName, location, resourceGroupName, subscriptionId | get a dryrun job |
list | SELECT | location, resourceGroupName, subscriptionId | list dryrun jobs |
create | INSERT | dryrunName, location, resourceGroupName, subscriptionId | create a dryrun job to do necessary check before actual creation |
delete | DELETE | dryrunName, location, resourceGroupName, subscriptionId | delete a dryrun job |
update | UPDATE | dryrunName, location, resourceGroupName, subscriptionId | update a dryrun job to do necessary check before actual creation |
SELECT
examples
list dryrun jobs
- vw_connector_dryruns
- connector_dryruns
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 }}';
SELECT
properties
FROM azure.service_connector.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.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.service_connector.connector_dryruns (
dryrunName,
location,
resourceGroupName,
subscriptionId,
properties
)
SELECT
'{{ dryrunName }}',
'{{ location }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: parameters
value:
- name: actionName
value: []
- name: prerequisiteResults
value:
- - name: type
value: []
- name: operationPreviews
value:
- - name: name
value: string
- name: operationType
value: string
- name: description
value: string
- name: action
value: string
- name: scope
value: string
- name: provisioningState
value: string
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 }}';