sandbox0 0.7.6 → 0.7.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +47 -0
- package/dist/apispec/src/apis/ObservabilityApi.d.ts +27 -16
- package/dist/apispec/src/apis/ObservabilityApi.d.ts.map +1 -1
- package/dist/apispec/src/apis/ObservabilityApi.js +54 -25
- package/dist/apispec/src/apis/SandboxRootfsApi.d.ts +6 -2
- package/dist/apispec/src/apis/SandboxRootfsApi.d.ts.map +1 -1
- package/dist/apispec/src/apis/SandboxRootfsApi.js +6 -2
- package/dist/apispec/src/apis/index.d.ts +0 -1
- package/dist/apispec/src/apis/index.d.ts.map +1 -1
- package/dist/apispec/src/apis/index.js +0 -1
- package/dist/apispec/src/models/CreateSandboxRootFSSnapshotRequest.d.ts +2 -0
- package/dist/apispec/src/models/CreateSandboxRootFSSnapshotRequest.d.ts.map +1 -1
- package/dist/apispec/src/models/CreateSandboxVolumeS3Config.d.ts +6 -6
- package/dist/apispec/src/models/CreateSandboxVolumeS3Config.d.ts.map +1 -1
- package/dist/apispec/src/models/CreateSandboxVolumeS3Config.js +6 -2
- package/dist/apispec/src/models/ForkSandboxRequest.d.ts +2 -0
- package/dist/apispec/src/models/ForkSandboxRequest.d.ts.map +1 -1
- package/dist/apispec/src/models/SandboxObservabilityWatchLine.d.ts +0 -1
- package/dist/apispec/src/models/SandboxObservabilityWatchLine.d.ts.map +1 -1
- package/dist/apispec/src/models/SandboxObservabilityWatchLine.js +0 -1
- package/dist/apispec/src/models/SandboxObservabilityWatchLineData.d.ts +1 -2
- package/dist/apispec/src/models/SandboxObservabilityWatchLineData.d.ts.map +1 -1
- package/dist/apispec/src/models/SandboxObservabilityWatchLineData.js +0 -7
- package/dist/apispec/src/models/SandboxRuntimeMetricDescriptor.d.ts +60 -0
- package/dist/apispec/src/models/SandboxRuntimeMetricDescriptor.d.ts.map +1 -0
- package/dist/apispec/src/models/SandboxRuntimeMetricDescriptor.js +62 -0
- package/dist/apispec/src/models/SandboxRuntimeMetricFreshness.d.ts +46 -0
- package/dist/apispec/src/models/SandboxRuntimeMetricFreshness.d.ts.map +1 -0
- package/dist/apispec/src/models/SandboxRuntimeMetricFreshness.js +48 -0
- package/dist/apispec/src/models/SandboxRuntimeMetricFreshnessStatus.d.ts +27 -0
- package/dist/apispec/src/models/SandboxRuntimeMetricFreshnessStatus.d.ts.map +1 -0
- package/dist/apispec/src/models/SandboxRuntimeMetricFreshnessStatus.js +44 -0
- package/dist/apispec/src/models/SandboxRuntimeMetricGap.d.ts +61 -0
- package/dist/apispec/src/models/SandboxRuntimeMetricGap.d.ts.map +1 -0
- package/dist/apispec/src/models/SandboxRuntimeMetricGap.js +59 -0
- package/dist/apispec/src/models/SandboxRuntimeMetricGapReason.d.ts +29 -0
- package/dist/apispec/src/models/SandboxRuntimeMetricGapReason.d.ts.map +1 -0
- package/dist/apispec/src/models/SandboxRuntimeMetricGapReason.js +46 -0
- package/dist/apispec/src/models/SandboxRuntimeMetricKind.d.ts +26 -0
- package/dist/apispec/src/models/SandboxRuntimeMetricKind.d.ts.map +1 -0
- package/dist/apispec/src/models/SandboxRuntimeMetricKind.js +43 -0
- package/dist/apispec/src/models/SandboxRuntimeMetricName.d.ts +38 -0
- package/dist/apispec/src/models/SandboxRuntimeMetricName.d.ts.map +1 -0
- package/dist/apispec/src/models/SandboxRuntimeMetricName.js +55 -0
- package/dist/apispec/src/models/SandboxRuntimeMetricPoint.d.ts +39 -0
- package/dist/apispec/src/models/SandboxRuntimeMetricPoint.d.ts.map +1 -0
- package/dist/apispec/src/models/SandboxRuntimeMetricPoint.js +47 -0
- package/dist/apispec/src/models/SandboxRuntimeMetricSegment.d.ts +34 -0
- package/dist/apispec/src/models/SandboxRuntimeMetricSegment.d.ts.map +1 -0
- package/dist/apispec/src/models/SandboxRuntimeMetricSegment.js +44 -0
- package/dist/apispec/src/models/SandboxRuntimeMetricSeries.d.ts +70 -0
- package/dist/apispec/src/models/SandboxRuntimeMetricSeries.d.ts.map +1 -0
- package/dist/apispec/src/models/SandboxRuntimeMetricSeries.js +66 -0
- package/dist/apispec/src/models/SandboxRuntimeMetricStatistic.d.ts +30 -0
- package/dist/apispec/src/models/SandboxRuntimeMetricStatistic.d.ts.map +1 -0
- package/dist/apispec/src/models/SandboxRuntimeMetricStatistic.js +47 -0
- package/dist/apispec/src/models/SandboxRuntimeMetricUnit.d.ts +31 -0
- package/dist/apispec/src/models/SandboxRuntimeMetricUnit.d.ts.map +1 -0
- package/dist/apispec/src/models/SandboxRuntimeMetricUnit.js +48 -0
- package/dist/apispec/src/models/SandboxRuntimeMetricsCatalogResponse.d.ts +34 -0
- package/dist/apispec/src/models/SandboxRuntimeMetricsCatalogResponse.d.ts.map +1 -0
- package/dist/apispec/src/models/SandboxRuntimeMetricsCatalogResponse.js +44 -0
- package/dist/apispec/src/models/SandboxRuntimeMetricsResponse.d.ts +72 -0
- package/dist/apispec/src/models/SandboxRuntimeMetricsResponse.d.ts.map +1 -0
- package/dist/apispec/src/models/SandboxRuntimeMetricsResponse.js +70 -0
- package/dist/apispec/src/models/SuccessSandboxRuntimeMetricsCatalogResponse.d.ts +40 -0
- package/dist/apispec/src/models/SuccessSandboxRuntimeMetricsCatalogResponse.d.ts.map +1 -0
- package/dist/apispec/src/models/SuccessSandboxRuntimeMetricsCatalogResponse.js +46 -0
- package/dist/apispec/src/models/SuccessSandboxRuntimeMetricsResponse.d.ts +40 -0
- package/dist/apispec/src/models/SuccessSandboxRuntimeMetricsResponse.d.ts.map +1 -0
- package/dist/apispec/src/models/SuccessSandboxRuntimeMetricsResponse.js +46 -0
- package/dist/apispec/src/models/index.d.ts +16 -3
- package/dist/apispec/src/models/index.d.ts.map +1 -1
- package/dist/apispec/src/models/index.js +16 -3
- package/dist/client.d.ts +3 -6
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +10 -26
- package/dist/errors.d.ts +15 -0
- package/dist/errors.d.ts.map +1 -1
- package/dist/errors.js +34 -0
- package/dist/index.d.ts +25 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -1
- package/dist/models.d.ts +25 -11
- package/dist/models.d.ts.map +1 -1
- package/dist/resources/sandboxes.d.ts +13 -1
- package/dist/resources/sandboxes.d.ts.map +1 -1
- package/dist/resources/sandboxes.js +106 -2
- package/dist/sandbox_observability.d.ts +3 -5
- package/dist/sandbox_observability.d.ts.map +1 -1
- package/dist/sandbox_observability.js +4 -10
- package/package.json +1 -1
- package/dist/apispec/src/apis/AuditApi.d.ts +0 -40
- package/dist/apispec/src/apis/AuditApi.d.ts.map +0 -1
- package/dist/apispec/src/apis/AuditApi.js +0 -79
- package/dist/apispec/src/models/ContextStatsResponse.d.ts +0 -64
- package/dist/apispec/src/models/ContextStatsResponse.d.ts.map +0 -1
- package/dist/apispec/src/models/ContextStatsResponse.js +0 -52
- package/dist/apispec/src/models/LifecyclePolicy.d.ts +0 -52
- package/dist/apispec/src/models/LifecyclePolicy.d.ts.map +0 -1
- package/dist/apispec/src/models/LifecyclePolicy.js +0 -48
- package/dist/apispec/src/models/PreStopHook.d.ts +0 -39
- package/dist/apispec/src/models/PreStopHook.d.ts.map +0 -1
- package/dist/apispec/src/models/PreStopHook.js +0 -43
- package/dist/apispec/src/models/PutTeamQuotaRequest.d.ts +0 -33
- package/dist/apispec/src/models/PutTeamQuotaRequest.d.ts.map +0 -1
- package/dist/apispec/src/models/PutTeamQuotaRequest.js +0 -43
- package/dist/apispec/src/models/SandboxObservabilityMetricSample.d.ts +0 -101
- package/dist/apispec/src/models/SandboxObservabilityMetricSample.d.ts.map +0 -1
- package/dist/apispec/src/models/SandboxObservabilityMetricSample.js +0 -81
- package/dist/apispec/src/models/SandboxObservabilityMetricsResponse.d.ts +0 -46
- package/dist/apispec/src/models/SandboxObservabilityMetricsResponse.d.ts.map +0 -1
- package/dist/apispec/src/models/SandboxObservabilityMetricsResponse.js +0 -48
- package/dist/apispec/src/models/SandboxProbeSet.d.ts +0 -46
- package/dist/apispec/src/models/SandboxProbeSet.d.ts.map +0 -1
- package/dist/apispec/src/models/SandboxProbeSet.js +0 -46
- package/dist/apispec/src/models/SandboxProbeSpec.d.ts +0 -66
- package/dist/apispec/src/models/SandboxProbeSpec.d.ts.map +0 -1
- package/dist/apispec/src/models/SandboxProbeSpec.js +0 -54
- package/dist/apispec/src/models/SuccessContextStatsResponse.d.ts +0 -40
- package/dist/apispec/src/models/SuccessContextStatsResponse.d.ts.map +0 -1
- package/dist/apispec/src/models/SuccessContextStatsResponse.js +0 -46
- package/dist/apispec/src/models/SuccessSandboxObservabilityMetricsResponse.d.ts +0 -40
- package/dist/apispec/src/models/SuccessSandboxObservabilityMetricsResponse.d.ts.map +0 -1
- package/dist/apispec/src/models/SuccessSandboxObservabilityMetricsResponse.js +0 -46
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Sandbox0 API
|
|
3
|
+
* Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { SandboxRuntimeMetricName } from './SandboxRuntimeMetricName.js';
|
|
13
|
+
import type { SandboxRuntimeMetricUnit } from './SandboxRuntimeMetricUnit.js';
|
|
14
|
+
import type { SandboxRuntimeMetricKind } from './SandboxRuntimeMetricKind.js';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface SandboxRuntimeMetricDescriptor
|
|
19
|
+
*/
|
|
20
|
+
export interface SandboxRuntimeMetricDescriptor {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {SandboxRuntimeMetricName}
|
|
24
|
+
* @memberof SandboxRuntimeMetricDescriptor
|
|
25
|
+
*/
|
|
26
|
+
name: SandboxRuntimeMetricName;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {SandboxRuntimeMetricKind}
|
|
30
|
+
* @memberof SandboxRuntimeMetricDescriptor
|
|
31
|
+
*/
|
|
32
|
+
kind: SandboxRuntimeMetricKind;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {SandboxRuntimeMetricUnit}
|
|
36
|
+
* @memberof SandboxRuntimeMetricDescriptor
|
|
37
|
+
*/
|
|
38
|
+
unit: SandboxRuntimeMetricUnit;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @type {Array<string>}
|
|
42
|
+
* @memberof SandboxRuntimeMetricDescriptor
|
|
43
|
+
*/
|
|
44
|
+
dimensions: Array<string>;
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @type {string}
|
|
48
|
+
* @memberof SandboxRuntimeMetricDescriptor
|
|
49
|
+
*/
|
|
50
|
+
description: string;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Check if a given object implements the SandboxRuntimeMetricDescriptor interface.
|
|
54
|
+
*/
|
|
55
|
+
export declare function instanceOfSandboxRuntimeMetricDescriptor(value: object): value is SandboxRuntimeMetricDescriptor;
|
|
56
|
+
export declare function SandboxRuntimeMetricDescriptorFromJSON(json: any): SandboxRuntimeMetricDescriptor;
|
|
57
|
+
export declare function SandboxRuntimeMetricDescriptorFromJSONTyped(json: any, ignoreDiscriminator: boolean): SandboxRuntimeMetricDescriptor;
|
|
58
|
+
export declare function SandboxRuntimeMetricDescriptorToJSON(json: any): SandboxRuntimeMetricDescriptor;
|
|
59
|
+
export declare function SandboxRuntimeMetricDescriptorToJSONTyped(value?: SandboxRuntimeMetricDescriptor | null, ignoreDiscriminator?: boolean): any;
|
|
60
|
+
//# sourceMappingURL=SandboxRuntimeMetricDescriptor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SandboxRuntimeMetricDescriptor.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxRuntimeMetricDescriptor.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAO3E,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAO3E,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAQ3E;;;;GAIG;AACH,MAAM,WAAW,8BAA8B;IAC3C;;;;OAIG;IACH,IAAI,EAAE,wBAAwB,CAAC;IAC/B;;;;OAIG;IACH,IAAI,EAAE,wBAAwB,CAAC;IAC/B;;;;OAIG;IACH,IAAI,EAAE,wBAAwB,CAAC;IAC/B;;;;OAIG;IACH,UAAU,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC1B;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;CACvB;AAID;;GAEG;AACH,wBAAgB,wCAAwC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,8BAA8B,CAO/G;AAED,wBAAgB,sCAAsC,CAAC,IAAI,EAAE,GAAG,GAAG,8BAA8B,CAEhG;AAED,wBAAgB,2CAA2C,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,8BAA8B,CAYnI;AAED,wBAAgB,oCAAoC,CAAC,IAAI,EAAE,GAAG,GAAG,8BAA8B,CAE9F;AAED,wBAAgB,yCAAyC,CAAC,KAAK,CAAC,EAAE,8BAA8B,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAalJ"}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Sandbox0 API
|
|
5
|
+
* Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { SandboxRuntimeMetricNameFromJSON, SandboxRuntimeMetricNameToJSON, } from './SandboxRuntimeMetricName.js';
|
|
15
|
+
import { SandboxRuntimeMetricUnitFromJSON, SandboxRuntimeMetricUnitToJSON, } from './SandboxRuntimeMetricUnit.js';
|
|
16
|
+
import { SandboxRuntimeMetricKindFromJSON, SandboxRuntimeMetricKindToJSON, } from './SandboxRuntimeMetricKind.js';
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the SandboxRuntimeMetricDescriptor interface.
|
|
19
|
+
*/
|
|
20
|
+
export function instanceOfSandboxRuntimeMetricDescriptor(value) {
|
|
21
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('kind' in value) || value['kind'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
if (!('unit' in value) || value['unit'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('dimensions' in value) || value['dimensions'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('description' in value) || value['description'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
export function SandboxRuntimeMetricDescriptorFromJSON(json) {
|
|
34
|
+
return SandboxRuntimeMetricDescriptorFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function SandboxRuntimeMetricDescriptorFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'name': SandboxRuntimeMetricNameFromJSON(json['name']),
|
|
42
|
+
'kind': SandboxRuntimeMetricKindFromJSON(json['kind']),
|
|
43
|
+
'unit': SandboxRuntimeMetricUnitFromJSON(json['unit']),
|
|
44
|
+
'dimensions': json['dimensions'],
|
|
45
|
+
'description': json['description'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
export function SandboxRuntimeMetricDescriptorToJSON(json) {
|
|
49
|
+
return SandboxRuntimeMetricDescriptorToJSONTyped(json, false);
|
|
50
|
+
}
|
|
51
|
+
export function SandboxRuntimeMetricDescriptorToJSONTyped(value, ignoreDiscriminator = false) {
|
|
52
|
+
if (value == null) {
|
|
53
|
+
return value;
|
|
54
|
+
}
|
|
55
|
+
return {
|
|
56
|
+
'name': SandboxRuntimeMetricNameToJSON(value['name']),
|
|
57
|
+
'kind': SandboxRuntimeMetricKindToJSON(value['kind']),
|
|
58
|
+
'unit': SandboxRuntimeMetricUnitToJSON(value['unit']),
|
|
59
|
+
'dimensions': value['dimensions'],
|
|
60
|
+
'description': value['description'],
|
|
61
|
+
};
|
|
62
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Sandbox0 API
|
|
3
|
+
* Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { SandboxRuntimeMetricFreshnessStatus } from './SandboxRuntimeMetricFreshnessStatus.js';
|
|
13
|
+
/**
|
|
14
|
+
* Freshness is measured relative to the requested end_time, including for historical queries.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SandboxRuntimeMetricFreshness
|
|
17
|
+
*/
|
|
18
|
+
export interface SandboxRuntimeMetricFreshness {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Date}
|
|
22
|
+
* @memberof SandboxRuntimeMetricFreshness
|
|
23
|
+
*/
|
|
24
|
+
newestObservedAt?: Date;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof SandboxRuntimeMetricFreshness
|
|
29
|
+
*/
|
|
30
|
+
ageSeconds?: number;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {SandboxRuntimeMetricFreshnessStatus}
|
|
34
|
+
* @memberof SandboxRuntimeMetricFreshness
|
|
35
|
+
*/
|
|
36
|
+
status: SandboxRuntimeMetricFreshnessStatus;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the SandboxRuntimeMetricFreshness interface.
|
|
40
|
+
*/
|
|
41
|
+
export declare function instanceOfSandboxRuntimeMetricFreshness(value: object): value is SandboxRuntimeMetricFreshness;
|
|
42
|
+
export declare function SandboxRuntimeMetricFreshnessFromJSON(json: any): SandboxRuntimeMetricFreshness;
|
|
43
|
+
export declare function SandboxRuntimeMetricFreshnessFromJSONTyped(json: any, ignoreDiscriminator: boolean): SandboxRuntimeMetricFreshness;
|
|
44
|
+
export declare function SandboxRuntimeMetricFreshnessToJSON(json: any): SandboxRuntimeMetricFreshness;
|
|
45
|
+
export declare function SandboxRuntimeMetricFreshnessToJSONTyped(value?: SandboxRuntimeMetricFreshness | null, ignoreDiscriminator?: boolean): any;
|
|
46
|
+
//# sourceMappingURL=SandboxRuntimeMetricFreshness.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SandboxRuntimeMetricFreshness.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxRuntimeMetricFreshness.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,mCAAmC,EAAE,MAAM,uCAAuC,CAAC;AAQjG;;;;GAIG;AACH,MAAM,WAAW,6BAA6B;IAC1C;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,IAAI,CAAC;IACxB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,MAAM,EAAE,mCAAmC,CAAC;CAC/C;AAID;;GAEG;AACH,wBAAgB,uCAAuC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,6BAA6B,CAG7G;AAED,wBAAgB,qCAAqC,CAAC,IAAI,EAAE,GAAG,GAAG,6BAA6B,CAE9F;AAED,wBAAgB,0CAA0C,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,6BAA6B,CAUjI;AAED,wBAAgB,mCAAmC,CAAC,IAAI,EAAE,GAAG,GAAG,6BAA6B,CAE5F;AAED,wBAAgB,wCAAwC,CAAC,KAAK,CAAC,EAAE,6BAA6B,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAWhJ"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Sandbox0 API
|
|
5
|
+
* Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { SandboxRuntimeMetricFreshnessStatusFromJSON, SandboxRuntimeMetricFreshnessStatusToJSON, } from './SandboxRuntimeMetricFreshnessStatus.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the SandboxRuntimeMetricFreshness interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfSandboxRuntimeMetricFreshness(value) {
|
|
19
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
return true;
|
|
22
|
+
}
|
|
23
|
+
export function SandboxRuntimeMetricFreshnessFromJSON(json) {
|
|
24
|
+
return SandboxRuntimeMetricFreshnessFromJSONTyped(json, false);
|
|
25
|
+
}
|
|
26
|
+
export function SandboxRuntimeMetricFreshnessFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
if (json == null) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'newestObservedAt': json['newest_observed_at'] == null ? undefined : (new Date(json['newest_observed_at'])),
|
|
32
|
+
'ageSeconds': json['age_seconds'] == null ? undefined : json['age_seconds'],
|
|
33
|
+
'status': SandboxRuntimeMetricFreshnessStatusFromJSON(json['status']),
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
export function SandboxRuntimeMetricFreshnessToJSON(json) {
|
|
37
|
+
return SandboxRuntimeMetricFreshnessToJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
export function SandboxRuntimeMetricFreshnessToJSONTyped(value, ignoreDiscriminator = false) {
|
|
40
|
+
if (value == null) {
|
|
41
|
+
return value;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'newest_observed_at': value['newestObservedAt'] == null ? value['newestObservedAt'] : value['newestObservedAt'].toISOString(),
|
|
45
|
+
'age_seconds': value['ageSeconds'],
|
|
46
|
+
'status': SandboxRuntimeMetricFreshnessStatusToJSON(value['status']),
|
|
47
|
+
};
|
|
48
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Sandbox0 API
|
|
3
|
+
* Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
*/
|
|
16
|
+
export declare const SandboxRuntimeMetricFreshnessStatus: {
|
|
17
|
+
readonly Fresh: "fresh";
|
|
18
|
+
readonly Stale: "stale";
|
|
19
|
+
readonly Missing: "missing";
|
|
20
|
+
};
|
|
21
|
+
export type SandboxRuntimeMetricFreshnessStatus = typeof SandboxRuntimeMetricFreshnessStatus[keyof typeof SandboxRuntimeMetricFreshnessStatus];
|
|
22
|
+
export declare function instanceOfSandboxRuntimeMetricFreshnessStatus(value: any): boolean;
|
|
23
|
+
export declare function SandboxRuntimeMetricFreshnessStatusFromJSON(json: any): SandboxRuntimeMetricFreshnessStatus;
|
|
24
|
+
export declare function SandboxRuntimeMetricFreshnessStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): SandboxRuntimeMetricFreshnessStatus;
|
|
25
|
+
export declare function SandboxRuntimeMetricFreshnessStatusToJSON(value?: SandboxRuntimeMetricFreshnessStatus | null): any;
|
|
26
|
+
export declare function SandboxRuntimeMetricFreshnessStatusToJSONTyped(value: any, ignoreDiscriminator: boolean): SandboxRuntimeMetricFreshnessStatus;
|
|
27
|
+
//# sourceMappingURL=SandboxRuntimeMetricFreshnessStatus.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SandboxRuntimeMetricFreshnessStatus.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxRuntimeMetricFreshnessStatus.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;GAGG;AACH,eAAO,MAAM,mCAAmC;;;;CAItC,CAAC;AACX,MAAM,MAAM,mCAAmC,GAAG,OAAO,mCAAmC,CAAC,MAAM,OAAO,mCAAmC,CAAC,CAAC;AAG/I,wBAAgB,6CAA6C,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO,CASjF;AAED,wBAAgB,2CAA2C,CAAC,IAAI,EAAE,GAAG,GAAG,mCAAmC,CAE1G;AAED,wBAAgB,gDAAgD,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,mCAAmC,CAE7I;AAED,wBAAgB,yCAAyC,CAAC,KAAK,CAAC,EAAE,mCAAmC,GAAG,IAAI,GAAG,GAAG,CAEjH;AAED,wBAAgB,8CAA8C,CAAC,KAAK,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,mCAAmC,CAE5I"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Sandbox0 API
|
|
5
|
+
* Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
export const SandboxRuntimeMetricFreshnessStatus = {
|
|
19
|
+
Fresh: 'fresh',
|
|
20
|
+
Stale: 'stale',
|
|
21
|
+
Missing: 'missing'
|
|
22
|
+
};
|
|
23
|
+
export function instanceOfSandboxRuntimeMetricFreshnessStatus(value) {
|
|
24
|
+
for (const key in SandboxRuntimeMetricFreshnessStatus) {
|
|
25
|
+
if (Object.prototype.hasOwnProperty.call(SandboxRuntimeMetricFreshnessStatus, key)) {
|
|
26
|
+
if (SandboxRuntimeMetricFreshnessStatus[key] === value) {
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
return false;
|
|
32
|
+
}
|
|
33
|
+
export function SandboxRuntimeMetricFreshnessStatusFromJSON(json) {
|
|
34
|
+
return SandboxRuntimeMetricFreshnessStatusFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function SandboxRuntimeMetricFreshnessStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
export function SandboxRuntimeMetricFreshnessStatusToJSON(value) {
|
|
40
|
+
return value;
|
|
41
|
+
}
|
|
42
|
+
export function SandboxRuntimeMetricFreshnessStatusToJSONTyped(value, ignoreDiscriminator) {
|
|
43
|
+
return value;
|
|
44
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Sandbox0 API
|
|
3
|
+
* Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { SandboxRuntimeMetricName } from './SandboxRuntimeMetricName.js';
|
|
13
|
+
import type { SandboxRuntimeMetricGapReason } from './SandboxRuntimeMetricGapReason.js';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface SandboxRuntimeMetricGap
|
|
18
|
+
*/
|
|
19
|
+
export interface SandboxRuntimeMetricGap {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {SandboxRuntimeMetricName}
|
|
23
|
+
* @memberof SandboxRuntimeMetricGap
|
|
24
|
+
*/
|
|
25
|
+
metric: SandboxRuntimeMetricName;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {{ [key: string]: string; }}
|
|
29
|
+
* @memberof SandboxRuntimeMetricGap
|
|
30
|
+
*/
|
|
31
|
+
dimensions?: {
|
|
32
|
+
[key: string]: string;
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {Date}
|
|
37
|
+
* @memberof SandboxRuntimeMetricGap
|
|
38
|
+
*/
|
|
39
|
+
startTime: Date;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {Date}
|
|
43
|
+
* @memberof SandboxRuntimeMetricGap
|
|
44
|
+
*/
|
|
45
|
+
endTime: Date;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {SandboxRuntimeMetricGapReason}
|
|
49
|
+
* @memberof SandboxRuntimeMetricGap
|
|
50
|
+
*/
|
|
51
|
+
reason: SandboxRuntimeMetricGapReason;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Check if a given object implements the SandboxRuntimeMetricGap interface.
|
|
55
|
+
*/
|
|
56
|
+
export declare function instanceOfSandboxRuntimeMetricGap(value: object): value is SandboxRuntimeMetricGap;
|
|
57
|
+
export declare function SandboxRuntimeMetricGapFromJSON(json: any): SandboxRuntimeMetricGap;
|
|
58
|
+
export declare function SandboxRuntimeMetricGapFromJSONTyped(json: any, ignoreDiscriminator: boolean): SandboxRuntimeMetricGap;
|
|
59
|
+
export declare function SandboxRuntimeMetricGapToJSON(json: any): SandboxRuntimeMetricGap;
|
|
60
|
+
export declare function SandboxRuntimeMetricGapToJSONTyped(value?: SandboxRuntimeMetricGap | null, ignoreDiscriminator?: boolean): any;
|
|
61
|
+
//# sourceMappingURL=SandboxRuntimeMetricGap.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SandboxRuntimeMetricGap.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxRuntimeMetricGap.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAO3E,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAC;AAQrF;;;;GAIG;AACH,MAAM,WAAW,uBAAuB;IACpC;;;;OAIG;IACH,MAAM,EAAE,wBAAwB,CAAC;IACjC;;;;OAIG;IACH,UAAU,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAAE,CAAC;IACxC;;;;OAIG;IACH,SAAS,EAAE,IAAI,CAAC;IAChB;;;;OAIG;IACH,OAAO,EAAE,IAAI,CAAC;IACd;;;;OAIG;IACH,MAAM,EAAE,6BAA6B,CAAC;CACzC;AAID;;GAEG;AACH,wBAAgB,iCAAiC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,uBAAuB,CAMjG;AAED,wBAAgB,+BAA+B,CAAC,IAAI,EAAE,GAAG,GAAG,uBAAuB,CAElF;AAED,wBAAgB,oCAAoC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,uBAAuB,CAYrH;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,GAAG,uBAAuB,CAEhF;AAED,wBAAgB,kCAAkC,CAAC,KAAK,CAAC,EAAE,uBAAuB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAapI"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Sandbox0 API
|
|
5
|
+
* Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { SandboxRuntimeMetricNameFromJSON, SandboxRuntimeMetricNameToJSON, } from './SandboxRuntimeMetricName.js';
|
|
15
|
+
import { SandboxRuntimeMetricGapReasonFromJSON, SandboxRuntimeMetricGapReasonToJSON, } from './SandboxRuntimeMetricGapReason.js';
|
|
16
|
+
/**
|
|
17
|
+
* Check if a given object implements the SandboxRuntimeMetricGap interface.
|
|
18
|
+
*/
|
|
19
|
+
export function instanceOfSandboxRuntimeMetricGap(value) {
|
|
20
|
+
if (!('metric' in value) || value['metric'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('startTime' in value) || value['startTime'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('endTime' in value) || value['endTime'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('reason' in value) || value['reason'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
export function SandboxRuntimeMetricGapFromJSON(json) {
|
|
31
|
+
return SandboxRuntimeMetricGapFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
export function SandboxRuntimeMetricGapFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'metric': SandboxRuntimeMetricNameFromJSON(json['metric']),
|
|
39
|
+
'dimensions': json['dimensions'] == null ? undefined : json['dimensions'],
|
|
40
|
+
'startTime': (new Date(json['start_time'])),
|
|
41
|
+
'endTime': (new Date(json['end_time'])),
|
|
42
|
+
'reason': SandboxRuntimeMetricGapReasonFromJSON(json['reason']),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
export function SandboxRuntimeMetricGapToJSON(json) {
|
|
46
|
+
return SandboxRuntimeMetricGapToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
export function SandboxRuntimeMetricGapToJSONTyped(value, ignoreDiscriminator = false) {
|
|
49
|
+
if (value == null) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'metric': SandboxRuntimeMetricNameToJSON(value['metric']),
|
|
54
|
+
'dimensions': value['dimensions'],
|
|
55
|
+
'start_time': value['startTime'].toISOString(),
|
|
56
|
+
'end_time': value['endTime'].toISOString(),
|
|
57
|
+
'reason': SandboxRuntimeMetricGapReasonToJSON(value['reason']),
|
|
58
|
+
};
|
|
59
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Sandbox0 API
|
|
3
|
+
* Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
*/
|
|
16
|
+
export declare const SandboxRuntimeMetricGapReason: {
|
|
17
|
+
readonly Unavailable: "unavailable";
|
|
18
|
+
readonly Unsupported: "unsupported";
|
|
19
|
+
readonly CollectionError: "collection_error";
|
|
20
|
+
readonly NoData: "no_data";
|
|
21
|
+
readonly SeriesReset: "series_reset";
|
|
22
|
+
};
|
|
23
|
+
export type SandboxRuntimeMetricGapReason = typeof SandboxRuntimeMetricGapReason[keyof typeof SandboxRuntimeMetricGapReason];
|
|
24
|
+
export declare function instanceOfSandboxRuntimeMetricGapReason(value: any): boolean;
|
|
25
|
+
export declare function SandboxRuntimeMetricGapReasonFromJSON(json: any): SandboxRuntimeMetricGapReason;
|
|
26
|
+
export declare function SandboxRuntimeMetricGapReasonFromJSONTyped(json: any, ignoreDiscriminator: boolean): SandboxRuntimeMetricGapReason;
|
|
27
|
+
export declare function SandboxRuntimeMetricGapReasonToJSON(value?: SandboxRuntimeMetricGapReason | null): any;
|
|
28
|
+
export declare function SandboxRuntimeMetricGapReasonToJSONTyped(value: any, ignoreDiscriminator: boolean): SandboxRuntimeMetricGapReason;
|
|
29
|
+
//# sourceMappingURL=SandboxRuntimeMetricGapReason.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SandboxRuntimeMetricGapReason.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxRuntimeMetricGapReason.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;GAGG;AACH,eAAO,MAAM,6BAA6B;;;;;;CAMhC,CAAC;AACX,MAAM,MAAM,6BAA6B,GAAG,OAAO,6BAA6B,CAAC,MAAM,OAAO,6BAA6B,CAAC,CAAC;AAG7H,wBAAgB,uCAAuC,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO,CAS3E;AAED,wBAAgB,qCAAqC,CAAC,IAAI,EAAE,GAAG,GAAG,6BAA6B,CAE9F;AAED,wBAAgB,0CAA0C,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,6BAA6B,CAEjI;AAED,wBAAgB,mCAAmC,CAAC,KAAK,CAAC,EAAE,6BAA6B,GAAG,IAAI,GAAG,GAAG,CAErG;AAED,wBAAgB,wCAAwC,CAAC,KAAK,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,6BAA6B,CAEhI"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Sandbox0 API
|
|
5
|
+
* Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
export const SandboxRuntimeMetricGapReason = {
|
|
19
|
+
Unavailable: 'unavailable',
|
|
20
|
+
Unsupported: 'unsupported',
|
|
21
|
+
CollectionError: 'collection_error',
|
|
22
|
+
NoData: 'no_data',
|
|
23
|
+
SeriesReset: 'series_reset'
|
|
24
|
+
};
|
|
25
|
+
export function instanceOfSandboxRuntimeMetricGapReason(value) {
|
|
26
|
+
for (const key in SandboxRuntimeMetricGapReason) {
|
|
27
|
+
if (Object.prototype.hasOwnProperty.call(SandboxRuntimeMetricGapReason, key)) {
|
|
28
|
+
if (SandboxRuntimeMetricGapReason[key] === value) {
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
return false;
|
|
34
|
+
}
|
|
35
|
+
export function SandboxRuntimeMetricGapReasonFromJSON(json) {
|
|
36
|
+
return SandboxRuntimeMetricGapReasonFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
export function SandboxRuntimeMetricGapReasonFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
return json;
|
|
40
|
+
}
|
|
41
|
+
export function SandboxRuntimeMetricGapReasonToJSON(value) {
|
|
42
|
+
return value;
|
|
43
|
+
}
|
|
44
|
+
export function SandboxRuntimeMetricGapReasonToJSONTyped(value, ignoreDiscriminator) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Sandbox0 API
|
|
3
|
+
* Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
*/
|
|
16
|
+
export declare const SandboxRuntimeMetricKind: {
|
|
17
|
+
readonly Gauge: "gauge";
|
|
18
|
+
readonly Counter: "counter";
|
|
19
|
+
};
|
|
20
|
+
export type SandboxRuntimeMetricKind = typeof SandboxRuntimeMetricKind[keyof typeof SandboxRuntimeMetricKind];
|
|
21
|
+
export declare function instanceOfSandboxRuntimeMetricKind(value: any): boolean;
|
|
22
|
+
export declare function SandboxRuntimeMetricKindFromJSON(json: any): SandboxRuntimeMetricKind;
|
|
23
|
+
export declare function SandboxRuntimeMetricKindFromJSONTyped(json: any, ignoreDiscriminator: boolean): SandboxRuntimeMetricKind;
|
|
24
|
+
export declare function SandboxRuntimeMetricKindToJSON(value?: SandboxRuntimeMetricKind | null): any;
|
|
25
|
+
export declare function SandboxRuntimeMetricKindToJSONTyped(value: any, ignoreDiscriminator: boolean): SandboxRuntimeMetricKind;
|
|
26
|
+
//# sourceMappingURL=SandboxRuntimeMetricKind.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SandboxRuntimeMetricKind.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxRuntimeMetricKind.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;GAGG;AACH,eAAO,MAAM,wBAAwB;;;CAG3B,CAAC;AACX,MAAM,MAAM,wBAAwB,GAAG,OAAO,wBAAwB,CAAC,MAAM,OAAO,wBAAwB,CAAC,CAAC;AAG9G,wBAAgB,kCAAkC,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO,CAStE;AAED,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,GAAG,GAAG,wBAAwB,CAEpF;AAED,wBAAgB,qCAAqC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,wBAAwB,CAEvH;AAED,wBAAgB,8BAA8B,CAAC,KAAK,CAAC,EAAE,wBAAwB,GAAG,IAAI,GAAG,GAAG,CAE3F;AAED,wBAAgB,mCAAmC,CAAC,KAAK,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,wBAAwB,CAEtH"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Sandbox0 API
|
|
5
|
+
* Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
export const SandboxRuntimeMetricKind = {
|
|
19
|
+
Gauge: 'gauge',
|
|
20
|
+
Counter: 'counter'
|
|
21
|
+
};
|
|
22
|
+
export function instanceOfSandboxRuntimeMetricKind(value) {
|
|
23
|
+
for (const key in SandboxRuntimeMetricKind) {
|
|
24
|
+
if (Object.prototype.hasOwnProperty.call(SandboxRuntimeMetricKind, key)) {
|
|
25
|
+
if (SandboxRuntimeMetricKind[key] === value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
return false;
|
|
31
|
+
}
|
|
32
|
+
export function SandboxRuntimeMetricKindFromJSON(json) {
|
|
33
|
+
return SandboxRuntimeMetricKindFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
export function SandboxRuntimeMetricKindFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
export function SandboxRuntimeMetricKindToJSON(value) {
|
|
39
|
+
return value;
|
|
40
|
+
}
|
|
41
|
+
export function SandboxRuntimeMetricKindToJSONTyped(value, ignoreDiscriminator) {
|
|
42
|
+
return value;
|
|
43
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Sandbox0 API
|
|
3
|
+
* Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
*/
|
|
16
|
+
export declare const SandboxRuntimeMetricName: {
|
|
17
|
+
readonly SandboxCpuUtilization: "sandbox.cpu.utilization";
|
|
18
|
+
readonly SandboxCpuUsage: "sandbox.cpu.usage";
|
|
19
|
+
readonly SandboxCpuTime: "sandbox.cpu.time";
|
|
20
|
+
readonly SandboxCpuLimit: "sandbox.cpu.limit";
|
|
21
|
+
readonly SandboxMemoryUsage: "sandbox.memory.usage";
|
|
22
|
+
readonly SandboxMemoryWorkingSet: "sandbox.memory.working_set";
|
|
23
|
+
readonly SandboxMemoryAvailable: "sandbox.memory.available";
|
|
24
|
+
readonly SandboxMemoryLimit: "sandbox.memory.limit";
|
|
25
|
+
readonly SandboxMemoryUtilization: "sandbox.memory.utilization";
|
|
26
|
+
readonly SandboxNetworkIo: "sandbox.network.io";
|
|
27
|
+
readonly SandboxNetworkErrors: "sandbox.network.errors";
|
|
28
|
+
readonly SandboxProcessCount: "sandbox.process.count";
|
|
29
|
+
readonly SandboxRootfsWritableUsage: "sandbox.rootfs.writable.usage";
|
|
30
|
+
readonly SandboxRootfsWritableInodes: "sandbox.rootfs.writable.inodes";
|
|
31
|
+
};
|
|
32
|
+
export type SandboxRuntimeMetricName = typeof SandboxRuntimeMetricName[keyof typeof SandboxRuntimeMetricName];
|
|
33
|
+
export declare function instanceOfSandboxRuntimeMetricName(value: any): boolean;
|
|
34
|
+
export declare function SandboxRuntimeMetricNameFromJSON(json: any): SandboxRuntimeMetricName;
|
|
35
|
+
export declare function SandboxRuntimeMetricNameFromJSONTyped(json: any, ignoreDiscriminator: boolean): SandboxRuntimeMetricName;
|
|
36
|
+
export declare function SandboxRuntimeMetricNameToJSON(value?: SandboxRuntimeMetricName | null): any;
|
|
37
|
+
export declare function SandboxRuntimeMetricNameToJSONTyped(value: any, ignoreDiscriminator: boolean): SandboxRuntimeMetricName;
|
|
38
|
+
//# sourceMappingURL=SandboxRuntimeMetricName.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SandboxRuntimeMetricName.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxRuntimeMetricName.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;GAGG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;CAe3B,CAAC;AACX,MAAM,MAAM,wBAAwB,GAAG,OAAO,wBAAwB,CAAC,MAAM,OAAO,wBAAwB,CAAC,CAAC;AAG9G,wBAAgB,kCAAkC,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO,CAStE;AAED,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,GAAG,GAAG,wBAAwB,CAEpF;AAED,wBAAgB,qCAAqC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,wBAAwB,CAEvH;AAED,wBAAgB,8BAA8B,CAAC,KAAK,CAAC,EAAE,wBAAwB,GAAG,IAAI,GAAG,GAAG,CAE3F;AAED,wBAAgB,mCAAmC,CAAC,KAAK,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,wBAAwB,CAEtH"}
|