pulumi-digitalocean 4.41.0a1742960094__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.

Files changed (111) hide show
  1. pulumi_digitalocean/__init__.py +11 -0
  2. pulumi_digitalocean/_enums.py +10 -8
  3. pulumi_digitalocean/_inputs.py +2829 -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_partner_attachment.py +170 -0
  57. pulumi_digitalocean/get_project.py +20 -19
  58. pulumi_digitalocean/get_projects.py +2 -1
  59. pulumi_digitalocean/get_record.py +20 -19
  60. pulumi_digitalocean/get_records.py +7 -6
  61. pulumi_digitalocean/get_region.py +11 -10
  62. pulumi_digitalocean/get_regions.py +2 -1
  63. pulumi_digitalocean/get_reserved_ip.py +10 -9
  64. pulumi_digitalocean/get_reserved_ipv6.py +10 -9
  65. pulumi_digitalocean/get_sizes.py +2 -1
  66. pulumi_digitalocean/get_spaces_bucket.py +15 -14
  67. pulumi_digitalocean/get_spaces_bucket_object.py +38 -37
  68. pulumi_digitalocean/get_spaces_bucket_objects.py +35 -34
  69. pulumi_digitalocean/get_spaces_buckets.py +2 -1
  70. pulumi_digitalocean/get_spaces_key.py +9 -8
  71. pulumi_digitalocean/get_ssh_key.py +9 -8
  72. pulumi_digitalocean/get_ssh_keys.py +2 -1
  73. pulumi_digitalocean/get_tag.py +13 -12
  74. pulumi_digitalocean/get_tags.py +2 -1
  75. pulumi_digitalocean/get_volume.py +23 -22
  76. pulumi_digitalocean/get_volume_snapshot.py +28 -27
  77. pulumi_digitalocean/get_vpc.py +21 -20
  78. pulumi_digitalocean/get_vpc_peering.py +18 -17
  79. pulumi_digitalocean/kubernetes_cluster.py +225 -224
  80. pulumi_digitalocean/kubernetes_node_pool.py +134 -133
  81. pulumi_digitalocean/load_balancer.py +277 -276
  82. pulumi_digitalocean/monitor_alert.py +120 -119
  83. pulumi_digitalocean/outputs.py +3099 -3007
  84. pulumi_digitalocean/partner_attachment.py +433 -0
  85. pulumi_digitalocean/project.py +113 -112
  86. pulumi_digitalocean/project_resources.py +29 -28
  87. pulumi_digitalocean/provider.py +69 -68
  88. pulumi_digitalocean/pulumi-plugin.json +1 -1
  89. pulumi_digitalocean/reserved_ip.py +50 -49
  90. pulumi_digitalocean/reserved_ip_assignment.py +29 -28
  91. pulumi_digitalocean/reserved_ipv6.py +44 -43
  92. pulumi_digitalocean/reserved_ipv6_assignment.py +29 -28
  93. pulumi_digitalocean/spaces_bucket.py +78 -77
  94. pulumi_digitalocean/spaces_bucket_cors_configuration.py +29 -28
  95. pulumi_digitalocean/spaces_bucket_object.py +232 -231
  96. pulumi_digitalocean/spaces_bucket_policy.py +43 -42
  97. pulumi_digitalocean/spaces_key.py +36 -35
  98. pulumi_digitalocean/ssh_key.py +36 -35
  99. pulumi_digitalocean/tag.py +57 -56
  100. pulumi_digitalocean/uptime_alert.py +85 -84
  101. pulumi_digitalocean/uptime_check.py +71 -70
  102. pulumi_digitalocean/volume.py +148 -147
  103. pulumi_digitalocean/volume_attachment.py +29 -28
  104. pulumi_digitalocean/volume_snapshot.py +71 -70
  105. pulumi_digitalocean/vpc.py +78 -77
  106. pulumi_digitalocean/vpc_peering.py +43 -42
  107. {pulumi_digitalocean-4.41.0a1742960094.dist-info → pulumi_digitalocean-4.42.0.dist-info}/METADATA +1 -1
  108. pulumi_digitalocean-4.42.0.dist-info/RECORD +112 -0
  109. pulumi_digitalocean-4.41.0a1742960094.dist-info/RECORD +0 -110
  110. {pulumi_digitalocean-4.41.0a1742960094.dist-info → pulumi_digitalocean-4.42.0.dist-info}/WHEEL +0 -0
  111. {pulumi_digitalocean-4.41.0a1742960094.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
@@ -19,16 +20,16 @@ __all__ = ['VpcArgs', 'Vpc']
19
20
  @pulumi.input_type
20
21
  class VpcArgs:
21
22
  def __init__(__self__, *,
22
- region: pulumi.Input[str],
23
- description: Optional[pulumi.Input[str]] = None,
24
- ip_range: Optional[pulumi.Input[str]] = None,
25
- name: Optional[pulumi.Input[str]] = None):
23
+ region: pulumi.Input[builtins.str],
24
+ description: Optional[pulumi.Input[builtins.str]] = None,
25
+ ip_range: Optional[pulumi.Input[builtins.str]] = None,
26
+ name: Optional[pulumi.Input[builtins.str]] = None):
26
27
  """
27
28
  The set of arguments for constructing a Vpc resource.
28
- :param pulumi.Input[str] region: The DigitalOcean region slug for the VPC's location.
29
- :param pulumi.Input[str] description: A free-form text field up to a limit of 255 characters to describe the VPC.
30
- :param pulumi.Input[str] ip_range: The range of IP addresses for the VPC in CIDR notation. Network ranges cannot overlap with other networks in the same account and must be in range of private addresses as defined in RFC1918. It may not be larger than `/16` or smaller than `/24`.
31
- :param pulumi.Input[str] name: A name for the VPC. Must be unique and contain alphanumeric characters, dashes, and periods only.
29
+ :param pulumi.Input[builtins.str] region: The DigitalOcean region slug for the VPC's location.
30
+ :param pulumi.Input[builtins.str] description: A free-form text field up to a limit of 255 characters to describe the VPC.
31
+ :param pulumi.Input[builtins.str] ip_range: The range of IP addresses for the VPC in CIDR notation. Network ranges cannot overlap with other networks in the same account and must be in range of private addresses as defined in RFC1918. It may not be larger than `/16` or smaller than `/24`.
32
+ :param pulumi.Input[builtins.str] name: A name for the VPC. Must be unique and contain alphanumeric characters, dashes, and periods only.
32
33
  """
