ApplicationEvent Class

Represents the base for all Application Events.

You probably want to use the sub-classes and not this class directly. Known sub-classes are: ApplicationCreatedEvent, ApplicationDeletedEvent, ApplicationNewHealthReportEvent, ApplicationHealthReportExpiredEvent, ApplicationUpgradeCompletedEvent, ApplicationUpgradeDomainCompletedEvent, ApplicationUpgradeRollbackCompletedEvent, ApplicationUpgradeRollbackStartedEvent, ApplicationUpgradeStartedEvent, DeployedApplicationNewHealthReportEvent, DeployedApplicationHealthReportExpiredEvent, ApplicationProcessExitedEvent, ApplicationContainerInstanceExitedEvent, DeployedServicePackageNewHealthReportEvent, DeployedServicePackageHealthReportExpiredEvent, ChaosCodePackageRestartScheduledEvent

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

Inheritance
azure.servicefabric.models._models_py3.FabricEvent
ApplicationEvent

Constructor

ApplicationEvent(*, event_instance_id: str, time_stamp, application_id: str, 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.

application_id
str
Required

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