Skip to main content

disks

Overview

Namedisks
TypeResource
Idazure.dev_test_labs.disks

Fields

NameDatatypeDescription
idstringThe identifier of the resource.
namestringThe name of the resource.
locationstringThe location of the resource.
propertiesobjectProperties of a disk.
tagsobjectThe tags of the resource.
typestringThe type of the resource.

Methods

NameAccessible byRequired ParamsDescription
getSELECTapi-version, labName, name, resourceGroupName, subscriptionId, userNameGet disk.
listSELECTapi-version, labName, resourceGroupName, subscriptionId, userNameList disks in a given user profile.
create_or_updateINSERTapi-version, labName, name, resourceGroupName, subscriptionId, userName, data__propertiesCreate or replace an existing disk. This operation can take a while to complete.
deleteDELETEapi-version, labName, name, resourceGroupName, subscriptionId, userNameDelete disk. This operation can take a while to complete.
_listEXECapi-version, labName, resourceGroupName, subscriptionId, userNameList disks in a given user profile.
attachEXECapi-version, labName, name, resourceGroupName, subscriptionId, userNameAttach and create the lease of the disk to the virtual machine. This operation can take a while to complete.
detachEXECapi-version, labName, name, resourceGroupName, subscriptionId, userNameDetach and break the lease of the disk attached to the virtual machine. This operation can take a while to complete.
updateEXECapi-version, labName, name, resourceGroupName, subscriptionId, userNameAllows modifying tags of disks. All other properties will be ignored.