ps/Modules/Alkami.PowerShell.ServiceFabric/ServiceFabricConfigTemplates/ApplicationManifest.xml

38 lines
1.9 KiB
XML
Raw Normal View History

2023-05-30 22:51:22 -07:00
<?xml version='1.0' encoding='utf-8'?>
<ApplicationManifest ApplicationTypeName='REPLACEME - ServiceName'
ApplicationTypeVersion='REPLACEME - Version'
xmlns='http://schemas.microsoft.com/2011/01/fabric'
xmlns:xsd='http://www.w3.org/2001/XMLSchema'
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
<Parameters>
<Parameter Name='InstanceCount' DefaultValue='REPLACEME - InstanceCount' />
</Parameters>
<!-- Import the ServiceManifest from the ServicePackage. The ServiceManifestName and ServiceManifestVersion
should match the Name and Version attributes of the ServiceManifest element defined in the
ServiceManifest.xml file. -->
<ServiceManifestImport>
<ServiceManifestRef ServiceManifestName='REPLACEME - ServiceName' ServiceManifestVersion='REPLACEME - Version' />
<ConfigOverrides />
<Policies>
<RunAsPolicy CodePackageRef='Code' UserRef='DomaingMSA'/>
</Policies>
</ServiceManifestImport>
<DefaultServices>
<!-- The section below creates instances of service types, when an instance of this
application type is created. You can also create one or more instances of service type using the
ServiceFabric PowerShell module.
The attribute ServiceTypeName below must match the name defined in the imported ServiceManifest.xml file. -->
<Service Name='REPLACEME - ServiceName' ServicePackageActivationMode='ExclusiveProcess'>
<StatelessService ServiceTypeName='REPLACEME - ServiceName' InstanceCount='[InstanceCount]'>
<SingletonPartition />
<PlacementConstraints></PlacementConstraints>
</StatelessService>
</Service>
</DefaultServices>
<Principals>
<Users>
<User Name='DomaingMSA' AccountType='ManagedServiceAccount' AccountName='REPLACEME - fh\account.name$'/>
</Users>
</Principals>
</ApplicationManifest>