Resource Type: azure_virtual_machine

Defined in:
lib/puppet/type/azure_virtual_machine.rb
Providers:
arm

Overview

Describes a Virtual Machine.

Properties

  • ensure (defaults to: present)

    The basic property that the resource should be in.

    Supported values:
    • present
    • absent
  • id

    Resource Id

  • identity

    The identity of the virtual machine, if configured.

  • location

    Resource location

  • plan

    Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click Save.

  • properties

    “”

  • resources

    The virtual machine child extension resources.

  • tags

    Resource tags

  • type

    Resource type

Parameters

  • api_version

    Client Api Version.

  • name (namevar)

    Resource name

  • parameters

    Parameters supplied to the Create Virtual Machine operation.

  • provider

    The specific backend to use for this ‘azure_virtual_machine` resource. You will seldom need to specify this — Puppet will usually discover the appropriate provider for your platform.

  • resource_group_name

    The name of the resource group.

  • subscription_id

    Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.