pulumi-linode 5.1.0a1752810302__py3-none-any.whl → 5.1.1a1753933550__py3-none-any.whl
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.
Potentially problematic release.
This version of pulumi-linode might be problematic. Click here for more details.
- pulumi_linode/__init__.py +1 -1
- pulumi_linode/_inputs.py +5169 -5170
- pulumi_linode/account_settings.py +70 -71
- pulumi_linode/config/__init__.py +1 -1
- pulumi_linode/config/__init__.pyi +1 -2
- pulumi_linode/config/vars.py +21 -22
- pulumi_linode/database_access_controls.py +52 -53
- pulumi_linode/database_mysql.py +247 -248
- pulumi_linode/database_mysql_v2.py +782 -783
- pulumi_linode/database_postgresql.py +273 -274
- pulumi_linode/database_postgresql_v2.py +1105 -1106
- pulumi_linode/domain.py +222 -223
- pulumi_linode/domain_record.py +188 -189
- pulumi_linode/firewall.py +155 -156
- pulumi_linode/firewall_device.py +70 -71
- pulumi_linode/get_account.py +33 -34
- pulumi_linode/get_account_availabilities.py +5 -6
- pulumi_linode/get_account_availability.py +13 -14
- pulumi_linode/get_account_login.py +17 -18
- pulumi_linode/get_account_logins.py +5 -6
- pulumi_linode/get_account_settings.py +13 -14
- pulumi_linode/get_child_account.py +37 -38
- pulumi_linode/get_child_accounts.py +5 -6
- pulumi_linode/get_database_backups.py +35 -36
- pulumi_linode/get_database_engines.py +23 -24
- pulumi_linode/get_database_mysql.py +52 -53
- pulumi_linode/get_database_mysql_backups.py +29 -30
- pulumi_linode/get_database_mysql_config.py +5 -6
- pulumi_linode/get_database_mysql_v2.py +115 -116
- pulumi_linode/get_database_postgresql.py +56 -57
- pulumi_linode/get_database_postgresql_config.py +7 -8
- pulumi_linode/get_database_postgresql_v2.py +153 -154
- pulumi_linode/get_databases.py +17 -18
- pulumi_linode/get_domain.py +37 -38
- pulumi_linode/get_domain_record.py +37 -38
- pulumi_linode/get_domain_zonefile.py +11 -12
- pulumi_linode/get_domains.py +17 -18
- pulumi_linode/get_firewall.py +30 -31
- pulumi_linode/get_firewalls.py +17 -18
- pulumi_linode/get_image.py +36 -37
- pulumi_linode/get_images.py +23 -24
- pulumi_linode/get_instance_backups.py +12 -13
- pulumi_linode/get_instance_networking.py +11 -12
- pulumi_linode/get_instance_type.py +30 -31
- pulumi_linode/get_instance_types.py +17 -18
- pulumi_linode/get_instances.py +17 -18
- pulumi_linode/get_ipv6_range.py +17 -18
- pulumi_linode/get_ipv6_ranges.py +5 -6
- pulumi_linode/get_kernel.py +23 -24
- pulumi_linode/get_kernels.py +17 -18
- pulumi_linode/get_linode_object_storage_bucket.py +33 -34
- pulumi_linode/get_lke_cluster.py +33 -34
- pulumi_linode/get_lke_clusters.py +17 -18
- pulumi_linode/get_lke_types.py +17 -18
- pulumi_linode/get_lke_version.py +13 -14
- pulumi_linode/get_lke_versions.py +10 -11
- pulumi_linode/get_nb_types.py +13 -14
- pulumi_linode/get_network_transfer_prices.py +17 -18
- pulumi_linode/get_networking_ip.py +28 -29
- pulumi_linode/get_networking_ips.py +17 -18
- pulumi_linode/get_node_balancer.py +29 -30
- pulumi_linode/get_node_balancer_config.py +48 -49
- pulumi_linode/get_node_balancer_node.py +29 -30
- pulumi_linode/get_nodebalancer_configs.py +23 -24
- pulumi_linode/get_nodebalancers.py +17 -18
- pulumi_linode/get_object_storage_cluster.py +15 -16
- pulumi_linode/get_object_storage_endpoints.py +17 -18
- pulumi_linode/get_object_storage_quota.py +22 -23
- pulumi_linode/get_object_storage_quotas.py +5 -6
- pulumi_linode/get_placement_group.py +19 -20
- pulumi_linode/get_placement_groups.py +13 -14
- pulumi_linode/get_profile.py +22 -23
- pulumi_linode/get_region.py +19 -20
- pulumi_linode/get_regions.py +5 -6
- pulumi_linode/get_ssh_key.py +17 -18
- pulumi_linode/get_sshkeys.py +17 -18
- pulumi_linode/get_stack_script.py +32 -33
- pulumi_linode/get_stack_scripts.py +23 -24
- pulumi_linode/get_user.py +35 -36
- pulumi_linode/get_users.py +17 -18
- pulumi_linode/get_vlans.py +17 -18
- pulumi_linode/get_volume.py +27 -28
- pulumi_linode/get_volume_types.py +17 -18
- pulumi_linode/get_volumes.py +17 -18
- pulumi_linode/get_vpc.py +17 -18
- pulumi_linode/get_vpc_ips.py +11 -12
- pulumi_linode/get_vpc_subnet.py +22 -23
- pulumi_linode/get_vpc_subnets.py +11 -12
- pulumi_linode/get_vpcs.py +5 -6
- pulumi_linode/image.py +292 -293
- pulumi_linode/instance.py +520 -521
- pulumi_linode/instance_config.py +166 -167
- pulumi_linode/instance_disk.py +210 -211
- pulumi_linode/instance_ip.py +125 -126
- pulumi_linode/instance_shared_ips.py +35 -36
- pulumi_linode/ipv6_range.py +88 -89
- pulumi_linode/lke_cluster.py +162 -163
- pulumi_linode/lke_node_pool.py +137 -138
- pulumi_linode/networking_ip.py +133 -134
- pulumi_linode/networking_ip_assignment.py +21 -22
- pulumi_linode/node_balancer.py +152 -153
- pulumi_linode/node_balancer_config.py +319 -320
- pulumi_linode/node_balancer_node.py +112 -113
- pulumi_linode/object_storage_bucket.py +195 -196
- pulumi_linode/object_storage_key.py +67 -68
- pulumi_linode/object_storage_object.py +350 -351
- pulumi_linode/outputs.py +5305 -5306
- pulumi_linode/placement_group.py +80 -81
- pulumi_linode/placement_group_assignment.py +48 -49
- pulumi_linode/provider.py +180 -181
- pulumi_linode/pulumi-plugin.json +1 -1
- pulumi_linode/rdns.py +55 -56
- pulumi_linode/reserved_ip_assignment.py +142 -143
- pulumi_linode/ssh_key.py +44 -45
- pulumi_linode/stack_script.py +159 -160
- pulumi_linode/token.py +70 -71
- pulumi_linode/user.py +112 -113
- pulumi_linode/volume.py +141 -142
- pulumi_linode/vpc.py +70 -71
- pulumi_linode/vpc_subnet.py +72 -73
- {pulumi_linode-5.1.0a1752810302.dist-info → pulumi_linode-5.1.1a1753933550.dist-info}/METADATA +1 -1
- pulumi_linode-5.1.1a1753933550.dist-info/RECORD +126 -0
- pulumi_linode-5.1.0a1752810302.dist-info/RECORD +0 -126
- {pulumi_linode-5.1.0a1752810302.dist-info → pulumi_linode-5.1.1a1753933550.dist-info}/WHEEL +0 -0
- {pulumi_linode-5.1.0a1752810302.dist-info → pulumi_linode-5.1.1a1753933550.dist-info}/top_level.txt +0 -0
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -22,37 +21,37 @@ __all__ = ['ObjectStorageBucketArgs', 'ObjectStorageBucket']
|
|
|
22
21
|
@pulumi.input_type
|
|
23
22
|
class ObjectStorageBucketArgs:
|
|
24
23
|
def __init__(__self__, *,
|
|
25
|
-
label: pulumi.Input[
|
|
26
|
-
access_key: Optional[pulumi.Input[
|
|
27
|
-
acl: Optional[pulumi.Input[
|
|
24
|
+
label: pulumi.Input[_builtins.str],
|
|
25
|
+
access_key: Optional[pulumi.Input[_builtins.str]] = None,
|
|
26
|
+
acl: Optional[pulumi.Input[_builtins.str]] = None,
|
|
28
27
|
cert: Optional[pulumi.Input['ObjectStorageBucketCertArgs']] = None,
|
|
29
|
-
cluster: Optional[pulumi.Input[
|
|
30
|
-
cors_enabled: Optional[pulumi.Input[
|
|
31
|
-
endpoint_type: Optional[pulumi.Input[
|
|
28
|
+
cluster: Optional[pulumi.Input[_builtins.str]] = None,
|
|
29
|
+
cors_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
30
|
+
endpoint_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
32
31
|
lifecycle_rules: Optional[pulumi.Input[Sequence[pulumi.Input['ObjectStorageBucketLifecycleRuleArgs']]]] = None,
|
|
33
|
-
region: Optional[pulumi.Input[
|
|
34
|
-
s3_endpoint: Optional[pulumi.Input[
|
|
35
|
-
secret_key: Optional[pulumi.Input[
|
|
36
|
-
versioning: Optional[pulumi.Input[
|
|
32
|
+
region: Optional[pulumi.Input[_builtins.str]] = None,
|
|
33
|
+
s3_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
|
|
34
|
+
secret_key: Optional[pulumi.Input[_builtins.str]] = None,
|
|
35
|
+
versioning: Optional[pulumi.Input[_builtins.bool]] = None):
|
|
37
36
|
"""
|
|
38
37
|
The set of arguments for constructing a ObjectStorageBucket resource.
|
|
39
|
-
:param pulumi.Input[
|
|
40
|
-
:param pulumi.Input[
|
|
38
|
+
:param pulumi.Input[_builtins.str] label: The label of the Linode Object Storage Bucket.
|
|
39
|
+
:param pulumi.Input[_builtins.str] access_key: The access key to authenticate with. If not specified with the resource, its value can be
|
|
41
40
|
* configured by `obj_access_key` in the provider configuration;
|
|
42
41
|
* or, generated implicitly at apply-time if `obj_use_temp_keys` at provider-level is set.
|
|
43
|
-
:param pulumi.Input[
|
|
42
|
+
:param pulumi.Input[_builtins.str] acl: 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).
|
|
44
43
|
:param pulumi.Input['ObjectStorageBucketCertArgs'] cert: The cert used by this Object Storage Bucket.
|
|
45
|
-
:param pulumi.Input[
|
|
44
|
+
:param pulumi.Input[_builtins.str] cluster: The cluster of the Linode Object Storage Bucket. This is deprecated in favor of `region` attribute.
|
|
46
45
|
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.
|
|
47
|
-
:param pulumi.Input[
|
|
48
|
-
:param pulumi.Input[
|
|
46
|
+
:param pulumi.Input[_builtins.bool] cors_enabled: If true, the bucket will have CORS enabled for all origins.
|
|
47
|
+
:param pulumi.Input[_builtins.str] endpoint_type: The type of `s3_endpoint` available to the user in this region. See [Endpoint types](https://techdocs.akamai.com/cloud-computing/docs/object-storage#endpoint-type) for more information.
|
|
49
48
|
:param pulumi.Input[Sequence[pulumi.Input['ObjectStorageBucketLifecycleRuleArgs']]] lifecycle_rules: Lifecycle rules to be applied to the bucket.
|
|
50
|
-
:param pulumi.Input[
|
|
51
|
-
:param pulumi.Input[
|
|
52
|
-
:param pulumi.Input[
|
|
49
|
+
:param pulumi.Input[_builtins.str] region: The region of the Linode Object Storage Bucket. Exactly one of `region` and `cluster` is required for creating a bucket.
|
|
50
|
+
:param pulumi.Input[_builtins.str] s3_endpoint: The user's s3 endpoint URL, based on the `endpoint_type` and `region`.
|
|
51
|
+
:param pulumi.Input[_builtins.str] secret_key: The secret key to authenticate with. If not specified with the resource, its value can be
|
|
53
52
|
* configured by `obj_secret_key` in the provider configuration;
|
|
54
53
|
* or, generated implicitly at apply-time if `obj_use_temp_keys` at provider-level is set.
|
|
55
|
-
:param pulumi.Input[
|
|
54
|
+
:param pulumi.Input[_builtins.bool] versioning: Whether to enable versioning. Once you version-enable a bucket, it can never return to an unversioned state. You can, however, suspend versioning on that bucket. (Requires `access_key` and `secret_key`)
|
|
56
55
|
|
|
57
56
|
* `lifecycle_rule` - (Optional) Lifecycle rules to be applied to the bucket. (Requires `access_key` and `secret_key`)
|
|
58
57
|
|
|
@@ -85,21 +84,21 @@ class ObjectStorageBucketArgs:
|
|
|
85
84
|
if versioning is not None:
|
|
86
85
|
pulumi.set(__self__, "versioning", versioning)
|
|
87
86
|
|
|
88
|
-
@property
|
|
87
|
+
@_builtins.property
|
|
89
88
|
@pulumi.getter
|
|
90
|
-
def label(self) -> pulumi.Input[
|
|
89
|
+
def label(self) -> pulumi.Input[_builtins.str]:
|
|
91
90
|
"""
|
|
92
91
|
The label of the Linode Object Storage Bucket.
|
|
93
92
|
"""
|
|
94
93
|
return pulumi.get(self, "label")
|
|
95
94
|
|
|
96
95
|
@label.setter
|
|
97
|
-
def label(self, value: pulumi.Input[
|
|
96
|
+
def label(self, value: pulumi.Input[_builtins.str]):
|
|
98
97
|
pulumi.set(self, "label", value)
|
|
99
98
|
|
|
100
|
-
@property
|
|
99
|
+
@_builtins.property
|
|
101
100
|
@pulumi.getter(name="accessKey")
|
|
102
|
-
def access_key(self) -> Optional[pulumi.Input[
|
|
101
|
+
def access_key(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
103
102
|
"""
|
|
104
103
|
The access key to authenticate with. If not specified with the resource, its value can be
|
|
105
104
|
* configured by `obj_access_key` in the provider configuration;
|
|
@@ -108,22 +107,22 @@ class ObjectStorageBucketArgs:
|
|
|
108
107
|
return pulumi.get(self, "access_key")
|
|
109
108
|
|
|
110
109
|
@access_key.setter
|
|
111
|
-
def access_key(self, value: Optional[pulumi.Input[
|
|
110
|
+
def access_key(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
112
111
|
pulumi.set(self, "access_key", value)
|
|
113
112
|
|
|
114
|
-
@property
|
|
113
|
+
@_builtins.property
|
|
115
114
|
@pulumi.getter
|
|
116
|
-
def acl(self) -> Optional[pulumi.Input[
|
|
115
|
+
def acl(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
117
116
|
"""
|
|
118
117
|
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).
|
|
119
118
|
"""
|
|
120
119
|
return pulumi.get(self, "acl")
|
|
121
120
|
|
|
122
121
|
@acl.setter
|
|
123
|
-
def acl(self, value: Optional[pulumi.Input[
|
|
122
|
+
def acl(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
124
123
|
pulumi.set(self, "acl", value)
|
|
125
124
|
|
|
126
|
-
@property
|
|
125
|
+
@_builtins.property
|
|
127
126
|
@pulumi.getter
|
|
128
127
|
def cert(self) -> Optional[pulumi.Input['ObjectStorageBucketCertArgs']]:
|
|
129
128
|
"""
|
|
@@ -135,10 +134,10 @@ class ObjectStorageBucketArgs:
|
|
|
135
134
|
def cert(self, value: Optional[pulumi.Input['ObjectStorageBucketCertArgs']]):
|
|
136
135
|
pulumi.set(self, "cert", value)
|
|
137
136
|
|
|
138
|
-
@property
|
|
137
|
+
@_builtins.property
|
|
139
138
|
@pulumi.getter
|
|
140
139
|
@_utilities.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`.""")
|
|
141
|
-
def cluster(self) -> Optional[pulumi.Input[
|
|
140
|
+
def cluster(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
142
141
|
"""
|
|
143
142
|
The cluster of the Linode Object Storage Bucket. This is deprecated in favor of `region` attribute.
|
|
144
143
|
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.
|
|
@@ -146,34 +145,34 @@ class ObjectStorageBucketArgs:
|
|
|
146
145
|
return pulumi.get(self, "cluster")
|
|
147
146
|
|
|
148
147
|
@cluster.setter
|
|
149
|
-
def cluster(self, value: Optional[pulumi.Input[
|
|
148
|
+
def cluster(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
150
149
|
pulumi.set(self, "cluster", value)
|
|
151
150
|
|
|
152
|
-
@property
|
|
151
|
+
@_builtins.property
|
|
153
152
|
@pulumi.getter(name="corsEnabled")
|
|
154
|
-
def cors_enabled(self) -> Optional[pulumi.Input[
|
|
153
|
+
def cors_enabled(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
155
154
|
"""
|
|
156
155
|
If true, the bucket will have CORS enabled for all origins.
|
|
157
156
|
"""
|
|
158
157
|
return pulumi.get(self, "cors_enabled")
|
|
159
158
|
|
|
160
159
|
@cors_enabled.setter
|
|
161
|
-
def cors_enabled(self, value: Optional[pulumi.Input[
|
|
160
|
+
def cors_enabled(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
162
161
|
pulumi.set(self, "cors_enabled", value)
|
|
163
162
|
|
|
164
|
-
@property
|
|
163
|
+
@_builtins.property
|
|
165
164
|
@pulumi.getter(name="endpointType")
|
|
166
|
-
def endpoint_type(self) -> Optional[pulumi.Input[
|
|
165
|
+
def endpoint_type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
167
166
|
"""
|
|
168
167
|
The type of `s3_endpoint` available to the user in this region. See [Endpoint types](https://techdocs.akamai.com/cloud-computing/docs/object-storage#endpoint-type) for more information.
|
|
169
168
|
"""
|
|
170
169
|
return pulumi.get(self, "endpoint_type")
|
|
171
170
|
|
|
172
171
|
@endpoint_type.setter
|
|
173
|
-
def endpoint_type(self, value: Optional[pulumi.Input[
|
|
172
|
+
def endpoint_type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
174
173
|
pulumi.set(self, "endpoint_type", value)
|
|
175
174
|
|
|
176
|
-
@property
|
|
175
|
+
@_builtins.property
|
|
177
176
|
@pulumi.getter(name="lifecycleRules")
|
|
178
177
|
def lifecycle_rules(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ObjectStorageBucketLifecycleRuleArgs']]]]:
|
|
179
178
|
"""
|
|
@@ -185,33 +184,33 @@ class ObjectStorageBucketArgs:
|
|
|
185
184
|
def lifecycle_rules(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ObjectStorageBucketLifecycleRuleArgs']]]]):
|
|
186
185
|
pulumi.set(self, "lifecycle_rules", value)
|
|
187
186
|
|
|
188
|
-
@property
|
|
187
|
+
@_builtins.property
|
|
189
188
|
@pulumi.getter
|
|
190
|
-
def region(self) -> Optional[pulumi.Input[
|
|
189
|
+
def region(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
191
190
|
"""
|
|
192
191
|
The region of the Linode Object Storage Bucket. Exactly one of `region` and `cluster` is required for creating a bucket.
|
|
193
192
|
"""
|
|
194
193
|
return pulumi.get(self, "region")
|
|
195
194
|
|
|
196
195
|
@region.setter
|
|
197
|
-
def region(self, value: Optional[pulumi.Input[
|
|
196
|
+
def region(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
198
197
|
pulumi.set(self, "region", value)
|
|
199
198
|
|
|
200
|
-
@property
|
|
199
|
+
@_builtins.property
|
|
201
200
|
@pulumi.getter(name="s3Endpoint")
|
|
202
|
-
def s3_endpoint(self) -> Optional[pulumi.Input[
|
|
201
|
+
def s3_endpoint(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
203
202
|
"""
|
|
204
203
|
The user's s3 endpoint URL, based on the `endpoint_type` and `region`.
|
|
205
204
|
"""
|
|
206
205
|
return pulumi.get(self, "s3_endpoint")
|
|
207
206
|
|
|
208
207
|
@s3_endpoint.setter
|
|
209
|
-
def s3_endpoint(self, value: Optional[pulumi.Input[
|
|
208
|
+
def s3_endpoint(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
210
209
|
pulumi.set(self, "s3_endpoint", value)
|
|
211
210
|
|
|
212
|
-
@property
|
|
211
|
+
@_builtins.property
|
|
213
212
|
@pulumi.getter(name="secretKey")
|
|
214
|
-
def secret_key(self) -> Optional[pulumi.Input[
|
|
213
|
+
def secret_key(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
215
214
|
"""
|
|
216
215
|
The secret key to authenticate with. If not specified with the resource, its value can be
|
|
217
216
|
* configured by `obj_secret_key` in the provider configuration;
|
|
@@ -220,12 +219,12 @@ class ObjectStorageBucketArgs:
|
|
|
220
219
|
return pulumi.get(self, "secret_key")
|
|
221
220
|
|
|
222
221
|
@secret_key.setter
|
|
223
|
-
def secret_key(self, value: Optional[pulumi.Input[
|
|
222
|
+
def secret_key(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
224
223
|
pulumi.set(self, "secret_key", value)
|
|
225
224
|
|
|
226
|
-
@property
|
|
225
|
+
@_builtins.property
|
|
227
226
|
@pulumi.getter
|
|
228
|
-
def versioning(self) -> Optional[pulumi.Input[
|
|
227
|
+
def versioning(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
229
228
|
"""
|
|
230
229
|
Whether to enable versioning. Once you version-enable a bucket, it can never return to an unversioned state. You can, however, suspend versioning on that bucket. (Requires `access_key` and `secret_key`)
|
|
231
230
|
|
|
@@ -236,49 +235,49 @@ class ObjectStorageBucketArgs:
|
|
|
236
235
|
return pulumi.get(self, "versioning")
|
|
237
236
|
|
|
238
237
|
@versioning.setter
|
|
239
|
-
def versioning(self, value: Optional[pulumi.Input[
|
|
238
|
+
def versioning(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
240
239
|
pulumi.set(self, "versioning", value)
|
|
241
240
|
|
|
242
241
|
|
|
243
242
|
@pulumi.input_type
|
|
244
243
|
class _ObjectStorageBucketState:
|
|
245
244
|
def __init__(__self__, *,
|
|
246
|
-
access_key: Optional[pulumi.Input[
|
|
247
|
-
acl: Optional[pulumi.Input[
|
|
245
|
+
access_key: Optional[pulumi.Input[_builtins.str]] = None,
|
|
246
|
+
acl: Optional[pulumi.Input[_builtins.str]] = None,
|
|
248
247
|
cert: Optional[pulumi.Input['ObjectStorageBucketCertArgs']] = None,
|
|
249
|
-
cluster: Optional[pulumi.Input[
|
|
250
|
-
cors_enabled: Optional[pulumi.Input[
|
|
251
|
-
endpoint: Optional[pulumi.Input[
|
|
252
|
-
endpoint_type: Optional[pulumi.Input[
|
|
253
|
-
hostname: Optional[pulumi.Input[
|
|
254
|
-
label: Optional[pulumi.Input[
|
|
248
|
+
cluster: Optional[pulumi.Input[_builtins.str]] = None,
|
|
249
|
+
cors_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
250
|
+
endpoint: Optional[pulumi.Input[_builtins.str]] = None,
|
|
251
|
+
endpoint_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
252
|
+
hostname: Optional[pulumi.Input[_builtins.str]] = None,
|
|
253
|
+
label: Optional[pulumi.Input[_builtins.str]] = None,
|
|
255
254
|
lifecycle_rules: Optional[pulumi.Input[Sequence[pulumi.Input['ObjectStorageBucketLifecycleRuleArgs']]]] = None,
|
|
256
|
-
region: Optional[pulumi.Input[
|
|
257
|
-
s3_endpoint: Optional[pulumi.Input[
|
|
258
|
-
secret_key: Optional[pulumi.Input[
|
|
259
|
-
versioning: Optional[pulumi.Input[
|
|
255
|
+
region: Optional[pulumi.Input[_builtins.str]] = None,
|
|
256
|
+
s3_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
|
|
257
|
+
secret_key: Optional[pulumi.Input[_builtins.str]] = None,
|
|
258
|
+
versioning: Optional[pulumi.Input[_builtins.bool]] = None):
|
|
260
259
|
"""
|
|
261
260
|
Input properties used for looking up and filtering ObjectStorageBucket resources.
|
|
262
|
-
:param pulumi.Input[
|
|
261
|
+
:param pulumi.Input[_builtins.str] access_key: The access key to authenticate with. If not specified with the resource, its value can be
|
|
263
262
|
* configured by `obj_access_key` in the provider configuration;
|
|
264
263
|
* or, generated implicitly at apply-time if `obj_use_temp_keys` at provider-level is set.
|
|
265
|
-
:param pulumi.Input[
|
|
264
|
+
:param pulumi.Input[_builtins.str] acl: 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).
|
|
266
265
|
:param pulumi.Input['ObjectStorageBucketCertArgs'] cert: The cert used by this Object Storage Bucket.
|
|
267
|
-
:param pulumi.Input[
|
|
266
|
+
:param pulumi.Input[_builtins.str] cluster: The cluster of the Linode Object Storage Bucket. This is deprecated in favor of `region` attribute.
|
|
268
267
|
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.
|
|
269
|
-
:param pulumi.Input[
|
|
270
|
-
:param pulumi.Input[
|
|
271
|
-
:param pulumi.Input[
|
|
272
|
-
:param pulumi.Input[
|
|
268
|
+
:param pulumi.Input[_builtins.bool] cors_enabled: If true, the bucket will have CORS enabled for all origins.
|
|
269
|
+
:param pulumi.Input[_builtins.str] endpoint: The endpoint for the bucket used for s3 connections.
|
|
270
|
+
:param pulumi.Input[_builtins.str] endpoint_type: The type of `s3_endpoint` available to the user in this region. See [Endpoint types](https://techdocs.akamai.com/cloud-computing/docs/object-storage#endpoint-type) for more information.
|
|
271
|
+
:param pulumi.Input[_builtins.str] hostname: The hostname where this bucket can be accessed. This hostname can be accessed through a browser if the bucket is made
|
|
273
272
|
public.
|
|
274
|
-
:param pulumi.Input[
|
|
273
|
+
:param pulumi.Input[_builtins.str] label: The label of the Linode Object Storage Bucket.
|
|
275
274
|
:param pulumi.Input[Sequence[pulumi.Input['ObjectStorageBucketLifecycleRuleArgs']]] lifecycle_rules: Lifecycle rules to be applied to the bucket.
|
|
276
|
-
:param pulumi.Input[
|
|
277
|
-
:param pulumi.Input[
|
|
278
|
-
:param pulumi.Input[
|
|
275
|
+
:param pulumi.Input[_builtins.str] region: The region of the Linode Object Storage Bucket. Exactly one of `region` and `cluster` is required for creating a bucket.
|
|
276
|
+
:param pulumi.Input[_builtins.str] s3_endpoint: The user's s3 endpoint URL, based on the `endpoint_type` and `region`.
|
|
277
|
+
:param pulumi.Input[_builtins.str] secret_key: The secret key to authenticate with. If not specified with the resource, its value can be
|
|
279
278
|
* configured by `obj_secret_key` in the provider configuration;
|
|
280
279
|
* or, generated implicitly at apply-time if `obj_use_temp_keys` at provider-level is set.
|
|
281
|
-
:param pulumi.Input[
|
|
280
|
+
:param pulumi.Input[_builtins.bool] versioning: Whether to enable versioning. Once you version-enable a bucket, it can never return to an unversioned state. You can, however, suspend versioning on that bucket. (Requires `access_key` and `secret_key`)
|
|
282
281
|
|
|
283
282
|
* `lifecycle_rule` - (Optional) Lifecycle rules to be applied to the bucket. (Requires `access_key` and `secret_key`)
|
|
284
283
|
|
|
@@ -319,9 +318,9 @@ class _ObjectStorageBucketState:
|
|
|
319
318
|
if versioning is not None:
|
|
320
319
|
pulumi.set(__self__, "versioning", versioning)
|
|
321
320
|
|
|
322
|
-
@property
|
|
321
|
+
@_builtins.property
|
|
323
322
|
@pulumi.getter(name="accessKey")
|
|
324
|
-
def access_key(self) -> Optional[pulumi.Input[
|
|
323
|
+
def access_key(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
325
324
|
"""
|
|
326
325
|
The access key to authenticate with. If not specified with the resource, its value can be
|
|
327
326
|
* configured by `obj_access_key` in the provider configuration;
|
|
@@ -330,22 +329,22 @@ class _ObjectStorageBucketState:
|
|
|
330
329
|
return pulumi.get(self, "access_key")
|
|
331
330
|
|
|
332
331
|
@access_key.setter
|
|
333
|
-
def access_key(self, value: Optional[pulumi.Input[
|
|
332
|
+
def access_key(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
334
333
|
pulumi.set(self, "access_key", value)
|
|
335
334
|
|
|
336
|
-
@property
|
|
335
|
+
@_builtins.property
|
|
337
336
|
@pulumi.getter
|
|
338
|
-
def acl(self) -> Optional[pulumi.Input[
|
|
337
|
+
def acl(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
339
338
|
"""
|
|
340
339
|
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).
|
|
341
340
|
"""
|
|
342
341
|
return pulumi.get(self, "acl")
|
|
343
342
|
|
|
344
343
|
@acl.setter
|
|
345
|
-
def acl(self, value: Optional[pulumi.Input[
|
|
344
|
+
def acl(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
346
345
|
pulumi.set(self, "acl", value)
|
|
347
346
|
|
|
348
|
-
@property
|
|
347
|
+
@_builtins.property
|
|
349
348
|
@pulumi.getter
|
|
350
349
|
def cert(self) -> Optional[pulumi.Input['ObjectStorageBucketCertArgs']]:
|
|
351
350
|
"""
|
|
@@ -357,10 +356,10 @@ class _ObjectStorageBucketState:
|
|
|
357
356
|
def cert(self, value: Optional[pulumi.Input['ObjectStorageBucketCertArgs']]):
|
|
358
357
|
pulumi.set(self, "cert", value)
|
|
359
358
|
|
|
360
|
-
@property
|
|
359
|
+
@_builtins.property
|
|
361
360
|
@pulumi.getter
|
|
362
361
|
@_utilities.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`.""")
|
|
363
|
-
def cluster(self) -> Optional[pulumi.Input[
|
|
362
|
+
def cluster(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
364
363
|
"""
|
|
365
364
|
The cluster of the Linode Object Storage Bucket. This is deprecated in favor of `region` attribute.
|
|
366
365
|
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.
|
|
@@ -368,49 +367,49 @@ class _ObjectStorageBucketState:
|
|
|
368
367
|
return pulumi.get(self, "cluster")
|
|
369
368
|
|
|
370
369
|
@cluster.setter
|
|
371
|
-
def cluster(self, value: Optional[pulumi.Input[
|
|
370
|
+
def cluster(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
372
371
|
pulumi.set(self, "cluster", value)
|
|
373
372
|
|
|
374
|
-
@property
|
|
373
|
+
@_builtins.property
|
|
375
374
|
@pulumi.getter(name="corsEnabled")
|
|
376
|
-
def cors_enabled(self) -> Optional[pulumi.Input[
|
|
375
|
+
def cors_enabled(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
377
376
|
"""
|
|
378
377
|
If true, the bucket will have CORS enabled for all origins.
|
|
379
378
|
"""
|
|
380
379
|
return pulumi.get(self, "cors_enabled")
|
|
381
380
|
|
|
382
381
|
@cors_enabled.setter
|
|
383
|
-
def cors_enabled(self, value: Optional[pulumi.Input[
|
|
382
|
+
def cors_enabled(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
384
383
|
pulumi.set(self, "cors_enabled", value)
|
|
385
384
|
|
|
386
|
-
@property
|
|
385
|
+
@_builtins.property
|
|
387
386
|
@pulumi.getter
|
|
388
387
|
@_utilities.deprecated("""Use `s3_endpoint` instead""")
|
|
389
|
-
def endpoint(self) -> Optional[pulumi.Input[
|
|
388
|
+
def endpoint(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
390
389
|
"""
|
|
391
390
|
The endpoint for the bucket used for s3 connections.
|
|
392
391
|
"""
|
|
393
392
|
return pulumi.get(self, "endpoint")
|
|
394
393
|
|
|
395
394
|
@endpoint.setter
|
|
396
|
-
def endpoint(self, value: Optional[pulumi.Input[
|
|
395
|
+
def endpoint(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
397
396
|
pulumi.set(self, "endpoint", value)
|
|
398
397
|
|
|
399
|
-
@property
|
|
398
|
+
@_builtins.property
|
|
400
399
|
@pulumi.getter(name="endpointType")
|
|
401
|
-
def endpoint_type(self) -> Optional[pulumi.Input[
|
|
400
|
+
def endpoint_type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
402
401
|
"""
|
|
403
402
|
The type of `s3_endpoint` available to the user in this region. See [Endpoint types](https://techdocs.akamai.com/cloud-computing/docs/object-storage#endpoint-type) for more information.
|
|
404
403
|
"""
|
|
405
404
|
return pulumi.get(self, "endpoint_type")
|
|
406
405
|
|
|
407
406
|
@endpoint_type.setter
|
|
408
|
-
def endpoint_type(self, value: Optional[pulumi.Input[
|
|
407
|
+
def endpoint_type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
409
408
|
pulumi.set(self, "endpoint_type", value)
|
|
410
409
|
|
|
411
|
-
@property
|
|
410
|
+
@_builtins.property
|
|
412
411
|
@pulumi.getter
|
|
413
|
-
def hostname(self) -> Optional[pulumi.Input[
|
|
412
|
+
def hostname(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
414
413
|
"""
|
|
415
414
|
The hostname where this bucket can be accessed. This hostname can be accessed through a browser if the bucket is made
|
|
416
415
|
public.
|
|
@@ -418,22 +417,22 @@ class _ObjectStorageBucketState:
|
|
|
418
417
|
return pulumi.get(self, "hostname")
|
|
419
418
|
|
|
420
419
|
@hostname.setter
|
|
421
|
-
def hostname(self, value: Optional[pulumi.Input[
|
|
420
|
+
def hostname(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
422
421
|
pulumi.set(self, "hostname", value)
|
|
423
422
|
|
|
424
|
-
@property
|
|
423
|
+
@_builtins.property
|
|
425
424
|
@pulumi.getter
|
|
426
|
-
def label(self) -> Optional[pulumi.Input[
|
|
425
|
+
def label(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
427
426
|
"""
|
|
428
427
|
The label of the Linode Object Storage Bucket.
|
|
429
428
|
"""
|
|
430
429
|
return pulumi.get(self, "label")
|
|
431
430
|
|
|
432
431
|
@label.setter
|
|
433
|
-
def label(self, value: Optional[pulumi.Input[
|
|
432
|
+
def label(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
434
433
|
pulumi.set(self, "label", value)
|
|
435
434
|
|
|
436
|
-
@property
|
|
435
|
+
@_builtins.property
|
|
437
436
|
@pulumi.getter(name="lifecycleRules")
|
|
438
437
|
def lifecycle_rules(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ObjectStorageBucketLifecycleRuleArgs']]]]:
|
|
439
438
|
"""
|
|
@@ -445,33 +444,33 @@ class _ObjectStorageBucketState:
|
|
|
445
444
|
def lifecycle_rules(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ObjectStorageBucketLifecycleRuleArgs']]]]):
|
|
446
445
|
pulumi.set(self, "lifecycle_rules", value)
|
|
447
446
|
|
|
448
|
-
@property
|
|
447
|
+
@_builtins.property
|
|
449
448
|
@pulumi.getter
|
|
450
|
-
def region(self) -> Optional[pulumi.Input[
|
|
449
|
+
def region(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
451
450
|
"""
|
|
452
451
|
The region of the Linode Object Storage Bucket. Exactly one of `region` and `cluster` is required for creating a bucket.
|
|
453
452
|
"""
|
|
454
453
|
return pulumi.get(self, "region")
|
|
455
454
|
|
|
456
455
|
@region.setter
|
|
457
|
-
def region(self, value: Optional[pulumi.Input[
|
|
456
|
+
def region(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
458
457
|
pulumi.set(self, "region", value)
|
|
459
458
|
|
|
460
|
-
@property
|
|
459
|
+
@_builtins.property
|
|
461
460
|
@pulumi.getter(name="s3Endpoint")
|
|
462
|
-
def s3_endpoint(self) -> Optional[pulumi.Input[
|
|
461
|
+
def s3_endpoint(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
463
462
|
"""
|
|
464
463
|
The user's s3 endpoint URL, based on the `endpoint_type` and `region`.
|
|
465
464
|
"""
|
|
466
465
|
return pulumi.get(self, "s3_endpoint")
|
|
467
466
|
|
|
468
467
|
@s3_endpoint.setter
|
|
469
|
-
def s3_endpoint(self, value: Optional[pulumi.Input[
|
|
468
|
+
def s3_endpoint(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
470
469
|
pulumi.set(self, "s3_endpoint", value)
|
|
471
470
|
|
|
472
|
-
@property
|
|
471
|
+
@_builtins.property
|
|
473
472
|
@pulumi.getter(name="secretKey")
|
|
474
|
-
def secret_key(self) -> Optional[pulumi.Input[
|
|
473
|
+
def secret_key(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
475
474
|
"""
|
|
476
475
|
The secret key to authenticate with. If not specified with the resource, its value can be
|
|
477
476
|
* configured by `obj_secret_key` in the provider configuration;
|
|
@@ -480,12 +479,12 @@ class _ObjectStorageBucketState:
|
|
|
480
479
|
return pulumi.get(self, "secret_key")
|
|
481
480
|
|
|
482
481
|
@secret_key.setter
|
|
483
|
-
def secret_key(self, value: Optional[pulumi.Input[
|
|
482
|
+
def secret_key(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
484
483
|
pulumi.set(self, "secret_key", value)
|
|
485
484
|
|
|
486
|
-
@property
|
|
485
|
+
@_builtins.property
|
|
487
486
|
@pulumi.getter
|
|
488
|
-
def versioning(self) -> Optional[pulumi.Input[
|
|
487
|
+
def versioning(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
489
488
|
"""
|
|
490
489
|
Whether to enable versioning. Once you version-enable a bucket, it can never return to an unversioned state. You can, however, suspend versioning on that bucket. (Requires `access_key` and `secret_key`)
|
|
491
490
|
|
|
@@ -496,7 +495,7 @@ class _ObjectStorageBucketState:
|
|
|
496
495
|
return pulumi.get(self, "versioning")
|
|
497
496
|
|
|
498
497
|
@versioning.setter
|
|
499
|
-
def versioning(self, value: Optional[pulumi.Input[
|
|
498
|
+
def versioning(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
500
499
|
pulumi.set(self, "versioning", value)
|
|
501
500
|
|
|
502
501
|
|
|
@@ -506,18 +505,18 @@ class ObjectStorageBucket(pulumi.CustomResource):
|
|
|
506
505
|
def __init__(__self__,
|
|
507
506
|
resource_name: str,
|
|
508
507
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
509
|
-
access_key: Optional[pulumi.Input[
|
|
510
|
-
acl: Optional[pulumi.Input[
|
|
508
|
+
access_key: Optional[pulumi.Input[_builtins.str]] = None,
|
|
509
|
+
acl: Optional[pulumi.Input[_builtins.str]] = None,
|
|
511
510
|
cert: Optional[pulumi.Input[Union['ObjectStorageBucketCertArgs', 'ObjectStorageBucketCertArgsDict']]] = None,
|
|
512
|
-
cluster: Optional[pulumi.Input[
|
|
513
|
-
cors_enabled: Optional[pulumi.Input[
|
|
514
|
-
endpoint_type: Optional[pulumi.Input[
|
|
515
|
-
label: Optional[pulumi.Input[
|
|
511
|
+
cluster: Optional[pulumi.Input[_builtins.str]] = None,
|
|
512
|
+
cors_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
513
|
+
endpoint_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
514
|
+
label: Optional[pulumi.Input[_builtins.str]] = None,
|
|
516
515
|
lifecycle_rules: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ObjectStorageBucketLifecycleRuleArgs', 'ObjectStorageBucketLifecycleRuleArgsDict']]]]] = None,
|
|
517
|
-
region: Optional[pulumi.Input[
|
|
518
|
-
s3_endpoint: Optional[pulumi.Input[
|
|
519
|
-
secret_key: Optional[pulumi.Input[
|
|
520
|
-
versioning: Optional[pulumi.Input[
|
|
516
|
+
region: Optional[pulumi.Input[_builtins.str]] = None,
|
|
517
|
+
s3_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
|
|
518
|
+
secret_key: Optional[pulumi.Input[_builtins.str]] = None,
|
|
519
|
+
versioning: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
521
520
|
__props__=None):
|
|
522
521
|
"""
|
|
523
522
|
Provides a Linode Object Storage Bucket resource. This can be used to create, modify, and delete Linodes Object Storage Buckets.
|
|
@@ -570,23 +569,23 @@ class ObjectStorageBucket(pulumi.CustomResource):
|
|
|
570
569
|
|
|
571
570
|
:param str resource_name: The name of the resource.
|
|
572
571
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
573
|
-
:param pulumi.Input[
|
|
572
|
+
:param pulumi.Input[_builtins.str] access_key: The access key to authenticate with. If not specified with the resource, its value can be
|
|
574
573
|
* configured by `obj_access_key` in the provider configuration;
|
|
575
574
|
* or, generated implicitly at apply-time if `obj_use_temp_keys` at provider-level is set.
|
|
576
|
-
:param pulumi.Input[
|
|
575
|
+
:param pulumi.Input[_builtins.str] acl: 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).
|
|
577
576
|
:param pulumi.Input[Union['ObjectStorageBucketCertArgs', 'ObjectStorageBucketCertArgsDict']] cert: The cert used by this Object Storage Bucket.
|
|
578
|
-
:param pulumi.Input[
|
|
577
|
+
:param pulumi.Input[_builtins.str] cluster: The cluster of the Linode Object Storage Bucket. This is deprecated in favor of `region` attribute.
|
|
579
578
|
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.
|
|
580
|
-
:param pulumi.Input[
|
|
581
|
-
:param pulumi.Input[
|
|
582
|
-
:param pulumi.Input[
|
|
579
|
+
:param pulumi.Input[_builtins.bool] cors_enabled: If true, the bucket will have CORS enabled for all origins.
|
|
580
|
+
:param pulumi.Input[_builtins.str] endpoint_type: The type of `s3_endpoint` available to the user in this region. See [Endpoint types](https://techdocs.akamai.com/cloud-computing/docs/object-storage#endpoint-type) for more information.
|
|
581
|
+
:param pulumi.Input[_builtins.str] label: The label of the Linode Object Storage Bucket.
|
|
583
582
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ObjectStorageBucketLifecycleRuleArgs', 'ObjectStorageBucketLifecycleRuleArgsDict']]]] lifecycle_rules: Lifecycle rules to be applied to the bucket.
|
|
584
|
-
:param pulumi.Input[
|
|
585
|
-
:param pulumi.Input[
|
|
586
|
-
:param pulumi.Input[
|
|
583
|
+
:param pulumi.Input[_builtins.str] region: The region of the Linode Object Storage Bucket. Exactly one of `region` and `cluster` is required for creating a bucket.
|
|
584
|
+
:param pulumi.Input[_builtins.str] s3_endpoint: The user's s3 endpoint URL, based on the `endpoint_type` and `region`.
|
|
585
|
+
:param pulumi.Input[_builtins.str] secret_key: The secret key to authenticate with. If not specified with the resource, its value can be
|
|
587
586
|
* configured by `obj_secret_key` in the provider configuration;
|
|
588
587
|
* or, generated implicitly at apply-time if `obj_use_temp_keys` at provider-level is set.
|
|
589
|
-
:param pulumi.Input[
|
|
588
|
+
:param pulumi.Input[_builtins.bool] versioning: Whether to enable versioning. Once you version-enable a bucket, it can never return to an unversioned state. You can, however, suspend versioning on that bucket. (Requires `access_key` and `secret_key`)
|
|
590
589
|
|
|
591
590
|
* `lifecycle_rule` - (Optional) Lifecycle rules to be applied to the bucket. (Requires `access_key` and `secret_key`)
|
|
592
591
|
|
|
@@ -662,18 +661,18 @@ class ObjectStorageBucket(pulumi.CustomResource):
|
|
|
662
661
|
def _internal_init(__self__,
|
|
663
662
|
resource_name: str,
|
|
664
663
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
665
|
-
access_key: Optional[pulumi.Input[
|
|
666
|
-
acl: Optional[pulumi.Input[
|
|
664
|
+
access_key: Optional[pulumi.Input[_builtins.str]] = None,
|
|
665
|
+
acl: Optional[pulumi.Input[_builtins.str]] = None,
|
|
667
666
|
cert: Optional[pulumi.Input[Union['ObjectStorageBucketCertArgs', 'ObjectStorageBucketCertArgsDict']]] = None,
|
|
668
|
-
cluster: Optional[pulumi.Input[
|
|
669
|
-
cors_enabled: Optional[pulumi.Input[
|
|
670
|
-
endpoint_type: Optional[pulumi.Input[
|
|
671
|
-
label: Optional[pulumi.Input[
|
|
667
|
+
cluster: Optional[pulumi.Input[_builtins.str]] = None,
|
|
668
|
+
cors_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
669
|
+
endpoint_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
670
|
+
label: Optional[pulumi.Input[_builtins.str]] = None,
|
|
672
671
|
lifecycle_rules: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ObjectStorageBucketLifecycleRuleArgs', 'ObjectStorageBucketLifecycleRuleArgsDict']]]]] = None,
|
|
673
|
-
region: Optional[pulumi.Input[
|
|
674
|
-
s3_endpoint: Optional[pulumi.Input[
|
|
675
|
-
secret_key: Optional[pulumi.Input[
|
|
676
|
-
versioning: Optional[pulumi.Input[
|
|
672
|
+
region: Optional[pulumi.Input[_builtins.str]] = None,
|
|
673
|
+
s3_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
|
|
674
|
+
secret_key: Optional[pulumi.Input[_builtins.str]] = None,
|
|
675
|
+
versioning: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
677
676
|
__props__=None):
|
|
678
677
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
679
678
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -711,20 +710,20 @@ class ObjectStorageBucket(pulumi.CustomResource):
|
|
|
711
710
|
def get(resource_name: str,
|
|
712
711
|
id: pulumi.Input[str],
|
|
713
712
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
714
|
-
access_key: Optional[pulumi.Input[
|
|
715
|
-
acl: Optional[pulumi.Input[
|
|
713
|
+
access_key: Optional[pulumi.Input[_builtins.str]] = None,
|
|
714
|
+
acl: Optional[pulumi.Input[_builtins.str]] = None,
|
|
716
715
|
cert: Optional[pulumi.Input[Union['ObjectStorageBucketCertArgs', 'ObjectStorageBucketCertArgsDict']]] = None,
|
|
717
|
-
cluster: Optional[pulumi.Input[
|
|
718
|
-
cors_enabled: Optional[pulumi.Input[
|
|
719
|
-
endpoint: Optional[pulumi.Input[
|
|
720
|
-
endpoint_type: Optional[pulumi.Input[
|
|
721
|
-
hostname: Optional[pulumi.Input[
|
|
722
|
-
label: Optional[pulumi.Input[
|
|
716
|
+
cluster: Optional[pulumi.Input[_builtins.str]] = None,
|
|
717
|
+
cors_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
718
|
+
endpoint: Optional[pulumi.Input[_builtins.str]] = None,
|
|
719
|
+
endpoint_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
720
|
+
hostname: Optional[pulumi.Input[_builtins.str]] = None,
|
|
721
|
+
label: Optional[pulumi.Input[_builtins.str]] = None,
|
|
723
722
|
lifecycle_rules: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ObjectStorageBucketLifecycleRuleArgs', 'ObjectStorageBucketLifecycleRuleArgsDict']]]]] = None,
|
|
724
|
-
region: Optional[pulumi.Input[
|
|
725
|
-
s3_endpoint: Optional[pulumi.Input[
|
|
726
|
-
secret_key: Optional[pulumi.Input[
|
|
727
|
-
versioning: Optional[pulumi.Input[
|
|
723
|
+
region: Optional[pulumi.Input[_builtins.str]] = None,
|
|
724
|
+
s3_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
|
|
725
|
+
secret_key: Optional[pulumi.Input[_builtins.str]] = None,
|
|
726
|
+
versioning: Optional[pulumi.Input[_builtins.bool]] = None) -> 'ObjectStorageBucket':
|
|
728
727
|
"""
|
|
729
728
|
Get an existing ObjectStorageBucket resource's state with the given name, id, and optional extra
|
|
730
729
|
properties used to qualify the lookup.
|
|
@@ -732,26 +731,26 @@ class ObjectStorageBucket(pulumi.CustomResource):
|
|
|
732
731
|
:param str resource_name: The unique name of the resulting resource.
|
|
733
732
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
734
733
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
735
|
-
:param pulumi.Input[
|
|
734
|
+
:param pulumi.Input[_builtins.str] access_key: The access key to authenticate with. If not specified with the resource, its value can be
|
|
736
735
|
* configured by `obj_access_key` in the provider configuration;
|
|
737
736
|
* or, generated implicitly at apply-time if `obj_use_temp_keys` at provider-level is set.
|
|
738
|
-
:param pulumi.Input[
|
|
737
|
+
:param pulumi.Input[_builtins.str] acl: 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).
|
|
739
738
|
:param pulumi.Input[Union['ObjectStorageBucketCertArgs', 'ObjectStorageBucketCertArgsDict']] cert: The cert used by this Object Storage Bucket.
|
|
740
|
-
:param pulumi.Input[
|
|
739
|
+
:param pulumi.Input[_builtins.str] cluster: The cluster of the Linode Object Storage Bucket. This is deprecated in favor of `region` attribute.
|
|
741
740
|
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.
|
|
742
|
-
:param pulumi.Input[
|
|
743
|
-
:param pulumi.Input[
|
|
744
|
-
:param pulumi.Input[
|
|
745
|
-
:param pulumi.Input[
|
|
741
|
+
:param pulumi.Input[_builtins.bool] cors_enabled: If true, the bucket will have CORS enabled for all origins.
|
|
742
|
+
:param pulumi.Input[_builtins.str] endpoint: The endpoint for the bucket used for s3 connections.
|
|
743
|
+
:param pulumi.Input[_builtins.str] endpoint_type: The type of `s3_endpoint` available to the user in this region. See [Endpoint types](https://techdocs.akamai.com/cloud-computing/docs/object-storage#endpoint-type) for more information.
|
|
744
|
+
:param pulumi.Input[_builtins.str] hostname: The hostname where this bucket can be accessed. This hostname can be accessed through a browser if the bucket is made
|
|
746
745
|
public.
|
|
747
|
-
:param pulumi.Input[
|
|
746
|
+
:param pulumi.Input[_builtins.str] label: The label of the Linode Object Storage Bucket.
|
|
748
747
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ObjectStorageBucketLifecycleRuleArgs', 'ObjectStorageBucketLifecycleRuleArgsDict']]]] lifecycle_rules: Lifecycle rules to be applied to the bucket.
|
|
749
|
-
:param pulumi.Input[
|
|
750
|
-
:param pulumi.Input[
|
|
751
|
-
:param pulumi.Input[
|
|
748
|
+
:param pulumi.Input[_builtins.str] region: The region of the Linode Object Storage Bucket. Exactly one of `region` and `cluster` is required for creating a bucket.
|
|
749
|
+
:param pulumi.Input[_builtins.str] s3_endpoint: The user's s3 endpoint URL, based on the `endpoint_type` and `region`.
|
|
750
|
+
:param pulumi.Input[_builtins.str] secret_key: The secret key to authenticate with. If not specified with the resource, its value can be
|
|
752
751
|
* configured by `obj_secret_key` in the provider configuration;
|
|
753
752
|
* or, generated implicitly at apply-time if `obj_use_temp_keys` at provider-level is set.
|
|
754
|
-
:param pulumi.Input[
|
|
753
|
+
:param pulumi.Input[_builtins.bool] versioning: Whether to enable versioning. Once you version-enable a bucket, it can never return to an unversioned state. You can, however, suspend versioning on that bucket. (Requires `access_key` and `secret_key`)
|
|
755
754
|
|
|
756
755
|
* `lifecycle_rule` - (Optional) Lifecycle rules to be applied to the bucket. (Requires `access_key` and `secret_key`)
|
|
757
756
|
|
|
@@ -777,9 +776,9 @@ class ObjectStorageBucket(pulumi.CustomResource):
|
|
|
777
776
|
__props__.__dict__["versioning"] = versioning
|
|
778
777
|
return ObjectStorageBucket(resource_name, opts=opts, __props__=__props__)
|
|
779
778
|
|
|
780
|
-
@property
|
|
779
|
+
@_builtins.property
|
|
781
780
|
@pulumi.getter(name="accessKey")
|
|
782
|
-
def access_key(self) -> pulumi.Output[Optional[
|
|
781
|
+
def access_key(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
783
782
|
"""
|
|
784
783
|
The access key to authenticate with. If not specified with the resource, its value can be
|
|
785
784
|
* configured by `obj_access_key` in the provider configuration;
|
|
@@ -787,15 +786,15 @@ class ObjectStorageBucket(pulumi.CustomResource):
|
|
|
787
786
|
"""
|
|
788
787
|
return pulumi.get(self, "access_key")
|
|
789
788
|
|
|
790
|
-
@property
|
|
789
|
+
@_builtins.property
|
|
791
790
|
@pulumi.getter
|
|
792
|
-
def acl(self) -> pulumi.Output[Optional[
|
|
791
|
+
def acl(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
793
792
|
"""
|
|
794
793
|
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).
|
|
795
794
|
"""
|
|
796
795
|
return pulumi.get(self, "acl")
|
|
797
796
|
|
|
798
|
-
@property
|
|
797
|
+
@_builtins.property
|
|
799
798
|
@pulumi.getter
|
|
800
799
|
def cert(self) -> pulumi.Output[Optional['outputs.ObjectStorageBucketCert']]:
|
|
801
800
|
"""
|
|
@@ -803,59 +802,59 @@ class ObjectStorageBucket(pulumi.CustomResource):
|
|
|
803
802
|
"""
|
|
804
803
|
return pulumi.get(self, "cert")
|
|
805
804
|
|
|
806
|
-
@property
|
|
805
|
+
@_builtins.property
|
|
807
806
|
@pulumi.getter
|
|
808
807
|
@_utilities.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`.""")
|
|
809
|
-
def cluster(self) -> pulumi.Output[
|
|
808
|
+
def cluster(self) -> pulumi.Output[_builtins.str]:
|
|
810
809
|
"""
|
|
811
810
|
The cluster of the Linode Object Storage Bucket. This is deprecated in favor of `region` attribute.
|
|
812
811
|
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.
|
|
813
812
|
"""
|
|
814
813
|
return pulumi.get(self, "cluster")
|
|
815
814
|
|
|
816
|
-
@property
|
|
815
|
+
@_builtins.property
|
|
817
816
|
@pulumi.getter(name="corsEnabled")
|
|
818
|
-
def cors_enabled(self) -> pulumi.Output[
|
|
817
|
+
def cors_enabled(self) -> pulumi.Output[_builtins.bool]:
|
|
819
818
|
"""
|
|
820
819
|
If true, the bucket will have CORS enabled for all origins.
|
|
821
820
|
"""
|
|
822
821
|
return pulumi.get(self, "cors_enabled")
|
|
823
822
|
|
|
824
|
-
@property
|
|
823
|
+
@_builtins.property
|
|
825
824
|
@pulumi.getter
|
|
826
825
|
@_utilities.deprecated("""Use `s3_endpoint` instead""")
|
|
827
|
-
def endpoint(self) -> pulumi.Output[
|
|
826
|
+
def endpoint(self) -> pulumi.Output[_builtins.str]:
|
|
828
827
|
"""
|
|
829
828
|
The endpoint for the bucket used for s3 connections.
|
|
830
829
|
"""
|
|
831
830
|
return pulumi.get(self, "endpoint")
|
|
832
831
|
|
|
833
|
-
@property
|
|
832
|
+
@_builtins.property
|
|
834
833
|
@pulumi.getter(name="endpointType")
|
|
835
|
-
def endpoint_type(self) -> pulumi.Output[
|
|
834
|
+
def endpoint_type(self) -> pulumi.Output[_builtins.str]:
|
|
836
835
|
"""
|
|
837
836
|
The type of `s3_endpoint` available to the user in this region. See [Endpoint types](https://techdocs.akamai.com/cloud-computing/docs/object-storage#endpoint-type) for more information.
|
|
838
837
|
"""
|
|
839
838
|
return pulumi.get(self, "endpoint_type")
|
|
840
839
|
|
|
841
|
-
@property
|
|
840
|
+
@_builtins.property
|
|
842
841
|
@pulumi.getter
|
|
843
|
-
def hostname(self) -> pulumi.Output[
|
|
842
|
+
def hostname(self) -> pulumi.Output[_builtins.str]:
|
|
844
843
|
"""
|
|
845
844
|
The hostname where this bucket can be accessed. This hostname can be accessed through a browser if the bucket is made
|
|
846
845
|
public.
|
|
847
846
|
"""
|
|
848
847
|
return pulumi.get(self, "hostname")
|
|
849
848
|
|
|
850
|
-
@property
|
|
849
|
+
@_builtins.property
|
|
851
850
|
@pulumi.getter
|
|
852
|
-
def label(self) -> pulumi.Output[
|
|
851
|
+
def label(self) -> pulumi.Output[_builtins.str]:
|
|
853
852
|
"""
|
|
854
853
|
The label of the Linode Object Storage Bucket.
|
|
855
854
|
"""
|
|
856
855
|
return pulumi.get(self, "label")
|
|
857
856
|
|
|
858
|
-
@property
|
|
857
|
+
@_builtins.property
|
|
859
858
|
@pulumi.getter(name="lifecycleRules")
|
|
860
859
|
def lifecycle_rules(self) -> pulumi.Output[Optional[Sequence['outputs.ObjectStorageBucketLifecycleRule']]]:
|
|
861
860
|
"""
|
|
@@ -863,25 +862,25 @@ class ObjectStorageBucket(pulumi.CustomResource):
|
|
|
863
862
|
"""
|
|
864
863
|
return pulumi.get(self, "lifecycle_rules")
|
|
865
864
|
|
|
866
|
-
@property
|
|
865
|
+
@_builtins.property
|
|
867
866
|
@pulumi.getter
|
|
868
|
-
def region(self) -> pulumi.Output[
|
|
867
|
+
def region(self) -> pulumi.Output[_builtins.str]:
|
|
869
868
|
"""
|
|
870
869
|
The region of the Linode Object Storage Bucket. Exactly one of `region` and `cluster` is required for creating a bucket.
|
|
871
870
|
"""
|
|
872
871
|
return pulumi.get(self, "region")
|
|
873
872
|
|
|
874
|
-
@property
|
|
873
|
+
@_builtins.property
|
|
875
874
|
@pulumi.getter(name="s3Endpoint")
|
|
876
|
-
def s3_endpoint(self) -> pulumi.Output[
|
|
875
|
+
def s3_endpoint(self) -> pulumi.Output[_builtins.str]:
|
|
877
876
|
"""
|
|
878
877
|
The user's s3 endpoint URL, based on the `endpoint_type` and `region`.
|
|
879
878
|
"""
|
|
880
879
|
return pulumi.get(self, "s3_endpoint")
|
|
881
880
|
|
|
882
|
-
@property
|
|
881
|
+
@_builtins.property
|
|
883
882
|
@pulumi.getter(name="secretKey")
|
|
884
|
-
def secret_key(self) -> pulumi.Output[Optional[
|
|
883
|
+
def secret_key(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
885
884
|
"""
|
|
886
885
|
The secret key to authenticate with. If not specified with the resource, its value can be
|
|
887
886
|
* configured by `obj_secret_key` in the provider configuration;
|
|
@@ -889,9 +888,9 @@ class ObjectStorageBucket(pulumi.CustomResource):
|
|
|
889
888
|
"""
|
|
890
889
|
return pulumi.get(self, "secret_key")
|
|
891
890
|
|
|
892
|
-
@property
|
|
891
|
+
@_builtins.property
|
|
893
892
|
@pulumi.getter
|
|
894
|
-
def versioning(self) -> pulumi.Output[
|
|
893
|
+
def versioning(self) -> pulumi.Output[_builtins.bool]:
|
|
895
894
|
"""
|
|
896
895
|
Whether to enable versioning. Once you version-enable a bucket, it can never return to an unversioned state. You can, however, suspend versioning on that bucket. (Requires `access_key` and `secret_key`)
|
|
897
896
|
|