Class: Ansible::Ruby::Modules::Os_project_access

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

Overview

Add or remove flavor, volume_type or other resources access 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 The availability zone of the resource.

Returns:

  • (Object, nil)

    The availability zone of the resource.



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

attribute :availability_zone

#resource_nameString?

Returns The resource name (eg. tiny).

Returns:

  • (String, nil)

    The resource name (eg. tiny).



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

attribute :resource_name

#resource_typeString?

Returns The resource type (eg. nova_flavor, cinder_volume_type).

Returns:

  • (String, nil)

    The resource type (eg. nova_flavor, cinder_volume_type).



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

attribute :resource_type

#state:present, ...

Returns Indicate desired state of the resource.

Returns:

  • (:present, :absent, nil)

    Indicate desired state of the resource.



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

attribute :state

#target_project_idString

Returns Project id.

Returns:

  • (String)

    Project id.



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

attribute :target_project_id