@upcloud/pulumi-upcloud 0.8.0 → 0.9.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/getManagedObjectStoragePolicies.d.ts +1 -1
- package/managedObjectStorage.d.ts +6 -6
- package/managedObjectStorageUserAccessKey.d.ts +2 -2
- package/network.d.ts +8 -0
- package/network.js +2 -0
- package/network.js.map +1 -1
- package/package.json +2 -2
- package/types/input.d.ts +41 -1
- package/types/output.d.ts +49 -9
|
@@ -15,7 +15,7 @@ export interface GetManagedObjectStoragePoliciesArgs {
|
|
|
15
15
|
*/
|
|
16
16
|
export interface GetManagedObjectStoragePoliciesResult {
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
18
|
+
* @deprecated Contains the same value as `serviceUuid`. Use `serviceUuid` instead.
|
|
19
19
|
*/
|
|
20
20
|
readonly id: string;
|
|
21
21
|
readonly policies: outputs.GetManagedObjectStoragePoliciesPolicy[];
|
|
@@ -72,7 +72,7 @@ export declare class ManagedObjectStorage extends pulumi.CustomResource {
|
|
|
72
72
|
*/
|
|
73
73
|
readonly labels: pulumi.Output<{
|
|
74
74
|
[key: string]: string;
|
|
75
|
-
}
|
|
75
|
+
}>;
|
|
76
76
|
/**
|
|
77
77
|
* Name of the Managed Object Storage service. Must be unique within account.
|
|
78
78
|
*/
|
|
@@ -86,11 +86,11 @@ export declare class ManagedObjectStorage extends pulumi.CustomResource {
|
|
|
86
86
|
*/
|
|
87
87
|
readonly operationalState: pulumi.Output<string>;
|
|
88
88
|
/**
|
|
89
|
-
* Region in which the service will be hosted, see `upcloud.getManagedObjectStorageRegions` data source.
|
|
89
|
+
* Region in which the service will be hosted, see `upcloud.getManagedObjectStorageRegions` data source or use `upctl object-storage regions` to list available regions.
|
|
90
90
|
*/
|
|
91
91
|
readonly region: pulumi.Output<string>;
|
|
92
92
|
/**
|
|
93
|
-
*
|
|
93
|
+
* Update time.
|
|
94
94
|
*/
|
|
95
95
|
readonly updatedAt: pulumi.Output<string>;
|
|
96
96
|
/**
|
|
@@ -137,11 +137,11 @@ export interface ManagedObjectStorageState {
|
|
|
137
137
|
*/
|
|
138
138
|
operationalState?: pulumi.Input<string>;
|
|
139
139
|
/**
|
|
140
|
-
* Region in which the service will be hosted, see `upcloud.getManagedObjectStorageRegions` data source.
|
|
140
|
+
* Region in which the service will be hosted, see `upcloud.getManagedObjectStorageRegions` data source or use `upctl object-storage regions` to list available regions.
|
|
141
141
|
*/
|
|
142
142
|
region?: pulumi.Input<string>;
|
|
143
143
|
/**
|
|
144
|
-
*
|
|
144
|
+
* Update time.
|
|
145
145
|
*/
|
|
146
146
|
updatedAt?: pulumi.Input<string>;
|
|
147
147
|
}
|
|
@@ -168,7 +168,7 @@ export interface ManagedObjectStorageArgs {
|
|
|
168
168
|
*/
|
|
169
169
|
networks?: pulumi.Input<pulumi.Input<inputs.ManagedObjectStorageNetwork>[]>;
|
|
170
170
|
/**
|
|
171
|
-
* Region in which the service will be hosted, see `upcloud.getManagedObjectStorageRegions` data source.
|
|
171
|
+
* Region in which the service will be hosted, see `upcloud.getManagedObjectStorageRegions` data source or use `upctl object-storage regions` to list available regions.
|
|
172
172
|
*/
|
|
173
173
|
region: pulumi.Input<string>;
|
|
174
174
|
}
|
|
@@ -41,7 +41,7 @@ export declare class ManagedObjectStorageUserAccessKey extends pulumi.CustomReso
|
|
|
41
41
|
*/
|
|
42
42
|
static isInstance(obj: any): obj is ManagedObjectStorageUserAccessKey;
|
|
43
43
|
/**
|
|
44
|
-
* Access key
|
|
44
|
+
* Access key ID.
|
|
45
45
|
*/
|
|
46
46
|
readonly accessKeyId: pulumi.Output<string>;
|
|
47
47
|
/**
|
|
@@ -82,7 +82,7 @@ export declare class ManagedObjectStorageUserAccessKey extends pulumi.CustomReso
|
|
|
82
82
|
*/
|
|
83
83
|
export interface ManagedObjectStorageUserAccessKeyState {
|
|
84
84
|
/**
|
|
85
|
-
* Access key
|
|
85
|
+
* Access key ID.
|
|
86
86
|
*/
|
|
87
87
|
accessKeyId?: pulumi.Input<string>;
|
|
88
88
|
/**
|
package/network.d.ts
CHANGED
|
@@ -48,6 +48,10 @@ export declare class Network extends pulumi.CustomResource {
|
|
|
48
48
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
49
49
|
*/
|
|
50
50
|
static isInstance(obj: any): obj is Network;
|
|
51
|
+
/**
|
|
52
|
+
* Effective routes applied to this network (read-only).
|
|
53
|
+
*/
|
|
54
|
+
readonly effectiveRoutes: pulumi.Output<outputs.NetworkEffectiveRoute[]>;
|
|
51
55
|
/**
|
|
52
56
|
* IP subnet within the network. Network must have exactly one IP subnet.
|
|
53
57
|
*/
|
|
@@ -87,6 +91,10 @@ export declare class Network extends pulumi.CustomResource {
|
|
|
87
91
|
* Input properties used for looking up and filtering Network resources.
|
|
88
92
|
*/
|
|
89
93
|
export interface NetworkState {
|
|
94
|
+
/**
|
|
95
|
+
* Effective routes applied to this network (read-only).
|
|
96
|
+
*/
|
|
97
|
+
effectiveRoutes?: pulumi.Input<pulumi.Input<inputs.NetworkEffectiveRoute>[]>;
|
|
90
98
|
/**
|
|
91
99
|
* IP subnet within the network. Network must have exactly one IP subnet.
|
|
92
100
|
*/
|
package/network.js
CHANGED
|
@@ -64,6 +64,7 @@ class Network extends pulumi.CustomResource {
|
|
|
64
64
|
opts = opts || {};
|
|
65
65
|
if (opts.id) {
|
|
66
66
|
const state = argsOrState;
|
|
67
|
+
resourceInputs["effectiveRoutes"] = state?.effectiveRoutes;
|
|
67
68
|
resourceInputs["ipNetwork"] = state?.ipNetwork;
|
|
68
69
|
resourceInputs["labels"] = state?.labels;
|
|
69
70
|
resourceInputs["name"] = state?.name;
|
|
@@ -84,6 +85,7 @@ class Network extends pulumi.CustomResource {
|
|
|
84
85
|
resourceInputs["name"] = args?.name;
|
|
85
86
|
resourceInputs["router"] = args?.router;
|
|
86
87
|
resourceInputs["zone"] = args?.zone;
|
|
88
|
+
resourceInputs["effectiveRoutes"] = undefined /*out*/;
|
|
87
89
|
resourceInputs["type"] = undefined /*out*/;
|
|
88
90
|
}
|
|
89
91
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
package/network.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"network.js","sourceRoot":"","sources":["../network.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoB,EAAE,IAAmC;QAClH,OAAO,IAAI,OAAO,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC9D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,OAAO,CAAC,YAAY,CAAC;IACxD,CAAC;
|
|
1
|
+
{"version":3,"file":"network.js","sourceRoot":"","sources":["../network.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoB,EAAE,IAAmC;QAClH,OAAO,IAAI,OAAO,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAA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I,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACtD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC9C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AA/FL,0BAgGC;AAlFG,gBAAgB;AACO,oBAAY,GAAG,+BAA+B,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@upcloud/pulumi-upcloud",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.0",
|
|
4
4
|
"description": "A Pulumi package for creating and managing UpCloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"pulumi": {
|
|
25
25
|
"resource": true,
|
|
26
26
|
"name": "upcloud",
|
|
27
|
-
"version": "0.
|
|
27
|
+
"version": "0.9.0",
|
|
28
28
|
"server": "github://api.github.com/UpCloudLtd/pulumi-upcloud"
|
|
29
29
|
}
|
|
30
30
|
}
|
package/types/input.d.ts
CHANGED
|
@@ -3353,7 +3353,7 @@ export interface ManagedObjectStorageEndpoint {
|
|
|
3353
3353
|
}
|
|
3354
3354
|
export interface ManagedObjectStorageNetwork {
|
|
3355
3355
|
/**
|
|
3356
|
-
* Network family.
|
|
3356
|
+
* Network family. Currently only `IPv4` is supported.
|
|
3357
3357
|
*/
|
|
3358
3358
|
family: pulumi.Input<string>;
|
|
3359
3359
|
/**
|
|
@@ -3369,6 +3369,28 @@ export interface ManagedObjectStorageNetwork {
|
|
|
3369
3369
|
*/
|
|
3370
3370
|
uuid?: pulumi.Input<string>;
|
|
3371
3371
|
}
|
|
3372
|
+
export interface NetworkEffectiveRoute {
|
|
3373
|
+
/**
|
|
3374
|
+
* Next hop address for this route.
|
|
3375
|
+
*/
|
|
3376
|
+
nexthop?: pulumi.Input<string>;
|
|
3377
|
+
/**
|
|
3378
|
+
* Destination CIDR of the route.
|
|
3379
|
+
*/
|
|
3380
|
+
route?: pulumi.Input<string>;
|
|
3381
|
+
/**
|
|
3382
|
+
* Origin of the route (e.g., static-route, router-connected-networks).
|
|
3383
|
+
*/
|
|
3384
|
+
source?: pulumi.Input<string>;
|
|
3385
|
+
/**
|
|
3386
|
+
* UUID of the source resource that provided this route, if applicable.
|
|
3387
|
+
*/
|
|
3388
|
+
sourceResourceId?: pulumi.Input<string>;
|
|
3389
|
+
/**
|
|
3390
|
+
* Route type (service or user).
|
|
3391
|
+
*/
|
|
3392
|
+
type?: pulumi.Input<string>;
|
|
3393
|
+
}
|
|
3372
3394
|
export interface NetworkIpNetwork {
|
|
3373
3395
|
/**
|
|
3374
3396
|
* The CIDR range of the subnet
|
|
@@ -3386,6 +3408,10 @@ export interface NetworkIpNetwork {
|
|
|
3386
3408
|
* The DNS servers given by DHCP
|
|
3387
3409
|
*/
|
|
3388
3410
|
dhcpDns?: pulumi.Input<pulumi.Input<string>[]>;
|
|
3411
|
+
/**
|
|
3412
|
+
* Routes provided to DHCP clients in this subnet (read-only).
|
|
3413
|
+
*/
|
|
3414
|
+
dhcpEffectiveRoutes?: pulumi.Input<pulumi.Input<inputs.NetworkIpNetworkDhcpEffectiveRoute>[]>;
|
|
3389
3415
|
/**
|
|
3390
3416
|
* The additional DHCP classless static routes given by DHCP
|
|
3391
3417
|
*/
|
|
@@ -3403,6 +3429,20 @@ export interface NetworkIpNetwork {
|
|
|
3403
3429
|
*/
|
|
3404
3430
|
gateway?: pulumi.Input<string>;
|
|
3405
3431
|
}
|
|
3432
|
+
export interface NetworkIpNetworkDhcpEffectiveRoute {
|
|
3433
|
+
/**
|
|
3434
|
+
* Whether the route was auto-populated by DHCP.
|
|
3435
|
+
*/
|
|
3436
|
+
autoPopulated?: pulumi.Input<boolean>;
|
|
3437
|
+
/**
|
|
3438
|
+
* Next hop address for this DHCP route.
|
|
3439
|
+
*/
|
|
3440
|
+
nexthop?: pulumi.Input<string>;
|
|
3441
|
+
/**
|
|
3442
|
+
* Destination prefix (CIDR) of the DHCP route.
|
|
3443
|
+
*/
|
|
3444
|
+
route?: pulumi.Input<string>;
|
|
3445
|
+
}
|
|
3406
3446
|
export interface NetworkIpNetworkDhcpRoutesConfiguration {
|
|
3407
3447
|
/**
|
|
3408
3448
|
* Automatically populate effective routes.
|
package/types/output.d.ts
CHANGED
|
@@ -446,7 +446,7 @@ export interface GetManagedObjectStoragePoliciesPolicy {
|
|
|
446
446
|
*/
|
|
447
447
|
arn: string;
|
|
448
448
|
/**
|
|
449
|
-
*
|
|
449
|
+
* Number of attachments.
|
|
450
450
|
*/
|
|
451
451
|
attachmentCount: number;
|
|
452
452
|
/**
|
|
@@ -454,15 +454,15 @@ export interface GetManagedObjectStoragePoliciesPolicy {
|
|
|
454
454
|
*/
|
|
455
455
|
createdAt: string;
|
|
456
456
|
/**
|
|
457
|
-
* Default version
|
|
457
|
+
* Default version ID.
|
|
458
458
|
*/
|
|
459
459
|
defaultVersionId: string;
|
|
460
460
|
/**
|
|
461
|
-
*
|
|
461
|
+
* Policy description.
|
|
462
462
|
*/
|
|
463
|
-
description
|
|
463
|
+
description: string;
|
|
464
464
|
/**
|
|
465
|
-
* Policy document
|
|
465
|
+
* Policy document.
|
|
466
466
|
*/
|
|
467
467
|
document: string;
|
|
468
468
|
/**
|
|
@@ -470,15 +470,15 @@ export interface GetManagedObjectStoragePoliciesPolicy {
|
|
|
470
470
|
*/
|
|
471
471
|
name: string;
|
|
472
472
|
/**
|
|
473
|
-
*
|
|
473
|
+
* Service UUID.
|
|
474
474
|
*/
|
|
475
475
|
serviceUuid: string;
|
|
476
476
|
/**
|
|
477
|
-
*
|
|
477
|
+
* Whether the policy is a system policy.
|
|
478
478
|
*/
|
|
479
479
|
system: boolean;
|
|
480
480
|
/**
|
|
481
|
-
*
|
|
481
|
+
* Last updated time.
|
|
482
482
|
*/
|
|
483
483
|
updatedAt: string;
|
|
484
484
|
}
|
|
@@ -3157,7 +3157,7 @@ export interface ManagedObjectStorageEndpoint {
|
|
|
3157
3157
|
}
|
|
3158
3158
|
export interface ManagedObjectStorageNetwork {
|
|
3159
3159
|
/**
|
|
3160
|
-
* Network family.
|
|
3160
|
+
* Network family. Currently only `IPv4` is supported.
|
|
3161
3161
|
*/
|
|
3162
3162
|
family: string;
|
|
3163
3163
|
/**
|
|
@@ -3173,6 +3173,28 @@ export interface ManagedObjectStorageNetwork {
|
|
|
3173
3173
|
*/
|
|
3174
3174
|
uuid?: string;
|
|
3175
3175
|
}
|
|
3176
|
+
export interface NetworkEffectiveRoute {
|
|
3177
|
+
/**
|
|
3178
|
+
* Next hop address for this route.
|
|
3179
|
+
*/
|
|
3180
|
+
nexthop: string;
|
|
3181
|
+
/**
|
|
3182
|
+
* Destination CIDR of the route.
|
|
3183
|
+
*/
|
|
3184
|
+
route: string;
|
|
3185
|
+
/**
|
|
3186
|
+
* Origin of the route (e.g., static-route, router-connected-networks).
|
|
3187
|
+
*/
|
|
3188
|
+
source: string;
|
|
3189
|
+
/**
|
|
3190
|
+
* UUID of the source resource that provided this route, if applicable.
|
|
3191
|
+
*/
|
|
3192
|
+
sourceResourceId: string;
|
|
3193
|
+
/**
|
|
3194
|
+
* Route type (service or user).
|
|
3195
|
+
*/
|
|
3196
|
+
type: string;
|
|
3197
|
+
}
|
|
3176
3198
|
export interface NetworkIpNetwork {
|
|
3177
3199
|
/**
|
|
3178
3200
|
* The CIDR range of the subnet
|
|
@@ -3190,6 +3212,10 @@ export interface NetworkIpNetwork {
|
|
|
3190
3212
|
* The DNS servers given by DHCP
|
|
3191
3213
|
*/
|
|
3192
3214
|
dhcpDns: string[];
|
|
3215
|
+
/**
|
|
3216
|
+
* Routes provided to DHCP clients in this subnet (read-only).
|
|
3217
|
+
*/
|
|
3218
|
+
dhcpEffectiveRoutes: outputs.NetworkIpNetworkDhcpEffectiveRoute[];
|
|
3193
3219
|
/**
|
|
3194
3220
|
* The additional DHCP classless static routes given by DHCP
|
|
3195
3221
|
*/
|
|
@@ -3207,6 +3233,20 @@ export interface NetworkIpNetwork {
|
|
|
3207
3233
|
*/
|
|
3208
3234
|
gateway: string;
|
|
3209
3235
|
}
|
|
3236
|
+
export interface NetworkIpNetworkDhcpEffectiveRoute {
|
|
3237
|
+
/**
|
|
3238
|
+
* Whether the route was auto-populated by DHCP.
|
|
3239
|
+
*/
|
|
3240
|
+
autoPopulated: boolean;
|
|
3241
|
+
/**
|
|
3242
|
+
* Next hop address for this DHCP route.
|
|
3243
|
+
*/
|
|
3244
|
+
nexthop: string;
|
|
3245
|
+
/**
|
|
3246
|
+
* Destination prefix (CIDR) of the DHCP route.
|
|
3247
|
+
*/
|
|
3248
|
+
route: string;
|
|
3249
|
+
}
|
|
3210
3250
|
export interface NetworkIpNetworkDhcpRoutesConfiguration {
|
|
3211
3251
|
/**
|
|
3212
3252
|
* Automatically populate effective routes.
|