pulumi-digitalocean 4.46.0a1747979086__py3-none-any.whl → 4.56.0a1766428645__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.
Files changed (154) hide show
  1. pulumi_digitalocean/__init__.py +195 -2
  2. pulumi_digitalocean/_enums.py +10 -10
  3. pulumi_digitalocean/_inputs.py +16851 -4937
  4. pulumi_digitalocean/_utilities.py +1 -1
  5. pulumi_digitalocean/app.py +237 -89
  6. pulumi_digitalocean/byoip_prefix.py +452 -0
  7. pulumi_digitalocean/cdn.py +105 -106
  8. pulumi_digitalocean/certificate.py +138 -139
  9. pulumi_digitalocean/config/__init__.py +2 -2
  10. pulumi_digitalocean/config/__init__.pyi +2 -3
  11. pulumi_digitalocean/config/vars.py +11 -12
  12. pulumi_digitalocean/container_registries.py +285 -0
  13. pulumi_digitalocean/container_registry.py +89 -90
  14. pulumi_digitalocean/container_registry_docker_credentials.py +83 -84
  15. pulumi_digitalocean/custom_image.py +176 -177
  16. pulumi_digitalocean/database_cluster.py +375 -348
  17. pulumi_digitalocean/database_connection_pool.py +158 -159
  18. pulumi_digitalocean/database_db.py +36 -37
  19. pulumi_digitalocean/database_firewall.py +22 -23
  20. pulumi_digitalocean/database_kafka_config.py +308 -309
  21. pulumi_digitalocean/database_kafka_schema_registry.py +360 -0
  22. pulumi_digitalocean/database_kafka_topic.py +82 -83
  23. pulumi_digitalocean/database_logsink_opensearch.py +680 -0
  24. pulumi_digitalocean/database_logsink_rsyslog.py +842 -0
  25. pulumi_digitalocean/database_mongodb_config.py +104 -105
  26. pulumi_digitalocean/database_mysql_config.py +478 -479
  27. pulumi_digitalocean/database_online_migration.py +460 -0
  28. pulumi_digitalocean/database_opensearch_config.py +665 -666
  29. pulumi_digitalocean/database_postgresql_config.py +858 -859
  30. pulumi_digitalocean/database_redis_config.py +210 -207
  31. pulumi_digitalocean/database_replica.py +198 -199
  32. pulumi_digitalocean/database_user.py +92 -93
  33. pulumi_digitalocean/database_valkey_config.py +776 -0
  34. pulumi_digitalocean/dns_record.py +181 -182
  35. pulumi_digitalocean/domain.py +54 -55
  36. pulumi_digitalocean/droplet.py +389 -390
  37. pulumi_digitalocean/droplet_autoscale.py +54 -55
  38. pulumi_digitalocean/droplet_snapshot.py +72 -73
  39. pulumi_digitalocean/firewall.py +79 -80
  40. pulumi_digitalocean/floating_ip.py +62 -63
  41. pulumi_digitalocean/floating_ip_assignment.py +36 -37
  42. pulumi_digitalocean/genai_agent.py +1903 -0
  43. pulumi_digitalocean/genai_agent_knowledge_base_attachment.py +198 -0
  44. pulumi_digitalocean/genai_agent_route.py +354 -0
  45. pulumi_digitalocean/genai_function.py +464 -0
  46. pulumi_digitalocean/genai_indexing_job_cancel.py +542 -0
  47. pulumi_digitalocean/genai_knowledge_base.py +627 -0
  48. pulumi_digitalocean/genai_knowledge_base_data_source.py +220 -0
  49. pulumi_digitalocean/genai_openai_api_key.py +386 -0
  50. pulumi_digitalocean/get_account.py +18 -19
  51. pulumi_digitalocean/get_app.py +28 -29
  52. pulumi_digitalocean/get_byoip_prefix.py +214 -0
  53. pulumi_digitalocean/get_byoip_prefix_resources.py +150 -0
  54. pulumi_digitalocean/get_certificate.py +22 -23
  55. pulumi_digitalocean/get_container_registries.py +151 -0
  56. pulumi_digitalocean/get_container_registry.py +22 -23
  57. pulumi_digitalocean/get_database_ca.py +12 -13
  58. pulumi_digitalocean/get_database_cluster.py +76 -63
  59. pulumi_digitalocean/get_database_connection_pool.py +36 -37
  60. pulumi_digitalocean/get_database_metrics_credentials.py +120 -0
  61. pulumi_digitalocean/get_database_replica.py +46 -47
  62. pulumi_digitalocean/get_database_user.py +27 -28
  63. pulumi_digitalocean/get_domain.py +16 -17
  64. pulumi_digitalocean/get_domains.py +7 -8
  65. pulumi_digitalocean/get_droplet.py +72 -73
  66. pulumi_digitalocean/get_droplet_autoscale.py +23 -24
  67. pulumi_digitalocean/get_droplet_snapshot.py +38 -39
  68. pulumi_digitalocean/get_droplets.py +13 -14
  69. pulumi_digitalocean/get_firewall.py +31 -32
  70. pulumi_digitalocean/get_floating_ip.py +16 -17
  71. pulumi_digitalocean/get_genai_agent.py +572 -0
  72. pulumi_digitalocean/get_genai_agent_versions.py +128 -0
  73. pulumi_digitalocean/get_genai_agents.py +128 -0
  74. pulumi_digitalocean/get_genai_agents_by_openai_api_key.py +97 -0
  75. pulumi_digitalocean/get_genai_indexing_job.py +239 -0
  76. pulumi_digitalocean/get_genai_indexing_job_data_sources.py +97 -0
  77. pulumi_digitalocean/get_genai_knowledge_base.py +259 -0
  78. pulumi_digitalocean/get_genai_knowledge_base_data_sources.py +97 -0
  79. pulumi_digitalocean/get_genai_knowledge_base_indexing_jobs.py +108 -0
  80. pulumi_digitalocean/get_genai_knowledge_bases.py +113 -0
  81. pulumi_digitalocean/get_genai_models.py +113 -0
  82. pulumi_digitalocean/get_genai_openai_api_key.py +152 -0
  83. pulumi_digitalocean/get_genai_openai_api_keys.py +113 -0
  84. pulumi_digitalocean/get_genai_regions.py +113 -0
  85. pulumi_digitalocean/get_image.py +50 -51
  86. pulumi_digitalocean/get_images.py +7 -8
  87. pulumi_digitalocean/get_kubernetes_cluster.py +117 -58
  88. pulumi_digitalocean/get_kubernetes_versions.py +14 -15
  89. pulumi_digitalocean/get_load_balancer.py +60 -61
  90. pulumi_digitalocean/get_nfs.py +205 -0
  91. pulumi_digitalocean/get_nfs_snapshot.py +188 -0
  92. pulumi_digitalocean/get_partner_attachment.py +61 -25
  93. pulumi_digitalocean/get_partner_attachment_service_key.py +118 -0
  94. pulumi_digitalocean/get_project.py +32 -33
  95. pulumi_digitalocean/get_projects.py +7 -8
  96. pulumi_digitalocean/get_record.py +32 -33
  97. pulumi_digitalocean/get_records.py +13 -14
  98. pulumi_digitalocean/get_region.py +18 -19
  99. pulumi_digitalocean/get_regions.py +7 -8
  100. pulumi_digitalocean/get_reserved_ip.py +16 -17
  101. pulumi_digitalocean/get_reserved_ipv6.py +16 -17
  102. pulumi_digitalocean/get_sizes.py +141 -8
  103. pulumi_digitalocean/get_spaces_bucket.py +22 -23
  104. pulumi_digitalocean/get_spaces_bucket_object.py +58 -59
  105. pulumi_digitalocean/get_spaces_bucket_objects.py +46 -47
  106. pulumi_digitalocean/get_spaces_buckets.py +7 -8
  107. pulumi_digitalocean/get_spaces_key.py +15 -16
  108. pulumi_digitalocean/get_ssh_key.py +14 -15
  109. pulumi_digitalocean/get_ssh_keys.py +7 -8
  110. pulumi_digitalocean/get_tag.py +22 -23
  111. pulumi_digitalocean/get_tags.py +7 -8
  112. pulumi_digitalocean/get_volume.py +34 -35
  113. pulumi_digitalocean/get_volume_snapshot.py +40 -41
  114. pulumi_digitalocean/get_vpc.py +30 -31
  115. pulumi_digitalocean/get_vpc_nat_gateway.py +263 -0
  116. pulumi_digitalocean/get_vpc_peering.py +24 -25
  117. pulumi_digitalocean/kubernetes_cluster.py +483 -296
  118. pulumi_digitalocean/kubernetes_node_pool.py +169 -170
  119. pulumi_digitalocean/load_balancer.py +375 -376
  120. pulumi_digitalocean/monitor_alert.py +150 -151
  121. pulumi_digitalocean/nfs.py +481 -0
  122. pulumi_digitalocean/nfs_attachment.py +289 -0
  123. pulumi_digitalocean/nfs_snapshot.py +379 -0
  124. pulumi_digitalocean/outputs.py +26671 -7785
  125. pulumi_digitalocean/partner_attachment.py +231 -110
  126. pulumi_digitalocean/project.py +140 -141
  127. pulumi_digitalocean/project_resources.py +36 -37
  128. pulumi_digitalocean/provider.py +85 -86
  129. pulumi_digitalocean/pulumi-plugin.json +1 -1
  130. pulumi_digitalocean/reserved_ip.py +62 -63
  131. pulumi_digitalocean/reserved_ip_assignment.py +36 -37
  132. pulumi_digitalocean/reserved_ipv6.py +64 -65
  133. pulumi_digitalocean/reserved_ipv6_assignment.py +36 -37
  134. pulumi_digitalocean/spaces_bucket.py +106 -107
  135. pulumi_digitalocean/spaces_bucket_cors_configuration.py +39 -40
  136. pulumi_digitalocean/spaces_bucket_logging.py +70 -71
  137. pulumi_digitalocean/spaces_bucket_object.py +283 -284
  138. pulumi_digitalocean/spaces_bucket_policy.py +53 -54
  139. pulumi_digitalocean/spaces_key.py +49 -50
  140. pulumi_digitalocean/ssh_key.py +45 -46
  141. pulumi_digitalocean/tag.py +73 -74
  142. pulumi_digitalocean/uptime_alert.py +107 -108
  143. pulumi_digitalocean/uptime_check.py +87 -88
  144. pulumi_digitalocean/volume.py +182 -183
  145. pulumi_digitalocean/volume_attachment.py +36 -37
  146. pulumi_digitalocean/volume_snapshot.py +89 -90
  147. pulumi_digitalocean/vpc.py +97 -98
  148. pulumi_digitalocean/vpc_nat_gateway.py +722 -0
  149. pulumi_digitalocean/vpc_peering.py +54 -59
  150. {pulumi_digitalocean-4.46.0a1747979086.dist-info → pulumi_digitalocean-4.56.0a1766428645.dist-info}/METADATA +1 -1
  151. pulumi_digitalocean-4.56.0a1766428645.dist-info/RECORD +154 -0
  152. {pulumi_digitalocean-4.46.0a1747979086.dist-info → pulumi_digitalocean-4.56.0a1766428645.dist-info}/WHEEL +1 -1
  153. pulumi_digitalocean-4.46.0a1747979086.dist-info/RECORD +0 -113
  154. {pulumi_digitalocean-4.46.0a1747979086.dist-info → pulumi_digitalocean-4.56.0a1766428645.dist-info}/top_level.txt +0 -0
