ServiceCreatedEvent Class

Service Created event.

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

Inheritance
azure.servicefabric.models._models_py3.ServiceEvent
ServiceCreatedEvent

Constructor

ServiceCreatedEvent(*, event_instance_id: str, time_stamp, service_id: str, service_type_name: str, application_name: str, application_type_name: str, service_instance: int, is_stateful: bool, partition_count: int, target_replica_set_size: int, min_replica_set_size: int, service_package_version: str, partition_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.

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.

service_type_name
str
Required

Required. Service type name.

application_name
str
Required

Required. Application name.

application_type_name
str
Required

Required. Application type name.

service_instance
<xref:long>
Required

Required. Id of Service instance.

is_stateful
bool
Required

Required. Indicates if Service is stateful.

partition_count
int
Required

Required. Number of partitions.

target_replica_set_size
int
Required

Required. Size of target replicas set.

min_replica_set_size
int
Required

Required. Minimum size of replicas set.

service_package_version
str
Required

Required. Version of Service package.

partition_id
str
Required

Required. An internal ID used by Service Fabric to uniquely identify a partition. This is a randomly generated GUID when the service was created. The partition ID is unique and does not change for the lifetime of the service. If the same service was deleted and recreated the IDs of its partitions would be different.