pulumi-digitalocean 4.41.0a1742794810__py3-none-any.whl → 4.42.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of pulumi-digitalocean might be problematic. Click here for more details.

Files changed (111) hide show
  1. pulumi_digitalocean/__init__.py +21 -0
  2. pulumi_digitalocean/_enums.py +10 -8
  3. pulumi_digitalocean/_inputs.py +2936 -2693
  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 +45 -29
  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 +158 -0
  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 +272 -238
  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 +3185 -2989
  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 +388 -0
  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.0a1742794810.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.0a1742794810.dist-info → pulumi_digitalocean-4.42.0.dist-info}/WHEEL +1 -1
  110. pulumi_digitalocean-4.41.0a1742794810.dist-info/RECORD +0 -108
  111. {pulumi_digitalocean-4.41.0a1742794810.dist-info → pulumi_digitalocean-4.42.0.dist-info}/top_level.txt +0 -0
@@ -2,6 +2,7 @@
2
2
  # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
+ import builtins
5
6
  import copy
6
7
  import warnings
7
8
  import sys
@@ -60,7 +61,7 @@ class GetDropletSnapshotResult:
60
61
 
61
62
  @property
62
63
  @pulumi.getter(name="createdAt")
63
- def created_at(self) -> str:
64
+ def created_at(self) -> builtins.str:
64
65
  """
65
66
  The date and time the Droplet snapshot was created.
66
67
  """
@@ -68,7 +69,7 @@ class GetDropletSnapshotResult:
68
69
 
69
70
  @property
70
71
  @pulumi.getter(name="dropletId")
71
- def droplet_id(self) -> str:
72
+ def droplet_id(self) -> builtins.str:
72
73
  """
73
74
  The ID of the Droplet from which the Droplet snapshot originated.
74
75
  """
@@ -76,7 +77,7 @@ class GetDropletSnapshotResult:
76
77
 
77
78
  @property
78
79
  @pulumi.getter
79
- def id(self) -> str:
80
+ def id(self) -> builtins.str:
80
81
  """
81
82
  The provider-assigned unique ID for this managed resource.
82
83
  """
@@ -84,7 +85,7 @@ class GetDropletSnapshotResult:
84
85
 
85
86
  @property
86
87
  @pulumi.getter(name="minDiskSize")
87
- def min_disk_size(self) -> int:
88
+ def min_disk_size(self) -> builtins.int:
88
89
  """
89
90
  The minimum size in gigabytes required for a Droplet to be created based on this Droplet snapshot.
90
91
  """
@@ -92,27 +93,27 @@ class GetDropletSnapshotResult:
92
93
 
93
94
  @property
94
95
  @pulumi.getter(name="mostRecent")
95
- def most_recent(self) -> Optional[bool]:
96
+ def most_recent(self) -> Optional[builtins.bool]:
96
97
  return pulumi.get(self, "most_recent")
97
98
 
98
99
  @property
99
100
  @pulumi.getter
100
- def name(self) -> Optional[str]:
101
+ def name(self) -> Optional[builtins.str]:
101
102
  return pulumi.get(self, "name")
102
103
 
103
104
  @property
104
105
  @pulumi.getter(name="nameRegex")
105
- def name_regex(self) -> Optional[str]:
106
+ def name_regex(self) -> Optional[builtins.str]:
106
107
  return pulumi.get(self, "name_regex")
107
108
 
108
109
  @property
109
110
  @pulumi.getter
110
- def region(self) -> Optional[str]:
111
+ def region(self) -> Optional[builtins.str]:
111
112
  return pulumi.get(self, "region")
112
113
 
113
114
  @property
114
115
  @pulumi.getter
115
- def regions(self) -> Sequence[str]:
116
+ def regions(self) -> Sequence[builtins.str]:
116
117
  """
117
118
  A list of DigitalOcean region "slugs" indicating where the Droplet snapshot is available.
118
119
  """
@@ -120,7 +121,7 @@ class GetDropletSnapshotResult:
120
121
 
121
122
  @property
122
123
  @pulumi.getter
123
- def size(self) -> float:
124
+ def size(self) -> builtins.float:
124
125
  """
125
126
  The billable size of the Droplet snapshot in gigabytes.
126
127
  """
@@ -145,10 +146,10 @@ class AwaitableGetDropletSnapshotResult(GetDropletSnapshotResult):
145
146
  size=self.size)