33
34
  pulumi.set(__self__, "region", region)
34
35
  if description is not None:
@@ -40,72 +41,72 @@ class VpcArgs:
40
41
 
41
42
  @property
42
43
  @pulumi.getter
43
- def region(self) -> pulumi.Input[str]:
44
+ def region(self) -> pulumi.Input[builtins.str]:
44
45
  """
45
46
  The DigitalOcean region slug for the VPC's location.
46
47
  """
47
48
  return pulumi.get(self, "region")
48
49
 
49
50
  @region.setter
50
- def region(self, value: pulumi.Input[str]):
51
+ def region(self, value: pulumi.Input[builtins.str]):
51
52
  pulumi.set(self, "region", value)
52
53
 
53
54
  @property
54
55
  @pulumi.getter
55
- def description(self) -> Optional[pulumi.Input[str]]:
56
+ def description(self) -> Optional[pulumi.Input[builtins.str]]:
56
57
  """
57
58
  A free-form text field up to a limit of 255 characters to describe the VPC.
58
59
  """
59
60
  return pulumi.get(self, "description")
60
61
 
61
62
  @description.setter
62
- def description(self, value: Optional[pulumi.Input[str]]):
63
+ def description(self, value: Optional[pulumi.Input[builtins.str]]):
63
64
  pulumi.set(self, "description", value)
64
65
 
65
66
  @property
66
67
  @pulumi.getter(name="ipRange")
67
- def ip_range(self) -> Optional[pulumi.Input[str]]:
68
+ def ip_range(self) -> Optional[pulumi.Input[builtins.str]]:
68
69
  """
69
70
  The range of IP addresses for the VPC in CIDR notation. Network ranges cannot overlap with other networks in the same account and must be in range of private addresses as defined in RFC1918. It may not be larger than `/16` or smaller than `/24`.
70
71
  """
71
72
  return pulumi.get(self, "ip_range")
72
73
 
73
74
  @ip_range.setter
74
- def ip_range(self, value: Optional[pulumi.Input[str]]):
75
+ def ip_range(self, value: Optional[pulumi.Input[builtins.str]]):
75
76
  pulumi.set(self, "ip_range", value)
76
77
 
77
78
  @property
78
79
  @pulumi.getter
79
- def name(self) -> Optional[pulumi.Input[str]]:
80
+ def name(self) -> Optional[pulumi.Input[builtins.str]]:
80
81
  """
81
82
  A name for the VPC. Must be unique and contain alphanumeric characters, dashes, and periods only.
82
83
  """
83
84
  return pulumi.get(self, "name")
84
85
 
85
86
  @name.setter
86
- def name(self, value: Optional[pulumi.Input[str]]):
87
+ def name(self, value: Optional[pulumi.Input[builtins.str]]):
87
88
  pulumi.set(self, "name", value)
88
89
 
89
90
 
90
91
  @pulumi.input_type
91
92
  class _VpcState:
