Class: Ansible::Ruby::Modules::Cs_region

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

Overview

Add, update and remove regions.

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

#endpointString?

Returns Endpoint URL of the region.,Required if C(state=present).

Returns:

  • (String, nil)

    Endpoint URL of the region.,Required if C(state=present)



20
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_region.rb', line 20

attribute :endpoint

#idInteger

Returns ID of the region.,Must be an number (int).

Returns:

  • (Integer)

    ID of the region.,Must be an number (int).



12
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_region.rb', line 12

attribute :id

#nameString?

Returns Name of the region.,Required if C(state=present).

Returns:

  • (String, nil)

    Name of the region.,Required if C(state=present)



16
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_region.rb', line 16

attribute :name

#state:present, ...

Returns State of the region.

Returns:

  • (:present, :absent, nil)

    State of the region.



24
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_region.rb', line 24

attribute :state