pulumi-digitalocean 4.49.0__py3-none-any.whl → 4.50.0__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-digitalocean might be problematic. Click here for more details.
- pulumi_digitalocean/__init__.py +81 -1
- pulumi_digitalocean/_enums.py +9 -9
- pulumi_digitalocean/_inputs.py +11204 -8486
- pulumi_digitalocean/app.py +137 -88
- pulumi_digitalocean/cdn.py +104 -105
- pulumi_digitalocean/certificate.py +137 -138
- pulumi_digitalocean/config/__init__.py +1 -1
- pulumi_digitalocean/config/__init__.pyi +1 -2
- pulumi_digitalocean/config/vars.py +10 -11
- pulumi_digitalocean/container_registry.py +88 -89
- pulumi_digitalocean/container_registry_docker_credentials.py +70 -71
- pulumi_digitalocean/custom_image.py +175 -176
- pulumi_digitalocean/database_cluster.py +374 -347
- pulumi_digitalocean/database_connection_pool.py +157 -158
- pulumi_digitalocean/database_db.py +35 -36
- pulumi_digitalocean/database_firewall.py +21 -22
- pulumi_digitalocean/database_kafka_config.py +307 -308
- pulumi_digitalocean/database_kafka_topic.py +81 -82
- pulumi_digitalocean/database_mongodb_config.py +103 -104
- pulumi_digitalocean/database_mysql_config.py +477 -478
- pulumi_digitalocean/database_online_migration.py +460 -0
- pulumi_digitalocean/database_opensearch_config.py +664 -665
- pulumi_digitalocean/database_postgresql_config.py +857 -858
- pulumi_digitalocean/database_redis_config.py +209 -206
- pulumi_digitalocean/database_replica.py +197 -198
- pulumi_digitalocean/database_user.py +91 -92
- pulumi_digitalocean/database_valkey_config.py +804 -0
- pulumi_digitalocean/dns_record.py +180 -181
- pulumi_digitalocean/domain.py +53 -54
- pulumi_digitalocean/droplet.py +388 -389
- pulumi_digitalocean/droplet_autoscale.py +53 -54
- pulumi_digitalocean/droplet_snapshot.py +71 -72
- pulumi_digitalocean/firewall.py +78 -79
- pulumi_digitalocean/floating_ip.py +61 -62
- pulumi_digitalocean/floating_ip_assignment.py +35 -36
- pulumi_digitalocean/genai_agent.py +452 -453
- pulumi_digitalocean/genai_agent_knowledge_base_attachment.py +198 -0
- pulumi_digitalocean/genai_agent_route.py +354 -0
- pulumi_digitalocean/genai_function.py +464 -0
- pulumi_digitalocean/genai_knowledge_base.py +627 -0
- pulumi_digitalocean/genai_knowledge_base_data_source.py +220 -0
- pulumi_digitalocean/genai_openai_api_key.py +386 -0
- pulumi_digitalocean/get_account.py +17 -18
- pulumi_digitalocean/get_app.py +27 -28
- pulumi_digitalocean/get_certificate.py +21 -22
- pulumi_digitalocean/get_container_registry.py +21 -22
- pulumi_digitalocean/get_database_ca.py +11 -12
- pulumi_digitalocean/get_database_cluster.py +75 -62
- pulumi_digitalocean/get_database_connection_pool.py +35 -36
- pulumi_digitalocean/get_database_metrics_credentials.py +120 -0
- pulumi_digitalocean/get_database_replica.py +45 -46
- pulumi_digitalocean/get_database_user.py +26 -27
- pulumi_digitalocean/get_domain.py +15 -16
- pulumi_digitalocean/get_domains.py +6 -7
- pulumi_digitalocean/get_droplet.py +71 -72
- pulumi_digitalocean/get_droplet_autoscale.py +22 -23
- pulumi_digitalocean/get_droplet_snapshot.py +37 -38
- pulumi_digitalocean/get_droplets.py +12 -13
- pulumi_digitalocean/get_firewall.py +30 -31
- pulumi_digitalocean/get_floating_ip.py +15 -16
- pulumi_digitalocean/get_genai_agent.py +89 -90
- pulumi_digitalocean/get_genai_agent_versions.py +128 -0
- pulumi_digitalocean/get_genai_agents.py +10 -11
- pulumi_digitalocean/get_genai_agents_by_openai_api_key.py +97 -0
- pulumi_digitalocean/get_genai_knowledge_base.py +259 -0
- pulumi_digitalocean/get_genai_knowledge_base_data_sources.py +97 -0
- pulumi_digitalocean/get_genai_knowledge_bases.py +113 -0
- pulumi_digitalocean/get_genai_openai_api_key.py +152 -0
- pulumi_digitalocean/get_genai_openai_api_keys.py +113 -0
- pulumi_digitalocean/get_image.py +49 -50
- pulumi_digitalocean/get_images.py +6 -7
- pulumi_digitalocean/get_kubernetes_cluster.py +53 -54
- pulumi_digitalocean/get_kubernetes_versions.py +13 -14
- pulumi_digitalocean/get_load_balancer.py +59 -60
- pulumi_digitalocean/get_partner_attachment.py +30 -31
- pulumi_digitalocean/get_partner_attachment_service_key.py +13 -14
- pulumi_digitalocean/get_project.py +31 -32
- pulumi_digitalocean/get_projects.py +6 -7
- pulumi_digitalocean/get_record.py +31 -32
- pulumi_digitalocean/get_records.py +12 -13
- pulumi_digitalocean/get_region.py +17 -18
- pulumi_digitalocean/get_regions.py +6 -7
- pulumi_digitalocean/get_reserved_ip.py +15 -16
- pulumi_digitalocean/get_reserved_ipv6.py +15 -16
- pulumi_digitalocean/get_sizes.py +6 -7
- pulumi_digitalocean/get_spaces_bucket.py +21 -22
- pulumi_digitalocean/get_spaces_bucket_object.py +57 -58
- pulumi_digitalocean/get_spaces_bucket_objects.py +45 -46
- pulumi_digitalocean/get_spaces_buckets.py +6 -7
- pulumi_digitalocean/get_spaces_key.py +14 -15
- pulumi_digitalocean/get_ssh_key.py +13 -14
- pulumi_digitalocean/get_ssh_keys.py +6 -7
- pulumi_digitalocean/get_tag.py +21 -22
- pulumi_digitalocean/get_tags.py +6 -7
- pulumi_digitalocean/get_volume.py +33 -34
- pulumi_digitalocean/get_volume_snapshot.py +39 -40
- pulumi_digitalocean/get_vpc.py +29 -30
- pulumi_digitalocean/get_vpc_nat_gateway.py +33 -34
- pulumi_digitalocean/get_vpc_peering.py +23 -24
- pulumi_digitalocean/kubernetes_cluster.py +293 -294
- pulumi_digitalocean/kubernetes_node_pool.py +168 -169
- pulumi_digitalocean/load_balancer.py +374 -375
- pulumi_digitalocean/monitor_alert.py +149 -150
- pulumi_digitalocean/outputs.py +20079 -12647
- pulumi_digitalocean/partner_attachment.py +150 -151
- pulumi_digitalocean/project.py +139 -140
- pulumi_digitalocean/project_resources.py +35 -36
- pulumi_digitalocean/provider.py +84 -85
- pulumi_digitalocean/pulumi-plugin.json +1 -1
- pulumi_digitalocean/reserved_ip.py +61 -62
- pulumi_digitalocean/reserved_ip_assignment.py +35 -36
- pulumi_digitalocean/reserved_ipv6.py +53 -54
- pulumi_digitalocean/reserved_ipv6_assignment.py +35 -36
- pulumi_digitalocean/spaces_bucket.py +105 -106
- pulumi_digitalocean/spaces_bucket_cors_configuration.py +38 -39
- pulumi_digitalocean/spaces_bucket_logging.py +69 -70
- pulumi_digitalocean/spaces_bucket_object.py +282 -283
- pulumi_digitalocean/spaces_bucket_policy.py +52 -53
- pulumi_digitalocean/spaces_key.py +48 -49
- pulumi_digitalocean/ssh_key.py +44 -45
- pulumi_digitalocean/tag.py +72 -73
- pulumi_digitalocean/uptime_alert.py +106 -107
- pulumi_digitalocean/uptime_check.py +86 -87
- pulumi_digitalocean/volume.py +181 -182
- pulumi_digitalocean/volume_attachment.py +35 -36
- pulumi_digitalocean/volume_snapshot.py +88 -89
- pulumi_digitalocean/vpc.py +96 -97
- pulumi_digitalocean/vpc_nat_gateway.py +152 -153
- pulumi_digitalocean/vpc_peering.py +53 -54
- {pulumi_digitalocean-4.49.0.dist-info → pulumi_digitalocean-4.50.0.dist-info}/METADATA +1 -1
- pulumi_digitalocean-4.50.0.dist-info/RECORD +135 -0
- pulumi_digitalocean-4.49.0.dist-info/RECORD +0 -119
- {pulumi_digitalocean-4.49.0.dist-info → pulumi_digitalocean-4.50.0.dist-info}/WHEEL +0 -0
- {pulumi_digitalocean-4.49.0.dist-info → pulumi_digitalocean-4.50.0.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
|
|
@@ -44,38 +43,38 @@ class GetReservedIpResult:
|
|
|
44
43
|
raise TypeError("Expected argument 'urn' to be a str")
|
|
45
44
|
pulumi.set(__self__, "urn", urn)
|
|
46
45
|
|
|
47
|
-
@property
|
|
46
|
+
@_builtins.property
|
|
48
47
|
@pulumi.getter(name="dropletId")
|
|
49
|
-
def droplet_id(self) ->
|
|
48
|
+
def droplet_id(self) -> _builtins.int:
|
|
50
49
|
"""
|
|
51
50
|
The Droplet id that the reserved IP has been assigned to.
|
|
52
51
|
"""
|
|
53
52
|
return pulumi.get(self, "droplet_id")
|
|
54
53
|
|
|
55
|
-
@property
|
|
54
|
+
@_builtins.property
|
|
56
55
|
@pulumi.getter
|
|
57
|
-
def id(self) ->
|
|
56
|
+
def id(self) -> _builtins.str:
|
|
58
57
|
"""
|
|
59
58
|
The provider-assigned unique ID for this managed resource.
|
|
60
59
|
"""
|
|
61
60
|
return pulumi.get(self, "id")
|
|
62
61
|
|
|
63
|
-
@property
|
|
62
|
+
@_builtins.property
|
|
64
63
|
@pulumi.getter(name="ipAddress")
|
|
65
|
-
def ip_address(self) ->
|
|
64
|
+
def ip_address(self) -> _builtins.str:
|
|
66
65
|
return pulumi.get(self, "ip_address")
|
|
67
66
|
|
|
68
|
-
@property
|
|
67
|
+
@_builtins.property
|
|
69
68
|
@pulumi.getter
|
|
70
|
-
def region(self) ->
|
|
69
|
+
def region(self) -> _builtins.str:
|
|
71
70
|
"""
|
|
72
71
|
The region that the reserved IP is reserved to.
|
|
73
72
|
"""
|
|
74
73
|
return pulumi.get(self, "region")
|
|
75
74
|
|
|
76
|
-
@property
|
|
75
|
+
@_builtins.property
|
|
77
76
|
@pulumi.getter
|
|
78
|
-
def urn(self) ->
|
|
77
|
+
def urn(self) -> _builtins.str:
|
|
79
78
|
"""
|
|
80
79
|
The uniform resource name of the reserved IP.
|
|
81
80
|
"""
|
|
@@ -95,7 +94,7 @@ class AwaitableGetReservedIpResult(GetReservedIpResult):
|
|
|
95
94
|
urn=self.urn)
|
|
96
95
|
|
|
97
96
|
|
|
98
|
-
def get_reserved_ip(ip_address: Optional[
|
|
97
|
+
def get_reserved_ip(ip_address: Optional[_builtins.str] = None,
|
|
99
98
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetReservedIpResult:
|
|
100
99
|
"""
|
|
101
100
|
## Example Usage
|
|
@@ -113,7 +112,7 @@ def get_reserved_ip(ip_address: Optional[builtins.str] = None,
|
|
|
113
112
|
```
|
|
114
113
|
|
|
115
114
|
|
|
116
|
-
:param
|
|
115
|
+
:param _builtins.str ip_address: The allocated IP address of the specific reserved IP to retrieve.
|
|
117
116
|
"""
|
|
118
117
|
__args__ = dict()
|
|
119
118
|
__args__['ipAddress'] = ip_address
|
|
@@ -126,7 +125,7 @@ def get_reserved_ip(ip_address: Optional[builtins.str] = None,
|
|
|
126
125
|
ip_address=pulumi.get(__ret__, 'ip_address'),
|
|
127
126
|
region=pulumi.get(__ret__, 'region'),
|
|
128
127
|
urn=pulumi.get(__ret__, 'urn'))
|
|
129
|
-
def get_reserved_ip_output(ip_address: Optional[pulumi.Input[
|
|
128
|
+
def get_reserved_ip_output(ip_address: Optional[pulumi.Input[_builtins.str]] = None,
|
|
130
129
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetReservedIpResult]:
|
|
131
130
|
"""
|
|
132
131
|
## Example Usage
|
|
@@ -144,7 +143,7 @@ def get_reserved_ip_output(ip_address: Optional[pulumi.Input[builtins.str]] = No
|
|
|
144
143
|
```
|
|
145
144
|
|
|
146
145
|
|
|
147
|
-
:param
|
|
146
|
+
:param _builtins.str ip_address: The allocated IP address of the specific reserved IP to retrieve.
|
|
148
147
|
"""
|
|
149
148
|
__args__ = dict()
|
|
150
149
|
__args__['ipAddress'] = ip_address
|
|
@@ -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
|
|
@@ -44,38 +43,38 @@ class GetReservedIpv6Result:
|
|
|
44
43
|
raise TypeError("Expected argument 'urn' to be a str")
|
|
45
44
|
pulumi.set(__self__, "urn", urn)
|
|
46
45
|
|
|
47
|
-
@property
|
|
46
|
+
@_builtins.property
|
|
48
47
|
@pulumi.getter(name="dropletId")
|
|
49
|
-
def droplet_id(self) ->
|
|
48
|
+
def droplet_id(self) -> _builtins.int:
|
|
50
49
|
"""
|
|
51
50
|
The Droplet id that the reserved IP has been assigned to.
|
|
52
51
|
"""
|
|
53
52
|
return pulumi.get(self, "droplet_id")
|
|
54
53
|
|
|
55
|
-
@property
|
|
54
|
+
@_builtins.property
|
|
56
55
|
@pulumi.getter
|
|
57
|
-
def id(self) ->
|
|
56
|
+
def id(self) -> _builtins.str:
|
|
58
57
|
"""
|
|
59
58
|
The provider-assigned unique ID for this managed resource.
|
|
60
59
|
"""
|
|
61
60
|
return pulumi.get(self, "id")
|
|
62
61
|
|
|
63
|
-
@property
|
|
62
|
+
@_builtins.property
|
|
64
63
|
@pulumi.getter
|
|
65
|
-
def ip(self) ->
|
|
64
|
+
def ip(self) -> _builtins.str:
|
|
66
65
|
return pulumi.get(self, "ip")
|
|
67
66
|
|
|
68
|
-
@property
|
|
67
|
+
@_builtins.property
|
|
69
68
|
@pulumi.getter(name="regionSlug")
|
|
70
|
-
def region_slug(self) ->
|
|
69
|
+
def region_slug(self) -> _builtins.str:
|
|
71
70
|
"""
|
|
72
71
|
The region that the reserved IPv6 is reserved to.
|
|
73
72
|
"""
|
|
74
73
|
return pulumi.get(self, "region_slug")
|
|
75
74
|
|
|
76
|
-
@property
|
|
75
|
+
@_builtins.property
|
|
77
76
|
@pulumi.getter
|
|
78
|
-
def urn(self) ->
|
|
77
|
+
def urn(self) -> _builtins.str:
|
|
79
78
|
"""
|
|
80
79
|
The uniform resource name of the reserved IPv6.
|
|
81
80
|
"""
|
|
@@ -95,7 +94,7 @@ class AwaitableGetReservedIpv6Result(GetReservedIpv6Result):
|
|
|
95
94
|
urn=self.urn)
|
|
96
95
|
|
|
97
96
|
|
|
98
|
-
def get_reserved_ipv6(ip: Optional[
|
|
97
|
+
def get_reserved_ipv6(ip: Optional[_builtins.str] = None,
|
|
99
98
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetReservedIpv6Result:
|
|
100
99
|
"""
|
|
101
100
|
## Example Usage
|
|
@@ -111,7 +110,7 @@ def get_reserved_ipv6(ip: Optional[builtins.str] = None,
|
|
|
111
110
|
```
|
|
112
111
|
|
|
113
112
|
|
|
114
|
-
:param
|
|
113
|
+
:param _builtins.str ip: The allocated IPv6 address of the specific reserved IPv6 to retrieve.
|
|
115
114
|
"""
|
|
116
115
|
__args__ = dict()
|
|
117
116
|
__args__['ip'] = ip
|
|
@@ -124,7 +123,7 @@ def get_reserved_ipv6(ip: Optional[builtins.str] = None,
|
|
|
124
123
|
ip=pulumi.get(__ret__, 'ip'),
|
|
125
124
|
region_slug=pulumi.get(__ret__, 'region_slug'),
|
|
126
125
|
urn=pulumi.get(__ret__, 'urn'))
|
|
127
|
-
def get_reserved_ipv6_output(ip: Optional[pulumi.Input[
|
|
126
|
+
def get_reserved_ipv6_output(ip: Optional[pulumi.Input[_builtins.str]] = None,
|
|
128
127
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetReservedIpv6Result]:
|
|
129
128
|
"""
|
|
130
129
|
## Example Usage
|
|
@@ -140,7 +139,7 @@ def get_reserved_ipv6_output(ip: Optional[pulumi.Input[builtins.str]] = None,
|
|
|
140
139
|
```
|
|
141
140
|
|
|
142
141
|
|
|
143
|
-
:param
|
|
142
|
+
:param _builtins.str ip: The allocated IPv6 address of the specific reserved IPv6 to retrieve.
|
|
144
143
|
"""
|
|
145
144
|
__args__ = dict()
|
|
146
145
|
__args__['ip'] = ip
|
pulumi_digitalocean/get_sizes.py
CHANGED
|
@@ -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
|
|
@@ -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) ->
|
|
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")
|
|
@@ -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
|
|
@@ -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) ->
|
|
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) ->
|
|
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) ->
|
|
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) ->
|
|
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) ->
|
|
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) ->
|
|
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[
|
|
114
|
-
region: Optional[
|
|
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
|
|
135
|
-
:param
|
|
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[
|
|
151
|
-
region: Optional[pulumi.Input[
|
|
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
|
|
172
|
-
:param
|
|
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
|
|
@@ -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
|
|
@@ -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) ->
|
|
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) ->
|
|
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) ->
|
|
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) ->
|
|
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) ->
|
|
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) ->
|
|
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) ->
|
|
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) ->
|
|
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) ->
|
|
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) ->
|
|
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) ->
|
|
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) ->
|
|
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) ->
|
|
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) ->
|
|
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,
|
|
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[
|
|
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) ->
|
|
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) ->
|
|
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) ->
|
|
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[
|
|
258
|
-
key: Optional[
|
|
259
|
-
range: Optional[
|
|
260
|
-
region: Optional[
|
|
261
|
-
version_id: Optional[
|
|
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
|
|
293
|
-
:param
|
|
294
|
-
:param
|
|
295
|
-
:param
|
|
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[
|
|
327
|
-
key: Optional[pulumi.Input[
|
|
328
|
-
range: Optional[pulumi.Input[Optional[
|
|
329
|
-
region: Optional[pulumi.Input[
|
|
330
|
-
version_id: Optional[pulumi.Input[Optional[
|
|
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
|
|
362
|
-
:param
|
|
363
|
-
:param
|
|
364
|
-
:param
|
|
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
|