You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
851 B
43 lines
851 B
type FenceParameterType = |
|
| 'boolean' |
|
| 'integer' |
|
| 'second' |
|
| 'select' |
|
| 'string'; |
|
|
|
type FenceParameters = { |
|
[parameterId: string]: string; |
|
}; |
|
|
|
type APIFenceOverview = { |
|
[fenceUUID: string]: { |
|
fenceAgent: string; |
|
fenceParameters: FenceParameters; |
|
fenceName: string; |
|
fenceUUID: string; |
|
}; |
|
}; |
|
|
|
type APIFenceTemplate = { |
|
[fenceId: string]: { |
|
actions: string[]; |
|
description: string; |
|
parameters: { |
|
[parameterId: string]: { |
|
content_type: FenceParameterType; |
|
default?: string; |
|
deprecated: number; |
|
description: string; |
|
obsoletes: number; |
|
options?: string[]; |
|
replacement: string; |
|
required: '0' | '1'; |
|
switches: string; |
|
unique: '0' | '1'; |
|
}; |
|
}; |
|
switch: { |
|
[switchId: string]: { name: string }; |
|
}; |
|
}; |
|
};
|
|
|