pulumi-digitalocean 4.46.0a1747979086__py3-none-any.whl → 4.46.0a1749009476__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 (115) hide show
  1. pulumi_digitalocean/__init__.py +11 -1
  2. pulumi_digitalocean/_enums.py +1 -1
  3. pulumi_digitalocean/_inputs.py +158 -10
  4. pulumi_digitalocean/_utilities.py +1 -1
  5. pulumi_digitalocean/app.py +1 -1
  6. pulumi_digitalocean/cdn.py +1 -1
  7. pulumi_digitalocean/certificate.py +1 -1
  8. pulumi_digitalocean/config/__init__.py +1 -1
  9. pulumi_digitalocean/config/__init__.pyi +1 -1
  10. pulumi_digitalocean/config/vars.py +1 -1
  11. pulumi_digitalocean/container_registry.py +1 -1
  12. pulumi_digitalocean/container_registry_docker_credentials.py +1 -1
  13. pulumi_digitalocean/custom_image.py +1 -1
  14. pulumi_digitalocean/database_cluster.py +1 -1
  15. pulumi_digitalocean/database_connection_pool.py +1 -1
  16. pulumi_digitalocean/database_db.py +1 -1
  17. pulumi_digitalocean/database_firewall.py +1 -1
  18. pulumi_digitalocean/database_kafka_config.py +1 -1
  19. pulumi_digitalocean/database_kafka_topic.py +1 -1
  20. pulumi_digitalocean/database_mongodb_config.py +1 -1
  21. pulumi_digitalocean/database_mysql_config.py +1 -1
  22. pulumi_digitalocean/database_opensearch_config.py +1 -1
  23. pulumi_digitalocean/database_postgresql_config.py +1 -1
  24. pulumi_digitalocean/database_redis_config.py +1 -1
  25. pulumi_digitalocean/database_replica.py +1 -1
  26. pulumi_digitalocean/database_user.py +1 -1
  27. pulumi_digitalocean/dns_record.py +1 -1
  28. pulumi_digitalocean/domain.py +1 -1
  29. pulumi_digitalocean/droplet.py +1 -1
  30. pulumi_digitalocean/droplet_autoscale.py +1 -1
  31. pulumi_digitalocean/droplet_snapshot.py +1 -1
  32. pulumi_digitalocean/firewall.py +1 -1
  33. pulumi_digitalocean/floating_ip.py +1 -1
  34. pulumi_digitalocean/floating_ip_assignment.py +1 -1
  35. pulumi_digitalocean/get_account.py +1 -1
  36. pulumi_digitalocean/get_app.py +1 -1
  37. pulumi_digitalocean/get_certificate.py +1 -1
  38. pulumi_digitalocean/get_container_registry.py +1 -1
  39. pulumi_digitalocean/get_database_ca.py +1 -1
  40. pulumi_digitalocean/get_database_cluster.py +1 -1
  41. pulumi_digitalocean/get_database_connection_pool.py +1 -1
  42. pulumi_digitalocean/get_database_replica.py +1 -1
  43. pulumi_digitalocean/get_database_user.py +1 -1
  44. pulumi_digitalocean/get_domain.py +1 -1
  45. pulumi_digitalocean/get_domains.py +1 -1
  46. pulumi_digitalocean/get_droplet.py +1 -1
  47. pulumi_digitalocean/get_droplet_autoscale.py +1 -1
  48. pulumi_digitalocean/get_droplet_snapshot.py +1 -1
  49. pulumi_digitalocean/get_droplets.py +1 -1
  50. pulumi_digitalocean/get_firewall.py +1 -1
  51. pulumi_digitalocean/get_floating_ip.py +1 -1
  52. pulumi_digitalocean/get_image.py +1 -1
  53. pulumi_digitalocean/get_images.py +1 -1
  54. pulumi_digitalocean/get_kubernetes_cluster.py +1 -1
  55. pulumi_digitalocean/get_kubernetes_versions.py +1 -1
  56. pulumi_digitalocean/get_load_balancer.py +1 -1
  57. pulumi_digitalocean/get_partner_attachment.py +17 -2
  58. pulumi_digitalocean/get_project.py +1 -1
  59. pulumi_digitalocean/get_projects.py +1 -1
  60. pulumi_digitalocean/get_record.py +1 -1
  61. pulumi_digitalocean/get_records.py +1 -1
  62. pulumi_digitalocean/get_region.py +1 -1
  63. pulumi_digitalocean/get_regions.py +1 -1
  64. pulumi_digitalocean/get_reserved_ip.py +1 -1
  65. pulumi_digitalocean/get_reserved_ipv6.py +1 -1
  66. pulumi_digitalocean/get_sizes.py +1 -1
  67. pulumi_digitalocean/get_spaces_bucket.py +1 -1
  68. pulumi_digitalocean/get_spaces_bucket_object.py +1 -1
  69. pulumi_digitalocean/get_spaces_bucket_objects.py +1 -1
  70. pulumi_digitalocean/get_spaces_buckets.py +1 -1
  71. pulumi_digitalocean/get_spaces_key.py +1 -1
  72. pulumi_digitalocean/get_ssh_key.py +1 -1
  73. pulumi_digitalocean/get_ssh_keys.py +1 -1
  74. pulumi_digitalocean/get_tag.py +1 -1
  75. pulumi_digitalocean/get_tags.py +1 -1
  76. pulumi_digitalocean/get_volume.py +1 -1
  77. pulumi_digitalocean/get_volume_snapshot.py +1 -1
  78. pulumi_digitalocean/get_vpc.py +1 -1
  79. pulumi_digitalocean/get_vpc_nat_gateway.py +253 -0
  80. pulumi_digitalocean/get_vpc_peering.py +1 -1
  81. pulumi_digitalocean/kubernetes_cluster.py +14 -1
  82. pulumi_digitalocean/kubernetes_node_pool.py +1 -1
  83. pulumi_digitalocean/load_balancer.py +1 -1
  84. pulumi_digitalocean/monitor_alert.py +1 -1
  85. pulumi_digitalocean/outputs.py +211 -7
  86. pulumi_digitalocean/partner_attachment.py +49 -2
  87. pulumi_digitalocean/project.py +1 -1
  88. pulumi_digitalocean/project_resources.py +1 -1
  89. pulumi_digitalocean/provider.py +1 -1
  90. pulumi_digitalocean/pulumi-plugin.json +1 -1
  91. pulumi_digitalocean/reserved_ip.py +1 -1
  92. pulumi_digitalocean/reserved_ip_assignment.py +1 -1
  93. pulumi_digitalocean/reserved_ipv6.py +1 -1
  94. pulumi_digitalocean/reserved_ipv6_assignment.py +1 -1
  95. pulumi_digitalocean/spaces_bucket.py +1 -1
  96. pulumi_digitalocean/spaces_bucket_cors_configuration.py +1 -1
  97. pulumi_digitalocean/spaces_bucket_logging.py +1 -1
  98. pulumi_digitalocean/spaces_bucket_object.py +1 -1
  99. pulumi_digitalocean/spaces_bucket_policy.py +1 -1
  100. pulumi_digitalocean/spaces_key.py +1 -1
  101. pulumi_digitalocean/ssh_key.py +1 -1
  102. pulumi_digitalocean/tag.py +1 -1
  103. pulumi_digitalocean/uptime_alert.py +1 -1
  104. pulumi_digitalocean/uptime_check.py +1 -1
  105. pulumi_digitalocean/volume.py +1 -1
  106. pulumi_digitalocean/volume_attachment.py +1 -1
  107. pulumi_digitalocean/volume_snapshot.py +1 -1
  108. pulumi_digitalocean/vpc.py +1 -1
  109. pulumi_digitalocean/vpc_nat_gateway.py +672 -0
  110. pulumi_digitalocean/vpc_peering.py +1 -1
  111. {pulumi_digitalocean-4.46.0a1747979086.dist-info → pulumi_digitalocean-4.46.0a1749009476.dist-info}/METADATA +1 -1
  112. pulumi_digitalocean-4.46.0a1749009476.dist-info/RECORD +115 -0
  113. {pulumi_digitalocean-4.46.0a1747979086.dist-info → pulumi_digitalocean-4.46.0a1749009476.dist-info}/WHEEL +1 -1
  114. pulumi_digitalocean-4.46.0a1747979086.dist-info/RECORD +0 -113
  115. {pulumi_digitalocean-4.46.0a1747979086.dist-info → pulumi_digitalocean-4.46.0a1749009476.dist-info}/top_level.txt +0 -0
