Class: Ansible::Ruby::Modules::Os_object

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

Overview

Create or Delete objects and containers from OpenStack

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

#containerString

Returns The name of the container in which to create the object.

Returns:

  • (String)

    The name of the container in which to create the object



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

attribute :container

#container_access:private, ...

Returns desired container access level.

Returns:

  • (:private, :public, nil)

    desired container access level.



23
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/os_object.rb', line 23

attribute :container_access

#filenameString?

Returns Path to local file to be uploaded.

Returns:

  • (String, nil)

    Path to local file to be uploaded.



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

attribute :filename

#nameString?

Returns Name to be give to the object. If omitted, operations will be on the entire container.

Returns:

  • (String, nil)

    Name to be give to the object. If omitted, operations will be on the entire container



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

attribute :name

#state:present, ...

Returns Should the resource be present or absent.

Returns:

  • (:present, :absent, nil)

    Should the resource be present or absent.



27
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/os_object.rb', line 27

attribute :state