ServiceFromTemplateDescription

Defines description for creating a Service Fabric service from a template defined in the application manifest.

Properties

Name Type Required
ApplicationName string Yes
ServiceName string Yes
ServiceTypeName string Yes
InitializationData array of integer No
ServicePackageActivationMode string (enum) No
ServiceDnsName string No

ApplicationName

Type: string
Required: Yes

The name of the application, including the 'fabric:' URI scheme.


ServiceName

Type: string
Required: Yes

The full name of the service with 'fabric:' URI scheme.


ServiceTypeName

Type: string
Required: Yes

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


InitializationData

Type: array of integer
Required: No

The initialization data for the newly created service instance.


ServicePackageActivationMode

Type: string (enum)
Required: No

The activation mode of service package to be used for a service.

The activation mode of service package to be used for a Service Fabric service. This is specified at the time of creating the Service.

Possible values are:

  • SharedProcess - This is the default activation mode. With this activation mode, replicas or instances from different partition(s) of service, on a given node, will share same activation of service package on a node. The value is zero.
  • ExclusiveProcess - With this activation mode, each replica or instance of service, on a given node, will have its own dedicated activation of service package on a node. The value is 1.

ServiceDnsName

Type: string
Required: No

The DNS name of the service. It requires the DNS system service to be enabled in Service Fabric cluster.