Show / Hide Table of Contents

Class FixedScalingPolicy

Details for a fixed, non-dynamic scaling policy

Inheritance
object
ScalingPolicy
FixedScalingPolicy
Implements
IEquatable<ScalingPolicy>
Inherited Members
ScalingPolicy.Name
ScalingPolicy.EnabledPeriods
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetType()
Namespace: QarnotSDK
Assembly: QarnotSDK.dll
Syntax
public sealed class FixedScalingPolicy : ScalingPolicy, IEquatable<ScalingPolicy>

Constructors

FixedScalingPolicy(string, List<TimePeriodSpecification>, ulong)

Constructor

Declaration
public FixedScalingPolicy(string name, List<TimePeriodSpecification> enabledPeriods, ulong slotsCount)
Parameters
Type Name Description
string name
List<TimePeriodSpecification> enabledPeriods
ulong slotsCount

Properties

SlotsCount

Number of pool slots to provision. There may be multiple slots per machine.

Declaration
public ulong SlotsCount { get; }
Property Value
Type Description
ulong

Type

Type hint for the remote API

Declaration
public override string Type { get; }
Property Value
Type Description
string
Overrides
ScalingPolicy.Type

Methods

Equals(ScalingPolicy)

Equality implementaiton

Declaration
public override bool Equals(ScalingPolicy other)
Parameters
Type Name Description
ScalingPolicy other
Returns
Type Description
bool
Overrides
ScalingPolicy.Equals(ScalingPolicy)

GetHashCode()

Hash code to complement equality

Declaration
public override int GetHashCode()
Returns
Type Description
int
Overrides
object.GetHashCode()

ToString()

ToString

Declaration
public override string ToString()
Returns
Type Description
string
Overrides
object.ToString()

Implements

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