ServicePlacementInvalidDomainPolicyDescription 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.
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.
public sealed class ServicePlacementInvalidDomainPolicyDescription : System.Fabric.Description.ServicePlacementPolicyDescription
type ServicePlacementInvalidDomainPolicyDescription = class
inherit ServicePlacementPolicyDescription
Public NotInheritable Class ServicePlacementInvalidDomainPolicyDescription
Inherits ServicePlacementPolicyDescription
- Inheritance
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.
Constructors
ServicePlacementInvalidDomainPolicyDescription() |
Initializes a new instance of the ServicePlacementInvalidDomainPolicyDescription class. |
Properties
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
ToString() |
Return a string representation of the InvalidDomain Service Placement Policy in the form 'InvalidDomain, DomainName' |
Applies to
Azure SDK for .NET