ServicePlacementInvalidDomainPolicyDescription Class
Applies To: Azure, Windows 10, Windows 8, Windows 8.1, Windows Server 2012 R2
Represents a policy which indicates that a particular fault or upgrade domain should not be used for placement of the instances or replicas of the service this policy is applied to.
Namespace: System.Fabric.Description
Assembly: System.Fabric (in System.Fabric.dll)
Inheritance Hierarchy
System.Object
System.Fabric.Description.ServicePlacementPolicyDescription
System.Fabric.Description.ServicePlacementInvalidDomainPolicyDescription
Syntax
public sealed class ServicePlacementInvalidDomainPolicyDescription : ServicePlacementPolicyDescription
Constructors
Name | Description | |
---|---|---|
ServicePlacementInvalidDomainPolicyDescription() | Initializes a new instance of the ServicePlacementInvalidDomainPolicyDescription class. |
Properties
Name | Description | |
---|---|---|
DomainName | Gets or sets the name of the fault domain, as a string, that it is invalid to place this service in. |
|
Type | Gets the service placement policy type.(Inherited from ServicePlacementPolicyDescription.) |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
ToString() | Return a string representation of the InvalidDomain Service Placement Policy in the form 'InvalidDomain, DomainName' (Overrides Object.ToString().) |
Remarks
As an example, in geographically distributed rings there may be a service which must not be run in a particular region due to political or legal requirements. In this case that domain could be defined as invalid with this policy.
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