92
93
  def __init__(__self__, *,
93
- created_at: Optional[pulumi.Input[str]] = None,
94
- default: Optional[pulumi.Input[bool]] = None,
95
- description: Optional[pulumi.Input[str]] = None,
96
- ip_range: Optional[pulumi.Input[str]] = None,
97
- name: Optional[pulumi.Input[str]] = None,
98
- region: Optional[pulumi.Input[str]] = None,
99
- vpc_urn: Optional[pulumi.Input[str]] = None):
94
+ created_at: Optional[pulumi.Input[builtins.str]] = None,
95
+ default: Optional[pulumi.Input[builtins.bool]] = None,
96
+ description: Optional[pulumi.Input[builtins.str]] = None,
97
+ ip_range: Optional[pulumi.Input[builtins.str]] = None,
98
+ name: Optional[pulumi.Input[builtins.str]] = None,
99
+ region: Optional[pulumi.Input[builtins.str]] = None,
100
+ vpc_urn: Optional[pulumi.Input[builtins.str]] = None):
100
101
  """
101
102
  Input properties used for looking up and filtering Vpc resources.
102
- :param pulumi.Input[str] created_at: The date and time of when the VPC was created.
103
- :param pulumi.Input[bool] default: A boolean indicating whether or not the VPC is the default one for the region.
104
- :param pulumi.Input[str] description: A free-form text field up to a limit of 255 characters to describe the VPC.
105
- :param pulumi.Input[str] ip_range: The range of IP addresses for the VPC in CIDR notation. Network ranges cannot overlap with other networks in the same account and must be in range of private addresses as defined in RFC1918. It may not be larger than `/16` or smaller than `/24`.
106
- :param pulumi.Input[str] name: A name for the VPC. Must be unique and contain alphanumeric characters, dashes, and periods only.
107
- :param pulumi.Input[str] region: The DigitalOcean region slug for the VPC's location.
108
- :param pulumi.Input[str] vpc_urn: The uniform resource name (URN) for the VPC.
103
+ :param pulumi.Input[builtins.str] created_at: The date and time of when the VPC was created.
104
+ :param pulumi.Input[builtins.bool] default: A boolean indicating whether or not the VPC is the default one for the region.
105
+ :param pulumi.Input[builtins.str] description: A free-form text field up to a limit of 255 characters to describe the VPC.
106
+ :param pulumi.Input[builtins.str] ip_range: The range of IP addresses for the VPC in CIDR notation. Network ranges cannot overlap with other networks in the same account and must be in range of private addresses as defined in RFC1918. It may not be larger than `/16` or smaller than `/24`.
107
+ :param pulumi.Input[builtins.str] name: A name for the VPC. Must be unique and contain alphanumeric characters, dashes, and periods only.
108
+ :param pulumi.Input[builtins.str] region: The DigitalOcean region slug for the VPC's location.
109
+ :param pulumi.Input[builtins.str] vpc_urn: The uniform resource name (URN) for the VPC.
109
110
  """
110
111
  if created_at is not None:
111
112
  pulumi.set(__self__, "created_at", created_at)
@@ -124,86 +125,86 @@ class _VpcState:
124
125
 
125
126
  @property
126
127
  @pulumi.getter(name="createdAt")
127
- def created_at(self) -> Optional[pulumi.Input[str]]:
128
+ def created_at(self) -> Optional[pulumi.Input[builtins.str]]:
128
129
  """
129
130
  The date and time of when the VPC was created.
130
131
  """
131
132
  return pulumi.get(self, "created_at")
132
133
 
133
134
  @created_at.setter
134
- def created_at(self, value: Optional[pulumi.Input[str]]):
135
+ def created_at(self, value: Optional[pulumi.Input[builtins.str]]):
135
136
  pulumi.set(self, "created_at", value)
136
137
 
137
138
  @property
138
139
  @pulumi.getter
139
- def default(self) -> Optional[pulumi.Input[bool]]:
140
+ def default(self) -> Optional[pulumi.Input[builtins.bool]]:
140
141
  """
141
142
  A boolean indicating whether or not the VPC is the default one for the region.
142
143
  """
143
144
  return pulumi.get(self, "default")
144
145
 
145
146
  @default.setter
146
- def default(self, value: Optional[pulumi.Input[bool]]):
147
+ def default(self, value: Optional[pulumi.Input[builtins.bool]]):
147
148
  pulumi.set(self, "default", value)
148
149
 
149
150
  @property
150
151
  @pulumi.getter
151
- def description(self) -> Optional[pulumi.Input[str]]:
152
+ def description(self) -> Optional[pulumi.Input[builtins.str]]:
152
153
  """
153
154
  A free-form text field up to a limit of 255 characters to describe the VPC.
154
155
  """
155
156
  return pulumi.get(self, "description")
156
157
 
157
158
  @description.setter
158
- def description(self, value: Optional[pulumi.Input[str]]):
159
+ def description(self, value: Optional[pulumi.Input[builtins.str]]):
159
160
  pulumi.set(self, "description", value)
160
161
 
161
162
  @property
162
163
  @pulumi.getter(name="ipRange")
163
- def ip_range(self) -> Optional[pulumi.Input[str]]:
164
+ def ip_range(self) -> Optional[pulumi.Input[builtins.str]]:
164
165
  """
165
166
  The range of IP addresses for the VPC in CIDR notation. Network ranges cannot overlap with other networks in the same account and must be in range of private addresses as defined in RFC1918. It may not be larger than `/16` or smaller than `/24`.
166
167
  """
