@nirvana-labs/nirvana 1.1.2 → 1.3.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 +30 -0
- package/README.md +7 -12
- package/package.json +1 -1
- package/resources/compute/compute.d.mts +2 -2
- package/resources/compute/compute.d.mts.map +1 -1
- package/resources/compute/compute.d.ts +2 -2
- package/resources/compute/compute.d.ts.map +1 -1
- package/resources/compute/compute.js +2 -2
- package/resources/compute/compute.js.map +1 -1
- package/resources/compute/compute.mjs +2 -2
- package/resources/compute/compute.mjs.map +1 -1
- package/resources/compute/index.d.mts +1 -1
- package/resources/compute/index.d.ts +1 -1
- package/resources/compute/index.js +2 -2
- package/resources/compute/index.js.map +1 -1
- package/resources/compute/index.mjs +1 -1
- package/resources/compute/vms/availability.d.mts +130 -0
- package/resources/compute/vms/availability.d.mts.map +1 -0
- package/resources/compute/vms/availability.d.ts +130 -0
- package/resources/compute/vms/availability.d.ts.map +1 -0
- package/resources/compute/vms/availability.js +56 -0
- package/resources/compute/vms/availability.js.map +1 -0
- package/resources/compute/vms/availability.mjs +52 -0
- package/resources/compute/vms/availability.mjs.map +1 -0
- package/resources/compute/vms/index.d.mts +1 -0
- package/resources/compute/vms/index.d.mts.map +1 -1
- package/resources/compute/vms/index.d.ts +1 -0
- package/resources/compute/vms/index.d.ts.map +1 -1
- package/resources/compute/vms/index.js +3 -1
- package/resources/compute/vms/index.js.map +1 -1
- package/resources/compute/vms/index.mjs +1 -0
- package/resources/compute/vms/index.mjs.map +1 -1
- package/resources/compute/vms/vms.d.mts +5 -1
- package/resources/compute/vms/vms.d.mts.map +1 -1
- package/resources/compute/vms/vms.d.ts +5 -1
- package/resources/compute/vms/vms.d.ts.map +1 -1
- package/resources/compute/vms/vms.js +5 -1
- package/resources/compute/vms/vms.js.map +1 -1
- package/resources/compute/vms/vms.mjs +5 -1
- package/resources/compute/vms/vms.mjs.map +1 -1
- package/resources/compute/vms/volumes.d.mts +1 -1
- package/resources/compute/vms/volumes.d.ts +1 -1
- package/resources/compute/volumes/availability.d.mts +61 -0
- package/resources/compute/volumes/availability.d.mts.map +1 -0
- package/resources/compute/volumes/availability.d.ts +61 -0
- package/resources/compute/volumes/availability.d.ts.map +1 -0
- package/resources/compute/volumes/availability.js +49 -0
- package/resources/compute/volumes/availability.js.map +1 -0
- package/resources/compute/volumes/availability.mjs +45 -0
- package/resources/compute/volumes/availability.mjs.map +1 -0
- package/resources/compute/volumes/index.d.mts +3 -0
- package/resources/compute/volumes/index.d.mts.map +1 -0
- package/resources/compute/volumes/index.d.ts +3 -0
- package/resources/compute/volumes/index.d.ts.map +1 -0
- package/resources/compute/volumes/index.js +9 -0
- package/resources/compute/volumes/index.js.map +1 -0
- package/resources/compute/volumes/index.mjs +4 -0
- package/resources/compute/volumes/index.mjs.map +1 -0
- package/resources/compute/volumes/volumes.d.mts +150 -0
- package/resources/compute/volumes/volumes.d.mts.map +1 -0
- package/resources/compute/volumes/volumes.d.ts +150 -0
- package/resources/compute/volumes/volumes.d.ts.map +1 -0
- package/resources/compute/volumes/volumes.js +83 -0
- package/resources/compute/volumes/volumes.js.map +1 -0
- package/resources/compute/volumes/volumes.mjs +78 -0
- package/resources/compute/volumes/volumes.mjs.map +1 -0
- package/resources/compute/volumes.d.mts +1 -145
- package/resources/compute/volumes.d.mts.map +1 -1
- package/resources/compute/volumes.d.ts +1 -145
- package/resources/compute/volumes.d.ts.map +1 -1
- package/resources/compute/volumes.js +2 -71
- package/resources/compute/volumes.js.map +1 -1
- package/resources/compute/volumes.mjs +1 -69
- package/resources/compute/volumes.mjs.map +1 -1
- package/resources/networking/index.d.mts +1 -1
- package/resources/networking/index.d.ts +1 -1
- package/resources/networking/index.js +2 -2
- package/resources/networking/index.js.map +1 -1
- package/resources/networking/index.mjs +1 -1
- package/resources/networking/networking.d.mts +2 -2
- package/resources/networking/networking.d.ts +2 -2
- package/resources/networking/networking.js +2 -2
- package/resources/networking/networking.js.map +1 -1
- package/resources/networking/networking.mjs +2 -2
- package/resources/networking/vpcs/availability.d.mts +62 -0
- package/resources/networking/vpcs/availability.d.mts.map +1 -0
- package/resources/networking/vpcs/availability.d.ts +62 -0
- package/resources/networking/vpcs/availability.d.ts.map +1 -0
- package/resources/networking/vpcs/availability.js +40 -0
- package/resources/networking/vpcs/availability.js.map +1 -0
- package/resources/networking/vpcs/availability.mjs +36 -0
- package/resources/networking/vpcs/availability.mjs.map +1 -0
- package/resources/networking/vpcs/index.d.mts +3 -0
- package/resources/networking/vpcs/index.d.mts.map +1 -0
- package/resources/networking/vpcs/index.d.ts +3 -0
- package/resources/networking/vpcs/index.d.ts.map +1 -0
- package/resources/networking/vpcs/index.js +9 -0
- package/resources/networking/vpcs/index.js.map +1 -0
- package/resources/networking/vpcs/index.mjs +4 -0
- package/resources/networking/vpcs/index.mjs.map +1 -0
- package/resources/networking/vpcs/vpcs.d.mts +157 -0
- package/resources/networking/vpcs/vpcs.d.mts.map +1 -0
- package/resources/networking/vpcs/vpcs.d.ts +157 -0
- package/resources/networking/vpcs/vpcs.d.ts.map +1 -0
- package/resources/networking/vpcs/vpcs.js +81 -0
- package/resources/networking/vpcs/vpcs.js.map +1 -0
- package/resources/networking/vpcs/vpcs.mjs +76 -0
- package/resources/networking/vpcs/vpcs.mjs.map +1 -0
- package/resources/networking/vpcs.d.mts +1 -152
- package/resources/networking/vpcs.d.mts.map +1 -1
- package/resources/networking/vpcs.d.ts +1 -152
- package/resources/networking/vpcs.d.ts.map +1 -1
- package/resources/networking/vpcs.js +2 -69
- package/resources/networking/vpcs.js.map +1 -1
- package/resources/networking/vpcs.mjs +1 -67
- package/resources/networking/vpcs.mjs.map +1 -1
- package/src/resources/compute/compute.ts +10 -10
- package/src/resources/compute/index.ts +1 -1
- package/src/resources/compute/vms/availability.ts +172 -0
- package/src/resources/compute/vms/index.ts +7 -0
- package/src/resources/compute/vms/vms.ts +19 -1
- package/src/resources/compute/vms/volumes.ts +1 -1
- package/src/resources/compute/volumes/availability.ts +91 -0
- package/src/resources/compute/volumes/index.ts +18 -0
- package/src/resources/compute/volumes/volumes.ts +213 -0
- package/src/resources/compute/volumes.ts +1 -191
- package/src/resources/networking/index.ts +1 -1
- package/src/resources/networking/networking.ts +2 -2
- package/src/resources/networking/vpcs/availability.ts +83 -0
- package/src/resources/networking/vpcs/index.ts +17 -0
- package/src/resources/networking/vpcs/vpcs.ts +220 -0
- package/src/resources/networking/vpcs.ts +1 -198
- 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
|
@@ -0,0 +1,220 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
import { APIResource } from '../../../core/resource';
|
|
4
|
+
import * as OperationsAPI from '../../operations';
|
|
5
|
+
import * as Shared from '../../shared';
|
|
6
|
+
import * as AvailabilityAPI from './availability';
|
|
7
|
+
import {
|
|
8
|
+
Availability,
|
|
9
|
+
AvailabilityCreateParams,
|
|
10
|
+
AvailabilityCreateResponse,
|
|
11
|
+
AvailabilityUpdateParams,
|
|
12
|
+
AvailabilityUpdateResponse,
|
|
13
|
+
} from './availability';
|
|
14
|
+
import { APIPromise } from '../../../core/api-promise';
|
|
15
|
+
import { RequestOptions } from '../../../internal/request-options';
|
|
16
|
+
import { path } from '../../../internal/utils/path';
|
|
17
|
+
|
|
18
|
+
export class VPCs extends APIResource {
|
|
19
|
+
availability: AvailabilityAPI.Availability = new AvailabilityAPI.Availability(this._client);
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Create a VPC
|
|
23
|
+
*
|
|
24
|
+
* @example
|
|
25
|
+
* ```ts
|
|
26
|
+
* const operation = await client.networking.vpcs.create({
|
|
27
|
+
* name: 'my-vpc',
|
|
28
|
+
* region: 'us-wdc-1',
|
|
29
|
+
* subnet_name: 'my-subnet',
|
|
30
|
+
* });
|
|
31
|
+
* ```
|
|
32
|
+
*/
|
|
33
|
+
create(body: VPCCreateParams, options?: RequestOptions): APIPromise<OperationsAPI.Operation> {
|
|
34
|
+
return this._client.post('/v1/networking/vpcs', { body, ...options });
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* Update a VPC
|
|
39
|
+
*
|
|
40
|
+
* @example
|
|
41
|
+
* ```ts
|
|
42
|
+
* const operation = await client.networking.vpcs.update(
|
|
43
|
+
* 'vpc_id',
|
|
44
|
+
* );
|
|
45
|
+
* ```
|
|
46
|
+
*/
|
|
47
|
+
update(
|
|
48
|
+
vpcID: string,
|
|
49
|
+
body: VPCUpdateParams,
|
|
50
|
+
options?: RequestOptions,
|
|
51
|
+
): APIPromise<OperationsAPI.Operation> {
|
|
52
|
+
return this._client.patch(path`/v1/networking/vpcs/${vpcID}`, { body, ...options });
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* List all VPCs
|
|
57
|
+
*
|
|
58
|
+
* @example
|
|
59
|
+
* ```ts
|
|
60
|
+
* const vpcList = await client.networking.vpcs.list();
|
|
61
|
+
* ```
|
|
62
|
+
*/
|
|
63
|
+
list(options?: RequestOptions): APIPromise<VPCList> {
|
|
64
|
+
return this._client.get('/v1/networking/vpcs', options);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* Delete a VPC
|
|
69
|
+
*
|
|
70
|
+
* @example
|
|
71
|
+
* ```ts
|
|
72
|
+
* const operation = await client.networking.vpcs.delete(
|
|
73
|
+
* 'vpc_id',
|
|
74
|
+
* );
|
|
75
|
+
* ```
|
|
76
|
+
*/
|
|
77
|
+
delete(vpcID: string, options?: RequestOptions): APIPromise<OperationsAPI.Operation> {
|
|
78
|
+
return this._client.delete(path`/v1/networking/vpcs/${vpcID}`, options);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* Get details about a VPC
|
|
83
|
+
*
|
|
84
|
+
* @example
|
|
85
|
+
* ```ts
|
|
86
|
+
* const vpc = await client.networking.vpcs.get('vpc_id');
|
|
87
|
+
* ```
|
|
88
|
+
*/
|
|
89
|
+
get(vpcID: string, options?: RequestOptions): APIPromise<VPC> {
|
|
90
|
+
return this._client.get(path`/v1/networking/vpcs/${vpcID}`, options);
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* Subnet of the VPC.
|
|
96
|
+
*/
|
|
97
|
+
export interface Subnet {
|
|
98
|
+
/**
|
|
99
|
+
* Unique identifier for the subnet.
|
|
100
|
+
*/
|
|
101
|
+
id: string;
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* CIDR block for the subnet.
|
|
105
|
+
*/
|
|
106
|
+
cidr: string;
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* When the subnet was created.
|
|
110
|
+
*/
|
|
111
|
+
created_at: string;
|
|
112
|
+
|
|
113
|
+
/**
|
|
114
|
+
* Name of the subnet.
|
|
115
|
+
*/
|
|
116
|
+
name: string;
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* When the subnet was updated.
|
|
120
|
+
*/
|
|
121
|
+
updated_at: string;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* VPC details.
|
|
126
|
+
*/
|
|
127
|
+
export interface VPC {
|
|
128
|
+
/**
|
|
129
|
+
* Unique identifier for the VPC.
|
|
130
|
+
*/
|
|
131
|
+
id: string;
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* When the VPC was created.
|
|
135
|
+
*/
|
|
136
|
+
created_at: string;
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* IDs of the firewall rules associated with the VPC.
|
|
140
|
+
*/
|
|
141
|
+
firewall_rule_ids: Array<string>;
|
|
142
|
+
|
|
143
|
+
/**
|
|
144
|
+
* Name of the VPC.
|
|
145
|
+
*/
|
|
146
|
+
name: string;
|
|
147
|
+
|
|
148
|
+
/**
|
|
149
|
+
* Region the resource is in.
|
|
150
|
+
*/
|
|
151
|
+
region: Shared.RegionName;
|
|
152
|
+
|
|
153
|
+
/**
|
|
154
|
+
* Status of the resource.
|
|
155
|
+
*/
|
|
156
|
+
status: Shared.ResourceStatus;
|
|
157
|
+
|
|
158
|
+
/**
|
|
159
|
+
* Subnet of the VPC.
|
|
160
|
+
*/
|
|
161
|
+
subnet: Subnet;
|
|
162
|
+
|
|
163
|
+
/**
|
|
164
|
+
* When the VPC was updated.
|
|
165
|
+
*/
|
|
166
|
+
updated_at: string;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
export interface VPCList {
|
|
170
|
+
items: Array<VPC>;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
export interface VPCCreateParams {
|
|
174
|
+
/**
|
|
175
|
+
* Name of the VPC.
|
|
176
|
+
*/
|
|
177
|
+
name: string;
|
|
178
|
+
|
|
179
|
+
/**
|
|
180
|
+
* Region the resource is in.
|
|
181
|
+
*/
|
|
182
|
+
region: Shared.RegionName;
|
|
183
|
+
|
|
184
|
+
/**
|
|
185
|
+
* Name of the subnet to create.
|
|
186
|
+
*/
|
|
187
|
+
subnet_name: string;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
export interface VPCUpdateParams {
|
|
191
|
+
/**
|
|
192
|
+
* Name of the VPC.
|
|
193
|
+
*/
|
|
194
|
+
name?: string;
|
|
195
|
+
|
|
196
|
+
/**
|
|
197
|
+
* Name of the subnet to create.
|
|
198
|
+
*/
|
|
199
|
+
subnet_name?: string;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
VPCs.Availability = Availability;
|
|
203
|
+
|
|
204
|
+
export declare namespace VPCs {
|
|
205
|
+
export {
|
|
206
|
+
type Subnet as Subnet,
|
|
207
|
+
type VPC as VPC,
|
|
208
|
+
type VPCList as VPCList,
|
|
209
|
+
type VPCCreateParams as VPCCreateParams,
|
|
210
|
+
type VPCUpdateParams as VPCUpdateParams,
|
|
211
|
+
};
|
|
212
|
+
|
|
213
|
+
export {
|
|
214
|
+
Availability as Availability,
|
|
215
|
+
type AvailabilityCreateResponse as AvailabilityCreateResponse,
|
|
216
|
+
type AvailabilityUpdateResponse as AvailabilityUpdateResponse,
|
|
217
|
+
type AvailabilityCreateParams as AvailabilityCreateParams,
|
|
218
|
+
type AvailabilityUpdateParams as AvailabilityUpdateParams,
|
|
219
|
+
};
|
|
220
|
+
}
|
|
@@ -1,200 +1,3 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
import * as OperationsAPI from '../operations';
|
|
5
|
-
import * as Shared from '../shared';
|
|
6
|
-
import { APIPromise } from '../../core/api-promise';
|
|
7
|
-
import { RequestOptions } from '../../internal/request-options';
|
|
8
|
-
import { path } from '../../internal/utils/path';
|
|
9
|
-
|
|
10
|
-
export class VPCs extends APIResource {
|
|
11
|
-
/**
|
|
12
|
-
* Create a VPC
|
|
13
|
-
*
|
|
14
|
-
* @example
|
|
15
|
-
* ```ts
|
|
16
|
-
* const operation = await client.networking.vpcs.create({
|
|
17
|
-
* name: 'my-vpc',
|
|
18
|
-
* region: 'us-wdc-1',
|
|
19
|
-
* subnet_name: 'my-subnet',
|
|
20
|
-
* });
|
|
21
|
-
* ```
|
|
22
|
-
*/
|
|
23
|
-
create(body: VPCCreateParams, options?: RequestOptions): APIPromise<OperationsAPI.Operation> {
|
|
24
|
-
return this._client.post('/v1/networking/vpcs', { body, ...options });
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* Update a VPC
|
|
29
|
-
*
|
|
30
|
-
* @example
|
|
31
|
-
* ```ts
|
|
32
|
-
* const operation = await client.networking.vpcs.update(
|
|
33
|
-
* 'vpc_id',
|
|
34
|
-
* );
|
|
35
|
-
* ```
|
|
36
|
-
*/
|
|
37
|
-
update(
|
|
38
|
-
vpcID: string,
|
|
39
|
-
body: VPCUpdateParams,
|
|
40
|
-
options?: RequestOptions,
|
|
41
|
-
): APIPromise<OperationsAPI.Operation> {
|
|
42
|
-
return this._client.patch(path`/v1/networking/vpcs/${vpcID}`, { body, ...options });
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
/**
|
|
46
|
-
* List all VPCs
|
|
47
|
-
*
|
|
48
|
-
* @example
|
|
49
|
-
* ```ts
|
|
50
|
-
* const vpcList = await client.networking.vpcs.list();
|
|
51
|
-
* ```
|
|
52
|
-
*/
|
|
53
|
-
list(options?: RequestOptions): APIPromise<VPCList> {
|
|
54
|
-
return this._client.get('/v1/networking/vpcs', options);
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
/**
|
|
58
|
-
* Delete a VPC
|
|
59
|
-
*
|
|
60
|
-
* @example
|
|
61
|
-
* ```ts
|
|
62
|
-
* const operation = await client.networking.vpcs.delete(
|
|
63
|
-
* 'vpc_id',
|
|
64
|
-
* );
|
|
65
|
-
* ```
|
|
66
|
-
*/
|
|
67
|
-
delete(vpcID: string, options?: RequestOptions): APIPromise<OperationsAPI.Operation> {
|
|
68
|
-
return this._client.delete(path`/v1/networking/vpcs/${vpcID}`, options);
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
/**
|
|
72
|
-
* Get details about a VPC
|
|
73
|
-
*
|
|
74
|
-
* @example
|
|
75
|
-
* ```ts
|
|
76
|
-
* const vpc = await client.networking.vpcs.get('vpc_id');
|
|
77
|
-
* ```
|
|
78
|
-
*/
|
|
79
|
-
get(vpcID: string, options?: RequestOptions): APIPromise<VPC> {
|
|
80
|
-
return this._client.get(path`/v1/networking/vpcs/${vpcID}`, options);
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
/**
|
|
85
|
-
* Subnet of the VPC.
|
|
86
|
-
*/
|
|
87
|
-
export interface Subnet {
|
|
88
|
-
/**
|
|
89
|
-
* Unique identifier for the subnet.
|
|
90
|
-
*/
|
|
91
|
-
id: string;
|
|
92
|
-
|
|
93
|
-
/**
|
|
94
|
-
* CIDR block for the subnet.
|
|
95
|
-
*/
|
|
96
|
-
cidr: string;
|
|
97
|
-
|
|
98
|
-
/**
|
|
99
|
-
* When the subnet was created.
|
|
100
|
-
*/
|
|
101
|
-
created_at: string;
|
|
102
|
-
|
|
103
|
-
/**
|
|
104
|
-
* Name of the subnet.
|
|
105
|
-
*/
|
|
106
|
-
name: string;
|
|
107
|
-
|
|
108
|
-
/**
|
|
109
|
-
* When the subnet was updated.
|
|
110
|
-
*/
|
|
111
|
-
updated_at: string;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
/**
|
|
115
|
-
* VPC details.
|
|
116
|
-
*/
|
|
117
|
-
export interface VPC {
|
|
118
|
-
/**
|
|
119
|
-
* Unique identifier for the VPC.
|
|
120
|
-
*/
|
|
121
|
-
id: string;
|
|
122
|
-
|
|
123
|
-
/**
|
|
124
|
-
* When the VPC was created.
|
|
125
|
-
*/
|
|
126
|
-
created_at: string;
|
|
127
|
-
|
|
128
|
-
/**
|
|
129
|
-
* IDs of the firewall rules associated with the VPC.
|
|
130
|
-
*/
|
|
131
|
-
firewall_rule_ids: Array<string>;
|
|
132
|
-
|
|
133
|
-
/**
|
|
134
|
-
* Name of the VPC.
|
|
135
|
-
*/
|
|
136
|
-
name: string;
|
|
137
|
-
|
|
138
|
-
/**
|
|
139
|
-
* Region the resource is in.
|
|
140
|
-
*/
|
|
141
|
-
region: Shared.RegionName;
|
|
142
|
-
|
|
143
|
-
/**
|
|
144
|
-
* Status of the resource.
|
|
145
|
-
*/
|
|
146
|
-
status: Shared.ResourceStatus;
|
|
147
|
-
|
|
148
|
-
/**
|
|
149
|
-
* Subnet of the VPC.
|
|
150
|
-
*/
|
|
151
|
-
subnet: Subnet;
|
|
152
|
-
|
|
153
|
-
/**
|
|
154
|
-
* When the VPC was updated.
|
|
155
|
-
*/
|
|
156
|
-
updated_at: string;
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
export interface VPCList {
|
|
160
|
-
items: Array<VPC>;
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
export interface VPCCreateParams {
|
|
164
|
-
/**
|
|
165
|
-
* Name of the VPC.
|
|
166
|
-
*/
|
|
167
|
-
name: string;
|
|
168
|
-
|
|
169
|
-
/**
|
|
170
|
-
* Region the resource is in.
|
|
171
|
-
*/
|
|
172
|
-
region: Shared.RegionName;
|
|
173
|
-
|
|
174
|
-
/**
|
|
175
|
-
* Name of the subnet to create.
|
|
176
|
-
*/
|
|
177
|
-
subnet_name: string;
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
export interface VPCUpdateParams {
|
|
181
|
-
/**
|
|
182
|
-
* Name of the VPC.
|
|
183
|
-
*/
|
|
184
|
-
name?: string;
|
|
185
|
-
|
|
186
|
-
/**
|
|
187
|
-
* Name of the subnet to create.
|
|
188
|
-
*/
|
|
189
|
-
subnet_name?: string;
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
export declare namespace VPCs {
|
|
193
|
-
export {
|
|
194
|
-
type Subnet as Subnet,
|
|
195
|
-
type VPC as VPC,
|
|
196
|
-
type VPCList as VPCList,
|
|
197
|
-
type VPCCreateParams as VPCCreateParams,
|
|
198
|
-
type VPCUpdateParams as VPCUpdateParams,
|
|
199
|
-
};
|
|
200
|
-
}
|
|
3
|
+
export * from './vpcs/index';
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '1.
|
|
1
|
+
export const VERSION = '1.3.0'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "1.
|
|
1
|
+
export declare const VERSION = "1.3.0";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "1.
|
|
1
|
+
export declare const VERSION = "1.3.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '1.
|
|
1
|
+
export const VERSION = '1.3.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|