openstack.container_infrastructure_management.v1.service

The Service Class

The Service class inherits from Resource.

class openstack.container_infrastructure_management.v1.service.Service(_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.

resources_key = 'mservices'

Plural form of key for resource.

base_path = '/mservices'

The base part of the URI for this resource.

allow_list = True

Allow list operation for this resource.

binary

The name of the binary form of the Magnum service.

created_at

The date and time when the resource was created.

disabled_reason

The disable reason of the service, null if the service is enabled or disabled without reason provided.

host

The host for the service.

report_count

The total number of report.

state

The current state of Magnum services.

updated_at

The date and time when the resource was updated.