@nirvana-labs/nirvana 1.17.3 → 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 +50 -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/connect.d.mts +4 -4
- package/resources/connect/connect.d.mts.map +1 -1
- package/resources/connect/connect.d.ts +4 -4
- package/resources/connect/connect.d.ts.map +1 -1
- package/resources/connect/connect.js +4 -4
- package/resources/connect/connect.js.map +1 -1
- package/resources/connect/connect.mjs +4 -4
- package/resources/connect/connect.mjs.map +1 -1
- package/resources/connect/flux/flux.d.mts +204 -0
- package/resources/connect/flux/flux.d.mts.map +1 -0
- package/resources/connect/flux/flux.d.ts +204 -0
- package/resources/connect/flux/flux.d.ts.map +1 -0
- package/resources/connect/flux/flux.js +83 -0
- package/resources/connect/flux/flux.js.map +1 -0
- package/resources/connect/flux/flux.mjs +78 -0
- package/resources/connect/flux/flux.mjs.map +1 -0
- package/resources/connect/flux/index.d.mts +3 -0
- package/resources/connect/flux/index.d.mts.map +1 -0
- package/resources/connect/flux/index.d.ts +3 -0
- package/resources/connect/flux/index.d.ts.map +1 -0
- package/resources/connect/flux/index.js +9 -0
- package/resources/connect/flux/index.js.map +1 -0
- package/resources/connect/flux/index.mjs +4 -0
- package/resources/connect/flux/index.mjs.map +1 -0
- package/resources/connect/flux/providers.d.mts +17 -0
- package/resources/connect/flux/providers.d.mts.map +1 -0
- package/resources/connect/flux/providers.d.ts +17 -0
- package/resources/connect/flux/providers.d.ts.map +1 -0
- package/resources/connect/flux/providers.js +21 -0
- package/resources/connect/flux/providers.js.map +1 -0
- package/resources/connect/flux/providers.mjs +17 -0
- package/resources/connect/flux/providers.mjs.map +1 -0
- package/resources/connect/flux.d.mts +1 -69
- package/resources/connect/flux.d.mts.map +1 -1
- package/resources/connect/flux.d.ts +1 -69
- package/resources/connect/flux.d.ts.map +1 -1
- package/resources/connect/flux.js +2 -18
- package/resources/connect/flux.js.map +1 -1
- package/resources/connect/flux.mjs +1 -16
- package/resources/connect/flux.mjs.map +1 -1
- package/resources/connect/index.d.mts +1 -1
- package/resources/connect/index.d.mts.map +1 -1
- package/resources/connect/index.d.ts +1 -1
- package/resources/connect/index.d.ts.map +1 -1
- package/resources/connect/index.js +3 -3
- package/resources/connect/index.js.map +1 -1
- package/resources/connect/index.mjs +1 -1
- package/resources/connect/index.mjs.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/blockchains.d.mts +1 -1
- package/resources/rpc-nodes/dedicated/blockchains.d.mts.map +1 -1
- package/resources/rpc-nodes/dedicated/blockchains.d.ts +1 -1
- package/resources/rpc-nodes/dedicated/blockchains.d.ts.map +1 -1
- package/resources/rpc-nodes/dedicated/dedicated.d.mts +12 -12
- package/resources/rpc-nodes/dedicated/dedicated.d.mts.map +1 -1
- package/resources/rpc-nodes/dedicated/dedicated.d.ts +12 -12
- package/resources/rpc-nodes/dedicated/dedicated.d.ts.map +1 -1
- package/resources/rpc-nodes/dedicated/dedicated.js +4 -4
- package/resources/rpc-nodes/dedicated/dedicated.js.map +1 -1
- package/resources/rpc-nodes/dedicated/dedicated.mjs +2 -2
- package/resources/rpc-nodes/dedicated/dedicated.mjs.map +1 -1
- package/resources/rpc-nodes/dedicated/index.d.mts +1 -1
- package/resources/rpc-nodes/dedicated/index.d.mts.map +1 -1
- package/resources/rpc-nodes/dedicated/index.d.ts +1 -1
- package/resources/rpc-nodes/dedicated/index.d.ts.map +1 -1
- package/resources/rpc-nodes/dedicated/index.js +2 -2
- package/resources/rpc-nodes/dedicated/index.js.map +1 -1
- package/resources/rpc-nodes/dedicated/index.mjs +1 -1
- package/resources/rpc-nodes/dedicated/index.mjs.map +1 -1
- package/resources/rpc-nodes/flex/blockchains.d.mts +1 -1
- package/resources/rpc-nodes/flex/blockchains.d.mts.map +1 -1
- package/resources/rpc-nodes/flex/blockchains.d.ts +1 -1
- package/resources/rpc-nodes/flex/blockchains.d.ts.map +1 -1
- package/resources/rpc-nodes/flex/flex.d.mts +12 -12
- package/resources/rpc-nodes/flex/flex.d.mts.map +1 -1
- package/resources/rpc-nodes/flex/flex.d.ts +12 -12
- package/resources/rpc-nodes/flex/flex.d.ts.map +1 -1
- package/resources/rpc-nodes/flex/flex.js +4 -4
- package/resources/rpc-nodes/flex/flex.js.map +1 -1
- package/resources/rpc-nodes/flex/flex.mjs +2 -2
- package/resources/rpc-nodes/flex/flex.mjs.map +1 -1
- package/resources/rpc-nodes/flex/index.d.mts +1 -1
- package/resources/rpc-nodes/flex/index.d.mts.map +1 -1
- package/resources/rpc-nodes/flex/index.d.ts +1 -1
- package/resources/rpc-nodes/flex/index.d.ts.map +1 -1
- package/resources/rpc-nodes/flex/index.js +2 -2
- package/resources/rpc-nodes/flex/index.js.map +1 -1
- package/resources/rpc-nodes/flex/index.mjs +1 -1
- package/resources/rpc-nodes/flex/index.mjs.map +1 -1
- package/resources/rpc-nodes/index.d.mts +2 -2
- package/resources/rpc-nodes/index.d.mts.map +1 -1
- package/resources/rpc-nodes/index.d.ts +2 -2
- package/resources/rpc-nodes/index.d.ts.map +1 -1
- package/resources/rpc-nodes/index.js +3 -3
- package/resources/rpc-nodes/index.js.map +1 -1
- package/resources/rpc-nodes/index.mjs +2 -2
- package/resources/rpc-nodes/index.mjs.map +1 -1
- package/resources/rpc-nodes/rpc-nodes.d.mts +6 -6
- package/resources/rpc-nodes/rpc-nodes.d.mts.map +1 -1
- package/resources/rpc-nodes/rpc-nodes.d.ts +6 -6
- package/resources/rpc-nodes/rpc-nodes.d.ts.map +1 -1
- package/resources/rpc-nodes/rpc-nodes.js +4 -4
- package/resources/rpc-nodes/rpc-nodes.js.map +1 -1
- package/resources/rpc-nodes/rpc-nodes.mjs +6 -6
- package/resources/rpc-nodes/rpc-nodes.mjs.map +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/connect.ts +25 -5
- package/src/resources/connect/flux/flux.ts +267 -0
- package/src/resources/connect/flux/index.ts +14 -0
- package/src/resources/connect/flux/providers.ts +21 -0
- package/src/resources/connect/flux.ts +1 -89
- package/src/resources/connect/index.ts +11 -1
- 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/blockchains.ts +1 -1
- package/src/resources/rpc-nodes/dedicated/dedicated.ts +16 -16
- package/src/resources/rpc-nodes/dedicated/index.ts +5 -5
- package/src/resources/rpc-nodes/flex/blockchains.ts +1 -1
- package/src/resources/rpc-nodes/flex/flex.ts +16 -16
- package/src/resources/rpc-nodes/flex/index.ts +1 -7
- package/src/resources/rpc-nodes/index.ts +10 -10
- package/src/resources/rpc-nodes/rpc-nodes.ts +19 -25
- 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
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
import { APIResource } from "../../../core/resource.js";
|
|
2
|
+
import * as OperationsAPI from "../../operations.js";
|
|
3
|
+
import * as Shared from "../../shared.js";
|
|
4
|
+
import * as ProvidersAPI from "./providers.js";
|
|
5
|
+
import { Providers } from "./providers.js";
|
|
6
|
+
import { APIPromise } from "../../../core/api-promise.js";
|
|
7
|
+
import { RequestOptions } from "../../../internal/request-options.js";
|
|
8
|
+
export declare class FluxResource extends APIResource {
|
|
9
|
+
providers: ProvidersAPI.Providers;
|
|
10
|
+
/**
|
|
11
|
+
* Create a Connect Flux
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```ts
|
|
15
|
+
* const operation = await client.connect.flux.create({
|
|
16
|
+
* bandwidth_mbps: 50,
|
|
17
|
+
* cidrs: ['10.0.0.0/16'],
|
|
18
|
+
* name: 'my-connect-flux',
|
|
19
|
+
* provider_cidrs: ['172.16.0.0/16'],
|
|
20
|
+
* region: 'us-wdc-1',
|
|
21
|
+
* });
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
create(body: FluxCreateParams, options?: RequestOptions): APIPromise<OperationsAPI.Operation>;
|
|
25
|
+
/**
|
|
26
|
+
* Update Connect Flux details
|
|
27
|
+
*
|
|
28
|
+
* @example
|
|
29
|
+
* ```ts
|
|
30
|
+
* const operation = await client.connect.flux.update(
|
|
31
|
+
* 'flux_id',
|
|
32
|
+
* );
|
|
33
|
+
* ```
|
|
34
|
+
*/
|
|
35
|
+
update(fluxID: string, body: FluxUpdateParams, options?: RequestOptions): APIPromise<OperationsAPI.Operation>;
|
|
36
|
+
/**
|
|
37
|
+
* List all Connect Flux
|
|
38
|
+
*
|
|
39
|
+
* @example
|
|
40
|
+
* ```ts
|
|
41
|
+
* const fluxList = await client.connect.flux.list();
|
|
42
|
+
* ```
|
|
43
|
+
*/
|
|
44
|
+
list(options?: RequestOptions): APIPromise<FluxList>;
|
|
45
|
+
/**
|
|
46
|
+
* Delete Connect Flux
|
|
47
|
+
*
|
|
48
|
+
* @example
|
|
49
|
+
* ```ts
|
|
50
|
+
* const operation = await client.connect.flux.delete(
|
|
51
|
+
* 'flux_id',
|
|
52
|
+
* );
|
|
53
|
+
* ```
|
|
54
|
+
*/
|
|
55
|
+
delete(fluxID: string, options?: RequestOptions): APIPromise<OperationsAPI.Operation>;
|
|
56
|
+
/**
|
|
57
|
+
* Get Connect Flux details
|
|
58
|
+
*
|
|
59
|
+
* @example
|
|
60
|
+
* ```ts
|
|
61
|
+
* const flux = await client.connect.flux.get('flux_id');
|
|
62
|
+
* ```
|
|
63
|
+
*/
|
|
64
|
+
get(fluxID: string, options?: RequestOptions): APIPromise<Flux>;
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Connect flux details.
|
|
68
|
+
*/
|
|
69
|
+
export interface Flux {
|
|
70
|
+
/**
|
|
71
|
+
* Unique identifier for the Connect Flux
|
|
72
|
+
*/
|
|
73
|
+
id: string;
|
|
74
|
+
/**
|
|
75
|
+
* ASN
|
|
76
|
+
*/
|
|
77
|
+
asn: number | null;
|
|
78
|
+
/**
|
|
79
|
+
* AWS provider configuration
|
|
80
|
+
*/
|
|
81
|
+
aws: FluxProviderAWSConfig | null;
|
|
82
|
+
/**
|
|
83
|
+
* Connect Flux speed in Mbps
|
|
84
|
+
*/
|
|
85
|
+
bandwidth_mbps: 50 | 200 | 500 | 1000 | 2000;
|
|
86
|
+
/**
|
|
87
|
+
* CIDRs for the Connect Flux
|
|
88
|
+
*/
|
|
89
|
+
cidrs: Array<string>;
|
|
90
|
+
/**
|
|
91
|
+
* When the Connect Flux was created
|
|
92
|
+
*/
|
|
93
|
+
created_at: string;
|
|
94
|
+
/**
|
|
95
|
+
* Name of the Connect Flux
|
|
96
|
+
*/
|
|
97
|
+
name: string;
|
|
98
|
+
/**
|
|
99
|
+
* Provider ASN
|
|
100
|
+
*/
|
|
101
|
+
provider_asn: number | null;
|
|
102
|
+
/**
|
|
103
|
+
* Provider CIDRs for the Connect Flux
|
|
104
|
+
*/
|
|
105
|
+
provider_cidrs: Array<string>;
|
|
106
|
+
/**
|
|
107
|
+
* Provider Router IP
|
|
108
|
+
*/
|
|
109
|
+
provider_router_ip: string | null;
|
|
110
|
+
/**
|
|
111
|
+
* Region the resource is in.
|
|
112
|
+
*/
|
|
113
|
+
region: Shared.RegionName;
|
|
114
|
+
/**
|
|
115
|
+
* Router IP
|
|
116
|
+
*/
|
|
117
|
+
router_ip: string | null;
|
|
118
|
+
/**
|
|
119
|
+
* Status of the resource.
|
|
120
|
+
*/
|
|
121
|
+
status: Shared.ResourceStatus;
|
|
122
|
+
/**
|
|
123
|
+
* When the Connect Flux was updated
|
|
124
|
+
*/
|
|
125
|
+
updated_at: string;
|
|
126
|
+
}
|
|
127
|
+
export interface FluxList {
|
|
128
|
+
items: Array<Flux>;
|
|
129
|
+
}
|
|
130
|
+
/**
|
|
131
|
+
* Provider supported for Connect Flux.
|
|
132
|
+
*/
|
|
133
|
+
export interface FluxProvider {
|
|
134
|
+
/**
|
|
135
|
+
* Provider name.
|
|
136
|
+
*/
|
|
137
|
+
name: string;
|
|
138
|
+
/**
|
|
139
|
+
* Provider region name.
|
|
140
|
+
*/
|
|
141
|
+
region: string;
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* AWS provider configuration
|
|
145
|
+
*/
|
|
146
|
+
export interface FluxProviderAWSConfig {
|
|
147
|
+
/**
|
|
148
|
+
* AWS region where the connection is established
|
|
149
|
+
*/
|
|
150
|
+
region: string;
|
|
151
|
+
}
|
|
152
|
+
/**
|
|
153
|
+
* AWS provider configuration
|
|
154
|
+
*/
|
|
155
|
+
export interface FluxProviderAWSConfigRequest {
|
|
156
|
+
/**
|
|
157
|
+
* AWS account number
|
|
158
|
+
*/
|
|
159
|
+
account_number: string;
|
|
160
|
+
/**
|
|
161
|
+
* AWS region where the connection will be established
|
|
162
|
+
*/
|
|
163
|
+
region: string;
|
|
164
|
+
}
|
|
165
|
+
export interface FluxProviderList {
|
|
166
|
+
items: Array<FluxProvider>;
|
|
167
|
+
}
|
|
168
|
+
export interface FluxCreateParams {
|
|
169
|
+
/**
|
|
170
|
+
* Connect Flux speed in Mbps
|
|
171
|
+
*/
|
|
172
|
+
bandwidth_mbps: 50 | 200 | 500 | 1000 | 2000;
|
|
173
|
+
/**
|
|
174
|
+
* CIDRs for the Connect Flux
|
|
175
|
+
*/
|
|
176
|
+
cidrs: Array<string>;
|
|
177
|
+
/**
|
|
178
|
+
* Name of the Connect Flux
|
|
179
|
+
*/
|
|
180
|
+
name: string;
|
|
181
|
+
/**
|
|
182
|
+
* Provider CIDRs
|
|
183
|
+
*/
|
|
184
|
+
provider_cidrs: Array<string>;
|
|
185
|
+
/**
|
|
186
|
+
* Region the resource is in.
|
|
187
|
+
*/
|
|
188
|
+
region: Shared.RegionName;
|
|
189
|
+
/**
|
|
190
|
+
* AWS provider configuration
|
|
191
|
+
*/
|
|
192
|
+
aws?: FluxProviderAWSConfigRequest;
|
|
193
|
+
}
|
|
194
|
+
export interface FluxUpdateParams {
|
|
195
|
+
/**
|
|
196
|
+
* Name of the Connect Flux.
|
|
197
|
+
*/
|
|
198
|
+
name?: string;
|
|
199
|
+
}
|
|
200
|
+
export declare namespace FluxResource {
|
|
201
|
+
export { type Flux as Flux, type FluxList as FluxList, type FluxProvider as FluxProvider, type FluxProviderAWSConfig as FluxProviderAWSConfig, type FluxProviderAWSConfigRequest as FluxProviderAWSConfigRequest, type FluxProviderList as FluxProviderList, type FluxCreateParams as FluxCreateParams, type FluxUpdateParams as FluxUpdateParams, };
|
|
202
|
+
export { Providers as Providers };
|
|
203
|
+
}
|
|
204
|
+
//# sourceMappingURL=flux.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"flux.d.ts","sourceRoot":"","sources":["../../../src/resources/connect/flux/flux.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.FluxResource = void 0;
|
|
5
|
+
const tslib_1 = require("../../../internal/tslib.js");
|
|
6
|
+
const resource_1 = require("../../../core/resource.js");
|
|
7
|
+
const ProvidersAPI = tslib_1.__importStar(require("./providers.js"));
|
|
8
|
+
const providers_1 = require("./providers.js");
|
|
9
|
+
const path_1 = require("../../../internal/utils/path.js");
|
|
10
|
+
class FluxResource extends resource_1.APIResource {
|
|
11
|
+
constructor() {
|
|
12
|
+
super(...arguments);
|
|
13
|
+
this.providers = new ProvidersAPI.Providers(this._client);
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Create a Connect Flux
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* ```ts
|
|
20
|
+
* const operation = await client.connect.flux.create({
|
|
21
|
+
* bandwidth_mbps: 50,
|
|
22
|
+
* cidrs: ['10.0.0.0/16'],
|
|
23
|
+
* name: 'my-connect-flux',
|
|
24
|
+
* provider_cidrs: ['172.16.0.0/16'],
|
|
25
|
+
* region: 'us-wdc-1',
|
|
26
|
+
* });
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
29
|
+
create(body, options) {
|
|
30
|
+
return this._client.post('/v1/connect/flux', { body, ...options });
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Update Connect Flux details
|
|
34
|
+
*
|
|
35
|
+
* @example
|
|
36
|
+
* ```ts
|
|
37
|
+
* const operation = await client.connect.flux.update(
|
|
38
|
+
* 'flux_id',
|
|
39
|
+
* );
|
|
40
|
+
* ```
|
|
41
|
+
*/
|
|
42
|
+
update(fluxID, body, options) {
|
|
43
|
+
return this._client.patch((0, path_1.path) `/v1/connect/flux/${fluxID}`, { body, ...options });
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* List all Connect Flux
|
|
47
|
+
*
|
|
48
|
+
* @example
|
|
49
|
+
* ```ts
|
|
50
|
+
* const fluxList = await client.connect.flux.list();
|
|
51
|
+
* ```
|
|
52
|
+
*/
|
|
53
|
+
list(options) {
|
|
54
|
+
return this._client.get('/v1/connect/flux', options);
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Delete Connect Flux
|
|
58
|
+
*
|
|
59
|
+
* @example
|
|
60
|
+
* ```ts
|
|
61
|
+
* const operation = await client.connect.flux.delete(
|
|
62
|
+
* 'flux_id',
|
|
63
|
+
* );
|
|
64
|
+
* ```
|
|
65
|
+
*/
|
|
66
|
+
delete(fluxID, options) {
|
|
67
|
+
return this._client.delete((0, path_1.path) `/v1/connect/flux/${fluxID}`, options);
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Get Connect Flux details
|
|
71
|
+
*
|
|
72
|
+
* @example
|
|
73
|
+
* ```ts
|
|
74
|
+
* const flux = await client.connect.flux.get('flux_id');
|
|
75
|
+
* ```
|
|
76
|
+
*/
|
|
77
|
+
get(fluxID, options) {
|
|
78
|
+
return this._client.get((0, path_1.path) `/v1/connect/flux/${fluxID}`, options);
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
exports.FluxResource = FluxResource;
|
|
82
|
+
FluxResource.Providers = providers_1.Providers;
|
|
83
|
+
//# sourceMappingURL=flux.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"flux.js","sourceRoot":"","sources":["../../../src/resources/connect/flux/flux.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,wDAAqD;AAGrD,qEAA4C;AAC5C,8CAAwC;AAGxC,0DAAoD;AAEpD,MAAa,YAAa,SAAQ,sBAAW;IAA7C;;QACE,cAAS,GAA2B,IAAI,YAAY,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IA2E/E,CAAC;IAzEC;;;;;;;;;;;;;OAaG;IACH,MAAM,CAAC,IAAsB,EAAE,OAAwB;QACrD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,kBAAkB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACrE,CAAC;IAED;;;;;;;;;OASG;IACH,MAAM,CACJ,MAAc,EACd,IAAsB,EACtB,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAA,WAAI,EAAA,oBAAoB,MAAM,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACpF,CAAC;IAED;;;;;;;OAOG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,kBAAkB,EAAE,OAAO,CAAC,CAAC;IACvD,CAAC;IAED;;;;;;;;;OASG;IACH,MAAM,CAAC,MAAc,EAAE,OAAwB;QAC7C,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,oBAAoB,MAAM,EAAE,EAAE,OAAO,CAAC,CAAC;IACxE,CAAC;IAED;;;;;;;OAOG;IACH,GAAG,CAAC,MAAc,EAAE,OAAwB;QAC1C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,oBAAoB,MAAM,EAAE,EAAE,OAAO,CAAC,CAAC;IACrE,CAAC;CACF;AA5ED,oCA4EC;AAoKD,YAAY,CAAC,SAAS,GAAG,qBAAS,CAAC"}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../../../core/resource.mjs";
|
|
3
|
+
import * as ProvidersAPI from "./providers.mjs";
|
|
4
|
+
import { Providers } from "./providers.mjs";
|
|
5
|
+
import { path } from "../../../internal/utils/path.mjs";
|
|
6
|
+
export class FluxResource extends APIResource {
|
|
7
|
+
constructor() {
|
|
8
|
+
super(...arguments);
|
|
9
|
+
this.providers = new ProvidersAPI.Providers(this._client);
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Create a Connect Flux
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* ```ts
|
|
16
|
+
* const operation = await client.connect.flux.create({
|
|
17
|
+
* bandwidth_mbps: 50,
|
|
18
|
+
* cidrs: ['10.0.0.0/16'],
|
|
19
|
+
* name: 'my-connect-flux',
|
|
20
|
+
* provider_cidrs: ['172.16.0.0/16'],
|
|
21
|
+
* region: 'us-wdc-1',
|
|
22
|
+
* });
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
create(body, options) {
|
|
26
|
+
return this._client.post('/v1/connect/flux', { body, ...options });
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Update Connect Flux details
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* ```ts
|
|
33
|
+
* const operation = await client.connect.flux.update(
|
|
34
|
+
* 'flux_id',
|
|
35
|
+
* );
|
|
36
|
+
* ```
|
|
37
|
+
*/
|
|
38
|
+
update(fluxID, body, options) {
|
|
39
|
+
return this._client.patch(path `/v1/connect/flux/${fluxID}`, { body, ...options });
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* List all Connect Flux
|
|
43
|
+
*
|
|
44
|
+
* @example
|
|
45
|
+
* ```ts
|
|
46
|
+
* const fluxList = await client.connect.flux.list();
|
|
47
|
+
* ```
|
|
48
|
+
*/
|
|
49
|
+
list(options) {
|
|
50
|
+
return this._client.get('/v1/connect/flux', options);
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Delete Connect Flux
|
|
54
|
+
*
|
|
55
|
+
* @example
|
|
56
|
+
* ```ts
|
|
57
|
+
* const operation = await client.connect.flux.delete(
|
|
58
|
+
* 'flux_id',
|
|
59
|
+
* );
|
|
60
|
+
* ```
|
|
61
|
+
*/
|
|
62
|
+
delete(fluxID, options) {
|
|
63
|
+
return this._client.delete(path `/v1/connect/flux/${fluxID}`, options);
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Get Connect Flux details
|
|
67
|
+
*
|
|
68
|
+
* @example
|
|
69
|
+
* ```ts
|
|
70
|
+
* const flux = await client.connect.flux.get('flux_id');
|
|
71
|
+
* ```
|
|
72
|
+
*/
|
|
73
|
+
get(fluxID, options) {
|
|
74
|
+
return this._client.get(path `/v1/connect/flux/${fluxID}`, options);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
FluxResource.Providers = Providers;
|
|
78
|
+
//# sourceMappingURL=flux.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"flux.mjs","sourceRoot":"","sources":["../../../src/resources/connect/flux/flux.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,KAAK,YAAY;OACjB,EAAE,SAAS,EAAE;OAGb,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,YAAa,SAAQ,WAAW;IAA7C;;QACE,cAAS,GAA2B,IAAI,YAAY,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IA2E/E,CAAC;IAzEC;;;;;;;;;;;;;OAaG;IACH,MAAM,CAAC,IAAsB,EAAE,OAAwB;QACrD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,kBAAkB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACrE,CAAC;IAED;;;;;;;;;OASG;IACH,MAAM,CACJ,MAAc,EACd,IAAsB,EACtB,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAA,oBAAoB,MAAM,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACpF,CAAC;IAED;;;;;;;OAOG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,kBAAkB,EAAE,OAAO,CAAC,CAAC;IACvD,CAAC;IAED;;;;;;;;;OASG;IACH,MAAM,CAAC,MAAc,EAAE,OAAwB;QAC7C,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,oBAAoB,MAAM,EAAE,EAAE,OAAO,CAAC,CAAC;IACxE,CAAC;IAED;;;;;;;OAOG;IACH,GAAG,CAAC,MAAc,EAAE,OAAwB;QAC1C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,oBAAoB,MAAM,EAAE,EAAE,OAAO,CAAC,CAAC;IACrE,CAAC;CACF;AAoKD,YAAY,CAAC,SAAS,GAAG,SAAS,CAAC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { FluxResource, type Flux, type FluxList, type FluxProvider, type FluxProviderAWSConfig, type FluxProviderAWSConfigRequest, type FluxProviderList, type FluxCreateParams, type FluxUpdateParams, } from "./flux.mjs";
|
|
2
|
+
export { Providers } from "./providers.mjs";
|
|
3
|
+
//# sourceMappingURL=index.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/resources/connect/flux/index.ts"],"names":[],"mappings":"OAEO,EACL,YAAY,EACZ,KAAK,IAAI,EACT,KAAK,QAAQ,EACb,KAAK,YAAY,EACjB,KAAK,qBAAqB,EAC1B,KAAK,4BAA4B,EACjC,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,GACtB;OACM,EAAE,SAAS,EAAE"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { FluxResource, type Flux, type FluxList, type FluxProvider, type FluxProviderAWSConfig, type FluxProviderAWSConfigRequest, type FluxProviderList, type FluxCreateParams, type FluxUpdateParams, } from "./flux.js";
|
|
2
|
+
export { Providers } from "./providers.js";
|
|
3
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/connect/flux/index.ts"],"names":[],"mappings":"OAEO,EACL,YAAY,EACZ,KAAK,IAAI,EACT,KAAK,QAAQ,EACb,KAAK,YAAY,EACjB,KAAK,qBAAqB,EAC1B,KAAK,4BAA4B,EACjC,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,GACtB;OACM,EAAE,SAAS,EAAE"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Providers = exports.FluxResource = void 0;
|
|
5
|
+
var flux_1 = require("./flux.js");
|
|
6
|
+
Object.defineProperty(exports, "FluxResource", { enumerable: true, get: function () { return flux_1.FluxResource; } });
|
|
7
|
+
var providers_1 = require("./providers.js");
|
|
8
|
+
Object.defineProperty(exports, "Providers", { enumerable: true, get: function () { return providers_1.Providers; } });
|
|
9
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/connect/flux/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kCAUgB;AATd,oGAAA,YAAY,OAAA;AAUd,4CAAwC;AAA/B,sGAAA,SAAS,OAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/connect/flux/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,YAAY,GASb;OACM,EAAE,SAAS,EAAE"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { APIResource } from "../../../core/resource.mjs";
|
|
2
|
+
import * as FluxAPI from "./flux.mjs";
|
|
3
|
+
import { APIPromise } from "../../../core/api-promise.mjs";
|
|
4
|
+
import { RequestOptions } from "../../../internal/request-options.mjs";
|
|
5
|
+
export declare class Providers extends APIResource {
|
|
6
|
+
/**
|
|
7
|
+
* List all supported providers with regions for Connect Flux.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```ts
|
|
11
|
+
* const fluxProviderList =
|
|
12
|
+
* await client.connect.flux.providers.list();
|
|
13
|
+
* ```
|
|
14
|
+
*/
|
|
15
|
+
list(options?: RequestOptions): APIPromise<FluxAPI.FluxProviderList>;
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=providers.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"providers.d.mts","sourceRoot":"","sources":["../../../src/resources/connect/flux/providers.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,OAAO;OACZ,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,SAAU,SAAQ,WAAW;IACxC;;;;;;;;OAQG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,OAAO,CAAC,gBAAgB,CAAC;CAGrE"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { APIResource } from "../../../core/resource.js";
|
|
2
|
+
import * as FluxAPI from "./flux.js";
|
|
3
|
+
import { APIPromise } from "../../../core/api-promise.js";
|
|
4
|
+
import { RequestOptions } from "../../../internal/request-options.js";
|
|
5
|
+
export declare class Providers extends APIResource {
|
|
6
|
+
/**
|
|
7
|
+
* List all supported providers with regions for Connect Flux.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```ts
|
|
11
|
+
* const fluxProviderList =
|
|
12
|
+
* await client.connect.flux.providers.list();
|
|
13
|
+
* ```
|
|
14
|
+
*/
|
|
15
|
+
list(options?: RequestOptions): APIPromise<FluxAPI.FluxProviderList>;
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=providers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"providers.d.ts","sourceRoot":"","sources":["../../../src/resources/connect/flux/providers.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,OAAO;OACZ,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,SAAU,SAAQ,WAAW;IACxC;;;;;;;;OAQG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,OAAO,CAAC,gBAAgB,CAAC;CAGrE"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Providers = void 0;
|
|
5
|
+
const resource_1 = require("../../../core/resource.js");
|
|
6
|
+
class Providers extends resource_1.APIResource {
|
|
7
|
+
/**
|
|
8
|
+
* List all supported providers with regions for Connect Flux.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```ts
|
|
12
|
+
* const fluxProviderList =
|
|
13
|
+
* await client.connect.flux.providers.list();
|
|
14
|
+
* ```
|
|
15
|
+
*/
|
|
16
|
+
list(options) {
|
|
17
|
+
return this._client.get('/v1/connect/flux/providers', options);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
exports.Providers = Providers;
|
|
21
|
+
//# sourceMappingURL=providers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"providers.js","sourceRoot":"","sources":["../../../src/resources/connect/flux/providers.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAKrD,MAAa,SAAU,SAAQ,sBAAW;IACxC;;;;;;;;OAQG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,4BAA4B,EAAE,OAAO,CAAC,CAAC;IACjE,CAAC;CACF;AAbD,8BAaC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../../../core/resource.mjs";
|
|
3
|
+
export class Providers extends APIResource {
|
|
4
|
+
/**
|
|
5
|
+
* List all supported providers with regions for Connect Flux.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* ```ts
|
|
9
|
+
* const fluxProviderList =
|
|
10
|
+
* await client.connect.flux.providers.list();
|
|
11
|
+
* ```
|
|
12
|
+
*/
|
|
13
|
+
list(options) {
|
|
14
|
+
return this._client.get('/v1/connect/flux/providers', options);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=providers.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"providers.mjs","sourceRoot":"","sources":["../../../src/resources/connect/flux/providers.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAKtB,MAAM,OAAO,SAAU,SAAQ,WAAW;IACxC;;;;;;;;OAQG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,4BAA4B,EAAE,OAAO,CAAC,CAAC;IACjE,CAAC;CACF"}
|
|
@@ -1,70 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
import * as Shared from "../shared.mjs";
|
|
3
|
-
import { APIPromise } from "../../core/api-promise.mjs";
|
|
4
|
-
import { RequestOptions } from "../../internal/request-options.mjs";
|
|
5
|
-
export declare class Flux extends APIResource {
|
|
6
|
-
/**
|
|
7
|
-
* List all Connect Flux
|
|
8
|
-
*/
|
|
9
|
-
list(options?: RequestOptions): APIPromise<ConnectFluxList>;
|
|
10
|
-
/**
|
|
11
|
-
* Get Connect Flux details
|
|
12
|
-
*/
|
|
13
|
-
get(fluxID: string, options?: RequestOptions): APIPromise<ConnectFlux>;
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* Connect flux details.
|
|
17
|
-
*/
|
|
18
|
-
export interface ConnectFlux {
|
|
19
|
-
/**
|
|
20
|
-
* Unique identifier for the connect flux
|
|
21
|
-
*/
|
|
22
|
-
id: string;
|
|
23
|
-
/**
|
|
24
|
-
* Connect flux speed in Mbps
|
|
25
|
-
*/
|
|
26
|
-
bandwidth_mbps: 50 | 100 | 200 | 500 | 1000 | 2000 | 5000;
|
|
27
|
-
/**
|
|
28
|
-
* CIDRs
|
|
29
|
-
*/
|
|
30
|
-
cidrs: Array<string>;
|
|
31
|
-
/**
|
|
32
|
-
* When the connect flux was created
|
|
33
|
-
*/
|
|
34
|
-
created_at: string;
|
|
35
|
-
/**
|
|
36
|
-
* Name of the connect flux
|
|
37
|
-
*/
|
|
38
|
-
name: string;
|
|
39
|
-
/**
|
|
40
|
-
* Provider CIDRs
|
|
41
|
-
*/
|
|
42
|
-
provider_cidrs: Array<string>;
|
|
43
|
-
/**
|
|
44
|
-
* Provider name
|
|
45
|
-
*/
|
|
46
|
-
provider_name: string;
|
|
47
|
-
/**
|
|
48
|
-
* Provider region
|
|
49
|
-
*/
|
|
50
|
-
provider_region: string;
|
|
51
|
-
/**
|
|
52
|
-
* Region the resource is in.
|
|
53
|
-
*/
|
|
54
|
-
region: Shared.RegionName;
|
|
55
|
-
/**
|
|
56
|
-
* Status of the resource.
|
|
57
|
-
*/
|
|
58
|
-
status: Shared.ResourceStatus;
|
|
59
|
-
/**
|
|
60
|
-
* When the connect flux was updated
|
|
61
|
-
*/
|
|
62
|
-
updated_at: string;
|
|
63
|
-
}
|
|
64
|
-
export interface ConnectFluxList {
|
|
65
|
-
items: Array<ConnectFlux>;
|
|
66
|
-
}
|
|
67
|
-
export declare namespace Flux {
|
|
68
|
-
export { type ConnectFlux as ConnectFlux, type ConnectFluxList as ConnectFluxList };
|
|
69
|
-
}
|
|
1
|
+
export * from "./flux/index.mjs";
|
|
70
2
|
//# sourceMappingURL=flux.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flux.d.mts","sourceRoot":"","sources":["../../src/resources/connect/flux.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"flux.d.mts","sourceRoot":"","sources":["../../src/resources/connect/flux.ts"],"names":[],"mappings":""}
|
|
@@ -1,70 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
import * as Shared from "../shared.js";
|
|
3
|
-
import { APIPromise } from "../../core/api-promise.js";
|
|
4
|
-
import { RequestOptions } from "../../internal/request-options.js";
|
|
5
|
-
export declare class Flux extends APIResource {
|
|
6
|
-
/**
|
|
7
|
-
* List all Connect Flux
|
|
8
|
-
*/
|
|
9
|
-
list(options?: RequestOptions): APIPromise<ConnectFluxList>;
|
|
10
|
-
/**
|
|
11
|
-
* Get Connect Flux details
|
|
12
|
-
*/
|
|
13
|
-
get(fluxID: string, options?: RequestOptions): APIPromise<ConnectFlux>;
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* Connect flux details.
|
|
17
|
-
*/
|
|
18
|
-
export interface ConnectFlux {
|
|
19
|
-
/**
|
|
20
|
-
* Unique identifier for the connect flux
|
|
21
|
-
*/
|
|
22
|
-
id: string;
|
|
23
|
-
/**
|
|
24
|
-
* Connect flux speed in Mbps
|
|
25
|
-
*/
|
|
26
|
-
bandwidth_mbps: 50 | 100 | 200 | 500 | 1000 | 2000 | 5000;
|
|
27
|
-
/**
|
|
28
|
-
* CIDRs
|
|
29
|
-
*/
|
|
30
|
-
cidrs: Array<string>;
|
|
31
|
-
/**
|
|
32
|
-
* When the connect flux was created
|
|
33
|
-
*/
|
|
34
|
-
created_at: string;
|
|
35
|
-
/**
|
|
36
|
-
* Name of the connect flux
|
|
37
|
-
*/
|
|
38
|
-
name: string;
|
|
39
|
-
/**
|
|
40
|
-
* Provider CIDRs
|
|
41
|
-
*/
|
|
42
|
-
provider_cidrs: Array<string>;
|
|
43
|
-
/**
|
|
44
|
-
* Provider name
|
|
45
|
-
*/
|
|
46
|
-
provider_name: string;
|
|
47
|
-
/**
|
|
48
|
-
* Provider region
|
|
49
|
-
*/
|
|
50
|
-
provider_region: string;
|
|
51
|
-
/**
|
|
52
|
-
* Region the resource is in.
|
|
53
|
-
*/
|
|
54
|
-
region: Shared.RegionName;
|
|
55
|
-
/**
|
|
56
|
-
* Status of the resource.
|
|
57
|
-
*/
|
|
58
|
-
status: Shared.ResourceStatus;
|
|
59
|
-
/**
|
|
60
|
-
* When the connect flux was updated
|
|
61
|
-
*/
|
|
62
|
-
updated_at: string;
|
|
63
|
-
}
|
|
64
|
-
export interface ConnectFluxList {
|
|
65
|
-
items: Array<ConnectFlux>;
|
|
66
|
-
}
|
|
67
|
-
export declare namespace Flux {
|
|
68
|
-
export { type ConnectFlux as ConnectFlux, type ConnectFluxList as ConnectFluxList };
|
|
69
|
-
}
|
|
1
|
+
export * from "./flux/index.js";
|
|
70
2
|
//# sourceMappingURL=flux.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flux.d.ts","sourceRoot":"","sources":["../../src/resources/connect/flux.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"flux.d.ts","sourceRoot":"","sources":["../../src/resources/connect/flux.ts"],"names":[],"mappings":""}
|