pulumi-digitalocean 4.41.0a1742794810__py3-none-any.whl → 4.42.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 +21 -0
- pulumi_digitalocean/_enums.py +10 -8
- pulumi_digitalocean/_inputs.py +2936 -2693
- pulumi_digitalocean/app.py +64 -63
- pulumi_digitalocean/cdn.py +85 -84
- pulumi_digitalocean/certificate.py +111 -110
- pulumi_digitalocean/config/__init__.py +1 -0
- pulumi_digitalocean/config/__init__.pyi +1 -0
- pulumi_digitalocean/config/vars.py +1 -0
- pulumi_digitalocean/container_registry.py +71 -70
- pulumi_digitalocean/container_registry_docker_credentials.py +57 -56
- pulumi_digitalocean/custom_image.py +141 -140
- pulumi_digitalocean/database_cluster.py +274 -273
- pulumi_digitalocean/database_connection_pool.py +127 -126
- pulumi_digitalocean/database_db.py +29 -28
- pulumi_digitalocean/database_firewall.py +15 -14
- pulumi_digitalocean/database_kafka_config.py +253 -252
- pulumi_digitalocean/database_kafka_topic.py +64 -63
- pulumi_digitalocean/database_mongodb_config.py +85 -84
- pulumi_digitalocean/database_mysql_config.py +393 -392
- pulumi_digitalocean/database_opensearch_config.py +547 -546
- pulumi_digitalocean/database_postgresql_config.py +701 -700
- pulumi_digitalocean/database_redis_config.py +169 -168
- pulumi_digitalocean/database_replica.py +158 -157
- pulumi_digitalocean/database_user.py +71 -70
- pulumi_digitalocean/dns_record.py +148 -147
- pulumi_digitalocean/domain.py +43 -42
- pulumi_digitalocean/droplet.py +312 -311
- pulumi_digitalocean/droplet_autoscale.py +36 -35
- pulumi_digitalocean/droplet_snapshot.py +57 -56
- pulumi_digitalocean/firewall.py +57 -56
- pulumi_digitalocean/floating_ip.py +50 -49
- pulumi_digitalocean/floating_ip_assignment.py +29 -28
- pulumi_digitalocean/get_account.py +9 -8
- pulumi_digitalocean/get_app.py +15 -14
- pulumi_digitalocean/get_certificate.py +13 -12
- pulumi_digitalocean/get_container_registry.py +13 -12
- pulumi_digitalocean/get_database_ca.py +8 -7
- pulumi_digitalocean/get_database_cluster.py +33 -32
- pulumi_digitalocean/get_database_connection_pool.py +22 -21
- pulumi_digitalocean/get_database_replica.py +29 -28
- pulumi_digitalocean/get_database_user.py +17 -16
- pulumi_digitalocean/get_domain.py +10 -9
- pulumi_digitalocean/get_domains.py +2 -1
- pulumi_digitalocean/get_droplet.py +44 -43
- pulumi_digitalocean/get_droplet_autoscale.py +14 -13
- pulumi_digitalocean/get_droplet_snapshot.py +27 -26
- pulumi_digitalocean/get_droplets.py +7 -6
- pulumi_digitalocean/get_firewall.py +20 -19
- pulumi_digitalocean/get_floating_ip.py +10 -9
- pulumi_digitalocean/get_image.py +33 -32
- pulumi_digitalocean/get_images.py +2 -1
- pulumi_digitalocean/get_kubernetes_cluster.py +45 -29
- pulumi_digitalocean/get_kubernetes_versions.py +9 -8
- pulumi_digitalocean/get_load_balancer.py +31 -30
- pulumi_digitalocean/get_partner_attachment.py +170 -0
- pulumi_digitalocean/get_project.py +20 -19
- pulumi_digitalocean/get_projects.py +2 -1
- pulumi_digitalocean/get_record.py +20 -19
- pulumi_digitalocean/get_records.py +7 -6
- pulumi_digitalocean/get_region.py +11 -10
- pulumi_digitalocean/get_regions.py +2 -1
- pulumi_digitalocean/get_reserved_ip.py +10 -9
- pulumi_digitalocean/get_reserved_ipv6.py +10 -9
- pulumi_digitalocean/get_sizes.py +2 -1
- pulumi_digitalocean/get_spaces_bucket.py +15 -14
- pulumi_digitalocean/get_spaces_bucket_object.py +38 -37
- pulumi_digitalocean/get_spaces_bucket_objects.py +35 -34
- pulumi_digitalocean/get_spaces_buckets.py +2 -1
- pulumi_digitalocean/get_spaces_key.py +158 -0
- pulumi_digitalocean/get_ssh_key.py +9 -8
- pulumi_digitalocean/get_ssh_keys.py +2 -1
- pulumi_digitalocean/get_tag.py +13 -12
- pulumi_digitalocean/get_tags.py +2 -1
- pulumi_digitalocean/get_volume.py +23 -22
- pulumi_digitalocean/get_volume_snapshot.py +28 -27
- pulumi_digitalocean/get_vpc.py +21 -20
- pulumi_digitalocean/get_vpc_peering.py +18 -17
- pulumi_digitalocean/kubernetes_cluster.py +272 -238
- pulumi_digitalocean/kubernetes_node_pool.py +134 -133
- pulumi_digitalocean/load_balancer.py +277 -276
- pulumi_digitalocean/monitor_alert.py +120 -119
- pulumi_digitalocean/outputs.py +3185 -2989
- pulumi_digitalocean/partner_attachment.py +433 -0
- pulumi_digitalocean/project.py +113 -112
- pulumi_digitalocean/project_resources.py +29 -28
- pulumi_digitalocean/provider.py +69 -68
- pulumi_digitalocean/pulumi-plugin.json +1 -1
- pulumi_digitalocean/reserved_ip.py +50 -49
- pulumi_digitalocean/reserved_ip_assignment.py +29 -28
- pulumi_digitalocean/reserved_ipv6.py +44 -43
- pulumi_digitalocean/reserved_ipv6_assignment.py +29 -28
- pulumi_digitalocean/spaces_bucket.py +78 -77
- pulumi_digitalocean/spaces_bucket_cors_configuration.py +29 -28
- pulumi_digitalocean/spaces_bucket_object.py +232 -231
- pulumi_digitalocean/spaces_bucket_policy.py +43 -42
- pulumi_digitalocean/spaces_key.py +388 -0
- pulumi_digitalocean/ssh_key.py +36 -35
- pulumi_digitalocean/tag.py +57 -56
- pulumi_digitalocean/uptime_alert.py +85 -84
- pulumi_digitalocean/uptime_check.py +71 -70
- pulumi_digitalocean/volume.py +148 -147
- pulumi_digitalocean/volume_attachment.py +29 -28
- pulumi_digitalocean/volume_snapshot.py +71 -70
- pulumi_digitalocean/vpc.py +78 -77
- pulumi_digitalocean/vpc_peering.py +43 -42
- {pulumi_digitalocean-4.41.0a1742794810.dist-info → pulumi_digitalocean-4.42.0.dist-info}/METADATA +1 -1
- pulumi_digitalocean-4.42.0.dist-info/RECORD +112 -0
- {pulumi_digitalocean-4.41.0a1742794810.dist-info → pulumi_digitalocean-4.42.0.dist-info}/WHEEL +1 -1
- pulumi_digitalocean-4.41.0a1742794810.dist-info/RECORD +0 -108
- {pulumi_digitalocean-4.41.0a1742794810.dist-info → pulumi_digitalocean-4.42.0.dist-info}/top_level.txt +0 -0
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
+
import builtins
|
|
5
6
|
import copy
|
|
6
7
|
import warnings
|
|
7
8
|
import sys
|
|
@@ -45,7 +46,7 @@ class GetReservedIpResult:
|
|
|
45
46
|
|
|
46
47
|
@property
|
|
47
48
|
@pulumi.getter(name="dropletId")
|
|
48
|
-
def droplet_id(self) -> int:
|
|
49
|
+
def droplet_id(self) -> builtins.int:
|
|
49
50
|
"""
|
|
50
51
|
The Droplet id that the reserved IP has been assigned to.
|
|
51
52
|
"""
|
|
@@ -53,7 +54,7 @@ class GetReservedIpResult:
|
|
|
53
54
|
|
|
54
55
|
@property
|
|
55
56
|
@pulumi.getter
|
|
56
|
-
def id(self) -> str:
|
|
57
|
+
def id(self) -> builtins.str:
|
|
57
58
|
"""
|
|
58
59
|
The provider-assigned unique ID for this managed resource.
|
|
59
60
|
"""
|
|
@@ -61,12 +62,12 @@ class GetReservedIpResult:
|
|
|
61
62
|
|
|
62
63
|
@property
|
|
63
64
|
@pulumi.getter(name="ipAddress")
|
|
64
|
-
def ip_address(self) -> str:
|
|
65
|
+
def ip_address(self) -> builtins.str:
|
|
65
66
|
return pulumi.get(self, "ip_address")
|
|
66
67
|
|
|
67
68
|
@property
|
|
68
69
|
@pulumi.getter
|
|
69
|
-
def region(self) -> str:
|
|
70
|
+
def region(self) -> builtins.str:
|
|
70
71
|
"""
|
|
71
72
|
The region that the reserved IP is reserved to.
|
|
72
73
|
"""
|
|
@@ -74,7 +75,7 @@ class GetReservedIpResult:
|
|
|
74
75
|
|
|
75
76
|
@property
|
|
76
77
|
@pulumi.getter
|
|
77
|
-
def urn(self) -> str:
|
|
78
|
+
def urn(self) -> builtins.str:
|
|
78
79
|
"""
|
|
79
80
|
The uniform resource name of the reserved IP.
|
|
80
81
|
"""
|
|
@@ -94,7 +95,7 @@ class AwaitableGetReservedIpResult(GetReservedIpResult):
|
|
|
94
95
|
urn=self.urn)
|
|
95
96
|
|
|
96
97
|
|
|
97
|
-
def get_reserved_ip(ip_address: Optional[str] = None,
|
|
98
|
+
def get_reserved_ip(ip_address: Optional[builtins.str] = None,
|
|
98
99
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetReservedIpResult:
|
|
99
100
|
"""
|
|
100
101
|
## Example Usage
|
|
@@ -112,7 +113,7 @@ def get_reserved_ip(ip_address: Optional[str] = None,
|
|
|
112
113
|
```
|
|
113
114
|
|
|
114
115
|
|
|
115
|
-
:param str ip_address: The allocated IP address of the specific reserved IP to retrieve.
|
|
116
|
+
:param builtins.str ip_address: The allocated IP address of the specific reserved IP to retrieve.
|
|
116
117
|
"""
|
|
117
118
|
__args__ = dict()
|
|
118
119
|
__args__['ipAddress'] = ip_address
|
|
@@ -125,7 +126,7 @@ def get_reserved_ip(ip_address: Optional[str] = None,
|
|
|
125
126
|
ip_address=pulumi.get(__ret__, 'ip_address'),
|
|
126
127
|
region=pulumi.get(__ret__, 'region'),
|
|
127
128
|
urn=pulumi.get(__ret__, 'urn'))
|
|
128
|
-
def get_reserved_ip_output(ip_address: Optional[pulumi.Input[str]] = None,
|
|
129
|
+
def get_reserved_ip_output(ip_address: Optional[pulumi.Input[builtins.str]] = None,
|
|
129
130
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetReservedIpResult]:
|
|
130
131
|
"""
|
|
131
132
|
## Example Usage
|
|
@@ -143,7 +144,7 @@ def get_reserved_ip_output(ip_address: Optional[pulumi.Input[str]] = None,
|
|
|
143
144
|
```
|
|
144
145
|
|
|
145
146
|
|
|
146
|
-
:param str ip_address: The allocated IP address of the specific reserved IP to retrieve.
|
|
147
|
+
:param builtins.str ip_address: The allocated IP address of the specific reserved IP to retrieve.
|
|
147
148
|
"""
|
|
148
149
|
__args__ = dict()
|
|
149
150
|
__args__['ipAddress'] = ip_address
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
+
import builtins
|
|
5
6
|
import copy
|
|
6
7
|
import warnings
|
|
7
8
|
import sys
|
|
@@ -45,7 +46,7 @@ class GetReservedIpv6Result:
|
|
|
45
46
|
|
|
46
47
|
@property
|
|
47
48
|
@pulumi.getter(name="dropletId")
|
|
48
|
-
def droplet_id(self) -> int:
|
|
49
|
+
def droplet_id(self) -> builtins.int:
|
|
49
50
|
"""
|
|
50
51
|
The Droplet id that the reserved IP has been assigned to.
|
|
51
52
|
"""
|
|
@@ -53,7 +54,7 @@ class GetReservedIpv6Result:
|
|
|
53
54
|
|
|
54
55
|
@property
|
|
55
56
|
@pulumi.getter
|
|
56
|
-
def id(self) -> str:
|
|
57
|
+
def id(self) -> builtins.str:
|
|
57
58
|
"""
|
|
58
59
|
The provider-assigned unique ID for this managed resource.
|
|
59
60
|
"""
|
|
@@ -61,12 +62,12 @@ class GetReservedIpv6Result:
|
|
|
61
62
|
|
|
62
63
|
@property
|
|
63
64
|
@pulumi.getter
|
|
64
|
-
def ip(self) -> str:
|
|
65
|
+
def ip(self) -> builtins.str:
|
|
65
66
|
return pulumi.get(self, "ip")
|
|
66
67
|
|
|
67
68
|
@property
|
|
68
69
|
@pulumi.getter(name="regionSlug")
|
|
69
|
-
def region_slug(self) -> str:
|
|
70
|
+
def region_slug(self) -> builtins.str:
|
|
70
71
|
"""
|
|
71
72
|
The region that the reserved IPv6 is reserved to.
|
|
72
73
|
"""
|
|
@@ -74,7 +75,7 @@ class GetReservedIpv6Result:
|
|
|
74
75
|
|
|
75
76
|
@property
|
|
76
77
|
@pulumi.getter
|
|
77
|
-
def urn(self) -> str:
|
|
78
|
+
def urn(self) -> builtins.str:
|
|
78
79
|
"""
|
|
79
80
|
The uniform resource name of the reserved IPv6.
|
|
80
81
|
"""
|
|
@@ -94,7 +95,7 @@ class AwaitableGetReservedIpv6Result(GetReservedIpv6Result):
|
|
|
94
95
|
urn=self.urn)
|
|
95
96
|
|
|
96
97
|
|
|
97
|
-
def get_reserved_ipv6(ip: Optional[str] = None,
|
|
98
|
+
def get_reserved_ipv6(ip: Optional[builtins.str] = None,
|
|
98
99
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetReservedIpv6Result:
|
|
99
100
|
"""
|
|
100
101
|
## Example Usage
|
|
@@ -110,7 +111,7 @@ def get_reserved_ipv6(ip: Optional[str] = None,
|
|
|
110
111
|
```
|
|
111
112
|
|
|
112
113
|
|
|
113
|
-
:param str ip: The allocated IPv6 address of the specific reserved IPv6 to retrieve.
|
|
114
|
+
:param builtins.str ip: The allocated IPv6 address of the specific reserved IPv6 to retrieve.
|
|
114
115
|
"""
|
|
115
116
|
__args__ = dict()
|
|
116
117
|
__args__['ip'] = ip
|
|
@@ -123,7 +124,7 @@ def get_reserved_ipv6(ip: Optional[str] = None,
|
|
|
123
124
|
ip=pulumi.get(__ret__, 'ip'),
|
|
124
125
|
region_slug=pulumi.get(__ret__, 'region_slug'),
|
|
125
126
|
urn=pulumi.get(__ret__, 'urn'))
|
|
126
|
-
def get_reserved_ipv6_output(ip: Optional[pulumi.Input[str]] = None,
|
|
127
|
+
def get_reserved_ipv6_output(ip: Optional[pulumi.Input[builtins.str]] = None,
|
|
127
128
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetReservedIpv6Result]:
|
|
128
129
|
"""
|
|
129
130
|
## Example Usage
|
|
@@ -139,7 +140,7 @@ def get_reserved_ipv6_output(ip: Optional[pulumi.Input[str]] = None,
|
|
|
139
140
|
```
|
|
140
141
|
|
|
141
142
|
|
|
142
|
-
:param str ip: The allocated IPv6 address of the specific reserved IPv6 to retrieve.
|
|
143
|
+
:param builtins.str ip: The allocated IPv6 address of the specific reserved IPv6 to retrieve.
|
|
143
144
|
"""
|
|
144
145
|
__args__ = dict()
|
|
145
146
|
__args__['ip'] = ip
|
pulumi_digitalocean/get_sizes.py
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
+
import builtins
|
|
5
6
|
import copy
|
|
6
7
|
import warnings
|
|
7
8
|
import sys
|
|
@@ -49,7 +50,7 @@ class GetSizesResult:
|
|
|
49
50
|
|
|
50
51
|
@property
|
|
51
52
|
@pulumi.getter
|
|
52
|
-
def id(self) -> str:
|
|
53
|
+
def id(self) -> builtins.str:
|
|
53
54
|
"""
|
|
54
55
|
The provider-assigned unique ID for this managed resource.
|
|
55
56
|
"""
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
+
import builtins
|
|
5
6
|
import copy
|
|
6
7
|
import warnings
|
|
7
8
|
import sys
|
|
@@ -48,7 +49,7 @@ class GetSpacesBucketResult:
|
|
|
48
49
|
|
|
49
50
|
@property
|
|
50
51
|
@pulumi.getter(name="bucketDomainName")
|
|
51
|
-
def bucket_domain_name(self) -> str:
|
|
52
|
+
def bucket_domain_name(self) -> builtins.str:
|
|
52
53
|
"""
|
|
53
54
|
The FQDN of the bucket (e.g. bucket-name.nyc3.digitaloceanspaces.com)
|
|
54
55
|
"""
|
|
@@ -56,7 +57,7 @@ class GetSpacesBucketResult:
|
|
|
56
57
|
|
|
57
58
|
@property
|
|
58
59
|
@pulumi.getter
|
|
59
|
-
def endpoint(self) -> str:
|
|
60
|
+
def endpoint(self) -> builtins.str:
|
|
60
61
|
"""
|
|
61
62
|
The FQDN of the bucket without the bucket name (e.g. nyc3.digitaloceanspaces.com)
|
|
62
63
|
"""
|
|
@@ -64,7 +65,7 @@ class GetSpacesBucketResult:
|
|
|
64
65
|
|
|
65
66
|
@property
|
|
66
67
|
@pulumi.getter
|
|
67
|
-
def id(self) -> str:
|
|
68
|
+
def id(self) -> builtins.str:
|
|
68
69
|
"""
|
|
69
70
|
The provider-assigned unique ID for this managed resource.
|
|
70
71
|
"""
|
|
@@ -72,7 +73,7 @@ class GetSpacesBucketResult:
|
|
|
72
73
|
|
|
73
74
|
@property
|
|
74
75
|
@pulumi.getter
|
|
75
|
-
def name(self) -> str:
|
|
76
|
+
def name(self) -> builtins.str:
|
|
76
77
|
"""
|
|
77
78
|
The name of the Spaces bucket
|
|
78
79
|
"""
|
|
@@ -80,7 +81,7 @@ class GetSpacesBucketResult:
|
|
|
80
81
|
|
|
81
82
|
@property
|
|
82
83
|
@pulumi.getter
|
|
83
|
-
def region(self) -> str:
|
|
84
|
+
def region(self) -> builtins.str:
|
|
84
85
|
"""
|
|
85
86
|
The slug of the region where the bucket is stored.
|
|
86
87
|
"""
|
|
@@ -88,7 +89,7 @@ class GetSpacesBucketResult:
|
|
|
88
89
|
|
|
89
90
|
@property
|
|
90
91
|
@pulumi.getter
|
|
91
|
-
def urn(self) -> str:
|
|
92
|
+
def urn(self) -> builtins.str:
|
|
92
93
|
"""
|
|
93
94
|
The uniform resource name of the bucket
|
|
94
95
|
"""
|
|
@@ -109,8 +110,8 @@ class AwaitableGetSpacesBucketResult(GetSpacesBucketResult):
|
|
|
109
110
|
urn=self.urn)
|
|
110
111
|
|
|
111
112
|
|
|
112
|
-
def get_spaces_bucket(name: Optional[str] = None,
|
|
113
|
-
region: Optional[str] = None,
|
|
113
|
+
def get_spaces_bucket(name: Optional[builtins.str] = None,
|
|
114
|
+
region: Optional[builtins.str] = None,
|
|
114
115
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSpacesBucketResult:
|
|
115
116
|
"""
|
|
116
117
|
Get information on a Spaces bucket for use in other resources. This is useful if the Spaces bucket in question
|
|
@@ -130,8 +131,8 @@ def get_spaces_bucket(name: Optional[str] = None,
|
|
|
130
131
|
```
|
|
131
132
|
|
|
132
133
|
|
|
133
|
-
:param str name: The name of the Spaces bucket.
|
|
134
|
-
:param str region: The slug of the region where the bucket is stored.
|
|
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.
|
|
135
136
|
"""
|
|
136
137
|
__args__ = dict()
|
|
137
138
|
__args__['name'] = name
|
|
@@ -146,8 +147,8 @@ def get_spaces_bucket(name: Optional[str] = None,
|
|
|
146
147
|
name=pulumi.get(__ret__, 'name'),
|
|
147
148
|
region=pulumi.get(__ret__, 'region'),
|
|
148
149
|
urn=pulumi.get(__ret__, 'urn'))
|
|
149
|
-
def get_spaces_bucket_output(name: Optional[pulumi.Input[str]] = None,
|
|
150
|
-
region: Optional[pulumi.Input[str]] = None,
|
|
150
|
+
def get_spaces_bucket_output(name: Optional[pulumi.Input[builtins.str]] = None,
|
|
151
|
+
region: Optional[pulumi.Input[builtins.str]] = None,
|
|
151
152
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetSpacesBucketResult]:
|
|
152
153
|
"""
|
|
153
154
|
Get information on a Spaces bucket for use in other resources. This is useful if the Spaces bucket in question
|
|
@@ -167,8 +168,8 @@ def get_spaces_bucket_output(name: Optional[pulumi.Input[str]] = None,
|
|
|
167
168
|
```
|
|
168
169
|
|
|
169
170
|
|
|
170
|
-
:param str name: The name of the Spaces bucket.
|
|
171
|
-
:param str region: The slug of the region where the bucket is stored.
|
|
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.
|
|
172
173
|
"""
|
|
173
174
|
__args__ = dict()
|
|
174
175
|
__args__['name'] = name
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
+
import builtins
|
|
5
6
|
import copy
|
|
6
7
|
import warnings
|
|
7
8
|
import sys
|
|
@@ -87,7 +88,7 @@ class GetSpacesBucketObjectResult:
|
|
|
87
88
|
|
|
88
89
|
@property
|
|
89
90
|
@pulumi.getter
|
|
90
|
-
def body(self) -> str:
|
|
91
|
+
def body(self) -> builtins.str:
|
|
91
92
|
"""
|
|
92
93
|
Object data (see **limitations above** to understand cases in which this field is actually available)
|
|
93
94
|
"""
|
|
@@ -95,12 +96,12 @@ class GetSpacesBucketObjectResult:
|
|
|
95
96
|
|
|
96
97
|
@property
|
|
97
98
|
@pulumi.getter
|
|
98
|
-
def bucket(self) -> str:
|
|
99
|
+
def bucket(self) -> builtins.str:
|
|
99
100
|
return pulumi.get(self, "bucket")
|
|
100
101
|
|
|
101
102
|
@property
|
|
102
103
|
@pulumi.getter(name="cacheControl")
|
|
103
|
-
def cache_control(self) -> str:
|
|
104
|
+
def cache_control(self) -> builtins.str:
|
|
104
105
|
"""
|
|
105
106
|
Specifies caching behavior along the request/reply chain.
|
|
106
107
|
"""
|
|
@@ -108,7 +109,7 @@ class GetSpacesBucketObjectResult:
|
|
|
108
109
|
|
|
109
110
|
@property
|
|
110
111
|
@pulumi.getter(name="contentDisposition")
|
|
111
|
-
def content_disposition(self) -> str:
|
|
112
|
+
def content_disposition(self) -> builtins.str:
|
|
112
113
|
"""
|
|
113
114
|
Specifies presentational information for the object.
|
|
114
115
|
"""
|
|
@@ -116,7 +117,7 @@ class GetSpacesBucketObjectResult:
|
|
|
116
117
|
|
|
117
118
|
@property
|
|
118
119
|
@pulumi.getter(name="contentEncoding")
|
|
119
|
-
def content_encoding(self) -> str:
|
|
120
|
+
def content_encoding(self) -> builtins.str:
|
|
120
121
|
"""
|
|
121
122
|
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.
|
|
122
123
|
"""
|
|
@@ -124,7 +125,7 @@ class GetSpacesBucketObjectResult:
|
|
|
124
125
|
|
|
125
126
|
@property
|
|
126
127
|
@pulumi.getter(name="contentLanguage")
|
|
127
|
-
def content_language(self) -> str:
|
|
128
|
+
def content_language(self) -> builtins.str:
|
|
128
129
|
"""
|
|
129
130
|
The language the content is in.
|
|
130
131
|
"""
|
|
@@ -132,7 +133,7 @@ class GetSpacesBucketObjectResult:
|
|
|
132
133
|
|
|
133
134
|
@property
|
|
134
135
|
@pulumi.getter(name="contentLength")
|
|
135
|
-
def content_length(self) -> int:
|
|
136
|
+
def content_length(self) -> builtins.int:
|
|
136
137
|
"""
|
|
137
138
|
Size of the body in bytes.
|
|
138
139
|
"""
|
|
@@ -140,7 +141,7 @@ class GetSpacesBucketObjectResult:
|
|
|
140
141
|
|
|
141
142
|
@property
|
|
142
143
|
@pulumi.getter(name="contentType")
|
|
143
|
-
def content_type(self) -> str:
|
|
144
|
+
def content_type(self) -> builtins.str:
|
|
144
145
|
"""
|
|
145
146
|
A standard MIME type describing the format of the object data.
|
|
146
147
|
"""
|
|
@@ -148,7 +149,7 @@ class GetSpacesBucketObjectResult:
|
|
|
148
149
|
|
|
149
150
|
@property
|
|
150
151
|
@pulumi.getter
|
|
151
|
-
def etag(self) -> str:
|
|
152
|
+
def etag(self) -> builtins.str:
|
|
152
153
|
"""
|
|
153
154
|
[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)
|
|
154
155
|
"""
|
|
@@ -156,7 +157,7 @@ class GetSpacesBucketObjectResult:
|
|
|
156
157
|
|
|
157
158
|
@property
|
|
158
159
|
@pulumi.getter
|
|
159
|
-
def expiration(self) -> str:
|
|
160
|
+
def expiration(self) -> builtins.str:
|
|
160
161
|
"""
|
|
161
162
|
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.
|
|
162
163
|
"""
|
|
@@ -164,7 +165,7 @@ class GetSpacesBucketObjectResult:
|
|
|
164
165
|
|
|
165
166
|
@property
|
|
166
167
|
@pulumi.getter
|
|
167
|
-
def expires(self) -> str:
|
|
168
|
+
def expires(self) -> builtins.str:
|
|
168
169
|
"""
|
|
169
170
|
The date and time at which the object is no longer cacheable.
|
|
170
171
|
"""
|
|
@@ -172,7 +173,7 @@ class GetSpacesBucketObjectResult:
|
|
|
172
173
|
|
|
173
174
|
@property
|
|
174
175
|
@pulumi.getter
|
|
175
|
-
def id(self) -> str:
|
|
176
|
+
def id(self) -> builtins.str:
|
|
176
177
|
"""
|
|
177
178
|
The provider-assigned unique ID for this managed resource.
|
|
178
179
|
"""
|
|
@@ -180,12 +181,12 @@ class GetSpacesBucketObjectResult:
|
|
|
180
181
|
|
|
181
182
|
@property
|
|
182
183
|
@pulumi.getter
|
|
183
|
-
def key(self) -> str:
|
|
184
|
+
def key(self) -> builtins.str:
|
|
184
185
|
return pulumi.get(self, "key")
|
|
185
186
|
|
|
186
187
|
@property
|
|
187
188
|
@pulumi.getter(name="lastModified")
|
|
188
|
-
def last_modified(self) -> str:
|
|
189
|
+
def last_modified(self) -> builtins.str:
|
|
189
190
|
"""
|
|
190
191
|
Last modified date of the object in RFC1123 format (e.g. `Mon, 02 Jan 2006 15:04:05 MST`)
|
|
191
192
|
"""
|
|
@@ -193,7 +194,7 @@ class GetSpacesBucketObjectResult:
|
|
|
193
194
|
|
|
194
195
|
@property
|
|
195
196
|
@pulumi.getter
|
|
196
|
-
def metadata(self) -> Mapping[str, str]:
|
|
197
|
+
def metadata(self) -> Mapping[str, builtins.str]:
|
|
197
198
|
"""
|
|
198
199
|
A map of metadata stored with the object in Spaces
|
|
199
200
|
"""
|
|
@@ -201,17 +202,17 @@ class GetSpacesBucketObjectResult:
|
|
|
201
202
|
|
|
202
203
|
@property
|
|
203
204
|
@pulumi.getter
|
|
204
|
-
def range(self) -> Optional[str]:
|
|
205
|
+
def range(self) -> Optional[builtins.str]:
|
|
205
206
|
return pulumi.get(self, "range")
|
|
206
207
|
|
|
207
208
|
@property
|
|
208
209
|
@pulumi.getter
|
|
209
|
-
def region(self) -> str:
|
|
210
|
+
def region(self) -> builtins.str:
|
|
210
211
|
return pulumi.get(self, "region")
|
|
211
212
|
|
|
212
213
|
@property
|
|
213
214
|
@pulumi.getter(name="versionId")
|
|
214
|
-
def version_id(self) -> str:
|
|
215
|
+
def version_id(self) -> builtins.str:
|
|
215
216
|
"""
|
|
216
217
|
The latest version ID of the object returned.
|
|
217
218
|
"""
|
|
@@ -219,7 +220,7 @@ class GetSpacesBucketObjectResult:
|
|
|
219
220
|
|
|
220
221
|
@property
|
|
221
222
|
@pulumi.getter(name="websiteRedirectLocation")
|
|
222
|
-
def website_redirect_location(self) -> str:
|
|
223
|
+
def website_redirect_location(self) -> builtins.str:
|
|
223
224
|
"""
|
|
224
225
|
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.
|
|
225
226
|
"""
|
|
@@ -253,11 +254,11 @@ class AwaitableGetSpacesBucketObjectResult(GetSpacesBucketObjectResult):
|
|
|
253
254
|
website_redirect_location=self.website_redirect_location)
|
|
254
255
|
|
|
255
256
|
|
|
256
|
-
def get_spaces_bucket_object(bucket: Optional[str] = None,
|
|
257
|
-
key: Optional[str] = None,
|
|
258
|
-
range: Optional[str] = None,
|
|
259
|
-
region: Optional[str] = None,
|
|
260
|
-
version_id: Optional[str] = None,
|
|
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,
|
|
261
262
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSpacesBucketObjectResult:
|
|
262
263
|
"""
|
|
263
264
|
The Spaces object data source allows access to the metadata and
|
|
@@ -288,10 +289,10 @@ def get_spaces_bucket_object(bucket: Optional[str] = None,
|
|
|
288
289
|
```
|
|
289
290
|
|
|
290
291
|
|
|
291
|
-
:param str bucket: The name of the bucket to read the object from.
|
|
292
|
-
:param str key: The full path to the object inside the bucket
|
|
293
|
-
:param str region: The slug of the region where the bucket is stored.
|
|
294
|
-
:param str version_id: Specific version ID of the object returned (defaults to latest version)
|
|
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)
|
|
295
296
|
"""
|
|
296
297
|
__args__ = dict()
|
|
297
298
|
__args__['bucket'] = bucket
|
|
@@ -322,11 +323,11 @@ def get_spaces_bucket_object(bucket: Optional[str] = None,
|
|
|
322
323
|
region=pulumi.get(__ret__, 'region'),
|
|
323
324
|
version_id=pulumi.get(__ret__, 'version_id'),
|
|
324
325
|
website_redirect_location=pulumi.get(__ret__, 'website_redirect_location'))
|
|
325
|
-
def get_spaces_bucket_object_output(bucket: Optional[pulumi.Input[str]] = None,
|
|
326
|
-
key: Optional[pulumi.Input[str]] = None,
|
|
327
|
-
range: Optional[pulumi.Input[Optional[str]]] = None,
|
|
328
|
-
region: Optional[pulumi.Input[str]] = None,
|
|
329
|
-
version_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
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,
|
|
330
331
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetSpacesBucketObjectResult]:
|
|
331
332
|
"""
|
|
332
333
|
The Spaces object data source allows access to the metadata and
|
|
@@ -357,10 +358,10 @@ def get_spaces_bucket_object_output(bucket: Optional[pulumi.Input[str]] = None,
|
|
|
357
358
|
```
|
|
358
359
|
|
|
359
360
|
|
|
360
|
-
:param str bucket: The name of the bucket to read the object from.
|
|
361
|
-
:param str key: The full path to the object inside the bucket
|
|
362
|
-
:param str region: The slug of the region where the bucket is stored.
|
|
363
|
-
:param str version_id: Specific version ID of the object returned (defaults to latest version)
|
|
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)
|
|
364
365
|
"""
|
|
365
366
|
__args__ = dict()
|
|
366
367
|
__args__['bucket'] = bucket
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
+
import builtins
|
|
5
6
|
import copy
|
|
6
7
|
import warnings
|
|
7
8
|
import sys
|
|
@@ -60,12 +61,12 @@ class GetSpacesBucketObjectsResult:
|
|
|
60
61
|
|
|
61
62
|
@property
|
|
62
63
|
@pulumi.getter
|
|
63
|
-
def bucket(self) -> str:
|
|
64
|
+
def bucket(self) -> builtins.str:
|
|
64
65
|
return pulumi.get(self, "bucket")
|
|
65
66
|
|
|
66
67
|
@property
|
|
67
68
|
@pulumi.getter(name="commonPrefixes")
|
|
68
|
-
def common_prefixes(self) -> Sequence[str]:
|
|
69
|
+
def common_prefixes(self) -> Sequence[builtins.str]:
|
|
69
70
|
"""
|
|
70
71
|
List of any keys between `prefix` and the next occurrence of `delimiter` (i.e., similar to subdirectories of the `prefix` "directory"); the list is only returned when you specify `delimiter`
|
|
71
72
|
"""
|
|
@@ -73,17 +74,17 @@ class GetSpacesBucketObjectsResult:
|
|
|
73
74
|
|
|
74
75
|
@property
|
|
75
76
|
@pulumi.getter
|
|
76
|
-
def delimiter(self) -> Optional[str]:
|
|
77
|
+
def delimiter(self) -> Optional[builtins.str]:
|
|
77
78
|
return pulumi.get(self, "delimiter")
|
|
78
79
|
|
|
79
80
|
@property
|
|
80
81
|
@pulumi.getter(name="encodingType")
|
|
81
|
-
def encoding_type(self) -> Optional[str]:
|
|
82
|
+
def encoding_type(self) -> Optional[builtins.str]:
|
|
82
83
|
return pulumi.get(self, "encoding_type")
|
|
83
84
|
|
|
84
85
|
@property
|
|
85
86
|
@pulumi.getter
|
|
86
|
-
def id(self) -> str:
|
|
87
|
+
def id(self) -> builtins.str:
|
|
87
88
|
"""
|
|
88
89
|
The provider-assigned unique ID for this managed resource.
|
|
89
90
|
"""
|
|
@@ -91,7 +92,7 @@ class GetSpacesBucketObjectsResult:
|
|
|
91
92
|
|
|
92
93
|
@property
|
|
93
94
|
@pulumi.getter
|
|
94
|
-
def keys(self) -> Sequence[str]:
|
|
95
|
+
def keys(self) -> Sequence[builtins.str]:
|
|
95
96
|
"""
|
|
96
97
|
List of strings representing object keys
|
|
97
98
|
"""
|
|
@@ -99,12 +100,12 @@ class GetSpacesBucketObjectsResult:
|
|
|
99
100
|
|
|
100
101
|
@property
|
|
101
102
|
@pulumi.getter(name="maxKeys")
|
|
102
|
-
def max_keys(self) -> Optional[int]:
|
|
103
|
+
def max_keys(self) -> Optional[builtins.int]:
|
|
103
104
|
return pulumi.get(self, "max_keys")
|
|
104
105
|
|
|
105
106
|
@property
|
|
106
107
|
@pulumi.getter
|
|
107
|
-
def owners(self) -> Sequence[str]:
|
|
108
|
+
def owners(self) -> Sequence[builtins.str]:
|
|
108
109
|
"""
|
|
109
110
|
List of strings representing object owner IDs
|
|
110
111
|
"""
|
|
@@ -112,12 +113,12 @@ class GetSpacesBucketObjectsResult:
|
|
|
112
113
|
|
|
113
114
|
@property
|
|
114
115
|
@pulumi.getter
|
|
115
|
-
def prefix(self) -> Optional[str]:
|
|
116
|
+
def prefix(self) -> Optional[builtins.str]:
|
|
116
117
|
return pulumi.get(self, "prefix")
|
|
117
118
|
|
|
118
119
|
@property
|
|
119
120
|
@pulumi.getter
|
|
120
|
-
def region(self) -> str:
|
|
121
|
+
def region(self) -> builtins.str:
|
|
121
122
|
return pulumi.get(self, "region")
|
|
122
123
|
|
|
123
124
|
|
|
@@ -139,12 +140,12 @@ class AwaitableGetSpacesBucketObjectsResult(GetSpacesBucketObjectsResult):
|
|
|
139
140
|
region=self.region)
|
|
140
141
|
|
|
141
142
|
|
|
142
|
-
def get_spaces_bucket_objects(bucket: Optional[str] = None,
|
|
143
|
-
delimiter: Optional[str] = None,
|
|
144
|
-
encoding_type: Optional[str] = None,
|
|
145
|
-
max_keys: Optional[int] = None,
|
|
146
|
-
prefix: Optional[str] = None,
|
|
147
|
-
region: Optional[str] = None,
|
|
143
|
+
def get_spaces_bucket_objects(bucket: Optional[builtins.str] = None,
|
|
144
|
+
delimiter: Optional[builtins.str] = None,
|
|
145
|
+
encoding_type: Optional[builtins.str] = None,
|
|
146
|
+
max_keys: Optional[builtins.int] = None,
|
|
147
|
+
prefix: Optional[builtins.str] = None,
|
|
148
|
+
region: Optional[builtins.str] = None,
|
|
148
149
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSpacesBucketObjectsResult:
|
|
149
150
|
"""
|
|
150
151
|
> **NOTE on `max_keys`:** Retrieving very large numbers of keys can adversely affect the provider's performance.
|
|
@@ -152,12 +153,12 @@ def get_spaces_bucket_objects(bucket: Optional[str] = None,
|
|
|
152
153
|
The bucket-objects data source returns keys (i.e., file names) and other metadata about objects in a Spaces bucket.
|
|
153
154
|
|
|
154
155
|
|
|
155
|
-
:param str bucket: Lists object keys in this Spaces bucket
|
|
156
|
-
:param str delimiter: A character used to group keys (Default: none)
|
|
157
|
-
:param str encoding_type: Encodes keys using this method (Default: none; besides none, only "url" can be used)
|
|
158
|
-
:param int max_keys: Maximum object keys to return (Default: 1000)
|
|
159
|
-
:param str prefix: Limits results to object keys with this prefix (Default: none)
|
|
160
|
-
:param str region: The slug of the region where the bucket is stored.
|
|
156
|
+
:param builtins.str bucket: Lists object keys in this Spaces bucket
|
|
157
|
+
:param builtins.str delimiter: A character used to group keys (Default: none)
|
|
158
|
+
:param builtins.str encoding_type: Encodes keys using this method (Default: none; besides none, only "url" can be used)
|
|
159
|
+
:param builtins.int max_keys: Maximum object keys to return (Default: 1000)
|
|
160
|
+
:param builtins.str prefix: Limits results to object keys with this prefix (Default: none)
|
|
161
|
+
:param builtins.str region: The slug of the region where the bucket is stored.
|
|
161
162
|
"""
|
|
162
163
|
__args__ = dict()
|
|
163
164
|
__args__['bucket'] = bucket
|
|
@@ -180,12 +181,12 @@ def get_spaces_bucket_objects(bucket: Optional[str] = None,
|
|
|
180
181
|
owners=pulumi.get(__ret__, 'owners'),
|
|
181
182
|
prefix=pulumi.get(__ret__, 'prefix'),
|
|
182
183
|
region=pulumi.get(__ret__, 'region'))
|
|
183
|
-
def get_spaces_bucket_objects_output(bucket: Optional[pulumi.Input[str]] = None,
|
|
184
|
-
delimiter: Optional[pulumi.Input[Optional[str]]] = None,
|
|
185
|
-
encoding_type: Optional[pulumi.Input[Optional[str]]] = None,
|
|
186
|
-
max_keys: Optional[pulumi.Input[Optional[int]]] = None,
|
|
187
|
-
prefix: Optional[pulumi.Input[Optional[str]]] = None,
|
|
188
|
-
region: Optional[pulumi.Input[str]] = None,
|
|
184
|
+
def get_spaces_bucket_objects_output(bucket: Optional[pulumi.Input[builtins.str]] = None,
|
|
185
|
+
delimiter: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
186
|
+
encoding_type: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
187
|
+
max_keys: Optional[pulumi.Input[Optional[builtins.int]]] = None,
|
|
188
|
+
prefix: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
189
|
+
region: Optional[pulumi.Input[builtins.str]] = None,
|
|
189
190
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetSpacesBucketObjectsResult]:
|
|
190
191
|
"""
|
|
191
192
|
> **NOTE on `max_keys`:** Retrieving very large numbers of keys can adversely affect the provider's performance.
|
|
@@ -193,12 +194,12 @@ def get_spaces_bucket_objects_output(bucket: Optional[pulumi.Input[str]] = None,
|
|
|
193
194
|
The bucket-objects data source returns keys (i.e., file names) and other metadata about objects in a Spaces bucket.
|
|
194
195
|
|
|
195
196
|
|
|
196
|
-
:param str bucket: Lists object keys in this Spaces bucket
|
|
197
|
-
:param str delimiter: A character used to group keys (Default: none)
|
|
198
|
-
:param str encoding_type: Encodes keys using this method (Default: none; besides none, only "url" can be used)
|
|
199
|
-
:param int max_keys: Maximum object keys to return (Default: 1000)
|
|
200
|
-
:param str prefix: Limits results to object keys with this prefix (Default: none)
|
|
201
|
-
:param str region: The slug of the region where the bucket is stored.
|
|
197
|
+
:param builtins.str bucket: Lists object keys in this Spaces bucket
|
|
198
|
+
:param builtins.str delimiter: A character used to group keys (Default: none)
|
|
199
|
+
:param builtins.str encoding_type: Encodes keys using this method (Default: none; besides none, only "url" can be used)
|
|
200
|
+
:param builtins.int max_keys: Maximum object keys to return (Default: 1000)
|
|
201
|
+
:param builtins.str prefix: Limits results to object keys with this prefix (Default: none)
|
|
202
|
+
:param builtins.str region: The slug of the region where the bucket is stored.
|
|
202
203
|
"""
|
|
203
204
|
__args__ = dict()
|
|
204
205
|
__args__['bucket'] = bucket
|