Class: Ansible::Ruby::Modules::Rax_files

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/core/cloud/rackspace/rax_files.rb

Overview

Manipulate Rackspace Cloud Files Containers

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

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

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

Constructor Details

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

Instance Method Details

#clear_meta:yes, ...

Returns Optionally clear existing metadata when applying metadata to existing containers. Selecting this option is only appropriate when setting type=meta.

Returns:

  • (:yes, :no, nil)

    Optionally clear existing metadata when applying metadata to existing containers. Selecting this option is only appropriate when setting type=meta



11
# File 'lib/ansible/ruby/modules/generated/core/cloud/rackspace/rax_files.rb', line 11

attribute :clear_meta

#containerObject

Returns The container to use for container or metadata operations.

Returns:

  • (Object)

    The container to use for container or metadata operations.



15
# File 'lib/ansible/ruby/modules/generated/core/cloud/rackspace/rax_files.rb', line 15

attribute :container

#metaObject?

Returns A hash of items to set as metadata values on a container.

Returns:

  • (Object, nil)

    A hash of items to set as metadata values on a container



19
# File 'lib/ansible/ruby/modules/generated/core/cloud/rackspace/rax_files.rb', line 19

attribute :meta

#privateObject?

Returns Used to set a container as private, removing it from the CDN. B(Warning!) Private containers, if previously made public, can have live objects available until the TTL on cached objects expires.

Returns:

  • (Object, nil)

    Used to set a container as private, removing it from the CDN. B(Warning!) Private containers, if previously made public, can have live objects available until the TTL on cached objects expires



22
# File 'lib/ansible/ruby/modules/generated/core/cloud/rackspace/rax_files.rb', line 22

attribute :private

#publicObject?

Returns Used to set a container as public, available via the Cloud Files CDN.

Returns:

  • (Object, nil)

    Used to set a container as public, available via the Cloud Files CDN



25
# File 'lib/ansible/ruby/modules/generated/core/cloud/rackspace/rax_files.rb', line 25

attribute :public

#regionString?

Returns Region to create an instance in.

Returns:

  • (String, nil)

    Region to create an instance in



28
# File 'lib/ansible/ruby/modules/generated/core/cloud/rackspace/rax_files.rb', line 28

attribute :region

#state:present, ...

Returns Indicate desired state of the resource.

Returns:

  • (:present, :absent, nil)

    Indicate desired state of the resource



32
# File 'lib/ansible/ruby/modules/generated/core/cloud/rackspace/rax_files.rb', line 32

attribute :state

#ttlObject?

Returns In seconds, set a container-wide TTL for all objects cached on CDN edge nodes. Setting a TTL is only appropriate for containers that are public.

Returns:

  • (Object, nil)

    In seconds, set a container-wide TTL for all objects cached on CDN edge nodes. Setting a TTL is only appropriate for containers that are public



36
# File 'lib/ansible/ruby/modules/generated/core/cloud/rackspace/rax_files.rb', line 36

attribute :ttl

#type:file, ...

Returns Type of object to do work on, i.e. metadata object or a container object.

Returns:

  • (:file, :meta, nil)

    Type of object to do work on, i.e. metadata object or a container object



39
# File 'lib/ansible/ruby/modules/generated/core/cloud/rackspace/rax_files.rb', line 39

attribute :type

#web_errorObject?

Returns Sets an object to be presented as the HTTP error page when accessed by the CDN URL.

Returns:

  • (Object, nil)

    Sets an object to be presented as the HTTP error page when accessed by the CDN URL



43
# File 'lib/ansible/ruby/modules/generated/core/cloud/rackspace/rax_files.rb', line 43

attribute :web_error

#web_indexObject?

Returns Sets an object to be presented as the HTTP index page when accessed by the CDN URL.

Returns:

  • (Object, nil)

    Sets an object to be presented as the HTTP index page when accessed by the CDN URL



46
# File 'lib/ansible/ruby/modules/generated/core/cloud/rackspace/rax_files.rb', line 46

attribute :web_index