Skip to main content

action_requests

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

Overview

Nameaction_requests
TypeResource
Idazure_extras.test_base.action_requests

Fields

NameDatatypeDescription
actionRequestNametextfield from the properties object
creation_datetextfield from the properties object
pre_release_access_request_spectextfield from the properties object
provisioning_statetextfield from the properties object
request_typetextfield from the properties object
resourceGroupNametextfield from the properties object
statustextfield from the properties object
subscriptionIdtextfield from the properties object
testBaseAccountNametextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTactionRequestName, resourceGroupName, subscriptionId, testBaseAccountNameGet the action request under the specified test base account.
listSELECTresourceGroupName, subscriptionId, testBaseAccountNameList all action requests under the specified test base account.
deleteDELETEactionRequestName, resourceGroupName, subscriptionId, testBaseAccountNameDelete (revoke) an action request. Only requests in review can be deleted.
putREPLACEactionRequestName, resourceGroupName, subscriptionId, testBaseAccountNameCreate (submit) an action request.

SELECT examples

List all action requests under the specified test base account.

SELECT
actionRequestName,
creation_date,
pre_release_access_request_spec,
provisioning_state,
request_type,
resourceGroupName,
status,
subscriptionId,
testBaseAccountName
FROM azure_extras.test_base.vw_action_requests
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND testBaseAccountName = '{{ testBaseAccountName }}';

REPLACE example

Replaces all fields in the specified action_requests resource.

/*+ update */
REPLACE azure_extras.test_base.action_requests
SET
properties = '{{ properties }}'
WHERE
actionRequestName = '{{ actionRequestName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND testBaseAccountName = '{{ testBaseAccountName }}';

DELETE example

Deletes the specified action_requests resource.

/*+ delete */
DELETE FROM azure_extras.test_base.action_requests
WHERE actionRequestName = '{{ actionRequestName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND testBaseAccountName = '{{ testBaseAccountName }}';