Megosztás a következőn keresztül:


ServiceResourcePropertiesBase Constructors

Definition

Overloads

ServiceResourcePropertiesBase()

Initializes a new instance of the ServiceResourcePropertiesBase class.

ServiceResourcePropertiesBase(String, IList<ServiceCorrelation>, IList<ServiceLoadMetric>, IList<ServicePlacementPolicy>, String, IList<ScalingPolicy>)

Initializes a new instance of the ServiceResourcePropertiesBase class.

ServiceResourcePropertiesBase()

Initializes a new instance of the ServiceResourcePropertiesBase class.

public ServiceResourcePropertiesBase ();
Public Sub New ()

Applies to

ServiceResourcePropertiesBase(String, IList<ServiceCorrelation>, IList<ServiceLoadMetric>, IList<ServicePlacementPolicy>, String, IList<ScalingPolicy>)

Initializes a new instance of the ServiceResourcePropertiesBase class.

public ServiceResourcePropertiesBase (string placementConstraints = default, System.Collections.Generic.IList<Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.ServiceCorrelation> correlationScheme = default, System.Collections.Generic.IList<Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.ServiceLoadMetric> serviceLoadMetrics = default, System.Collections.Generic.IList<Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.ServicePlacementPolicy> servicePlacementPolicies = default, string defaultMoveCost = default, System.Collections.Generic.IList<Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.ScalingPolicy> scalingPolicies = default);
new Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.ServiceResourcePropertiesBase : string * System.Collections.Generic.IList<Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.ServiceCorrelation> * System.Collections.Generic.IList<Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.ServiceLoadMetric> * System.Collections.Generic.IList<Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.ServicePlacementPolicy> * string * System.Collections.Generic.IList<Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.ScalingPolicy> -> Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.ServiceResourcePropertiesBase
Public Sub New (Optional placementConstraints As String = Nothing, Optional correlationScheme As IList(Of ServiceCorrelation) = Nothing, Optional serviceLoadMetrics As IList(Of ServiceLoadMetric) = Nothing, Optional servicePlacementPolicies As IList(Of ServicePlacementPolicy) = Nothing, Optional defaultMoveCost As String = Nothing, Optional scalingPolicies As IList(Of ScalingPolicy) = Nothing)

Parameters

placementConstraints
String

The placement constraints as a string. Placement constraints are boolean expressions on node properties and allow for restricting a service to particular nodes based on the service requirements. For example, to place a service on nodes where NodeType is blue specify the following: "NodeColor == blue)".

correlationScheme
IList<ServiceCorrelation>
serviceLoadMetrics
IList<ServiceLoadMetric>
servicePlacementPolicies
IList<ServicePlacementPolicy>
defaultMoveCost
String

Possible values include: 'Zero', 'Low', 'Medium', 'High'

scalingPolicies
IList<ScalingPolicy>

Applies to