Skip to main content

vh_ds

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

Overview

Namevh_ds
TypeResource
Idazure_extras.test_base.vh_ds

Fields

NameDatatypeDescription
creation_timetextfield from the properties object
file_nametextfield from the properties object
file_sizetextfield from the properties object
pathtextfield from the properties object
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
statustextfield from the properties object
subscriptionIdtextfield from the properties object
testBaseAccountNametextfield from the properties object
vhdNametextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTresourceGroupName, subscriptionId, testBaseAccountName, vhdNameGets a Test Base VHD.
list_by_test_base_accountSELECTresourceGroupName, subscriptionId, testBaseAccountNameLists all the VHDs under a test base account.
deleteDELETEresourceGroupName, subscriptionId, testBaseAccountName, vhdNameDeletes a Test Base VHD.

SELECT examples

Lists all the VHDs under a test base account.

SELECT
creation_time,
file_name,
file_size,
path,
provisioning_state,
resourceGroupName,
status,
subscriptionId,
testBaseAccountName,
vhdName
FROM azure_extras.test_base.vw_vh_ds
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND testBaseAccountName = '{{ testBaseAccountName }}';

DELETE example

Deletes the specified vh_ds resource.

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