146
147
 
147
148
 
148
- def get_droplet_snapshot(most_recent: Optional[bool] = None,
149
- name: Optional[str] = None,
150
- name_regex: Optional[str] = None,
151
- region: Optional[str] = None,
149
+ def get_droplet_snapshot(most_recent: Optional[builtins.bool] = None,
150
+ name: Optional[builtins.str] = None,
151
+ name_regex: Optional[builtins.str] = None,
152
+ region: Optional[builtins.str] = None,
152
153
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDropletSnapshotResult:
153
154
  """
154
155
  Droplet snapshots are saved instances of a Droplet. Use this data
@@ -185,14 +186,14 @@ def get_droplet_snapshot(most_recent: Optional[bool] = None,
185
186
  ```
186
187
 
187
188
 
188
- :param bool most_recent: If more than one result is returned, use the most recent Droplet snapshot.
189
+ :param builtins.bool most_recent: If more than one result is returned, use the most recent Droplet snapshot.
189
190
 
190
191
  > **NOTE:** If more or less than a single match is returned by the search,
191
192
  the update will fail. Ensure that your search is specific enough to return
192
193
  a single Droplet snapshot ID only, or use `most_recent` to choose the most recent one.
193
- :param str name: The name of the Droplet snapshot.
194
- :param str name_regex: A regex string to apply to the Droplet 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.
195
- :param str region: A "slug" representing a DigitalOcean region (e.g. `nyc1`). If set, only Droplet snapshots available in the region will be returned.
194
+ :param builtins.str name: The name of the Droplet snapshot.
195
+ :param builtins.str name_regex: A regex string to apply to the Droplet 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.
196
+ :param builtins.str region: A "slug" representing a DigitalOcean region (e.g. `nyc1`). If set, only Droplet snapshots available in the region will be returned.
196
197
  """
197
198
  __args__ = dict()
198
199
  __args__['mostRecent'] = most_recent
@@ -213,10 +214,10 @@ def get_droplet_snapshot(most_recent: Optional[bool] = None,
213
214
  region=pulumi.get(__ret__, 'region'),
214
215
  regions=pulumi.get(__ret__, 'regions'),
215
216
  size=pulumi.get(__ret__, 'size'))
216
- def get_droplet_snapshot_output(most_recent: Optional[pulumi.Input[Optional[bool]]] = None,
217
- name: Optional[pulumi.Input[Optional[str]]] = None,
218
- name_regex: Optional[pulumi.Input[Optional[str]]] = None,
219
- region: Optional[pulumi.Input[Optional[str]]] = None,
217
+ def get_droplet_snapshot_output(most_recent: Optional[pulumi.Input[Optional[builtins.bool]]] = None,
218
+ name: Optional[pulumi.Input[Optional[builtins.str]]] = None,
219
+ name_regex: Optional[pulumi.Input[Optional[builtins.str]]] = None,
220
+ region: Optional[pulumi.Input[Optional[builtins.str]]] = None,
220
221
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDropletSnapshotResult]:
221
222
  """
222
223
  Droplet snapshots are saved instances of a Droplet. Use this data
@@ -253,14 +254,14 @@ def get_droplet_snapshot_output(most_recent: Optional[pulumi.Input[Optional[bool
253
254
  ```
254
255
 
255
256
 
256
- :param bool most_recent: If more than one result is returned, use the most recent Droplet snapshot.
257
+ :param builtins.bool most_recent: If more than one result is returned, use the most recent Droplet snapshot.
257
258
 
258
259
  > **NOTE:** If more or less than a single match is returned by the search,
259
260
  the update will fail. Ensure that your search is specific enough to return
260
261
  a single Droplet snapshot ID only, or use `most_recent` to choose the most recent one.
261
- :param str name: The name of the Droplet snapshot.
262
- :param str name_regex: A regex string to apply to the Droplet 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.
263
- :param str region: A "slug" representing a DigitalOcean region (e.g. `nyc1`). If set, only Droplet snapshots available in the region will be returned.
262
+ :param builtins.str name: The name of the Droplet snapshot.
263
+ :param builtins.str name_regex: A regex string to apply to the Droplet 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.
264
+ :param builtins.str region: A "slug" representing a DigitalOcean region (e.g. `nyc1`). If set, only Droplet snapshots available in the region will be returned.
264
265
  """
265
266
  __args__ = dict()
266
267
  __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
@@ -60,12 +61,12 @@ class GetDropletsResult:
60
61
 
61
62
  @property
62
63
  @pulumi.getter
63
- def gpus(self) -> Optional[bool]:
64
+ def gpus(self) -> Optional[builtins.bool]:
64
65
  return pulumi.get(self, "gpus")
65
66
 
66
67
  @property
67
68
  @pulumi.getter
68
- def id(self) -> str:
69
+ def id(self) -> builtins.str:
69
70
  """
70
71
  The provider-assigned unique ID for this managed resource.
71
72
  """
@@ -91,7 +92,7 @@ class AwaitableGetDropletsResult(GetDropletsResult):
91
92
 
92
93
 
93
94
  def get_droplets(filters: Optional[Sequence[Union['GetDropletsFilterArgs', 'GetDropletsFilterArgsDict']]] = None,
94
- gpus: Optional[bool] = None,
95
+ gpus: Optional[builtins.bool] = None,
95
96
  sorts: Optional[Sequence[Union['GetDropletsSortArgs', 'GetDropletsSortArgsDict']]] = None,
96
97
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDropletsResult:
97
98
  """
@@ -148,7 +149,7 @@ def get_droplets(filters: Optional[Sequence[Union['GetDropletsFilterArgs', 'GetD
148
149
 
149
150
  :param Sequence[Union['GetDropletsFilterArgs', 'GetDropletsFilterArgsDict']] filters: Filter the results.
150
151
  The `filter` block is documented below.
151
- :param bool gpus: A boolean value specifying whether or not to list GPU Droplets
152
+ :param builtins.bool gpus: A boolean value specifying whether or not to list GPU Droplets
152
153
  :param Sequence[Union['GetDropletsSortArgs', 'GetDropletsSortArgsDict']] sorts: Sort the results.
153
154
  The `sort` block is documented below.
154
155
  """
@@ -166,7 +167,7 @@ def get_droplets(filters: Optional[Sequence[Union['GetDropletsFilterArgs', 'GetD
166
167
  id=pulumi.get(__ret__, 'id'),
167
168
  sorts=pulumi.get(__ret__, 'sorts'))
168
169
  def get_droplets_output(filters: Optional[pulumi.Input[Optional[Sequence[Union['GetDropletsFilterArgs', 'GetDropletsFilterArgsDict']]]]] = None,
169
- gpus: Optional[pulumi.Input[Optional[bool]]] = None,
170
+ gpus: Optional[pulumi.Input[Optional[builtins.bool]]] = None,
170
171
  sorts: Optional[pulumi.Input[Optional[Sequence[Union['GetDropletsSortArgs', 'GetDropletsSortArgsDict']]]]] = None,
171
172
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDropletsResult]:
172
173
  """
@@ -223,7 +224,7 @@ def get_droplets_output(filters: Optional[pulumi.Input[Optional[Sequence[Union['
223
224
 
224
225
  :param Sequence[Union['GetDropletsFilterArgs', 'GetDropletsFilterArgsDict']] filters: Filter the results.
225
226
  The `filter` block is documented below.
226
- :param bool gpus: A boolean value specifying whether or not to list GPU Droplets
227
+ :param builtins.bool gpus: A boolean value specifying whether or not to list GPU Droplets
227
228
  :param Sequence[Union['GetDropletsSortArgs', 'GetDropletsSortArgsDict']] sorts: Sort the results.
228
229
  The `sort` block is documented below.
229
230
  """
@@ -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
@@ -62,7 +63,7 @@ class GetFirewallResult:
62
63
 
63
64
  @property
64
65
  @pulumi.getter(name="createdAt")
65
- def created_at(self) -> str:
66
+ def created_at(self) -> builtins.str:
66
67
  """
67
68
  A time value given in ISO8601 combined date and time format
68
69
  that represents when the Firewall was created.
@@ -71,7 +72,7 @@ class GetFirewallResult:
71
72
 
72
73
  @property
73
74
  @pulumi.getter(name="dropletIds")
74
- def droplet_ids(self) -> Sequence[int]:
75
+ def droplet_ids(self) -> Sequence[builtins.int]:
75
76
  """
76
77
  The list of the IDs of the Droplets assigned to
77
78
  the Firewall.
@@ -80,12 +81,12 @@ class GetFirewallResult:
80
81
 
81
82
  @property
82
83
  @pulumi.getter(name="firewallId")
83
- def firewall_id(self) -> str:
84
+ def firewall_id(self) -> builtins.str:
84
85
  return pulumi.get(self, "firewall_id")
85
86
 
86
87
  @property
87
88
  @pulumi.getter
88
- def id(self) -> str:
89
+ def id(self) -> builtins.str:
89
90
  """
90
91
  The provider-assigned unique ID for this managed resource.
91
92
  """
@@ -98,7 +99,7 @@ class GetFirewallResult:
98
99
 
99
100
  @property
100
101
  @pulumi.getter
101
- def name(self) -> str:
102
+ def name(self) -> builtins.str:
102
103
  """
103
104
  The name of the Firewall.
104
105
  """
@@ -122,7 +123,7 @@ class GetFirewallResult:
122
123
 
123
124
  @property
124
125
  @pulumi.getter
125
- def status(self) -> str:
126
+ def status(self) -> builtins.str:
126
127
  """
127
128
  A status string indicating the current state of the Firewall.
128
129
  This can be "waiting", "succeeded", or "failed".
@@ -131,7 +132,7 @@ class GetFirewallResult:
131
132
 
132
133
  @property
133
134
  @pulumi.getter
134
- def tags(self) -> Sequence[str]:
135
+ def tags(self) -> Sequence[builtins.str]:
135
136
  """
136
137
  The names of the Tags assigned to the Firewall.
137
138
  """
@@ -156,11 +157,11 @@ class AwaitableGetFirewallResult(GetFirewallResult):
156
157
  tags=self.tags)
157
158
 
158
159
 
159
- def get_firewall(droplet_ids: Optional[Sequence[int]] = None,
160
- firewall_id: Optional[str] = None,
160
+ def get_firewall(droplet_ids: Optional[Sequence[builtins.int]] = None,
161
+ firewall_id: Optional[builtins.str] = None,
161
162
  inbound_rules: Optional[Sequence[Union['GetFirewallInboundRuleArgs', 'GetFirewallInboundRuleArgsDict']]] = None,
162
163
  outbound_rules: Optional[Sequence[Union['GetFirewallOutboundRuleArgs', 'GetFirewallOutboundRuleArgsDict']]] = None,
163
- tags: Optional[Sequence[str]] = None,
164
+ tags: Optional[Sequence[builtins.str]] = None,
164
165
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetFirewallResult:
165
166
  """
166
167
  Get information on a DigitalOcean Firewall.
@@ -178,11 +179,11 @@ def get_firewall(droplet_ids: Optional[Sequence[int]] = None,
178
179
  ```
179
180
 
180
181
 
181
- :param Sequence[int] droplet_ids: The list of the IDs of the Droplets assigned to
182
+ :param Sequence[builtins.int] droplet_ids: The list of the IDs of the Droplets assigned to
182
183
  the Firewall.
183
- :param str firewall_id: The ID of the firewall to retrieve information
184
+ :param builtins.str firewall_id: The ID of the firewall to retrieve information
184
185
  about.
185
- :param Sequence[str] tags: The names of the Tags assigned to the Firewall.
186
+ :param Sequence[builtins.str] tags: The names of the Tags assigned to the Firewall.
186
187
  """
187
188
  __args__ = dict()
188
189
  __args__['dropletIds'] = droplet_ids
@@ -204,11 +205,11 @@ def get_firewall(droplet_ids: Optional[Sequence[int]] = None,
204
205
  pending_changes=pulumi.get(__ret__, 'pending_changes'),
205
206
  status=pulumi.get(__ret__, 'status'),
206
207
  tags=pulumi.get(__ret__, 'tags'))
207
- def get_firewall_output(droplet_ids: Optional[pulumi.Input[Optional[Sequence[int]]]] = None,
208
- firewall_id: Optional[pulumi.Input[str]] = None,
208
+ def get_firewall_output(droplet_ids: Optional[pulumi.Input[Optional[Sequence[builtins.int]]]] = None,
209
+ firewall_id: Optional[pulumi.Input[builtins.str]] = None,
209
210
  inbound_rules: Optional[pulumi.Input[Optional[Sequence[Union['GetFirewallInboundRuleArgs', 'GetFirewallInboundRuleArgsDict']]]]] = None,
210
211
  outbound_rules: Optional[pulumi.Input[Optional[Sequence[Union['GetFirewallOutboundRuleArgs', 'GetFirewallOutboundRuleArgsDict']]]]] = None,
211
- tags: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
212
+ tags: Optional[pulumi.Input[Optional[Sequence[builtins.str]]]] = None,
212
213
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetFirewallResult]:
213
214
  """
214
215
  Get information on a DigitalOcean Firewall.
@@ -226,11 +227,11 @@ def get_firewall_output(droplet_ids: Optional[pulumi.Input[Optional[Sequence[int
226
227
  ```
227
228
 
228
229
 
229
- :param Sequence[int] droplet_ids: The list of the IDs of the Droplets assigned to
230
+ :param Sequence[builtins.int] droplet_ids: The list of the IDs of the Droplets assigned to
230
231
  the Firewall.
231
- :param str firewall_id: The ID of the firewall to retrieve information
232
+ :param builtins.str firewall_id: The ID of the firewall to retrieve information
232
233
  about.
233
- :param Sequence[str] tags: The names of the Tags assigned to the Firewall.
234
+ :param Sequence[builtins.str] tags: The names of the Tags assigned to the Firewall.
234
235
  """
235
236
  __args__ = dict()
236
237
  __args__['dropletIds'] = droplet_ids
@@ -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 GetFloatingIpResult:
45
46
 
46
47
  @property
47
48
  @pulumi.getter(name="dropletId")
48
- def droplet_id(self) -> int:
49
+ def droplet_id(self) -> builtins.int:
49
50
  """
50
51
  The Droplet id that the floating IP has been assigned to.
51
52
  """
@@ -53,7 +54,7 @@ class GetFloatingIpResult:
53
54
 
54
55
  @property
55
56
  @pulumi.getter(name="floatingIpUrn")
56
- def floating_ip_urn(self) -> str:
57
+ def floating_ip_urn(self) -> builtins.str:
57
58
  """
58
59
  The uniform resource name of the floating IP.
59
60
  """
@@ -61,7 +62,7 @@ class GetFloatingIpResult:
61
62
 
62
63
  @property
63
64
  @pulumi.getter
64
- def id(self) -> str:
65
+ def id(self) -> builtins.str:
65
66
  """
66
67
  The provider-assigned unique ID for this managed resource.
67
68
  """
@@ -69,12 +70,12 @@ class GetFloatingIpResult:
69
70
 
70
71
  @property
71
72
  @pulumi.getter(name="ipAddress")
72
- def ip_address(self) -> str:
73
+ def ip_address(self) -> builtins.str:
73
74
  return pulumi.get(self, "ip_address")
74
75
 
75
76
  @property
76
77
  @pulumi.getter
77
- def region(self) -> str:
78
+ def region(self) -> builtins.str:
78
79
  """
79
80
  The region that the floating IP is reserved to.
80
81
  """
@@ -94,7 +95,7 @@ class AwaitableGetFloatingIpResult(GetFloatingIpResult):
94
95
  region=self.region)
95
96
 
96
97
 
97
- def get_floating_ip(ip_address: Optional[str] = None,
98
+ def get_floating_ip(ip_address: Optional[builtins.str] = None,
98
99
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetFloatingIpResult:
99
100
  """
100
101
  > **Deprecated:** DigitalOcean Floating IPs have been renamed reserved IPs. This data source will be removed in a future release. Please use `ReservedIp` instead.
@@ -121,7 +122,7 @@ def get_floating_ip(ip_address: Optional[str] = None,
121
122
  ```
122
123
 
123
124
 
124
- :param str ip_address: The allocated IP address of the specific floating IP to retrieve.
125
+ :param builtins.str ip_address: The allocated IP address of the specific floating IP to retrieve.
125
126
  """
126
127
  __args__ = dict()
127
128
  __args__['ipAddress'] = ip_address
@@ -134,7 +135,7 @@ def get_floating_ip(ip_address: Optional[str] = None,
134
135
  id=pulumi.get(__ret__, 'id'),
135
136
  ip_address=pulumi.get(__ret__, 'ip_address'),
136
137
  region=pulumi.get(__ret__, 'region'))
137
- def get_floating_ip_output(ip_address: Optional[pulumi.Input[str]] = None,
138
+ def get_floating_ip_output(ip_address: Optional[pulumi.Input[builtins.str]] = None,
138
139
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetFloatingIpResult]:
139
140
  """
140
141
  > **Deprecated:** DigitalOcean Floating IPs have been renamed reserved IPs. This data source will be removed in a future release. Please use `ReservedIp` instead.
@@ -161,7 +162,7 @@ def get_floating_ip_output(ip_address: Optional[pulumi.Input[str]] = None,
161
162
  ```
162
163
 
163
164
 
164
- :param str ip_address: The allocated IP address of the specific floating IP to retrieve.
165
+ :param builtins.str ip_address: The allocated IP address of the specific floating IP to retrieve.
165
166
  """
166
167
  __args__ = dict()
167
168
  __args__['ipAddress'] = ip_address
@@ -2,6 +2,7 @@
2
2
  # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
+ import builtins
5
6
  import copy
6
7
  import warnings
7
8
  import sys
@@ -78,7 +79,7 @@ class GetImageResult:
78
79
 
79
80
  @property
80
81
  @pulumi.getter
81
- def created(self) -> str:
82
+ def created(self) -> builtins.str:
82
83
  """
83
84
  When the image was created
84
85
  """
@@ -86,12 +87,12 @@ class GetImageResult:
86
87
 
87
88
  @property
88
89
  @pulumi.getter
89
- def description(self) -> str:
90
+ def description(self) -> builtins.str:
90
91
  return pulumi.get(self, "description")
91
92
 
92
93
  @property
93
94
  @pulumi.getter
94
- def distribution(self) -> str:
95
+ def distribution(self) -> builtins.str:
95
96
  """
96
97
  The name of the distribution of the OS of the image.
97
98
  """
@@ -99,7 +100,7 @@ class GetImageResult:
99
100
 
100
101
  @property
101
102
  @pulumi.getter(name="errorMessage")
102
- def error_message(self) -> str:
103
+ def error_message(self) -> builtins.str:
103
104
  """
104
105
  Any applicable error message pertaining to the image
105
106
  """
@@ -107,7 +108,7 @@ class GetImageResult:
107
108
 
108
109
  @property
109
110
  @pulumi.getter
110
- def id(self) -> int:
111
+ def id(self) -> builtins.int:
111
112
  """
112
113
  The ID of the image.
113
114
  """
@@ -115,7 +116,7 @@ class GetImageResult:
115
116
 
116
117
  @property
117
118
  @pulumi.getter
118
- def image(self) -> str:
119
+ def image(self) -> builtins.str:
119
120
  """
120
121
  The id of the image (legacy parameter).
121
122
  """
@@ -123,7 +124,7 @@ class GetImageResult:
123
124
 
124
125
  @property
125
126
  @pulumi.getter(name="minDiskSize")
126
- def min_disk_size(self) -> int:
127
+ def min_disk_size(self) -> builtins.int:
127
128
  """
128
129
  The minimum 'disk' required for the image.
129
130
  """
@@ -131,7 +132,7 @@ class GetImageResult:
131
132
 
132
133
  @property
133
134
  @pulumi.getter
134
- def name(self) -> str:
135
+ def name(self) -> builtins.str:
135
136
  """
136
137
  The name of the image.
137
138
  """
@@ -139,7 +140,7 @@ class GetImageResult:
139
140
 
140
141
  @property
141
142
  @pulumi.getter
142
- def private(self) -> bool:
143
+ def private(self) -> builtins.bool:
143
144
  """
144
145
  Is image a public image or not. Public images represent
145
146
  Linux distributions or One-Click Applications, while non-public images represent
@@ -149,7 +150,7 @@ class GetImageResult:
149
150
 
150
151
  @property
151
152
  @pulumi.getter
152
- def regions(self) -> Sequence[str]:
153
+ def regions(self) -> Sequence[builtins.str]:
153
154
  """
154
155
  A set of the regions that the image is available in.
155
156
  """
@@ -157,7 +158,7 @@ class GetImageResult:
157
158
 
158
159
  @property
159
160
  @pulumi.getter(name="sizeGigabytes")
160
- def size_gigabytes(self) -> float:
161
+ def size_gigabytes(self) -> builtins.float:
161
162
  """
162
163
  The size of the image in GB.
163
164
  """
@@ -165,7 +166,7 @@ class GetImageResult:
165
166
 
166
167
  @property
167
168
  @pulumi.getter
168
- def slug(self) -> str:
169
+ def slug(self) -> builtins.str:
169
170
  """
170
171
  Unique text identifier of the image.
171
172
  """
@@ -173,12 +174,12 @@ class GetImageResult:
173
174
 
174
175
  @property
175
176
  @pulumi.getter
176
- def source(self) -> Optional[str]:
177
+ def source(self) -> Optional[builtins.str]:
177
178
  return pulumi.get(self, "source")
178
179
 
179
180
  @property
180
181
  @pulumi.getter
181
- def status(self) -> str:
182
+ def status(self) -> builtins.str:
182
183
  """
183
184
  Current status of the image
184
185
  """
@@ -186,7 +187,7 @@ class GetImageResult:
186
187
 
187
188
  @property
188
189
  @pulumi.getter
189
- def tags(self) -> Sequence[str]:
190
+ def tags(self) -> Sequence[builtins.str]:
190
191
  """
191
192
  A set of tags applied to the image
192
193
  """
@@ -194,7 +195,7 @@ class GetImageResult:
194
195
 
195
196
  @property
196
197
  @pulumi.getter
197
- def type(self) -> str:
198
+ def type(self) -> builtins.str:
198
199
  """
199
200
  Type of the image.
200
201
  """
@@ -225,10 +226,10 @@ class AwaitableGetImageResult(GetImageResult):
225
226
  type=self.type)
226
227
 
227
228
 
228
- def get_image(id: Optional[int] = None,
229
- name: Optional[str] = None,
230
- slug: Optional[str] = None,
231
- source: Optional[str] = None,
229
+ def get_image(id: Optional[builtins.int] = None,
230
+ name: Optional[builtins.str] = None,
231
+ slug: Optional[builtins.str] = None,
232
+ source: Optional[builtins.str] = None,
232
233
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetImageResult:
233
234
  """
234
235
  Get information on an image for use in other resources (e.g. creating a Droplet
@@ -273,12 +274,12 @@ def get_image(id: Optional[int] = None,
273
274
  ```
274
275
 
275
276
 
276
- :param int id: The id of the image
277
- :param str name: The name of the image.
278
- :param str slug: The slug of the official image.
277
+ :param builtins.int id: The id of the image
278
+ :param builtins.str name: The name of the image.
279
+ :param builtins.str slug: The slug of the official image.
279
280
 
280
281
  If `name` is specified, you may also specify:
281
- :param str source: Restrict the search to one of the following categories of images:
282
+ :param builtins.str source: Restrict the search to one of the following categories of images:
282
283
  """
283
284
  __args__ = dict()
284
285
  __args__['id'] = id
@@ -305,10 +306,10 @@ def get_image(id: Optional[int] = None,
305
306
  status=pulumi.get(__ret__, 'status'),
306
307
  tags=pulumi.get(__ret__, 'tags'),
307
308
  type=pulumi.get(__ret__, 'type'))
308
- def get_image_output(id: Optional[pulumi.Input[Optional[int]]] = None,
309
- name: Optional[pulumi.Input[Optional[str]]] = None,
310
- slug: Optional[pulumi.Input[Optional[str]]] = None,
311
- source: Optional[pulumi.Input[Optional[str]]] = None,
309
+ def get_image_output(id: Optional[pulumi.Input[Optional[builtins.int]]] = None,
310
+ name: Optional[pulumi.Input[Optional[builtins.str]]] = None,
311
+ slug: Optional[pulumi.Input[Optional[builtins.str]]] = None,
312
+ source: Optional[pulumi.Input[Optional[builtins.str]]] = None,
312
313
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetImageResult]:
313
314
  """
314
315
  Get information on an image for use in other resources (e.g. creating a Droplet
@@ -353,12 +354,12 @@ def get_image_output(id: Optional[pulumi.Input[Optional[int]]] = None,
353
354
  ```
354
355
 
355
356
 
356
- :param int id: The id of the image
357
- :param str name: The name of the image.
358
- :param str slug: The slug of the official image.
357
+ :param builtins.int id: The id of the image
358
+ :param builtins.str name: The name of the image.
359
+ :param builtins.str slug: The slug of the official image.
359
360
 
360
361
  If `name` is specified, you may also specify:
361
- :param str source: Restrict the search to one of the following categories of images:
362
+ :param builtins.str source: Restrict the search to one of the following categories of images:
362
363
  """
363
364
  __args__ = dict()
364
365
  __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
@@ -49,7 +50,7 @@ class GetImagesResult:
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
  """