openstack.compute.v2.server_external_event

The ServerExternalEvent Class

The ServerExternalEvent class inherits from Resource.

class openstack.compute.v2.server_external_event.ServerExternalEvent(_synchronized=False, connection=None, **attrs)

The base resource

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

  • 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.

resource_key = 'event'

Singular form of key for resource.

resources_key = 'events'

Plural form of key for resource.

base_path = '/os-server-external-events'

The base part of the URI for this resource.

requires_id = False

Do calls for this resource require an ID.

create_requires_id = False

DEPRECATED: Use create_opts.requires_id instead. Whether create requires an ID (determined from method if None).

allow_create = True

Allow create operation for this resource.

allow_fetch = False

Allow get operation for this resource.

allow_delete = False

Allow delete operation for this resource.

allow_list = False

Allow list operation for this resource.

allow_commit = False

Allow update operation for this resource.

name

The name of this event

code

The result code (set in the response)