Share via


ServicePlacementRequireDomainDistributionPolicyDescription Class

 

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

Specifies the placement policy which indicates that two replicas from the same partition should never be placed in the same fault or upgrade domain. While this is not common it can expose the service to an increased risk of concurrent failures due to unplanned outages or other cases of subsequent/concurrent failures. As an example, consider a case where replicas are deployed across different data center, with one replica per location. In the event that one of the datacenters goes offline, normally the replica that was placed in that datacenter will be packed into one of the remaining datacenters. If this is not desirable then this policy should be set.

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

Inheritance Hierarchy

System.Object
  System.Fabric.Description.ServicePlacementPolicyDescription
    System.Fabric.Description.ServicePlacementRequireDomainDistributionPolicyDescription

Syntax

public sealed class ServicePlacementRequireDomainDistributionPolicyDescription : ServicePlacementPolicyDescription

Constructors

Name Description
System_CAPS_pubmethod ServicePlacementRequireDomainDistributionPolicyDescription()

Initializes a new instance of the ServicePlacementRequireDomainDistributionPolicyDescription class.

Properties

Name Description
System_CAPS_pubproperty Type

Gets the service placement policy type.(Inherited from ServicePlacementPolicyDescription.)

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

Return a string representation of the RequiredDomainDistribution Service Placement Policy in the form 'RequiredDomainDistribution, DomainName' (Overrides Object.ToString().)

Thread Safety

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

System.Fabric.Description Namespace

Return to top