exec.azurerm.compute.virtual_machine_image¶
Azure Resource Manager (ARM) Compute Virtual Machine Image Execution Module
New in version 4.0.0.
maintainer: | |
---|---|
configuration: | This module requires Azure Resource Manager credentials to be passed as keyword arguments to every function or via acct in order to work properly. Required provider parameters:
Optional provider parameters: cloud_environment: Used to point the cloud driver to different API endpoints, such as Azure GovCloud. Possible values:
|
-
idem_azurerm.exec.azurerm.compute.virtual_machine_image.
get
(hub, ctx, location, publisher, offer, sku, version, **kwargs)¶ New in version 4.0.0.
Gets a virtual machine image.
Parameters: - location – The name of a supported Azure region.
- publisher – A valid image publisher.
- offer – A valid image publisher offer.
- sku – A valid image SKU.
- version – A valid image SKU version.
CLI Example:
azurerm.compute.virtual_machine_image.get "eastus" test_publisher test_offer test_sku test_version
-
idem_azurerm.exec.azurerm.compute.virtual_machine_image.
list_
(hub, ctx, location, publisher, offer, sku, **kwargs)¶ New in version 4.0.0.
Gets a list of all virtual machine image versions for the specified location, publisher, offer, and SKU.
Parameters: - location – The name of a supported Azure region.
- publisher – A valid image publisher.
- offer – A valid image publisher offer.
- sku – A valid image SKU.
CLI Example:
azurerm.compute.virtual_machine_image.list "eastus" test_publisher test_offer test_sku
-
idem_azurerm.exec.azurerm.compute.virtual_machine_image.
list_offers
(hub, ctx, location, publisher, **kwargs)¶ New in version 4.0.0.
Gets a list of virtual machine image offers for the specified location and publisher.
Parameters: - location – The name of a supported Azure region.
- publisher – A valid image publisher.
CLI Example:
azurerm.compute.virtual_machine_image.list_offers "eastus" test_publisher
-
idem_azurerm.exec.azurerm.compute.virtual_machine_image.
list_publishers
(hub, ctx, location, **kwargs)¶ New in version 4.0.0.
Gets a list of virtual machine image publishers for the specified Azure location.
Parameters: location – The name of a supported Azure region. CLI Example:
azurerm.compute.virtual_machine_image.list_publishers "eastus"
-
idem_azurerm.exec.azurerm.compute.virtual_machine_image.
list_skus
(hub, ctx, location, publisher, offer, **kwargs)¶ New in version 4.0.0.
Gets a list of virtual machine image offers for the specified location and publisher.
Parameters: - location – The name of a supported Azure region.
- publisher – A valid image publisher.
- offer – A valid image publisher offer.
CLI Example:
azurerm.compute.virtual_machine_image.list_skus "eastus" test_publisher test_offer