Share via


ServiceResourceProperties Class

Definition

The service resource properties.

public class ServiceResourceProperties : Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.ServiceResourcePropertiesBase
type ServiceResourceProperties = class
    inherit ServiceResourcePropertiesBase
Public Class ServiceResourceProperties
Inherits ServiceResourcePropertiesBase
Inheritance
ServiceResourceProperties
Derived

Constructors

ServiceResourceProperties()

Initializes a new instance of the ServiceResourceProperties class.

ServiceResourceProperties(String, Partition, String, IList<ServiceCorrelation>, IList<ServiceLoadMetric>, IList<ServicePlacementPolicy>, String, IList<ScalingPolicy>, String, String)

Initializes a new instance of the ServiceResourceProperties class.

Properties

CorrelationScheme (Inherited from ServiceResourcePropertiesBase)
DefaultMoveCost

Gets or sets possible values include: 'Zero', 'Low', 'Medium', 'High'

(Inherited from ServiceResourcePropertiesBase)
PartitionDescription
PlacementConstraints

Gets or sets 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)".

(Inherited from ServiceResourcePropertiesBase)
ProvisioningState

Gets the current deployment or provisioning state, which only appears in the response

ScalingPolicies (Inherited from ServiceResourcePropertiesBase)
ServiceLoadMetrics (Inherited from ServiceResourcePropertiesBase)
ServicePackageActivationMode

Gets or sets the activation Mode of the service package. Possible values include: 'SharedProcess', 'ExclusiveProcess'

ServicePlacementPolicies (Inherited from ServiceResourcePropertiesBase)
ServiceTypeName

Gets or sets the name of the service type

Methods

Validate()

Validate the object.

Applies to