Class: Ansible::Ruby::Modules::Rax_files
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Rax_files
- Defined in:
- lib/ansible/ruby/modules/generated/core/cloud/rackspace/rax_files.rb
Instance Method Summary collapse
-
#clear_meta ⇒ :yes, ...
Optionally clear existing metadata when applying metadata to existing containers.
-
#container ⇒ Object
The container to use for container or metadata operations.
-
#meta ⇒ Object?
A hash of items to set as metadata values on a container.
-
#private ⇒ Object?
Used to set a container as private, removing it from the CDN.
-
#public ⇒ Object?
Used to set a container as public, available via the Cloud Files CDN.
-
#region ⇒ String?
Region to create an instance in.
-
#state ⇒ :present, ...
Indicate desired state of the resource.
-
#ttl ⇒ Object?
In seconds, set a container-wide TTL for all objects cached on CDN edge nodes.
-
#type ⇒ :file, ...
Type of object to do work on, i.e.
-
#web_error ⇒ Object?
Sets an object to be presented as the HTTP error page when accessed by the CDN URL.
-
#web_index ⇒ Object?
Sets an object to be presented as the HTTP index page when accessed by the CDN URL.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, #initialize, #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.
10 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/rackspace/rax_files.rb', line 10 attribute :clear_meta |
#container ⇒ Object
Returns The container to use for container or metadata operations.
14 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/rackspace/rax_files.rb', line 14 attribute :container |
#meta ⇒ Object?
Returns A hash of items to set as metadata values on a container.
18 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/rackspace/rax_files.rb', line 18 attribute :meta |
#private ⇒ Object?
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.
21 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/rackspace/rax_files.rb', line 21 attribute :private |
#public ⇒ Object?
Returns Used to set a container as public, available via the Cloud Files CDN.
24 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/rackspace/rax_files.rb', line 24 attribute :public |
#region ⇒ String?
Returns Region to create an instance in.
27 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/rackspace/rax_files.rb', line 27 attribute :region |
#state ⇒ :present, ...
Returns Indicate desired state of the resource.
31 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/rackspace/rax_files.rb', line 31 attribute :state |
#ttl ⇒ Object?
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.
35 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/rackspace/rax_files.rb', line 35 attribute :ttl |
#type ⇒ :file, ...
Returns Type of object to do work on, i.e. metadata object or a container object.
38 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/rackspace/rax_files.rb', line 38 attribute :type |
#web_error ⇒ Object?
Returns Sets an object to be presented as the HTTP error page when accessed by the CDN URL.
42 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/rackspace/rax_files.rb', line 42 attribute :web_error |
#web_index ⇒ Object?
Returns Sets an object to be presented as the HTTP index page when accessed by the CDN URL.
45 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/rackspace/rax_files.rb', line 45 attribute :web_index |