Integrations/AzureCompute_v2/AzureCompute_v2.py
def assign_image_attributes(image):
    """
    Retrieve image properties determined by the chosen image

    returns:
        Image Properties Tuple (sku, publisher, offer, version)
    """
    image = image.lower()
    image_properties = IMAGES.get(image)
    if not image_properties:
        err_msg = 'Invalid value entered for the \'os_image\' argument. '
        err_msg += 'Only values from the provided options are accepted.'
        raise Exception(err_msg)
    sku = image_properties.get('sku')
    publisher = image_properties.get('publisher')
    offer = image_properties.get('offer')
    version = image_properties.get('version')
    return sku, publisher, offer, version

    Retrieve image properties determined by the chosen image

    returns:
        Image Properties Tuple (sku, publisher, offer, version)
    
Retrieve image properties determined by the chosen image
returns:
Image Properties Tuple (sku, publisher, offer, version)
Retrieve image properties determined by the chosen image returns : Image Properties Tuple ( sku publisher offer version )
def assign_image_attributes(image):
    image = image.lower()
    image_properties = IMAGES.get(image)
    if not image_properties:
        err_msg = 'Invalid value entered for the \'os_image\' argument. '
        err_msg += 'Only values from the provided options are accepted.'
        raise Exception(err_msg)
    sku = image_properties.get('sku')
    publisher = image_properties.get('publisher')
    offer = image_properties.get('offer')
    version = image_properties.get('version')
    return sku, publisher, offer, version
def assign_image_attributes ( image ) : image = image . lower ( ) image_properties = IMAGES . get ( image ) if not image_properties : err_msg = 'Invalid value entered for the \'os_image\' argument. ' err_msg += 'Only values from the provided options are accepted.' raise Exception ( err_msg ) sku = image_properties . get ( 'sku' ) publisher = image_properties . get ( 'publisher' ) offer = image_properties . get ( 'offer' ) version = image_properties . get ( 'version' ) return sku , publisher , offer , version
Retrieve image properties determined by the chosen image
returns:
Image Properties Tuple (sku, publisher, offer, version)
Retrieve image properties determined by the chosen image returns : Image Properties Tuple ( sku publisher offer version )
"""
    Retrieve image properties determined by the chosen image

    returns:
        Image Properties Tuple (sku, publisher, offer, version)
    """
image