Resource Type: azure_availability_set

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

Overview

Specifies information about the availability set that the virtual machine should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes to maximize availability. For more information about availability sets, see [Manage the availability of virtual machines](docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
For more information on Azure planned maintenance, see [Planned maintenance for virtual machines in Azure](docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
Currently, a VM can only be added to availability set at creation time. An existing VM cannot be added to an availability set.

Properties

  • ensure (defaults to: present)

    The basic property that the resource should be in.

    Supported values:
    • present
    • absent
  • id

    Resource Id

  • location

    Resource location

  • properties

    “”

  • sku

    Sku of the availability set, only name is required to be set. See AvailabilitySetSkuTypes for possible set of values. Use ‘Aligned’ for virtual machines with managed disks and ‘Classic’ for virtual machines with unmanaged disks. Default value is ‘Classic’.

  • tags

    Resource tags

  • type

    Resource type

Parameters

  • api_version

    Client Api Version.

  • name (namevar)

    Resource name

  • parameters

    Parameters supplied to the Create Availability Set operation.

  • provider

    The specific backend to use for this ‘azure_availability_set` 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.