Class: Ansible::Ruby::Modules::Mqtt
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Mqtt
- Defined in:
- lib/ansible/ruby/modules/generated/extras/notification/mqtt.rb
Instance Method Summary collapse
-
#client_id ⇒ String?
MQTT client identifier.
-
#password ⇒ Object?
Password for C(username) to authenticate against the broker.
-
#payload ⇒ String
Payload.
-
#port ⇒ Integer?
MQTT broker port number.
-
#qos ⇒ 0, ...
QoS (Quality of Service).
-
#retain ⇒ Boolean?
Setting this flag causes the broker to retain (i.e. keep) the message so that applications that subsequently subscribe to the topic can received the last retained message immediately.
-
#server ⇒ String?
MQTT broker address/name.
-
#topic ⇒ String
MQTT topic name.
-
#username ⇒ Object?
Username to authenticate against the broker.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, #initialize, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#client_id ⇒ String?
Returns MQTT client identifier.
24 |
# File 'lib/ansible/ruby/modules/generated/extras/notification/mqtt.rb', line 24 attribute :client_id |
#password ⇒ Object?
Returns Password for C(username) to authenticate against the broker.
21 |
# File 'lib/ansible/ruby/modules/generated/extras/notification/mqtt.rb', line 21 attribute :password |
#payload ⇒ String
Returns Payload. The special string C(“None”) may be used to send a NULL (i.e. empty) payload which is useful to simply notify with the I(topic) or to clear previously retained messages.
32 |
# File 'lib/ansible/ruby/modules/generated/extras/notification/mqtt.rb', line 32 attribute :payload |
#port ⇒ Integer?
Returns MQTT broker port number.
14 |
# File 'lib/ansible/ruby/modules/generated/extras/notification/mqtt.rb', line 14 attribute :port |
#qos ⇒ 0, ...
Returns QoS (Quality of Service).
36 |
# File 'lib/ansible/ruby/modules/generated/extras/notification/mqtt.rb', line 36 attribute :qos |
#retain ⇒ Boolean?
Returns Setting this flag causes the broker to retain (i.e. keep) the message so that applications that subsequently subscribe to the topic can received the last retained message immediately.
40 |
# File 'lib/ansible/ruby/modules/generated/extras/notification/mqtt.rb', line 40 attribute :retain |
#server ⇒ String?
Returns MQTT broker address/name.
10 |
# File 'lib/ansible/ruby/modules/generated/extras/notification/mqtt.rb', line 10 attribute :server |
#topic ⇒ String
Returns MQTT topic name.
28 |
# File 'lib/ansible/ruby/modules/generated/extras/notification/mqtt.rb', line 28 attribute :topic |
#username ⇒ Object?
Returns Username to authenticate against the broker.
18 |
# File 'lib/ansible/ruby/modules/generated/extras/notification/mqtt.rb', line 18 attribute :username |