@pulumi/linode 5.2.0-alpha.1756361460 → 5.2.0-alpha.1757042899
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.d.ts +12 -0
- package/accountSettings.js +11 -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/getAccountSettings.d.ts +4 -0
- package/getAccountSettings.js.map +1 -1
- package/getLkeCluster.d.ts +1 -1
- package/getMaintenancePolicies.d.ts +63 -0
- package/getMaintenancePolicies.js +62 -0
- package/getMaintenancePolicies.js.map +1 -0
- package/image.js +38 -38
- package/image.js.map +1 -1
- package/index.d.ts +3 -0
- package/index.js +6 -3
- package/index.js.map +1 -1
- package/instance.d.ts +33 -48
- package/instance.js +76 -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 +15 -6
- package/lkeNodePool.js +25 -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/types/input.d.ts +92 -0
- package/types/output.d.ts +52 -0
- 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
CHANGED
|
@@ -53,7 +53,7 @@ class Domain extends pulumi.CustomResource {
|
|
|
53
53
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
54
54
|
*/
|
|
55
55
|
static get(name, id, state, opts) {
|
|
56
|
-
return new Domain(name, state,
|
|
56
|
+
return new Domain(name, state, { ...opts, id: id });
|
|
57
57
|
}
|
|
58
58
|
/**
|
|
59
59
|
* Returns true if the given object is an instance of Domain. This is designed to work even
|
|
@@ -70,41 +70,41 @@ class Domain extends pulumi.CustomResource {
|
|
|
70
70
|
opts = opts || {};
|
|
71
71
|
if (opts.id) {
|
|
72
72
|
const state = argsOrState;
|
|
73
|
-
resourceInputs["axfrIps"] = state
|
|
74
|
-
resourceInputs["description"] = state
|
|
75
|
-
resourceInputs["domain"] = state
|
|
76
|
-
resourceInputs["expireSec"] = state
|
|
77
|
-
resourceInputs["group"] = state
|
|
78
|
-
resourceInputs["masterIps"] = state
|
|
79
|
-
resourceInputs["refreshSec"] = state
|
|
80
|
-
resourceInputs["retrySec"] = state
|
|
81
|
-
resourceInputs["soaEmail"] = state
|
|
82
|
-
resourceInputs["status"] = state
|
|
83
|
-
resourceInputs["tags"] = state
|
|
84
|
-
resourceInputs["ttlSec"] = state
|
|
85
|
-
resourceInputs["type"] = state
|
|
73
|
+
resourceInputs["axfrIps"] = state?.axfrIps;
|
|
74
|
+
resourceInputs["description"] = state?.description;
|
|
75
|
+
resourceInputs["domain"] = state?.domain;
|
|
76
|
+
resourceInputs["expireSec"] = state?.expireSec;
|
|
77
|
+
resourceInputs["group"] = state?.group;
|
|
78
|
+
resourceInputs["masterIps"] = state?.masterIps;
|
|
79
|
+
resourceInputs["refreshSec"] = state?.refreshSec;
|
|
80
|
+
resourceInputs["retrySec"] = state?.retrySec;
|
|
81
|
+
resourceInputs["soaEmail"] = state?.soaEmail;
|
|
82
|
+
resourceInputs["status"] = state?.status;
|
|
83
|
+
resourceInputs["tags"] = state?.tags;
|
|
84
|
+
resourceInputs["ttlSec"] = state?.ttlSec;
|
|
85
|
+
resourceInputs["type"] = state?.type;
|
|
86
86
|
}
|
|
87
87
|
else {
|
|
88
88
|
const args = argsOrState;
|
|
89
|
-
if (
|
|
89
|
+
if (args?.domain === undefined && !opts.urn) {
|
|
90
90
|
throw new Error("Missing required property 'domain'");
|
|
91
91
|
}
|
|
92
|
-
if (
|
|
92
|
+
if (args?.type === undefined && !opts.urn) {
|
|
93
93
|
throw new Error("Missing required property 'type'");
|
|
94
94
|
}
|
|
95
|
-
resourceInputs["axfrIps"] = args
|
|
96
|
-
resourceInputs["description"] = args
|
|
97
|
-
resourceInputs["domain"] = args
|
|
98
|
-
resourceInputs["expireSec"] = args
|
|
99
|
-
resourceInputs["group"] = args
|
|
100
|
-
resourceInputs["masterIps"] = args
|
|
101
|
-
resourceInputs["refreshSec"] = args
|
|
102
|
-
resourceInputs["retrySec"] = args
|
|
103
|
-
resourceInputs["soaEmail"] = args
|
|
104
|
-
resourceInputs["status"] = args
|
|
105
|
-
resourceInputs["tags"] = args
|
|
106
|
-
resourceInputs["ttlSec"] = args
|
|
107
|
-
resourceInputs["type"] = args
|
|
95
|
+
resourceInputs["axfrIps"] = args?.axfrIps;
|
|
96
|
+
resourceInputs["description"] = args?.description;
|
|
97
|
+
resourceInputs["domain"] = args?.domain;
|
|
98
|
+
resourceInputs["expireSec"] = args?.expireSec;
|
|
99
|
+
resourceInputs["group"] = args?.group;
|
|
100
|
+
resourceInputs["masterIps"] = args?.masterIps;
|
|
101
|
+
resourceInputs["refreshSec"] = args?.refreshSec;
|
|
102
|
+
resourceInputs["retrySec"] = args?.retrySec;
|
|
103
|
+
resourceInputs["soaEmail"] = args?.soaEmail;
|
|
104
|
+
resourceInputs["status"] = args?.status;
|
|
105
|
+
resourceInputs["tags"] = args?.tags;
|
|
106
|
+
resourceInputs["ttlSec"] = args?.ttlSec;
|
|
107
|
+
resourceInputs["type"] = args?.type;
|
|
108
108
|
}
|
|
109
109
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
110
110
|
super(Domain.__pulumiType, name, resourceInputs, opts);
|
package/domain.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"domain.js","sourceRoot":"","sources":["../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,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC;YACtC,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,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"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,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;SAC3C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;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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AAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACjD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;;AA1IL,4BA2IC;AA7HG,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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EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACjD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,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/getAccountSettings.d.ts
CHANGED
|
@@ -28,6 +28,10 @@ export interface GetAccountSettingsResult {
|
|
|
28
28
|
* The Longview Pro tier you are currently subscribed to.
|
|
29
29
|
*/
|
|
30
30
|
readonly longviewSubscription: string;
|
|
31
|
+
/**
|
|
32
|
+
* The default maintenance policy for this account. (**Note: v4beta only.**)
|
|
33
|
+
*/
|
|
34
|
+
readonly maintenancePolicy: string;
|
|
31
35
|
/**
|
|
32
36
|
* Enables monitoring for connectivity, response, and total request time.
|
|
33
37
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAccountSettings.js","sourceRoot":"","sources":["../getAccountSettings.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;GAcG;AACH,SAAgB,kBAAkB,CAAC,IAA2B;IAC1D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oDAAoD,EAAE,EAClF,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,gDAIC;
|
|
1
|
+
{"version":3,"file":"getAccountSettings.js","sourceRoot":"","sources":["../getAccountSettings.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;GAcG;AACH,SAAgB,kBAAkB,CAAC,IAA2B;IAC1D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oDAAoD,EAAE,EAClF,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,gDAIC;AAgCD;;;;;;;;;;;;;;GAcG;AACH,SAAgB,wBAAwB,CAAC,IAAiC;IACtE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,oDAAoD,EAAE,EACxF,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,4DAIC"}
|
package/getLkeCluster.d.ts
CHANGED
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Provides details about the Maintenance Policies available to apply to Accounts and Instances.
|
|
6
|
+
* For more information, see the [Linode APIv4 docs](https://techdocs.akamai.com/linode-api/reference/get-maintenance-policies). (**Note: v4beta only.**)
|
|
7
|
+
*
|
|
8
|
+
* ## Example Usage
|
|
9
|
+
*
|
|
10
|
+
* The following example shows how one might use this data source to access information about Maintenance Policies:
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as linode from "@pulumi/linode";
|
|
15
|
+
*
|
|
16
|
+
* const example = linode.getMaintenancePolicies({});
|
|
17
|
+
* export const exampleOutput = example;
|
|
18
|
+
* ```
|
|
19
|
+
*
|
|
20
|
+
* The following example shows how one might use this data source to access information about Maintenance Policies with a certain slug:
|
|
21
|
+
*/
|
|
22
|
+
export declare function getMaintenancePolicies(args?: GetMaintenancePoliciesArgs, opts?: pulumi.InvokeOptions): Promise<GetMaintenancePoliciesResult>;
|
|
23
|
+
/**
|
|
24
|
+
* A collection of arguments for invoking getMaintenancePolicies.
|
|
25
|
+
*/
|
|
26
|
+
export interface GetMaintenancePoliciesArgs {
|
|
27
|
+
filters?: inputs.GetMaintenancePoliciesFilter[];
|
|
28
|
+
maintenancePolicies?: inputs.GetMaintenancePoliciesMaintenancePolicy[];
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* A collection of values returned by getMaintenancePolicies.
|
|
32
|
+
*/
|
|
33
|
+
export interface GetMaintenancePoliciesResult {
|
|
34
|
+
readonly filters?: outputs.GetMaintenancePoliciesFilter[];
|
|
35
|
+
readonly id: string;
|
|
36
|
+
readonly maintenancePolicies?: outputs.GetMaintenancePoliciesMaintenancePolicy[];
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Provides details about the Maintenance Policies available to apply to Accounts and Instances.
|
|
40
|
+
* For more information, see the [Linode APIv4 docs](https://techdocs.akamai.com/linode-api/reference/get-maintenance-policies). (**Note: v4beta only.**)
|
|
41
|
+
*
|
|
42
|
+
* ## Example Usage
|
|
43
|
+
*
|
|
44
|
+
* The following example shows how one might use this data source to access information about Maintenance Policies:
|
|
45
|
+
*
|
|
46
|
+
* ```typescript
|
|
47
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
48
|
+
* import * as linode from "@pulumi/linode";
|
|
49
|
+
*
|
|
50
|
+
* const example = linode.getMaintenancePolicies({});
|
|
51
|
+
* export const exampleOutput = example;
|
|
52
|
+
* ```
|
|
53
|
+
*
|
|
54
|
+
* The following example shows how one might use this data source to access information about Maintenance Policies with a certain slug:
|
|
55
|
+
*/
|
|
56
|
+
export declare function getMaintenancePoliciesOutput(args?: GetMaintenancePoliciesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetMaintenancePoliciesResult>;
|
|
57
|
+
/**
|
|
58
|
+
* A collection of arguments for invoking getMaintenancePolicies.
|
|
59
|
+
*/
|
|
60
|
+
export interface GetMaintenancePoliciesOutputArgs {
|
|
61
|
+
filters?: pulumi.Input<pulumi.Input<inputs.GetMaintenancePoliciesFilterArgs>[]>;
|
|
62
|
+
maintenancePolicies?: pulumi.Input<pulumi.Input<inputs.GetMaintenancePoliciesMaintenancePolicyArgs>[]>;
|
|
63
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getMaintenancePoliciesOutput = exports.getMaintenancePolicies = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides details about the Maintenance Policies available to apply to Accounts and Instances.
|
|
10
|
+
* For more information, see the [Linode APIv4 docs](https://techdocs.akamai.com/linode-api/reference/get-maintenance-policies). (**Note: v4beta only.**)
|
|
11
|
+
*
|
|
12
|
+
* ## Example Usage
|
|
13
|
+
*
|
|
14
|
+
* The following example shows how one might use this data source to access information about Maintenance Policies:
|
|
15
|
+
*
|
|
16
|
+
* ```typescript
|
|
17
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
18
|
+
* import * as linode from "@pulumi/linode";
|
|
19
|
+
*
|
|
20
|
+
* const example = linode.getMaintenancePolicies({});
|
|
21
|
+
* export const exampleOutput = example;
|
|
22
|
+
* ```
|
|
23
|
+
*
|
|
24
|
+
* The following example shows how one might use this data source to access information about Maintenance Policies with a certain slug:
|
|
25
|
+
*/
|
|
26
|
+
function getMaintenancePolicies(args, opts) {
|
|
27
|
+
args = args || {};
|
|
28
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
29
|
+
return pulumi.runtime.invoke("linode:index/getMaintenancePolicies:getMaintenancePolicies", {
|
|
30
|
+
"filters": args.filters,
|
|
31
|
+
"maintenancePolicies": args.maintenancePolicies,
|
|
32
|
+
}, opts);
|
|
33
|
+
}
|
|
34
|
+
exports.getMaintenancePolicies = getMaintenancePolicies;
|
|
35
|
+
/**
|
|
36
|
+
* Provides details about the Maintenance Policies available to apply to Accounts and Instances.
|
|
37
|
+
* For more information, see the [Linode APIv4 docs](https://techdocs.akamai.com/linode-api/reference/get-maintenance-policies). (**Note: v4beta only.**)
|
|
38
|
+
*
|
|
39
|
+
* ## Example Usage
|
|
40
|
+
*
|
|
41
|
+
* The following example shows how one might use this data source to access information about Maintenance Policies:
|
|
42
|
+
*
|
|
43
|
+
* ```typescript
|
|
44
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
45
|
+
* import * as linode from "@pulumi/linode";
|
|
46
|
+
*
|
|
47
|
+
* const example = linode.getMaintenancePolicies({});
|
|
48
|
+
* export const exampleOutput = example;
|
|
49
|
+
* ```
|
|
50
|
+
*
|
|
51
|
+
* The following example shows how one might use this data source to access information about Maintenance Policies with a certain slug:
|
|
52
|
+
*/
|
|
53
|
+
function getMaintenancePoliciesOutput(args, opts) {
|
|
54
|
+
args = args || {};
|
|
55
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
56
|
+
return pulumi.runtime.invokeOutput("linode:index/getMaintenancePolicies:getMaintenancePolicies", {
|
|
57
|
+
"filters": args.filters,
|
|
58
|
+
"maintenancePolicies": args.maintenancePolicies,
|
|
59
|
+
}, opts);
|
|
60
|
+
}
|
|
61
|
+
exports.getMaintenancePoliciesOutput = getMaintenancePoliciesOutput;
|
|
62
|
+
//# sourceMappingURL=getMaintenancePolicies.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getMaintenancePolicies.js","sourceRoot":"","sources":["../getMaintenancePolicies.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,sBAAsB,CAAC,IAAiC,EAAE,IAA2B;IACjG,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4DAA4D,EAAE;QACvF,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,qBAAqB,EAAE,IAAI,CAAC,mBAAmB;KAClD,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,wDAOC;AAkBD;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,4BAA4B,CAAC,IAAuC,EAAE,IAAiC;IACnH,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,4DAA4D,EAAE;QAC7F,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,qBAAqB,EAAE,IAAI,CAAC,mBAAmB;KAClD,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,oEAOC"}
|
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*/;
|