@devopness/sdk-js 2.81.0 → 2.82.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/networks-api.d.ts +6 -0
- package/dist/api/generated/apis/networks-api.js +16 -0
- package/dist/api/generated/apis/networks-subnets-api.d.ts +36 -0
- package/dist/api/generated/apis/networks-subnets-api.js +78 -0
- package/dist/api/generated/apis/subnets-api.d.ts +25 -0
- package/dist/api/generated/apis/subnets-api.js +49 -0
- package/dist/api/generated/models/action-target.d.ts +6 -0
- package/dist/api/generated/models/{cloud-provider-credential-settings.d.ts → cloud-provider-input-settings.d.ts} +7 -7
- package/dist/api/generated/models/cloud-provider-relation.d.ts +42 -0
- package/dist/api/generated/models/cloud-provider-relation.js +14 -0
- package/dist/api/generated/models/cloud-provider-service-region.d.ts +6 -0
- package/dist/api/generated/models/cloud-provider-service-resource-type-scope.d.ts +21 -0
- package/dist/api/generated/models/cloud-provider-service-resource-type-scope.js +26 -0
- package/dist/api/generated/models/cloud-provider-service-resource-type.d.ts +44 -0
- package/dist/api/generated/models/cloud-provider-service-resource-type.js +14 -0
- package/dist/api/generated/models/cloud-provider-service.d.ts +14 -0
- package/dist/api/generated/models/cloud-provider-settings-list.d.ts +3 -3
- package/dist/api/generated/models/index.d.ts +13 -1
- package/dist/api/generated/models/index.js +13 -1
- package/dist/api/generated/models/network-environment-create.d.ts +1 -1
- package/dist/api/generated/models/resource-type.d.ts +2 -1
- package/dist/api/generated/models/resource-type.js +1 -0
- package/dist/api/generated/models/server-environment-create.d.ts +1 -1
- package/dist/api/generated/models/subnet-network-create.d.ts +38 -0
- package/dist/api/generated/models/subnet-network-create.js +14 -0
- package/dist/api/generated/models/subnet-provision-input-settings-aws.d.ts +30 -0
- package/dist/api/generated/models/subnet-provision-input-settings-aws.js +14 -0
- package/dist/api/generated/models/subnet-provision-input-settings-digital-ocean.d.ts +24 -0
- package/dist/api/generated/models/subnet-provision-input-settings-digital-ocean.js +14 -0
- package/dist/api/generated/models/subnet-provision-input-settings-gcp.d.ts +36 -0
- package/dist/api/generated/models/subnet-provision-input-settings-gcp.js +14 -0
- package/dist/api/generated/models/subnet-provision-input-settings.d.ts +19 -0
- package/dist/api/generated/models/subnet-provision-input-settings.js +14 -0
- package/dist/api/generated/models/subnet-provision-input.d.ts +31 -0
- package/dist/api/generated/models/subnet-provision-input.js +14 -0
- package/dist/api/generated/models/subnet-relation.d.ts +86 -0
- package/dist/api/generated/models/subnet-relation.js +14 -0
- package/dist/api/generated/models/subnet-type.d.ts +20 -0
- package/dist/api/generated/models/subnet-type.js +25 -0
- package/dist/api/generated/models/subnet.d.ts +97 -0
- package/dist/api/generated/models/subnet.js +14 -0
- package/dist/services/NetworkService.d.ts +2 -0
- package/dist/services/NetworkService.js +5 -0
- package/dist/services/SubnetService.d.ts +3 -0
- package/dist/services/SubnetService.js +7 -0
- package/package.json +1 -1
- /package/dist/api/generated/models/{cloud-provider-credential-settings.js → cloud-provider-input-settings.js} +0 -0
|
@@ -23,6 +23,7 @@ import { SourceProviderService } from './services/SourceProviderService';
|
|
|
23
23
|
import { SshKeyService } from './services/SshKeyService';
|
|
24
24
|
import { SslCertificateService } from './services/SslCertificateService';
|
|
25
25
|
import { StaticService } from './services/StaticService';
|
|
26
|
+
import { SubnetService } from './services/SubnetService';
|
|
26
27
|
import { TeamInvitationService } from './services/TeamInvitationService';
|
|
27
28
|
import { TeamService } from './services/TeamService';
|
|
28
29
|
import { UserService } from './services/UserService';
|
|
@@ -52,6 +53,7 @@ export declare class DevopnessApiClient {
|
|
|
52
53
|
sshKeys: SshKeyService;
|
|
53
54
|
sslCertificates: SslCertificateService;
|
|
54
55
|
static: StaticService;
|
|
56
|
+
subnets: SubnetService;
|
|
55
57
|
teamInvitations: TeamInvitationService;
|
|
56
58
|
teams: TeamService;
|
|
57
59
|
users: UserService;
|
|
@@ -26,6 +26,7 @@ const SourceProviderService_1 = require("./services/SourceProviderService");
|
|
|
26
26
|
const SshKeyService_1 = require("./services/SshKeyService");
|
|
27
27
|
const SslCertificateService_1 = require("./services/SslCertificateService");
|
|
28
28
|
const StaticService_1 = require("./services/StaticService");
|
|
29
|
+
const SubnetService_1 = require("./services/SubnetService");
|
|
29
30
|
const TeamInvitationService_1 = require("./services/TeamInvitationService");
|
|
30
31
|
const TeamService_1 = require("./services/TeamService");
|
|
31
32
|
const UserService_1 = require("./services/UserService");
|
|
@@ -60,6 +61,7 @@ class DevopnessApiClient {
|
|
|
60
61
|
this.sshKeys = new SshKeyService_1.SshKeyService();
|
|
61
62
|
this.sslCertificates = new SslCertificateService_1.SslCertificateService();
|
|
62
63
|
this.static = new StaticService_1.StaticService();
|
|
64
|
+
this.subnets = new SubnetService_1.SubnetService();
|
|
63
65
|
this.teamInvitations = new TeamInvitationService_1.TeamInvitationService();
|
|
64
66
|
this.teams = new TeamService_1.TeamService();
|
|
65
67
|
this.users = new UserService_1.UserService();
|
|
@@ -16,6 +16,12 @@ import { Network } from '../../generated/models';
|
|
|
16
16
|
* NetworksApiService - Auto-generated
|
|
17
17
|
*/
|
|
18
18
|
export declare class NetworksApiService extends ApiBaseService {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @summary Delete a given network
|
|
22
|
+
* @param {number} networkId The ID of the network.
|
|
23
|
+
*/
|
|
24
|
+
deleteNetwork(networkId: number): Promise<ApiResponse<void>>;
|
|
19
25
|
/**
|
|
20
26
|
*
|
|
21
27
|
* @summary Get a network by ID
|
|
@@ -29,6 +29,22 @@ const Exceptions_1 = require("../../../common/Exceptions");
|
|
|
29
29
|
* NetworksApiService - Auto-generated
|
|
30
30
|
*/
|
|
31
31
|
class NetworksApiService extends ApiBaseService_1.ApiBaseService {
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @summary Delete a given network
|
|
35
|
+
* @param {number} networkId The ID of the network.
|
|
36
|
+
*/
|
|
37
|
+
deleteNetwork(networkId) {
|
|
38
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
39
|
+
if (networkId === null || networkId === undefined) {
|
|
40
|
+
throw new Exceptions_1.ArgumentNullException('networkId', 'deleteNetwork');
|
|
41
|
+
}
|
|
42
|
+
let queryString = '';
|
|
43
|
+
const requestUrl = '/networks/{network_id}' + (queryString ? `?${queryString}` : '');
|
|
44
|
+
const response = yield this.delete(requestUrl.replace(`{${"network_id"}}`, encodeURIComponent(String(networkId))));
|
|
45
|
+
return new ApiResponse_1.ApiResponse(response);
|
|
46
|
+
});
|
|
47
|
+
}
|
|
32
48
|
/**
|
|
33
49
|
*
|
|
34
50
|
* @summary Get a network by ID
|
|
@@ -0,0 +1,36 @@
|
|
|
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 { ApiBaseService } from "../../../services/ApiBaseService";
|
|
13
|
+
import { ApiResponse } from "../../../common/ApiResponse";
|
|
14
|
+
import { Subnet } from '../../generated/models';
|
|
15
|
+
import { SubnetNetworkCreate } from '../../generated/models';
|
|
16
|
+
import { SubnetRelation } from '../../generated/models';
|
|
17
|
+
/**
|
|
18
|
+
* NetworksSubnetsApiService - Auto-generated
|
|
19
|
+
*/
|
|
20
|
+
export declare class NetworksSubnetsApiService extends ApiBaseService {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @summary Create a new subnet for the given network
|
|
24
|
+
* @param {number} networkId The ID of the network.
|
|
25
|
+
* @param {SubnetNetworkCreate} subnetNetworkCreate A JSON object containing the resource data
|
|
26
|
+
*/
|
|
27
|
+
addNetworkSubnet(networkId: number, subnetNetworkCreate: SubnetNetworkCreate): Promise<ApiResponse<Subnet>>;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @summary Return a list of all subnets belonging to a network
|
|
31
|
+
* @param {number} networkId The ID of the network.
|
|
32
|
+
* @param {number} [page] Number of the page to be retrieved
|
|
33
|
+
* @param {number} [perPage] Number of items returned per page
|
|
34
|
+
*/
|
|
35
|
+
listNetworkSubnets(networkId: number, page?: number, perPage?: number): Promise<ApiResponse<Array<SubnetRelation>>>;
|
|
36
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
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
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
15
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
16
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
17
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
18
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
19
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
20
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
24
|
+
exports.NetworksSubnetsApiService = void 0;
|
|
25
|
+
const ApiBaseService_1 = require("../../../services/ApiBaseService");
|
|
26
|
+
const ApiResponse_1 = require("../../../common/ApiResponse");
|
|
27
|
+
const Exceptions_1 = require("../../../common/Exceptions");
|
|
28
|
+
/**
|
|
29
|
+
* NetworksSubnetsApiService - Auto-generated
|
|
30
|
+
*/
|
|
31
|
+
class NetworksSubnetsApiService extends ApiBaseService_1.ApiBaseService {
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @summary Create a new subnet for the given network
|
|
35
|
+
* @param {number} networkId The ID of the network.
|
|
36
|
+
* @param {SubnetNetworkCreate} subnetNetworkCreate A JSON object containing the resource data
|
|
37
|
+
*/
|
|
38
|
+
addNetworkSubnet(networkId, subnetNetworkCreate) {
|
|
39
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
40
|
+
if (networkId === null || networkId === undefined) {
|
|
41
|
+
throw new Exceptions_1.ArgumentNullException('networkId', 'addNetworkSubnet');
|
|
42
|
+
}
|
|
43
|
+
if (subnetNetworkCreate === null || subnetNetworkCreate === undefined) {
|
|
44
|
+
throw new Exceptions_1.ArgumentNullException('subnetNetworkCreate', 'addNetworkSubnet');
|
|
45
|
+
}
|
|
46
|
+
let queryString = '';
|
|
47
|
+
const requestUrl = '/networks/{network_id}/subnets' + (queryString ? `?${queryString}` : '');
|
|
48
|
+
const response = yield this.post(requestUrl.replace(`{${"network_id"}}`, encodeURIComponent(String(networkId))), subnetNetworkCreate);
|
|
49
|
+
return new ApiResponse_1.ApiResponse(response);
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @summary Return a list of all subnets belonging to a network
|
|
55
|
+
* @param {number} networkId The ID of the network.
|
|
56
|
+
* @param {number} [page] Number of the page to be retrieved
|
|
57
|
+
* @param {number} [perPage] Number of items returned per page
|
|
58
|
+
*/
|
|
59
|
+
listNetworkSubnets(networkId, page, perPage) {
|
|
60
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
61
|
+
if (networkId === null || networkId === undefined) {
|
|
62
|
+
throw new Exceptions_1.ArgumentNullException('networkId', 'listNetworkSubnets');
|
|
63
|
+
}
|
|
64
|
+
let queryString = '';
|
|
65
|
+
const queryParams = { page: page, per_page: perPage, };
|
|
66
|
+
for (const key in queryParams) {
|
|
67
|
+
if (queryParams[key] === undefined || queryParams[key] === null) {
|
|
68
|
+
continue;
|
|
69
|
+
}
|
|
70
|
+
queryString += (queryString ? '&' : '') + `${key}=${encodeURI(queryParams[key])}`;
|
|
71
|
+
}
|
|
72
|
+
const requestUrl = '/networks/{network_id}/subnets' + (queryString ? `?${queryString}` : '');
|
|
73
|
+
const response = yield this.get(requestUrl.replace(`{${"network_id"}}`, encodeURIComponent(String(networkId))));
|
|
74
|
+
return new ApiResponse_1.ApiResponse(response);
|
|
75
|
+
});
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
exports.NetworksSubnetsApiService = NetworksSubnetsApiService;
|
|
@@ -0,0 +1,25 @@
|
|
|
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 { ApiBaseService } from "../../../services/ApiBaseService";
|
|
13
|
+
import { ApiResponse } from "../../../common/ApiResponse";
|
|
14
|
+
import { Subnet } from '../../generated/models';
|
|
15
|
+
/**
|
|
16
|
+
* SubnetsApiService - Auto-generated
|
|
17
|
+
*/
|
|
18
|
+
export declare class SubnetsApiService extends ApiBaseService {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @summary Get a subnet by ID
|
|
22
|
+
* @param {number} subnetId The ID of the subnet.
|
|
23
|
+
*/
|
|
24
|
+
getSubnet(subnetId: number): Promise<ApiResponse<Subnet>>;
|
|
25
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
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
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
15
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
16
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
17
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
18
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
19
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
20
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
24
|
+
exports.SubnetsApiService = void 0;
|
|
25
|
+
const ApiBaseService_1 = require("../../../services/ApiBaseService");
|
|
26
|
+
const ApiResponse_1 = require("../../../common/ApiResponse");
|
|
27
|
+
const Exceptions_1 = require("../../../common/Exceptions");
|
|
28
|
+
/**
|
|
29
|
+
* SubnetsApiService - Auto-generated
|
|
30
|
+
*/
|
|
31
|
+
class SubnetsApiService extends ApiBaseService_1.ApiBaseService {
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @summary Get a subnet by ID
|
|
35
|
+
* @param {number} subnetId The ID of the subnet.
|
|
36
|
+
*/
|
|
37
|
+
getSubnet(subnetId) {
|
|
38
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
39
|
+
if (subnetId === null || subnetId === undefined) {
|
|
40
|
+
throw new Exceptions_1.ArgumentNullException('subnetId', 'getSubnet');
|
|
41
|
+
}
|
|
42
|
+
let queryString = '';
|
|
43
|
+
const requestUrl = '/subnets/{subnet_id}' + (queryString ? `?${queryString}` : '');
|
|
44
|
+
const response = yield this.get(requestUrl.replace(`{${"subnet_id"}}`, encodeURIComponent(String(subnetId))));
|
|
45
|
+
return new ApiResponse_1.ApiResponse(response);
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
exports.SubnetsApiService = SubnetsApiService;
|
|
@@ -24,6 +24,12 @@ export interface ActionTarget {
|
|
|
24
24
|
* @memberof ActionTarget
|
|
25
25
|
*/
|
|
26
26
|
resource_type?: string;
|
|
27
|
+
/**
|
|
28
|
+
* Human readable version of the resource type
|
|
29
|
+
* @type {string}
|
|
30
|
+
* @memberof ActionTarget
|
|
31
|
+
*/
|
|
32
|
+
resource_type_human_readable?: string;
|
|
27
33
|
/**
|
|
28
34
|
* The Id of the cloud resource on which the action must be performed
|
|
29
35
|
* @type {number}
|
|
@@ -13,37 +13,37 @@ import { CloudProviderPropertyValidation } from './cloud-provider-property-valid
|
|
|
13
13
|
/**
|
|
14
14
|
* Cloud provider credential settings
|
|
15
15
|
* @export
|
|
16
|
-
* @interface
|
|
16
|
+
* @interface CloudProviderInputSettings
|
|
17
17
|
*/
|
|
18
|
-
export interface
|
|
18
|
+
export interface CloudProviderInputSettings {
|
|
19
19
|
/**
|
|
20
20
|
* Name of the property
|
|
21
21
|
* @type {string}
|
|
22
|
-
* @memberof
|
|
22
|
+
* @memberof CloudProviderInputSettings
|
|
23
23
|
*/
|
|
24
24
|
name: string;
|
|
25
25
|
/**
|
|
26
26
|
* Human readable version of the property\'s name
|
|
27
27
|
* @type {string}
|
|
28
|
-
* @memberof
|
|
28
|
+
* @memberof CloudProviderInputSettings
|
|
29
29
|
*/
|
|
30
30
|
name_human_readable: string;
|
|
31
31
|
/**
|
|
32
32
|
* Default property\'s value
|
|
33
33
|
* @type {string | number | boolean}
|
|
34
|
-
* @memberof
|
|
34
|
+
* @memberof CloudProviderInputSettings
|
|
35
35
|
*/
|
|
36
36
|
default_value: string | number | boolean | null;
|
|
37
37
|
/**
|
|
38
38
|
* Defines if the property data is a sensitive content
|
|
39
39
|
* @type {boolean}
|
|
40
|
-
* @memberof
|
|
40
|
+
* @memberof CloudProviderInputSettings
|
|
41
41
|
*/
|
|
42
42
|
sensitive: boolean;
|
|
43
43
|
/**
|
|
44
44
|
*
|
|
45
45
|
* @type {CloudProviderPropertyValidation}
|
|
46
|
-
* @memberof
|
|
46
|
+
* @memberof CloudProviderInputSettings
|
|
47
47
|
*/
|
|
48
48
|
validation: CloudProviderPropertyValidation;
|
|
49
49
|
}
|
|
@@ -0,0 +1,42 @@
|
|
|
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 CloudProviderRelation
|
|
16
|
+
*/
|
|
17
|
+
export interface CloudProviderRelation {
|
|
18
|
+
/**
|
|
19
|
+
* Cloud provider code
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CloudProviderRelation
|
|
22
|
+
*/
|
|
23
|
+
code: string;
|
|
24
|
+
/**
|
|
25
|
+
* Cloud provider name
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CloudProviderRelation
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
/**
|
|
31
|
+
* Text describing what is the provider
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CloudProviderRelation
|
|
34
|
+
*/
|
|
35
|
+
hint: string;
|
|
36
|
+
/**
|
|
37
|
+
* The provider\'s logo URL.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof CloudProviderRelation
|
|
40
|
+
*/
|
|
41
|
+
logo_url: string;
|
|
42
|
+
}
|
|
@@ -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 });
|
|
@@ -33,4 +33,10 @@ export interface CloudProviderServiceRegion {
|
|
|
33
33
|
* @memberof CloudProviderServiceRegion
|
|
34
34
|
*/
|
|
35
35
|
hint: string;
|
|
36
|
+
/**
|
|
37
|
+
* List of availability zones of the cloud provider region
|
|
38
|
+
* @type {Array<string>}
|
|
39
|
+
* @memberof CloudProviderServiceRegion
|
|
40
|
+
*/
|
|
41
|
+
zones: Array<string>;
|
|
36
42
|
}
|
|
@@ -0,0 +1,21 @@
|
|
|
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
|
+
* The resource type\'s scope
|
|
14
|
+
* @export
|
|
15
|
+
* @enum {string}
|
|
16
|
+
*/
|
|
17
|
+
export declare enum CloudProviderServiceResourceTypeScope {
|
|
18
|
+
Global = "global",
|
|
19
|
+
Region = "region",
|
|
20
|
+
Zone = "zone"
|
|
21
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
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 });
|
|
15
|
+
exports.CloudProviderServiceResourceTypeScope = void 0;
|
|
16
|
+
/**
|
|
17
|
+
* The resource type\'s scope
|
|
18
|
+
* @export
|
|
19
|
+
* @enum {string}
|
|
20
|
+
*/
|
|
21
|
+
var CloudProviderServiceResourceTypeScope;
|
|
22
|
+
(function (CloudProviderServiceResourceTypeScope) {
|
|
23
|
+
CloudProviderServiceResourceTypeScope["Global"] = "global";
|
|
24
|
+
CloudProviderServiceResourceTypeScope["Region"] = "region";
|
|
25
|
+
CloudProviderServiceResourceTypeScope["Zone"] = "zone";
|
|
26
|
+
})(CloudProviderServiceResourceTypeScope = exports.CloudProviderServiceResourceTypeScope || (exports.CloudProviderServiceResourceTypeScope = {}));
|
|
@@ -0,0 +1,44 @@
|
|
|
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 { CloudProviderInputSettings } from './cloud-provider-input-settings';
|
|
13
|
+
import { CloudProviderServiceResourceTypeScope } from './cloud-provider-service-resource-type-scope';
|
|
14
|
+
/**
|
|
15
|
+
* Resource type details
|
|
16
|
+
* @export
|
|
17
|
+
* @interface CloudProviderServiceResourceType
|
|
18
|
+
*/
|
|
19
|
+
export interface CloudProviderServiceResourceType {
|
|
20
|
+
/**
|
|
21
|
+
* The resource type\'s name on the cloud provider
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof CloudProviderServiceResourceType
|
|
24
|
+
*/
|
|
25
|
+
provider_resource_type: string;
|
|
26
|
+
/**
|
|
27
|
+
* The resource type\'s name on Devopness
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof CloudProviderServiceResourceType
|
|
30
|
+
*/
|
|
31
|
+
devopness_resource_type: string;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {CloudProviderServiceResourceTypeScope}
|
|
35
|
+
* @memberof CloudProviderServiceResourceType
|
|
36
|
+
*/
|
|
37
|
+
scope: CloudProviderServiceResourceTypeScope;
|
|
38
|
+
/**
|
|
39
|
+
* Settings of the cloud provider credential
|
|
40
|
+
* @type {Array<CloudProviderInputSettings>}
|
|
41
|
+
* @memberof CloudProviderServiceResourceType
|
|
42
|
+
*/
|
|
43
|
+
input_settings: Array<CloudProviderInputSettings>;
|
|
44
|
+
}
|
|
@@ -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 });
|
|
@@ -9,8 +9,10 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { CloudProviderRelation } from './cloud-provider-relation';
|
|
12
13
|
import { CloudProviderServiceCode } from './cloud-provider-service-code';
|
|
13
14
|
import { CloudProviderServiceRegion } from './cloud-provider-service-region';
|
|
15
|
+
import { CloudProviderServiceResourceType } from './cloud-provider-service-resource-type';
|
|
14
16
|
import { OperatingSystem } from './operating-system';
|
|
15
17
|
/**
|
|
16
18
|
*
|
|
@@ -30,6 +32,12 @@ export interface CloudProviderService {
|
|
|
30
32
|
* @memberof CloudProviderService
|
|
31
33
|
*/
|
|
32
34
|
name: string;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {CloudProviderRelation}
|
|
38
|
+
* @memberof CloudProviderService
|
|
39
|
+
*/
|
|
40
|
+
cloud_provider: CloudProviderRelation;
|
|
33
41
|
/**
|
|
34
42
|
*
|
|
35
43
|
* @type {Array<CloudProviderServiceRegion>}
|
|
@@ -42,4 +50,10 @@ export interface CloudProviderService {
|
|
|
42
50
|
* @memberof CloudProviderService
|
|
43
51
|
*/
|
|
44
52
|
os?: Array<OperatingSystem>;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {Array<CloudProviderServiceResourceType>}
|
|
56
|
+
* @memberof CloudProviderService
|
|
57
|
+
*/
|
|
58
|
+
resource_types?: Array<CloudProviderServiceResourceType>;
|
|
45
59
|
}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import {
|
|
12
|
+
import { CloudProviderInputSettings } from './cloud-provider-input-settings';
|
|
13
13
|
/**
|
|
14
14
|
* Settings of the cloud provider
|
|
15
15
|
* @export
|
|
@@ -18,8 +18,8 @@ import { CloudProviderCredentialSettings } from './cloud-provider-credential-set
|
|
|
18
18
|
export interface CloudProviderSettingsList {
|
|
19
19
|
/**
|
|
20
20
|
* Settings of the cloud provider credential
|
|
21
|
-
* @type {Array<
|
|
21
|
+
* @type {Array<CloudProviderInputSettings>}
|
|
22
22
|
* @memberof CloudProviderSettingsList
|
|
23
23
|
*/
|
|
24
|
-
credential?: Array<
|
|
24
|
+
credential?: Array<CloudProviderInputSettings>;
|
|
25
25
|
}
|
|
@@ -37,13 +37,16 @@ export * from './cloud-instance-relation';
|
|
|
37
37
|
export * from './cloud-os-version-code';
|
|
38
38
|
export * from './cloud-provider';
|
|
39
39
|
export * from './cloud-provider-code';
|
|
40
|
-
export * from './cloud-provider-
|
|
40
|
+
export * from './cloud-provider-input-settings';
|
|
41
41
|
export * from './cloud-provider-options-relation';
|
|
42
42
|
export * from './cloud-provider-property-type';
|
|
43
43
|
export * from './cloud-provider-property-validation';
|
|
44
|
+
export * from './cloud-provider-relation';
|
|
44
45
|
export * from './cloud-provider-service';
|
|
45
46
|
export * from './cloud-provider-service-code';
|
|
46
47
|
export * from './cloud-provider-service-region';
|
|
48
|
+
export * from './cloud-provider-service-resource-type';
|
|
49
|
+
export * from './cloud-provider-service-resource-type-scope';
|
|
47
50
|
export * from './cloud-provider-settings-list';
|
|
48
51
|
export * from './cloud-service-settings-aws-ec2';
|
|
49
52
|
export * from './cloud-service-settings-digital-ocean-droplet';
|
|
@@ -210,6 +213,15 @@ export * from './static-service-type-supported-versions';
|
|
|
210
213
|
export * from './step';
|
|
211
214
|
export * from './step-pipeline-create';
|
|
212
215
|
export * from './step-pipeline-update';
|
|
216
|
+
export * from './subnet';
|
|
217
|
+
export * from './subnet-network-create';
|
|
218
|
+
export * from './subnet-provision-input';
|
|
219
|
+
export * from './subnet-provision-input-settings';
|
|
220
|
+
export * from './subnet-provision-input-settings-aws';
|
|
221
|
+
export * from './subnet-provision-input-settings-digital-ocean';
|
|
222
|
+
export * from './subnet-provision-input-settings-gcp';
|
|
223
|
+
export * from './subnet-relation';
|
|
224
|
+
export * from './subnet-type';
|
|
213
225
|
export * from './subscription';
|
|
214
226
|
export * from './subscription-balance';
|
|
215
227
|
export * from './subscription-plan';
|
|
@@ -53,13 +53,16 @@ __exportStar(require("./cloud-instance-relation"), exports);
|
|
|
53
53
|
__exportStar(require("./cloud-os-version-code"), exports);
|
|
54
54
|
__exportStar(require("./cloud-provider"), exports);
|
|
55
55
|
__exportStar(require("./cloud-provider-code"), exports);
|
|
56
|
-
__exportStar(require("./cloud-provider-
|
|
56
|
+
__exportStar(require("./cloud-provider-input-settings"), exports);
|
|
57
57
|
__exportStar(require("./cloud-provider-options-relation"), exports);
|
|
58
58
|
__exportStar(require("./cloud-provider-property-type"), exports);
|
|
59
59
|
__exportStar(require("./cloud-provider-property-validation"), exports);
|
|
60
|
+
__exportStar(require("./cloud-provider-relation"), exports);
|
|
60
61
|
__exportStar(require("./cloud-provider-service"), exports);
|
|
61
62
|
__exportStar(require("./cloud-provider-service-code"), exports);
|
|
62
63
|
__exportStar(require("./cloud-provider-service-region"), exports);
|
|
64
|
+
__exportStar(require("./cloud-provider-service-resource-type"), exports);
|
|
65
|
+
__exportStar(require("./cloud-provider-service-resource-type-scope"), exports);
|
|
63
66
|
__exportStar(require("./cloud-provider-settings-list"), exports);
|
|
64
67
|
__exportStar(require("./cloud-service-settings-aws-ec2"), exports);
|
|
65
68
|
__exportStar(require("./cloud-service-settings-digital-ocean-droplet"), exports);
|
|
@@ -226,6 +229,15 @@ __exportStar(require("./static-service-type-supported-versions"), exports);
|
|
|
226
229
|
__exportStar(require("./step"), exports);
|
|
227
230
|
__exportStar(require("./step-pipeline-create"), exports);
|
|
228
231
|
__exportStar(require("./step-pipeline-update"), exports);
|
|
232
|
+
__exportStar(require("./subnet"), exports);
|
|
233
|
+
__exportStar(require("./subnet-network-create"), exports);
|
|
234
|
+
__exportStar(require("./subnet-provision-input"), exports);
|
|
235
|
+
__exportStar(require("./subnet-provision-input-settings"), exports);
|
|
236
|
+
__exportStar(require("./subnet-provision-input-settings-aws"), exports);
|
|
237
|
+
__exportStar(require("./subnet-provision-input-settings-digital-ocean"), exports);
|
|
238
|
+
__exportStar(require("./subnet-provision-input-settings-gcp"), exports);
|
|
239
|
+
__exportStar(require("./subnet-relation"), exports);
|
|
240
|
+
__exportStar(require("./subnet-type"), exports);
|
|
229
241
|
__exportStar(require("./subscription"), exports);
|
|
230
242
|
__exportStar(require("./subscription-balance"), exports);
|
|
231
243
|
__exportStar(require("./subscription-plan"), exports);
|
|
@@ -17,7 +17,7 @@ import { NetworkProvisionInput } from './network-provision-input';
|
|
|
17
17
|
*/
|
|
18
18
|
export interface NetworkEnvironmentCreate {
|
|
19
19
|
/**
|
|
20
|
-
* The network\'s name.
|
|
20
|
+
* The network\'s name. Must be between 1 and 63 characters.
|
|
21
21
|
* @type {string}
|
|
22
22
|
* @memberof NetworkEnvironmentCreate
|
|
23
23
|
*/
|
|
@@ -18,7 +18,7 @@ import { ServerProvisionSettings } from './server-provision-settings';
|
|
|
18
18
|
*/
|
|
19
19
|
export interface ServerEnvironmentCreate {
|
|
20
20
|
/**
|
|
21
|
-
* The hostname to be set on Linux servers. Accepts numbers (0-9), dash (-) and lower case non accented characters. Must
|
|
21
|
+
* The hostname to be set on Linux servers. Accepts numbers (0-9), dash (-) and lower case non accented characters. Must not be greater than 60 characters.
|
|
22
22
|
* @type {string}
|
|
23
23
|
* @memberof ServerEnvironmentCreate
|
|
24
24
|
*/
|
|
@@ -0,0 +1,38 @@
|
|
|
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 { SubnetProvisionInput } from './subnet-provision-input';
|
|
13
|
+
import { SubnetType } from './subnet-type';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface SubnetNetworkCreate
|
|
18
|
+
*/
|
|
19
|
+
export interface SubnetNetworkCreate {
|
|
20
|
+
/**
|
|
21
|
+
* The subnet\'s name. Must be between 1 and 63 characters.
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof SubnetNetworkCreate
|
|
24
|
+
*/
|
|
25
|
+
name: string;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {SubnetType}
|
|
29
|
+
* @memberof SubnetNetworkCreate
|
|
30
|
+
*/
|
|
31
|
+
type: SubnetType;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {SubnetProvisionInput}
|
|
35
|
+
* @memberof SubnetNetworkCreate
|
|
36
|
+
*/
|
|
37
|
+
provision_input: SubnetProvisionInput;
|
|
38
|
+
}
|
|
@@ -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 SubnetProvisionInputSettingsAws
|
|
16
|
+
*/
|
|
17
|
+
export interface SubnetProvisionInputSettingsAws {
|
|
18
|
+
/**
|
|
19
|
+
* The cloud provider availability zone where the subnet will be created
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SubnetProvisionInputSettingsAws
|
|
22
|
+
*/
|
|
23
|
+
zone: string;
|
|
24
|
+
/**
|
|
25
|
+
* The IP CIDR range of the subnet
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SubnetProvisionInputSettingsAws
|
|
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 SubnetProvisionInputSettingsDigitalOcean
|
|
16
|
+
*/
|
|
17
|
+
export interface SubnetProvisionInputSettingsDigitalOcean {
|
|
18
|
+
/**
|
|
19
|
+
* The IP CIDR range of the subnet
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SubnetProvisionInputSettingsDigitalOcean
|
|
22
|
+
*/
|
|
23
|
+
cidr_block: 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,36 @@
|
|
|
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 SubnetProvisionInputSettingsGcp
|
|
16
|
+
*/
|
|
17
|
+
export interface SubnetProvisionInputSettingsGcp {
|
|
18
|
+
/**
|
|
19
|
+
* The cloud provider region where the subnet will be created
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SubnetProvisionInputSettingsGcp
|
|
22
|
+
*/
|
|
23
|
+
region: string;
|
|
24
|
+
/**
|
|
25
|
+
* The cloud provider availability zone where the subnet will be created
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SubnetProvisionInputSettingsGcp
|
|
28
|
+
*/
|
|
29
|
+
zone: string;
|
|
30
|
+
/**
|
|
31
|
+
* The IP CIDR range of the subnet
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof SubnetProvisionInputSettingsGcp
|
|
34
|
+
*/
|
|
35
|
+
cidr_block: string;
|
|
36
|
+
}
|
|
@@ -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 { SubnetProvisionInputSettingsAws } from './subnet-provision-input-settings-aws';
|
|
13
|
+
import { SubnetProvisionInputSettingsDigitalOcean } from './subnet-provision-input-settings-digital-ocean';
|
|
14
|
+
import { SubnetProvisionInputSettingsGcp } from './subnet-provision-input-settings-gcp';
|
|
15
|
+
/**
|
|
16
|
+
* @type SubnetProvisionInputSettings
|
|
17
|
+
* @export
|
|
18
|
+
*/
|
|
19
|
+
export declare type SubnetProvisionInputSettings = SubnetProvisionInputSettingsAws | SubnetProvisionInputSettingsDigitalOcean | SubnetProvisionInputSettingsGcp;
|
|
@@ -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,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 { SubnetProvisionInputSettings } from './subnet-provision-input-settings';
|
|
13
|
+
/**
|
|
14
|
+
* Subnet provision input parameters
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SubnetProvisionInput
|
|
17
|
+
*/
|
|
18
|
+
export interface SubnetProvisionInput {
|
|
19
|
+
/**
|
|
20
|
+
* The ID of the cloud credential
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof SubnetProvisionInput
|
|
23
|
+
*/
|
|
24
|
+
credential_id: number;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {SubnetProvisionInputSettings}
|
|
28
|
+
* @memberof SubnetProvisionInput
|
|
29
|
+
*/
|
|
30
|
+
settings: SubnetProvisionInputSettings;
|
|
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,86 @@
|
|
|
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 { SubnetProvisionInput } from './subnet-provision-input';
|
|
13
|
+
import { SubnetType } from './subnet-type';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface SubnetRelation
|
|
18
|
+
*/
|
|
19
|
+
export interface SubnetRelation {
|
|
20
|
+
/**
|
|
21
|
+
* The unique id of the given record
|
|
22
|
+
* @type {number}
|
|
23
|
+
* @memberof SubnetRelation
|
|
24
|
+
*/
|
|
25
|
+
id: number;
|
|
26
|
+
/**
|
|
27
|
+
* Numeric ID of the project to which the subnet belongs to
|
|
28
|
+
* @type {number}
|
|
29
|
+
* @memberof SubnetRelation
|
|
30
|
+
*/
|
|
31
|
+
project_id: number;
|
|
32
|
+
/**
|
|
33
|
+
* Numeric ID of the environment to which the subnet belongs to
|
|
34
|
+
* @type {number}
|
|
35
|
+
* @memberof SubnetRelation
|
|
36
|
+
*/
|
|
37
|
+
environment_id: number;
|
|
38
|
+
/**
|
|
39
|
+
* The id of the user who created the subnet
|
|
40
|
+
* @type {number}
|
|
41
|
+
* @memberof SubnetRelation
|
|
42
|
+
*/
|
|
43
|
+
created_by: number;
|
|
44
|
+
/**
|
|
45
|
+
* Numeric ID of the network to which the subnet belongs to
|
|
46
|
+
* @type {number}
|
|
47
|
+
* @memberof SubnetRelation
|
|
48
|
+
*/
|
|
49
|
+
network_id: number;
|
|
50
|
+
/**
|
|
51
|
+
* The subnet\'s name
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof SubnetRelation
|
|
54
|
+
*/
|
|
55
|
+
name: string;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {SubnetType}
|
|
59
|
+
* @memberof SubnetRelation
|
|
60
|
+
*/
|
|
61
|
+
type: SubnetType;
|
|
62
|
+
/**
|
|
63
|
+
* True if this subnet is auto-generated or false if this was created by the user
|
|
64
|
+
* @type {boolean}
|
|
65
|
+
* @memberof SubnetRelation
|
|
66
|
+
*/
|
|
67
|
+
is_auto_generated: boolean;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @type {SubnetProvisionInput}
|
|
71
|
+
* @memberof SubnetRelation
|
|
72
|
+
*/
|
|
73
|
+
provision_input: SubnetProvisionInput;
|
|
74
|
+
/**
|
|
75
|
+
* The date and time when the record was created
|
|
76
|
+
* @type {string}
|
|
77
|
+
* @memberof SubnetRelation
|
|
78
|
+
*/
|
|
79
|
+
created_at: string;
|
|
80
|
+
/**
|
|
81
|
+
* The date and time when the record was last updated
|
|
82
|
+
* @type {string}
|
|
83
|
+
* @memberof SubnetRelation
|
|
84
|
+
*/
|
|
85
|
+
updated_at: string;
|
|
86
|
+
}
|
|
@@ -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,20 @@
|
|
|
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
|
+
* The subnet\'s type. The `public` type means an internet visible subnet, and `private` means a subnet visible only from the subnet\'s network
|
|
14
|
+
* @export
|
|
15
|
+
* @enum {string}
|
|
16
|
+
*/
|
|
17
|
+
export declare enum SubnetType {
|
|
18
|
+
Private = "private",
|
|
19
|
+
Public = "public"
|
|
20
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
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 });
|
|
15
|
+
exports.SubnetType = void 0;
|
|
16
|
+
/**
|
|
17
|
+
* The subnet\'s type. The `public` type means an internet visible subnet, and `private` means a subnet visible only from the subnet\'s network
|
|
18
|
+
* @export
|
|
19
|
+
* @enum {string}
|
|
20
|
+
*/
|
|
21
|
+
var SubnetType;
|
|
22
|
+
(function (SubnetType) {
|
|
23
|
+
SubnetType["Private"] = "private";
|
|
24
|
+
SubnetType["Public"] = "public";
|
|
25
|
+
})(SubnetType = exports.SubnetType || (exports.SubnetType = {}));
|
|
@@ -0,0 +1,97 @@
|
|
|
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 { ActionRelation } from './action-relation';
|
|
13
|
+
import { EnvironmentRelation } from './environment-relation';
|
|
14
|
+
import { NetworkRelation } from './network-relation';
|
|
15
|
+
import { ProjectRelation } from './project-relation';
|
|
16
|
+
import { SubnetProvisionInput } from './subnet-provision-input';
|
|
17
|
+
import { SubnetType } from './subnet-type';
|
|
18
|
+
import { UserRelation } from './user-relation';
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @export
|
|
22
|
+
* @interface Subnet
|
|
23
|
+
*/
|
|
24
|
+
export interface Subnet {
|
|
25
|
+
/**
|
|
26
|
+
* The unique id of the given record
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof Subnet
|
|
29
|
+
*/
|
|
30
|
+
id: number;
|
|
31
|
+
/**
|
|
32
|
+
* The subnet\'s name
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof Subnet
|
|
35
|
+
*/
|
|
36
|
+
name: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {SubnetType}
|
|
40
|
+
* @memberof Subnet
|
|
41
|
+
*/
|
|
42
|
+
type: SubnetType;
|
|
43
|
+
/**
|
|
44
|
+
* True if this subnet is auto-generated or false if this was created by the user
|
|
45
|
+
* @type {boolean}
|
|
46
|
+
* @memberof Subnet
|
|
47
|
+
*/
|
|
48
|
+
is_auto_generated: boolean;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {SubnetProvisionInput}
|
|
52
|
+
* @memberof Subnet
|
|
53
|
+
*/
|
|
54
|
+
provision_input: SubnetProvisionInput;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {UserRelation}
|
|
58
|
+
* @memberof Subnet
|
|
59
|
+
*/
|
|
60
|
+
created_by_user: UserRelation;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {ProjectRelation}
|
|
64
|
+
* @memberof Subnet
|
|
65
|
+
*/
|
|
66
|
+
project: ProjectRelation | null;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {EnvironmentRelation}
|
|
70
|
+
* @memberof Subnet
|
|
71
|
+
*/
|
|
72
|
+
environment: EnvironmentRelation | null;
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @type {NetworkRelation}
|
|
76
|
+
* @memberof Subnet
|
|
77
|
+
*/
|
|
78
|
+
network: NetworkRelation | null;
|
|
79
|
+
/**
|
|
80
|
+
*
|
|
81
|
+
* @type {ActionRelation}
|
|
82
|
+
* @memberof Subnet
|
|
83
|
+
*/
|
|
84
|
+
last_action: ActionRelation | null;
|
|
85
|
+
/**
|
|
86
|
+
* The date and time when the record was created
|
|
87
|
+
* @type {string}
|
|
88
|
+
* @memberof Subnet
|
|
89
|
+
*/
|
|
90
|
+
created_at: string;
|
|
91
|
+
/**
|
|
92
|
+
* The date and time when the record was last updated
|
|
93
|
+
* @type {string}
|
|
94
|
+
* @memberof Subnet
|
|
95
|
+
*/
|
|
96
|
+
updated_at: string;
|
|
97
|
+
}
|
|
@@ -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 });
|
|
@@ -2,6 +2,11 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.NetworkService = void 0;
|
|
4
4
|
const networks_api_1 = require("../api/generated/apis/networks-api");
|
|
5
|
+
const networks_subnets_api_1 = require("../api/generated/apis/networks-subnets-api");
|
|
5
6
|
class NetworkService extends networks_api_1.NetworksApiService {
|
|
7
|
+
constructor() {
|
|
8
|
+
super(...arguments);
|
|
9
|
+
this.subnets = new networks_subnets_api_1.NetworksSubnetsApiService();
|
|
10
|
+
}
|
|
6
11
|
}
|
|
7
12
|
exports.NetworkService = NetworkService;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SubnetService = void 0;
|
|
4
|
+
const subnets_api_1 = require("../api/generated/apis/subnets-api");
|
|
5
|
+
class SubnetService extends subnets_api_1.SubnetsApiService {
|
|
6
|
+
}
|
|
7
|
+
exports.SubnetService = SubnetService;
|
package/package.json
CHANGED
|
File without changes
|