167
168
  return pulumi.get(self, "ip_range")
168
169
 
169
170
  @ip_range.setter
170
- def ip_range(self, value: Optional[pulumi.Input[str]]):
171
+ def ip_range(self, value: Optional[pulumi.Input[builtins.str]]):
171
172
  pulumi.set(self, "ip_range", value)
172
173
 
173
174
  @property
174
175
  @pulumi.getter
175
- def name(self) -> Optional[pulumi.Input[str]]:
176
+ def name(self) -> Optional[pulumi.Input[builtins.str]]:
176
177
  """
177
178
  A name for the VPC. Must be unique and contain alphanumeric characters, dashes, and periods only.
178
179
  """
179
180
  return pulumi.get(self, "name")
180
181
 
181
182
  @name.setter
182
- def name(self, value: Optional[pulumi.Input[str]]):
183
+ def name(self, value: Optional[pulumi.Input[builtins.str]]):
183
184
  pulumi.set(self, "name", value)
184
185
 
185
186
  @property
186
187
  @pulumi.getter
187
- def region(self) -> Optional[pulumi.Input[str]]:
188
+ def region(self) -> Optional[pulumi.Input[builtins.str]]:
188
189
  """
189
190
  The DigitalOcean region slug for the VPC's location.
190
191
  """
191
192
  return pulumi.get(self, "region")
192
193
 
193
194
  @region.setter
194
- def region(self, value: Optional[pulumi.Input[str]]):
195
+ def region(self, value: Optional[pulumi.Input[builtins.str]]):
195
196
  pulumi.set(self, "region", value)
196
197
 
197
198
  @property
198
199
  @pulumi.getter(name="vpcUrn")
199
- def vpc_urn(self) -> Optional[pulumi.Input[str]]:
200
+ def vpc_urn(self) -> Optional[pulumi.Input[builtins.str]]:
200
201
  """
201
202
  The uniform resource name (URN) for the VPC.
202
203
  """
203
204
  return pulumi.get(self, "vpc_urn")
204
205
 
205
206
  @vpc_urn.setter
206
- def vpc_urn(self, value: Optional[pulumi.Input[str]]):
207
+ def vpc_urn(self, value: Optional[pulumi.Input[builtins.str]]):
207
208
  pulumi.set(self, "vpc_urn", value)
208
209
 
209
210
 
@@ -212,10 +213,10 @@ class Vpc(pulumi.CustomResource):
212
213
  def __init__(__self__,
213
214
  resource_name: str,
214
215
  opts: Optional[pulumi.ResourceOptions] = None,
215
- description: Optional[pulumi.Input[str]] = None,
216
- ip_range: Optional[pulumi.Input[str]] = None,
217
- name: Optional[pulumi.Input[str]] = None,
218
- region: Optional[pulumi.Input[str]] = None,
216
+ description: Optional[pulumi.Input[builtins.str]] = None,
217
+ ip_range: Optional[pulumi.Input[builtins.str]] = None,
218
+ name: Optional[pulumi.Input[builtins.str]] = None,
219
+ region: Optional[pulumi.Input[builtins.str]] = None,
219
220
  __props__=None):
220
221
  """
221
222
  Provides a [DigitalOcean VPC](https://docs.digitalocean.com/reference/api/digitalocean/#tag/VPCs) resource.
@@ -266,10 +267,10 @@ class Vpc(pulumi.CustomResource):
266
267
 
267
268
  :param str resource_name: The name of the resource.
268
269
  :param pulumi.ResourceOptions opts: Options for the resource.
269
- :param pulumi.Input[str] description: A free-form text field up to a limit of 255 characters to describe the VPC.
270
- :param pulumi.Input[str] ip_range: The range of IP addresses for the VPC in CIDR notation. Network ranges cannot overlap with other networks in the same account and must be in range of private addresses as defined in RFC1918. It may not be larger than `/16` or smaller than `/24`.
271
- :param pulumi.Input[str] name: A name for the VPC. Must be unique and contain alphanumeric characters, dashes, and periods only.
272
- :param pulumi.Input[str] region: The DigitalOcean region slug for the VPC's location.
270
+ :param pulumi.Input[builtins.str] description: A free-form text field up to a limit of 255 characters to describe the VPC.
271
+ :param pulumi.Input[builtins.str] ip_range: The range of IP addresses for the VPC in CIDR notation. Network ranges cannot overlap with other networks in the same account and must be in range of private addresses as defined in RFC1918. It may not be larger than `/16` or smaller than `/24`.
272
+ :param pulumi.Input[builtins.str] name: A name for the VPC. Must be unique and contain alphanumeric characters, dashes, and periods only.
273
+ :param pulumi.Input[builtins.str] region: The DigitalOcean region slug for the VPC's location.
273
274
  """
274
275
  ...
275
276
  @overload