@@ -1,9 +1,8 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
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
@@ -43,25 +42,25 @@ class GetSizesResult:
43
42
  raise TypeError("Expected argument 'sorts' to be a list")
44
43
  pulumi.set(__self__, "sorts", sorts)
45
44
 
46
- @property
45
+ @_builtins.property
47
46
  @pulumi.getter
48
47
  def filters(self) -> Optional[Sequence['outputs.GetSizesFilterResult']]:
49
48
  return pulumi.get(self, "filters")
50
49
 
51
- @property
50
+ @_builtins.property
52
51
  @pulumi.getter
53
- def id(self) -> builtins.str:
52
+ def id(self) -> _builtins.str:
54
53
  """
55
54
  The provider-assigned unique ID for this managed resource.
56
55
  """
57
56
  return pulumi.get(self, "id")
58
57
 
59
- @property
58
+ @_builtins.property
60
59
  @pulumi.getter
61
60
  def sizes(self) -> Sequence['outputs.GetSizesSizeResult']:
62
61
  return pulumi.get(self, "sizes")
63
62
 
64
- @property
63
+ @_builtins.property
65
64
  @pulumi.getter
66
65
  def sorts(self) -> Optional[Sequence['outputs.GetSizesSortResult']]:
67
66
  return pulumi.get(self, "sorts")
