Class: Ansible::Ruby::Modules::Clc_server_snapshot

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

Overview

An Ansible module to Create, Delete and Restore server snapshots in CenturyLink Cloud.

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

#expiration_daysInteger?

Returns The number of days to keep the server snapshot before it expires.

Returns:

  • (Integer, nil)

    The number of days to keep the server snapshot before it expires.



16
# File 'lib/ansible/ruby/modules/generated/cloud/centurylink/clc_server_snapshot.rb', line 16

attribute :expiration_days

#server_idsArray<String>, String

Returns The list of CLC server Ids.

Returns:

  • (Array<String>, String)

    The list of CLC server Ids.



12
# File 'lib/ansible/ruby/modules/generated/cloud/centurylink/clc_server_snapshot.rb', line 12

attribute :server_ids

#state:present, ...

Returns The state to insure that the provided resources are in.

Returns:

  • (:present, :absent, :restore, nil)

    The state to insure that the provided resources are in.



20
# File 'lib/ansible/ruby/modules/generated/cloud/centurylink/clc_server_snapshot.rb', line 20

attribute :state

#waitBoolean?

Returns Whether to wait for the provisioning tasks to finish before returning.

Returns:

  • (Boolean, nil)

    Whether to wait for the provisioning tasks to finish before returning.



24
# File 'lib/ansible/ruby/modules/generated/cloud/centurylink/clc_server_snapshot.rb', line 24

attribute :wait