@@ -339,10 +340,10 @@ class Vpc(pulumi.CustomResource):
339
340
  def _internal_init(__self__,
340
341
  resource_name: str,
341
342
  opts: Optional[pulumi.ResourceOptions] = None,
342
- description: Optional[pulumi.Input[str]] = None,
343
- ip_range: Optional[pulumi.Input[str]] = None,
344
- name: Optional[pulumi.Input[str]] = None,
345
- region: Optional[pulumi.Input[str]] = None,
343
+ description: Optional[pulumi.Input[builtins.str]] = None,
344
+ ip_range: Optional[pulumi.Input[builtins.str]] = None,
345
+ name: Optional[pulumi.Input[builtins.str]] = None,
346
+ region: Optional[pulumi.Input[builtins.str]] = None,
346
347
  __props__=None):
347
348
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
348
349
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -371,13 +372,13 @@ class Vpc(pulumi.CustomResource):
371
372
  def get(resource_name: str,
372
373
  id: pulumi.Input[str],
373
374
  opts: Optional[pulumi.ResourceOptions] = None,
374
- created_at: Optional[pulumi.Input[str]] = None,
375
- default: Optional[pulumi.Input[bool]] = None,
376
- description: Optional[pulumi.Input[str]] = None,
377
- ip_range: Optional[pulumi.Input[str]] = None,
378
- name: Optional[pulumi.Input[str]] = None,
379
- region: Optional[pulumi.Input[str]] = None,
380
- vpc_urn: Optional[pulumi.Input[str]] = None) -> 'Vpc':
375
+ created_at: Optional[pulumi.Input[builtins.str]] = None,
376
+ default: Optional[pulumi.Input[builtins.bool]] = None,
377
+ description: Optional[pulumi.Input[builtins.str]] = None,
378
+ ip_range: Optional[pulumi.Input[builtins.str]] = None,
379
+ name: Optional[pulumi.Input[builtins.str]] = None,
380
+ region: Optional[pulumi.Input[builtins.str]] = None,
381
+ vpc_urn: Optional[pulumi.Input[builtins.str]] = None) -> 'Vpc':
381
382
  """
382
383
  Get an existing Vpc resource's state with the given name, id, and optional extra
383
384
  properties used to qualify the lookup.
@@ -385,13 +386,13 @@ class Vpc(pulumi.CustomResource):
385
386
  :param str resource_name: The unique name of the resulting resource.
386
387
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
387
388
  :param pulumi.ResourceOptions opts: Options for the resource.
388
- :param pulumi.Input[str] created_at: The date and time of when the VPC was created.
389
- :param pulumi.Input[bool] default: A boolean indicating whether or not the VPC is the default one for the region.
390
- :param pulumi.Input[str] description: A free-form text field up to a limit of 255 characters to describe the VPC.
391
- :param pulumi.Input[str] ip_range: The range of IP addresses for the VPC in CIDR notation. Network ranges cannot overlap with other networks in the same account and must be in range of private addresses as defined in RFC1918. It may not be larger than `/16` or smaller than `/24`.
392
- :param pulumi.Input[str] name: A name for the VPC. Must be unique and contain alphanumeric characters, dashes, and periods only.
393
- :param pulumi.Input[str] region: The DigitalOcean region slug for the VPC's location.
394
- :param pulumi.Input[str] vpc_urn: The uniform resource name (URN) for the VPC.
389
+ :param pulumi.Input[builtins.str] created_at: The date and time of when the VPC was created.
390
+ :param pulumi.Input[builtins.bool] default: A boolean indicating whether or not the VPC is the default one for the region.
391
+ :param pulumi.Input[builtins.str] description: A free-form text field up to a limit of 255 characters to describe the VPC.
392
+ :param pulumi.Input[builtins.str] ip_range: The range of IP addresses for the VPC in CIDR notation. Network ranges cannot overlap with other networks in the same account and must be in range of private addresses as defined in RFC1918. It may not be larger than `/16` or smaller than `/24`.
393
+ :param pulumi.Input[builtins.str] name: A name for the VPC. Must be unique and contain alphanumeric characters, dashes, and periods only.
394
+ :param pulumi.Input[builtins.str] region: The DigitalOcean region slug for the VPC's location.
395
+ :param pulumi.Input[builtins.str] vpc_urn: The uniform resource name (URN) for the VPC.
395
396
  """
396
397
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
397
398
 
@@ -408,7 +409,7 @@ class Vpc(pulumi.CustomResource):
408
409
 
409
410
  @property
410
411
  @pulumi.getter(name="createdAt")
411
- def created_at(self) -> pulumi.Output[str]:
412
+ def created_at(self) -> pulumi.Output[builtins.str]:
412
413
  """
413
414
  The date and time of when the VPC was created.
414
415
  """
@@ -416,7 +417,7 @@ class Vpc(pulumi.CustomResource):
416
417
 
417
418
  @property
418
419
  @pulumi.getter
419
- def default(self) -> pulumi.Output[bool]:
420
+ def default(self) -> pulumi.Output[builtins.bool]:
420
421
  """
421
422
  A boolean indicating whether or not the VPC is the default one for the region.
422
423
  """
