共用方式為


ServicePlacementPolicyType Class

Definition

Defines values for ServicePlacementPolicyType.

public static class ServicePlacementPolicyType
type ServicePlacementPolicyType = class
Public Class ServicePlacementPolicyType
Inheritance
ServicePlacementPolicyType

Fields

InvalidDomain

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

NonPartiallyPlaceService

Indicates that the ServicePlacementPolicyDescription is of type ServicePlacementNonPartiallyPlaceServicePolicyDescription, which indicates that if possible all replicas of a particular partition of the service should be placed atomically. The value is 4.

PreferredPrimaryDomain

Indicates that the ServicePlacementPolicyDescription is of type 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. The value is 2.

RequiredDomain

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

RequiredDomainDistribution

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

Applies to