@@ -87,6 +86,73 @@ def get_sizes(filters: Optional[Sequence[Union['GetSizesFilterArgs', 'GetSizesFi
87
86
  the ability to filter and sort the results. If no filters are specified, all sizes
88
87
  will be returned.
89
88
 
89
+ ## Example Usage
90
+
91
+ Most common usage will probably be to supply a size to Droplet:
92
+
93
+ ```python
94
+ import pulumi
95
+ import pulumi_digitalocean as digitalocean
96
+
97
+ main = digitalocean.get_sizes(filters=[{
98
+ "key": "slug",
99
+ "values": ["s-1vcpu-1gb"],
100
+ }])
101
+ web = digitalocean.Droplet("web",
102
+ image="ubuntu-18-04-x64",
103
+ name="web-1",
104
+ region=digitalocean.Region.SGP1,
105
+ size=digitalocean.DropletSlug(main.sizes[0]["slug"]))
106
+ ```
107
+
108
+ The data source also supports multiple filters and sorts. For example, to fetch sizes with 1 or 2 virtual CPU that are available "sgp1" region, then pick the cheapest one:
109
+
110
+ ```python
111
+ import pulumi
112
+ import pulumi_digitalocean as digitalocean
113
+
114
+ main = digitalocean.get_sizes(filters=[
115
+ {
116
+ "key": "vcpus",
117
+ "values": [
118
+ "1",
119
+ "2",
120
+ ],
121
+ },
122
+ {
123
+ "key": "regions",
124
+ "values": ["sgp1"],
125
+ },
126
+ ],
127
+ sorts=[{
128
+ "key": "price_monthly",
129
+ "direction": "asc",
130
+ }])
131
+ web = digitalocean.Droplet("web",
132
+ image="ubuntu-18-04-x64",
133
+ name="web-1",
134
+ region=digitalocean.Region.SGP1,
135
+ size=digitalocean.DropletSlug(main.sizes[0]["slug"]))
136
+ ```
137
+
138
+ The data source can also handle multiple sorts. In which case, the sort will be applied in the order it is defined. For example, to sort by memory in ascending order, then sort by disk in descending order between sizes with same memory:
139
+
140
+ ```python
141
+ import pulumi
142
+ import pulumi_digitalocean as digitalocean
143
+
144
+ main = digitalocean.get_sizes(sorts=[
145
+ {
146
+ "key": "memory",
147
+ "direction": "asc",
148
+ },
149
+ {
150
+ "key": "disk",
151
+ "direction": "desc",
152
+ },
153
+ ])
154
+ ```
155
+
90
156
 
91
157
  :param Sequence[Union['GetSizesFilterArgs', 'GetSizesFilterArgsDict']] filters: Filter the results.
92
158
  The `filter` block is documented below.
@@ -112,6 +178,73 @@ def get_sizes_output(filters: Optional[pulumi.Input[Optional[Sequence[Union['Get
112
178
  the ability to filter and sort the results. If no filters are specified, all sizes
113
179
  will be returned.
114
180
 
181
+ ## Example Usage
182
+
183
+ Most common usage will probably be to supply a size to Droplet:
184
+
185
+ ```python
186
+ import pulumi
187
+ import pulumi_digitalocean as digitalocean
188
+
189
+ main = digitalocean.get_sizes(filters=[{
190
+ "key": "slug",
191
+ "values": ["s-1vcpu-1gb"],
192
+ }])
193
+ web = digitalocean.Droplet("web",
194
+ image="ubuntu-18-04-x64",
195
+ name="web-1",
196
+ region=digitalocean.Region.SGP1,
197
+ size=digitalocean.DropletSlug(main.sizes[0]["slug"]))
198
+ ```
199
+
200
+ The data source also supports multiple filters and sorts. For example, to fetch sizes with 1 or 2 virtual CPU that are available "sgp1" region, then pick the cheapest one:
201
+
202
+ ```python
203
+ import pulumi
204
+ import pulumi_digitalocean as digitalocean
205
+
206
+ main = digitalocean.get_sizes(filters=[
207
+ {
208
+ "key": "vcpus",
209
+ "values": [
210
+ "1",
211
+ "2",
212
+ ],
213
+ },
214
+ {
215
+ "key": "regions",
216
+ "values": ["sgp1"],
217
+ },
218
+ ],
219
+ sorts=[{
220
+ "key": "price_monthly",
221
+ "direction": "asc",
222
+ }])
223
+ web = digitalocean.Droplet("web",
224
+ image="ubuntu-18-04-x64",
225
+ name="web-1",
226
+ region=digitalocean.Region.SGP1,
227
+ size=digitalocean.DropletSlug(main.sizes[0]["slug"]))
228
+ ```
229
+
230
+ The data source can also handle multiple sorts. In which case, the sort will be applied in the order it is defined. For example, to sort by memory in ascending order, then sort by disk in descending order between sizes with same memory:
231
+
232
+ ```python
233
+ import pulumi
234
+ import pulumi_digitalocean as digitalocean
235
+
236
+ main = digitalocean.get_sizes(sorts=[
237
+ {
238
+ "key": "memory",
239
+ "direction": "asc",
240
+ },
241
+ {
242
+ "key": "disk",
243
+ "direction": "desc",
244
+ },
245
+ ])
246
+ ```
247
+
115
248
 
116
249
  :param Sequence[Union['GetSizesFilterArgs', 'GetSizesFilterArgsDict']] filters: Filter the results.
117
250
  The `filter` block is documented below.
@@ -1,9 +1,8 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
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
@@ -47,49 +46,49 @@ class GetSpacesBucketResult:
47
46
  raise TypeError("Expected argument 'urn' to be a str")
48
47
  pulumi.set(__self__, "urn", urn)
49
48
 
50
- @property
49
+ @_builtins.property
51
50
  @pulumi.getter(name="bucketDomainName")
52
- def bucket_domain_name(self) -> builtins.str:
51
+ def bucket_domain_name(self) -> _builtins.str:
53
52
  """
54
53
  The FQDN of the bucket (e.g. bucket-name.nyc3.digitaloceanspaces.com)
55
54
  """
56
55
  return pulumi.get(self, "bucket_domain_name")
57
56
 
58
- @property
57
+ @_builtins.property
59
58
  @pulumi.getter
60
- def endpoint(self) -> builtins.str:
59
+ def endpoint(self) -> _builtins.str:
61
60
  """
62
61
  The FQDN of the bucket without the bucket name (e.g. nyc3.digitaloceanspaces.com)
63
62
  """
64
63
  return pulumi.get(self, "endpoint")
65
64
 
66
- @property
65
+ @_builtins.property
67
66
  @pulumi.getter
68
- def id(self) -> builtins.str:
67
+ def id(self) -> _builtins.str:
69
68
  """
70
69
  The provider-assigned unique ID for this managed resource.
71
70
  """
72
71
  return pulumi.get(self, "id")
73
72
 
74
- @property
73
+ @_builtins.property
75
74
  @pulumi.getter
76
- def name(self) -> builtins.str:
75
+ def name(self) -> _builtins.str:
77
76
  """
78
77
  The name of the Spaces bucket
79
78
  """
80
79
  return pulumi.get(self, "name")
81
80
 
82
- @property
81
+ @_builtins.property
83
82
  @pulumi.getter
84
- def region(self) -> builtins.str:
83
+ def region(self) -> _builtins.str:
85
84
  """
86
85
  The slug of the region where the bucket is stored.
87
86
  """
88
87
  return pulumi.get(self, "region")
89
88
 
90
- @property
89
+ @_builtins.property
91
90
  @pulumi.getter
92
- def urn(self) -> builtins.str:
91
+ def urn(self) -> _builtins.str:
93
92
  """
94
93
  The uniform resource name of the bucket
95
94
  """
@@ -110,8 +109,8 @@ class AwaitableGetSpacesBucketResult(GetSpacesBucketResult):
110
109
  urn=self.urn)
111
110
 
112
111
 
113
- def get_spaces_bucket(name: Optional[builtins.str] = None,
114
- region: Optional[builtins.str] = None,
112
+ def get_spaces_bucket(name: Optional[_builtins.str] = None,
113
+ region: Optional[_builtins.str] = None,
115
114
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSpacesBucketResult:
116
115
  """
117
116
  Get information on a Spaces bucket for use in other resources. This is useful if the Spaces bucket in question
@@ -131,8 +130,8 @@ def get_spaces_bucket(name: Optional[builtins.str] = None,
131
130
  ```
132
131
 
133
132
 
134
- :param builtins.str name: The name of the Spaces bucket.
135
- :param builtins.str region: The slug of the region where the bucket is stored.
133
+ :param _builtins.str name: The name of the Spaces bucket.
134
+ :param _builtins.str region: The slug of the region where the bucket is stored.
136
135
  """
137
136
  __args__ = dict()
138
137
  __args__['name'] = name
@@ -147,8 +146,8 @@ def get_spaces_bucket(name: Optional[builtins.str] = None,
147
146
  name=pulumi.get(__ret__, 'name'),
148
147
  region=pulumi.get(__ret__, 'region'),
149
148
  urn=pulumi.get(__ret__, 'urn'))
150
- def get_spaces_bucket_output(name: Optional[pulumi.Input[builtins.str]] = None,
151
- region: Optional[pulumi.Input[builtins.str]] = None,
149
+ def get_spaces_bucket_output(name: Optional[pulumi.Input[_builtins.str]] = None,
150
+ region: Optional[pulumi.Input[_builtins.str]] = None,
152
151
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetSpacesBucketResult]:
153
152
  """
154
153
  Get information on a Spaces bucket for use in other resources. This is useful if the Spaces bucket in question
@@ -168,8 +167,8 @@ def get_spaces_bucket_output(name: Optional[pulumi.Input[builtins.str]] = None,
168
167
  ```
169
168
 
170
169
 
171
- :param builtins.str name: The name of the Spaces bucket.
172
- :param builtins.str region: The slug of the region where the bucket is stored.
170
+ :param _builtins.str name: The name of the Spaces bucket.
171
+ :param _builtins.str region: The slug of the region where the bucket is stored.
173
172
  """
174
173
  __args__ = dict()
175
174
  __args__['name'] = name
@@ -1,9 +1,8 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
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
@@ -86,141 +85,141 @@ class GetSpacesBucketObjectResult:
86
85
  raise TypeError("Expected argument 'website_redirect_location' to be a str")
87
86
  pulumi.set(__self__, "website_redirect_location", website_redirect_location)
88
87
 
89
- @property
88
+ @_builtins.property
90
89
  @pulumi.getter
91
- def body(self) -> builtins.str:
90
+ def body(self) -> _builtins.str:
92
91
  """
93
92
  Object data (see **limitations above** to understand cases in which this field is actually available)
94
93
  """
95
94
  return pulumi.get(self, "body")
96
95
 
97
- @property
96
+ @_builtins.property
98
97
  @pulumi.getter
99
- def bucket(self) -> builtins.str:
98
+ def bucket(self) -> _builtins.str:
100
99
  return pulumi.get(self, "bucket")
101
100
 
102
- @property
101
+ @_builtins.property
103
102
  @pulumi.getter(name="cacheControl")
104
- def cache_control(self) -> builtins.str:
103
+ def cache_control(self) -> _builtins.str:
105
104
  """
106
105
  Specifies caching behavior along the request/reply chain.
107
106
  """
108
107
  return pulumi.get(self, "cache_control")
109
108
 
110
- @property
109
+ @_builtins.property
111
110
  @pulumi.getter(name="contentDisposition")
112
- def content_disposition(self) -> builtins.str:
111
+ def content_disposition(self) -> _builtins.str:
113
112
  """
114
113
  Specifies presentational information for the object.
115
114
  """
116
115
  return pulumi.get(self, "content_disposition")
117
116
 
118
- @property
117
+ @_builtins.property
119
118
  @pulumi.getter(name="contentEncoding")
120
- def content_encoding(self) -> builtins.str:
119
+ def content_encoding(self) -> _builtins.str:
121
120
  """
122
121
  Specifies what content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field.
123
122
  """
124
123
  return pulumi.get(self, "content_encoding")
125
124
 
126
- @property
125
+ @_builtins.property
127
126
  @pulumi.getter(name="contentLanguage")
128
- def content_language(self) -> builtins.str:
127
+ def content_language(self) -> _builtins.str:
129
128
  """
130
129
  The language the content is in.
131
130
  """
132
131
  return pulumi.get(self, "content_language")
133
132
 
134
- @property
133
+ @_builtins.property
135
134
  @pulumi.getter(name="contentLength")
136
- def content_length(self) -> builtins.int:
135
+ def content_length(self) -> _builtins.int:
137
136
  """
138
137
  Size of the body in bytes.
139
138
  """
140
139
  return pulumi.get(self, "content_length")
141
140
 
142
- @property
141
+ @_builtins.property
143
142
  @pulumi.getter(name="contentType")
144
- def content_type(self) -> builtins.str:
143
+ def content_type(self) -> _builtins.str:
145
144
  """
146
145
  A standard MIME type describing the format of the object data.
147
146
  """
148
147
  return pulumi.get(self, "content_type")
149
148
 
150
- @property
149
+ @_builtins.property
151
150
  @pulumi.getter
152
- def etag(self) -> builtins.str:
151
+ def etag(self) -> _builtins.str:
153
152
  """
154
153
  [ETag](https://en.wikipedia.org/wiki/HTTP_ETag) generated for the object (an MD5 sum of the object content in case it's not encrypted)
155
154
  """
156
155
  return pulumi.get(self, "etag")
157
156
 
158
- @property
157
+ @_builtins.property
159
158
  @pulumi.getter
160
- def expiration(self) -> builtins.str:
159
+ def expiration(self) -> _builtins.str:
161
160
  """
162
161
  If the object expiration is configured (see [object lifecycle management](http://docs.aws.amazon.com/AmazonS3/latest/dev/object-lifecycle-mgmt.html)), the field includes this header. It includes the expiry-date and rule-id key value pairs providing object expiration information. The value of the rule-id is URL encoded.
163
162
  """
164
163
  return pulumi.get(self, "expiration")
165
164
 
166
- @property
165
+ @_builtins.property
167
166
  @pulumi.getter
168
- def expires(self) -> builtins.str:
167
+ def expires(self) -> _builtins.str:
169
168
  """
170
169
  The date and time at which the object is no longer cacheable.
171
170
  """
172
171
  return pulumi.get(self, "expires")
173
172
 
174
- @property
173
+ @_builtins.property
175
174
  @pulumi.getter
176
- def id(self) -> builtins.str:
175
+ def id(self) -> _builtins.str:
177
176
  """
178
177
  The provider-assigned unique ID for this managed resource.
179
178
  """
180
179
  return pulumi.get(self, "id")
181
180
 
182
- @property
181
+ @_builtins.property
183
182
  @pulumi.getter
184
- def key(self) -> builtins.str:
183
+ def key(self) -> _builtins.str:
185
184
  return pulumi.get(self, "key")
186
185
 
187
- @property
186
+ @_builtins.property
188
187
  @pulumi.getter(name="lastModified")
189
- def last_modified(self) -> builtins.str:
188
+ def last_modified(self) -> _builtins.str:
190
189
  """
191
190
  Last modified date of the object in RFC1123 format (e.g. `Mon, 02 Jan 2006 15:04:05 MST`)
192
191
  """
193
192
  return pulumi.get(self, "last_modified")
194
193
 
195
- @property
194
+ @_builtins.property
196
195
  @pulumi.getter
197
- def metadata(self) -> Mapping[str, builtins.str]:
196
+ def metadata(self) -> Mapping[str, _builtins.str]:
198
197
  """
199
198
  A map of metadata stored with the object in Spaces
200
199
  """
201
200
  return pulumi.get(self, "metadata")
202
201
 
203
- @property
202
+ @_builtins.property
204
203
  @pulumi.getter
205
- def range(self) -> Optional[builtins.str]:
204
+ def range(self) -> Optional[_builtins.str]:
206
205
  return pulumi.get(self, "range")
207
206
 
208
- @property
207
+ @_builtins.property
209
208
  @pulumi.getter
210
- def region(self) -> builtins.str:
209
+ def region(self) -> _builtins.str:
211
210
  return pulumi.get(self, "region")
212
211
 
213
- @property
212
+ @_builtins.property
214
213
  @pulumi.getter(name="versionId")
215
- def version_id(self) -> builtins.str:
214
+ def version_id(self) -> _builtins.str:
216
215
  """
217
216
  The latest version ID of the object returned.
218
217
  """
219
218
  return pulumi.get(self, "version_id")
220
219
 
221
- @property
220
+ @_builtins.property
222
221
  @pulumi.getter(name="websiteRedirectLocation")
223
- def website_redirect_location(self) -> builtins.str:
222
+ def website_redirect_location(self) -> _builtins.str:
224
223
  """
225
224
  If the bucket is configured as a website, redirects requests for this object to another object in the same bucket or to an external URL. Spaces stores the value of this header in the object metadata.
226
225
  """
@@ -254,11 +253,11 @@ class AwaitableGetSpacesBucketObjectResult(GetSpacesBucketObjectResult):
254
253
  website_redirect_location=self.website_redirect_location)
255
254
 
256
255
 
257
- def get_spaces_bucket_object(bucket: Optional[builtins.str] = None,
258
- key: Optional[builtins.str] = None,
259
- range: Optional[builtins.str] = None,
260
- region: Optional[builtins.str] = None,
261
- version_id: Optional[builtins.str] = None,
256
+ def get_spaces_bucket_object(bucket: Optional[_builtins.str] = None,
257
+ key: Optional[_builtins.str] = None,
258
+ range: Optional[_builtins.str] = None,
259
+ region: Optional[_builtins.str] = None,
260
+ version_id: Optional[_builtins.str] = None,
262
261
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSpacesBucketObjectResult:
263
262
  """
264
263
  The Spaces object data source allows access to the metadata and
@@ -289,10 +288,10 @@ def get_spaces_bucket_object(bucket: Optional[builtins.str] = None,
289
288
  ```
290
289
 
291
290
 
292
- :param builtins.str bucket: The name of the bucket to read the object from.
293
- :param builtins.str key: The full path to the object inside the bucket
294
- :param builtins.str region: The slug of the region where the bucket is stored.
295
- :param builtins.str version_id: Specific version ID of the object returned (defaults to latest version)
291
+ :param _builtins.str bucket: The name of the bucket to read the object from.
292
+ :param _builtins.str key: The full path to the object inside the bucket
293
+ :param _builtins.str region: The slug of the region where the bucket is stored.
294
+ :param _builtins.str version_id: Specific version ID of the object returned (defaults to latest version)
296
295
  """
297
296
  __args__ = dict()
298
297
  __args__['bucket'] = bucket
@@ -323,11 +322,11 @@ def get_spaces_bucket_object(bucket: Optional[builtins.str] = None,
323
322
  region=pulumi.get(__ret__, 'region'),
324
323
  version_id=pulumi.get(__ret__, 'version_id'),
325
324
  website_redirect_location=pulumi.get(__ret__, 'website_redirect_location'))
326
- def get_spaces_bucket_object_output(bucket: Optional[pulumi.Input[builtins.str]] = None,
327
- key: Optional[pulumi.Input[builtins.str]] = None,
328
- range: Optional[pulumi.Input[Optional[builtins.str]]] = None,
329
- region: Optional[pulumi.Input[builtins.str]] = None,
330
- version_id: Optional[pulumi.Input[Optional[builtins.str]]] = None,
325
+ def get_spaces_bucket_object_output(bucket: Optional[pulumi.Input[_builtins.str]] = None,
326
+ key: Optional[pulumi.Input[_builtins.str]] = None,
327
+ range: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
328
+ region: Optional[pulumi.Input[_builtins.str]] = None,
329
+ version_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
331
330
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetSpacesBucketObjectResult]:
332
331
  """
333
332
  The Spaces object data source allows access to the metadata and
@@ -358,10 +357,10 @@ def get_spaces_bucket_object_output(bucket: Optional[pulumi.Input[builtins.str]]
358
357
  ```
359
358
 
360
359
 
361
- :param builtins.str bucket: The name of the bucket to read the object from.
362
- :param builtins.str key: The full path to the object inside the bucket
363
- :param builtins.str region: The slug of the region where the bucket is stored.
364
- :param builtins.str version_id: Specific version ID of the object returned (defaults to latest version)
360
+ :param _builtins.str bucket: The name of the bucket to read the object from.
361
+ :param _builtins.str key: The full path to the object inside the bucket
362
+ :param _builtins.str region: The slug of the region where the bucket is stored.
363
+ :param _builtins.str version_id: Specific version ID of the object returned (defaults to latest version)
365
364
  """
366
365
  __args__ = dict()
367
366
  __args__['bucket'] = bucket