@@ -424,7 +425,7 @@ class Vpc(pulumi.CustomResource):
424
425
 
425
426
  @property
426
427
  @pulumi.getter
427
- def description(self) -> pulumi.Output[Optional[str]]:
428
+ def description(self) -> pulumi.Output[Optional[builtins.str]]:
428
429
  """
429
430
  A free-form text field up to a limit of 255 characters to describe the VPC.
430
431
  """
@@ -432,7 +433,7 @@ class Vpc(pulumi.CustomResource):
432
433
 
433
434
  @property
434
435
  @pulumi.getter(name="ipRange")
435
- def ip_range(self) -> pulumi.Output[str]:
436
+ def ip_range(self) -> pulumi.Output[builtins.str]:
436
437
  """
437
438
  The range of IP addresses for the VPC in CIDR notation. Network ranges cannot overlap with other networks in the same account and must be in range of private addresses as defined in RFC1918. It may not be larger than `/16` or smaller than `/24`.
438
439
  """
@@ -440,7 +441,7 @@ class Vpc(pulumi.CustomResource):
440
441
 
441
442
  @property
442
443
  @pulumi.getter
443
- def name(self) -> pulumi.Output[str]:
444
+ def name(self) -> pulumi.Output[builtins.str]:
444
445
  """
445
446
  A name for the VPC. Must be unique and contain alphanumeric characters, dashes, and periods only.
446
447
  """
@@ -448,7 +449,7 @@ class Vpc(pulumi.CustomResource):
448
449
 
449
450
  @property
450
451
  @pulumi.getter
451
- def region(self) -> pulumi.Output[str]:
452
+ def region(self) -> pulumi.Output[builtins.str]:
452
453
  """
453
454
  The DigitalOcean region slug for the VPC's location.
454
455
  """
@@ -456,7 +457,7 @@ class Vpc(pulumi.CustomResource):
456
457
 
457
458
  @property
458
459
  @pulumi.getter(name="vpcUrn")
459
- def vpc_urn(self) -> pulumi.Output[str]:
460
+ def vpc_urn(self) -> pulumi.Output[builtins.str]:
460
461
  """
461
462
  The uniform resource name (URN) for the VPC.
462
463
  """
@@ -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
@@ -19,12 +20,12 @@ __all__ = ['VpcPeeringArgs', 'VpcPeering']
19
20
  @pulumi.input_type
20
21
  class VpcPeeringArgs:
21
22
  def __init__(__self__, *,
22
- vpc_ids: pulumi.Input[Sequence[pulumi.Input[str]]],
23
- name: Optional[pulumi.Input[str]] = None):
23
+ vpc_ids: pulumi.Input[Sequence[pulumi.Input[builtins.str]]],
24
+ name: Optional[pulumi.Input[builtins.str]] = None):
24
25
  """
25
26
  The set of arguments for constructing a VpcPeering resource.
26
- :param pulumi.Input[Sequence[pulumi.Input[str]]] vpc_ids: A set of two VPC IDs to be peered.
27
- :param pulumi.Input[str] name: A name for the VPC Peering. Must be unique and contain alphanumeric characters, dashes, and periods only.
27
+ :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] vpc_ids: A set of two VPC IDs to be peered.
28
+ :param pulumi.Input[builtins.str] name: A name for the VPC Peering. Must be unique and contain alphanumeric characters, dashes, and periods only.
28
29
  """
29
30
  pulumi.set(__self__, "vpc_ids", vpc_ids)
30
31
  if name is not None:
@@ -32,42 +33,42 @@ class VpcPeeringArgs:
32
33
 
33
34
  @property
34
35
  @pulumi.getter(name="vpcIds")
35
- def vpc_ids(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:
36
+ def vpc_ids(self) -> pulumi.Input[Sequence[pulumi.Input[builtins.str]]]:
36
37
  """
37
38
  A set of two VPC IDs to be peered.
38
39
  """
39
40
  return pulumi.get(self, "vpc_ids")
40
41
 
41
42
  @vpc_ids.setter
42
- def vpc_ids(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]):
43
+ def vpc_ids(self, value: pulumi.Input[Sequence[pulumi.Input[builtins.str]]]):
43
44
  pulumi.set(self, "vpc_ids", value)
44
45
 
45
46
  @property
46
47
  @pulumi.getter
47
- def name(self) -> Optional[pulumi.Input[str]]:
48
+ def name(self) -> Optional[pulumi.Input[builtins.str]]:
48
49
  """
49
50
  A name for the VPC Peering. Must be unique and contain alphanumeric characters, dashes, and periods only.
50
51
  """
51
52
  return pulumi.get(self, "name")
52
53
 
53
54
  @name.setter
54
- def name(self, value: Optional[pulumi.Input[str]]):
55
+ def name(self, value: Optional[pulumi.Input[builtins.str]]):
55
56
  pulumi.set(self, "name", value)
56
57
 
57
58
 
58
59
  @pulumi.input_type
59
60
  class _VpcPeeringState:
