Skip to main content

draft_packages_paths

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

Overview

Namedraft_packages_paths
TypeResource
Idazure_extras.test_base.draft_packages_paths

Fields

The following fields are returned by SELECT queries:

The paths with access token is returned.

NameDatatypeDescription
baseUrlstringThe base URL of the storage account.
draftPackagePathstringThe relative path of the folder hosting package files.
expirationTimestring (date-time)Expiry date of the SAS token.
sasTokenstringA SAS token for the storage account to access workspace.
workingPathstringThe relative path for a temporary folder for package creation work.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, testBaseAccountName, draftPackageNameGets draft package path and temp working path with SAS.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
draftPackageNamestringThe resource name of the Test Base Draft Package.
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
subscriptionIdstring (uuid)The ID of the target subscription. The value must be an UUID.
testBaseAccountNamestringThe resource name of the Test Base Account.

SELECT examples

Gets draft package path and temp working path with SAS.

SELECT
baseUrl,
draftPackagePath,
expirationTime,
sasToken,
workingPath
FROM azure_extras.test_base.draft_packages_paths
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND testBaseAccountName = '{{ testBaseAccountName }}' -- required
AND draftPackageName = '{{ draftPackageName }}' -- required
;