ServicePlacementRequireDomainDistributionPolicy 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.
Describes the policy to be used for placement of a Service Fabric service where 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.
public class ServicePlacementRequireDomainDistributionPolicy : Azure.ResourceManager.ServiceFabricManagedClusters.Models.ManagedServicePlacementPolicy, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ServiceFabricManagedClusters.Models.ServicePlacementRequireDomainDistributionPolicy>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ServiceFabricManagedClusters.Models.ServicePlacementRequireDomainDistributionPolicy>
type ServicePlacementRequireDomainDistributionPolicy = class
inherit ManagedServicePlacementPolicy
interface IJsonModel<ServicePlacementRequireDomainDistributionPolicy>
interface IPersistableModel<ServicePlacementRequireDomainDistributionPolicy>
Public Class ServicePlacementRequireDomainDistributionPolicy
Inherits ManagedServicePlacementPolicy
Implements IJsonModel(Of ServicePlacementRequireDomainDistributionPolicy), IPersistableModel(Of ServicePlacementRequireDomainDistributionPolicy)
- Inheritance
- Implements
Constructors
ServicePlacementRequireDomainDistributionPolicy(String) |
Initializes a new instance of ServicePlacementRequireDomainDistributionPolicy. |
Properties
DomainName |
The name of the domain that should used for placement as per this policy. |
Explicit Interface Implementations
Applies to
Azure SDK for .NET