다음을 통해 공유


ServicePlacementPolicyType Enumeration

 

Applies To: Azure, Windows 10, Windows 8, Windows 8.1, Windows Server 2012 R2

Indicates the type of the specific ServicePlacementPolicyDescription.

Namespace:   System.Fabric.Description
Assembly:  System.Fabric (in System.Fabric.dll)

Syntax

public enum ServicePlacementPolicyType

Members

Member name Description
Invalid

Invalid placement policy type. Indicates that the type of the policy specified was unknown or invalid.

InvalidDomain

Indicates that the ServicePlacementPolicyDescription is a ServicePlacementInvalidDomainPolicyDescription, which indicates that a particular fault or upgrade domain cannot be used for placement of this service.

NonPartiallyPlaceService

PreferPrimaryDomain

Indicates that the ServicePlacementPolicyDescription is a ServicePlacementPreferPrimaryDomainPolicyDescription, which indicates that if possible the Primary replica for the partitions of the service should be located in a particular domain as an optimization.

RequireDomain

Indicates that the ServicePlacementPolicyDescription is a ServicePlacementRequireDomainDistributionPolicyDescription indicating that the replicas of the service must be placed in a specific domain.

RequireDomainDistribution

Indicates that the ServicePlacementPolicyDescription is a ServicePlacementRequireDomainDistributionPolicyDescription, indicating that the system will disallow placement of any two replicas from the same partition in the same domain at any time.

See Also

System.Fabric.Description Namespace

Return to top