@vm_util.Retry()
  def _PostCreate(self):
    show_cmd = [AZURE_PATH,
                'vm',
                'show',
                '--json',
                self.vm_name]
    stdout, _, _ = vm_util.IssueCommand(show_cmd)
    response = json.loads(stdout)
    data_disk = response['DataDisks'][self.lun]
    assert ((self.lun == 0 and 'logicalUnitNumber' not in data_disk)
            or (self.lun == int(data_disk['logicalUnitNumber'])))
    self.name = data_disk['name']
Get the disk's name.
dataset/ETHPy150Open GoogleCloudPlatform/PerfKitBenchmarker/perfkitbenchmarker/providers/azure/azure_disk.py/AzureDisk._PostCreate