Class: Ansible::Ruby::Modules::Os_project

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

Overview

Manage OpenStack Projects. Projects can be created, updated or deleted using this module. A project will be updated if I(name) matches an existing project and I(state) is present. The value for I(name) cannot be updated without deleting and re-creating the project.

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

#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_project.rb', line 32

attribute :availability_zone

#descriptionString?

Returns Description for the project.

Returns:

  • (String, nil)

    Description for the project



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

attribute :description

#domain_idString?

Returns Domain id to create the project in if the cloud supports domains.

Returns:

  • (String, nil)

    Domain id to create the project in if the cloud supports domains.



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

attribute :domain_id

#enabled:yes, ...

Returns Is the project enabled.

Returns:

  • (:yes, :no, nil)

    Is the project enabled



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

attribute :enabled

#nameString

Returns Name for the project.

Returns:

  • (String)

    Name for the project



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

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_project.rb', line 28

attribute :state