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
|
|
@@ -63,7 +64,7 @@ class GetVolumeSnapshotResult:
|
|
|
63
64
|
|
|
64
65
|
@property
|
|
65
66
|
@pulumi.getter(name="createdAt")
|
|
66
|
-
def created_at(self) -> str:
|
|
67
|
+
def created_at(self) -> builtins.str:
|
|
67
68
|
"""
|
|
68
69
|
The date and time the volume snapshot was created.
|
|
69
70
|
"""
|
|
@@ -71,7 +72,7 @@ class GetVolumeSnapshotResult:
|
|
|
71
72
|
|
|
72
73
|
@property
|
|
73
74
|
@pulumi.getter
|
|
74
|
-
def id(self) -> str:
|
|
75
|
+
def id(self) -> builtins.str:
|
|
75
76
|
"""
|
|
76
77
|
The provider-assigned unique ID for this managed resource.
|
|
77
78
|
"""
|
|
@@ -79,7 +80,7 @@ class GetVolumeSnapshotResult:
|
|
|
79
80
|
|
|
80
81
|
@property
|
|
81
82
|
@pulumi.getter(name="minDiskSize")
|
|
82
|
-
def min_disk_size(self) -> int:
|
|
83
|
+
def min_disk_size(self) -> builtins.int:
|
|
83
84
|
"""
|
|
84
85
|
The minimum size in gigabytes required for a volume to be created based on this volume snapshot.
|
|
85
86
|
"""
|
|
@@ -87,27 +88,27 @@ class GetVolumeSnapshotResult:
|
|
|
87
88
|
|
|
88
89
|
@property
|
|
89
90
|
@pulumi.getter(name="mostRecent")
|
|
90
|
-
def most_recent(self) -> Optional[bool]:
|
|
91
|
+
def most_recent(self) -> Optional[builtins.bool]:
|
|
91
92
|
return pulumi.get(self, "most_recent")
|
|
92
93
|
|
|
93
94
|
@property
|
|
94
95
|
@pulumi.getter
|
|
95
|
-
def name(self) -> Optional[str]:
|
|
96
|
+
def name(self) -> Optional[builtins.str]:
|
|
96
97
|
return pulumi.get(self, "name")
|
|
97
98
|
|
|
98
99
|
@property
|
|
99
100
|
@pulumi.getter(name="nameRegex")
|
|
100
|
-
def name_regex(self) -> Optional[str]:
|
|
101
|
+
def name_regex(self) -> Optional[builtins.str]:
|
|
101
102
|
return pulumi.get(self, "name_regex")
|
|
102
103
|
|
|
103
104
|
@property
|
|
104
105
|
@pulumi.getter
|
|
105
|
-
def region(self) -> Optional[str]:
|
|
106
|
+
def region(self) -> Optional[builtins.str]:
|
|
106
107
|
return pulumi.get(self, "region")
|
|
107
108
|
|
|
108
109
|
@property
|
|
109
110
|
@pulumi.getter
|
|
110
|
-
def regions(self) -> Sequence[str]:
|
|
111
|
+
def regions(self) -> Sequence[builtins.str]:
|
|
111
112
|
"""
|
|
112
113
|
A list of DigitalOcean region "slugs" indicating where the volume snapshot is available.
|
|
113
114
|
"""
|
|
@@ -115,7 +116,7 @@ class GetVolumeSnapshotResult:
|
|
|
115
116
|
|
|
116
117
|
@property
|
|
117
118
|
@pulumi.getter
|
|
118
|
-
def size(self) -> float:
|
|
119
|
+
def size(self) -> builtins.float:
|
|
119
120
|
"""
|
|
120
121
|
The billable size of the volume snapshot in gigabytes.
|
|
121
122
|
"""
|
|
@@ -123,7 +124,7 @@ class GetVolumeSnapshotResult:
|
|
|
123
124
|
|
|
124
125
|
@property
|
|
125
126
|
@pulumi.getter
|
|
126
|
-
def tags(self) -> Sequence[str]:
|
|
127
|
+
def tags(self) -> Sequence[builtins.str]:
|
|
127
128
|
"""
|
|
128
129
|
A list of the tags associated to the volume snapshot.
|
|
129
130
|
"""
|
|
@@ -131,7 +132,7 @@ class GetVolumeSnapshotResult:
|
|
|
131
132
|
|
|
132
133
|
@property
|
|
133
134
|
@pulumi.getter(name="volumeId")
|
|
134
|
-
def volume_id(self) -> str:
|
|
135
|
+
def volume_id(self) -> builtins.str:
|
|
135
136
|
"""
|
|
136
137
|
The ID of the volume from which the volume snapshot originated.
|
|
137
138
|
"""
|
|
@@ -157,10 +158,10 @@ class AwaitableGetVolumeSnapshotResult(GetVolumeSnapshotResult):
|
|
|
157
158
|
volume_id=self.volume_id)
|
|
158
159
|
|
|
159
160
|
|
|
160
|
-
def get_volume_snapshot(most_recent: Optional[bool] = None,
|
|
161
|
-
name: Optional[str] = None,
|
|
162
|
-
name_regex: Optional[str] = None,
|
|
163
|
-
region: Optional[str] = None,
|
|
161
|
+
def get_volume_snapshot(most_recent: Optional[builtins.bool] = None,
|
|
162
|
+
name: Optional[builtins.str] = None,
|
|
163
|
+
name_regex: Optional[builtins.str] = None,
|
|
164
|
+
region: Optional[builtins.str] = None,
|
|
164
165
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetVolumeSnapshotResult:
|
|
165
166
|
"""
|
|
166
167
|
Volume snapshots are saved instances of a block storage volume. Use this data
|
|
@@ -197,14 +198,14 @@ def get_volume_snapshot(most_recent: Optional[bool] = None,
|
|
|
197
198
|
```
|
|
198
199
|
|
|
199
200
|
|
|
200
|
-
:param bool most_recent: If more than one result is returned, use the most recent volume snapshot.
|
|
201
|
+
:param builtins.bool most_recent: If more than one result is returned, use the most recent volume snapshot.
|
|
201
202
|
|
|
202
203
|
> **NOTE:** If more or less than a single match is returned by the search,
|
|
203
204
|
the provider will fail. Ensure that your search is specific enough to return
|
|
204
205
|
a single volume snapshot ID only, or use `most_recent` to choose the most recent one.
|
|
205
|
-
:param str name: The name of the volume snapshot.
|
|
206
|
-
:param str name_regex: A regex string to apply to the volume snapshot list returned by DigitalOcean. This allows more advanced filtering not supported from the DigitalOcean API. This filtering is done locally on what DigitalOcean returns.
|
|
207
|
-
:param str region: A "slug" representing a DigitalOcean region (e.g. `nyc1`). If set, only volume snapshots available in the region will be returned.
|
|
206
|
+
:param builtins.str name: The name of the volume snapshot.
|
|
207
|
+
:param builtins.str name_regex: A regex string to apply to the volume snapshot list returned by DigitalOcean. This allows more advanced filtering not supported from the DigitalOcean API. This filtering is done locally on what DigitalOcean returns.
|
|
208
|
+
:param builtins.str region: A "slug" representing a DigitalOcean region (e.g. `nyc1`). If set, only volume snapshots available in the region will be returned.
|
|
208
209
|
"""
|
|
209
210
|
__args__ = dict()
|
|
210
211
|
__args__['mostRecent'] = most_recent
|
|
@@ -226,10 +227,10 @@ def get_volume_snapshot(most_recent: Optional[bool] = None,
|
|
|
226
227
|
size=pulumi.get(__ret__, 'size'),
|
|
227
228
|
tags=pulumi.get(__ret__, 'tags'),
|
|
228
229
|
volume_id=pulumi.get(__ret__, 'volume_id'))
|
|
229
|
-
def get_volume_snapshot_output(most_recent: Optional[pulumi.Input[Optional[bool]]] = None,
|
|
230
|
-
name: Optional[pulumi.Input[Optional[str]]] = None,
|
|
231
|
-
name_regex: Optional[pulumi.Input[Optional[str]]] = None,
|
|
232
|
-
region: Optional[pulumi.Input[Optional[str]]] = None,
|
|
230
|
+
def get_volume_snapshot_output(most_recent: Optional[pulumi.Input[Optional[builtins.bool]]] = None,
|
|
231
|
+
name: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
232
|
+
name_regex: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
233
|
+
region: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
233
234
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetVolumeSnapshotResult]:
|
|
234
235
|
"""
|
|
235
236
|
Volume snapshots are saved instances of a block storage volume. Use this data
|
|
@@ -266,14 +267,14 @@ def get_volume_snapshot_output(most_recent: Optional[pulumi.Input[Optional[bool]
|
|
|
266
267
|
```
|
|
267
268
|
|
|
268
269
|
|
|
269
|
-
:param bool most_recent: If more than one result is returned, use the most recent volume snapshot.
|
|
270
|
+
:param builtins.bool most_recent: If more than one result is returned, use the most recent volume snapshot.
|
|
270
271
|
|
|
271
272
|
> **NOTE:** If more or less than a single match is returned by the search,
|
|
272
273
|
the provider will fail. Ensure that your search is specific enough to return
|
|
273
274
|
a single volume snapshot ID only, or use `most_recent` to choose the most recent one.
|
|
274
|
-
:param str name: The name of the volume snapshot.
|
|
275
|
-
:param str name_regex: A regex string to apply to the volume snapshot list returned by DigitalOcean. This allows more advanced filtering not supported from the DigitalOcean API. This filtering is done locally on what DigitalOcean returns.
|
|
276
|
-
:param str region: A "slug" representing a DigitalOcean region (e.g. `nyc1`). If set, only volume snapshots available in the region will be returned.
|
|
275
|
+
:param builtins.str name: The name of the volume snapshot.
|
|
276
|
+
:param builtins.str name_regex: A regex string to apply to the volume snapshot list returned by DigitalOcean. This allows more advanced filtering not supported from the DigitalOcean API. This filtering is done locally on what DigitalOcean returns.
|
|
277
|
+
:param builtins.str region: A "slug" representing a DigitalOcean region (e.g. `nyc1`). If set, only volume snapshots available in the region will be returned.
|
|
277
278
|
"""
|
|
278
279
|
__args__ = dict()
|
|
279
280
|
__args__['mostRecent'] = most_recent
|
pulumi_digitalocean/get_vpc.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
|
|
@@ -54,7 +55,7 @@ class GetVpcResult:
|
|
|
54
55
|
|
|
55
56
|
@property
|
|
56
57
|
@pulumi.getter(name="createdAt")
|
|
57
|
-
def created_at(self) -> str:
|
|
58
|
+
def created_at(self) -> builtins.str:
|
|
58
59
|
"""
|
|
59
60
|
The date and time of when the VPC was created.
|
|
60
61
|
"""
|
|
@@ -62,7 +63,7 @@ class GetVpcResult:
|
|
|
62
63
|
|
|
63
64
|
@property
|
|
64
65
|
@pulumi.getter
|
|
65
|
-
def default(self) -> bool:
|
|
66
|
+
def default(self) -> builtins.bool:
|
|
66
67
|
"""
|
|
67
68
|
A boolean indicating whether or not the VPC is the default one for the region.
|
|
68
69
|
"""
|
|
@@ -70,7 +71,7 @@ class GetVpcResult:
|
|
|
70
71
|
|
|
71
72
|
@property
|
|
72
73
|
@pulumi.getter
|
|
73
|
-
def description(self) -> str:
|
|
74
|
+
def description(self) -> builtins.str:
|
|
74
75
|
"""
|
|
75
76
|
A free-form text field describing the VPC.
|
|
76
77
|
"""
|
|
@@ -78,7 +79,7 @@ class GetVpcResult:
|
|
|
78
79
|
|
|
79
80
|
@property
|
|
80
81
|
@pulumi.getter
|
|
81
|
-
def id(self) -> str:
|
|
82
|
+
def id(self) -> builtins.str:
|
|
82
83
|
"""
|
|
83
84
|
The unique identifier for the VPC.
|
|
84
85
|
"""
|
|
@@ -86,7 +87,7 @@ class GetVpcResult:
|
|
|
86
87
|
|
|
87
88
|
@property
|
|
88
89
|
@pulumi.getter(name="ipRange")
|
|
89
|
-
def ip_range(self) -> str:
|
|
90
|
+
def ip_range(self) -> builtins.str:
|
|
90
91
|
"""
|
|
91
92
|
The range of IP addresses for the VPC in CIDR notation.
|
|
92
93
|
"""
|
|
@@ -94,7 +95,7 @@ class GetVpcResult:
|
|
|
94
95
|
|
|
95
96
|
@property
|
|
96
97
|
@pulumi.getter
|
|
97
|
-
def name(self) -> str:
|
|
98
|
+
def name(self) -> builtins.str:
|
|
98
99
|
"""
|
|
99
100
|
The name of the VPC.
|
|
100
101
|
"""
|
|
@@ -102,7 +103,7 @@ class GetVpcResult:
|
|
|
102
103
|
|
|
103
104
|
@property
|
|
104
105
|
@pulumi.getter
|
|
105
|
-
def region(self) -> str:
|
|
106
|
+
def region(self) -> builtins.str:
|
|
106
107
|
"""
|
|
107
108
|
The DigitalOcean region slug for the VPC's location.
|
|
108
109
|
"""
|
|
@@ -110,7 +111,7 @@ class GetVpcResult:
|
|
|
110
111
|
|
|
111
112
|
@property
|
|
112
113
|
@pulumi.getter
|
|
113
|
-
def urn(self) -> str:
|
|
114
|
+
def urn(self) -> builtins.str:
|
|
114
115
|
"""
|
|
115
116
|
The uniform resource name (URN) for the VPC.
|
|
116
117
|
"""
|
|
@@ -133,9 +134,9 @@ class AwaitableGetVpcResult(GetVpcResult):
|
|
|
133
134
|
urn=self.urn)
|
|
134
135
|
|
|
135
136
|
|
|
136
|
-
def get_vpc(id: Optional[str] = None,
|
|
137
|
-
name: Optional[str] = None,
|
|
138
|
-
region: Optional[str] = None,
|
|
137
|
+
def get_vpc(id: Optional[builtins.str] = None,
|
|
138
|
+
name: Optional[builtins.str] = None,
|
|
139
|
+
region: Optional[builtins.str] = None,
|
|
139
140
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetVpcResult:
|
|
140
141
|
"""
|
|
141
142
|
Retrieve information about a VPC for use in other resources.
|
|
@@ -174,9 +175,9 @@ def get_vpc(id: Optional[str] = None,
|
|
|
174
175
|
```
|
|
175
176
|
|
|
176
177
|
|
|
177
|
-
:param str id: The unique identifier of an existing VPC.
|
|
178
|
-
:param str name: The name of an existing VPC.
|
|
179
|
-
:param str region: The DigitalOcean region slug for the VPC's location.
|
|
178
|
+
:param builtins.str id: The unique identifier of an existing VPC.
|
|
179
|
+
:param builtins.str name: The name of an existing VPC.
|
|
180
|
+
:param builtins.str region: The DigitalOcean region slug for the VPC's location.
|
|
180
181
|
"""
|
|
181
182
|
__args__ = dict()
|
|
182
183
|
__args__['id'] = id
|
|
@@ -194,9 +195,9 @@ def get_vpc(id: Optional[str] = None,
|
|
|
194
195
|
name=pulumi.get(__ret__, 'name'),
|
|
195
196
|
region=pulumi.get(__ret__, 'region'),
|
|
196
197
|
urn=pulumi.get(__ret__, 'urn'))
|
|
197
|
-
def get_vpc_output(id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
198
|
-
name: Optional[pulumi.Input[Optional[str]]] = None,
|
|
199
|
-
region: Optional[pulumi.Input[Optional[str]]] = None,
|
|
198
|
+
def get_vpc_output(id: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
199
|
+
name: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
200
|
+
region: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
200
201
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetVpcResult]:
|
|
201
202
|
"""
|
|
202
203
|
Retrieve information about a VPC for use in other resources.
|
|
@@ -235,9 +236,9 @@ def get_vpc_output(id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
|
235
236
|
```
|
|
236
237
|
|
|
237
238
|
|
|
238
|
-
:param str id: The unique identifier of an existing VPC.
|
|
239
|
-
:param str name: The name of an existing VPC.
|
|
240
|
-
:param str region: The DigitalOcean region slug for the VPC's location.
|
|
239
|
+
:param builtins.str id: The unique identifier of an existing VPC.
|
|
240
|
+
:param builtins.str name: The name of an existing VPC.
|
|
241
|
+
:param builtins.str region: The DigitalOcean region slug for the VPC's location.
|
|
241
242
|
"""
|
|
242
243
|
__args__ = dict()
|
|
243
244
|
__args__['id'] = id
|
|
@@ -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 GetVpcPeeringResult:
|
|
|
45
46
|
|
|
46
47
|
@property
|
|
47
48
|
@pulumi.getter(name="createdAt")
|
|
48
|
-
def created_at(self) -> str:
|
|
49
|
+
def created_at(self) -> builtins.str:
|
|
49
50
|
"""
|
|
50
51
|
The date and time of when the VPC Peering was created.
|
|
51
52
|
"""
|
|
@@ -53,7 +54,7 @@ class GetVpcPeeringResult:
|
|
|
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 unique identifier for the VPC Peering.
|
|
59
60
|
"""
|
|
@@ -61,7 +62,7 @@ class GetVpcPeeringResult:
|
|
|
61
62
|
|
|
62
63
|
@property
|
|
63
64
|
@pulumi.getter
|
|
64
|
-
def name(self) -> str:
|
|
65
|
+
def name(self) -> builtins.str:
|
|
65
66
|
"""
|
|
66
67
|
The name of the VPC Peering.
|
|
67
68
|
"""
|
|
@@ -69,7 +70,7 @@ class GetVpcPeeringResult:
|
|
|
69
70
|
|
|
70
71
|
@property
|
|
71
72
|
@pulumi.getter
|
|
72
|
-
def status(self) -> str:
|
|
73
|
+
def status(self) -> builtins.str:
|
|
73
74
|
"""
|
|
74
75
|
The status of the VPC Peering.
|
|
75
76
|
"""
|
|
@@ -77,7 +78,7 @@ class GetVpcPeeringResult:
|
|
|
77
78
|
|
|
78
79
|
@property
|
|
79
80
|
@pulumi.getter(name="vpcIds")
|
|
80
|
-
def vpc_ids(self) -> Sequence[str]:
|
|
81
|
+
def vpc_ids(self) -> Sequence[builtins.str]:
|
|
81
82
|
"""
|
|
82
83
|
The list of VPC IDs involved in the peering.
|
|
83
84
|
"""
|
|
@@ -97,9 +98,9 @@ class AwaitableGetVpcPeeringResult(GetVpcPeeringResult):
|
|
|
97
98
|
vpc_ids=self.vpc_ids)
|
|
98
99
|
|
|
99
100
|
|
|
100
|
-
def get_vpc_peering(id: Optional[str] = None,
|
|
101
|
-
name: Optional[str] = None,
|
|
102
|
-
vpc_ids: Optional[Sequence[str]] = None,
|
|
101
|
+
def get_vpc_peering(id: Optional[builtins.str] = None,
|
|
102
|
+
name: Optional[builtins.str] = None,
|
|
103
|
+
vpc_ids: Optional[Sequence[builtins.str]] = None,
|
|
103
104
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetVpcPeeringResult:
|
|
104
105
|
"""
|
|
105
106
|
## Example Usage
|
|
@@ -153,9 +154,9 @@ def get_vpc_peering(id: Optional[str] = None,
|
|
|
153
154
|
```
|
|
154
155
|
|
|
155
156
|
|
|
156
|
-
:param str id: The unique identifier of an existing VPC Peering.
|
|
157
|
-
:param str name: The name of an existing VPC Peering.
|
|
158
|
-
:param Sequence[str] vpc_ids: The list of VPC IDs involved in the peering.
|
|
157
|
+
:param builtins.str id: The unique identifier of an existing VPC Peering.
|
|
158
|
+
:param builtins.str name: The name of an existing VPC Peering.
|
|
159
|
+
:param Sequence[builtins.str] vpc_ids: The list of VPC IDs involved in the peering.
|
|
159
160
|
"""
|
|
160
161
|
__args__ = dict()
|
|
161
162
|
__args__['id'] = id
|
|
@@ -170,9 +171,9 @@ def get_vpc_peering(id: Optional[str] = None,
|
|
|
170
171
|
name=pulumi.get(__ret__, 'name'),
|
|
171
172
|
status=pulumi.get(__ret__, 'status'),
|
|
172
173
|
vpc_ids=pulumi.get(__ret__, 'vpc_ids'))
|
|
173
|
-
def get_vpc_peering_output(id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
174
|
-
name: Optional[pulumi.Input[Optional[str]]] = None,
|
|
175
|
-
vpc_ids: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
|
|
174
|
+
def get_vpc_peering_output(id: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
175
|
+
name: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
176
|
+
vpc_ids: Optional[pulumi.Input[Optional[Sequence[builtins.str]]]] = None,
|
|
176
177
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetVpcPeeringResult]:
|
|
177
178
|
"""
|
|
178
179
|
## Example Usage
|
|
@@ -226,9 +227,9 @@ def get_vpc_peering_output(id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
|
226
227
|
```
|
|
227
228
|
|
|
228
229
|
|
|
229
|
-
:param str id: The unique identifier of an existing VPC Peering.
|
|
230
|
-
:param str name: The name of an existing VPC Peering.
|
|
231
|
-
:param Sequence[str] vpc_ids: The list of VPC IDs involved in the peering.
|
|
230
|
+
:param builtins.str id: The unique identifier of an existing VPC Peering.
|
|
231
|
+
:param builtins.str name: The name of an existing VPC Peering.
|
|
232
|
+
:param Sequence[builtins.str] vpc_ids: The list of VPC IDs involved in the peering.
|
|
232
233
|
"""
|
|
233
234
|
__args__ = dict()
|
|
234
235
|
__args__['id'] = id
|