@@ -1,5 +1,5 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
5
  import builtins
@@ -1,5 +1,5 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
5
  import builtins
@@ -1,5 +1,5 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
5
  import builtins
@@ -1,5 +1,5 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
5
  import builtins
@@ -1,5 +1,5 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
5
  import builtins
@@ -1,5 +1,5 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
5
  import builtins
@@ -1,5 +1,5 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
5
  import builtins
@@ -1,5 +1,5 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
5
  import builtins
@@ -1,5 +1,5 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
5
  import builtins
@@ -1,5 +1,5 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
5
  import builtins
@@ -1,5 +1,5 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
5
  import builtins
@@ -1,5 +1,5 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
5
  import builtins
@@ -1,5 +1,5 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
5
  import builtins
@@ -29,7 +29,7 @@ class GetPartnerAttachmentResult:
29
29
  """
30
30
  A collection of values returned by getPartnerAttachment.
31
31
  """
32
- def __init__(__self__, bgp=None, connection_bandwidth_in_mbps=None, created_at=None, id=None, naas_provider=None, name=None, region=None, state=None, vpc_ids=None):
32
+ def __init__(__self__, bgp=None, connection_bandwidth_in_mbps=None, created_at=None, id=None, naas_provider=None, name=None, redundancy_zone=None, region=None, state=None, vpc_ids=None):
33
33
  if bgp and not isinstance(bgp, dict):
