The rsd_lib.resources.v2_1.event_service.event_destination Module¶
-
class
rsd_lib.resources.v2_1.event_service.event_destination.EventDestination(connector, path='', redfish_version=None, registries=None, reader=None, json_doc=None, root=None)¶ Bases:
rsd_lib.base.ResourceBaseEventDestination resource class
An Event Destination desribes the target of an event subscription, including the types of events subscribed and context to provide to the target in the Event payload.
-
context= <sushy.resources.base.Field object>¶ A client-supplied string that is stored with the event destination subscription.
-
destination= <sushy.resources.base.Field object>¶ The URI of the destination Event Service.
-
event_types= <sushy.resources.base.Field object>¶ This property shall contain the types of events that shall be sent to the desination.
-
http_headers= <rsd_lib.resources.v2_1.event_service.event_destination.HttpHeaderPropertyCollectionField object>¶ This is for setting HTTP headers, such as authorization information. This object will be null on a GET.
-
message_ids= <sushy.resources.base.Field object>¶ A list of MessageIds that the service will only send.
-
protocol= <sushy.resources.base.Field object>¶ The protocol type of the event connection.
-
-
class
rsd_lib.resources.v2_1.event_service.event_destination.EventDestinationCollection(connector, path, redfish_version=None, registries=None, root=None)¶ Bases:
rsd_lib.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
-
-
class
rsd_lib.resources.v2_1.event_service.event_destination.HttpHeaderPropertyCollectionField(*args, **kwargs)¶ Bases:
sushy.resources.base.ListFieldHttpHeaderProperty field
The value of the HTTP header is the property value. The header name is the property name.
-
pattern= <sushy.resources.base.Field object>¶
-
type= <sushy.resources.base.Field object>¶
-