共用方式為


ServicePlacementRequiredDomainPolicy Class

Definition

Describes the policy to be used for placement of a Service Fabric service where the instances or replicas of that service must be placed in a particular domain.

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

Constructors

ServicePlacementRequiredDomainPolicy()

Initializes a new instance of the ServicePlacementRequiredDomainPolicy class.

ServicePlacementRequiredDomainPolicy(String)

Initializes a new instance of the ServicePlacementRequiredDomainPolicy class.

Properties

DomainName

Gets or sets the name of the domain that should used for placement as per this policy.

Methods

Validate()

Validate the object.

Applies to