otcextensions.sdk.smn.v2.topic

The SMN Topic Class

The Topic class inherits from Resource.

class otcextensions.sdk.smn.v2.topic.Topic(_synchronized=False, connection=None, **attrs)

The base resource

Parameters
  • _synchronized (bool) – This is not intended to be used directly. See new() and existing().

  • connection (openstack.connection.Connection) – Reference to the Connection being used. Defaults to None to allow Resource objects to be used without an active Connection, such as in unit tests. Use of self._connection in Resource code should protect itself with a check for None.

id

Resource identifier of a topic, which is unique

create_time

Time when the topic was created The UTC time is in YYYY-MM-DDTHH:MM:SSZ format.

display_name

Topic display name, which is presented as the name of the email sender in email messages Contains only digits, letters, underscores and hyphens

name

Specifies the Topic Name. Contains only digits, letters, underscores and hyphens

push_policy

Message push policy 0: Failed messages will be saved in message queues. 1: Failed messages will be discarded.

request_id

Unique Request ID

update_time

Time when the topic was updated The UTC time is in YYYY-MM-DDTHH:MM:SSZ format.

class otcextensions.sdk.smn.v2.topic.TopicAttribute(_synchronized=False, connection=None, **attrs)

The base resource

Parameters
  • _synchronized (bool) – This is not intended to be used directly. See new() and existing().

  • connection (openstack.connection.Connection) – Reference to the Connection being used. Defaults to None to allow Resource objects to be used without an active Connection, such as in unit tests. Use of self._connection in Resource code should protect itself with a check for None.

topic_urn

Properties Topic URN

request_id

Unique Request ID

attributes

Unique Request ID

value

Values of topic attributes

class otcextensions.sdk.smn.v2.topic.AttributeSpec(_synchronized=False, connection=None, **attrs)

The base resource

Parameters
  • _synchronized (bool) – This is not intended to be used directly. See new() and existing().

  • connection (openstack.connection.Connection) – Reference to the Connection being used. Defaults to None to allow Resource objects to be used without an active Connection, such as in unit tests. Use of self._connection in Resource code should protect itself with a check for None.

access_policy

Properties topic access policy

introduction

Introduction