34
34
  raise TypeError("Expected argument 'bgp' to be a dict")
35
35
  pulumi.set(__self__, "bgp", bgp)
@@ -48,6 +48,9 @@ class GetPartnerAttachmentResult:
48
48
  if name and not isinstance(name, str):
49
49
  raise TypeError("Expected argument 'name' to be a str")
50
50
  pulumi.set(__self__, "name", name)
51
+ if redundancy_zone and not isinstance(redundancy_zone, str):
52
+ raise TypeError("Expected argument 'redundancy_zone' to be a str")
53
+ pulumi.set(__self__, "redundancy_zone", redundancy_zone)
51
54
  if region and not isinstance(region, str):
52
55
  raise TypeError("Expected argument 'region' to be a str")
53
56
  pulumi.set(__self__, "region", region)
@@ -88,6 +91,11 @@ class GetPartnerAttachmentResult:
88
91
  def name(self) -> builtins.str:
89
92
  return pulumi.get(self, "name")
90
93
 
94
+ @property
95
+ @pulumi.getter(name="redundancyZone")
96
+ def redundancy_zone(self) -> Optional[builtins.str]:
97
+ return pulumi.get(self, "redundancy_zone")
98
+
91
99
  @property
92
100
  @pulumi.getter
93
101
  def region(self) -> builtins.str:
@@ -116,6 +124,7 @@ class AwaitableGetPartnerAttachmentResult(GetPartnerAttachmentResult):
116
124
  id=self.id,
117
125
  naas_provider=self.naas_provider,
118
126
  name=self.name,
127
+ redundancy_zone=self.redundancy_zone,
119
128
  region=self.region,
120
129
  state=self.state,
121
130
  vpc_ids=self.vpc_ids)
