Add processors tab (#23634)

Co-authored-by: Cory Rivera <corivera@microsoft.com>
This commit is contained in:
Barbara Valdez
2023-08-21 10:52:55 -07:00
committed by GitHub
parent fb2f8492d5
commit 60bff01240
5 changed files with 161 additions and 5 deletions

View File

@@ -495,6 +495,22 @@ export interface AzureEditionDetails {
editionOptions: OptionsCollection;
}
export interface ProcessorAffinity {
processorId: string;
affinity: boolean;
ioAffinity: boolean;
}
export interface NumaNode {
numaNodeId: string
processors: ProcessorAffinity[]
}
export enum AffinityType {
ProcessorAffinity = 1,
IOAffinity = 2,
}
export interface Server extends ObjectManagement.SqlObject {
hardwareGeneration: string;
language: string;
@@ -515,6 +531,9 @@ export interface Server extends ObjectManagement.SqlObject {
storageSpaceUsageInMB: number;
minServerMemory: NumericServerProperty;
maxServerMemory: NumericServerProperty;
autoProcessorAffinityMaskForAll: boolean;
autoProcessorAffinityIOMaskForAll: boolean;
numaNodes: NumaNode[];
}
export interface NumericServerProperty {