Class: Ansible::Ruby::Modules::Os_keystone_endpoint

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

Overview

Create, update, or delete OpenStack Identity service endpoints. If a service with the same combination of I(service), I(interface) and I(region) exist, the I(url) and I(state) (C(present) or C(absent)) will be updated.

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

#enabledBoolean?

Returns Is the service enabled.

Returns:

  • (Boolean, nil)

    Is the service enabled.



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

attribute :enabled

#interface:admin, ...

Returns Interface of the service.

Returns:

  • (:admin, :public, :internal)

    Interface of the service.



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

attribute :interface

#regionString?

Returns Region that the service belongs to. Note that I(region_name) is used for authentication.

Returns:

  • (String, nil)

    Region that the service belongs to. Note that I(region_name) is used for authentication.



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

attribute :region

#serviceString

Returns Name or id of the service.

Returns:

  • (String)

    Name or id of the service.



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

attribute :service

#state:present, ...

Returns Should the resource be C(present) or C(absent).

Returns:

  • (:present, :absent, nil)

    Should the resource be C(present) or C(absent).



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

attribute :state

#urlString

Returns URL of the service.

Returns:

  • (String)

    URL of the service.



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

attribute :url