Show / Hide Table of Contents

Class ScalingPolicy

Abstract base class for scaling policies

Inheritance
object
ScalingPolicy
FixedScalingPolicy
ManagedTasksQueueScalingPolicy
Implements
IEquatable<ScalingPolicy>
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: QarnotSDK
Assembly: QarnotSDK.dll
Syntax
public abstract class ScalingPolicy : IEquatable<ScalingPolicy>

Constructors

ScalingPolicy(string, List<TimePeriodSpecification>)

Base constructor

Declaration
protected ScalingPolicy(string name, List<TimePeriodSpecification> enabledPeriods)
Parameters
Type Name Description
string name
List<TimePeriodSpecification> enabledPeriods

Properties

EnabledPeriods

Periods of time during which the policy is enabled

Declaration
public List<TimePeriodSpecification> EnabledPeriods { get; }
Property Value
Type Description
List<TimePeriodSpecification>

Name

Human friendly name for the policy

Declaration
public string Name { get; }
Property Value
Type Description
string
Remarks

Must be unique in a policies list

Type

Type hint for the remote API

Declaration
public abstract string Type { get; }
Property Value
Type Description
string

Methods

Equals(ScalingPolicy)

Equals

Declaration
public abstract bool Equals(ScalingPolicy other)
Parameters
Type Name Description
ScalingPolicy other
Returns
Type Description
bool

Implements

IEquatable<T>
In this article
Back to top Generated by DocFX