@devopness/sdk-js 2.77.1 → 2.79.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/dist/DevopnessApiClient.d.ts +2 -0
- package/dist/DevopnessApiClient.js +2 -0
- package/dist/api/generated/apis/actions-logs-api.d.ts +3 -3
- package/dist/api/generated/apis/actions-logs-api.js +7 -7
- package/dist/api/generated/apis/environments-networks-api.d.ts +36 -0
- package/dist/api/generated/apis/environments-networks-api.js +78 -0
- package/dist/api/generated/apis/environments-servers-api.d.ts +1 -1
- package/dist/api/generated/apis/environments-servers-api.js +1 -1
- package/dist/api/generated/apis/networks-api.d.ts +25 -0
- package/dist/api/generated/apis/networks-api.js +49 -0
- package/dist/api/generated/models/action-relation.d.ts +4 -4
- package/dist/api/generated/models/action-resource.d.ts +3 -2
- package/dist/api/generated/models/action-retry-response.d.ts +4 -4
- package/dist/api/generated/models/action-step.d.ts +2 -8
- package/dist/api/generated/models/{action-summary-server.d.ts → action-summary-target.d.ts} +12 -12
- package/dist/api/generated/models/action-summary.d.ts +3 -3
- package/dist/api/generated/models/action-target-data.d.ts +18 -0
- package/dist/api/generated/models/{server-action-log-step.d.ts → action-target-log-step.d.ts} +6 -6
- package/dist/api/generated/models/action-target-network-data.d.ts +54 -0
- package/dist/api/generated/models/{server-action-data.d.ts → action-target-server-data.d.ts} +10 -10
- package/dist/api/generated/models/action-target-server-data.js +14 -0
- package/dist/api/generated/models/{server-action.d.ts → action-target.d.ts} +25 -19
- package/dist/api/generated/models/action-target.js +14 -0
- package/dist/api/generated/models/action.d.ts +4 -4
- package/dist/api/generated/models/environment.d.ts +7 -0
- package/dist/api/generated/models/index.d.ts +14 -4
- package/dist/api/generated/models/index.js +14 -4
- package/dist/api/generated/models/log.d.ts +6 -6
- package/dist/api/generated/models/network-environment-create.d.ts +31 -0
- package/dist/api/generated/models/network-environment-create.js +14 -0
- package/dist/api/generated/models/network-provision-input-settings-aws.d.ts +30 -0
- package/dist/api/generated/models/network-provision-input-settings-aws.js +14 -0
- package/dist/api/generated/models/network-provision-input-settings-digital-ocean.d.ts +30 -0
- package/dist/api/generated/models/network-provision-input-settings-digital-ocean.js +14 -0
- package/dist/api/generated/models/network-provision-input-settings-gcp.d.ts +24 -0
- package/dist/api/generated/models/network-provision-input-settings-gcp.js +14 -0
- package/dist/api/generated/models/network-provision-input-settings.d.ts +19 -0
- package/dist/api/generated/models/network-provision-input-settings.js +14 -0
- package/dist/api/generated/models/network-provision-input.d.ts +37 -0
- package/dist/api/generated/models/network-provision-input.js +14 -0
- package/dist/api/generated/models/network-relation.d.ts +84 -0
- package/dist/api/generated/models/network-relation.js +14 -0
- package/dist/api/generated/models/network.d.ts +94 -0
- package/dist/api/generated/models/network.js +14 -0
- package/dist/api/generated/models/resource-type.d.ts +1 -0
- package/dist/api/generated/models/resource-type.js +1 -0
- package/dist/services/EnvironmentService.d.ts +2 -0
- package/dist/services/EnvironmentService.js +2 -0
- package/dist/services/NetworkService.d.ts +3 -0
- package/dist/services/NetworkService.js +7 -0
- package/package.json +1 -1
- /package/dist/api/generated/models/{action-summary-server.js → action-summary-target.js} +0 -0
- /package/dist/api/generated/models/{server-action-data.js → action-target-data.js} +0 -0
- /package/dist/api/generated/models/{server-action-log-step.js → action-target-log-step.js} +0 -0
- /package/dist/api/generated/models/{server-action.js → action-target-network-data.js} +0 -0
|
@@ -11,77 +11,83 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { ActionStatus } from './action-status';
|
|
13
13
|
import { ActionStep } from './action-step';
|
|
14
|
-
import {
|
|
14
|
+
import { ActionTargetData } from './action-target-data';
|
|
15
15
|
/**
|
|
16
|
-
* An object representing the action dispatched to a specific
|
|
16
|
+
* An object representing the action dispatched to a specific cloud resource target
|
|
17
17
|
* @export
|
|
18
|
-
* @interface
|
|
18
|
+
* @interface ActionTarget
|
|
19
19
|
*/
|
|
20
|
-
export interface
|
|
20
|
+
export interface ActionTarget {
|
|
21
21
|
/**
|
|
22
|
-
* The
|
|
22
|
+
* The type of the cloud resource on which the action must be performed
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof ActionTarget
|
|
25
|
+
*/
|
|
26
|
+
resource_type?: string;
|
|
27
|
+
/**
|
|
28
|
+
* The Id of the cloud resource on which the action must be performed
|
|
23
29
|
* @type {number}
|
|
24
|
-
* @memberof
|
|
30
|
+
* @memberof ActionTarget
|
|
25
31
|
*/
|
|
26
|
-
|
|
32
|
+
resource_id?: number;
|
|
27
33
|
/**
|
|
28
34
|
*
|
|
29
35
|
* @type {ActionStatus}
|
|
30
|
-
* @memberof
|
|
36
|
+
* @memberof ActionTarget
|
|
31
37
|
*/
|
|
32
38
|
status?: ActionStatus;
|
|
33
39
|
/**
|
|
34
40
|
* Human readable version of the action status
|
|
35
41
|
* @type {string}
|
|
36
|
-
* @memberof
|
|
42
|
+
* @memberof ActionTarget
|
|
37
43
|
*/
|
|
38
44
|
status_human_readable?: string;
|
|
39
45
|
/**
|
|
40
46
|
* The total number of steps to complete the action
|
|
41
47
|
* @type {number}
|
|
42
|
-
* @memberof
|
|
48
|
+
* @memberof ActionTarget
|
|
43
49
|
*/
|
|
44
50
|
total_steps?: number | null;
|
|
45
51
|
/**
|
|
46
52
|
*
|
|
47
53
|
* @type {ActionStep}
|
|
48
|
-
* @memberof
|
|
54
|
+
* @memberof ActionTarget
|
|
49
55
|
*/
|
|
50
56
|
current_step?: ActionStep | null;
|
|
51
57
|
/**
|
|
52
58
|
* The list of action steps
|
|
53
59
|
* @type {Array<ActionStep>}
|
|
54
|
-
* @memberof
|
|
60
|
+
* @memberof ActionTarget
|
|
55
61
|
*/
|
|
56
62
|
steps?: Array<ActionStep>;
|
|
57
63
|
/**
|
|
58
64
|
*
|
|
59
|
-
* @type {
|
|
60
|
-
* @memberof
|
|
65
|
+
* @type {ActionTargetData}
|
|
66
|
+
* @memberof ActionTarget
|
|
61
67
|
*/
|
|
62
|
-
|
|
68
|
+
resource_data?: ActionTargetData | null;
|
|
63
69
|
/**
|
|
64
70
|
* The date and time when the action started execution (i.e., left the `pending/queued` status)
|
|
65
71
|
* @type {string}
|
|
66
|
-
* @memberof
|
|
72
|
+
* @memberof ActionTarget
|
|
67
73
|
*/
|
|
68
74
|
started_at?: string | null;
|
|
69
75
|
/**
|
|
70
76
|
* The date and time when the action has finished execution
|
|
71
77
|
* @type {string}
|
|
72
|
-
* @memberof
|
|
78
|
+
* @memberof ActionTarget
|
|
73
79
|
*/
|
|
74
80
|
completed_at?: string | null;
|
|
75
81
|
/**
|
|
76
82
|
* The date and time when the record was created
|
|
77
83
|
* @type {string}
|
|
78
|
-
* @memberof
|
|
84
|
+
* @memberof ActionTarget
|
|
79
85
|
*/
|
|
80
86
|
created_at?: string;
|
|
81
87
|
/**
|
|
82
88
|
* The date and time when the record was last updated
|
|
83
89
|
* @type {string}
|
|
84
|
-
* @memberof
|
|
90
|
+
* @memberof ActionTarget
|
|
85
91
|
*/
|
|
86
92
|
updated_at?: string;
|
|
87
93
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* devopness API
|
|
5
|
+
* Devopness API - Painless essential DevOps to everyone
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: latest
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -14,12 +14,12 @@ import { ActionHookRequest } from './action-hook-request';
|
|
|
14
14
|
import { ActionResource } from './action-resource';
|
|
15
15
|
import { ActionStatus } from './action-status';
|
|
16
16
|
import { ActionSummary } from './action-summary';
|
|
17
|
+
import { ActionTarget } from './action-target';
|
|
17
18
|
import { ActionTriggeredFrom } from './action-triggered-from';
|
|
18
19
|
import { ActionType } from './action-type';
|
|
19
20
|
import { EnvironmentRelation } from './environment-relation';
|
|
20
21
|
import { ProjectRelation } from './project-relation';
|
|
21
22
|
import { RelatedAction } from './related-action';
|
|
22
|
-
import { ServerAction } from './server-action';
|
|
23
23
|
import { UserRelation } from './user-relation';
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
@@ -130,11 +130,11 @@ export interface Action {
|
|
|
130
130
|
*/
|
|
131
131
|
project?: ProjectRelation | null;
|
|
132
132
|
/**
|
|
133
|
-
* List of actions dispatched to
|
|
134
|
-
* @type {Array<
|
|
133
|
+
* List of actions dispatched to cloud resource targets
|
|
134
|
+
* @type {Array<ActionTarget>}
|
|
135
135
|
* @memberof Action
|
|
136
136
|
*/
|
|
137
|
-
|
|
137
|
+
targets?: Array<ActionTarget>;
|
|
138
138
|
/**
|
|
139
139
|
*
|
|
140
140
|
* @type {ActionHookRequest}
|
|
@@ -13,6 +13,7 @@ import { ApplicationRelation } from './application-relation';
|
|
|
13
13
|
import { CronJobRelation } from './cron-job-relation';
|
|
14
14
|
import { DaemonRelation } from './daemon-relation';
|
|
15
15
|
import { EnvironmentType } from './environment-type';
|
|
16
|
+
import { NetworkRelation } from './network-relation';
|
|
16
17
|
import { NetworkRuleRelation } from './network-rule-relation';
|
|
17
18
|
import { ServerRelation } from './server-relation';
|
|
18
19
|
import { ServiceRelation } from './service-relation';
|
|
@@ -73,6 +74,12 @@ export interface Environment {
|
|
|
73
74
|
* @memberof Environment
|
|
74
75
|
*/
|
|
75
76
|
daemons: Array<DaemonRelation>;
|
|
77
|
+
/**
|
|
78
|
+
*
|
|
79
|
+
* @type {Array<NetworkRelation>}
|
|
80
|
+
* @memberof Environment
|
|
81
|
+
*/
|
|
82
|
+
networks: Array<NetworkRelation>;
|
|
76
83
|
/**
|
|
77
84
|
*
|
|
78
85
|
* @type {Array<NetworkRuleRelation>}
|
|
@@ -11,7 +11,12 @@ export * from './action-retry-response';
|
|
|
11
11
|
export * from './action-status';
|
|
12
12
|
export * from './action-step';
|
|
13
13
|
export * from './action-summary';
|
|
14
|
-
export * from './action-summary-
|
|
14
|
+
export * from './action-summary-target';
|
|
15
|
+
export * from './action-target';
|
|
16
|
+
export * from './action-target-data';
|
|
17
|
+
export * from './action-target-log-step';
|
|
18
|
+
export * from './action-target-network-data';
|
|
19
|
+
export * from './action-target-server-data';
|
|
15
20
|
export * from './action-trigger-type';
|
|
16
21
|
export * from './action-triggered-from';
|
|
17
22
|
export * from './action-type';
|
|
@@ -102,6 +107,14 @@ export * from './linked-resource-data';
|
|
|
102
107
|
export * from './log';
|
|
103
108
|
export * from './member';
|
|
104
109
|
export * from './member-relation';
|
|
110
|
+
export * from './network';
|
|
111
|
+
export * from './network-environment-create';
|
|
112
|
+
export * from './network-provision-input';
|
|
113
|
+
export * from './network-provision-input-settings';
|
|
114
|
+
export * from './network-provision-input-settings-aws';
|
|
115
|
+
export * from './network-provision-input-settings-digital-ocean';
|
|
116
|
+
export * from './network-provision-input-settings-gcp';
|
|
117
|
+
export * from './network-relation';
|
|
105
118
|
export * from './network-rule';
|
|
106
119
|
export * from './network-rule-environment-create';
|
|
107
120
|
export * from './network-rule-protocol';
|
|
@@ -144,9 +157,6 @@ export * from './role-relation';
|
|
|
144
157
|
export * from './role-update';
|
|
145
158
|
export * from './script-runner';
|
|
146
159
|
export * from './server';
|
|
147
|
-
export * from './server-action';
|
|
148
|
-
export * from './server-action-data';
|
|
149
|
-
export * from './server-action-log-step';
|
|
150
160
|
export * from './server-blueprint';
|
|
151
161
|
export * from './server-blueprint-spec';
|
|
152
162
|
export * from './server-cloud-service';
|
|
@@ -27,7 +27,12 @@ __exportStar(require("./action-retry-response"), exports);
|
|
|
27
27
|
__exportStar(require("./action-status"), exports);
|
|
28
28
|
__exportStar(require("./action-step"), exports);
|
|
29
29
|
__exportStar(require("./action-summary"), exports);
|
|
30
|
-
__exportStar(require("./action-summary-
|
|
30
|
+
__exportStar(require("./action-summary-target"), exports);
|
|
31
|
+
__exportStar(require("./action-target"), exports);
|
|
32
|
+
__exportStar(require("./action-target-data"), exports);
|
|
33
|
+
__exportStar(require("./action-target-log-step"), exports);
|
|
34
|
+
__exportStar(require("./action-target-network-data"), exports);
|
|
35
|
+
__exportStar(require("./action-target-server-data"), exports);
|
|
31
36
|
__exportStar(require("./action-trigger-type"), exports);
|
|
32
37
|
__exportStar(require("./action-triggered-from"), exports);
|
|
33
38
|
__exportStar(require("./action-type"), exports);
|
|
@@ -118,6 +123,14 @@ __exportStar(require("./linked-resource-data"), exports);
|
|
|
118
123
|
__exportStar(require("./log"), exports);
|
|
119
124
|
__exportStar(require("./member"), exports);
|
|
120
125
|
__exportStar(require("./member-relation"), exports);
|
|
126
|
+
__exportStar(require("./network"), exports);
|
|
127
|
+
__exportStar(require("./network-environment-create"), exports);
|
|
128
|
+
__exportStar(require("./network-provision-input"), exports);
|
|
129
|
+
__exportStar(require("./network-provision-input-settings"), exports);
|
|
130
|
+
__exportStar(require("./network-provision-input-settings-aws"), exports);
|
|
131
|
+
__exportStar(require("./network-provision-input-settings-digital-ocean"), exports);
|
|
132
|
+
__exportStar(require("./network-provision-input-settings-gcp"), exports);
|
|
133
|
+
__exportStar(require("./network-relation"), exports);
|
|
121
134
|
__exportStar(require("./network-rule"), exports);
|
|
122
135
|
__exportStar(require("./network-rule-environment-create"), exports);
|
|
123
136
|
__exportStar(require("./network-rule-protocol"), exports);
|
|
@@ -160,9 +173,6 @@ __exportStar(require("./role-relation"), exports);
|
|
|
160
173
|
__exportStar(require("./role-update"), exports);
|
|
161
174
|
__exportStar(require("./script-runner"), exports);
|
|
162
175
|
__exportStar(require("./server"), exports);
|
|
163
|
-
__exportStar(require("./server-action"), exports);
|
|
164
|
-
__exportStar(require("./server-action-data"), exports);
|
|
165
|
-
__exportStar(require("./server-action-log-step"), exports);
|
|
166
176
|
__exportStar(require("./server-blueprint"), exports);
|
|
167
177
|
__exportStar(require("./server-blueprint-spec"), exports);
|
|
168
178
|
__exportStar(require("./server-cloud-service"), exports);
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
12
|
+
import { ActionTargetData } from './action-target-data';
|
|
13
|
+
import { ActionTargetLogStep } from './action-target-log-step';
|
|
14
14
|
/**
|
|
15
15
|
*
|
|
16
16
|
* @export
|
|
@@ -19,16 +19,16 @@ import { ServerActionLogStep } from './server-action-log-step';
|
|
|
19
19
|
export interface Log {
|
|
20
20
|
/**
|
|
21
21
|
*
|
|
22
|
-
* @type {
|
|
22
|
+
* @type {ActionTargetData}
|
|
23
23
|
* @memberof Log
|
|
24
24
|
*/
|
|
25
|
-
|
|
25
|
+
target: ActionTargetData | null;
|
|
26
26
|
/**
|
|
27
27
|
*
|
|
28
|
-
* @type {
|
|
28
|
+
* @type {ActionTargetLogStep}
|
|
29
29
|
* @memberof Log
|
|
30
30
|
*/
|
|
31
|
-
step:
|
|
31
|
+
step: ActionTargetLogStep | null;
|
|
32
32
|
/**
|
|
33
33
|
* The date and time when the requested log record was last updated
|
|
34
34
|
* @type {string}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* devopness API
|
|
3
|
+
* Devopness API - Painless essential DevOps to everyone
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: latest
|
|
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 { NetworkProvisionInput } from './network-provision-input';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface NetworkEnvironmentCreate
|
|
17
|
+
*/
|
|
18
|
+
export interface NetworkEnvironmentCreate {
|
|
19
|
+
/**
|
|
20
|
+
* The network\'s name. The value format is invalid. Must be between 1 and 64 characters.
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof NetworkEnvironmentCreate
|
|
23
|
+
*/
|
|
24
|
+
name: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {NetworkProvisionInput}
|
|
28
|
+
* @memberof NetworkEnvironmentCreate
|
|
29
|
+
*/
|
|
30
|
+
provision_input: NetworkProvisionInput;
|
|
31
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* devopness API
|
|
5
|
+
* Devopness API - Painless essential DevOps to everyone
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: latest
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* devopness API
|
|
3
|
+
* Devopness API - Painless essential DevOps to everyone
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: latest
|
|
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
|
+
* @interface NetworkProvisionInputSettingsAws
|
|
16
|
+
*/
|
|
17
|
+
export interface NetworkProvisionInputSettingsAws {
|
|
18
|
+
/**
|
|
19
|
+
* The cloud provider region where the network will be created
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof NetworkProvisionInputSettingsAws
|
|
22
|
+
*/
|
|
23
|
+
region: string;
|
|
24
|
+
/**
|
|
25
|
+
* The IP CIDR range of the network
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof NetworkProvisionInputSettingsAws
|
|
28
|
+
*/
|
|
29
|
+
cidr_block: string;
|
|
30
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* devopness API
|
|
5
|
+
* Devopness API - Painless essential DevOps to everyone
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: latest
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* devopness API
|
|
3
|
+
* Devopness API - Painless essential DevOps to everyone
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: latest
|
|
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
|
+
* @interface NetworkProvisionInputSettingsDigitalOcean
|
|
16
|
+
*/
|
|
17
|
+
export interface NetworkProvisionInputSettingsDigitalOcean {
|
|
18
|
+
/**
|
|
19
|
+
* The cloud provider region where the network will be created
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof NetworkProvisionInputSettingsDigitalOcean
|
|
22
|
+
*/
|
|
23
|
+
region: string;
|
|
24
|
+
/**
|
|
25
|
+
* The IP CIDR range of the network
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof NetworkProvisionInputSettingsDigitalOcean
|
|
28
|
+
*/
|
|
29
|
+
cidr_block: string;
|
|
30
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* devopness API
|
|
5
|
+
* Devopness API - Painless essential DevOps to everyone
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: latest
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* devopness API
|
|
3
|
+
* Devopness API - Painless essential DevOps to everyone
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: latest
|
|
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
|
+
* @interface NetworkProvisionInputSettingsGcp
|
|
16
|
+
*/
|
|
17
|
+
export interface NetworkProvisionInputSettingsGcp {
|
|
18
|
+
/**
|
|
19
|
+
* The cloud provider region where the network will be created
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof NetworkProvisionInputSettingsGcp
|
|
22
|
+
*/
|
|
23
|
+
region: string;
|
|
24
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* devopness API
|
|
5
|
+
* Devopness API - Painless essential DevOps to everyone
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: latest
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* devopness API
|
|
3
|
+
* Devopness API - Painless essential DevOps to everyone
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: latest
|
|
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 { NetworkProvisionInputSettingsAws } from './network-provision-input-settings-aws';
|
|
13
|
+
import { NetworkProvisionInputSettingsDigitalOcean } from './network-provision-input-settings-digital-ocean';
|
|
14
|
+
import { NetworkProvisionInputSettingsGcp } from './network-provision-input-settings-gcp';
|
|
15
|
+
/**
|
|
16
|
+
* @type NetworkProvisionInputSettings
|
|
17
|
+
* @export
|
|
18
|
+
*/
|
|
19
|
+
export declare type NetworkProvisionInputSettings = NetworkProvisionInputSettingsAws | NetworkProvisionInputSettingsDigitalOcean | NetworkProvisionInputSettingsGcp;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* devopness API
|
|
5
|
+
* Devopness API - Painless essential DevOps to everyone
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: latest
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* devopness API
|
|
3
|
+
* Devopness API - Painless essential DevOps to everyone
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: latest
|
|
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 { NetworkProvisionInputSettings } from './network-provision-input-settings';
|
|
13
|
+
/**
|
|
14
|
+
* Network provision input parameters
|
|
15
|
+
* @export
|
|
16
|
+
* @interface NetworkProvisionInput
|
|
17
|
+
*/
|
|
18
|
+
export interface NetworkProvisionInput {
|
|
19
|
+
/**
|
|
20
|
+
* The cloud service of the cloud provicer
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof NetworkProvisionInput
|
|
23
|
+
*/
|
|
24
|
+
cloud_service_code: string;
|
|
25
|
+
/**
|
|
26
|
+
* The ID of the cloud credential
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof NetworkProvisionInput
|
|
29
|
+
*/
|
|
30
|
+
credential_id: number;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {NetworkProvisionInputSettings}
|
|
34
|
+
* @memberof NetworkProvisionInput
|
|
35
|
+
*/
|
|
36
|
+
settings: NetworkProvisionInputSettings;
|
|
37
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* devopness API
|
|
5
|
+
* Devopness API - Painless essential DevOps to everyone
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: latest
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* devopness API
|
|
3
|
+
* Devopness API - Painless essential DevOps to everyone
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: latest
|
|
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
|
+
* @interface NetworkRelation
|
|
16
|
+
*/
|
|
17
|
+
export interface NetworkRelation {
|
|
18
|
+
/**
|
|
19
|
+
* The unique id of the given record
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof NetworkRelation
|
|
22
|
+
*/
|
|
23
|
+
id: number;
|
|
24
|
+
/**
|
|
25
|
+
* Numeric ID of the project to which the network belongs to
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof NetworkRelation
|
|
28
|
+
*/
|
|
29
|
+
project_id: number;
|
|
30
|
+
/**
|
|
31
|
+
* Numeric ID of the environment to which the network belongs to
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof NetworkRelation
|
|
34
|
+
*/
|
|
35
|
+
environment_id: number;
|
|
36
|
+
/**
|
|
37
|
+
* The id of the user who created the network
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof NetworkRelation
|
|
40
|
+
*/
|
|
41
|
+
created_by: number;
|
|
42
|
+
/**
|
|
43
|
+
* The name of the cloud provider
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof NetworkRelation
|
|
46
|
+
*/
|
|
47
|
+
provider_name: string;
|
|
48
|
+
/**
|
|
49
|
+
* The human readable version of the provider\'s name
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof NetworkRelation
|
|
52
|
+
*/
|
|
53
|
+
provider_name_human_readable: string;
|
|
54
|
+
/**
|
|
55
|
+
* The networks\'s name
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof NetworkRelation
|
|
58
|
+
*/
|
|
59
|
+
name: string;
|
|
60
|
+
/**
|
|
61
|
+
* The cloud provider region where the network are created
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof NetworkRelation
|
|
64
|
+
*/
|
|
65
|
+
region: string;
|
|
66
|
+
/**
|
|
67
|
+
* The IP CIDR range of the network
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof NetworkRelation
|
|
70
|
+
*/
|
|
71
|
+
cidr_block: string | null;
|
|
72
|
+
/**
|
|
73
|
+
* The date and time when the record was created
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof NetworkRelation
|
|
76
|
+
*/
|
|
77
|
+
created_at: string;
|
|
78
|
+
/**
|
|
79
|
+
* The date and time when the record was last updated
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof NetworkRelation
|
|
82
|
+
*/
|
|
83
|
+
updated_at: string;
|
|
84
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* devopness API
|
|
5
|
+
* Devopness API - Painless essential DevOps to everyone
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: latest
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|