pulumi-digitalocean 4.42.0a1743572464__py3-none-any.whl → 4.42.0a1744183362__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.

Files changed (109) hide show
  1. pulumi_digitalocean/__init__.py +1 -0
  2. pulumi_digitalocean/_enums.py +10 -8
  3. pulumi_digitalocean/_inputs.py +2714 -2713
  4. pulumi_digitalocean/app.py +64 -63
  5. pulumi_digitalocean/cdn.py +85 -84
  6. pulumi_digitalocean/certificate.py +111 -110
  7. pulumi_digitalocean/config/__init__.py +1 -0
  8. pulumi_digitalocean/config/__init__.pyi +1 -0
  9. pulumi_digitalocean/config/vars.py +1 -0
  10. pulumi_digitalocean/container_registry.py +71 -70
  11. pulumi_digitalocean/container_registry_docker_credentials.py +57 -56
  12. pulumi_digitalocean/custom_image.py +141 -140
  13. pulumi_digitalocean/database_cluster.py +274 -273
  14. pulumi_digitalocean/database_connection_pool.py +127 -126
  15. pulumi_digitalocean/database_db.py +29 -28
  16. pulumi_digitalocean/database_firewall.py +15 -14
  17. pulumi_digitalocean/database_kafka_config.py +253 -252
  18. pulumi_digitalocean/database_kafka_topic.py +64 -63
  19. pulumi_digitalocean/database_mongodb_config.py +85 -84
  20. pulumi_digitalocean/database_mysql_config.py +393 -392
  21. pulumi_digitalocean/database_opensearch_config.py +547 -546
  22. pulumi_digitalocean/database_postgresql_config.py +701 -700
  23. pulumi_digitalocean/database_redis_config.py +169 -168
  24. pulumi_digitalocean/database_replica.py +158 -157
  25. pulumi_digitalocean/database_user.py +71 -70
  26. pulumi_digitalocean/dns_record.py +148 -147
  27. pulumi_digitalocean/domain.py +43 -42
  28. pulumi_digitalocean/droplet.py +312 -311
  29. pulumi_digitalocean/droplet_autoscale.py +36 -35
  30. pulumi_digitalocean/droplet_snapshot.py +57 -56
  31. pulumi_digitalocean/firewall.py +57 -56
  32. pulumi_digitalocean/floating_ip.py +50 -49
  33. pulumi_digitalocean/floating_ip_assignment.py +29 -28
  34. pulumi_digitalocean/get_account.py +9 -8
  35. pulumi_digitalocean/get_app.py +15 -14
  36. pulumi_digitalocean/get_certificate.py +13 -12
  37. pulumi_digitalocean/get_container_registry.py +13 -12
  38. pulumi_digitalocean/get_database_ca.py +8 -7
  39. pulumi_digitalocean/get_database_cluster.py +33 -32
  40. pulumi_digitalocean/get_database_connection_pool.py +22 -21
  41. pulumi_digitalocean/get_database_replica.py +29 -28
  42. pulumi_digitalocean/get_database_user.py +17 -16
  43. pulumi_digitalocean/get_domain.py +10 -9
  44. pulumi_digitalocean/get_domains.py +2 -1
  45. pulumi_digitalocean/get_droplet.py +44 -43
  46. pulumi_digitalocean/get_droplet_autoscale.py +14 -13
  47. pulumi_digitalocean/get_droplet_snapshot.py +27 -26
  48. pulumi_digitalocean/get_droplets.py +7 -6
  49. pulumi_digitalocean/get_firewall.py +20 -19
  50. pulumi_digitalocean/get_floating_ip.py +10 -9
  51. pulumi_digitalocean/get_image.py +33 -32
  52. pulumi_digitalocean/get_images.py +2 -1
  53. pulumi_digitalocean/get_kubernetes_cluster.py +29 -28
  54. pulumi_digitalocean/get_kubernetes_versions.py +9 -8
  55. pulumi_digitalocean/get_load_balancer.py +31 -30
  56. pulumi_digitalocean/get_project.py +20 -19
  57. pulumi_digitalocean/get_projects.py +2 -1
  58. pulumi_digitalocean/get_record.py +20 -19
  59. pulumi_digitalocean/get_records.py +7 -6
  60. pulumi_digitalocean/get_region.py +11 -10
  61. pulumi_digitalocean/get_regions.py +2 -1
  62. pulumi_digitalocean/get_reserved_ip.py +10 -9
  63. pulumi_digitalocean/get_reserved_ipv6.py +10 -9
  64. pulumi_digitalocean/get_sizes.py +2 -1
  65. pulumi_digitalocean/get_spaces_bucket.py +15 -14
  66. pulumi_digitalocean/get_spaces_bucket_object.py +38 -37
  67. pulumi_digitalocean/get_spaces_bucket_objects.py +35 -34
  68. pulumi_digitalocean/get_spaces_buckets.py +2 -1
  69. pulumi_digitalocean/get_spaces_key.py +9 -8
  70. pulumi_digitalocean/get_ssh_key.py +9 -8
  71. pulumi_digitalocean/get_ssh_keys.py +2 -1
  72. pulumi_digitalocean/get_tag.py +13 -12
  73. pulumi_digitalocean/get_tags.py +2 -1
  74. pulumi_digitalocean/get_volume.py +23 -22
  75. pulumi_digitalocean/get_volume_snapshot.py +28 -27
  76. pulumi_digitalocean/get_vpc.py +21 -20
  77. pulumi_digitalocean/get_vpc_peering.py +18 -17
  78. pulumi_digitalocean/kubernetes_cluster.py +225 -224
  79. pulumi_digitalocean/kubernetes_node_pool.py +134 -133
  80. pulumi_digitalocean/load_balancer.py +277 -276
  81. pulumi_digitalocean/monitor_alert.py +120 -119
  82. pulumi_digitalocean/outputs.py +3008 -3007
  83. pulumi_digitalocean/project.py +113 -112
  84. pulumi_digitalocean/project_resources.py +29 -28
  85. pulumi_digitalocean/provider.py +69 -68
  86. pulumi_digitalocean/pulumi-plugin.json +1 -1
  87. pulumi_digitalocean/reserved_ip.py +50 -49
  88. pulumi_digitalocean/reserved_ip_assignment.py +29 -28
  89. pulumi_digitalocean/reserved_ipv6.py +44 -43
  90. pulumi_digitalocean/reserved_ipv6_assignment.py +29 -28
  91. pulumi_digitalocean/spaces_bucket.py +78 -77
  92. pulumi_digitalocean/spaces_bucket_cors_configuration.py +29 -28
  93. pulumi_digitalocean/spaces_bucket_object.py +232 -231
  94. pulumi_digitalocean/spaces_bucket_policy.py +43 -42
  95. pulumi_digitalocean/spaces_key.py +36 -35
  96. pulumi_digitalocean/ssh_key.py +36 -35
  97. pulumi_digitalocean/tag.py +57 -56
  98. pulumi_digitalocean/uptime_alert.py +85 -84
  99. pulumi_digitalocean/uptime_check.py +71 -70
  100. pulumi_digitalocean/volume.py +148 -147
  101. pulumi_digitalocean/volume_attachment.py +29 -28
  102. pulumi_digitalocean/volume_snapshot.py +71 -70
  103. pulumi_digitalocean/vpc.py +78 -77
  104. pulumi_digitalocean/vpc_peering.py +43 -42
  105. {pulumi_digitalocean-4.42.0a1743572464.dist-info → pulumi_digitalocean-4.42.0a1744183362.dist-info}/METADATA +1 -1
  106. pulumi_digitalocean-4.42.0a1744183362.dist-info/RECORD +110 -0
  107. pulumi_digitalocean-4.42.0a1743572464.dist-info/RECORD +0 -110
  108. {pulumi_digitalocean-4.42.0a1743572464.dist-info → pulumi_digitalocean-4.42.0a1744183362.dist-info}/WHEEL +0 -0
  109. {pulumi_digitalocean-4.42.0a1743572464.dist-info → pulumi_digitalocean-4.42.0a1744183362.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
@@ -49,7 +50,7 @@ class GetTagsResult:
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
@@ -60,7 +61,7 @@ class GetVolumeResult:
60
61
 
61
62
  @property
62
63
  @pulumi.getter
63
- def description(self) -> Optional[str]:
64
+ def description(self) -> Optional[builtins.str]:
64
65
  """
65
66
  Text describing a block storage volume.
66
67
  """
@@ -68,7 +69,7 @@ class GetVolumeResult:
68
69
 
69
70
  @property
70
71
  @pulumi.getter(name="dropletIds")
71
- def droplet_ids(self) -> Sequence[int]:
72
+ def droplet_ids(self) -> Sequence[builtins.int]:
72
73
  """
73
74
  A list of associated Droplet ids.
74
75
  """
@@ -76,7 +77,7 @@ class GetVolumeResult:
76
77
 
77
78
  @property
78
79
  @pulumi.getter(name="filesystemLabel")
79
- def filesystem_label(self) -> str:
80
+ def filesystem_label(self) -> builtins.str:
80
81
  """
81
82
  Filesystem label currently in-use on the block storage volume.
82
83
  """
@@ -84,7 +85,7 @@ class GetVolumeResult:
84
85
 
85
86
  @property
86
87
  @pulumi.getter(name="filesystemType")
87
- def filesystem_type(self) -> str:
88
+ def filesystem_type(self) -> builtins.str:
88
89
  """
89
90
  Filesystem type currently in-use on the block storage volume.
90
91
  """
@@ -92,7 +93,7 @@ class GetVolumeResult:
92
93
 
93
94
  @property
94
95
  @pulumi.getter
95
- def id(self) -> str:
96
+ def id(self) -> builtins.str:
96
97
  """
97
98
  The provider-assigned unique ID for this managed resource.
98
99
  """
@@ -100,17 +101,17 @@ class GetVolumeResult:
100
101
 
101
102
  @property
102
103
  @pulumi.getter
103
- def name(self) -> str:
104
+ def name(self) -> builtins.str:
104
105
  return pulumi.get(self, "name")
105
106
 
106
107
  @property
107
108
  @pulumi.getter
108
- def region(self) -> Optional[str]:
109
+ def region(self) -> Optional[builtins.str]:
109
110
  return pulumi.get(self, "region")
110
111
 
111
112
  @property
112
113
  @pulumi.getter
113
- def size(self) -> int:
114
+ def size(self) -> builtins.int:
114
115
  """
115
116
  The size of the block storage volume in GiB.
116
117
  """
@@ -118,7 +119,7 @@ class GetVolumeResult:
118
119
 
119
120
  @property
120
121
  @pulumi.getter
121
- def tags(self) -> Sequence[str]:
122
+ def tags(self) -> Sequence[builtins.str]:
122
123
  """
123
124
  A list of the tags associated to the Volume.
124
125
  """
@@ -126,7 +127,7 @@ class GetVolumeResult:
126
127
 
127
128
  @property
128
129
  @pulumi.getter
129
- def urn(self) -> str:
130
+ def urn(self) -> builtins.str:
130
131
  """
131
132
  The uniform resource name for the storage volume.
132
133
  """
@@ -151,9 +152,9 @@ class AwaitableGetVolumeResult(GetVolumeResult):
151
152
  urn=self.urn)
