@origincloud/network 0.3.0 → 0.5.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.
|
@@ -78,9 +78,9 @@ export interface FloatingIp {
|
|
|
78
78
|
*/
|
|
79
79
|
privateAddress?: string;
|
|
80
80
|
/**
|
|
81
|
-
* Whether the platform assigned the address at launch,
|
|
82
|
-
* with `autoAssignPublicIp`. Such an
|
|
83
|
-
* instance is terminated.
|
|
81
|
+
* Whether the platform assigned the address at launch, to an interface
|
|
82
|
+
* the launch created in a subnet with `autoAssignPublicIp`. Such an
|
|
83
|
+
* address is released when its instance is terminated.
|
|
84
84
|
*/
|
|
85
85
|
autoAssigned?: boolean;
|
|
86
86
|
/** When the floating IP was created. */
|
package/dist/v1beta1/subnet.d.ts
CHANGED
|
@@ -40,8 +40,8 @@ export declare class SubnetClient {
|
|
|
40
40
|
createSubnet(request: CreateSubnetRequest, options?: CallOptions): Promise<Operation<Subnet, OperationMetadata>>;
|
|
41
41
|
/**
|
|
42
42
|
* Changes a subnet's public address assignment or tags.
|
|
43
|
-
* `autoAssignPublicIp` applies to
|
|
44
|
-
* operation is done once the change is recorded.
|
|
43
|
+
* `autoAssignPublicIp` applies to launches afterwards that create
|
|
44
|
+
* their interface. The operation is done once the change is recorded.
|
|
45
45
|
*
|
|
46
46
|
* It answers with an operation to wait on, whose result is the Subnet.
|
|
47
47
|
*/
|
|
@@ -88,8 +88,12 @@ export interface Subnet {
|
|
|
88
88
|
*/
|
|
89
89
|
acl?: string;
|
|
90
90
|
/**
|
|
91
|
-
* Whether
|
|
92
|
-
*
|
|
91
|
+
* Whether a launch that creates its network interface in the subnet,
|
|
92
|
+
* as the GraphQL API's `launchInstance` does, gives that interface a
|
|
93
|
+
* floating IP of its own, released when the instance is terminated.
|
|
94
|
+
* `CreateInstance` takes existing interfaces, so an instance it launches
|
|
95
|
+
* gets none: create a floating IP and a floating IP association for its
|
|
96
|
+
* interface instead.
|
|
93
97
|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AAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAC/B;AAED,iCAAiC;AACjC,MAAM,WAAW,gBAAgB;IAC/B,4BAA4B;IAC5B,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,mCAAmC;AACnC,MAAM,WAAW,kBAAkB;IACjC,yEAAyE;IACzE,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,oEAAoE;IACpE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,8CAA8C;IAC9C,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAED,oCAAoC;AACpC,MAAM,WAAW,mBAAmB;IAClC,gCAAgC;IAChC,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,0DAA0D;IAC1D,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,oCAAoC;AACpC,MAAM,WAAW,mBAAmB;IAClC,2EAA2E;IAC3E,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,oCAAoC;AACpC,MAAM,WAAW,mBAAmB;IAClC,0DAA0D;IAC1D,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,oCAAoC;AACpC,MAAM,WAAW,mBAAmB;IAClC,4BAA4B;IAC5B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
|
package/dist/v1beta1/subnet.js
CHANGED
|
@@ -79,8 +79,8 @@ export class SubnetClient {
|
|
|
79
79
|
}
|
|
80
80
|
/**
|
|
81
81
|
* Changes a subnet's public address assignment or tags.
|
|
82
|
-
* `autoAssignPublicIp` applies to
|
|
83
|
-
* operation is done once the change is recorded.
|
|
82
|
+
* `autoAssignPublicIp` applies to launches afterwards that create
|
|
83
|
+
* their interface. The operation is done once the change is recorded.
|
|
84
84
|
*
|
|
85
85
|
* It answers with an operation to wait on, whose result is the Subnet.
|
|
86
86
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@origincloud/network",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"description": "Origin Cloud's network service: VPCs, subnets, routing, gateways, floating IPs, network interfaces, security groups, ACLs and DNS policies.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"homepage": "https://github.com/origincloudhq/sdk-typescript#readme",
|
|
@@ -34,9 +34,9 @@
|
|
|
34
34
|
"!dist/**/*.tsbuildinfo"
|
|
35
35
|
],
|
|
36
36
|
"peerDependencies": {
|
|
37
|
-
"@origincloud/core": "^0.
|
|
37
|
+
"@origincloud/core": "^0.5.0"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@origincloud/core": "^0.
|
|
40
|
+
"@origincloud/core": "^0.5.0"
|
|
41
41
|
}
|
|
42
42
|
}
|
|
@@ -172,9 +172,9 @@ export interface FloatingIp {
|
|
|
172
172
|
*/
|
|
173
173
|
privateAddress?: string;
|
|
174
174
|
/**
|
|
175
|
-
* Whether the platform assigned the address at launch,
|
|
176
|
-
* with `autoAssignPublicIp`. Such an
|
|
177
|
-
* instance is terminated.
|
|
175
|
+
* Whether the platform assigned the address at launch, to an interface
|
|
176
|
+
* the launch created in a subnet with `autoAssignPublicIp`. Such an
|
|
177
|
+
* address is released when its instance is terminated.
|
|
178
178
|
*/
|
|
179
179
|
autoAssigned?: boolean;
|
|
180
180
|
/** When the floating IP was created. */
|
package/src/v1beta1/subnet.ts
CHANGED
|
@@ -105,8 +105,8 @@ export class SubnetClient {
|
|
|
105
105
|
|
|
106
106
|
/**
|
|
107
107
|
* Changes a subnet's public address assignment or tags.
|
|
108
|
-
* `autoAssignPublicIp` applies to
|
|
109
|
-
* operation is done once the change is recorded.
|
|
108
|
+
* `autoAssignPublicIp` applies to launches afterwards that create
|
|
109
|
+
* their interface. The operation is done once the change is recorded.
|
|
110
110
|
*
|
|
111
111
|
* It answers with an operation to wait on, whose result is the Subnet.
|
|
112
112
|
*/
|
|
@@ -182,8 +182,12 @@ export interface Subnet {
|
|
|
182
182
|
*/
|
|
183
183
|
acl?: string;
|
|
184
184
|
/**
|
|
185
|
-
* Whether
|
|
186
|
-
*
|
|
185
|
+
* Whether a launch that creates its network interface in the subnet,
|
|
186
|
+
* as the GraphQL API's `launchInstance` does, gives that interface a
|
|
187
|
+
* floating IP of its own, released when the instance is terminated.
|
|
188
|
+
* `CreateInstance` takes existing interfaces, so an instance it launches
|
|
189
|
+
* gets none: create a floating IP and a floating IP association for its
|
|
190
|
+
* interface instead.
|
|
187
191
|
*/
|
|
188
192
|
autoAssignPublicIp?: boolean;
|
|
189
193
|
/** The subnet's IPv4 range. */
|