@pulumi/linode 5.2.0-alpha.1756325370 → 5.2.0-alpha.1756506768
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/accountSettings.js +9 -9
- package/accountSettings.js.map +1 -1
- package/config/vars.d.ts +1 -2
- package/config/vars.js +3 -6
- package/config/vars.js.map +1 -1
- package/databaseAccessControls.js +10 -10
- package/databaseAccessControls.js.map +1 -1
- package/databaseMysql.js +35 -35
- package/databaseMysql.js.map +1 -1
- package/databaseMysqlV2.js +100 -100
- package/databaseMysqlV2.js.map +1 -1
- package/databasePostgresql.js +38 -38
- package/databasePostgresql.js.map +1 -1
- package/databasePostgresqlV2.js +138 -138
- package/databasePostgresqlV2.js.map +1 -1
- package/domain.js +29 -29
- package/domain.js.map +1 -1
- package/domainRecord.js +26 -26
- package/domainRecord.js.map +1 -1
- package/firewall.js +26 -26
- package/firewall.js.map +1 -1
- package/firewallDevice.js +11 -11
- package/firewallDevice.js.map +1 -1
- package/image.js +38 -38
- package/image.js.map +1 -1
- package/instance.d.ts +21 -48
- package/instance.js +74 -74
- package/instance.js.map +1 -1
- package/instanceConfig.js +29 -29
- package/instanceConfig.js.map +1 -1
- package/instanceDisk.js +30 -30
- package/instanceDisk.js.map +1 -1
- package/instanceIp.js +17 -17
- package/instanceIp.js.map +1 -1
- package/instanceSharedIps.js +7 -7
- package/instanceSharedIps.js.map +1 -1
- package/ipv6Range.js +12 -12
- package/ipv6Range.js.map +1 -1
- package/lkeCluster.js +27 -27
- package/lkeCluster.js.map +1 -1
- package/lkeNodePool.d.ts +3 -6
- package/lkeNodePool.js +23 -23
- package/lkeNodePool.js.map +1 -1
- package/networkingIp.js +17 -17
- package/networkingIp.js.map +1 -1
- package/networkingIpAssignment.js +6 -6
- package/networkingIpAssignment.js.map +1 -1
- package/nodeBalancer.js +20 -20
- package/nodeBalancer.js.map +1 -1
- package/nodeBalancerConfig.d.ts +5 -10
- package/nodeBalancerConfig.js +40 -40
- package/nodeBalancerConfig.js.map +1 -1
- package/nodeBalancerNode.js +18 -18
- package/nodeBalancerNode.js.map +1 -1
- package/objectStorageBucket.d.ts +2 -4
- package/objectStorageBucket.js +28 -28
- package/objectStorageBucket.js.map +1 -1
- package/objectStorageKey.js +12 -12
- package/objectStorageKey.js.map +1 -1
- package/objectStorageObject.js +44 -44
- package/objectStorageObject.js.map +1 -1
- package/package.json +2 -2
- package/placementGroup.js +14 -14
- package/placementGroup.js.map +1 -1
- package/placementGroupAssignment.js +9 -9
- package/placementGroupAssignment.js.map +1 -1
- package/provider.d.ts +1 -2
- package/provider.js +20 -21
- package/provider.js.map +1 -1
- package/rdns.js +11 -11
- package/rdns.js.map +1 -1
- package/reservedIpAssignment.d.ts +3 -6
- package/reservedIpAssignment.js +20 -20
- package/reservedIpAssignment.js.map +1 -1
- package/sshKey.js +8 -8
- package/sshKey.js.map +1 -1
- package/stackScript.js +24 -24
- package/stackScript.js.map +1 -1
- package/token.js +10 -10
- package/token.js.map +1 -1
- package/user.js +34 -34
- package/user.js.map +1 -1
- package/utilities.js +18 -29
- package/utilities.js.map +1 -1
- package/volume.js +20 -20
- package/volume.js.map +1 -1
- package/vpc.js +11 -11
- package/vpc.js.map +1 -1
- package/vpcSubnet.js +13 -13
- package/vpcSubnet.js.map +1 -1
package/domain.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"domain.js","sourceRoot":"","sources":["../domain.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,MAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;IAC7C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmB,EAAE,IAAmC;QACjH,OAAO,IAAI,MAAM,CAAC,IAAI,EAAO,KAAK,
|
|
1
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C,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,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;SACvC;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,MAAM,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3D,CAAC;;AArIL,wBAsIC;AAxHG,gBAAgB;AACO,mBAAY,GAAG,4BAA4B,CAAC"}
|
package/domainRecord.js
CHANGED
|
@@ -49,7 +49,7 @@ class DomainRecord extends pulumi.CustomResource {
|
|
|
49
49
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
50
50
|
*/
|
|
51
51
|
static get(name, id, state, opts) {
|
|
52
|
-
return new DomainRecord(name, state,
|
|
52
|
+
return new DomainRecord(name, state, { ...opts, id: id });
|
|
53
53
|
}
|
|
54
54
|
/**
|
|
55
55
|
* Returns true if the given object is an instance of DomainRecord. This is designed to work even
|
|
@@ -66,40 +66,40 @@ class DomainRecord extends pulumi.CustomResource {
|
|
|
66
66
|
opts = opts || {};
|
|
67
67
|
if (opts.id) {
|
|
68
68
|
const state = argsOrState;
|
|
69
|
-
resourceInputs["domainId"] = state
|
|
70
|
-
resourceInputs["name"] = state
|
|
71
|
-
resourceInputs["port"] = state
|
|
72
|
-
resourceInputs["priority"] = state
|
|
73
|
-
resourceInputs["protocol"] = state
|
|
74
|
-
resourceInputs["recordType"] = state
|
|
75
|
-
resourceInputs["service"] = state
|
|
76
|
-
resourceInputs["tag"] = state
|
|
77
|
-
resourceInputs["target"] = state
|
|
78
|
-
resourceInputs["ttlSec"] = state
|
|
79
|
-
resourceInputs["weight"] = state
|
|
69
|
+
resourceInputs["domainId"] = state?.domainId;
|
|
70
|
+
resourceInputs["name"] = state?.name;
|
|
71
|
+
resourceInputs["port"] = state?.port;
|
|
72
|
+
resourceInputs["priority"] = state?.priority;
|
|
73
|
+
resourceInputs["protocol"] = state?.protocol;
|
|
74
|
+
resourceInputs["recordType"] = state?.recordType;
|
|
75
|
+
resourceInputs["service"] = state?.service;
|
|
76
|
+
resourceInputs["tag"] = state?.tag;
|
|
77
|
+
resourceInputs["target"] = state?.target;
|
|
78
|
+
resourceInputs["ttlSec"] = state?.ttlSec;
|
|
79
|
+
resourceInputs["weight"] = state?.weight;
|
|
80
80
|
}
|
|
81
81
|
else {
|
|
82
82
|
const args = argsOrState;
|
|
83
|
-
if (
|
|
83
|
+
if (args?.domainId === undefined && !opts.urn) {
|
|
84
84
|
throw new Error("Missing required property 'domainId'");
|
|
85
85
|
}
|
|
86
|
-
if (
|
|
86
|
+
if (args?.recordType === undefined && !opts.urn) {
|
|
87
87
|
throw new Error("Missing required property 'recordType'");
|
|
88
88
|
}
|
|
89
|
-
if (
|
|
89
|
+
if (args?.target === undefined && !opts.urn) {
|
|
90
90
|
throw new Error("Missing required property 'target'");
|
|
91
91
|
}
|
|
92
|
-
resourceInputs["domainId"] = args
|
|
93
|
-
resourceInputs["name"] = args
|
|
94
|
-
resourceInputs["port"] = args
|
|
95
|
-
resourceInputs["priority"] = args
|
|
96
|
-
resourceInputs["protocol"] = args
|
|
97
|
-
resourceInputs["recordType"] = args
|
|
98
|
-
resourceInputs["service"] = args
|
|
99
|
-
resourceInputs["tag"] = args
|
|
100
|
-
resourceInputs["target"] = args
|
|
101
|
-
resourceInputs["ttlSec"] = args
|
|
102
|
-
resourceInputs["weight"] = args
|
|
92
|
+
resourceInputs["domainId"] = args?.domainId;
|
|
93
|
+
resourceInputs["name"] = args?.name;
|
|
94
|
+
resourceInputs["port"] = args?.port;
|
|
95
|
+
resourceInputs["priority"] = args?.priority;
|
|
96
|
+
resourceInputs["protocol"] = args?.protocol;
|
|
97
|
+
resourceInputs["recordType"] = args?.recordType;
|
|
98
|
+
resourceInputs["service"] = args?.service;
|
|
99
|
+
resourceInputs["tag"] = args?.tag;
|
|
100
|
+
resourceInputs["target"] = args?.target;
|
|
101
|
+
resourceInputs["ttlSec"] = args?.ttlSec;
|
|
102
|
+
resourceInputs["weight"] = args?.weight;
|
|
103
103
|
}
|
|
104
104
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
105
105
|
super(DomainRecord.__pulumiType, name, resourceInputs, opts);
|
package/domainRecord.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"domainRecord.js","sourceRoot":"","sources":["../domainRecord.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IAAI,YAAY,CAAC,IAAI,EAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"domainRecord.js","sourceRoot":"","sources":["../domainRecord.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IAAI,YAAY,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAA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C;IACjE,CAAC;;AA5HL,oCA6HC;AA/GG,gBAAgB;AACO,yBAAY,GAAG,wCAAwC,CAAC"}
|
package/firewall.js
CHANGED
|
@@ -88,7 +88,7 @@ class Firewall extends pulumi.CustomResource {
|
|
|
88
88
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
89
89
|
*/
|
|
90
90
|
static get(name, id, state, opts) {
|
|
91
|
-
return new Firewall(name, state,
|
|
91
|
+
return new Firewall(name, state, { ...opts, id: id });
|
|
92
92
|
}
|
|
93
93
|
/**
|
|
94
94
|
* Returns true if the given object is an instance of Firewall. This is designed to work even
|
|
@@ -105,40 +105,40 @@ class Firewall extends pulumi.CustomResource {
|
|
|
105
105
|
opts = opts || {};
|
|
106
106
|
if (opts.id) {
|
|
107
107
|
const state = argsOrState;
|
|
108
|
-
resourceInputs["created"] = state
|
|
109
|
-
resourceInputs["devices"] = state
|
|
110
|
-
resourceInputs["disabled"] = state
|
|
111
|
-
resourceInputs["inboundPolicy"] = state
|
|
112
|
-
resourceInputs["inbounds"] = state
|
|
113
|
-
resourceInputs["label"] = state
|
|
114
|
-
resourceInputs["linodes"] = state
|
|
115
|
-
resourceInputs["nodebalancers"] = state
|
|
116
|
-
resourceInputs["outboundPolicy"] = state
|
|
117
|
-
resourceInputs["outbounds"] = state
|
|
118
|
-
resourceInputs["status"] = state
|
|
119
|
-
resourceInputs["tags"] = state
|
|
120
|
-
resourceInputs["updated"] = state
|
|
108
|
+
resourceInputs["created"] = state?.created;
|
|
109
|
+
resourceInputs["devices"] = state?.devices;
|
|
110
|
+
resourceInputs["disabled"] = state?.disabled;
|
|
111
|
+
resourceInputs["inboundPolicy"] = state?.inboundPolicy;
|
|
112
|
+
resourceInputs["inbounds"] = state?.inbounds;
|
|
113
|
+
resourceInputs["label"] = state?.label;
|
|
114
|
+
resourceInputs["linodes"] = state?.linodes;
|
|
115
|
+
resourceInputs["nodebalancers"] = state?.nodebalancers;
|
|
116
|
+
resourceInputs["outboundPolicy"] = state?.outboundPolicy;
|
|
117
|
+
resourceInputs["outbounds"] = state?.outbounds;
|
|
118
|
+
resourceInputs["status"] = state?.status;
|
|
119
|
+
resourceInputs["tags"] = state?.tags;
|
|
120
|
+
resourceInputs["updated"] = state?.updated;
|
|
121
121
|
}
|
|
122
122
|
else {
|
|
123
123
|
const args = argsOrState;
|
|
124
|
-
if (
|
|
124
|
+
if (args?.inboundPolicy === undefined && !opts.urn) {
|
|
125
125
|
throw new Error("Missing required property 'inboundPolicy'");
|
|
126
126
|
}
|
|
127
|
-
if (
|
|
127
|
+
if (args?.label === undefined && !opts.urn) {
|
|
128
128
|
throw new Error("Missing required property 'label'");
|
|
129
129
|
}
|
|
130
|
-
if (
|
|
130
|
+
if (args?.outboundPolicy === undefined && !opts.urn) {
|
|
131
131
|
throw new Error("Missing required property 'outboundPolicy'");
|
|
132
132
|
}
|
|
133
|
-
resourceInputs["disabled"] = args
|
|
134
|
-
resourceInputs["inboundPolicy"] = args
|
|
135
|
-
resourceInputs["inbounds"] = args
|
|
136
|
-
resourceInputs["label"] = args
|
|
137
|
-
resourceInputs["linodes"] = args
|
|
138
|
-
resourceInputs["nodebalancers"] = args
|
|
139
|
-
resourceInputs["outboundPolicy"] = args
|
|
140
|
-
resourceInputs["outbounds"] = args
|
|
141
|
-
resourceInputs["tags"] = args
|
|
133
|
+
resourceInputs["disabled"] = args?.disabled;
|
|
134
|
+
resourceInputs["inboundPolicy"] = args?.inboundPolicy;
|
|
135
|
+
resourceInputs["inbounds"] = args?.inbounds;
|
|
136
|
+
resourceInputs["label"] = args?.label;
|
|
137
|
+
resourceInputs["linodes"] = args?.linodes;
|
|
138
|
+
resourceInputs["nodebalancers"] = args?.nodebalancers;
|
|
139
|
+
resourceInputs["outboundPolicy"] = args?.outboundPolicy;
|
|
140
|
+
resourceInputs["outbounds"] = args?.outbounds;
|
|
141
|
+
resourceInputs["tags"] = args?.tags;
|
|
142
142
|
resourceInputs["created"] = undefined /*out*/;
|
|
143
143
|
resourceInputs["devices"] = undefined /*out*/;
|
|
144
144
|
resourceInputs["status"] = undefined /*out*/;
|
package/firewall.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"firewall.js","sourceRoot":"","sources":["../firewall.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuEG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAC/C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqB,EAAE,IAAmC;QACnH,OAAO,IAAI,QAAQ,CAAC,IAAI,EAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"firewall.js","sourceRoot":"","sources":["../firewall.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuEG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAC/C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqB,EAAE,IAAmC;QACnH,OAAO,IAAI,QAAQ,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC/D,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,QAAQ,CAAC,YAAY,CAAC;IACzD,CA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,gBAAgB;AACO,qBAAY,GAAG,gCAAgC,CAAC"}
|
package/firewallDevice.js
CHANGED
|
@@ -60,7 +60,7 @@ class FirewallDevice extends pulumi.CustomResource {
|
|
|
60
60
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
61
61
|
*/
|
|
62
62
|
static get(name, id, state, opts) {
|
|
63
|
-
return new FirewallDevice(name, state,
|
|
63
|
+
return new FirewallDevice(name, state, { ...opts, id: id });
|
|
64
64
|
}
|
|
65
65
|
/**
|
|
66
66
|
* Returns true if the given object is an instance of FirewallDevice. This is designed to work even
|
|
@@ -77,23 +77,23 @@ class FirewallDevice extends pulumi.CustomResource {
|
|
|
77
77
|
opts = opts || {};
|
|
78
78
|
if (opts.id) {
|
|
79
79
|
const state = argsOrState;
|
|
80
|
-
resourceInputs["created"] = state
|
|
81
|
-
resourceInputs["entityId"] = state
|
|
82
|
-
resourceInputs["entityType"] = state
|
|
83
|
-
resourceInputs["firewallId"] = state
|
|
84
|
-
resourceInputs["updated"] = state
|
|
80
|
+
resourceInputs["created"] = state?.created;
|
|
81
|
+
resourceInputs["entityId"] = state?.entityId;
|
|
82
|
+
resourceInputs["entityType"] = state?.entityType;
|
|
83
|
+
resourceInputs["firewallId"] = state?.firewallId;
|
|
84
|
+
resourceInputs["updated"] = state?.updated;
|
|
85
85
|
}
|
|
86
86
|
else {
|
|
87
87
|
const args = argsOrState;
|
|
88
|
-
if (
|
|
88
|
+
if (args?.entityId === undefined && !opts.urn) {
|
|
89
89
|
throw new Error("Missing required property 'entityId'");
|
|
90
90
|
}
|
|
91
|
-
if (
|
|
91
|
+
if (args?.firewallId === undefined && !opts.urn) {
|
|
92
92
|
throw new Error("Missing required property 'firewallId'");
|
|
93
93
|
}
|
|
94
|
-
resourceInputs["entityId"] = args
|
|
95
|
-
resourceInputs["entityType"] = args
|
|
96
|
-
resourceInputs["firewallId"] = args
|
|
94
|
+
resourceInputs["entityId"] = args?.entityId;
|
|
95
|
+
resourceInputs["entityType"] = args?.entityType;
|
|
96
|
+
resourceInputs["firewallId"] = args?.firewallId;
|
|
97
97
|
resourceInputs["created"] = undefined /*out*/;
|
|
98
98
|
resourceInputs["updated"] = undefined /*out*/;
|
|
99
99
|
}
|
package/firewallDevice.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"firewallDevice.js","sourceRoot":"","sources":["../firewallDevice.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IACrD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA2B,EAAE,IAAmC;QACzH,OAAO,IAAI,cAAc,CAAC,IAAI,EAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"firewallDevice.js","sourceRoot":"","sources":["../firewallDevice.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IACrD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA2B,EAAE,IAAmC;QACzH,OAAO,IAAI,cAAc,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACrE,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,cAAc,CAAC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,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,cAAc,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACnE,CAAC;;AAnFL,wCAoFC;AAtEG,gBAAgB;AACO,2BAAY,GAAG,4CAA4C,CAAC"}
|
package/image.js
CHANGED
|
@@ -109,7 +109,7 @@ class Image extends pulumi.CustomResource {
|
|
|
109
109
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
110
110
|
*/
|
|
111
111
|
static get(name, id, state, opts) {
|
|
112
|
-
return new Image(name, state,
|
|
112
|
+
return new Image(name, state, { ...opts, id: id });
|
|
113
113
|
}
|
|
114
114
|
/**
|
|
115
115
|
* Returns true if the given object is an instance of Image. This is designed to work even
|
|
@@ -126,48 +126,48 @@ class Image extends pulumi.CustomResource {
|
|
|
126
126
|
opts = opts || {};
|
|
127
127
|
if (opts.id) {
|
|
128
128
|
const state = argsOrState;
|
|
129
|
-
resourceInputs["capabilities"] = state
|
|
130
|
-
resourceInputs["cloudInit"] = state
|
|
131
|
-
resourceInputs["created"] = state
|
|
132
|
-
resourceInputs["createdBy"] = state
|
|
133
|
-
resourceInputs["deprecated"] = state
|
|
134
|
-
resourceInputs["description"] = state
|
|
135
|
-
resourceInputs["diskId"] = state
|
|
136
|
-
resourceInputs["expiry"] = state
|
|
137
|
-
resourceInputs["fileHash"] = state
|
|
138
|
-
resourceInputs["filePath"] = state
|
|
139
|
-
resourceInputs["isPublic"] = state
|
|
140
|
-
resourceInputs["label"] = state
|
|
141
|
-
resourceInputs["linodeId"] = state
|
|
142
|
-
resourceInputs["region"] = state
|
|
143
|
-
resourceInputs["replicaRegions"] = state
|
|
144
|
-
resourceInputs["replications"] = state
|
|
145
|
-
resourceInputs["size"] = state
|
|
146
|
-
resourceInputs["status"] = state
|
|
147
|
-
resourceInputs["tags"] = state
|
|
148
|
-
resourceInputs["timeouts"] = state
|
|
149
|
-
resourceInputs["totalSize"] = state
|
|
150
|
-
resourceInputs["type"] = state
|
|
151
|
-
resourceInputs["vendor"] = state
|
|
152
|
-
resourceInputs["waitForReplications"] = state
|
|
129
|
+
resourceInputs["capabilities"] = state?.capabilities;
|
|
130
|
+
resourceInputs["cloudInit"] = state?.cloudInit;
|
|
131
|
+
resourceInputs["created"] = state?.created;
|
|
132
|
+
resourceInputs["createdBy"] = state?.createdBy;
|
|
133
|
+
resourceInputs["deprecated"] = state?.deprecated;
|
|
134
|
+
resourceInputs["description"] = state?.description;
|
|
135
|
+
resourceInputs["diskId"] = state?.diskId;
|
|
136
|
+
resourceInputs["expiry"] = state?.expiry;
|
|
137
|
+
resourceInputs["fileHash"] = state?.fileHash;
|
|
138
|
+
resourceInputs["filePath"] = state?.filePath;
|
|
139
|
+
resourceInputs["isPublic"] = state?.isPublic;
|
|
140
|
+
resourceInputs["label"] = state?.label;
|
|
141
|
+
resourceInputs["linodeId"] = state?.linodeId;
|
|
142
|
+
resourceInputs["region"] = state?.region;
|
|
143
|
+
resourceInputs["replicaRegions"] = state?.replicaRegions;
|
|
144
|
+
resourceInputs["replications"] = state?.replications;
|
|
145
|
+
resourceInputs["size"] = state?.size;
|
|
146
|
+
resourceInputs["status"] = state?.status;
|
|
147
|
+
resourceInputs["tags"] = state?.tags;
|
|
148
|
+
resourceInputs["timeouts"] = state?.timeouts;
|
|
149
|
+
resourceInputs["totalSize"] = state?.totalSize;
|
|
150
|
+
resourceInputs["type"] = state?.type;
|
|
151
|
+
resourceInputs["vendor"] = state?.vendor;
|
|
152
|
+
resourceInputs["waitForReplications"] = state?.waitForReplications;
|
|
153
153
|
}
|
|
154
154
|
else {
|
|
155
155
|
const args = argsOrState;
|
|
156
|
-
if (
|
|
156
|
+
if (args?.label === undefined && !opts.urn) {
|
|
157
157
|
throw new Error("Missing required property 'label'");
|
|
158
158
|
}
|
|
159
|
-
resourceInputs["cloudInit"] = args
|
|
160
|
-
resourceInputs["description"] = args
|
|
161
|
-
resourceInputs["diskId"] = args
|
|
162
|
-
resourceInputs["fileHash"] = args
|
|
163
|
-
resourceInputs["filePath"] = args
|
|
164
|
-
resourceInputs["label"] = args
|
|
165
|
-
resourceInputs["linodeId"] = args
|
|
166
|
-
resourceInputs["region"] = args
|
|
167
|
-
resourceInputs["replicaRegions"] = args
|
|
168
|
-
resourceInputs["tags"] = args
|
|
169
|
-
resourceInputs["timeouts"] = args
|
|
170
|
-
resourceInputs["waitForReplications"] = args
|
|
159
|
+
resourceInputs["cloudInit"] = args?.cloudInit;
|
|
160
|
+
resourceInputs["description"] = args?.description;
|
|
161
|
+
resourceInputs["diskId"] = args?.diskId;
|
|
162
|
+
resourceInputs["fileHash"] = args?.fileHash;
|
|
163
|
+
resourceInputs["filePath"] = args?.filePath;
|
|
164
|
+
resourceInputs["label"] = args?.label;
|
|
165
|
+
resourceInputs["linodeId"] = args?.linodeId;
|
|
166
|
+
resourceInputs["region"] = args?.region;
|
|
167
|
+
resourceInputs["replicaRegions"] = args?.replicaRegions;
|
|
168
|
+
resourceInputs["tags"] = args?.tags;
|
|
169
|
+
resourceInputs["timeouts"] = args?.timeouts;
|
|
170
|
+
resourceInputs["waitForReplications"] = args?.waitForReplications;
|
|
171
171
|
resourceInputs["capabilities"] = undefined /*out*/;
|
|
172
172
|
resourceInputs["created"] = undefined /*out*/;
|
|
173
173
|
resourceInputs["createdBy"] = undefined /*out*/;
|
package/image.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"image.js","sourceRoot":"","sources":["../image.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4FG;AACH,MAAa,KAAM,SAAQ,MAAM,CAAC,cAAc;IAC5C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EA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AAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAChD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,KAAK,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1D,CAAC;;AAzML,sBA0MC;AA5LG,gBAAgB;AACO,kBAAY,GAAG,0BAA0B,CAAC"}
|
package/instance.d.ts
CHANGED
|
@@ -119,15 +119,11 @@ export declare class Instance extends pulumi.CustomResource {
|
|
|
119
119
|
*/
|
|
120
120
|
readonly authorizedKeys: pulumi.Output<string[] | undefined>;
|
|
121
121
|
/**
|
|
122
|
-
* A list of Linode usernames. If the usernames have associated SSH keys, the keys will be appended to the `root` user's
|
|
123
|
-
* `~/.ssh/authorized_keys` file automatically. Only accepted if 'image' is provided.
|
|
122
|
+
* A list of Linode usernames. If the usernames have associated SSH keys, the keys will be appended to the `root` user's `~/.ssh/authorized_keys` file automatically. Only accepted if 'image' is provided.
|
|
124
123
|
*/
|
|
125
124
|
readonly authorizedUsers: pulumi.Output<string[] | undefined>;
|
|
126
125
|
/**
|
|
127
|
-
* A Backup ID from another Linode's available backups. Your User must have readWrite access to that Linode, the Backup
|
|
128
|
-
* must have a status of successful, and the Linode must be deployed to the same region as the Backup. See
|
|
129
|
-
* /linode/instances/{linodeId}/backups for a Linode's available backups. This field and the image field are mutually
|
|
130
|
-
* exclusive.
|
|
126
|
+
* A Backup ID from another Linode's available backups. Your User must have readWrite access to that Linode, the Backup must have a status of successful, and the Linode must be deployed to the same region as the Backup. See /linode/instances/{linodeId}/backups for a Linode's available backups. This field and the image field are mutually exclusive.
|
|
131
127
|
*/
|
|
132
128
|
readonly backupId: pulumi.Output<number | undefined>;
|
|
133
129
|
/**
|
|
@@ -185,13 +181,11 @@ export declare class Instance extends pulumi.CustomResource {
|
|
|
185
181
|
*/
|
|
186
182
|
readonly hostUuid: pulumi.Output<string>;
|
|
187
183
|
/**
|
|
188
|
-
* An Image ID to deploy the Disk from. Official Linode Images start with linode/, while your Images start with private/.
|
|
189
|
-
* See /images for more information on the Images available for you to use.
|
|
184
|
+
* An Image ID to deploy the Disk from. Official Linode Images start with linode/, while your Images start with private/. See /images for more information on the Images available for you to use.
|
|
190
185
|
*/
|
|
191
186
|
readonly image: pulumi.Output<string | undefined>;
|
|
192
187
|
/**
|
|
193
|
-
* An array of Network Interfaces for this Linode to be created with. If an explicit config or disk is defined, interfaces
|
|
194
|
-
* must be declared in the config block.
|
|
188
|
+
* An array of Network Interfaces for this Linode to be created with. If an explicit config or disk is defined, interfaces must be declared in the config block.
|
|
195
189
|
*/
|
|
196
190
|
readonly interfaces: pulumi.Output<outputs.InstanceInterface[] | undefined>;
|
|
197
191
|
/**
|
|
@@ -279,15 +273,13 @@ export declare class Instance extends pulumi.CustomResource {
|
|
|
279
273
|
*/
|
|
280
274
|
readonly specs: pulumi.Output<outputs.InstanceSpec[]>;
|
|
281
275
|
/**
|
|
282
|
-
* An object containing responses to any User Defined Fields present in the StackScript being deployed to this Linode. Only
|
|
283
|
-
* accepted if 'stackscript_id' is given. The required values depend on the StackScript being deployed.
|
|
276
|
+
* An object containing responses to any User Defined Fields present in the StackScript being deployed to this Linode. Only accepted if 'stackscript_id' is given. The required values depend on the StackScript being deployed.
|
|
284
277
|
*/
|
|
285
278
|
readonly stackscriptData: pulumi.Output<{
|
|
286
279
|
[key: string]: string;
|
|
287
280
|
} | undefined>;
|
|
288
281
|
/**
|
|
289
|
-
* The StackScript to deploy to the newly created Linode. If provided, 'image' must also be provided, and must be an Image
|
|
290
|
-
* that is compatible with this StackScript.
|
|
282
|
+
* The StackScript to deploy to the newly created Linode. If provided, 'image' must also be provided, and must be an Image that is compatible with this StackScript.
|
|
291
283
|
*/
|
|
292
284
|
readonly stackscriptId: pulumi.Output<number | undefined>;
|
|
293
285
|
/**
|
|
@@ -295,8 +287,7 @@ export declare class Instance extends pulumi.CustomResource {
|
|
|
295
287
|
*/
|
|
296
288
|
readonly status: pulumi.Output<string>;
|
|
297
289
|
/**
|
|
298
|
-
* When deploying from an Image, this field is optional with a Linode API default of 512mb, otherwise it is ignored. This
|
|
299
|
-
* is used to set the swap disk size for the newly-created Linode.
|
|
290
|
+
* When deploying from an Image, this field is optional with a Linode API default of 512mb, otherwise it is ignored. This is used to set the swap disk size for the newly-created Linode.
|
|
300
291
|
*/
|
|
301
292
|
readonly swapSize: pulumi.Output<number>;
|
|
302
293
|
/**
|
|
@@ -335,15 +326,11 @@ export interface InstanceState {
|
|
|
335
326
|
*/
|
|
336
327
|
authorizedKeys?: pulumi.Input<pulumi.Input<string>[]>;
|
|
337
328
|
/**
|
|
338
|
-
* A list of Linode usernames. If the usernames have associated SSH keys, the keys will be appended to the `root` user's
|
|
339
|
-
* `~/.ssh/authorized_keys` file automatically. Only accepted if 'image' is provided.
|
|
329
|
+
* A list of Linode usernames. If the usernames have associated SSH keys, the keys will be appended to the `root` user's `~/.ssh/authorized_keys` file automatically. Only accepted if 'image' is provided.
|
|
340
330
|
*/
|
|
341
331
|
authorizedUsers?: pulumi.Input<pulumi.Input<string>[]>;
|
|
342
332
|
/**
|
|
343
|
-
* A Backup ID from another Linode's available backups. Your User must have readWrite access to that Linode, the Backup
|
|
344
|
-
* must have a status of successful, and the Linode must be deployed to the same region as the Backup. See
|
|
345
|
-
* /linode/instances/{linodeId}/backups for a Linode's available backups. This field and the image field are mutually
|
|
346
|
-
* exclusive.
|
|
333
|
+
* A Backup ID from another Linode's available backups. Your User must have readWrite access to that Linode, the Backup must have a status of successful, and the Linode must be deployed to the same region as the Backup. See /linode/instances/{linodeId}/backups for a Linode's available backups. This field and the image field are mutually exclusive.
|
|
347
334
|
*/
|
|
348
335
|
backupId?: pulumi.Input<number>;
|
|
349
336
|
/**
|
|
@@ -401,13 +388,11 @@ export interface InstanceState {
|
|
|
401
388
|
*/
|
|
402
389
|
hostUuid?: pulumi.Input<string>;
|
|
403
390
|
/**
|
|
404
|
-
* An Image ID to deploy the Disk from. Official Linode Images start with linode/, while your Images start with private/.
|
|
405
|
-
* See /images for more information on the Images available for you to use.
|
|
391
|
+
* An Image ID to deploy the Disk from. Official Linode Images start with linode/, while your Images start with private/. See /images for more information on the Images available for you to use.
|
|
406
392
|
*/
|
|
407
393
|
image?: pulumi.Input<string>;
|
|
408
394
|
/**
|
|
409
|
-
* An array of Network Interfaces for this Linode to be created with. If an explicit config or disk is defined, interfaces
|
|
410
|
-
* must be declared in the config block.
|
|
395
|
+
* An array of Network Interfaces for this Linode to be created with. If an explicit config or disk is defined, interfaces must be declared in the config block.
|
|
411
396
|
*/
|
|
412
397
|
interfaces?: pulumi.Input<pulumi.Input<inputs.InstanceInterface>[]>;
|
|
413
398
|
/**
|
|
@@ -495,15 +480,13 @@ export interface InstanceState {
|
|
|
495
480
|
*/
|
|
496
481
|
specs?: pulumi.Input<pulumi.Input<inputs.InstanceSpec>[]>;
|
|
497
482
|
/**
|
|
498
|
-
* An object containing responses to any User Defined Fields present in the StackScript being deployed to this Linode. Only
|
|
499
|
-
* accepted if 'stackscript_id' is given. The required values depend on the StackScript being deployed.
|
|
483
|
+
* An object containing responses to any User Defined Fields present in the StackScript being deployed to this Linode. Only accepted if 'stackscript_id' is given. The required values depend on the StackScript being deployed.
|
|
500
484
|
*/
|
|
501
485
|
stackscriptData?: pulumi.Input<{
|
|
502
486
|
[key: string]: pulumi.Input<string>;
|
|
503
487
|
}>;
|
|
504
488
|
/**
|
|
505
|
-
* The StackScript to deploy to the newly created Linode. If provided, 'image' must also be provided, and must be an Image
|
|
506
|
-
* that is compatible with this StackScript.
|
|
489
|
+
* The StackScript to deploy to the newly created Linode. If provided, 'image' must also be provided, and must be an Image that is compatible with this StackScript.
|
|
507
490
|
*/
|
|
508
491
|
stackscriptId?: pulumi.Input<number>;
|
|
509
492
|
/**
|
|
@@ -511,8 +494,7 @@ export interface InstanceState {
|
|
|
511
494
|
*/
|
|
512
495
|
status?: pulumi.Input<string>;
|
|
513
496
|
/**
|
|
514
|
-
* When deploying from an Image, this field is optional with a Linode API default of 512mb, otherwise it is ignored. This
|
|
515
|
-
* is used to set the swap disk size for the newly-created Linode.
|
|
497
|
+
* When deploying from an Image, this field is optional with a Linode API default of 512mb, otherwise it is ignored. This is used to set the swap disk size for the newly-created Linode.
|
|
516
498
|
*/
|
|
517
499
|
swapSize?: pulumi.Input<number>;
|
|
518
500
|
/**
|
|
@@ -543,15 +525,11 @@ export interface InstanceArgs {
|
|
|
543
525
|
*/
|
|
544
526
|
authorizedKeys?: pulumi.Input<pulumi.Input<string>[]>;
|
|
545
527
|
/**
|
|
546
|
-
* A list of Linode usernames. If the usernames have associated SSH keys, the keys will be appended to the `root` user's
|
|
547
|
-
* `~/.ssh/authorized_keys` file automatically. Only accepted if 'image' is provided.
|
|
528
|
+
* A list of Linode usernames. If the usernames have associated SSH keys, the keys will be appended to the `root` user's `~/.ssh/authorized_keys` file automatically. Only accepted if 'image' is provided.
|
|
548
529
|
*/
|
|
549
530
|
authorizedUsers?: pulumi.Input<pulumi.Input<string>[]>;
|
|
550
531
|
/**
|
|
551
|
-
* A Backup ID from another Linode's available backups. Your User must have readWrite access to that Linode, the Backup
|
|
552
|
-
* must have a status of successful, and the Linode must be deployed to the same region as the Backup. See
|
|
553
|
-
* /linode/instances/{linodeId}/backups for a Linode's available backups. This field and the image field are mutually
|
|
554
|
-
* exclusive.
|
|
532
|
+
* A Backup ID from another Linode's available backups. Your User must have readWrite access to that Linode, the Backup must have a status of successful, and the Linode must be deployed to the same region as the Backup. See /linode/instances/{linodeId}/backups for a Linode's available backups. This field and the image field are mutually exclusive.
|
|
555
533
|
*/
|
|
556
534
|
backupId?: pulumi.Input<number>;
|
|
557
535
|
/**
|
|
@@ -593,13 +571,11 @@ export interface InstanceArgs {
|
|
|
593
571
|
*/
|
|
594
572
|
group?: pulumi.Input<string>;
|
|
595
573
|
/**
|
|
596
|
-
* An Image ID to deploy the Disk from. Official Linode Images start with linode/, while your Images start with private/.
|
|
597
|
-
* See /images for more information on the Images available for you to use.
|
|
574
|
+
* An Image ID to deploy the Disk from. Official Linode Images start with linode/, while your Images start with private/. See /images for more information on the Images available for you to use.
|
|
598
575
|
*/
|
|
599
576
|
image?: pulumi.Input<string>;
|
|
600
577
|
/**
|
|
601
|
-
* An array of Network Interfaces for this Linode to be created with. If an explicit config or disk is defined, interfaces
|
|
602
|
-
* must be declared in the config block.
|
|
578
|
+
* An array of Network Interfaces for this Linode to be created with. If an explicit config or disk is defined, interfaces must be declared in the config block.
|
|
603
579
|
*/
|
|
604
580
|
interfaces?: pulumi.Input<pulumi.Input<inputs.InstanceInterface>[]>;
|
|
605
581
|
/**
|
|
@@ -665,20 +641,17 @@ export interface InstanceArgs {
|
|
|
665
641
|
*/
|
|
666
642
|
sharedIpv4s?: pulumi.Input<pulumi.Input<string>[]>;
|
|
667
643
|
/**
|
|
668
|
-
* An object containing responses to any User Defined Fields present in the StackScript being deployed to this Linode. Only
|
|
669
|
-
* accepted if 'stackscript_id' is given. The required values depend on the StackScript being deployed.
|
|
644
|
+
* An object containing responses to any User Defined Fields present in the StackScript being deployed to this Linode. Only accepted if 'stackscript_id' is given. The required values depend on the StackScript being deployed.
|
|
670
645
|
*/
|
|
671
646
|
stackscriptData?: pulumi.Input<{
|
|
672
647
|
[key: string]: pulumi.Input<string>;
|
|
673
648
|
}>;
|
|
674
649
|
/**
|
|
675
|
-
* The StackScript to deploy to the newly created Linode. If provided, 'image' must also be provided, and must be an Image
|
|
676
|
-
* that is compatible with this StackScript.
|
|
650
|
+
* The StackScript to deploy to the newly created Linode. If provided, 'image' must also be provided, and must be an Image that is compatible with this StackScript.
|
|
677
651
|
*/
|
|
678
652
|
stackscriptId?: pulumi.Input<number>;
|
|
679
653
|
/**
|
|
680
|
-
* When deploying from an Image, this field is optional with a Linode API default of 512mb, otherwise it is ignored. This
|
|
681
|
-
* is used to set the swap disk size for the newly-created Linode.
|
|
654
|
+
* When deploying from an Image, this field is optional with a Linode API default of 512mb, otherwise it is ignored. This is used to set the swap disk size for the newly-created Linode.
|
|
682
655
|
*/
|
|
683
656
|
swapSize?: pulumi.Input<number>;
|
|
684
657
|
/**
|