@@ -124,6 +133,7 @@ class AwaitableGetPartnerAttachmentResult(GetPartnerAttachmentResult):
124
133
  def get_partner_attachment(bgp: Optional[Union['GetPartnerAttachmentBgpArgs', 'GetPartnerAttachmentBgpArgsDict']] = None,
125
134
  id: Optional[builtins.str] = None,
126
135
  name: Optional[builtins.str] = None,
136
+ redundancy_zone: Optional[builtins.str] = None,
127
137
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetPartnerAttachmentResult:
128
138
  """
129
139
  Use this data source to access information about an existing resource.
@@ -132,6 +142,7 @@ def get_partner_attachment(bgp: Optional[Union['GetPartnerAttachmentBgpArgs', 'G
132
142
  __args__['bgp'] = bgp
133
143
  __args__['id'] = id
134
144
  __args__['name'] = name
145
+ __args__['redundancyZone'] = redundancy_zone
135
146
  opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
136
147
  __ret__ = pulumi.runtime.invoke('digitalocean:index/getPartnerAttachment:getPartnerAttachment', __args__, opts=opts, typ=GetPartnerAttachmentResult).value
137
148
 
@@ -142,12 +153,14 @@ def get_partner_attachment(bgp: Optional[Union['GetPartnerAttachmentBgpArgs', 'G
142
153
  id=pulumi.get(__ret__, 'id'),
143
154
  naas_provider=pulumi.get(__ret__, 'naas_provider'),
144
155
  name=pulumi.get(__ret__, 'name'),
156
+ redundancy_zone=pulumi.get(__ret__, 'redundancy_zone'),
145
157
  region=pulumi.get(__ret__, 'region'),
146
158
  state=pulumi.get(__ret__, 'state'),
147
159
  vpc_ids=pulumi.get(__ret__, 'vpc_ids'))
148
160
  def get_partner_attachment_output(bgp: Optional[pulumi.Input[Optional[Union['GetPartnerAttachmentBgpArgs', 'GetPartnerAttachmentBgpArgsDict']]]] = None,
149
161
  id: Optional[pulumi.Input[Optional[builtins.str]]] = None,
150
162
  name: Optional[pulumi.Input[Optional[builtins.str]]] = None,
163
+ redundancy_zone: Optional[pulumi.Input[Optional[builtins.str]]] = None,
151
164
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetPartnerAttachmentResult]:
152
165
  """
153
166
  Use this data source to access information about an existing resource.
@@ -156,6 +169,7 @@ def get_partner_attachment_output(bgp: Optional[pulumi.Input[Optional[Union['Get
156
169
  __args__['bgp'] = bgp
157
170
  __args__['id'] = id
158
171
  __args__['name'] = name
172
+ __args__['redundancyZone'] = redundancy_zone
159
173
  opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
160
174
  __ret__ = pulumi.runtime.invoke_output('digitalocean:index/getPartnerAttachment:getPartnerAttachment', __args__, opts=opts, typ=GetPartnerAttachmentResult)
161
175
  return __ret__.apply(lambda __response__: GetPartnerAttachmentResult(
@@ -165,6 +179,7 @@ def get_partner_attachment_output(bgp: Optional[pulumi.Input[Optional[Union['Get
165
179
  id=pulumi.get(__response__, 'id'),
166
180
  naas_provider=pulumi.get(__response__, 'naas_provider'),
167
181
  name=pulumi.get(__response__, 'name'),
182
+ redundancy_zone=pulumi.get(__response__, 'redundancy_zone'),
168
183
  region=pulumi.get(__response__, 'region'),
169
184
  state=pulumi.get(__response__, 'state'),
170
185
  vpc_ids=pulumi.get(__response__, 'vpc_ids')))
@@ -1,5 +1,5 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
5
  import builtins
@@ -1,5 +1,5 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
5
  import builtins
@@ -1,5 +1,5 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
5
  import builtins
@@ -1,5 +1,5 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
5
  import builtins
@@ -1,5 +1,5 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
5
  import builtins
@@ -1,5 +1,5 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
5
  import builtins
@@ -1,5 +1,5 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
5
  import builtins
@@ -1,5 +1,5 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
5
  import builtins
@@ -1,5 +1,5 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
5
  import builtins
@@ -1,5 +1,5 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
5
  import builtins
@@ -1,5 +1,5 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
5
  import builtins
@@ -1,5 +1,5 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
5
  import builtins
@@ -1,5 +1,5 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
5
  import builtins
@@ -1,5 +1,5 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
5
  import builtins
@@ -1,5 +1,5 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
5
  import builtins
@@ -1,5 +1,5 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
5
  import builtins
@@ -1,5 +1,5 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
5
  import builtins
@@ -1,5 +1,5 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
5
  import builtins
@@ -1,5 +1,5 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
5
  import builtins
@@ -1,5 +1,5 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
5
  import builtins
@@ -1,5 +1,5 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
5
  import builtins
@@ -0,0 +1,253 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import builtins
6
+ import copy
7
+ import warnings
8
+ import sys
9
+ import pulumi
10
+ import pulumi.runtime
11
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
12
+ if sys.version_info >= (3, 11):
13
+ from typing import NotRequired, TypedDict, TypeAlias
14
+ else:
15
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
16
+ from . import _utilities
17
+ from . import outputs
18
+
19
+ __all__ = [
20
+ 'GetVpcNatGatewayResult',
21
+ 'AwaitableGetVpcNatGatewayResult',
22
+ 'get_vpc_nat_gateway',
23
+ 'get_vpc_nat_gateway_output',
24
+ ]
25
+
26
+ @pulumi.output_type
27
+ class GetVpcNatGatewayResult:
28
+ """
29
+ A collection of values returned by getVpcNatGateway.
30
+ """
31
+ def __init__(__self__, created_at=None, egresses=None, icmp_timeout_seconds=None, id=None, name=None, region=None, size=None, state=None, tcp_timeout_seconds=None, type=None, udp_timeout_seconds=None, updated_at=None, vpcs=None):
32
+ if created_at and not isinstance(created_at, str):
33
+ raise TypeError("Expected argument 'created_at' to be a str")
34
+ pulumi.set(__self__, "created_at", created_at)
35
+ if egresses and not isinstance(egresses, list):
36
+ raise TypeError("Expected argument 'egresses' to be a list")
37
+ pulumi.set(__self__, "egresses", egresses)
38
+ if icmp_timeout_seconds and not isinstance(icmp_timeout_seconds, int):
39
+ raise TypeError("Expected argument 'icmp_timeout_seconds' to be a int")
40
+ pulumi.set(__self__, "icmp_timeout_seconds", icmp_timeout_seconds)
41
+ if id and not isinstance(id, str):
42
+ raise TypeError("Expected argument 'id' to be a str")
43
+ pulumi.set(__self__, "id", id)
44
+ if name and not isinstance(name, str):
45
+ raise TypeError("Expected argument 'name' to be a str")
46
+ pulumi.set(__self__, "name", name)
47
+ if region and not isinstance(region, str):
48
+ raise TypeError("Expected argument 'region' to be a str")
49
+ pulumi.set(__self__, "region", region)
50
+ if size and not isinstance(size, int):
51
+ raise TypeError("Expected argument 'size' to be a int")
52
+ pulumi.set(__self__, "size", size)
53
+ if state and not isinstance(state, str):
54
+ raise TypeError("Expected argument 'state' to be a str")
55
+ pulumi.set(__self__, "state", state)
56
+ if tcp_timeout_seconds and not isinstance(tcp_timeout_seconds, int):
57
+ raise TypeError("Expected argument 'tcp_timeout_seconds' to be a int")
58
+ pulumi.set(__self__, "tcp_timeout_seconds", tcp_timeout_seconds)
59
+ if type and not isinstance(type, str):
60
+ raise TypeError("Expected argument 'type' to be a str")
61
+ pulumi.set(__self__, "type", type)
62
+ if udp_timeout_seconds and not isinstance(udp_timeout_seconds, int):
63
+ raise TypeError("Expected argument 'udp_timeout_seconds' to be a int")
64
+ pulumi.set(__self__, "udp_timeout_seconds", udp_timeout_seconds)
65
+ if updated_at and not isinstance(updated_at, str):
66
+ raise TypeError("Expected argument 'updated_at' to be a str")
67
+ pulumi.set(__self__, "updated_at", updated_at)
68
+ if vpcs and not isinstance(vpcs, list):
69
+ raise TypeError("Expected argument 'vpcs' to be a list")
70
+ pulumi.set(__self__, "vpcs", vpcs)
71
+
72
+ @property
73
+ @pulumi.getter(name="createdAt")
74
+ def created_at(self) -> builtins.str:
75
+ return pulumi.get(self, "created_at")
76
+
77
+ @property
78
+ @pulumi.getter
79
+ def egresses(self) -> Sequence['outputs.GetVpcNatGatewayEgressResult']:
80
+ return pulumi.get(self, "egresses")
81
+
82
+ @property
83
+ @pulumi.getter(name="icmpTimeoutSeconds")
84
+ def icmp_timeout_seconds(self) -> builtins.int:
85
+ return pulumi.get(self, "icmp_timeout_seconds")
86
+
87
+ @property
88
+ @pulumi.getter
89
+ def id(self) -> Optional[builtins.str]:
90
+ return pulumi.get(self, "id")
91
+
92
+ @property
93
+ @pulumi.getter
94
+ def name(self) -> Optional[builtins.str]:
95
+ return pulumi.get(self, "name")
96
+
97
+ @property
98
+ @pulumi.getter
99
+ def region(self) -> builtins.str:
100
+ return pulumi.get(self, "region")
101
+
102
+ @property
103
+ @pulumi.getter
104
+ def size(self) -> builtins.int:
105
+ return pulumi.get(self, "size")
106
+
107
+ @property
108
+ @pulumi.getter
109
+ def state(self) -> builtins.str:
110
+ return pulumi.get(self, "state")
111
+
112
+ @property
113
+ @pulumi.getter(name="tcpTimeoutSeconds")
114
+ def tcp_timeout_seconds(self) -> builtins.int:
115
+ return pulumi.get(self, "tcp_timeout_seconds")
116
+
117
+ @property
118
+ @pulumi.getter
119
+ def type(self) -> builtins.str:
120
+ return pulumi.get(self, "type")
121
+
122
+ @property
123
+ @pulumi.getter(name="udpTimeoutSeconds")
124
+ def udp_timeout_seconds(self) -> builtins.int:
125
+ return pulumi.get(self, "udp_timeout_seconds")
126
+
127
+ @property
128
+ @pulumi.getter(name="updatedAt")
129
+ def updated_at(self) -> builtins.str:
130
+ return pulumi.get(self, "updated_at")
131
+
132
+ @property
133
+ @pulumi.getter
134
+ def vpcs(self) -> Sequence['outputs.GetVpcNatGatewayVpcResult']:
135
+ return pulumi.get(self, "vpcs")
136
+
137
+
138
+ class AwaitableGetVpcNatGatewayResult(GetVpcNatGatewayResult):
139
+ # pylint: disable=using-constant-test
140
+ def __await__(self):
141
+ if False:
142
+ yield self
143
+ return GetVpcNatGatewayResult(
144
+ created_at=self.created_at,
145
+ egresses=self.egresses,
146
+ icmp_timeout_seconds=self.icmp_timeout_seconds,
147
+ id=self.id,
148
+ name=self.name,
149
+ region=self.region,
150
+ size=self.size,
151
+ state=self.state,
152
+ tcp_timeout_seconds=self.tcp_timeout_seconds,
153
+ type=self.type,
154
+ udp_timeout_seconds=self.udp_timeout_seconds,
155
+ updated_at=self.updated_at,
156
+ vpcs=self.vpcs)
157
+
158
+
159
+ def get_vpc_nat_gateway(id: Optional[builtins.str] = None,
160
+ name: Optional[builtins.str] = None,
161
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetVpcNatGatewayResult:
162
+ """
163
+ ## Example Usage
164
+
165
+ Get the VPC NAT Gateway by name:
166
+
167
+ ```python
168
+ import pulumi
169
+ import pulumi_digitalocean as digitalocean
170
+
171
+ my_imported_vpc_nat_gateway = digitalocean.get_vpc_nat_gateway(name=my_existing_vpc_nat_gateway["name"])
172
+ ```
173
+
174
+ Get the VPC NAT Gateway by ID:
175
+
176
+ ```python
177
+ import pulumi
178
+ import pulumi_digitalocean as digitalocean
179
+
180
+ my_imported_vpc_nat_gateway = digitalocean.get_vpc_nat_gateway(id=my_existing_vpc_nat_gateway["id"])
181
+ ```
182
+
183
+
184
+ :param builtins.str id: The ID of VPC NAT Gateway.
185
+ :param builtins.str name: The name of VPC NAT Gateway.
186
+ """
187
+ __args__ = dict()
188
+ __args__['id'] = id
189
+ __args__['name'] = name
190
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
191
+ __ret__ = pulumi.runtime.invoke('digitalocean:index/getVpcNatGateway:getVpcNatGateway', __args__, opts=opts, typ=GetVpcNatGatewayResult).value
192
+
193
+ return AwaitableGetVpcNatGatewayResult(
194
+ created_at=pulumi.get(__ret__, 'created_at'),
195
+ egresses=pulumi.get(__ret__, 'egresses'),
196
+ icmp_timeout_seconds=pulumi.get(__ret__, 'icmp_timeout_seconds'),
197
+ id=pulumi.get(__ret__, 'id'),
198
+ name=pulumi.get(__ret__, 'name'),
199
+ region=pulumi.get(__ret__, 'region'),
200
+ size=pulumi.get(__ret__, 'size'),
201
+ state=pulumi.get(__ret__, 'state'),
202
+ tcp_timeout_seconds=pulumi.get(__ret__, 'tcp_timeout_seconds'),
203
+ type=pulumi.get(__ret__, 'type'),
204
+ udp_timeout_seconds=pulumi.get(__ret__, 'udp_timeout_seconds'),
205
+ updated_at=pulumi.get(__ret__, 'updated_at'),
206
+ vpcs=pulumi.get(__ret__, 'vpcs'))
207
+ def get_vpc_nat_gateway_output(id: Optional[pulumi.Input[Optional[builtins.str]]] = None,
208
+ name: Optional[pulumi.Input[Optional[builtins.str]]] = None,
209
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetVpcNatGatewayResult]:
210
+ """
211
+ ## Example Usage
212
+
213
+ Get the VPC NAT Gateway by name:
214
+
215
+ ```python
216
+ import pulumi
217
+ import pulumi_digitalocean as digitalocean
218
+
219
+ my_imported_vpc_nat_gateway = digitalocean.get_vpc_nat_gateway(name=my_existing_vpc_nat_gateway["name"])
220
+ ```
221
+
222
+ Get the VPC NAT Gateway by ID:
223
+
224
+ ```python
225
+ import pulumi
226
+ import pulumi_digitalocean as digitalocean
227
+
228
+ my_imported_vpc_nat_gateway = digitalocean.get_vpc_nat_gateway(id=my_existing_vpc_nat_gateway["id"])
229
+ ```
230
+
231
+
232
+ :param builtins.str id: The ID of VPC NAT Gateway.
233
+ :param builtins.str name: The name of VPC NAT Gateway.
234
+ """
235
+ __args__ = dict()
236
+ __args__['id'] = id
237
+ __args__['name'] = name
238
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
239
+ __ret__ = pulumi.runtime.invoke_output('digitalocean:index/getVpcNatGateway:getVpcNatGateway', __args__, opts=opts, typ=GetVpcNatGatewayResult)
240
+ return __ret__.apply(lambda __response__: GetVpcNatGatewayResult(
241
+ created_at=pulumi.get(__response__, 'created_at'),
242
+ egresses=pulumi.get(__response__, 'egresses'),
243
+ icmp_timeout_seconds=pulumi.get(__response__, 'icmp_timeout_seconds'),
244
+ id=pulumi.get(__response__, 'id'),
245
+ name=pulumi.get(__response__, 'name'),
246
+ region=pulumi.get(__response__, 'region'),
247
+ size=pulumi.get(__response__, 'size'),
248
+ state=pulumi.get(__response__, 'state'),
249
+ tcp_timeout_seconds=pulumi.get(__response__, 'tcp_timeout_seconds'),
250
+ type=pulumi.get(__response__, 'type'),
251
+ udp_timeout_seconds=pulumi.get(__response__, 'udp_timeout_seconds'),
252
+ updated_at=pulumi.get(__response__, 'updated_at'),
253
+ vpcs=pulumi.get(__response__, 'vpcs')))
@@ -1,5 +1,5 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
5
  import builtins