rsd_lib.resources.v2_1.event_service.event_subscription Module¶rsd_lib.resources.v2_1.event_service.event_subscription.EventSubscription(connector, path='', redfish_version=None, reader=None)¶Bases: sushy.resources.base.ResourceBase
context = <sushy.resources.base.Field object>¶A client-supplied string that is stored with the event destination subscription
delete()¶Delete this event subscription
description = <sushy.resources.base.Field object>¶The Event Subscription description
destination = <sushy.resources.base.Field object>¶The URI of the destination Event Service
event_types = <sushy.resources.base.Field object>¶These are the types of Events that can be subscribed to. Available event types: - StatusChange - The status of this resource has changed - ResourceUpdated - The value of this resource has been updated. - ResourceAdded - A resource has been added - ResourceRemoved - A resource has been removed - Alert - A condition exists which requires attention
http_headers = <sushy.resources.base.Field object>¶This property shall contain an object consisting of the names and values of of HTTP header to be included with every event POST to the Event Destination
identity = <sushy.resources.base.Field object>¶The Event Subscription id
message_ids = <sushy.resources.base.Field object>¶A list of MessageIds that the service will send
name = <sushy.resources.base.Field object>¶The Event Subscription name
oem = <rsd_lib.resources.v2_1.event_service.event_subscription.OemField object>¶The Event Subscription oem
origin_resources = <sushy.resources.base.Field object>¶A list of resources for which the service will send events specified in EventTypes array. Empty array or NULL is interpreted as subscription for all resources and assets in subsystem.
protocol = <sushy.resources.base.Field object>¶The protocol type of the event connection. Available protocols: - “Redfish” - event type shall adhere to that defined in the Redfish specification.
rsd_lib.resources.v2_1.event_service.event_subscription.EventSubscriptionCollection(connector, path, redfish_version=None)¶Bases: sushy.resources.base.ResourceCollectionBase
create_event_subscription(event_subscription_req)¶Create a new event subscription
| Parameters: | event_subscription_req – JSON for event subscription |
|---|---|
| Returns: | The uri of the new event subscription |
rsd_lib.resources.v2_1.event_service.event_subscription.OemField(*args, **kwargs)¶Bases: sushy.resources.base.CompositeField
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.