ServicePlacementPolicyType Enum

Definition

Indicates the type of the specific ServicePlacementPolicyDescription.

public enum ServicePlacementPolicyType
type ServicePlacementPolicyType = 
Public Enum ServicePlacementPolicyType
Inheritance
ServicePlacementPolicyType

Fields

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.

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.

NonPartiallyPlaceService 5

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.

RequireDomain 2

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

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.

Applies to