Skip to main content

favorite_processes

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

Overview

Namefavorite_processes
TypeResource
Idazure_extras.test_base.favorite_processes

Fields

NameDatatypeDescription
actual_process_nametextfield from the properties object
favoriteProcessResourceNametextfield from the properties object
packageNametextfield from the properties object
resourceGroupNametextfield from the properties object
subscriptionIdtextfield from the properties object
testBaseAccountNametextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTfavoriteProcessResourceName, packageName, resourceGroupName, subscriptionId, testBaseAccountNameGets a favorite process for a Test Base Package.
listSELECTpackageName, resourceGroupName, subscriptionId, testBaseAccountNameLists the favorite processes for a specific package.
createINSERTfavoriteProcessResourceName, packageName, resourceGroupName, subscriptionId, testBaseAccountNameCreate or replace a favorite process for a Test Base Package.
deleteDELETEfavoriteProcessResourceName, packageName, resourceGroupName, subscriptionId, testBaseAccountNameDeletes a favorite process for a specific package.

SELECT examples

Lists the favorite processes for a specific package.

SELECT
actual_process_name,
favoriteProcessResourceName,
packageName,
resourceGroupName,
subscriptionId,
testBaseAccountName
FROM azure_extras.test_base.vw_favorite_processes
WHERE packageName = '{{ packageName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND testBaseAccountName = '{{ testBaseAccountName }}';

INSERT example

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

/*+ create */
INSERT INTO azure_extras.test_base.favorite_processes (
favoriteProcessResourceName,
packageName,
resourceGroupName,
subscriptionId,
testBaseAccountName,
properties
)
SELECT
'{{ favoriteProcessResourceName }}',
'{{ packageName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ testBaseAccountName }}',
'{{ properties }}'
;

DELETE example

Deletes the specified favorite_processes resource.

/*+ delete */
DELETE FROM azure_extras.test_base.favorite_processes
WHERE favoriteProcessResourceName = '{{ favoriteProcessResourceName }}'
AND packageName = '{{ packageName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND testBaseAccountName = '{{ testBaseAccountName }}';