@nirvana-labs/nirvana 1.17.4 → 1.18.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/CHANGELOG.md +34 -0
- package/bin/cli +4 -10
- package/client.d.mts +1 -1
- package/client.d.ts +1 -1
- package/client.js +3 -3
- package/client.js.map +1 -1
- package/client.mjs +3 -3
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/api-keys.d.mts +25 -13
- package/resources/api-keys.d.mts.map +1 -1
- package/resources/api-keys.d.ts +25 -13
- package/resources/api-keys.d.ts.map +1 -1
- package/resources/compute/vms/availability.d.mts +3 -3
- package/resources/compute/vms/availability.d.ts +3 -3
- package/resources/compute/vms/vms.d.mts +3 -3
- package/resources/compute/vms/vms.d.ts +3 -3
- package/resources/compute/volumes/availability.d.mts +5 -5
- package/resources/compute/volumes/availability.d.ts +5 -5
- package/resources/compute/volumes/volumes.d.mts +14 -14
- package/resources/compute/volumes/volumes.d.ts +14 -14
- package/resources/connect/flux/flux.d.mts +2 -2
- package/resources/connect/flux/flux.d.mts.map +1 -1
- package/resources/connect/flux/flux.d.ts +2 -2
- package/resources/connect/flux/flux.d.ts.map +1 -1
- package/resources/networking/firewall-rules.d.mts +19 -19
- package/resources/networking/firewall-rules.d.ts +19 -19
- package/resources/networking/vpcs/vpcs.d.mts +5 -5
- package/resources/networking/vpcs/vpcs.d.ts +5 -5
- package/resources/operations.d.mts +10 -10
- package/resources/operations.d.ts +10 -10
- package/resources/rpc-nodes/dedicated/dedicated.d.mts +1 -1
- package/resources/rpc-nodes/dedicated/dedicated.d.ts +1 -1
- package/resources/rpc-nodes/flex/flex.d.mts +1 -1
- package/resources/rpc-nodes/flex/flex.d.ts +1 -1
- package/resources/user.d.mts +6 -3
- package/resources/user.d.mts.map +1 -1
- package/resources/user.d.ts +6 -3
- package/resources/user.d.ts.map +1 -1
- package/src/client.ts +3 -3
- package/src/resources/api-keys.ts +28 -13
- package/src/resources/compute/vms/availability.ts +3 -3
- package/src/resources/compute/vms/vms.ts +3 -3
- package/src/resources/compute/volumes/availability.ts +5 -5
- package/src/resources/compute/volumes/volumes.ts +14 -14
- package/src/resources/connect/flux/flux.ts +2 -2
- package/src/resources/networking/firewall-rules.ts +19 -19
- package/src/resources/networking/vpcs/vpcs.ts +5 -5
- package/src/resources/operations.ts +10 -10
- package/src/resources/rpc-nodes/dedicated/dedicated.ts +1 -1
- package/src/resources/rpc-nodes/flex/flex.ts +1 -1
- package/src/resources/user.ts +6 -3
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -33,25 +33,25 @@ export type AvailabilityCreateResponse = string;
|
|
|
33
33
|
export type AvailabilityUpdateResponse = string;
|
|
34
34
|
export interface AvailabilityCreateParams {
|
|
35
35
|
/**
|
|
36
|
-
* Name of the
|
|
36
|
+
* Name of the Volume.
|
|
37
37
|
*/
|
|
38
38
|
name: string;
|
|
39
39
|
/**
|
|
40
|
-
* Size of the
|
|
40
|
+
* Size of the Volume in GB.
|
|
41
41
|
*/
|
|
42
42
|
size: number;
|
|
43
43
|
/**
|
|
44
|
-
* ID of the VM the
|
|
44
|
+
* ID of the VM the Volume is attached to.
|
|
45
45
|
*/
|
|
46
46
|
vm_id: string;
|
|
47
47
|
}
|
|
48
48
|
export interface AvailabilityUpdateParams {
|
|
49
49
|
/**
|
|
50
|
-
* Name of the
|
|
50
|
+
* Name of the Volume.
|
|
51
51
|
*/
|
|
52
52
|
name?: string;
|
|
53
53
|
/**
|
|
54
|
-
* Size of the
|
|
54
|
+
* Size of the Volume in GB.
|
|
55
55
|
*/
|
|
56
56
|
size?: number;
|
|
57
57
|
}
|
|
@@ -33,25 +33,25 @@ export type AvailabilityCreateResponse = string;
|
|
|
33
33
|
export type AvailabilityUpdateResponse = string;
|
|
34
34
|
export interface AvailabilityCreateParams {
|
|
35
35
|
/**
|
|
36
|
-
* Name of the
|
|
36
|
+
* Name of the Volume.
|
|
37
37
|
*/
|
|
38
38
|
name: string;
|
|
39
39
|
/**
|
|
40
|
-
* Size of the
|
|
40
|
+
* Size of the Volume in GB.
|
|
41
41
|
*/
|
|
42
42
|
size: number;
|
|
43
43
|
/**
|
|
44
|
-
* ID of the VM the
|
|
44
|
+
* ID of the VM the Volume is attached to.
|
|
45
45
|
*/
|
|
46
46
|
vm_id: string;
|
|
47
47
|
}
|
|
48
48
|
export interface AvailabilityUpdateParams {
|
|
49
49
|
/**
|
|
50
|
-
* Name of the
|
|
50
|
+
* Name of the Volume.
|
|
51
51
|
*/
|
|
52
52
|
name?: string;
|
|
53
53
|
/**
|
|
54
|
-
* Size of the
|
|
54
|
+
* Size of the Volume in GB.
|
|
55
55
|
*/
|
|
56
56
|
size?: number;
|
|
57
57
|
}
|
|
@@ -64,7 +64,7 @@ export declare class Volumes extends APIResource {
|
|
|
64
64
|
get(volumeID: string, options?: RequestOptions): APIPromise<Volume>;
|
|
65
65
|
}
|
|
66
66
|
/**
|
|
67
|
-
* Storage type the
|
|
67
|
+
* Storage type the Volume is using.
|
|
68
68
|
*/
|
|
69
69
|
export type StorageType = 'nvme';
|
|
70
70
|
/**
|
|
@@ -72,11 +72,11 @@ export type StorageType = 'nvme';
|
|
|
72
72
|
*/
|
|
73
73
|
export interface Volume {
|
|
74
74
|
/**
|
|
75
|
-
* Unique identifier for the
|
|
75
|
+
* Unique identifier for the Volume.
|
|
76
76
|
*/
|
|
77
77
|
id: string;
|
|
78
78
|
/**
|
|
79
|
-
* When the
|
|
79
|
+
* When the Volume was created.
|
|
80
80
|
*/
|
|
81
81
|
created_at: string;
|
|
82
82
|
/**
|
|
@@ -84,11 +84,11 @@ export interface Volume {
|
|
|
84
84
|
*/
|
|
85
85
|
kind: VolumeKind;
|
|
86
86
|
/**
|
|
87
|
-
* Name of the
|
|
87
|
+
* Name of the Volume.
|
|
88
88
|
*/
|
|
89
89
|
name: string;
|
|
90
90
|
/**
|
|
91
|
-
* Size of the
|
|
91
|
+
* Size of the Volume in GB.
|
|
92
92
|
*/
|
|
93
93
|
size: number;
|
|
94
94
|
/**
|
|
@@ -96,19 +96,19 @@ export interface Volume {
|
|
|
96
96
|
*/
|
|
97
97
|
status: Shared.ResourceStatus;
|
|
98
98
|
/**
|
|
99
|
-
* Storage type the
|
|
99
|
+
* Storage type the Volume is using.
|
|
100
100
|
*/
|
|
101
101
|
type: StorageType;
|
|
102
102
|
/**
|
|
103
|
-
* When the
|
|
103
|
+
* When the Volume was updated.
|
|
104
104
|
*/
|
|
105
105
|
updated_at: string;
|
|
106
106
|
/**
|
|
107
|
-
* ID of the VM the
|
|
107
|
+
* ID of the VM the Volume is attached to.
|
|
108
108
|
*/
|
|
109
109
|
vm_id: string | null;
|
|
110
110
|
/**
|
|
111
|
-
* Name of the VM the
|
|
111
|
+
* Name of the VM the Volume is attached to.
|
|
112
112
|
*/
|
|
113
113
|
vm_name: string | null;
|
|
114
114
|
}
|
|
@@ -121,25 +121,25 @@ export interface VolumeList {
|
|
|
121
121
|
}
|
|
122
122
|
export interface VolumeCreateParams {
|
|
123
123
|
/**
|
|
124
|
-
* Name of the
|
|
124
|
+
* Name of the Volume.
|
|
125
125
|
*/
|
|
126
126
|
name: string;
|
|
127
127
|
/**
|
|
128
|
-
* Size of the
|
|
128
|
+
* Size of the Volume in GB.
|
|
129
129
|
*/
|
|
130
130
|
size: number;
|
|
131
131
|
/**
|
|
132
|
-
* ID of the VM the
|
|
132
|
+
* ID of the VM the Volume is attached to.
|
|
133
133
|
*/
|
|
134
134
|
vm_id: string;
|
|
135
135
|
}
|
|
136
136
|
export interface VolumeUpdateParams {
|
|
137
137
|
/**
|
|
138
|
-
* Name of the
|
|
138
|
+
* Name of the Volume.
|
|
139
139
|
*/
|
|
140
140
|
name?: string;
|
|
141
141
|
/**
|
|
142
|
-
* Size of the
|
|
142
|
+
* Size of the Volume in GB.
|
|
143
143
|
*/
|
|
144
144
|
size?: number;
|
|
145
145
|
}
|
|
@@ -64,7 +64,7 @@ export declare class Volumes extends APIResource {
|
|
|
64
64
|
get(volumeID: string, options?: RequestOptions): APIPromise<Volume>;
|
|
65
65
|
}
|
|
66
66
|
/**
|
|
67
|
-
* Storage type the
|
|
67
|
+
* Storage type the Volume is using.
|
|
68
68
|
*/
|
|
69
69
|
export type StorageType = 'nvme';
|
|
70
70
|
/**
|
|
@@ -72,11 +72,11 @@ export type StorageType = 'nvme';
|
|
|
72
72
|
*/
|
|
73
73
|
export interface Volume {
|
|
74
74
|
/**
|
|
75
|
-
* Unique identifier for the
|
|
75
|
+
* Unique identifier for the Volume.
|
|
76
76
|
*/
|
|
77
77
|
id: string;
|
|
78
78
|
/**
|
|
79
|
-
* When the
|
|
79
|
+
* When the Volume was created.
|
|
80
80
|
*/
|
|
81
81
|
created_at: string;
|
|
82
82
|
/**
|
|
@@ -84,11 +84,11 @@ export interface Volume {
|
|
|
84
84
|
*/
|
|
85
85
|
kind: VolumeKind;
|
|
86
86
|
/**
|
|
87
|
-
* Name of the
|
|
87
|
+
* Name of the Volume.
|
|
88
88
|
*/
|
|
89
89
|
name: string;
|
|
90
90
|
/**
|
|
91
|
-
* Size of the
|
|
91
|
+
* Size of the Volume in GB.
|
|
92
92
|
*/
|
|
93
93
|
size: number;
|
|
94
94
|
/**
|
|
@@ -96,19 +96,19 @@ export interface Volume {
|
|
|
96
96
|
*/
|
|
97
97
|
status: Shared.ResourceStatus;
|
|
98
98
|
/**
|
|
99
|
-
* Storage type the
|
|
99
|
+
* Storage type the Volume is using.
|
|
100
100
|
*/
|
|
101
101
|
type: StorageType;
|
|
102
102
|
/**
|
|
103
|
-
* When the
|
|
103
|
+
* When the Volume was updated.
|
|
104
104
|
*/
|
|
105
105
|
updated_at: string;
|
|
106
106
|
/**
|
|
107
|
-
* ID of the VM the
|
|
107
|
+
* ID of the VM the Volume is attached to.
|
|
108
108
|
*/
|
|
109
109
|
vm_id: string | null;
|
|
110
110
|
/**
|
|
111
|
-
* Name of the VM the
|
|
111
|
+
* Name of the VM the Volume is attached to.
|
|
112
112
|
*/
|
|
113
113
|
vm_name: string | null;
|
|
114
114
|
}
|
|
@@ -121,25 +121,25 @@ export interface VolumeList {
|
|
|
121
121
|
}
|
|
122
122
|
export interface VolumeCreateParams {
|
|
123
123
|
/**
|
|
124
|
-
* Name of the
|
|
124
|
+
* Name of the Volume.
|
|
125
125
|
*/
|
|
126
126
|
name: string;
|
|
127
127
|
/**
|
|
128
|
-
* Size of the
|
|
128
|
+
* Size of the Volume in GB.
|
|
129
129
|
*/
|
|
130
130
|
size: number;
|
|
131
131
|
/**
|
|
132
|
-
* ID of the VM the
|
|
132
|
+
* ID of the VM the Volume is attached to.
|
|
133
133
|
*/
|
|
134
134
|
vm_id: string;
|
|
135
135
|
}
|
|
136
136
|
export interface VolumeUpdateParams {
|
|
137
137
|
/**
|
|
138
|
-
* Name of the
|
|
138
|
+
* Name of the Volume.
|
|
139
139
|
*/
|
|
140
140
|
name?: string;
|
|
141
141
|
/**
|
|
142
|
-
* Size of the
|
|
142
|
+
* Size of the Volume in GB.
|
|
143
143
|
*/
|
|
144
144
|
size?: number;
|
|
145
145
|
}
|
|
@@ -82,7 +82,7 @@ export interface Flux {
|
|
|
82
82
|
/**
|
|
83
83
|
* Connect Flux speed in Mbps
|
|
84
84
|
*/
|
|
85
|
-
bandwidth_mbps: 50 | 200 | 500;
|
|
85
|
+
bandwidth_mbps: 50 | 200 | 500 | 1000 | 2000;
|
|
86
86
|
/**
|
|
87
87
|
* CIDRs for the Connect Flux
|
|
88
88
|
*/
|
|
@@ -169,7 +169,7 @@ export interface FluxCreateParams {
|
|
|
169
169
|
/**
|
|
170
170
|
* Connect Flux speed in Mbps
|
|
171
171
|
*/
|
|
172
|
-
bandwidth_mbps: 50 | 200 | 500;
|
|
172
|
+
bandwidth_mbps: 50 | 200 | 500 | 1000 | 2000;
|
|
173
173
|
/**
|
|
174
174
|
* CIDRs for the Connect Flux
|
|
175
175
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flux.d.mts","sourceRoot":"","sources":["../../../src/resources/connect/flux/flux.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,aAAa;OAClB,KAAK,MAAM;OACX,KAAK,YAAY;OACjB,EAAE,SAAS,EAAE;OACb,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,YAAa,SAAQ,WAAW;IAC3C,SAAS,EAAE,YAAY,CAAC,SAAS,CAA4C;IAE7E;;;;;;;;;;;;;OAaG;IACH,MAAM,CAAC,IAAI,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,aAAa,CAAC,SAAS,CAAC;IAI7F;;;;;;;;;OASG;IACH,MAAM,CACJ,MAAM,EAAE,MAAM,EACd,IAAI,EAAE,gBAAgB,EACtB,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,aAAa,CAAC,SAAS,CAAC;IAItC;;;;;;;OAOG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,QAAQ,CAAC;IAIpD;;;;;;;;;OASG;IACH,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,aAAa,CAAC,SAAS,CAAC;IAIrF;;;;;;;OAOG;IACH,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;CAGhE;AAED;;GAEG;AACH,MAAM,WAAW,IAAI;IACnB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IAEnB;;OAEG;IACH,GAAG,EAAE,qBAAqB,GAAG,IAAI,CAAC;IAElC;;OAEG;IACH,cAAc,EAAE,EAAE,GAAG,GAAG,GAAG,GAAG,CAAC;
|
|
1
|
+
{"version":3,"file":"flux.d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;IACH,cAAc,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAE9B;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC,UAAU,CAAC;IAE1B;;OAEG;IACH,GAAG,CAAC,EAAE,4BAA4B,CAAC;CACpC;AAED,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAID,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,KAAK,IAAI,IAAI,IAAI,EACjB,KAAK,QAAQ,IAAI,QAAQ,EACzB,KAAK,YAAY,IAAI,YAAY,EACjC,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,gBAAgB,IAAI,gBAAgB,GAC1C,CAAC;IAEF,OAAO,EAAE,SAAS,IAAI,SAAS,EAAE,CAAC;CACnC"}
|
|
@@ -82,7 +82,7 @@ export interface Flux {
|
|
|
82
82
|
/**
|
|
83
83
|
* Connect Flux speed in Mbps
|
|
84
84
|
*/
|
|
85
|
-
bandwidth_mbps: 50 | 200 | 500;
|
|
85
|
+
bandwidth_mbps: 50 | 200 | 500 | 1000 | 2000;
|
|
86
86
|
/**
|
|
87
87
|
* CIDRs for the Connect Flux
|
|
88
88
|
*/
|
|
@@ -169,7 +169,7 @@ export interface FluxCreateParams {
|
|
|
169
169
|
/**
|
|
170
170
|
* Connect Flux speed in Mbps
|
|
171
171
|
*/
|
|
172
|
-
bandwidth_mbps: 50 | 200 | 500;
|
|
172
|
+
bandwidth_mbps: 50 | 200 | 500 | 1000 | 2000;
|
|
173
173
|
/**
|
|
174
174
|
* CIDRs for the Connect Flux
|
|
175
175
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flux.d.ts","sourceRoot":"","sources":["../../../src/resources/connect/flux/flux.ts"],"names":[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AAM,CAAC,UAAU,CAAC;IAE1B;;OAEG;IACH,GAAG,CAAC,EAAE,4BAA4B,CAAC;CACpC;AAED,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAID,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,KAAK,IAAI,IAAI,IAAI,EACjB,KAAK,QAAQ,IAAI,QAAQ,EACzB,KAAK,YAAY,IAAI,YAAY,EACjC,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,gBAAgB,IAAI,gBAAgB,GAC1C,CAAC;IAEF,OAAO,EAAE,SAAS,IAAI,SAAS,EAAE,CAAC;CACnC"}
|
|
@@ -75,31 +75,31 @@ export declare class FirewallRules extends APIResource {
|
|
|
75
75
|
*/
|
|
76
76
|
export interface FirewallRule {
|
|
77
77
|
/**
|
|
78
|
-
* Unique identifier for the
|
|
78
|
+
* Unique identifier for the Firewall Rule.
|
|
79
79
|
*/
|
|
80
80
|
id: string;
|
|
81
81
|
/**
|
|
82
|
-
* When the
|
|
82
|
+
* When the Firewall Rule was created.
|
|
83
83
|
*/
|
|
84
84
|
created_at: string;
|
|
85
85
|
/**
|
|
86
|
-
* Destination address of the
|
|
86
|
+
* Destination address of the Firewall Rule. Either VPC CIDR or VM in VPC.
|
|
87
87
|
*/
|
|
88
88
|
destination_address: string;
|
|
89
89
|
/**
|
|
90
|
-
* Destination ports of the
|
|
90
|
+
* Destination ports of the Firewall Rule.
|
|
91
91
|
*/
|
|
92
92
|
destination_ports: Array<string>;
|
|
93
93
|
/**
|
|
94
|
-
* Name of the
|
|
94
|
+
* Name of the Firewall Rule.
|
|
95
95
|
*/
|
|
96
96
|
name: string;
|
|
97
97
|
/**
|
|
98
|
-
* Protocol of the
|
|
98
|
+
* Protocol of the Firewall Rule.
|
|
99
99
|
*/
|
|
100
100
|
protocol: 'tcp' | 'udp';
|
|
101
101
|
/**
|
|
102
|
-
* Source address of the
|
|
102
|
+
* Source address of the Firewall Rule. Address of 0.0.0.0 requires a CIDR mask
|
|
103
103
|
* of 0.
|
|
104
104
|
*/
|
|
105
105
|
source_address: string;
|
|
@@ -108,11 +108,11 @@ export interface FirewallRule {
|
|
|
108
108
|
*/
|
|
109
109
|
status: Shared.ResourceStatus;
|
|
110
110
|
/**
|
|
111
|
-
* When the
|
|
111
|
+
* When the Firewall Rule was updated.
|
|
112
112
|
*/
|
|
113
113
|
updated_at: string;
|
|
114
114
|
/**
|
|
115
|
-
* ID of the VPC the
|
|
115
|
+
* ID of the VPC the Firewall Rule belongs to.
|
|
116
116
|
*/
|
|
117
117
|
vpc_id: string;
|
|
118
118
|
}
|
|
@@ -121,23 +121,23 @@ export interface FirewallRuleList {
|
|
|
121
121
|
}
|
|
122
122
|
export interface FirewallRuleCreateParams {
|
|
123
123
|
/**
|
|
124
|
-
* Destination address of the
|
|
124
|
+
* Destination address of the Firewall Rule. Either VPC CIDR or VM in VPC.
|
|
125
125
|
*/
|
|
126
126
|
destination_address: string;
|
|
127
127
|
/**
|
|
128
|
-
* Destination ports of the
|
|
128
|
+
* Destination ports of the Firewall Rule.
|
|
129
129
|
*/
|
|
130
130
|
destination_ports: Array<string>;
|
|
131
131
|
/**
|
|
132
|
-
* Name of the
|
|
132
|
+
* Name of the Firewall Rule.
|
|
133
133
|
*/
|
|
134
134
|
name: string;
|
|
135
135
|
/**
|
|
136
|
-
* Protocol of the
|
|
136
|
+
* Protocol of the Firewall Rule.
|
|
137
137
|
*/
|
|
138
138
|
protocol: 'tcp' | 'udp';
|
|
139
139
|
/**
|
|
140
|
-
* Source address of the
|
|
140
|
+
* Source address of the Firewall Rule. Address of 0.0.0.0 requires a CIDR mask
|
|
141
141
|
* of 0.
|
|
142
142
|
*/
|
|
143
143
|
source_address: string;
|
|
@@ -148,24 +148,24 @@ export interface FirewallRuleUpdateParams {
|
|
|
148
148
|
*/
|
|
149
149
|
vpc_id: string;
|
|
150
150
|
/**
|
|
151
|
-
* Body param: Destination address of the
|
|
151
|
+
* Body param: Destination address of the Firewall Rule. Either VPC CIDR or VM in
|
|
152
152
|
* VPC.
|
|
153
153
|
*/
|
|
154
154
|
destination_address?: string;
|
|
155
155
|
/**
|
|
156
|
-
* Body param: Destination ports of the
|
|
156
|
+
* Body param: Destination ports of the Firewall Rule.
|
|
157
157
|
*/
|
|
158
158
|
destination_ports?: Array<string>;
|
|
159
159
|
/**
|
|
160
|
-
* Body param: Name of the
|
|
160
|
+
* Body param: Name of the Firewall Rule.
|
|
161
161
|
*/
|
|
162
162
|
name?: string;
|
|
163
163
|
/**
|
|
164
|
-
* Body param: Protocol of the
|
|
164
|
+
* Body param: Protocol of the Firewall Rule.
|
|
165
165
|
*/
|
|
166
166
|
protocol?: 'tcp' | 'udp';
|
|
167
167
|
/**
|
|
168
|
-
* Body param: Source address of the
|
|
168
|
+
* Body param: Source address of the Firewall Rule. Address of 0.0.0.0 requires a
|
|
169
169
|
* CIDR mask of 0.
|
|
170
170
|
*/
|
|
171
171
|
source_address?: string;
|
|
@@ -75,31 +75,31 @@ export declare class FirewallRules extends APIResource {
|
|
|
75
75
|
*/
|
|
76
76
|
export interface FirewallRule {
|
|
77
77
|
/**
|
|
78
|
-
* Unique identifier for the
|
|
78
|
+
* Unique identifier for the Firewall Rule.
|
|
79
79
|
*/
|
|
80
80
|
id: string;
|
|
81
81
|
/**
|
|
82
|
-
* When the
|
|
82
|
+
* When the Firewall Rule was created.
|
|
83
83
|
*/
|
|
84
84
|
created_at: string;
|
|
85
85
|
/**
|
|
86
|
-
* Destination address of the
|
|
86
|
+
* Destination address of the Firewall Rule. Either VPC CIDR or VM in VPC.
|
|
87
87
|
*/
|
|
88
88
|
destination_address: string;
|
|
89
89
|
/**
|
|
90
|
-
* Destination ports of the
|
|
90
|
+
* Destination ports of the Firewall Rule.
|
|
91
91
|
*/
|
|
92
92
|
destination_ports: Array<string>;
|
|
93
93
|
/**
|
|
94
|
-
* Name of the
|
|
94
|
+
* Name of the Firewall Rule.
|
|
95
95
|
*/
|
|
96
96
|
name: string;
|
|
97
97
|
/**
|
|
98
|
-
* Protocol of the
|
|
98
|
+
* Protocol of the Firewall Rule.
|
|
99
99
|
*/
|
|
100
100
|
protocol: 'tcp' | 'udp';
|
|
101
101
|
/**
|
|
102
|
-
* Source address of the
|
|
102
|
+
* Source address of the Firewall Rule. Address of 0.0.0.0 requires a CIDR mask
|
|
103
103
|
* of 0.
|
|
104
104
|
*/
|
|
105
105
|
source_address: string;
|
|
@@ -108,11 +108,11 @@ export interface FirewallRule {
|
|
|
108
108
|
*/
|
|
109
109
|
status: Shared.ResourceStatus;
|
|
110
110
|
/**
|
|
111
|
-
* When the
|
|
111
|
+
* When the Firewall Rule was updated.
|
|
112
112
|
*/
|
|
113
113
|
updated_at: string;
|
|
114
114
|
/**
|
|
115
|
-
* ID of the VPC the
|
|
115
|
+
* ID of the VPC the Firewall Rule belongs to.
|
|
116
116
|
*/
|
|
117
117
|
vpc_id: string;
|
|
118
118
|
}
|
|
@@ -121,23 +121,23 @@ export interface FirewallRuleList {
|
|
|
121
121
|
}
|
|
122
122
|
export interface FirewallRuleCreateParams {
|
|
123
123
|
/**
|
|
124
|
-
* Destination address of the
|
|
124
|
+
* Destination address of the Firewall Rule. Either VPC CIDR or VM in VPC.
|
|
125
125
|
*/
|
|
126
126
|
destination_address: string;
|
|
127
127
|
/**
|
|
128
|
-
* Destination ports of the
|
|
128
|
+
* Destination ports of the Firewall Rule.
|
|
129
129
|
*/
|
|
130
130
|
destination_ports: Array<string>;
|
|
131
131
|
/**
|
|
132
|
-
* Name of the
|
|
132
|
+
* Name of the Firewall Rule.
|
|
133
133
|
*/
|
|
134
134
|
name: string;
|
|
135
135
|
/**
|
|
136
|
-
* Protocol of the
|
|
136
|
+
* Protocol of the Firewall Rule.
|
|
137
137
|
*/
|
|
138
138
|
protocol: 'tcp' | 'udp';
|
|
139
139
|
/**
|
|
140
|
-
* Source address of the
|
|
140
|
+
* Source address of the Firewall Rule. Address of 0.0.0.0 requires a CIDR mask
|
|
141
141
|
* of 0.
|
|
142
142
|
*/
|
|
143
143
|
source_address: string;
|
|
@@ -148,24 +148,24 @@ export interface FirewallRuleUpdateParams {
|
|
|
148
148
|
*/
|
|
149
149
|
vpc_id: string;
|
|
150
150
|
/**
|
|
151
|
-
* Body param: Destination address of the
|
|
151
|
+
* Body param: Destination address of the Firewall Rule. Either VPC CIDR or VM in
|
|
152
152
|
* VPC.
|
|
153
153
|
*/
|
|
154
154
|
destination_address?: string;
|
|
155
155
|
/**
|
|
156
|
-
* Body param: Destination ports of the
|
|
156
|
+
* Body param: Destination ports of the Firewall Rule.
|
|
157
157
|
*/
|
|
158
158
|
destination_ports?: Array<string>;
|
|
159
159
|
/**
|
|
160
|
-
* Body param: Name of the
|
|
160
|
+
* Body param: Name of the Firewall Rule.
|
|
161
161
|
*/
|
|
162
162
|
name?: string;
|
|
163
163
|
/**
|
|
164
|
-
* Body param: Protocol of the
|
|
164
|
+
* Body param: Protocol of the Firewall Rule.
|
|
165
165
|
*/
|
|
166
166
|
protocol?: 'tcp' | 'udp';
|
|
167
167
|
/**
|
|
168
|
-
* Body param: Source address of the
|
|
168
|
+
* Body param: Source address of the Firewall Rule. Address of 0.0.0.0 requires a
|
|
169
169
|
* CIDR mask of 0.
|
|
170
170
|
*/
|
|
171
171
|
source_address?: string;
|
|
@@ -70,19 +70,19 @@ export interface Subnet {
|
|
|
70
70
|
*/
|
|
71
71
|
id: string;
|
|
72
72
|
/**
|
|
73
|
-
* CIDR block for the
|
|
73
|
+
* CIDR block for the Subnet.
|
|
74
74
|
*/
|
|
75
75
|
cidr: string;
|
|
76
76
|
/**
|
|
77
|
-
* When the
|
|
77
|
+
* When the Subnet was created.
|
|
78
78
|
*/
|
|
79
79
|
created_at: string;
|
|
80
80
|
/**
|
|
81
|
-
* Name of the
|
|
81
|
+
* Name of the Subnet.
|
|
82
82
|
*/
|
|
83
83
|
name: string;
|
|
84
84
|
/**
|
|
85
|
-
* When the
|
|
85
|
+
* When the Subnet was updated.
|
|
86
86
|
*/
|
|
87
87
|
updated_at: string;
|
|
88
88
|
}
|
|
@@ -99,7 +99,7 @@ export interface VPC {
|
|
|
99
99
|
*/
|
|
100
100
|
created_at: string;
|
|
101
101
|
/**
|
|
102
|
-
* IDs of the
|
|
102
|
+
* IDs of the Firewall Rules associated with the VPC.
|
|
103
103
|
*/
|
|
104
104
|
firewall_rule_ids: Array<string>;
|
|
105
105
|
/**
|
|
@@ -70,19 +70,19 @@ export interface Subnet {
|
|
|
70
70
|
*/
|
|
71
71
|
id: string;
|
|
72
72
|
/**
|
|
73
|
-
* CIDR block for the
|
|
73
|
+
* CIDR block for the Subnet.
|
|
74
74
|
*/
|
|
75
75
|
cidr: string;
|
|
76
76
|
/**
|
|
77
|
-
* When the
|
|
77
|
+
* When the Subnet was created.
|
|
78
78
|
*/
|
|
79
79
|
created_at: string;
|
|
80
80
|
/**
|
|
81
|
-
* Name of the
|
|
81
|
+
* Name of the Subnet.
|
|
82
82
|
*/
|
|
83
83
|
name: string;
|
|
84
84
|
/**
|
|
85
|
-
* When the
|
|
85
|
+
* When the Subnet was updated.
|
|
86
86
|
*/
|
|
87
87
|
updated_at: string;
|
|
88
88
|
}
|
|
@@ -99,7 +99,7 @@ export interface VPC {
|
|
|
99
99
|
*/
|
|
100
100
|
created_at: string;
|
|
101
101
|
/**
|
|
102
|
-
* IDs of the
|
|
102
|
+
* IDs of the Firewall Rules associated with the VPC.
|
|
103
103
|
*/
|
|
104
104
|
firewall_rule_ids: Array<string>;
|
|
105
105
|
/**
|
|
@@ -16,47 +16,47 @@ export declare class Operations extends APIResource {
|
|
|
16
16
|
*/
|
|
17
17
|
export interface Operation {
|
|
18
18
|
/**
|
|
19
|
-
* Unique identifier for the
|
|
19
|
+
* Unique identifier for the Operation.
|
|
20
20
|
*/
|
|
21
21
|
id: string;
|
|
22
22
|
/**
|
|
23
|
-
* When the
|
|
23
|
+
* When the Operation was created.
|
|
24
24
|
*/
|
|
25
25
|
created_at: string;
|
|
26
26
|
/**
|
|
27
|
-
* Kind of
|
|
27
|
+
* Kind of Operation.
|
|
28
28
|
*/
|
|
29
29
|
kind: OperationKind;
|
|
30
30
|
/**
|
|
31
|
-
* ID of the resource that the
|
|
31
|
+
* ID of the resource that the Operation is acting on.
|
|
32
32
|
*/
|
|
33
33
|
resource_id: string;
|
|
34
34
|
/**
|
|
35
|
-
* Status of the
|
|
35
|
+
* Status of the Operation.
|
|
36
36
|
*/
|
|
37
37
|
status: OperationStatus;
|
|
38
38
|
/**
|
|
39
|
-
* Type of
|
|
39
|
+
* Type of Operation.
|
|
40
40
|
*/
|
|
41
41
|
type: OperationType;
|
|
42
42
|
/**
|
|
43
|
-
* When the
|
|
43
|
+
* When the Operation was updated.
|
|
44
44
|
*/
|
|
45
45
|
updated_at: string;
|
|
46
46
|
}
|
|
47
47
|
/**
|
|
48
|
-
* Kind of
|
|
48
|
+
* Kind of Operation.
|
|
49
49
|
*/
|
|
50
50
|
export type OperationKind = 'vm' | 'volume' | 'vpc' | 'firewall_rule';
|
|
51
51
|
export interface OperationList {
|
|
52
52
|
items: Array<Operation>;
|
|
53
53
|
}
|
|
54
54
|
/**
|
|
55
|
-
* Status of the
|
|
55
|
+
* Status of the Operation.
|
|
56
56
|
*/
|
|
57
57
|
export type OperationStatus = 'pending' | 'running' | 'done' | 'failed' | 'unknown';
|
|
58
58
|
/**
|
|
59
|
-
* Type of
|
|
59
|
+
* Type of Operation.
|
|
60
60
|
*/
|
|
61
61
|
export type OperationType = 'create' | 'update' | 'delete' | 'restart';
|
|
62
62
|
export declare namespace Operations {
|