StatelessServiceTypeDescription Class

Describes a stateless service type defined in the service manifest of a provisioned application type.

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

Inheritance
azure.servicefabric.models._models_py3.ServiceTypeDescription
StatelessServiceTypeDescription

Constructor

StatelessServiceTypeDescription(*, is_stateful: Optional[bool] = None, service_type_name: Optional[str] = None, placement_constraints: Optional[str] = None, load_metrics=None, service_placement_policies=None, extensions=None, use_implicit_host: Optional[bool] = None, **kwargs)

Parameters

is_stateful
bool
Required

Indicates whether the service type is a stateful service type or a stateless service type. This property is true if the service type is a stateful service type, false otherwise.

service_type_name
str
Required

Name of the service type as specified in the service manifest.

placement_constraints
str
Required

The placement constraint to be used when instantiating this service in a Service Fabric cluster.

load_metrics
list[ServiceLoadMetricDescription]
Required

The service load metrics is given as an array of ServiceLoadMetricDescription objects.

service_placement_policies
list[ServicePlacementPolicyDescription]
Required

List of service placement policy descriptions.

extensions
list[ServiceTypeExtensionDescription]
Required

List of service type extensions.

kind
str
Required

Required. Constant filled by server.

use_implicit_host
bool
Required

A flag indicating if this type is not implemented and hosted by a user service process, but is implicitly hosted by a system created process. This value is true for services using the guest executable services, false otherwise.