ServicePlacementPolicy Class

Describes the policy to be used for placement of a Service Fabric service.

You probably want to use the sub-classes and not this class directly. Known sub-classes are: ServicePlacementInvalidDomainPolicy, ServicePlacementNonPartiallyPlaceServicePolicy, ServicePlacementPreferPrimaryDomainPolicy, ServicePlacementRequiredDomainPolicy, ServicePlacementRequireDomainDistributionPolicy.

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

Inheritance
ServicePlacementPolicy

Constructor

ServicePlacementPolicy(**kwargs)

Parameters

type
str or <xref:service_fabric_managed_clusters_management_client.models.ServicePlacementPolicyType>
Required

Required. The type of placement policy for a service fabric service. Following are the possible values.Constant filled by server. Possible values include: "InvalidDomain", "RequiredDomain", "PreferredPrimaryDomain", "RequiredDomainDistribution", "NonPartiallyPlaceService".