60
61
  def __init__(__self__, *,
61
- created_at: Optional[pulumi.Input[str]] = None,
62
- name: Optional[pulumi.Input[str]] = None,
63
- status: Optional[pulumi.Input[str]] = None,
64
- vpc_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
62
+ created_at: Optional[pulumi.Input[builtins.str]] = None,
63
+ name: Optional[pulumi.Input[builtins.str]] = None,
64
+ status: Optional[pulumi.Input[builtins.str]] = None,
65
+ vpc_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None):
65
66
  """
66
67
  Input properties used for looking up and filtering VpcPeering resources.
67
- :param pulumi.Input[str] created_at: The date and time of when the VPC Peering was created.
68
- :param pulumi.Input[str] name: A name for the VPC Peering. Must be unique and contain alphanumeric characters, dashes, and periods only.
69
- :param pulumi.Input[str] status: The status of the VPC Peering.
70
- :param pulumi.Input[Sequence[pulumi.Input[str]]] vpc_ids: A set of two VPC IDs to be peered.
68
+ :param pulumi.Input[builtins.str] created_at: The date and time of when the VPC Peering was created.
69
+ :param pulumi.Input[builtins.str] name: A name for the VPC Peering. Must be unique and contain alphanumeric characters, dashes, and periods only.
70
+ :param pulumi.Input[builtins.str] status: The status of the VPC Peering.
71
+ :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] vpc_ids: A set of two VPC IDs to be peered.
71
72
  """
72
73
  if created_at is not None:
73
74
  pulumi.set(__self__, "created_at", created_at)
@@ -80,50 +81,50 @@ class _VpcPeeringState:
80
81
 
81
82
  @property
82
83
  @pulumi.getter(name="createdAt")
83
- def created_at(self) -> Optional[pulumi.Input[str]]:
84
+ def created_at(self) -> Optional[pulumi.Input[builtins.str]]:
84
85
  """
85
86
  The date and time of when the VPC Peering was created.
86
87
  """
87
88
  return pulumi.get(self, "created_at")
88
89
 
89
90
  @created_at.setter
90
- def created_at(self, value: Optional[pulumi.Input[str]]):
91
+ def created_at(self, value: Optional[pulumi.Input[builtins.str]]):
91
92
  pulumi.set(self, "created_at", value)
92
93
 
93
94
  @property
94
95
  @pulumi.getter
95
- def name(self) -> Optional[pulumi.Input[str]]:
96
+ def name(self) -> Optional[pulumi.Input[builtins.str]]:
96
97
  """
97
98
  A name for the VPC Peering. Must be unique and contain alphanumeric characters, dashes, and periods only.
98
99
  """
99
100
  return pulumi.get(self, "name")
100
101
 
101
102
  @name.setter
102
- def name(self, value: Optional[pulumi.Input[str]]):
103
+ def name(self, value: Optional[pulumi.Input[builtins.str]]):
103
104
  pulumi.set(self, "name", value)
104
105
 
105
106
  @property
106
107
  @pulumi.getter
107
- def status(self) -> Optional[pulumi.Input[str]]:
108
+ def status(self) -> Optional[pulumi.Input[builtins.str]]:
108
109
  """
109
110
  The status of the VPC Peering.
110
111
  """
111
112
  return pulumi.get(self, "status")
112
113
 
113
114
  @status.setter
114
- def status(self, value: Optional[pulumi.Input[str]]):
115
+ def status(self, value: Optional[pulumi.Input[builtins.str]]):
115
116
  pulumi.set(self, "status", value)
116
117
 
117
118
  @property
118
119
  @pulumi.getter(name="vpcIds")
119
- def vpc_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
120
+ def vpc_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
120
121
  """
121
122
  A set of two VPC IDs to be peered.
122
123
  """
123
124
  return pulumi.get(self, "vpc_ids")
124
125
 
125
126
  @vpc_ids.setter
126
- def vpc_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
127
+ def vpc_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
127
128
  pulumi.set(self, "vpc_ids", value)
128
129
 
129
130
 
@@ -132,8 +133,8 @@ class VpcPeering(pulumi.CustomResource):
132
133
  def __init__(__self__,
133
134
  resource_name: str,
134
135
  opts: Optional[pulumi.ResourceOptions] = None,
135
- name: Optional[pulumi.Input[str]] = None,
136
- vpc_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
136
+ name: Optional[pulumi.Input[builtins.str]] = None,
137
+ vpc_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
137
138
  __props__=None):
138
139
  """
139
140
  > VPC peering is currently in alpha. If you are not a member of the alpha group for this feature, you will not be able to use it until it has been more widely released. Please follow the official [DigitalOcean changelog](https://docs.digitalocean.com/release-notes/) for updates.
@@ -202,8 +203,8 @@ class VpcPeering(pulumi.CustomResource):
202
203
 
203
204
  :param str resource_name: The name of the resource.
204
205
  :param pulumi.ResourceOptions opts: Options for the resource.
205
- :param pulumi.Input[str] name: A name for the VPC Peering. Must be unique and contain alphanumeric characters, dashes, and periods only.
206
- :param pulumi.Input[Sequence[pulumi.Input[str]]] vpc_ids: A set of two VPC IDs to be peered.
206
+ :param pulumi.Input[builtins.str] name: A name for the VPC Peering. Must be unique and contain alphanumeric characters, dashes, and periods only.
207
+ :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] vpc_ids: A set of two VPC IDs to be peered.
207
208
  """
