ServiceNewHealthReportEvent Class

Service Health Report Created event.

All required parameters must be populated in order to send to Azure.

Inheritance
azure.servicefabric.models._models_py3.ServiceEvent
ServiceNewHealthReportEvent

Constructor

ServiceNewHealthReportEvent(*, event_instance_id: str, time_stamp, service_id: str, instance_id: int, source_id: str, property: str, health_state: str, time_to_live_ms: int, sequence_number: int, description: str, remove_when_expired: bool, source_utc_timestamp, category: Optional[str] = None, has_correlated_events: Optional[bool] = None, **kwargs)

Parameters

event_instance_id
str
Required

Required. The identifier for the FabricEvent instance.

category
str
Required

The category of event.

time_stamp
datetime
Required

Required. The time event was logged.

has_correlated_events
bool
Required

Shows there is existing related events available.

kind
str
Required

Required. Constant filled by server.

service_id
str
Required

Required. The identity of the service. This ID is an encoded representation of the service name. This is used in the REST APIs to identify the service resource. Starting in version 6.0, hierarchical names are delimited with the "~" character. For example, if the service name is "fabric:/myapp/app1/svc1", the service identity would be "myapp~app1~svc1" in 6.0+ and "myapp/app1/svc1" in previous versions.

instance_id
<xref:long>
Required

Required. Id of Service instance.

source_id
str
Required

Required. Id of report source.

property
str
Required

Required. Describes the property.

health_state
str
Required

Required. Describes the property health state.

time_to_live_ms
<xref:long>
Required

Required. Time to live in milli-seconds.

sequence_number
<xref:long>
Required

Required. Sequence number of report.

description
str
Required

Required. Description of report.

remove_when_expired
bool
Required

Required. Indicates the removal when it expires.

source_utc_timestamp
datetime
Required

Required. Source time.