Condividi tramite


StatelessServiceProperties Class

Definition

The properties of a stateless service resource.

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

Constructors

StatelessServiceProperties()

Initializes a new instance of the StatelessServiceProperties class.

StatelessServiceProperties(String, Partition, Int32, String, IList<ServiceCorrelation>, IList<ServiceLoadMetric>, IList<ServicePlacementPolicy>, String, IList<ScalingPolicy>, String, String, Nullable<Int32>, Nullable<Int32>)

Initializes a new instance of the StatelessServiceProperties class.

Properties

CorrelationScheme (Inherited from ServiceResourcePropertiesBase)
DefaultMoveCost

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

(Inherited from ServiceResourcePropertiesBase)
InstanceCount

Gets or sets the instance count.

MinInstanceCount

Gets or sets minInstanceCount is the minimum number of instances that must be up to meet the EnsureAvailability safety check during operations like upgrade or deactivate node. The actual number that is used is max( MinInstanceCount, ceil( MinInstancePercentage/100.0

  • InstanceCount) ). Note, if InstanceCount is set to -1, during MinInstanceCount computation -1 is first converted into the number of nodes on which the instances are allowed to be placed according to the placement constraints on the service.
MinInstancePercentage

Gets or sets minInstancePercentage is the minimum percentage of InstanceCount that must be up to meet the EnsureAvailability safety check during operations like upgrade or deactivate node. The actual number that is used is max( MinInstanceCount, ceil( MinInstancePercentage/100.0 * InstanceCount) ). Note, if InstanceCount is set to -1, during MinInstancePercentage computation, -1 is first converted into the number of nodes on which the instances are allowed to be placed according to the placement constraints on the service.

PartitionDescription (Inherited from ServiceResourceProperties)
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

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

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

(Inherited from ServiceResourceProperties)
ServicePlacementPolicies (Inherited from ServiceResourcePropertiesBase)
ServiceTypeName

Gets or sets the name of the service type

(Inherited from ServiceResourceProperties)

Methods

Validate()

Validate the object.

Applies to