@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.
Files changed (57) hide show
  1. package/CHANGELOG.md +34 -0
  2. package/bin/cli +4 -10
  3. package/client.d.mts +1 -1
  4. package/client.d.ts +1 -1
  5. package/client.js +3 -3
  6. package/client.js.map +1 -1
  7. package/client.mjs +3 -3
  8. package/client.mjs.map +1 -1
  9. package/package.json +1 -1
  10. package/resources/api-keys.d.mts +25 -13
  11. package/resources/api-keys.d.mts.map +1 -1
  12. package/resources/api-keys.d.ts +25 -13
  13. package/resources/api-keys.d.ts.map +1 -1
  14. package/resources/compute/vms/availability.d.mts +3 -3
  15. package/resources/compute/vms/availability.d.ts +3 -3
  16. package/resources/compute/vms/vms.d.mts +3 -3
  17. package/resources/compute/vms/vms.d.ts +3 -3
  18. package/resources/compute/volumes/availability.d.mts +5 -5
  19. package/resources/compute/volumes/availability.d.ts +5 -5
  20. package/resources/compute/volumes/volumes.d.mts +14 -14
  21. package/resources/compute/volumes/volumes.d.ts +14 -14
  22. package/resources/connect/flux/flux.d.mts +2 -2
  23. package/resources/connect/flux/flux.d.mts.map +1 -1
  24. package/resources/connect/flux/flux.d.ts +2 -2
  25. package/resources/connect/flux/flux.d.ts.map +1 -1
  26. package/resources/networking/firewall-rules.d.mts +19 -19
  27. package/resources/networking/firewall-rules.d.ts +19 -19
  28. package/resources/networking/vpcs/vpcs.d.mts +5 -5
  29. package/resources/networking/vpcs/vpcs.d.ts +5 -5
  30. package/resources/operations.d.mts +10 -10
  31. package/resources/operations.d.ts +10 -10
  32. package/resources/rpc-nodes/dedicated/dedicated.d.mts +1 -1
  33. package/resources/rpc-nodes/dedicated/dedicated.d.ts +1 -1
  34. package/resources/rpc-nodes/flex/flex.d.mts +1 -1
  35. package/resources/rpc-nodes/flex/flex.d.ts +1 -1
  36. package/resources/user.d.mts +6 -3
  37. package/resources/user.d.mts.map +1 -1
  38. package/resources/user.d.ts +6 -3
  39. package/resources/user.d.ts.map +1 -1
  40. package/src/client.ts +3 -3
  41. package/src/resources/api-keys.ts +28 -13
  42. package/src/resources/compute/vms/availability.ts +3 -3
  43. package/src/resources/compute/vms/vms.ts +3 -3
  44. package/src/resources/compute/volumes/availability.ts +5 -5
  45. package/src/resources/compute/volumes/volumes.ts +14 -14
  46. package/src/resources/connect/flux/flux.ts +2 -2
  47. package/src/resources/networking/firewall-rules.ts +19 -19
  48. package/src/resources/networking/vpcs/vpcs.ts +5 -5
  49. package/src/resources/operations.ts +10 -10
  50. package/src/resources/rpc-nodes/dedicated/dedicated.ts +1 -1
  51. package/src/resources/rpc-nodes/flex/flex.ts +1 -1
  52. package/src/resources/user.ts +6 -3
  53. package/src/version.ts +1 -1
  54. package/version.d.mts +1 -1
  55. package/version.d.ts +1 -1
  56. package/version.js +1 -1
  57. package/version.mjs +1 -1
