Class: Ansible::Ruby::Modules::Os_project
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Os_project
- 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
-
#availability_zone ⇒ Object?
Ignored.
-
#description ⇒ String?
Description for the project.
-
#domain_id ⇒ String?
Domain id to create the project in if the cloud supports domains.
-
#enabled ⇒ :yes, ...
Is the project enabled.
-
#name ⇒ String
Name for the project.
-
#state ⇒ :present, ...
Should the resource be present or absent.
Methods inherited from Base
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_zone ⇒ Object?
Returns Ignored. Present for backwards compatibility.
32 |
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_project.rb', line 32 attribute :availability_zone |
#description ⇒ String?
Returns Description for the project.
16 |
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_project.rb', line 16 attribute :description |
#domain_id ⇒ String?
Returns 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.
24 |
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_project.rb', line 24 attribute :enabled |
#name ⇒ String
Returns 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.
28 |
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_project.rb', line 28 attribute :state |