208
209
  ...
209
210
  @overload
@@ -291,8 +292,8 @@ class VpcPeering(pulumi.CustomResource):
291
292
  def _internal_init(__self__,
292
293
  resource_name: str,
293
294
  opts: Optional[pulumi.ResourceOptions] = None,
294
- name: Optional[pulumi.Input[str]] = None,
295
- vpc_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
295
+ name: Optional[pulumi.Input[builtins.str]] = None,
296
+ vpc_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
296
297
  __props__=None):
297
298
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
298
299
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -318,10 +319,10 @@ class VpcPeering(pulumi.CustomResource):
318
319
  def get(resource_name: str,
319
320
  id: pulumi.Input[str],
320
321
  opts: Optional[pulumi.ResourceOptions] = None,
321
- created_at: Optional[pulumi.Input[str]] = None,
322
- name: Optional[pulumi.Input[str]] = None,
323
- status: Optional[pulumi.Input[str]] = None,
324
- vpc_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None) -> 'VpcPeering':
322
+ created_at: Optional[pulumi.Input[builtins.str]] = None,
323
+ name: Optional[pulumi.Input[builtins.str]] = None,
324
+ status: Optional[pulumi.Input[builtins.str]] = None,
325
+ vpc_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None) -> 'VpcPeering':
325
326
  """
326
327
  Get an existing VpcPeering resource's state with the given name, id, and optional extra
327
328
  properties used to qualify the lookup.
@@ -329,10 +330,10 @@ class VpcPeering(pulumi.CustomResource):
329
330
  :param str resource_name: The unique name of the resulting resource.
330
331
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
331
332
  :param pulumi.ResourceOptions opts: Options for the resource.
332
- :param pulumi.Input[str] created_at: The date and time of when the VPC Peering was created.
333
- :param pulumi.Input[str] name: A name for the VPC Peering. Must be unique and contain alphanumeric characters, dashes, and periods only.
334
- :param pulumi.Input[str] status: The status of the VPC Peering.
335
- :param pulumi.Input[Sequence[pulumi.Input[str]]] vpc_ids: A set of two VPC IDs to be peered.
333
+ :param pulumi.Input[builtins.str] created_at: The date and time of when the VPC Peering was created.
334
+ :param pulumi.Input[builtins.str] name: A name for the VPC Peering. Must be unique and contain alphanumeric characters, dashes, and periods only.
335
+ :param pulumi.Input[builtins.str] status: The status of the VPC Peering.
336
+ :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] vpc_ids: A set of two VPC IDs to be peered.
336
337
  """
337
338
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
338
339
 
@@ -346,7 +347,7 @@ class VpcPeering(pulumi.CustomResource):
346
347
 
347
348
  @property
348
349
  @pulumi.getter(name="createdAt")
349
- def created_at(self) -> pulumi.Output[str]:
350
+ def created_at(self) -> pulumi.Output[builtins.str]:
350
351
  """
351
352
  The date and time of when the VPC Peering was created.
352
353
  """
@@ -354,7 +355,7 @@ class VpcPeering(pulumi.CustomResource):
354
355
 
355
356
  @property
356
357
  @pulumi.getter
357
- def name(self) -> pulumi.Output[str]:
358
+ def name(self) -> pulumi.Output[builtins.str]:
358
359
  """
359
360
  A name for the VPC Peering. Must be unique and contain alphanumeric characters, dashes, and periods only.
360
361
  """
@@ -362,7 +363,7 @@ class VpcPeering(pulumi.CustomResource):
362
363
 
363
364
  @property
364
365
  @pulumi.getter
365
- def status(self) -> pulumi.Output[str]:
366
+ def status(self) -> pulumi.Output[builtins.str]:
366
367
  """
367
368
  The status of the VPC Peering.
368
369
  """
@@ -370,7 +371,7 @@ class VpcPeering(pulumi.CustomResource):
370
371
 
371
372
  @property
372
373
  @pulumi.getter(name="vpcIds")
373
- def vpc_ids(self) -> pulumi.Output[Sequence[str]]:
374
+ def vpc_ids(self) -> pulumi.Output[Sequence[builtins.str]]:
374
375
  """
375
376
  A set of two VPC IDs to be peered.
376
377
  """
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pulumi_digitalocean
3
- Version: 4.41.0a1742960094
3
+ Version: 4.42.0
4
4
  Summary: A Pulumi package for creating and managing DigitalOcean cloud resources.
5
5
  License: Apache-2.0
6
6
  Project-URL: Homepage, https://pulumi.io