Udostępnij za pośrednictwem


ServicePlacementInvalidDomainPolicy Class

Definition

Describes the policy to be used for placement of a Service Fabric service where a particular fault or upgrade domain should not be used for placement of the instances or replicas of that service.

[Newtonsoft.Json.JsonObject("InvalidDomain")]
public class ServicePlacementInvalidDomainPolicy : Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.ServicePlacementPolicy
[<Newtonsoft.Json.JsonObject("InvalidDomain")>]
type ServicePlacementInvalidDomainPolicy = class
    inherit ServicePlacementPolicy
Public Class ServicePlacementInvalidDomainPolicy
Inherits ServicePlacementPolicy
Inheritance
ServicePlacementInvalidDomainPolicy
Attributes
Newtonsoft.Json.JsonObjectAttribute

Constructors

ServicePlacementInvalidDomainPolicy()

Initializes a new instance of the ServicePlacementInvalidDomainPolicy class.

ServicePlacementInvalidDomainPolicy(String)

Initializes a new instance of the ServicePlacementInvalidDomainPolicy class.

Properties

DomainName

Gets or sets the name of the domain that should not be used for placement.

Methods

Validate()

Validate the object.

Applies to