@@ -16,47 +16,47 @@ export declare class Operations extends APIResource {
16
16
  */
17
17
  export interface Operation {
18
18
  /**
19
- * Unique identifier for the operation.
19
+ * Unique identifier for the Operation.
20
20
  */
21
21
  id: string;
22
22
  /**
23
- * When the operation was created.
23
+ * When the Operation was created.
24
24
  */
25
25
  created_at: string;
26
26
  /**
27
- * Kind of operation.
27
+ * Kind of Operation.
28
28
  */
29
29
  kind: OperationKind;
30
30
  /**
31
- * ID of the resource that the operation is acting on.
31
+ * ID of the resource that the Operation is acting on.
32
32
  */
33
33
  resource_id: string;
34
34
  /**
35
- * Status of the operation.
35
+ * Status of the Operation.
36
36
  */
37
37
  status: OperationStatus;
38
38
  /**
39
- * Type of operation.
39
+ * Type of Operation.
40
40
  */
41
41
  type: OperationType;
42
42
  /**
43
- * When the operation was updated.
43
+ * When the Operation was updated.
44
44
  */
45
45
  updated_at: string;
46
46
  }
47
47
  /**
48
- * Kind of operation.
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 operation.
55
+ * Status of the Operation.
56
56
  */
57
57
  export type OperationStatus = 'pending' | 'running' | 'done' | 'failed' | 'unknown';
58
58
  /**
59
- * Type of operation.
59
+ * Type of Operation.
60
60
  */
61
61
  export type OperationType = 'create' | 'update' | 'delete' | 'restart';
62
62
  export declare namespace Operations {
@@ -48,7 +48,7 @@ export interface Dedicated {
48
48
  updated_at: string;
49
49
  }
50
50
  /**
51
- * Blockchain supported by the Dedicated RPC Node.
51
+ * Blockchain supported by the RPC Node Dedicated.
52
52
  */
53
53
  export interface DedicatedBlockchain {
54
54
  /**
@@ -48,7 +48,7 @@ export interface Dedicated {
48
48
  updated_at: string;
49
49
  }
50
50
  /**
51
- * Blockchain supported by the Dedicated RPC Node.
51
+ * Blockchain supported by the RPC Node Dedicated.
52
52
  */
53
53
  export interface DedicatedBlockchain {
54
54
  /**
@@ -48,7 +48,7 @@ export interface Flex {
48
48
  updated_at: string;
49
49
  }
50
50
  /**
51
- * Blockchain supported by the Flex RPC Node.
51
+ * Blockchain supported by the RPC Node Flex.
52
52
  */
53
53
  export interface FlexBlockchain {
54
54
  /**
@@ -48,7 +48,7 @@ export interface Flex {
48
48
  updated_at: string;
49
49
  }
50
50
  /**
51
- * Blockchain supported by the Flex RPC Node.
51
+ * Blockchain supported by the RPC Node Flex.
52
52
  */
53
53
  export interface FlexBlockchain {
54
54
  /**
@@ -7,9 +7,12 @@ export declare class UserResource extends APIResource {
7
7
  */
8
8
  get(options?: RequestOptions): APIPromise<User>;
9
9
  }
10
+ /**
11
+ * User details.
12
+ */
10
13
  export interface User {
11
14
  /**
12
- * Unique identifier for the user.
15
+ * Unique identifier for the User.
13
16
  */
14
17
  id: string;
15
18
  /**
@@ -17,13 +20,13 @@ export interface User {
17
20
  */
18
21
  email: string;
19
22
  /**
20
- * Services that the user has access to.
23
+ * Services that the User has access to.
21
24
  */
22
25
  services: User.Services;
23
26
  }
24
27
  export declare namespace User {
25
28
  /**
26
- * Services that the user has access to.
29
+ * Services that the User has access to.
27
30
  */
28
31
  interface Services {
29
32
  cloud?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"user.d.mts","sourceRoot":"","sources":["../src/resources/user.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;OAEG;IACH,GAAG,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;CAGhD;AAED,MAAM,WAAW,IAAI;IACnB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,QAAQ,EAAE,IAAI,CAAC,QAAQ,CAAC;CACzB;AAED,yBAAiB,IAAI,CAAC;IACpB;;OAEG;IACH,UAAiB,QAAQ;QACvB,KAAK,CAAC,EAAE,OAAO,CAAC;KACjB;CACF;AAED,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EAAE,KAAK,IAAI,IAAI,IAAI,EAAE,CAAC;CAC9B"}
1
+ {"version":3,"file":"user.d.mts","sourceRoot":"","sources":["../src/resources/user.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;OAEG;IACH,GAAG,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;CAGhD;AAED;;GAEG;AACH,MAAM,WAAW,IAAI;IACnB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,QAAQ,EAAE,IAAI,CAAC,QAAQ,CAAC;CACzB;AAED,yBAAiB,IAAI,CAAC;IACpB;;OAEG;IACH,UAAiB,QAAQ;QACvB,KAAK,CAAC,EAAE,OAAO,CAAC;KACjB;CACF;AAED,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EAAE,KAAK,IAAI,IAAI,IAAI,EAAE,CAAC;CAC9B"}
@@ -7,9 +7,12 @@ export declare class UserResource extends APIResource {
7
7
  */
8
8
  get(options?: RequestOptions): APIPromise<User>;
9
9
  }
10
+ /**
11
+ * User details.
12
+ */
10
13
  export interface User {
11
14
  /**
12
- * Unique identifier for the user.
15
+ * Unique identifier for the User.
13
16
  */
14
17
  id: string;
15
18
  /**
@@ -17,13 +20,13 @@ export interface User {
17
20
  */
18
21
  email: string;
19
22
  /**
20
- * Services that the user has access to.
23
+ * Services that the User has access to.
21
24
  */
22
25
  services: User.Services;
23
26
  }
24
27
  export declare namespace User {
25
28
  /**
26
- * Services that the user has access to.
29
+ * Services that the User has access to.
27
30
  */
28
31
  interface Services {
29
32
  cloud?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../src/resources/user.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;OAEG;IACH,GAAG,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;CAGhD;AAED,MAAM,WAAW,IAAI;IACnB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,QAAQ,EAAE,IAAI,CAAC,QAAQ,CAAC;CACzB;AAED,yBAAiB,IAAI,CAAC;IACpB;;OAEG;IACH,UAAiB,QAAQ;QACvB,KAAK,CAAC,EAAE,OAAO,CAAC;KACjB;CACF;AAED,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EAAE,KAAK,IAAI,IAAI,IAAI,EAAE,CAAC;CAC9B"}
1
+ {"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../src/resources/user.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;OAEG;IACH,GAAG,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;CAGhD;AAED;;GAEG;AACH,MAAM,WAAW,IAAI;IACnB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,QAAQ,EAAE,IAAI,CAAC,QAAQ,CAAC;CACzB;AAED,yBAAiB,IAAI,CAAC;IACpB;;OAEG;IACH,UAAiB,QAAQ;QACvB,KAAK,CAAC,EAAE,OAAO,CAAC;KACjB;CACF;AAED,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EAAE,KAAK,IAAI,IAAI,IAAI,EAAE,CAAC;CAC9B"}
package/src/client.ts CHANGED
@@ -134,7 +134,7 @@ export class NirvanaLabs {
134
134
  * API Client for interfacing with the Nirvana Labs API.
135
135
  *
136
136
  * @param {string | undefined} [opts.apiKey=process.env['NIRVANA_LABS_API_KEY'] ?? undefined]
137
- * @param {string} [opts.baseURL=process.env['NIRVANA_LABS_BASE_URL'] ?? https://api.nirvanalabs.io/] - Override the default base URL for the API.
137
+ * @param {string} [opts.baseURL=process.env['NIRVANA_LABS_BASE_URL'] ?? https://api.nirvanalabs.io] - Override the default base URL for the API.
138
138
  * @param {number} [opts.timeout=1 minute] - The maximum amount of time (in milliseconds) the client will wait for a response before timing out.
139
139
  * @param {MergedRequestInit} [opts.fetchOptions] - Additional `RequestInit` options to be passed to `fetch` calls.
140
140
  * @param {Fetch} [opts.fetch] - Specify a custom `fetch` function implementation.
@@ -156,7 +156,7 @@ export class NirvanaLabs {
156
156
  const options: ClientOptions = {
157
157
  apiKey,
158
158
  ...opts,
159
- baseURL: baseURL || `https://api.nirvanalabs.io/`,
159
+ baseURL: baseURL || `https://api.nirvanalabs.io`,
160
160
  };
161
161
 
162
162
  this.baseURL = options.baseURL!;
@@ -202,7 +202,7 @@ export class NirvanaLabs {
202
202
  * Check whether the base URL is set to its default.
203
203
  */
204
204
  #baseURLOverridden(): boolean {
205
- return this.baseURL !== 'https://api.nirvanalabs.io/';
205
+ return this.baseURL !== 'https://api.nirvanalabs.io';
206
206
  }
207
207
 
208
208
  protected defaultQuery(): Record<string, string | undefined> | undefined {
@@ -75,46 +75,51 @@ export class APIKeys extends APIResource {
75
75
  }
76
76
 
77
77
  /**
78
- * API key response.
78
+ * API Key response.
79
79
  */
80
80
  export interface APIKey {
81
81
  /**
82
- * API key ID.
82
+ * API Key ID.
83
83
  */
84
84
  id: string;
85
85
 
86
86
  /**
87
- * When the API key was created.
87
+ * When the API Key was created.
88
88
  */
89
89
  created_at: string;
90
90
 
91
91
  /**
92
- * When the API key expires and is no longer valid.
92
+ * When the API Key expires and is no longer valid.
93
93
  */
94
94
  expires_at: string;
95
95
 
96
96
  /**
97
- * API key name.
97
+ * API Key name.
98
98
  */
99
99
  name: string;
100
100
 
101
101
  /**
102
- * Status of the API key.
102
+ * Status of the API Key.
103
103
  */
104
104
  status: 'active' | 'inactive' | 'expired';
105
105
 
106
106
  /**
107
- * When the API key was updated.
107
+ * Tags to attach to the API Key.
108
+ */
109
+ tags: Array<string>;
110
+
111
+ /**
112
+ * When the API Key was updated.
108
113
  */
109
114
  updated_at: string;
110
115
 
111
116
  /**
112
- * API key. Only returned on creation.
117
+ * API Key. Only returned on creation.
113
118
  */
114
119
  key?: string;
115
120
 
116
121
  /**
117
- * When the API key starts to be valid.
122
+ * When the API Key starts to be valid.
118
123
  */
119
124
  starts_at?: string;
120
125
  }
@@ -125,26 +130,36 @@ export interface APIKeyList {
125
130
 
126
131
  export interface APIKeyCreateParams {
127
132
  /**
128
- * When the API key expires and is no longer valid.
133
+ * When the API Key expires and is no longer valid.
129
134
  */
130
135
  expires_at: string;
131
136
 
132
137
  /**
133
- * API key name.
138
+ * API Key name.
134
139
  */
135
140
  name: string;
136
141
 
137
142
  /**
138
- * When the API key starts to be valid.
143
+ * When the API Key starts to be valid.
139
144
  */
140
145
  starts_at?: string;
146
+
147
+ /**
148
+ * Tags to attach to the API Key.
149
+ */
150
+ tags?: Array<string>;
141
151
  }
142
152
 
143
153
  export interface APIKeyUpdateParams {
144
154
  /**
145
- * API key name.
155
+ * API Key name.
146
156
  */
147
157
  name?: string;
158
+
159
+ /**
160
+ * Tags to attach to the API Key.
161
+ */
162
+ tags?: Array<string>;
148
163
  }
149
164
 
150
165
  export declare namespace APIKeys {
@@ -119,7 +119,7 @@ export namespace AvailabilityCreateParams {
119
119
  */
120
120
  export interface BootVolume {
121
121
  /**
122
- * Size of the volume in GB.
122
+ * Size of the Volume in GB.
123
123
  */
124
124
  size: number;
125
125
  }
@@ -129,12 +129,12 @@ export namespace AvailabilityCreateParams {
129
129
  */
130
130
  export interface DataVolume {
131
131
  /**
132
- * Name of the volume.
132
+ * Name of the Volume.
133
133
  */
134
134
  name: string;
135
135
 
136
136
  /**
137
- * Size of the volume in GB.
137
+ * Size of the Volume in GB.
138
138
  */
139
139
  size: number;
140
140
  }
@@ -327,7 +327,7 @@ export namespace VMCreateParams {
327
327
  */
328
328
  export interface BootVolume {
329
329
  /**
330
- * Size of the volume in GB.
330
+ * Size of the Volume in GB.
331
331
  */
332
332
  size: number;
333
333
  }
@@ -337,12 +337,12 @@ export namespace VMCreateParams {
337
337
  */
338
338
  export interface DataVolume {
339
339
  /**
340
- * Name of the volume.
340
+ * Name of the Volume.
341
341
  */
342
342
  name: string;
343
343
 
344
344
  /**
345
- * Size of the volume in GB.
345
+ * Size of the Volume in GB.
346
346
  */
347
347
  size: number;
348
348
  }
@@ -54,29 +54,29 @@ export type AvailabilityUpdateResponse = string;
54
54
 
55
55
  export interface AvailabilityCreateParams {
56
56
  /**
57
- * Name of the volume.
57
+ * Name of the Volume.
58
58
  */
59
59
  name: string;
60
60
 
61
61
  /**
62
- * Size of the volume in GB.
62
+ * Size of the Volume in GB.
63
63
  */
64
64
  size: number;
65
65
 
66
66
  /**
67
- * ID of the VM the volume is attached to.
67
+ * ID of the VM the Volume is attached to.
68
68
  */
69
69
  vm_id: string;
70
70
  }
71
71
 
72
72
  export interface AvailabilityUpdateParams {
73
73
  /**
74
- * Name of the volume.
74
+ * Name of the Volume.
75
75
  */
76
76
  name?: string;
77
77
 
78
78
  /**
79
- * Size of the volume in GB.
79
+ * Size of the Volume in GB.
80
80
  */
81
81
  size?: number;
82
82
  }
@@ -94,7 +94,7 @@ export class Volumes extends APIResource {
94
94
  }
95
95
 
96
96
  /**
97
- * Storage type the volume is using.
97
+ * Storage type the Volume is using.
98
98
  */
99
99
  export type StorageType = 'nvme';
100
100
 
@@ -103,12 +103,12 @@ export type StorageType = 'nvme';
103
103
  */
104
104
  export interface Volume {
105
105
  /**
106
- * Unique identifier for the volume.
106
+ * Unique identifier for the Volume.
107
107
  */
108
108
  id: string;
109
109
 
110
110
  /**
111
- * When the volume was created.
111
+ * When the Volume was created.
112
112
  */
113
113
  created_at: string;
114
114
 
@@ -118,12 +118,12 @@ export interface Volume {
118
118
  kind: VolumeKind;
119
119
 
120
120
  /**
121
- * Name of the volume.
121
+ * Name of the Volume.
122
122
  */
123
123
  name: string;
124
124
 
125
125
  /**
126
- * Size of the volume in GB.
126
+ * Size of the Volume in GB.
127
127
  */
128
128
  size: number;
129
129
 
@@ -133,22 +133,22 @@ export interface Volume {
133
133
  status: Shared.ResourceStatus;
134
134
 
135
135
  /**
136
- * Storage type the volume is using.
136
+ * Storage type the Volume is using.
137
137
  */
138
138
  type: StorageType;
139
139
 
140
140
  /**
141
- * When the volume was updated.
141
+ * When the Volume was updated.
142
142
  */
143
143
  updated_at: string;
144
144
 
145
145
  /**
146
- * ID of the VM the volume is attached to.
146
+ * ID of the VM the Volume is attached to.
147
147
  */
148
148
  vm_id: string | null;
149
149
 
150
150
  /**
151
- * Name of the VM the volume is attached to.
151
+ * Name of the VM the Volume is attached to.
152
152
  */
153
153
  vm_name: string | null;
154
154
  }
@@ -164,29 +164,29 @@ export interface VolumeList {
164
164
 
165
165
  export interface VolumeCreateParams {
166
166
  /**
167
- * Name of the volume.
167
+ * Name of the Volume.
168
168
  */
169
169
  name: string;
170
170
 
171
171
  /**
172
- * Size of the volume in GB.
172
+ * Size of the Volume in GB.
173
173
  */
174
174
  size: number;
175
175
 
176
176
  /**
177
- * ID of the VM the volume is attached to.
177
+ * ID of the VM the Volume is attached to.
178
178
  */
179
179
  vm_id: string;
180
180
  }
181
181
 
182
182
  export interface VolumeUpdateParams {
183
183
  /**
184
- * Name of the volume.
184
+ * Name of the Volume.
185
185
  */
186
186
  name?: string;
187
187
 
188
188
  /**
189
- * Size of the volume in GB.
189
+ * Size of the Volume in GB.
190
190
  */
191
191
  size?: number;
192
192
  }
@@ -109,7 +109,7 @@ export interface Flux {
109
109
  /**
110
110
  * Connect Flux speed in Mbps
111
111
  */
112
- bandwidth_mbps: 50 | 200 | 500;
112
+ bandwidth_mbps: 50 | 200 | 500 | 1000 | 2000;
113
113
 
114
114
  /**
115
115
  * CIDRs for the Connect Flux
@@ -214,7 +214,7 @@ export interface FluxCreateParams {
214
214
  /**
215
215
  * Connect Flux speed in Mbps
216
216
  */
217
- bandwidth_mbps: 50 | 200 | 500;
217
+ bandwidth_mbps: 50 | 200 | 500 | 1000 | 2000;
218
218
 
219
219
  /**
220
220
  * CIDRs for the Connect Flux
@@ -116,37 +116,37 @@ export class FirewallRules extends APIResource {
116
116
  */
117
117
  export interface FirewallRule {
118
118
  /**
119
- * Unique identifier for the firewall rule.
119
+ * Unique identifier for the Firewall Rule.
120
120
  */
121
121
  id: string;
122
122
 
123
123
  /**
124
- * When the firewall rule was created.
124
+ * When the Firewall Rule was created.
125
125
  */
126
126
  created_at: string;
127
127
 
128
128
  /**
129
- * Destination address of the firewall rule. Either VPC CIDR or VM in VPC.
129
+ * Destination address of the Firewall Rule. Either VPC CIDR or VM in VPC.
130
130
  */
131
131
  destination_address: string;
132
132
 
133
133
  /**
134
- * Destination ports of the firewall rule.
134
+ * Destination ports of the Firewall Rule.
135
135
  */
136
136
  destination_ports: Array<string>;
137
137
 
138
138
  /**
139
- * Name of the firewall rule.
139
+ * Name of the Firewall Rule.
140
140
  */
141
141
  name: string;
142
142
 
143
143
  /**
144
- * Protocol of the firewall rule.
144
+ * Protocol of the Firewall Rule.
145
145
  */
146
146
  protocol: 'tcp' | 'udp';
147
147
 
148
148
  /**
149
- * Source address of the firewall rule. Address of 0.0.0.0 requires a CIDR mask
149
+ * Source address of the Firewall Rule. Address of 0.0.0.0 requires a CIDR mask
150
150
  * of 0.
151
151
  */
152
152
  source_address: string;
@@ -157,12 +157,12 @@ export interface FirewallRule {
157
157
  status: Shared.ResourceStatus;
158
158
 
159
159
  /**
160
- * When the firewall rule was updated.
160
+ * When the Firewall Rule was updated.
161
161
  */
162
162
  updated_at: string;
163
163
 
164
164
  /**
165
- * ID of the VPC the firewall rule belongs to.
165
+ * ID of the VPC the Firewall Rule belongs to.
166
166
  */
167
167
  vpc_id: string;
168
168
  }
@@ -173,27 +173,27 @@ export interface FirewallRuleList {
173
173
 
174
174
  export interface FirewallRuleCreateParams {
175
175
  /**
176
- * Destination address of the firewall rule. Either VPC CIDR or VM in VPC.
176
+ * Destination address of the Firewall Rule. Either VPC CIDR or VM in VPC.
177
177
  */
178
178
  destination_address: string;
179
179
 
180
180
  /**
181
- * Destination ports of the firewall rule.
181
+ * Destination ports of the Firewall Rule.
182
182
  */
183
183
  destination_ports: Array<string>;
184
184
 
185
185
  /**
186
- * Name of the firewall rule.
186
+ * Name of the Firewall Rule.
187
187
  */
188
188
  name: string;
189
189
 
190
190
  /**
191
- * Protocol of the firewall rule.
191
+ * Protocol of the Firewall Rule.
192
192
  */
193
193
  protocol: 'tcp' | 'udp';
194
194
 
195
195
  /**
196
- * Source address of the firewall rule. Address of 0.0.0.0 requires a CIDR mask
196
+ * Source address of the Firewall Rule. Address of 0.0.0.0 requires a CIDR mask
197
197
  * of 0.
198
198
  */
199
199
  source_address: string;
@@ -206,28 +206,28 @@ export interface FirewallRuleUpdateParams {
206
206
  vpc_id: string;
207
207
 
208
208
  /**
209
- * Body param: Destination address of the firewall rule. Either VPC CIDR or VM in
209
+ * Body param: Destination address of the Firewall Rule. Either VPC CIDR or VM in
210
210
  * VPC.
211
211
  */
212
212
  destination_address?: string;
213
213
 
214
214
  /**
215
- * Body param: Destination ports of the firewall rule.
215
+ * Body param: Destination ports of the Firewall Rule.
216
216
  */
217
217
  destination_ports?: Array<string>;
218
218
 
219
219
  /**
220
- * Body param: Name of the firewall rule.
220
+ * Body param: Name of the Firewall Rule.
221
221
  */
222
222
  name?: string;
223
223
 
224
224
  /**
225
- * Body param: Protocol of the firewall rule.
225
+ * Body param: Protocol of the Firewall Rule.
226
226
  */
227
227
  protocol?: 'tcp' | 'udp';
228
228
 
229
229
  /**
230
- * Body param: Source address of the firewall rule. Address of 0.0.0.0 requires a
230
+ * Body param: Source address of the Firewall Rule. Address of 0.0.0.0 requires a
231
231
  * CIDR mask of 0.
232
232
  */
233
233
  source_address?: string;
@@ -101,22 +101,22 @@ export interface Subnet {
101
101
  id: string;
102
102
 
103
103
  /**
104
- * CIDR block for the subnet.
104
+ * CIDR block for the Subnet.
105
105
  */
106
106
  cidr: string;
107
107
 
108
108
  /**
109
- * When the subnet was created.
109
+ * When the Subnet was created.
110
110
  */
111
111
  created_at: string;
112
112
 
113
113
  /**
114
- * Name of the subnet.
114
+ * Name of the Subnet.
115
115
  */
116
116
  name: string;
117
117
 
118
118
  /**
119
- * When the subnet was updated.
119
+ * When the Subnet was updated.
120
120
  */
121
121
  updated_at: string;
122
122
  }
@@ -136,7 +136,7 @@ export interface VPC {
136
136
  created_at: string;
137
137
 
138
138
  /**
139
- * IDs of the firewall rules associated with the VPC.
139
+ * IDs of the Firewall Rules associated with the VPC.
140
140
  */
141
141
  firewall_rule_ids: Array<string>;
142
142