@pulumi/linode 4.23.0-alpha.1721238287 → 4.23.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/accountSettings.d.ts +4 -3
- package/accountSettings.js +1 -0
- package/accountSettings.js.map +1 -1
- package/databaseAccessControls.d.ts +4 -3
- package/databaseAccessControls.js +1 -0
- package/databaseAccessControls.js.map +1 -1
- package/databaseMysql.d.ts +1 -1
- package/databaseMysql.js +1 -1
- package/databasePostgresql.d.ts +1 -1
- package/databasePostgresql.js +1 -1
- package/domain.d.ts +1 -1
- package/domain.js +1 -1
- package/domainRecord.d.ts +4 -4
- package/domainRecord.js +1 -1
- package/firewall.d.ts +1 -0
- package/firewall.js +1 -0
- package/firewall.js.map +1 -1
- package/firewallDevice.d.ts +1 -0
- package/firewallDevice.js +1 -0
- package/firewallDevice.js.map +1 -1
- package/getAccount.d.ts +2 -0
- package/getAccount.js +2 -0
- package/getAccount.js.map +1 -1
- package/getAccountAvailabilities.d.ts +2 -0
- package/getAccountAvailabilities.js +2 -0
- package/getAccountAvailabilities.js.map +1 -1
- package/getAccountAvailability.d.ts +2 -0
- package/getAccountAvailability.js +2 -0
- package/getAccountAvailability.js.map +1 -1
- package/getAccountLogin.d.ts +2 -0
- package/getAccountLogin.js +2 -0
- package/getAccountLogin.js.map +1 -1
- package/getAccountLogins.d.ts +2 -0
- package/getAccountLogins.js +2 -0
- package/getAccountLogins.js.map +1 -1
- package/getAccountSettings.d.ts +2 -0
- package/getAccountSettings.js +2 -0
- package/getAccountSettings.js.map +1 -1
- package/getChildAccount.d.ts +2 -0
- package/getChildAccount.js +2 -0
- package/getChildAccount.js.map +1 -1
- package/getChildAccounts.d.ts +2 -0
- package/getChildAccounts.js +2 -0
- package/getChildAccounts.js.map +1 -1
- package/getDatabaseBackups.d.ts +2 -0
- package/getDatabaseBackups.js +2 -0
- package/getDatabaseBackups.js.map +1 -1
- package/getDatabaseEngines.d.ts +2 -0
- package/getDatabaseEngines.js +2 -0
- package/getDatabaseEngines.js.map +1 -1
- package/getDatabaseMysql.d.ts +2 -0
- package/getDatabaseMysql.js +2 -0
- package/getDatabaseMysql.js.map +1 -1
- package/getDatabaseMysqlBackups.d.ts +6 -4
- package/getDatabaseMysqlBackups.js +6 -4
- package/getDatabaseMysqlBackups.js.map +1 -1
- package/getDatabasePostgresql.d.ts +2 -0
- package/getDatabasePostgresql.js +2 -0
- package/getDatabasePostgresql.js.map +1 -1
- package/getDatabases.d.ts +2 -0
- package/getDatabases.js +2 -0
- package/getDatabases.js.map +1 -1
- package/getDomain.d.ts +2 -0
- package/getDomain.js +2 -0
- package/getDomain.js.map +1 -1
- package/getDomainRecord.d.ts +3 -1
- package/getDomainRecord.js +2 -0
- package/getDomainRecord.js.map +1 -1
- package/getDomainZonefile.d.ts +2 -0
- package/getDomainZonefile.js +2 -0
- package/getDomainZonefile.js.map +1 -1
- package/getDomains.d.ts +2 -0
- package/getDomains.js +2 -0
- package/getDomains.js.map +1 -1
- package/getFirewall.d.ts +2 -0
- package/getFirewall.js +2 -0
- package/getFirewall.js.map +1 -1
- package/getFirewalls.d.ts +2 -0
- package/getFirewalls.js +2 -0
- package/getFirewalls.js.map +1 -1
- package/getImage.d.ts +2 -0
- package/getImage.js +2 -0
- package/getImage.js.map +1 -1
- package/getImages.d.ts +2 -0
- package/getImages.js +2 -0
- package/getImages.js.map +1 -1
- package/getInstanceBackups.d.ts +2 -0
- package/getInstanceBackups.js +2 -0
- package/getInstanceBackups.js.map +1 -1
- package/getInstanceNetworking.d.ts +2 -0
- package/getInstanceNetworking.js +2 -0
- package/getInstanceNetworking.js.map +1 -1
- package/getInstanceType.d.ts +3 -1
- package/getInstanceType.js +2 -0
- package/getInstanceType.js.map +1 -1
- package/getInstanceTypes.d.ts +2 -0
- package/getInstanceTypes.js +2 -0
- package/getInstanceTypes.js.map +1 -1
- package/getInstances.d.ts +2 -0
- package/getInstances.js +2 -0
- package/getInstances.js.map +1 -1
- package/getIpv6Range.d.ts +2 -0
- package/getIpv6Range.js +2 -0
- package/getIpv6Range.js.map +1 -1
- package/getIpv6Ranges.d.ts +2 -0
- package/getIpv6Ranges.js +2 -0
- package/getIpv6Ranges.js.map +1 -1
- package/getKernel.d.ts +2 -0
- package/getKernel.js +2 -0
- package/getKernel.js.map +1 -1
- package/getKernels.d.ts +2 -0
- package/getKernels.js +2 -0
- package/getKernels.js.map +1 -1
- package/getLinodeObjectStorageBucket.d.ts +5 -2
- package/getLinodeObjectStorageBucket.js +1 -0
- package/getLinodeObjectStorageBucket.js.map +1 -1
- package/getLkeCluster.d.ts +2 -0
- package/getLkeCluster.js +2 -0
- package/getLkeCluster.js.map +1 -1
- package/getLkeClusters.d.ts +2 -0
- package/getLkeClusters.js +2 -0
- package/getLkeClusters.js.map +1 -1
- package/getLkeVersions.d.ts +2 -0
- package/getLkeVersions.js +2 -0
- package/getLkeVersions.js.map +1 -1
- package/getNetworkingIp.d.ts +2 -0
- package/getNetworkingIp.js +2 -0
- package/getNetworkingIp.js.map +1 -1
- package/getNodeBalancer.d.ts +2 -0
- package/getNodeBalancer.js +2 -0
- package/getNodeBalancer.js.map +1 -1
- package/getNodeBalancerConfig.d.ts +2 -0
- package/getNodeBalancerConfig.js +2 -0
- package/getNodeBalancerConfig.js.map +1 -1
- package/getNodeBalancerNode.d.ts +2 -0
- package/getNodeBalancerNode.js +2 -0
- package/getNodeBalancerNode.js.map +1 -1
- package/getNodebalancerConfigs.d.ts +2 -0
- package/getNodebalancerConfigs.js +2 -0
- package/getNodebalancerConfigs.js.map +1 -1
- package/getNodebalancers.d.ts +2 -0
- package/getNodebalancers.js +2 -0
- package/getNodebalancers.js.map +1 -1
- package/getObjectStorageCluster.d.ts +2 -0
- package/getObjectStorageCluster.js +2 -0
- package/getObjectStorageCluster.js.map +1 -1
- package/getPlacementGroup.d.ts +2 -0
- package/getPlacementGroup.js +2 -0
- package/getPlacementGroup.js.map +1 -1
- package/getPlacementGroups.d.ts +2 -0
- package/getPlacementGroups.js +2 -0
- package/getPlacementGroups.js.map +1 -1
- package/getProfile.d.ts +2 -0
- package/getProfile.js +2 -0
- package/getProfile.js.map +1 -1
- package/getRegion.d.ts +2 -0
- package/getRegion.js +2 -0
- package/getRegion.js.map +1 -1
- package/getRegions.d.ts +2 -0
- package/getRegions.js +2 -0
- package/getRegions.js.map +1 -1
- package/getSshKey.d.ts +2 -0
- package/getSshKey.js +2 -0
- package/getSshKey.js.map +1 -1
- package/getSshkeys.d.ts +2 -0
- package/getSshkeys.js +2 -0
- package/getSshkeys.js.map +1 -1
- package/getStackScript.d.ts +2 -0
- package/getStackScript.js +2 -0
- package/getStackScript.js.map +1 -1
- package/getStackScripts.d.ts +2 -0
- package/getStackScripts.js +2 -0
- package/getStackScripts.js.map +1 -1
- package/getUser.d.ts +2 -0
- package/getUser.js +2 -0
- package/getUser.js.map +1 -1
- package/getUsers.d.ts +2 -0
- package/getUsers.js +2 -0
- package/getUsers.js.map +1 -1
- package/getVlans.d.ts +2 -0
- package/getVlans.js +2 -0
- package/getVlans.js.map +1 -1
- package/getVolume.d.ts +2 -0
- package/getVolume.js +2 -0
- package/getVolume.js.map +1 -1
- package/getVolumes.d.ts +2 -0
- package/getVolumes.js +2 -0
- package/getVolumes.js.map +1 -1
- package/getVpc.d.ts +2 -0
- package/getVpc.js +2 -0
- package/getVpc.js.map +1 -1
- package/getVpcSubnet.d.ts +2 -0
- package/getVpcSubnet.js +2 -0
- package/getVpcSubnet.js.map +1 -1
- package/getVpcSubnets.d.ts +2 -0
- package/getVpcSubnets.js +2 -0
- package/getVpcSubnets.js.map +1 -1
- package/getVpcs.d.ts +2 -0
- package/getVpcs.js +2 -0
- package/getVpcs.js.map +1 -1
- package/image.d.ts +1 -1
- package/image.js +1 -1
- package/instance.d.ts +1 -1
- package/instance.js +1 -1
- package/instanceDisk.d.ts +1 -0
- package/instanceDisk.js +1 -0
- package/instanceDisk.js.map +1 -1
- package/instanceIp.d.ts +3 -2
- package/instanceIp.js +3 -2
- package/instanceIp.js.map +1 -1
- package/instanceSharedIps.d.ts +3 -2
- package/instanceSharedIps.js +3 -2
- package/instanceSharedIps.js.map +1 -1
- package/nodeBalancer.d.ts +1 -1
- package/nodeBalancer.js +1 -1
- package/nodeBalancerConfig.d.ts +1 -1
- package/nodeBalancerConfig.js +1 -1
- package/nodeBalancerNode.d.ts +1 -1
- package/nodeBalancerNode.js +1 -1
- package/objectStorageBucket.d.ts +29 -7
- package/objectStorageBucket.js +3 -3
- package/objectStorageBucket.js.map +1 -1
- package/objectStorageKey.d.ts +42 -5
- package/objectStorageKey.js +21 -0
- package/objectStorageKey.js.map +1 -1
- package/objectStorageObject.d.ts +17 -5
- package/objectStorageObject.js +2 -3
- package/objectStorageObject.js.map +1 -1
- package/package.json +2 -2
- package/placementGroup.d.ts +3 -2
- package/placementGroup.js +3 -2
- package/placementGroup.js.map +1 -1
- package/placementGroupAssignment.d.ts +3 -2
- package/placementGroupAssignment.js +3 -2
- package/placementGroupAssignment.js.map +1 -1
- package/rdns.d.ts +1 -1
- package/rdns.js +1 -1
- package/sshKey.d.ts +2 -1
- package/sshKey.js +2 -1
- package/sshKey.js.map +1 -1
- package/stackScript.d.ts +1 -1
- package/stackScript.js +1 -1
- package/token.d.ts +4 -4
- package/token.js +1 -1
- package/types/input.d.ts +20 -4
- package/types/output.d.ts +20 -4
- package/user.d.ts +1 -0
- package/user.js +1 -0
- package/user.js.map +1 -1
- package/volume.d.ts +1 -1
- package/volume.js +1 -1
- package/vpc.d.ts +1 -0
- package/vpc.js +1 -0
- package/vpc.js.map +1 -1
- package/vpcSubnet.d.ts +1 -0
- package/vpcSubnet.js +1 -0
- package/vpcSubnet.js.map +1 -1
package/objectStorageBucket.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ import * as inputs from "./types/input";
|
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
4
|
/**
|
|
5
5
|
* Provides a Linode Object Storage Bucket resource. This can be used to create, modify, and delete Linodes Object Storage Buckets.
|
|
6
|
+
* For more information, see the [Linode APIv4 docs](https://techdocs.akamai.com/linode-api/reference/post-object-storage-bucket).
|
|
6
7
|
*
|
|
7
8
|
* ## Example Usage
|
|
8
9
|
*
|
|
@@ -77,7 +78,7 @@ export declare class ObjectStorageBucket extends pulumi.CustomResource {
|
|
|
77
78
|
*/
|
|
78
79
|
readonly accessKey: pulumi.Output<string | undefined>;
|
|
79
80
|
/**
|
|
80
|
-
* The Access Control Level of the bucket using a canned ACL string. See all ACL strings [in the Linode API v4 documentation](https://
|
|
81
|
+
* The Access Control Level of the bucket using a canned ACL string. See all ACL strings [in the Linode API v4 documentation](https://techdocs.akamai.com/linode-api/reference/post-object-storage-bucket).
|
|
81
82
|
*/
|
|
82
83
|
readonly acl: pulumi.Output<string | undefined>;
|
|
83
84
|
/**
|
|
@@ -85,7 +86,10 @@ export declare class ObjectStorageBucket extends pulumi.CustomResource {
|
|
|
85
86
|
*/
|
|
86
87
|
readonly cert: pulumi.Output<outputs.ObjectStorageBucketCert | undefined>;
|
|
87
88
|
/**
|
|
88
|
-
* The cluster of the Linode Object Storage Bucket.
|
|
89
|
+
* The cluster of the Linode Object Storage Bucket. This is deprecated in favor of `region` attribute.
|
|
90
|
+
* For example, `us-mia-1` cluster can be translated into `us-mia` region. Exactly one of `region` and `cluster` is required for creating a bucket.
|
|
91
|
+
*
|
|
92
|
+
* @deprecated The cluster attribute has been deprecated, please consider switching to the region attribute. For example, a cluster value of `us-mia-1` can be translated to a region value of `us-mia`.
|
|
89
93
|
*/
|
|
90
94
|
readonly cluster: pulumi.Output<string>;
|
|
91
95
|
/**
|
|
@@ -109,6 +113,10 @@ export declare class ObjectStorageBucket extends pulumi.CustomResource {
|
|
|
109
113
|
* Lifecycle rules to be applied to the bucket.
|
|
110
114
|
*/
|
|
111
115
|
readonly lifecycleRules: pulumi.Output<outputs.ObjectStorageBucketLifecycleRule[] | undefined>;
|
|
116
|
+
/**
|
|
117
|
+
* The region of the Linode Object Storage Bucket. Exactly one of `region` and `cluster` is required for creating a bucket.
|
|
118
|
+
*/
|
|
119
|
+
readonly region: pulumi.Output<string>;
|
|
112
120
|
/**
|
|
113
121
|
* The secret key to authenticate with. If not specified with the resource, its value can be
|
|
114
122
|
* * configured by `objSecretKey` in the provider configuration;
|
|
@@ -143,7 +151,7 @@ export interface ObjectStorageBucketState {
|
|
|
143
151
|
*/
|
|
144
152
|
accessKey?: pulumi.Input<string>;
|
|
145
153
|
/**
|
|
146
|
-
* The Access Control Level of the bucket using a canned ACL string. See all ACL strings [in the Linode API v4 documentation](https://
|
|
154
|
+
* The Access Control Level of the bucket using a canned ACL string. See all ACL strings [in the Linode API v4 documentation](https://techdocs.akamai.com/linode-api/reference/post-object-storage-bucket).
|
|
147
155
|
*/
|
|
148
156
|
acl?: pulumi.Input<string>;
|
|
149
157
|
/**
|
|
@@ -151,7 +159,10 @@ export interface ObjectStorageBucketState {
|
|
|
151
159
|
*/
|
|
152
160
|
cert?: pulumi.Input<inputs.ObjectStorageBucketCert>;
|
|
153
161
|
/**
|
|
154
|
-
* The cluster of the Linode Object Storage Bucket.
|
|
162
|
+
* The cluster of the Linode Object Storage Bucket. This is deprecated in favor of `region` attribute.
|
|
163
|
+
* For example, `us-mia-1` cluster can be translated into `us-mia` region. Exactly one of `region` and `cluster` is required for creating a bucket.
|
|
164
|
+
*
|
|
165
|
+
* @deprecated The cluster attribute has been deprecated, please consider switching to the region attribute. For example, a cluster value of `us-mia-1` can be translated to a region value of `us-mia`.
|
|
155
166
|
*/
|
|
156
167
|
cluster?: pulumi.Input<string>;
|
|
157
168
|
/**
|
|
@@ -175,6 +186,10 @@ export interface ObjectStorageBucketState {
|
|
|
175
186
|
* Lifecycle rules to be applied to the bucket.
|
|
176
187
|
*/
|
|
177
188
|
lifecycleRules?: pulumi.Input<pulumi.Input<inputs.ObjectStorageBucketLifecycleRule>[]>;
|
|
189
|
+
/**
|
|
190
|
+
* The region of the Linode Object Storage Bucket. Exactly one of `region` and `cluster` is required for creating a bucket.
|
|
191
|
+
*/
|
|
192
|
+
region?: pulumi.Input<string>;
|
|
178
193
|
/**
|
|
179
194
|
* The secret key to authenticate with. If not specified with the resource, its value can be
|
|
180
195
|
* * configured by `objSecretKey` in the provider configuration;
|
|
@@ -201,7 +216,7 @@ export interface ObjectStorageBucketArgs {
|
|
|
201
216
|
*/
|
|
202
217
|
accessKey?: pulumi.Input<string>;
|
|
203
218
|
/**
|
|
204
|
-
* The Access Control Level of the bucket using a canned ACL string. See all ACL strings [in the Linode API v4 documentation](https://
|
|
219
|
+
* The Access Control Level of the bucket using a canned ACL string. See all ACL strings [in the Linode API v4 documentation](https://techdocs.akamai.com/linode-api/reference/post-object-storage-bucket).
|
|
205
220
|
*/
|
|
206
221
|
acl?: pulumi.Input<string>;
|
|
207
222
|
/**
|
|
@@ -209,9 +224,12 @@ export interface ObjectStorageBucketArgs {
|
|
|
209
224
|
*/
|
|
210
225
|
cert?: pulumi.Input<inputs.ObjectStorageBucketCert>;
|
|
211
226
|
/**
|
|
212
|
-
* The cluster of the Linode Object Storage Bucket.
|
|
227
|
+
* The cluster of the Linode Object Storage Bucket. This is deprecated in favor of `region` attribute.
|
|
228
|
+
* For example, `us-mia-1` cluster can be translated into `us-mia` region. Exactly one of `region` and `cluster` is required for creating a bucket.
|
|
229
|
+
*
|
|
230
|
+
* @deprecated The cluster attribute has been deprecated, please consider switching to the region attribute. For example, a cluster value of `us-mia-1` can be translated to a region value of `us-mia`.
|
|
213
231
|
*/
|
|
214
|
-
cluster
|
|
232
|
+
cluster?: pulumi.Input<string>;
|
|
215
233
|
/**
|
|
216
234
|
* If true, the bucket will have CORS enabled for all origins.
|
|
217
235
|
*/
|
|
@@ -224,6 +242,10 @@ export interface ObjectStorageBucketArgs {
|
|
|
224
242
|
* Lifecycle rules to be applied to the bucket.
|
|
225
243
|
*/
|
|
226
244
|
lifecycleRules?: pulumi.Input<pulumi.Input<inputs.ObjectStorageBucketLifecycleRule>[]>;
|
|
245
|
+
/**
|
|
246
|
+
* The region of the Linode Object Storage Bucket. Exactly one of `region` and `cluster` is required for creating a bucket.
|
|
247
|
+
*/
|
|
248
|
+
region?: pulumi.Input<string>;
|
|
227
249
|
/**
|
|
228
250
|
* The secret key to authenticate with. If not specified with the resource, its value can be
|
|
229
251
|
* * configured by `objSecretKey` in the provider configuration;
|
package/objectStorageBucket.js
CHANGED
|
@@ -7,6 +7,7 @@ const pulumi = require("@pulumi/pulumi");
|
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
9
|
* Provides a Linode Object Storage Bucket resource. This can be used to create, modify, and delete Linodes Object Storage Buckets.
|
|
10
|
+
* For more information, see the [Linode APIv4 docs](https://techdocs.akamai.com/linode-api/reference/post-object-storage-bucket).
|
|
10
11
|
*
|
|
11
12
|
* ## Example Usage
|
|
12
13
|
*
|
|
@@ -95,14 +96,12 @@ class ObjectStorageBucket extends pulumi.CustomResource {
|
|
|
95
96
|
resourceInputs["hostname"] = state ? state.hostname : undefined;
|
|
96
97
|
resourceInputs["label"] = state ? state.label : undefined;
|
|
97
98
|
resourceInputs["lifecycleRules"] = state ? state.lifecycleRules : undefined;
|
|
99
|
+
resourceInputs["region"] = state ? state.region : undefined;
|
|
98
100
|
resourceInputs["secretKey"] = state ? state.secretKey : undefined;
|
|
99
101
|
resourceInputs["versioning"] = state ? state.versioning : undefined;
|
|
100
102
|
}
|
|
101
103
|
else {
|
|
102
104
|
const args = argsOrState;
|
|
103
|
-
if ((!args || args.cluster === undefined) && !opts.urn) {
|
|
104
|
-
throw new Error("Missing required property 'cluster'");
|
|
105
|
-
}
|
|
106
105
|
if ((!args || args.label === undefined) && !opts.urn) {
|
|
107
106
|
throw new Error("Missing required property 'label'");
|
|
108
107
|
}
|
|
@@ -113,6 +112,7 @@ class ObjectStorageBucket extends pulumi.CustomResource {
|
|
|
113
112
|
resourceInputs["corsEnabled"] = args ? args.corsEnabled : undefined;
|
|
114
113
|
resourceInputs["label"] = args ? args.label : undefined;
|
|
115
114
|
resourceInputs["lifecycleRules"] = args ? args.lifecycleRules : undefined;
|
|
115
|
+
resourceInputs["region"] = args ? args.region : undefined;
|
|
116
116
|
resourceInputs["secretKey"] = (args === null || args === void 0 ? void 0 : args.secretKey) ? pulumi.secret(args.secretKey) : undefined;
|
|
117
117
|
resourceInputs["versioning"] = args ? args.versioning : undefined;
|
|
118
118
|
resourceInputs["endpoint"] = undefined /*out*/;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"objectStorageBucket.js","sourceRoot":"","sources":["../objectStorageBucket.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"objectStorageBucket.js","sourceRoot":"","sources":["../objectStorageBucket.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqDG;AACH,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAC1D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgC,EAAE,IAAmC;QAC9H,OAAO,IAAI,mBAAmB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC1E,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,mBAAmB,CAAC,YAAY,CAAC;IACpE,CAAC;IAuED,YAAY,IAAY,EAAE,WAAgE,EAAE,IAAmC;QAC3H,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAA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CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,WAAW,CAAC,GAAG,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,SAAS,EAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1F,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAClD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,WAAW,CAAC,EAAE,CAAC;QAC9D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,mBAAmB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxE,CAAC;;AAxIL,kDAyIC;AA3HG,gBAAgB;AACO,gCAAY,GAAG,sDAAsD,CAAC"}
|
package/objectStorageKey.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ import * as inputs from "./types/input";
|
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
4
|
/**
|
|
5
5
|
* Provides a Linode Object Storage Key resource. This can be used to create, modify, and delete Linodes Object Storage Keys.
|
|
6
|
+
* For more information, see the [Linode APIv4 docs](https://techdocs.akamai.com/linode-api/reference/post-object-storage-keys).
|
|
6
7
|
*
|
|
7
8
|
* ## Example Usage
|
|
8
9
|
*
|
|
@@ -14,6 +15,22 @@ import * as outputs from "./types/output";
|
|
|
14
15
|
*
|
|
15
16
|
* const foo = new linode.ObjectStorageKey("foo", {label: "image-access"});
|
|
16
17
|
* ```
|
|
18
|
+
*
|
|
19
|
+
* The following example shows a key with limited access.
|
|
20
|
+
*
|
|
21
|
+
* ```typescript
|
|
22
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
23
|
+
* import * as linode from "@pulumi/linode";
|
|
24
|
+
*
|
|
25
|
+
* const foobar = new linode.ObjectStorageKey("foobar", {
|
|
26
|
+
* label: "my-key",
|
|
27
|
+
* bucketAccesses: [{
|
|
28
|
+
* bucketName: "my-bucket-name",
|
|
29
|
+
* region: "us-mia",
|
|
30
|
+
* permissions: "read_write",
|
|
31
|
+
* }],
|
|
32
|
+
* });
|
|
33
|
+
* ```
|
|
17
34
|
*/
|
|
18
35
|
export declare class ObjectStorageKey extends pulumi.CustomResource {
|
|
19
36
|
/**
|
|
@@ -41,14 +58,22 @@ export declare class ObjectStorageKey extends pulumi.CustomResource {
|
|
|
41
58
|
readonly bucketAccesses: pulumi.Output<outputs.ObjectStorageKeyBucketAccess[] | undefined>;
|
|
42
59
|
/**
|
|
43
60
|
* The label given to this key. For display purposes only.
|
|
44
|
-
*
|
|
45
|
-
* - - -
|
|
46
61
|
*/
|
|
47
62
|
readonly label: pulumi.Output<string>;
|
|
48
63
|
/**
|
|
49
64
|
* Whether or not this key is a limited access key.
|
|
50
65
|
*/
|
|
51
66
|
readonly limited: pulumi.Output<boolean>;
|
|
67
|
+
/**
|
|
68
|
+
* A set of regions where the key will grant access to create buckets.
|
|
69
|
+
*
|
|
70
|
+
* - - -
|
|
71
|
+
*/
|
|
72
|
+
readonly regions: pulumi.Output<string[]>;
|
|
73
|
+
/**
|
|
74
|
+
* A set of objects containing the detailed info of the regions where this key can access.
|
|
75
|
+
*/
|
|
76
|
+
readonly regionsDetails: pulumi.Output<outputs.ObjectStorageKeyRegionsDetail[]>;
|
|
52
77
|
/**
|
|
53
78
|
* This keypair's secret key.
|
|
54
79
|
*/
|
|
@@ -76,14 +101,22 @@ export interface ObjectStorageKeyState {
|
|
|
76
101
|
bucketAccesses?: pulumi.Input<pulumi.Input<inputs.ObjectStorageKeyBucketAccess>[]>;
|
|
77
102
|
/**
|
|
78
103
|
* The label given to this key. For display purposes only.
|
|
79
|
-
*
|
|
80
|
-
* - - -
|
|
81
104
|
*/
|
|
82
105
|
label?: pulumi.Input<string>;
|
|
83
106
|
/**
|
|
84
107
|
* Whether or not this key is a limited access key.
|
|
85
108
|
*/
|
|
86
109
|
limited?: pulumi.Input<boolean>;
|
|
110
|
+
/**
|
|
111
|
+
* A set of regions where the key will grant access to create buckets.
|
|
112
|
+
*
|
|
113
|
+
* - - -
|
|
114
|
+
*/
|
|
115
|
+
regions?: pulumi.Input<pulumi.Input<string>[]>;
|
|
116
|
+
/**
|
|
117
|
+
* A set of objects containing the detailed info of the regions where this key can access.
|
|
118
|
+
*/
|
|
119
|
+
regionsDetails?: pulumi.Input<pulumi.Input<inputs.ObjectStorageKeyRegionsDetail>[]>;
|
|
87
120
|
/**
|
|
88
121
|
* This keypair's secret key.
|
|
89
122
|
*/
|
|
@@ -99,8 +132,12 @@ export interface ObjectStorageKeyArgs {
|
|
|
99
132
|
bucketAccesses?: pulumi.Input<pulumi.Input<inputs.ObjectStorageKeyBucketAccess>[]>;
|
|
100
133
|
/**
|
|
101
134
|
* The label given to this key. For display purposes only.
|
|
135
|
+
*/
|
|
136
|
+
label: pulumi.Input<string>;
|
|
137
|
+
/**
|
|
138
|
+
* A set of regions where the key will grant access to create buckets.
|
|
102
139
|
*
|
|
103
140
|
* - - -
|
|
104
141
|
*/
|
|
105
|
-
|
|
142
|
+
regions?: pulumi.Input<pulumi.Input<string>[]>;
|
|
106
143
|
}
|
package/objectStorageKey.js
CHANGED
|
@@ -7,6 +7,7 @@ const pulumi = require("@pulumi/pulumi");
|
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
9
|
* Provides a Linode Object Storage Key resource. This can be used to create, modify, and delete Linodes Object Storage Keys.
|
|
10
|
+
* For more information, see the [Linode APIv4 docs](https://techdocs.akamai.com/linode-api/reference/post-object-storage-keys).
|
|
10
11
|
*
|
|
11
12
|
* ## Example Usage
|
|
12
13
|
*
|
|
@@ -18,6 +19,22 @@ const utilities = require("./utilities");
|
|
|
18
19
|
*
|
|
19
20
|
* const foo = new linode.ObjectStorageKey("foo", {label: "image-access"});
|
|
20
21
|
* ```
|
|
22
|
+
*
|
|
23
|
+
* The following example shows a key with limited access.
|
|
24
|
+
*
|
|
25
|
+
* ```typescript
|
|
26
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
27
|
+
* import * as linode from "@pulumi/linode";
|
|
28
|
+
*
|
|
29
|
+
* const foobar = new linode.ObjectStorageKey("foobar", {
|
|
30
|
+
* label: "my-key",
|
|
31
|
+
* bucketAccesses: [{
|
|
32
|
+
* bucketName: "my-bucket-name",
|
|
33
|
+
* region: "us-mia",
|
|
34
|
+
* permissions: "read_write",
|
|
35
|
+
* }],
|
|
36
|
+
* });
|
|
37
|
+
* ```
|
|
21
38
|
*/
|
|
22
39
|
class ObjectStorageKey extends pulumi.CustomResource {
|
|
23
40
|
/**
|
|
@@ -51,6 +68,8 @@ class ObjectStorageKey extends pulumi.CustomResource {
|
|
|
51
68
|
resourceInputs["bucketAccesses"] = state ? state.bucketAccesses : undefined;
|
|
52
69
|
resourceInputs["label"] = state ? state.label : undefined;
|
|
53
70
|
resourceInputs["limited"] = state ? state.limited : undefined;
|
|
71
|
+
resourceInputs["regions"] = state ? state.regions : undefined;
|
|
72
|
+
resourceInputs["regionsDetails"] = state ? state.regionsDetails : undefined;
|
|
54
73
|
resourceInputs["secretKey"] = state ? state.secretKey : undefined;
|
|
55
74
|
}
|
|
56
75
|
else {
|
|
@@ -60,8 +79,10 @@ class ObjectStorageKey extends pulumi.CustomResource {
|
|
|
60
79
|
}
|
|
61
80
|
resourceInputs["bucketAccesses"] = args ? args.bucketAccesses : undefined;
|
|
62
81
|
resourceInputs["label"] = args ? args.label : undefined;
|
|
82
|
+
resourceInputs["regions"] = args ? args.regions : undefined;
|
|
63
83
|
resourceInputs["accessKey"] = undefined /*out*/;
|
|
64
84
|
resourceInputs["limited"] = undefined /*out*/;
|
|
85
|
+
resourceInputs["regionsDetails"] = undefined /*out*/;
|
|
65
86
|
resourceInputs["secretKey"] = undefined /*out*/;
|
|
66
87
|
}
|
|
67
88
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
package/objectStorageKey.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"objectStorageKey.js","sourceRoot":"","sources":["../objectStorageKey.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"objectStorageKey.js","sourceRoot":"","sources":["../objectStorageKey.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAAE,IAAmC;QAC3H,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACvE,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,gBAAgB,CAAC,YAAY,CAAC;IACjE,CAAC;IAyCD,YAAY,IAAY,EAAE,WAA0D,EAAE,IAAmC;QACrH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI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AC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACrD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,WAAW,CAAC,EAAE,CAAC;QAC9D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,gBAAgB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrE,CAAC;;AAhGL,4CAiGC;AAnFG,gBAAgB;AACO,6BAAY,GAAG,gDAAgD,CAAC"}
|
package/objectStorageObject.d.ts
CHANGED
|
@@ -93,9 +93,9 @@ export declare class ObjectStorageObject extends pulumi.CustomResource {
|
|
|
93
93
|
*/
|
|
94
94
|
readonly cacheControl: pulumi.Output<string | undefined>;
|
|
95
95
|
/**
|
|
96
|
-
* The cluster the bucket is in.
|
|
96
|
+
* The cluster the bucket is in. Required if `region` is not configured. Deprecated in favor of `region`.
|
|
97
97
|
*/
|
|
98
|
-
readonly cluster: pulumi.Output<string>;
|
|
98
|
+
readonly cluster: pulumi.Output<string | undefined>;
|
|
99
99
|
/**
|
|
100
100
|
* Literal string value to use as the object content, which will be uploaded as UTF-8-encoded text.
|
|
101
101
|
*/
|
|
@@ -142,6 +142,10 @@ export declare class ObjectStorageObject extends pulumi.CustomResource {
|
|
|
142
142
|
readonly metadata: pulumi.Output<{
|
|
143
143
|
[key: string]: string;
|
|
144
144
|
} | undefined>;
|
|
145
|
+
/**
|
|
146
|
+
* The cluster the bucket is in. Required if `cluster` is not configured.
|
|
147
|
+
*/
|
|
148
|
+
readonly region: pulumi.Output<string | undefined>;
|
|
145
149
|
/**
|
|
146
150
|
* The REQUIRED secret key to authenticate with. If it's not specified with the resource, you must provide its value by
|
|
147
151
|
* * configuring the `objSecretKey` in the provider configuration;
|
|
@@ -192,7 +196,7 @@ export interface ObjectStorageObjectState {
|
|
|
192
196
|
*/
|
|
193
197
|
cacheControl?: pulumi.Input<string>;
|
|
194
198
|
/**
|
|
195
|
-
* The cluster the bucket is in.
|
|
199
|
+
* The cluster the bucket is in. Required if `region` is not configured. Deprecated in favor of `region`.
|
|
196
200
|
*/
|
|
197
201
|
cluster?: pulumi.Input<string>;
|
|
198
202
|
/**
|
|
@@ -241,6 +245,10 @@ export interface ObjectStorageObjectState {
|
|
|
241
245
|
metadata?: pulumi.Input<{
|
|
242
246
|
[key: string]: pulumi.Input<string>;
|
|
243
247
|
}>;
|
|
248
|
+
/**
|
|
249
|
+
* The cluster the bucket is in. Required if `cluster` is not configured.
|
|
250
|
+
*/
|
|
251
|
+
region?: pulumi.Input<string>;
|
|
244
252
|
/**
|
|
245
253
|
* The REQUIRED secret key to authenticate with. If it's not specified with the resource, you must provide its value by
|
|
246
254
|
* * configuring the `objSecretKey` in the provider configuration;
|
|
@@ -283,9 +291,9 @@ export interface ObjectStorageObjectArgs {
|
|
|
283
291
|
*/
|
|
284
292
|
cacheControl?: pulumi.Input<string>;
|
|
285
293
|
/**
|
|
286
|
-
* The cluster the bucket is in.
|
|
294
|
+
* The cluster the bucket is in. Required if `region` is not configured. Deprecated in favor of `region`.
|
|
287
295
|
*/
|
|
288
|
-
cluster
|
|
296
|
+
cluster?: pulumi.Input<string>;
|
|
289
297
|
/**
|
|
290
298
|
* Literal string value to use as the object content, which will be uploaded as UTF-8-encoded text.
|
|
291
299
|
*/
|
|
@@ -332,6 +340,10 @@ export interface ObjectStorageObjectArgs {
|
|
|
332
340
|
metadata?: pulumi.Input<{
|
|
333
341
|
[key: string]: pulumi.Input<string>;
|
|
334
342
|
}>;
|
|
343
|
+
/**
|
|
344
|
+
* The cluster the bucket is in. Required if `cluster` is not configured.
|
|
345
|
+
*/
|
|
346
|
+
region?: pulumi.Input<string>;
|
|
335
347
|
/**
|
|
336
348
|
* The REQUIRED secret key to authenticate with. If it's not specified with the resource, you must provide its value by
|
|
337
349
|
* * configuring the `objSecretKey` in the provider configuration;
|
package/objectStorageObject.js
CHANGED
|
@@ -108,6 +108,7 @@ class ObjectStorageObject extends pulumi.CustomResource {
|
|
|
108
108
|
resourceInputs["forceDestroy"] = state ? state.forceDestroy : undefined;
|
|
109
109
|
resourceInputs["key"] = state ? state.key : undefined;
|
|
110
110
|
resourceInputs["metadata"] = state ? state.metadata : undefined;
|
|
111
|
+
resourceInputs["region"] = state ? state.region : undefined;
|
|
111
112
|
resourceInputs["secretKey"] = state ? state.secretKey : undefined;
|
|
112
113
|
resourceInputs["source"] = state ? state.source : undefined;
|
|
113
114
|
resourceInputs["versionId"] = state ? state.versionId : undefined;
|
|
@@ -118,9 +119,6 @@ class ObjectStorageObject extends pulumi.CustomResource {
|
|
|
118
119
|
if ((!args || args.bucket === undefined) && !opts.urn) {
|
|
119
120
|
throw new Error("Missing required property 'bucket'");
|
|
120
121
|
}
|
|
121
|
-
if ((!args || args.cluster === undefined) && !opts.urn) {
|
|
122
|
-
throw new Error("Missing required property 'cluster'");
|
|
123
|
-
}
|
|
124
122
|
if ((!args || args.key === undefined) && !opts.urn) {
|
|
125
123
|
throw new Error("Missing required property 'key'");
|
|
126
124
|
}
|
|
@@ -140,6 +138,7 @@ class ObjectStorageObject extends pulumi.CustomResource {
|
|
|
140
138
|
resourceInputs["forceDestroy"] = args ? args.forceDestroy : undefined;
|
|
141
139
|
resourceInputs["key"] = args ? args.key : undefined;
|
|
142
140
|
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
|
141
|
+
resourceInputs["region"] = args ? args.region : undefined;
|
|
143
142
|
resourceInputs["secretKey"] = (args === null || args === void 0 ? void 0 : args.secretKey) ? pulumi.secret(args.secretKey) : undefined;
|
|
144
143
|
resourceInputs["source"] = args ? args.source : undefined;
|
|
145
144
|
resourceInputs["websiteRedirect"] = args ? args.websiteRedirect : undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"objectStorageObject.js","sourceRoot":"","sources":["../objectStorageObject.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0DG;AACH,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAC1D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgC,EAAE,IAAmC;QAC9H,OAAO,IAAI,mBAAmB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC1E,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,mBAAmB,CAAC,YAAY,CAAC;IACpE,CAAC;
|
|
1
|
+
{"version":3,"file":"objectStorageObject.js","sourceRoot":"","sources":["../objectStorageObject.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/linode",
|
|
3
|
-
"version": "4.23.0
|
|
3
|
+
"version": "4.23.0",
|
|
4
4
|
"description": "A Pulumi package for creating and managing linode cloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -23,6 +23,6 @@
|
|
|
23
23
|
"pulumi": {
|
|
24
24
|
"resource": true,
|
|
25
25
|
"name": "linode",
|
|
26
|
-
"version": "4.23.0
|
|
26
|
+
"version": "4.23.0"
|
|
27
27
|
}
|
|
28
28
|
}
|
package/placementGroup.d.ts
CHANGED
|
@@ -2,9 +2,10 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "./types/input";
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
4
|
/**
|
|
5
|
-
* **NOTE: Placement Groups may not currently be available to all users.**
|
|
6
|
-
*
|
|
7
5
|
* Manages a Linode Placement Group.
|
|
6
|
+
* For more information, see the [Linode APIv4 docs](https://techdocs.akamai.com/linode-api/reference/post-placement-group).
|
|
7
|
+
*
|
|
8
|
+
* **NOTE: Placement Groups may not currently be available to all users.**
|
|
8
9
|
*
|
|
9
10
|
* ## Example Usage
|
|
10
11
|
*
|
package/placementGroup.js
CHANGED
|
@@ -6,9 +6,10 @@ exports.PlacementGroup = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* **NOTE: Placement Groups may not currently be available to all users.**
|
|
10
|
-
*
|
|
11
9
|
* Manages a Linode Placement Group.
|
|
10
|
+
* For more information, see the [Linode APIv4 docs](https://techdocs.akamai.com/linode-api/reference/post-placement-group).
|
|
11
|
+
*
|
|
12
|
+
* **NOTE: Placement Groups may not currently be available to all users.**
|
|
12
13
|
*
|
|
13
14
|
* ## Example Usage
|
|
14
15
|
*
|
package/placementGroup.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"placementGroup.js","sourceRoot":"","sources":["../placementGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"placementGroup.js","sourceRoot":"","sources":["../placementGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;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,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,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,YAAY,CAAC;IAC/D,CAAC;IAmCD,YAAY,IAAY,EAAE,WAAsD,EAAE,IAAmC;QACjH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA8C,CAAC;YAC7D,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CA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AAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,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;;AA5FL,wCA6FC;AA/EG,gBAAgB;AACO,2BAAY,GAAG,4CAA4C,CAAC"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
* **NOTE: Placement Groups may not currently be available to all users.**
|
|
4
|
-
*
|
|
5
3
|
* Manages a single assignment between a Linode and a Placement Group.
|
|
4
|
+
* For more information, see the [Linode APIv4 docs](https://techdocs.akamai.com/linode-api/reference/post-group-add-linode).
|
|
5
|
+
*
|
|
6
|
+
* **NOTE: Placement Groups may not currently be available to all users.**
|
|
6
7
|
*
|
|
7
8
|
* To prevent update conflicts, Linodes managed through the `linode.Instance` resource should specify `placementGroupExternallyManaged`:
|
|
8
9
|
*
|
|
@@ -6,9 +6,10 @@ exports.PlacementGroupAssignment = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* **NOTE: Placement Groups may not currently be available to all users.**
|
|
10
|
-
*
|
|
11
9
|
* Manages a single assignment between a Linode and a Placement Group.
|
|
10
|
+
* For more information, see the [Linode APIv4 docs](https://techdocs.akamai.com/linode-api/reference/post-group-add-linode).
|
|
11
|
+
*
|
|
12
|
+
* **NOTE: Placement Groups may not currently be available to all users.**
|
|
12
13
|
*
|
|
13
14
|
* To prevent update conflicts, Linodes managed through the `linode.Instance` resource should specify `placementGroupExternallyManaged`:
|
|
14
15
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"placementGroupAssignment.js","sourceRoot":"","sources":["../placementGroupAssignment.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"placementGroupAssignment.js","sourceRoot":"","sources":["../placementGroupAssignment.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CG;AACH,MAAa,wBAAyB,SAAQ,MAAM,CAAC,cAAc;IAC/D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqC,EAAE,IAAmC;QACnI,OAAO,IAAI,wBAAwB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC/E,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,wBAAwB,CAAC,YAAY,CAAC;IACzE,CAAC;IAoBD,YAAY,IAAY,EAAE,WAA0E,EAAE,IAAmC;QACrI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,W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CAAC,CAAC;IAC7E,CAAC;;AApEL,4DAqEC;AAvDG,gBAAgB;AACO,qCAAY,GAAG,gEAAgE,CAAC"}
|
package/rdns.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ import * as outputs from "./types/output";
|
|
|
6
6
|
*
|
|
7
7
|
* Linode RDNS names must have a matching address value in an A or AAAA record. This A or AAAA name must be resolvable at the time the RDNS resource is being associated.
|
|
8
8
|
*
|
|
9
|
-
* For more information, see the [Linode APIv4 docs](https://
|
|
9
|
+
* For more information, see the [Linode APIv4 docs](https://techdocs.akamai.com/linode-api/reference/put-ip) and the [Configure your Linode for Reverse DNS](https://www.linode.com/docs/networking/dns/configure-your-linode-for-reverse-dns-classic-manager/) guide.
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
12
|
*
|
package/rdns.js
CHANGED
|
@@ -10,7 +10,7 @@ const utilities = require("./utilities");
|
|
|
10
10
|
*
|
|
11
11
|
* Linode RDNS names must have a matching address value in an A or AAAA record. This A or AAAA name must be resolvable at the time the RDNS resource is being associated.
|
|
12
12
|
*
|
|
13
|
-
* For more information, see the [Linode APIv4 docs](https://
|
|
13
|
+
* For more information, see the [Linode APIv4 docs](https://techdocs.akamai.com/linode-api/reference/put-ip) and the [Configure your Linode for Reverse DNS](https://www.linode.com/docs/networking/dns/configure-your-linode-for-reverse-dns-classic-manager/) guide.
|
|
14
14
|
*
|
|
15
15
|
* ## Example Usage
|
|
16
16
|
*
|
package/sshKey.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
3
|
* Provides a Linode SSH Key resource. This can be used to create, modify, and delete Linodes SSH Keys. Managed SSH Keys allow instances to be created with a list of Linode usernames, whose SSH keys will be automatically applied to the root account's `~/.ssh/authorized_keys` file.
|
|
4
|
-
* For more information, see the [Linode APIv4 docs](https://
|
|
4
|
+
* For more information, see the [Linode APIv4 docs](https://techdocs.akamai.com/linode-api/reference/get-ssh-keys).
|
|
5
|
+
*
|
|
5
6
|
* **NOTE**: This does not generate a new ssh key, you must have an existing key generated and saved locally.
|
|
6
7
|
*
|
|
7
8
|
* ## Example Usage
|
package/sshKey.js
CHANGED
|
@@ -7,7 +7,8 @@ const pulumi = require("@pulumi/pulumi");
|
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
9
|
* Provides a Linode SSH Key resource. This can be used to create, modify, and delete Linodes SSH Keys. Managed SSH Keys allow instances to be created with a list of Linode usernames, whose SSH keys will be automatically applied to the root account's `~/.ssh/authorized_keys` file.
|
|
10
|
-
* For more information, see the [Linode APIv4 docs](https://
|
|
10
|
+
* For more information, see the [Linode APIv4 docs](https://techdocs.akamai.com/linode-api/reference/get-ssh-keys).
|
|
11
|
+
*
|
|
11
12
|
* **NOTE**: This does not generate a new ssh key, you must have an existing key generated and saved locally.
|
|
12
13
|
*
|
|
13
14
|
* ## Example Usage
|
package/sshKey.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sshKey.js","sourceRoot":"","sources":["../sshKey.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"sshKey.js","sourceRoot":"","sources":["../sshKey.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;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,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC7D,CAAC;IAKD;;;OAG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CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,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,MAAM,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3D,CAAC;;AAvEL,wBAwEC;AA1DG,gBAAgB;AACO,mBAAY,GAAG,4BAA4B,CAAC"}
|
package/stackScript.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import * as outputs from "./types/output";
|
|
|
4
4
|
/**
|
|
5
5
|
* Provides a Linode StackScript resource. This can be used to create, modify, and delete Linode StackScripts. StackScripts are private or public managed scripts which run within an instance during startup. StackScripts can include variables whose values are specified when the Instance is created.
|
|
6
6
|
*
|
|
7
|
-
* For more information, see [Automate Deployment with StackScripts](https://www.linode.com/docs/platform/stackscripts/) and the [Linode APIv4 docs](https://
|
|
7
|
+
* For more information, see [Automate Deployment with StackScripts](https://www.linode.com/docs/platform/stackscripts/) and the [Linode APIv4 docs](https://techdocs.akamai.com/linode-api/reference/post-add-stack-script).
|
|
8
8
|
*
|
|
9
9
|
* ## Example Usage
|
|
10
10
|
*
|
package/stackScript.js
CHANGED
|
@@ -8,7 +8,7 @@ const utilities = require("./utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* Provides a Linode StackScript resource. This can be used to create, modify, and delete Linode StackScripts. StackScripts are private or public managed scripts which run within an instance during startup. StackScripts can include variables whose values are specified when the Instance is created.
|
|
10
10
|
*
|
|
11
|
-
* For more information, see [Automate Deployment with StackScripts](https://www.linode.com/docs/platform/stackscripts/) and the [Linode APIv4 docs](https://
|
|
11
|
+
* For more information, see [Automate Deployment with StackScripts](https://www.linode.com/docs/platform/stackscripts/) and the [Linode APIv4 docs](https://techdocs.akamai.com/linode-api/reference/post-add-stack-script).
|
|
12
12
|
*
|
|
13
13
|
* ## Example Usage
|
|
14
14
|
*
|