Class: Ansible::Ruby::Modules::Azure_rm_virtualmachine_facts

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

Overview

Get facts for all virtual machines of a resource group.

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

#nameString?

Returns Name of the virtual machine.

Returns:

  • (String, nil)

    Name of the virtual machine.



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

attribute :name

#resource_groupString?

Returns Name of the resource group containing the virtual machines (required when filtering by vm name).

Returns:

  • (String, nil)

    Name of the resource group containing the virtual machines (required when filtering by vm name).



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

attribute :resource_group

#tagsArray<String>, ...

Returns Limit results by providing a list of tags. Format tags as ‘key’ or ‘key:value’.

Returns:

  • (Array<String>, String, nil)

    Limit results by providing a list of tags. Format tags as ‘key’ or ‘key:value’.



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

attribute :tags