otcextensions.sdk.smn.v2.template

The SMN Template Class

The Template class inherits from Resource.

class otcextensions.sdk.smn.v2.template.Template(_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

Unique Request ID

name

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

protocol

Protocol supported by the template.

content

Template content, which currently supports plain text only.

tag_names

Template variable list.

create_time

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

update_time

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

request_id

Request ID, which is unique.