JS API Reference

Class: WorkloadDemandDirectorConfig

market/demand/directors/workload-demand-director-config.WorkloadDemandDirectorConfig

Basic config utility class

Helps in building more specific config classes

Hierarchy

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new WorkloadDemandDirectorConfig(options): WorkloadDemandDirectorConfig

Parameters

NameType
optionsPartial<WorkloadDemandDirectorConfigOptions> & RequiredWorkloadDemandConfigOptions

Returns

WorkloadDemandDirectorConfig

Overrides

BaseConfig.constructor

Defined in

src/market/demand/directors/workload-demand-director-config.ts:34

Properties

packageFormat

Readonly packageFormat: string = PackageFormat.GVMKitSquash

Defined in

src/market/demand/directors/workload-demand-director-config.ts:15


engine

Readonly engine: string = "vm"

Defined in

src/market/demand/directors/workload-demand-director-config.ts:16


minMemGib

Readonly minMemGib: number = 0.5

Defined in

src/market/demand/directors/workload-demand-director-config.ts:17


minStorageGib

Readonly minStorageGib: number = 2

Defined in

src/market/demand/directors/workload-demand-director-config.ts:18


minCpuThreads

Readonly minCpuThreads: number = 1

Defined in

src/market/demand/directors/workload-demand-director-config.ts:19


minCpuCores

Readonly minCpuCores: number = 1

Defined in

src/market/demand/directors/workload-demand-director-config.ts:20


capabilities

Readonly capabilities: string[] = []

Defined in

src/market/demand/directors/workload-demand-director-config.ts:21


expirationSec

Readonly expirationSec: number

Defined in

src/market/demand/directors/workload-demand-director-config.ts:23


manifest

Optional Readonly manifest: string

Defined in

src/market/demand/directors/workload-demand-director-config.ts:25


manifestSig

Optional Readonly manifestSig: string

Defined in

src/market/demand/directors/workload-demand-director-config.ts:26


manifestSigAlgorithm

Optional Readonly manifestSigAlgorithm: string

Defined in

src/market/demand/directors/workload-demand-director-config.ts:27


manifestCert

Optional Readonly manifestCert: string

Defined in

src/market/demand/directors/workload-demand-director-config.ts:28


useHttps

Optional Readonly useHttps: boolean = false

Defined in

src/market/demand/directors/workload-demand-director-config.ts:29


imageHash

Optional Readonly imageHash: string

Defined in

src/market/demand/directors/workload-demand-director-config.ts:30


imageTag

Optional Readonly imageTag: string

Defined in

src/market/demand/directors/workload-demand-director-config.ts:31


imageUrl

Optional Readonly imageUrl: string

Defined in

src/market/demand/directors/workload-demand-director-config.ts:32

Methods

isPositiveInt

isPositiveInt(value): boolean

Parameters

NameType
valuenumber

Returns

boolean

Inherited from

BaseConfig.isPositiveInt

Defined in

src/market/demand/directors/base-config.ts:7

Was this helpful?