@upcloud/pulumi-upcloud 0.3.0 → 0.3.1
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/package.json +2 -2
- package/serverFirewallRules.d.ts +5 -5
- package/serverFirewallRules.js +0 -3
- package/serverFirewallRules.js.map +1 -1
- package/types/input.d.ts +5 -5
- package/types/output.d.ts +17 -17
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@upcloud/pulumi-upcloud",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.1",
|
|
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.3.
|
|
27
|
+
"version": "0.3.1",
|
|
28
28
|
"server": "github://api.github.com/UpCloudLtd/pulumi-upcloud"
|
|
29
29
|
}
|
|
30
30
|
}
|
package/serverFirewallRules.d.ts
CHANGED
|
@@ -72,9 +72,9 @@ export declare class ServerFirewallRules extends pulumi.CustomResource {
|
|
|
72
72
|
* specified. These can be the same value if only one IP address or port number is specified. Source and destination port
|
|
73
73
|
* numbers can only be set if the protocol is TCP or UDP. The ICMP type may only be set if the protocol is ICMP.
|
|
74
74
|
*/
|
|
75
|
-
readonly firewallRules: pulumi.Output<outputs.ServerFirewallRulesFirewallRule[]>;
|
|
75
|
+
readonly firewallRules: pulumi.Output<outputs.ServerFirewallRulesFirewallRule[] | undefined>;
|
|
76
76
|
/**
|
|
77
|
-
* The
|
|
77
|
+
* The UUID of the server to be protected with the firewall rules.
|
|
78
78
|
*/
|
|
79
79
|
readonly serverId: pulumi.Output<string>;
|
|
80
80
|
/**
|
|
@@ -100,7 +100,7 @@ export interface ServerFirewallRulesState {
|
|
|
100
100
|
*/
|
|
101
101
|
firewallRules?: pulumi.Input<pulumi.Input<inputs.ServerFirewallRulesFirewallRule>[]>;
|
|
102
102
|
/**
|
|
103
|
-
* The
|
|
103
|
+
* The UUID of the server to be protected with the firewall rules.
|
|
104
104
|
*/
|
|
105
105
|
serverId?: pulumi.Input<string>;
|
|
106
106
|
}
|
|
@@ -116,9 +116,9 @@ export interface ServerFirewallRulesArgs {
|
|
|
116
116
|
* specified. These can be the same value if only one IP address or port number is specified. Source and destination port
|
|
117
117
|
* numbers can only be set if the protocol is TCP or UDP. The ICMP type may only be set if the protocol is ICMP.
|
|
118
118
|
*/
|
|
119
|
-
firewallRules
|
|
119
|
+
firewallRules?: pulumi.Input<pulumi.Input<inputs.ServerFirewallRulesFirewallRule>[]>;
|
|
120
120
|
/**
|
|
121
|
-
* The
|
|
121
|
+
* The UUID of the server to be protected with the firewall rules.
|
|
122
122
|
*/
|
|
123
123
|
serverId: pulumi.Input<string>;
|
|
124
124
|
}
|
package/serverFirewallRules.js
CHANGED
|
@@ -85,9 +85,6 @@ class ServerFirewallRules extends pulumi.CustomResource {
|
|
|
85
85
|
}
|
|
86
86
|
else {
|
|
87
87
|
const args = argsOrState;
|
|
88
|
-
if ((!args || args.firewallRules === undefined) && !opts.urn) {
|
|
89
|
-
throw new Error("Missing required property 'firewallRules'");
|
|
90
|
-
}
|
|
91
88
|
if ((!args || args.serverId === undefined) && !opts.urn) {
|
|
92
89
|
throw new Error("Missing required property 'serverId'");
|
|
93
90
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"serverFirewallRules.js","sourceRoot":"","sources":["../serverFirewallRules.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AACH,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAC1D;;;;;;;;OAQG;IACI,MA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;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,mBAAmB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxE,CAAC;;AAnEL,kDAoEC;AAtDG,gBAAgB;AACO,gCAAY,GAAG,uDAAuD,CAAC"}
|
package/types/input.d.ts
CHANGED
|
@@ -3521,11 +3521,11 @@ export interface RouterStaticRoute {
|
|
|
3521
3521
|
}
|
|
3522
3522
|
export interface ServerFirewallRulesFirewallRule {
|
|
3523
3523
|
/**
|
|
3524
|
-
* Action to take if the rule conditions are met. Valid values `accept | drop
|
|
3524
|
+
* Action to take if the rule conditions are met. Valid values `accept | drop`.
|
|
3525
3525
|
*/
|
|
3526
3526
|
action: pulumi.Input<string>;
|
|
3527
3527
|
/**
|
|
3528
|
-
*
|
|
3528
|
+
* A comment for the rule.
|
|
3529
3529
|
*/
|
|
3530
3530
|
comment?: pulumi.Input<string>;
|
|
3531
3531
|
/**
|
|
@@ -3545,7 +3545,7 @@ export interface ServerFirewallRulesFirewallRule {
|
|
|
3545
3545
|
*/
|
|
3546
3546
|
destinationPortStart?: pulumi.Input<string>;
|
|
3547
3547
|
/**
|
|
3548
|
-
* The direction of network traffic this rule will be applied to
|
|
3548
|
+
* The direction of network traffic this rule will be applied to. Valid values are `in` and `out`.
|
|
3549
3549
|
*/
|
|
3550
3550
|
direction: pulumi.Input<string>;
|
|
3551
3551
|
/**
|
|
@@ -3553,11 +3553,11 @@ export interface ServerFirewallRulesFirewallRule {
|
|
|
3553
3553
|
*/
|
|
3554
3554
|
family?: pulumi.Input<string>;
|
|
3555
3555
|
/**
|
|
3556
|
-
* The ICMP type
|
|
3556
|
+
* The ICMP type of the rule. Only valid if protocol is ICMP.
|
|
3557
3557
|
*/
|
|
3558
3558
|
icmpType?: pulumi.Input<string>;
|
|
3559
3559
|
/**
|
|
3560
|
-
* The protocol
|
|
3560
|
+
* The protocol of the rule. Possible values are `` (empty), `tcp`, `udp`, `icmp`.
|
|
3561
3561
|
*/
|
|
3562
3562
|
protocol?: pulumi.Input<string>;
|
|
3563
3563
|
/**
|
package/types/output.d.ts
CHANGED
|
@@ -3259,61 +3259,61 @@ export interface RouterStaticRoute {
|
|
|
3259
3259
|
}
|
|
3260
3260
|
export interface ServerFirewallRulesFirewallRule {
|
|
3261
3261
|
/**
|
|
3262
|
-
* Action to take if the rule conditions are met. Valid values `accept | drop
|
|
3262
|
+
* Action to take if the rule conditions are met. Valid values `accept | drop`.
|
|
3263
3263
|
*/
|
|
3264
3264
|
action: string;
|
|
3265
3265
|
/**
|
|
3266
|
-
*
|
|
3266
|
+
* A comment for the rule.
|
|
3267
3267
|
*/
|
|
3268
|
-
comment
|
|
3268
|
+
comment: string;
|
|
3269
3269
|
/**
|
|
3270
3270
|
* The destination address range ends from this address
|
|
3271
3271
|
*/
|
|
3272
|
-
destinationAddressEnd
|
|
3272
|
+
destinationAddressEnd: string;
|
|
3273
3273
|
/**
|
|
3274
3274
|
* The destination address range starts from this address
|
|
3275
3275
|
*/
|
|
3276
|
-
destinationAddressStart
|
|
3276
|
+
destinationAddressStart: string;
|
|
3277
3277
|
/**
|
|
3278
3278
|
* The destination port range ends from this port number
|
|
3279
3279
|
*/
|
|
3280
|
-
destinationPortEnd
|
|
3280
|
+
destinationPortEnd: string;
|
|
3281
3281
|
/**
|
|
3282
3282
|
* The destination port range starts from this port number
|
|
3283
3283
|
*/
|
|
3284
|
-
destinationPortStart
|
|
3284
|
+
destinationPortStart: string;
|
|
3285
3285
|
/**
|
|
3286
|
-
* The direction of network traffic this rule will be applied to
|
|
3286
|
+
* The direction of network traffic this rule will be applied to. Valid values are `in` and `out`.
|
|
3287
3287
|
*/
|
|
3288
3288
|
direction: string;
|
|
3289
3289
|
/**
|
|
3290
3290
|
* The address family of new firewall rule
|
|
3291
3291
|
*/
|
|
3292
|
-
family
|
|
3292
|
+
family: string;
|
|
3293
3293
|
/**
|
|
3294
|
-
* The ICMP type
|
|
3294
|
+
* The ICMP type of the rule. Only valid if protocol is ICMP.
|
|
3295
3295
|
*/
|
|
3296
|
-
icmpType
|
|
3296
|
+
icmpType: string;
|
|
3297
3297
|
/**
|
|
3298
|
-
* The protocol
|
|
3298
|
+
* The protocol of the rule. Possible values are `` (empty), `tcp`, `udp`, `icmp`.
|
|
3299
3299
|
*/
|
|
3300
|
-
protocol
|
|
3300
|
+
protocol: string;
|
|
3301
3301
|
/**
|
|
3302
3302
|
* The source address range ends from this address
|
|
3303
3303
|
*/
|
|
3304
|
-
sourceAddressEnd
|
|
3304
|
+
sourceAddressEnd: string;
|
|
3305
3305
|
/**
|
|
3306
3306
|
* The source address range starts from this address
|
|
3307
3307
|
*/
|
|
3308
|
-
sourceAddressStart
|
|
3308
|
+
sourceAddressStart: string;
|
|
3309
3309
|
/**
|
|
3310
3310
|
* The source port range ends from this port number
|
|
3311
3311
|
*/
|
|
3312
|
-
sourcePortEnd
|
|
3312
|
+
sourcePortEnd: string;
|
|
3313
3313
|
/**
|
|
3314
3314
|
* The source port range starts from this port number
|
|
3315
3315
|
*/
|
|
3316
|
-
sourcePortStart
|
|
3316
|
+
sourcePortStart: string;
|
|
3317
3317
|
}
|
|
3318
3318
|
export interface ServerLogin {
|
|
3319
3319
|
/**
|