adh_cache.py
def populate_vm (self, curr_vm):
        '''Populate VM date as retrived from GET on Microsoft.Compute/VirtualMachine
            Args:
                curr_vm (str): VM Object representation
        '''
        self.name = curr_vm['name']
        self.id = curr_vm['id']
        self.size = curr_vm['properties']['hardwareProfile']['vmSize']
        # calculated host attributes
        self.core_count = 0
        self.mem_size = 0 
        self.hyper_threading_ratio = 1
Populate VM date as retrived from GET on Microsoft.Compute/VirtualMachine
            Args:
                curr_vm (str): VM Object representation
        
Populate VM date as retrived from GET on Microsoft.Compute/VirtualMachine
Populate VM date as retrived from GET on Microsoft . Compute / VirtualMachine
def populate_vm (self, curr_vm):
        self.name = curr_vm['name']
        self.id = curr_vm['id']
        self.size = curr_vm['properties']['hardwareProfile']['vmSize']
        self.core_count = 0
        self.mem_size = 0 
        self.hyper_threading_ratio = 1
def populate_vm ( self , curr_vm ) : self . name = curr_vm [ 'name' ] self . id = curr_vm [ 'id' ] self . size = curr_vm [ 'properties' ] [ 'hardwareProfile' ] [ 'vmSize' ] self . core_count = 0 self . mem_size = 0 self . hyper_threading_ratio = 1
Populate VM date as retrived from GET on Microsoft.Compute/VirtualMachine
Populate VM date as retrived from GET on Microsoft . Compute / VirtualMachine
'''Populate VM date as retrived from GET on Microsoft.Compute/VirtualMachine
            Args:
                curr_vm (str): VM Object representation
        ''' # calculated host attributes
self
curr_vm
VM Object representation
VM Object representation