다음을 통해 공유


ServicePlacementPolicyType Enum

Definition

Indicates the type of the specific ServicePlacementPolicyDescription.

public enum ServicePlacementPolicyType
type ServicePlacementPolicyType = 
Public Enum ServicePlacementPolicyType
Inheritance
ServicePlacementPolicyType

Fields

Name Value Description
Invalid 0

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

InvalidDomain 1

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

RequireDomain 2

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

PreferPrimaryDomain 3

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.

RequireDomainDistribution 4

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.

NonPartiallyPlaceService 5

AllowMultipleStatelessInstancesOnNode 6

Indicates that the ServicePlacementPolicyDescription is a ServicePlacementAllowMultipleStatelessInstancesOnNodePolicyDescription, indicating that the system will allow placement of multiple replicas from the same stateless partition on the same node at any time.

Applies to