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

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/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, fix_inclusion, #initialize, remove_existing_validations, #to_h, validates

Constructor Details

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

Instance Method Details

#availability_zoneObject?

Returns Ignored. Present for backwards compatibility.

Returns:

  • (Object, nil)

    Ignored. Present for backwards compatibility



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

attribute :availability_zone

#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



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

attribute :container

#container_access:private, ...

Returns desired container access level.

Returns:

  • (:private, :public, nil)

    desired container access level.



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

attribute :container_access

#filenameString?

Returns Path to local file to be uploaded.

Returns:

  • (String, nil)

    Path to local file to be uploaded.



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

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



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

attribute :name

#state:present, ...

Returns Should the resource be present or absent.

Returns:

  • (:present, :absent, nil)

    Should the resource be present or absent.



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

attribute :state