ServicePlacementPolicyType Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines values for ServicePlacementPolicyType.
public static class ServicePlacementPolicyType
type ServicePlacementPolicyType = class
Public Class ServicePlacementPolicyType
- Inheritance
-
ServicePlacementPolicyType
Fields
Invalid |
Indicates the type of the placement policy is invalid. All Service Fabric enumerations have the invalid type. The value is zero. |
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 1. |
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 5. |
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 3. |
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 2. |
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 4. |
Applies to
Azure SDK for .NET