draft_packages_paths
Creates, updates, deletes, gets or lists a draft_packages_paths
resource.
Overview
Name | draft_packages_paths |
Type | Resource |
Id | azure_extras.test_base.draft_packages_paths |
Fields
The following fields are returned by SELECT
queries:
- get
The paths with access token is returned.
Name | Datatype | Description |
---|---|---|
baseUrl | string | The base URL of the storage account. |
draftPackagePath | string | The relative path of the folder hosting package files. |
expirationTime | string (date-time) | Expiry date of the SAS token. |
sasToken | string | A SAS token for the storage account to access workspace. |
workingPath | string | The relative path for a temporary folder for package creation work. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | subscriptionId , resourceGroupName , testBaseAccountName , draftPackageName | Gets 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.
Name | Datatype | Description |
---|---|---|
draftPackageName | string | The resource name of the Test Base Draft Package. |
resourceGroupName | string | The name of the resource group. The name is case insensitive. |
subscriptionId | string (uuid) | The ID of the target subscription. The value must be an UUID. |
testBaseAccountName | string | The resource name of the Test Base Account. |
SELECT
examples
- get
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
;