@gpuai/sdk 0.4.1 → 0.5.0
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/.openapi-generator/FILES +22 -0
- package/README.md +13 -2
- package/dist/apis/InstancesApi.d.ts +2 -0
- package/dist/apis/InstancesApi.js +2 -0
- package/dist/esm/apis/InstancesApi.d.ts +2 -0
- package/dist/esm/apis/InstancesApi.js +2 -0
- package/dist/esm/models/ChatCompletionRequest.d.ts +27 -0
- package/dist/esm/models/ChatCompletionRequest.js +11 -0
- package/dist/esm/models/ChatCompletionRequestToolChoice.d.ts +22 -0
- package/dist/esm/models/ChatCompletionRequestToolChoice.js +50 -0
- package/dist/esm/models/ChatJSONSchemaFormat.d.ts +52 -0
- package/dist/esm/models/ChatJSONSchemaFormat.js +51 -0
- package/dist/esm/models/ChatMessage.d.ts +21 -1
- package/dist/esm/models/ChatMessage.js +10 -4
- package/dist/esm/models/ChatNamedToolChoice.d.ts +46 -0
- package/dist/esm/models/ChatNamedToolChoice.js +56 -0
- package/dist/esm/models/ChatNamedToolChoiceFunction.d.ts +32 -0
- package/dist/esm/models/ChatNamedToolChoiceFunction.js +43 -0
- package/dist/esm/models/ChatResponseFormat.d.ts +48 -0
- package/dist/esm/models/ChatResponseFormat.js +54 -0
- package/dist/esm/models/ChatTool.d.ts +46 -0
- package/dist/esm/models/ChatTool.js +56 -0
- package/dist/esm/models/ChatToolCall.d.ts +52 -0
- package/dist/esm/models/ChatToolCall.js +60 -0
- package/dist/esm/models/ChatToolCallFunction.d.ts +38 -0
- package/dist/esm/models/ChatToolCallFunction.js +47 -0
- package/dist/esm/models/ChatToolFunction.d.ts +52 -0
- package/dist/esm/models/ChatToolFunction.js +49 -0
- package/dist/esm/models/CreateFunctionVersionRequest.d.ts +6 -0
- package/dist/esm/models/CreateFunctionVersionRequest.js +2 -0
- package/dist/esm/models/CreateInstanceRequest.d.ts +13 -0
- package/dist/esm/models/CreateInstanceRequest.js +5 -0
- package/dist/esm/models/DedicatedIPRequest.d.ts +32 -0
- package/dist/esm/models/DedicatedIPRequest.js +41 -0
- package/dist/esm/models/FunctionVersion.d.ts +6 -0
- package/dist/esm/models/FunctionVersion.js +4 -0
- package/dist/esm/models/Instance.d.ts +22 -0
- package/dist/esm/models/Instance.js +13 -0
- package/dist/esm/models/InstanceDedicatedIP.d.ts +83 -0
- package/dist/esm/models/InstanceDedicatedIP.js +77 -0
- package/dist/esm/models/Model.d.ts +12 -0
- package/dist/esm/models/Model.js +4 -0
- package/dist/esm/models/Problem.d.ts +2 -0
- package/dist/esm/models/Problem.js +2 -0
- package/dist/esm/models/index.d.ts +11 -0
- package/dist/esm/models/index.js +11 -0
- package/dist/esm/runtime.js +1 -1
- package/dist/models/ChatCompletionRequest.d.ts +27 -0
- package/dist/models/ChatCompletionRequest.js +11 -0
- package/dist/models/ChatCompletionRequestToolChoice.d.ts +22 -0
- package/dist/models/ChatCompletionRequestToolChoice.js +56 -0
- package/dist/models/ChatJSONSchemaFormat.d.ts +52 -0
- package/dist/models/ChatJSONSchemaFormat.js +58 -0
- package/dist/models/ChatMessage.d.ts +21 -1
- package/dist/models/ChatMessage.js +10 -4
- package/dist/models/ChatNamedToolChoice.d.ts +46 -0
- package/dist/models/ChatNamedToolChoice.js +64 -0
- package/dist/models/ChatNamedToolChoiceFunction.d.ts +32 -0
- package/dist/models/ChatNamedToolChoiceFunction.js +50 -0
- package/dist/models/ChatResponseFormat.d.ts +48 -0
- package/dist/models/ChatResponseFormat.js +62 -0
- package/dist/models/ChatTool.d.ts +46 -0
- package/dist/models/ChatTool.js +64 -0
- package/dist/models/ChatToolCall.d.ts +52 -0
- package/dist/models/ChatToolCall.js +68 -0
- package/dist/models/ChatToolCallFunction.d.ts +38 -0
- package/dist/models/ChatToolCallFunction.js +54 -0
- package/dist/models/ChatToolFunction.d.ts +52 -0
- package/dist/models/ChatToolFunction.js +56 -0
- package/dist/models/CreateFunctionVersionRequest.d.ts +6 -0
- package/dist/models/CreateFunctionVersionRequest.js +2 -0
- package/dist/models/CreateInstanceRequest.d.ts +13 -0
- package/dist/models/CreateInstanceRequest.js +5 -0
- package/dist/models/DedicatedIPRequest.d.ts +32 -0
- package/dist/models/DedicatedIPRequest.js +48 -0
- package/dist/models/FunctionVersion.d.ts +6 -0
- package/dist/models/FunctionVersion.js +4 -0
- package/dist/models/Instance.d.ts +22 -0
- package/dist/models/Instance.js +14 -1
- package/dist/models/InstanceDedicatedIP.d.ts +83 -0
- package/dist/models/InstanceDedicatedIP.js +85 -0
- package/dist/models/Model.d.ts +12 -0
- package/dist/models/Model.js +4 -0
- package/dist/models/Problem.d.ts +2 -0
- package/dist/models/Problem.js +2 -0
- package/dist/models/index.d.ts +11 -0
- package/dist/models/index.js +11 -0
- package/dist/runtime.js +1 -1
- package/docs/ChatCompletionRequest.md +8 -0
- package/docs/ChatCompletionRequestToolChoice.md +37 -0
- package/docs/ChatJSONSchemaFormat.md +40 -0
- package/docs/ChatMessage.md +6 -0
- package/docs/ChatNamedToolChoice.md +36 -0
- package/docs/ChatNamedToolChoiceFunction.md +34 -0
- package/docs/ChatResponseFormat.md +37 -0
- package/docs/ChatTool.md +36 -0
- package/docs/ChatToolCall.md +38 -0
- package/docs/ChatToolCallFunction.md +36 -0
- package/docs/ChatToolFunction.md +40 -0
- package/docs/CreateFunctionVersionRequest.md +2 -0
- package/docs/CreateInstanceRequest.md +4 -0
- package/docs/DedicatedIPRequest.md +35 -0
- package/docs/FunctionVersion.md +2 -0
- package/docs/Instance.md +4 -0
- package/docs/InstanceDedicatedIP.md +49 -0
- package/docs/InstancesApi.md +3 -1
- package/docs/Model.md +4 -0
- package/package.json +1 -1
- package/src/apis/InstancesApi.ts +2 -0
- package/src/models/ChatCompletionRequest.ts +53 -0
- package/src/models/ChatCompletionRequestToolChoice.ts +69 -0
- package/src/models/ChatJSONSchemaFormat.ts +91 -0
- package/src/models/ChatMessage.ts +36 -4
- package/src/models/ChatNamedToolChoice.ts +95 -0
- package/src/models/ChatNamedToolChoiceFunction.ts +66 -0
- package/src/models/ChatResponseFormat.ts +94 -0
- package/src/models/ChatTool.ts +95 -0
- package/src/models/ChatToolCall.ts +104 -0
- package/src/models/ChatToolCallFunction.ts +75 -0
- package/src/models/ChatToolFunction.ts +90 -0
- package/src/models/CreateFunctionVersionRequest.ts +8 -0
- package/src/models/CreateInstanceRequest.ts +23 -0
- package/src/models/DedicatedIPRequest.ts +65 -0
- package/src/models/FunctionVersion.ts +9 -0
- package/src/models/Instance.ts +33 -0
- package/src/models/InstanceDedicatedIP.ts +140 -0
- package/src/models/Model.ts +16 -0
- package/src/models/Problem.ts +2 -0
- package/src/models/index.ts +11 -0
- package/src/runtime.ts +1 -1
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* GPU.ai Public Developer API
|
|
6
|
+
* Programmatic API for GPU.ai. Authenticate with API keys minted from the dashboard. See https://gpu.ai/docs for details.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
* Contact: support@gpu.ai
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.ChatToolCallTypeEnum = void 0;
|
|
17
|
+
exports.instanceOfChatToolCall = instanceOfChatToolCall;
|
|
18
|
+
exports.ChatToolCallFromJSON = ChatToolCallFromJSON;
|
|
19
|
+
exports.ChatToolCallFromJSONTyped = ChatToolCallFromJSONTyped;
|
|
20
|
+
exports.ChatToolCallToJSON = ChatToolCallToJSON;
|
|
21
|
+
exports.ChatToolCallToJSONTyped = ChatToolCallToJSONTyped;
|
|
22
|
+
const ChatToolCallFunction_1 = require("./ChatToolCallFunction");
|
|
23
|
+
/**
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.ChatToolCallTypeEnum = {
|
|
27
|
+
Function: 'function'
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Check if a given object implements the ChatToolCall interface.
|
|
31
|
+
*/
|
|
32
|
+
function instanceOfChatToolCall(value) {
|
|
33
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (value['type'] !== 'function')
|
|
38
|
+
return false;
|
|
39
|
+
if ((!('_function' in value) && !('function' in value)) || (value['_function'] === undefined && value['function'] === undefined))
|
|
40
|
+
return false;
|
|
41
|
+
return true;
|
|
42
|
+
}
|
|
43
|
+
function ChatToolCallFromJSON(json) {
|
|
44
|
+
return ChatToolCallFromJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function ChatToolCallFromJSONTyped(json, ignoreDiscriminator) {
|
|
47
|
+
if (json == null) {
|
|
48
|
+
return json;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'id': json['id'],
|
|
52
|
+
'type': json['type'],
|
|
53
|
+
'_function': (0, ChatToolCallFunction_1.ChatToolCallFunctionFromJSON)(json['function']),
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
function ChatToolCallToJSON(json) {
|
|
57
|
+
return ChatToolCallToJSONTyped(json, false);
|
|
58
|
+
}
|
|
59
|
+
function ChatToolCallToJSONTyped(value, ignoreDiscriminator = false) {
|
|
60
|
+
if (value == null) {
|
|
61
|
+
return value;
|
|
62
|
+
}
|
|
63
|
+
return {
|
|
64
|
+
'id': value['id'],
|
|
65
|
+
'type': value['type'],
|
|
66
|
+
'function': (0, ChatToolCallFunction_1.ChatToolCallFunctionToJSON)(value['_function']),
|
|
67
|
+
};
|
|
68
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GPU.ai Public Developer API
|
|
3
|
+
* Programmatic API for GPU.ai. Authenticate with API keys minted from the dashboard. See https://gpu.ai/docs for details.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: support@gpu.ai
|
|
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
|
+
* @interface ChatToolCallFunction
|
|
16
|
+
*/
|
|
17
|
+
export interface ChatToolCallFunction {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ChatToolCallFunction
|
|
22
|
+
*/
|
|
23
|
+
name: string;
|
|
24
|
+
/**
|
|
25
|
+
* JSON-encoded arguments object, as a string.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ChatToolCallFunction
|
|
28
|
+
*/
|
|
29
|
+
arguments: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the ChatToolCallFunction interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfChatToolCallFunction(value: object): value is ChatToolCallFunction;
|
|
35
|
+
export declare function ChatToolCallFunctionFromJSON(json: any): ChatToolCallFunction;
|
|
36
|
+
export declare function ChatToolCallFunctionFromJSONTyped(json: any, ignoreDiscriminator: boolean): ChatToolCallFunction;
|
|
37
|
+
export declare function ChatToolCallFunctionToJSON(json: any): ChatToolCallFunction;
|
|
38
|
+
export declare function ChatToolCallFunctionToJSONTyped(value?: ChatToolCallFunction | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* GPU.ai Public Developer API
|
|
6
|
+
* Programmatic API for GPU.ai. Authenticate with API keys minted from the dashboard. See https://gpu.ai/docs for details.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
* Contact: support@gpu.ai
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfChatToolCallFunction = instanceOfChatToolCallFunction;
|
|
17
|
+
exports.ChatToolCallFunctionFromJSON = ChatToolCallFunctionFromJSON;
|
|
18
|
+
exports.ChatToolCallFunctionFromJSONTyped = ChatToolCallFunctionFromJSONTyped;
|
|
19
|
+
exports.ChatToolCallFunctionToJSON = ChatToolCallFunctionToJSON;
|
|
20
|
+
exports.ChatToolCallFunctionToJSONTyped = ChatToolCallFunctionToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ChatToolCallFunction interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfChatToolCallFunction(value) {
|
|
25
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('arguments' in value) || value['arguments'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function ChatToolCallFunctionFromJSON(json) {
|
|
32
|
+
return ChatToolCallFunctionFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function ChatToolCallFunctionFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'name': json['name'],
|
|
40
|
+
'arguments': json['arguments'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function ChatToolCallFunctionToJSON(json) {
|
|
44
|
+
return ChatToolCallFunctionToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function ChatToolCallFunctionToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'name': value['name'],
|
|
52
|
+
'arguments': value['arguments'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GPU.ai Public Developer API
|
|
3
|
+
* Programmatic API for GPU.ai. Authenticate with API keys minted from the dashboard. See https://gpu.ai/docs for details.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: support@gpu.ai
|
|
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
|
+
* @interface ChatToolFunction
|
|
16
|
+
*/
|
|
17
|
+
export interface ChatToolFunction {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ChatToolFunction
|
|
22
|
+
*/
|
|
23
|
+
name: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ChatToolFunction
|
|
28
|
+
*/
|
|
29
|
+
description?: string;
|
|
30
|
+
/**
|
|
31
|
+
* JSON Schema for the function arguments.
|
|
32
|
+
* @type {{ [key: string]: any; }}
|
|
33
|
+
* @memberof ChatToolFunction
|
|
34
|
+
*/
|
|
35
|
+
parameters?: {
|
|
36
|
+
[key: string]: any;
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {boolean}
|
|
41
|
+
* @memberof ChatToolFunction
|
|
42
|
+
*/
|
|
43
|
+
strict?: boolean;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Check if a given object implements the ChatToolFunction interface.
|
|
47
|
+
*/
|
|
48
|
+
export declare function instanceOfChatToolFunction(value: object): value is ChatToolFunction;
|
|
49
|
+
export declare function ChatToolFunctionFromJSON(json: any): ChatToolFunction;
|
|
50
|
+
export declare function ChatToolFunctionFromJSONTyped(json: any, ignoreDiscriminator: boolean): ChatToolFunction;
|
|
51
|
+
export declare function ChatToolFunctionToJSON(json: any): ChatToolFunction;
|
|
52
|
+
export declare function ChatToolFunctionToJSONTyped(value?: ChatToolFunction | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* GPU.ai Public Developer API
|
|
6
|
+
* Programmatic API for GPU.ai. Authenticate with API keys minted from the dashboard. See https://gpu.ai/docs for details.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
* Contact: support@gpu.ai
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfChatToolFunction = instanceOfChatToolFunction;
|
|
17
|
+
exports.ChatToolFunctionFromJSON = ChatToolFunctionFromJSON;
|
|
18
|
+
exports.ChatToolFunctionFromJSONTyped = ChatToolFunctionFromJSONTyped;
|
|
19
|
+
exports.ChatToolFunctionToJSON = ChatToolFunctionToJSON;
|
|
20
|
+
exports.ChatToolFunctionToJSONTyped = ChatToolFunctionToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ChatToolFunction interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfChatToolFunction(value) {
|
|
25
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function ChatToolFunctionFromJSON(json) {
|
|
30
|
+
return ChatToolFunctionFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function ChatToolFunctionFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'name': json['name'],
|
|
38
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
39
|
+
'parameters': json['parameters'] == null ? undefined : json['parameters'],
|
|
40
|
+
'strict': json['strict'] == null ? undefined : json['strict'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function ChatToolFunctionToJSON(json) {
|
|
44
|
+
return ChatToolFunctionToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function ChatToolFunctionToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'name': value['name'],
|
|
52
|
+
'description': value['description'],
|
|
53
|
+
'parameters': value['parameters'],
|
|
54
|
+
'strict': value['strict'],
|
|
55
|
+
};
|
|
56
|
+
}
|
|
@@ -99,6 +99,12 @@ export interface CreateFunctionVersionRequest {
|
|
|
99
99
|
* @memberof CreateFunctionVersionRequest
|
|
100
100
|
*/
|
|
101
101
|
maxConcurrency?: number;
|
|
102
|
+
/**
|
|
103
|
+
* Names of organization secrets (POST /secrets) each run receives as environment variables of the same names, resolved per call so a rotated value reaches the next call. Values are never in a response or a log. Returns 422 `validation_failed` when a name does not exist or secrets are not enabled on this deployment.
|
|
104
|
+
* @type {Array<string>}
|
|
105
|
+
* @memberof CreateFunctionVersionRequest
|
|
106
|
+
*/
|
|
107
|
+
secrets?: Array<string>;
|
|
102
108
|
}
|
|
103
109
|
/**
|
|
104
110
|
* Check if a given object implements the CreateFunctionVersionRequest interface.
|
|
@@ -58,6 +58,7 @@ function CreateFunctionVersionRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
58
58
|
'timeout': json['timeout'],
|
|
59
59
|
'idleTimeout': json['idle_timeout'] == null ? undefined : json['idle_timeout'],
|
|
60
60
|
'maxConcurrency': json['max_concurrency'] == null ? undefined : json['max_concurrency'],
|
|
61
|
+
'secrets': json['secrets'] == null ? undefined : json['secrets'],
|
|
61
62
|
};
|
|
62
63
|
}
|
|
63
64
|
function CreateFunctionVersionRequestToJSON(json) {
|
|
@@ -82,5 +83,6 @@ function CreateFunctionVersionRequestToJSONTyped(value, ignoreDiscriminator = fa
|
|
|
82
83
|
'timeout': value['timeout'],
|
|
83
84
|
'idle_timeout': value['idleTimeout'],
|
|
84
85
|
'max_concurrency': value['maxConcurrency'],
|
|
86
|
+
'secrets': value['secrets'],
|
|
85
87
|
};
|
|
86
88
|
}
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { CreateInstanceRequestPortsInner } from './CreateInstanceRequestPortsInner';
|
|
13
|
+
import type { DedicatedIPRequest } from './DedicatedIPRequest';
|
|
13
14
|
/**
|
|
14
15
|
*
|
|
15
16
|
* @export
|
|
@@ -132,6 +133,18 @@ export interface CreateInstanceRequest {
|
|
|
132
133
|
* @memberof CreateInstanceRequest
|
|
133
134
|
*/
|
|
134
135
|
ports?: Array<CreateInstanceRequestPortsInner>;
|
|
136
|
+
/**
|
|
137
|
+
* Attach a dedicated public IPv4 address owned by GPU.ai. Its inbound TCP ports (80 and 443 unless `ports` says otherwise) forward, raw and without TLS termination, to the same ports on the instance's loopback, so your own certificates work. Billed hourly while attached plus per GB of transfer in both directions (see GET /dedicated-ip). on_demand tier only (422 `validation_failed` otherwise). Returns 409 `dedicated_ip_limit` when the organization already holds its limit, 503 `dedicated_ip_unavailable` when no address is free, 422 `validation_failed` for ports outside the allowed set, and 400 `validation_failed` on deployments where the add-on is not enabled. A launch whose address cannot be attached fails its operation with `dedicated_ip_unavailable`. The address is released when the instance terminates or fails.
|
|
138
|
+
* @type {DedicatedIPRequest}
|
|
139
|
+
* @memberof CreateInstanceRequest
|
|
140
|
+
*/
|
|
141
|
+
dedicatedIp?: DedicatedIPRequest;
|
|
142
|
+
/**
|
|
143
|
+
* Names of organization secrets (POST /secrets) to deliver to the machine at boot as environment variables of the same names. Values are never in a response or a log. Returns 422 `validation_failed` when a name does not exist or secrets are not enabled on this deployment.
|
|
144
|
+
* @type {Array<string>}
|
|
145
|
+
* @memberof CreateInstanceRequest
|
|
146
|
+
*/
|
|
147
|
+
secrets?: Array<string>;
|
|
135
148
|
}
|
|
136
149
|
/**
|
|
137
150
|
* @export
|
|
@@ -20,6 +20,7 @@ exports.CreateInstanceRequestFromJSONTyped = CreateInstanceRequestFromJSONTyped;
|
|
|
20
20
|
exports.CreateInstanceRequestToJSON = CreateInstanceRequestToJSON;
|
|
21
21
|
exports.CreateInstanceRequestToJSONTyped = CreateInstanceRequestToJSONTyped;
|
|
22
22
|
const CreateInstanceRequestPortsInner_1 = require("./CreateInstanceRequestPortsInner");
|
|
23
|
+
const DedicatedIPRequest_1 = require("./DedicatedIPRequest");
|
|
23
24
|
/**
|
|
24
25
|
* @export
|
|
25
26
|
*/
|
|
@@ -66,6 +67,8 @@ function CreateInstanceRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
66
67
|
'entrypoint': json['entrypoint'] == null ? undefined : json['entrypoint'],
|
|
67
68
|
'cmd': json['cmd'] == null ? undefined : json['cmd'],
|
|
68
69
|
'ports': json['ports'] == null ? undefined : (json['ports'].map(CreateInstanceRequestPortsInner_1.CreateInstanceRequestPortsInnerFromJSON)),
|
|
70
|
+
'dedicatedIp': json['dedicated_ip'] == null ? undefined : (0, DedicatedIPRequest_1.DedicatedIPRequestFromJSON)(json['dedicated_ip']),
|
|
71
|
+
'secrets': json['secrets'] == null ? undefined : json['secrets'],
|
|
69
72
|
};
|
|
70
73
|
}
|
|
71
74
|
function CreateInstanceRequestToJSON(json) {
|
|
@@ -95,5 +98,7 @@ function CreateInstanceRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
95
98
|
'entrypoint': value['entrypoint'],
|
|
96
99
|
'cmd': value['cmd'],
|
|
97
100
|
'ports': value['ports'] == null ? undefined : (value['ports'].map(CreateInstanceRequestPortsInner_1.CreateInstanceRequestPortsInnerToJSON)),
|
|
101
|
+
'dedicated_ip': (0, DedicatedIPRequest_1.DedicatedIPRequestToJSON)(value['dedicatedIp']),
|
|
102
|
+
'secrets': value['secrets'],
|
|
98
103
|
};
|
|
99
104
|
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GPU.ai Public Developer API
|
|
3
|
+
* Programmatic API for GPU.ai. Authenticate with API keys minted from the dashboard. See https://gpu.ai/docs for details.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: support@gpu.ai
|
|
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
|
+
* Requests a dedicated public IPv4 address for the instance. Send an empty object for the default ports (80 and 443).
|
|
14
|
+
* @export
|
|
15
|
+
* @interface DedicatedIPRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface DedicatedIPRequest {
|
|
18
|
+
/**
|
|
19
|
+
* Inbound TCP ports to forward. Each must be in the deployment's allowed set (see GET /dedicated-ip). Port 22 and the gateway's own ports are never allowed; SSH stays on the instance's SSH command. Omit for the defaults.
|
|
20
|
+
* @type {Array<number>}
|
|
21
|
+
* @memberof DedicatedIPRequest
|
|
22
|
+
*/
|
|
23
|
+
ports?: Array<number>;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the DedicatedIPRequest interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfDedicatedIPRequest(value: object): value is DedicatedIPRequest;
|
|
29
|
+
export declare function DedicatedIPRequestFromJSON(json: any): DedicatedIPRequest;
|
|
30
|
+
export declare function DedicatedIPRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): DedicatedIPRequest;
|
|
31
|
+
export declare function DedicatedIPRequestToJSON(json: any): DedicatedIPRequest;
|
|
32
|
+
export declare function DedicatedIPRequestToJSONTyped(value?: DedicatedIPRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* GPU.ai Public Developer API
|
|
6
|
+
* Programmatic API for GPU.ai. Authenticate with API keys minted from the dashboard. See https://gpu.ai/docs for details.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
* Contact: support@gpu.ai
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfDedicatedIPRequest = instanceOfDedicatedIPRequest;
|
|
17
|
+
exports.DedicatedIPRequestFromJSON = DedicatedIPRequestFromJSON;
|
|
18
|
+
exports.DedicatedIPRequestFromJSONTyped = DedicatedIPRequestFromJSONTyped;
|
|
19
|
+
exports.DedicatedIPRequestToJSON = DedicatedIPRequestToJSON;
|
|
20
|
+
exports.DedicatedIPRequestToJSONTyped = DedicatedIPRequestToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the DedicatedIPRequest interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfDedicatedIPRequest(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function DedicatedIPRequestFromJSON(json) {
|
|
28
|
+
return DedicatedIPRequestFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function DedicatedIPRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'ports': json['ports'] == null ? undefined : json['ports'],
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
function DedicatedIPRequestToJSON(json) {
|
|
39
|
+
return DedicatedIPRequestToJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
function DedicatedIPRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
42
|
+
if (value == null) {
|
|
43
|
+
return value;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'ports': value['ports'],
|
|
47
|
+
};
|
|
48
|
+
}
|
|
@@ -112,6 +112,12 @@ export interface FunctionVersion {
|
|
|
112
112
|
* @memberof FunctionVersion
|
|
113
113
|
*/
|
|
114
114
|
maxConcurrency: number;
|
|
115
|
+
/**
|
|
116
|
+
* Names of the organization secrets each run receives. Empty when none.
|
|
117
|
+
* @type {Array<string>}
|
|
118
|
+
* @memberof FunctionVersion
|
|
119
|
+
*/
|
|
120
|
+
secrets: Array<string>;
|
|
115
121
|
/**
|
|
116
122
|
*
|
|
117
123
|
* @type {Date}
|
|
@@ -57,6 +57,8 @@ function instanceOfFunctionVersion(value) {
|
|
|
57
57
|
return false;
|
|
58
58
|
if ((!('maxConcurrency' in value) && !('max_concurrency' in value)) || (value['maxConcurrency'] === undefined && value['max_concurrency'] === undefined))
|
|
59
59
|
return false;
|
|
60
|
+
if (!('secrets' in value) || value['secrets'] === undefined)
|
|
61
|
+
return false;
|
|
60
62
|
if ((!('createdAt' in value) && !('created_at' in value)) || (value['createdAt'] === undefined && value['created_at'] === undefined))
|
|
61
63
|
return false;
|
|
62
64
|
return true;
|
|
@@ -85,6 +87,7 @@ function FunctionVersionFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
85
87
|
'timeout': json['timeout'],
|
|
86
88
|
'idleTimeout': json['idle_timeout'],
|
|
87
89
|
'maxConcurrency': json['max_concurrency'],
|
|
90
|
+
'secrets': json['secrets'],
|
|
88
91
|
'createdAt': (new Date(json['created_at'])),
|
|
89
92
|
};
|
|
90
93
|
}
|
|
@@ -112,6 +115,7 @@ function FunctionVersionToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
112
115
|
'timeout': value['timeout'],
|
|
113
116
|
'idle_timeout': value['idleTimeout'],
|
|
114
117
|
'max_concurrency': value['maxConcurrency'],
|
|
118
|
+
'secrets': value['secrets'],
|
|
115
119
|
'created_at': value['createdAt'].toISOString(),
|
|
116
120
|
};
|
|
117
121
|
}
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { InstanceConnection } from './InstanceConnection';
|
|
13
13
|
import type { InstanceGpuMemory } from './InstanceGpuMemory';
|
|
14
|
+
import type { InstanceDedicatedIP } from './InstanceDedicatedIP';
|
|
14
15
|
/**
|
|
15
16
|
*
|
|
16
17
|
* @export
|
|
@@ -137,6 +138,18 @@ export interface Instance {
|
|
|
137
138
|
* @memberof Instance
|
|
138
139
|
*/
|
|
139
140
|
unreachableSince?: Date;
|
|
141
|
+
/**
|
|
142
|
+
* How far a launch that is not ready yet has got. machine_requested means the machine was requested and no image download has been reported yet; pulling_image means the image is downloading or unpacking; setting_up means the container is up and the platform is finishing SSH and the GPU check. Present only while status is allocating or starting and the platform is following the boot; absent otherwise. Lets a client with a fixed timeout tell a launch that is still moving from one that is stuck.
|
|
143
|
+
* @type {InstanceBootPhaseEnum}
|
|
144
|
+
* @memberof Instance
|
|
145
|
+
*/
|
|
146
|
+
bootPhase?: InstanceBootPhaseEnum;
|
|
147
|
+
/**
|
|
148
|
+
*
|
|
149
|
+
* @type {InstanceDedicatedIP}
|
|
150
|
+
* @memberof Instance
|
|
151
|
+
*/
|
|
152
|
+
dedicatedIp?: InstanceDedicatedIP;
|
|
140
153
|
}
|
|
141
154
|
/**
|
|
142
155
|
* @export
|
|
@@ -160,6 +173,15 @@ export declare const InstanceTierEnum: {
|
|
|
160
173
|
readonly OnDemand: "on_demand";
|
|
161
174
|
};
|
|
162
175
|
export type InstanceTierEnum = typeof InstanceTierEnum[keyof typeof InstanceTierEnum];
|
|
176
|
+
/**
|
|
177
|
+
* @export
|
|
178
|
+
*/
|
|
179
|
+
export declare const InstanceBootPhaseEnum: {
|
|
180
|
+
readonly MachineRequested: "machine_requested";
|
|
181
|
+
readonly PullingImage: "pulling_image";
|
|
182
|
+
readonly SettingUp: "setting_up";
|
|
183
|
+
};
|
|
184
|
+
export type InstanceBootPhaseEnum = typeof InstanceBootPhaseEnum[keyof typeof InstanceBootPhaseEnum];
|
|
163
185
|
/**
|
|
164
186
|
* Check if a given object implements the Instance interface.
|
|
165
187
|
*/
|
package/dist/models/Instance.js
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.InstanceTierEnum = exports.InstanceStatusEnum = void 0;
|
|
16
|
+
exports.InstanceBootPhaseEnum = exports.InstanceTierEnum = exports.InstanceStatusEnum = void 0;
|
|
17
17
|
exports.instanceOfInstance = instanceOfInstance;
|
|
18
18
|
exports.InstanceFromJSON = InstanceFromJSON;
|
|
19
19
|
exports.InstanceFromJSONTyped = InstanceFromJSONTyped;
|
|
@@ -21,6 +21,7 @@ exports.InstanceToJSON = InstanceToJSON;
|
|
|
21
21
|
exports.InstanceToJSONTyped = InstanceToJSONTyped;
|
|
22
22
|
const InstanceConnection_1 = require("./InstanceConnection");
|
|
23
23
|
const InstanceGpuMemory_1 = require("./InstanceGpuMemory");
|
|
24
|
+
const InstanceDedicatedIP_1 = require("./InstanceDedicatedIP");
|
|
24
25
|
/**
|
|
25
26
|
* @export
|
|
26
27
|
*/
|
|
@@ -41,6 +42,14 @@ exports.InstanceTierEnum = {
|
|
|
41
42
|
Spot: 'spot',
|
|
42
43
|
OnDemand: 'on_demand'
|
|
43
44
|
};
|
|
45
|
+
/**
|
|
46
|
+
* @export
|
|
47
|
+
*/
|
|
48
|
+
exports.InstanceBootPhaseEnum = {
|
|
49
|
+
MachineRequested: 'machine_requested',
|
|
50
|
+
PullingImage: 'pulling_image',
|
|
51
|
+
SettingUp: 'setting_up'
|
|
52
|
+
};
|
|
44
53
|
/**
|
|
45
54
|
* Check if a given object implements the Instance interface.
|
|
46
55
|
*/
|
|
@@ -91,6 +100,8 @@ function InstanceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
91
100
|
'terminatedAt': json['terminated_at'] == null ? undefined : (new Date(json['terminated_at'])),
|
|
92
101
|
'lastReachableAt': json['last_reachable_at'] == null ? undefined : (new Date(json['last_reachable_at'])),
|
|
93
102
|
'unreachableSince': json['unreachable_since'] == null ? undefined : (new Date(json['unreachable_since'])),
|
|
103
|
+
'bootPhase': json['boot_phase'] == null ? undefined : json['boot_phase'],
|
|
104
|
+
'dedicatedIp': json['dedicated_ip'] == null ? undefined : (0, InstanceDedicatedIP_1.InstanceDedicatedIPFromJSON)(json['dedicated_ip']),
|
|
94
105
|
};
|
|
95
106
|
}
|
|
96
107
|
function InstanceToJSON(json) {
|
|
@@ -121,5 +132,7 @@ function InstanceToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
121
132
|
'terminated_at': value['terminatedAt'] == null ? value['terminatedAt'] : value['terminatedAt'].toISOString(),
|
|
122
133
|
'last_reachable_at': value['lastReachableAt'] == null ? value['lastReachableAt'] : value['lastReachableAt'].toISOString(),
|
|
123
134
|
'unreachable_since': value['unreachableSince'] == null ? value['unreachableSince'] : value['unreachableSince'].toISOString(),
|
|
135
|
+
'boot_phase': value['bootPhase'],
|
|
136
|
+
'dedicated_ip': (0, InstanceDedicatedIP_1.InstanceDedicatedIPToJSON)(value['dedicatedIp']),
|
|
124
137
|
};
|
|
125
138
|
}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GPU.ai Public Developer API
|
|
3
|
+
* Programmatic API for GPU.ai. Authenticate with API keys minted from the dashboard. See https://gpu.ai/docs for details.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: support@gpu.ai
|
|
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
|
+
* The instance's dedicated public IPv4 add-on. Present only on instances launched with `dedicated_ip`, and only on deployments where the add-on is enabled.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface InstanceDedicatedIP
|
|
16
|
+
*/
|
|
17
|
+
export interface InstanceDedicatedIP {
|
|
18
|
+
/**
|
|
19
|
+
* The GPU.ai-owned public IPv4 address. Point your DNS A record here.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof InstanceDedicatedIP
|
|
22
|
+
*/
|
|
23
|
+
address: string;
|
|
24
|
+
/**
|
|
25
|
+
* Inbound TCP ports forwarded to the same port on the instance's loopback.
|
|
26
|
+
* @type {Array<number>}
|
|
27
|
+
* @memberof InstanceDedicatedIP
|
|
28
|
+
*/
|
|
29
|
+
ports: Array<number>;
|
|
30
|
+
/**
|
|
31
|
+
* active means traffic is forwarded. suspended means forwarding has stopped (see suspend_reason), for example after the transfer cap was reached. released means the address was returned because the instance terminated or failed.
|
|
32
|
+
* @type {InstanceDedicatedIPStatusEnum}
|
|
33
|
+
* @memberof InstanceDedicatedIP
|
|
34
|
+
*/
|
|
35
|
+
status: InstanceDedicatedIPStatusEnum;
|
|
36
|
+
/**
|
|
37
|
+
* Why forwarding is suspended, e.g. `transfer_cap`. Present only while suspended.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof InstanceDedicatedIP
|
|
40
|
+
*/
|
|
41
|
+
suspendReason?: string;
|
|
42
|
+
/**
|
|
43
|
+
* USD per hour charged while the address is attached, locked at launch.
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof InstanceDedicatedIP
|
|
46
|
+
*/
|
|
47
|
+
hourlyFee: number;
|
|
48
|
+
/**
|
|
49
|
+
* USD per GB of traffic through the address, both directions, locked at launch.
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof InstanceDedicatedIP
|
|
52
|
+
*/
|
|
53
|
+
transferPricePerGb: number;
|
|
54
|
+
/**
|
|
55
|
+
* GB transferred through the address so far, both directions.
|
|
56
|
+
* @type {number}
|
|
57
|
+
* @memberof InstanceDedicatedIP
|
|
58
|
+
*/
|
|
59
|
+
transferGb: number;
|
|
60
|
+
/**
|
|
61
|
+
* Total charged for this address so far (hourly fee plus transfer), in USD.
|
|
62
|
+
* @type {number}
|
|
63
|
+
* @memberof InstanceDedicatedIP
|
|
64
|
+
*/
|
|
65
|
+
chargedUsd: number;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* @export
|
|
69
|
+
*/
|
|
70
|
+
export declare const InstanceDedicatedIPStatusEnum: {
|
|
71
|
+
readonly Active: "active";
|
|
72
|
+
readonly Suspended: "suspended";
|
|
73
|
+
readonly Released: "released";
|
|
74
|
+
};
|
|
75
|
+
export type InstanceDedicatedIPStatusEnum = typeof InstanceDedicatedIPStatusEnum[keyof typeof InstanceDedicatedIPStatusEnum];
|
|
76
|
+
/**
|
|
77
|
+
* Check if a given object implements the InstanceDedicatedIP interface.
|
|
78
|
+
*/
|
|
79
|
+
export declare function instanceOfInstanceDedicatedIP(value: object): value is InstanceDedicatedIP;
|
|
80
|
+
export declare function InstanceDedicatedIPFromJSON(json: any): InstanceDedicatedIP;
|
|
81
|
+
export declare function InstanceDedicatedIPFromJSONTyped(json: any, ignoreDiscriminator: boolean): InstanceDedicatedIP;
|
|
82
|
+
export declare function InstanceDedicatedIPToJSON(json: any): InstanceDedicatedIP;
|
|
83
|
+
export declare function InstanceDedicatedIPToJSONTyped(value?: InstanceDedicatedIP | null, ignoreDiscriminator?: boolean): any;
|