152
153
 
153
154
 
154
- def get_volume(description: Optional[str] = None,
155
- name: Optional[str] = None,
156
- region: Optional[str] = None,
155
+ def get_volume(description: Optional[builtins.str] = None,
156
+ name: Optional[builtins.str] = None,
157
+ region: Optional[builtins.str] = None,
157
158
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetVolumeResult:
158
159
  """
159
160
  Get information on a volume for use in other resources. This data source provides
@@ -194,9 +195,9 @@ def get_volume(description: Optional[str] = None,
194
195
  ```
195
196
 
196
197
 
197
- :param str description: Text describing a block storage volume.
198
- :param str name: The name of block storage volume.
199
- :param str region: The region the block storage volume is provisioned in.
198
+ :param builtins.str description: Text describing a block storage volume.
199
+ :param builtins.str name: The name of block storage volume.
200
+ :param builtins.str region: The region the block storage volume is provisioned in.
200
201
  """
201
202
  __args__ = dict()
202
203
  __args__['description'] = description
@@ -216,9 +217,9 @@ def get_volume(description: Optional[str] = None,
216
217
  size=pulumi.get(__ret__, 'size'),
217
218
  tags=pulumi.get(__ret__, 'tags'),
218
219
  urn=pulumi.get(__ret__, 'urn'))
219
- def get_volume_output(description: Optional[pulumi.Input[Optional[str]]] = None,
220
- name: Optional[pulumi.Input[str]] = None,
221
- region: Optional[pulumi.Input[Optional[str]]] = None,
220
+ def get_volume_output(description: Optional[pulumi.Input[Optional[builtins.str]]] = None,
221
+ name: Optional[pulumi.Input[builtins.str]] = None,
222
+ region: Optional[pulumi.Input[Optional[builtins.str]]] = None,
222
223
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetVolumeResult]:
223
224
  """
224
225
  Get information on a volume for use in other resources. This data source provides
@@ -259,9 +260,9 @@ def get_volume_output(description: Optional[pulumi.Input[Optional[str]]] = None,
259
260
  ```
260
261
 
261
262
 
262
- :param str description: Text describing a block storage volume.
263
- :param str name: The name of block storage volume.
264
- :param str region: The region the block storage volume is provisioned in.
263
+ :param builtins.str description: Text describing a block storage volume.
264
+ :param builtins.str name: The name of block storage volume.
265
+ :param builtins.str region: The region the block storage volume is provisioned in.
265
266
  """
266
267
  __args__ = dict()
267
268
  __args__['description'] = description
@@ -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
@@ -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