Class: Ansible::Ruby::Modules::Azure_rm_availabilityset

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_availabilityset.rb

Overview

Create, update and delete Azure availability set. An availability set cannot be updated, you will have to recreate one instead. The only update operation will be for the tags.

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

Methods inherited from Ansible::Ruby::Models::Base

attr_option, attr_options, attribute, fix_inclusion, #initialize, remove_existing_validations, #to_h, validates

Constructor Details

This class inherits a constructor from Ansible::Ruby::Models::Base

Instance Method Details

#locationString?

Returns Valid azure location. Defaults to location of the resource group.

Returns:

  • (String, nil)

    Valid azure location. Defaults to location of the resource group.



24
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_availabilityset.rb', line 24

attribute :location

#nameString

Returns Name of the availability set.

Returns:

  • (String)

    Name of the availability set.



16
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_availabilityset.rb', line 16

attribute :name

#platform_fault_domain_countInteger?

Returns Fault domains define the group of virtual machines that share a common power source and network switch. Should be between 1 and 3. Default is 3.

Returns:

  • (Integer, nil)

    Fault domains define the group of virtual machines that share a common power source and network switch. Should be between 1 and 3. Default is 3



32
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_availabilityset.rb', line 32

attribute :platform_fault_domain_count

#platform_update_domain_countInteger?

Returns Update domains indicate groups of virtual machines and underlying physical hardware that can be rebooted at the same time. Default is 5.

Returns:

  • (Integer, nil)

    Update domains indicate groups of virtual machines and underlying physical hardware that can be rebooted at the same time. Default is 5.



28
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_availabilityset.rb', line 28

attribute :platform_update_domain_count

#resource_groupString

Returns Name of a resource group where the availability set exists or will be created.

Returns:

  • (String)

    Name of a resource group where the availability set exists or will be created.



12
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_availabilityset.rb', line 12

attribute :resource_group

#sku:Classic, ...

Returns Define if the availability set supports managed disks.

Returns:

  • (:Classic, :Aligned, nil)

    Define if the availability set supports managed disks.



36
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_availabilityset.rb', line 36

attribute :sku

#state:absent, ...

Returns Assert the state of the availability set. Use ‘present’ to create or update a availability set and ‘absent’ to delete a availability set.

Returns:

  • (:absent, :present, nil)

    Assert the state of the availability set. Use ‘present’ to create or update a availability set and ‘absent’ to delete a availability set.



20
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_availabilityset.rb', line 20

attribute :state