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
@@ -22,40 +23,40 @@ __all__ = ['LoadBalancerArgs', 'LoadBalancer']
22
23
  @pulumi.input_type
23
24
  class LoadBalancerArgs:
24
25
  def __init__(__self__, *,
25
- algorithm: Optional[pulumi.Input[Union[str, 'Algorithm']]] = None,
26
- disable_lets_encrypt_dns_records: Optional[pulumi.Input[bool]] = None,
26
+ algorithm: Optional[pulumi.Input[Union[builtins.str, 'Algorithm']]] = None,
27
+ disable_lets_encrypt_dns_records: Optional[pulumi.Input[builtins.bool]] = None,
27
28
  domains: Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerDomainArgs']]]] = None,
28
- droplet_ids: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None,
29
- droplet_tag: Optional[pulumi.Input[str]] = None,
30
- enable_backend_keepalive: Optional[pulumi.Input[bool]] = None,
31
- enable_proxy_protocol: Optional[pulumi.Input[bool]] = None,
29
+ droplet_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.int]]]] = None,
30
+ droplet_tag: Optional[pulumi.Input[builtins.str]] = None,
31
+ enable_backend_keepalive: Optional[pulumi.Input[builtins.bool]] = None,
32
+ enable_proxy_protocol: Optional[pulumi.Input[builtins.bool]] = None,
32
33
  firewall: Optional[pulumi.Input['LoadBalancerFirewallArgs']] = None,
33
34
  forwarding_rules: Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerForwardingRuleArgs']]]] = None,
34
35
  glb_settings: Optional[pulumi.Input['LoadBalancerGlbSettingsArgs']] = None,
35
36
  healthcheck: Optional[pulumi.Input['LoadBalancerHealthcheckArgs']] = None,
36
- http_idle_timeout_seconds: Optional[pulumi.Input[int]] = None,
37
- name: Optional[pulumi.Input[str]] = None,
38
- network: Optional[pulumi.Input[str]] = None,
39
- network_stack: Optional[pulumi.Input[str]] = None,
40
- project_id: Optional[pulumi.Input[str]] = None,
41
- redirect_http_to_https: Optional[pulumi.Input[bool]] = None,
42
- region: Optional[pulumi.Input[Union[str, 'Region']]] = None,
43
- size: Optional[pulumi.Input[str]] = None,
44
- size_unit: Optional[pulumi.Input[int]] = None,
37
+ http_idle_timeout_seconds: Optional[pulumi.Input[builtins.int]] = None,
38
+ name: Optional[pulumi.Input[builtins.str]] = None,
39
+ network: Optional[pulumi.Input[builtins.str]] = None,
40
+ network_stack: Optional[pulumi.Input[builtins.str]] = None,
41
+ project_id: Optional[pulumi.Input[builtins.str]] = None,
42
+ redirect_http_to_https: Optional[pulumi.Input[builtins.bool]] = None,
43
+ region: Optional[pulumi.Input[Union[builtins.str, 'Region']]] = None,
44
+ size: Optional[pulumi.Input[builtins.str]] = None,
45
+ size_unit: Optional[pulumi.Input[builtins.int]] = None,
45
46
  sticky_sessions: Optional[pulumi.Input['LoadBalancerStickySessionsArgs']] = None,
46
- target_load_balancer_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
47
- type: Optional[pulumi.Input[str]] = None,
48
- vpc_uuid: Optional[pulumi.Input[str]] = None):
47
+ target_load_balancer_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
48
+ type: Optional[pulumi.Input[builtins.str]] = None,
49
+ vpc_uuid: Optional[pulumi.Input[builtins.str]] = None):
49
50
  """
50
51
  The set of arguments for constructing a LoadBalancer resource.
51
- :param pulumi.Input[Union[str, 'Algorithm']] algorithm: **Deprecated** This field has been deprecated. You can no longer specify an algorithm for load balancers.
52
+ :param pulumi.Input[Union[builtins.str, 'Algorithm']] algorithm: **Deprecated** This field has been deprecated. You can no longer specify an algorithm for load balancers.
52
53
  or `least_connections`. The default value is `round_robin`.
53
- :param pulumi.Input[bool] disable_lets_encrypt_dns_records: A boolean value indicating whether to disable automatic DNS record creation for Let's Encrypt certificates that are added to the load balancer. Default value is `false`.
54
+ :param pulumi.Input[builtins.bool] disable_lets_encrypt_dns_records: A boolean value indicating whether to disable automatic DNS record creation for Let's Encrypt certificates that are added to the load balancer. Default value is `false`.
54
55
  :param pulumi.Input[Sequence[pulumi.Input['LoadBalancerDomainArgs']]] domains: A list of `domains` required to ingress traffic to a Global Load Balancer. The `domains` block is documented below.
55
- :param pulumi.Input[Sequence[pulumi.Input[int]]] droplet_ids: A list of the IDs of each droplet to be attached to the Load Balancer.
56
- :param pulumi.Input[str] droplet_tag: The name of a Droplet tag corresponding to Droplets to be assigned to the Load Balancer.
57
- :param pulumi.Input[bool] enable_backend_keepalive: A boolean value indicating whether HTTP keepalive connections are maintained to target Droplets. Default value is `false`.
58
- :param pulumi.Input[bool] enable_proxy_protocol: A boolean value indicating whether PROXY
56
+ :param pulumi.Input[Sequence[pulumi.Input[builtins.int]]] droplet_ids: A list of the IDs of each droplet to be attached to the Load Balancer.
57
+ :param pulumi.Input[builtins.str] droplet_tag: The name of a Droplet tag corresponding to Droplets to be assigned to the Load Balancer.
58
+ :param pulumi.Input[builtins.bool] enable_backend_keepalive: A boolean value indicating whether HTTP keepalive connections are maintained to target Droplets. Default value is `false`.
59
+ :param pulumi.Input[builtins.bool] enable_proxy_protocol: A boolean value indicating whether PROXY
59
60
  Protocol should be used to pass information from connecting client requests to
60
61
  the backend service. Default value is `false`.
61
62
  :param pulumi.Input['LoadBalancerFirewallArgs'] firewall: A block containing rules for allowing/denying traffic to the Load Balancer. The `firewall` block is documented below. Only 1 firewall is allowed.
@@ -64,24 +65,24 @@ class LoadBalancerArgs:
64
65
  :param pulumi.Input['LoadBalancerGlbSettingsArgs'] glb_settings: A block containing `glb_settings` required to define target rules for a Global Load Balancer. The `glb_settings` block is documented below.
65
66
  :param pulumi.Input['LoadBalancerHealthcheckArgs'] healthcheck: A `healthcheck` block to be assigned to the
66
67
  Load Balancer. The `healthcheck` block is documented below. Only 1 healthcheck is allowed.
67
- :param pulumi.Input[int] http_idle_timeout_seconds: Specifies the idle timeout for HTTPS connections on the load balancer in seconds.
68
- :param pulumi.Input[str] name: The Load Balancer name
69
- :param pulumi.Input[str] network: The type of network the Load Balancer is accessible from. It must be either of `INTERNAL` or `EXTERNAL`. Defaults to `EXTERNAL`.
70
- :param pulumi.Input[str] network_stack: The network stack determines the allocation of ipv4/ipv6 addresses to the load balancer. It must be either of `IPV4` or `DUALSTACK`. Defaults to `IPV4`.
68
+ :param pulumi.Input[builtins.int] http_idle_timeout_seconds: Specifies the idle timeout for HTTPS connections on the load balancer in seconds.
69
+ :param pulumi.Input[builtins.str] name: The Load Balancer name
70
+ :param pulumi.Input[builtins.str] network: The type of network the Load Balancer is accessible from. It must be either of `INTERNAL` or `EXTERNAL`. Defaults to `EXTERNAL`.
71
+ :param pulumi.Input[builtins.str] network_stack: The network stack determines the allocation of ipv4/ipv6 addresses to the load balancer. It must be either of `IPV4` or `DUALSTACK`. Defaults to `IPV4`.
71
72
  **NOTE**: this feature is in private preview, and may not be available for public use
72
- :param pulumi.Input[str] project_id: The ID of the project that the load balancer is associated with. If no ID is provided at creation, the load balancer associates with the user's default project.
73
- :param pulumi.Input[bool] redirect_http_to_https: A boolean value indicating whether
73
+ :param pulumi.Input[builtins.str] project_id: The ID of the project that the load balancer is associated with. If no ID is provided at creation, the load balancer associates with the user's default project.
74
+ :param pulumi.Input[builtins.bool] redirect_http_to_https: A boolean value indicating whether
74
75
  HTTP requests to the Load Balancer on port 80 will be redirected to HTTPS on port 443.
75
76
  Default value is `false`.
76
- :param pulumi.Input[Union[str, 'Region']] region: The region to start in
77
- :param pulumi.Input[str] size: The size of the Load Balancer. It must be either `lb-small`, `lb-medium`, or `lb-large`. Defaults to `lb-small`. Only one of `size` or `size_unit` may be provided.
78
- :param pulumi.Input[int] size_unit: The size of the Load Balancer. It must be in the range (1, 200). Defaults to `1`. Only one of `size` or `size_unit` may be provided.
77
+ :param pulumi.Input[Union[builtins.str, 'Region']] region: The region to start in
78
+ :param pulumi.Input[builtins.str] size: The size of the Load Balancer. It must be either `lb-small`, `lb-medium`, or `lb-large`. Defaults to `lb-small`. Only one of `size` or `size_unit` may be provided.
79
+ :param pulumi.Input[builtins.int] size_unit: The size of the Load Balancer. It must be in the range (1, 200). Defaults to `1`. Only one of `size` or `size_unit` may be provided.
79
80
  :param pulumi.Input['LoadBalancerStickySessionsArgs'] sticky_sessions: A `sticky_sessions` block to be assigned to the
80
81
  Load Balancer. The `sticky_sessions` block is documented below. Only 1 sticky_sessions block is allowed.
81
- :param pulumi.Input[Sequence[pulumi.Input[str]]] target_load_balancer_ids: A list of Load Balancer IDs to be attached behind a Global Load Balancer.
82
- :param pulumi.Input[str] type: The type of the Load Balancer. It must be either of `REGIONAL`, `REGIONAL_NETWORK`, or `GLOBAL`. Defaults to `REGIONAL`.
82
+ :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] target_load_balancer_ids: A list of Load Balancer IDs to be attached behind a Global Load Balancer.
83
+ :param pulumi.Input[builtins.str] type: The type of the Load Balancer. It must be either of `REGIONAL`, `REGIONAL_NETWORK`, or `GLOBAL`. Defaults to `REGIONAL`.
83
84
  **NOTE**: non-`REGIONAL/GLOBAL` type may be part of closed beta feature and not available for public use.
84
- :param pulumi.Input[str] vpc_uuid: The ID of the VPC where the load balancer will be located.
85
+ :param pulumi.Input[builtins.str] vpc_uuid: The ID of the VPC where the load balancer will be located.
85
86
  """
86
87
  if algorithm is not None:
87
88
  warnings.warn("""This field has been deprecated. You can no longer specify an algorithm for load balancers.""", DeprecationWarning)
@@ -138,7 +139,7 @@ class LoadBalancerArgs:
138
139
  @property
139
140
  @pulumi.getter
140
141
  @_utilities.deprecated("""This field has been deprecated. You can no longer specify an algorithm for load balancers.""")
141
- def algorithm(self) -> Optional[pulumi.Input[Union[str, 'Algorithm']]]:
142
+ def algorithm(self) -> Optional[pulumi.Input[Union[builtins.str, 'Algorithm']]]:
142
143
  """
143
144
  **Deprecated** This field has been deprecated. You can no longer specify an algorithm for load balancers.
144
145
  or `least_connections`. The default value is `round_robin`.
@@ -146,19 +147,19 @@ class LoadBalancerArgs:
146
147
  return pulumi.get(self, "algorithm")
147
148
 
148
149
  @algorithm.setter
149
- def algorithm(self, value: Optional[pulumi.Input[Union[str, 'Algorithm']]]):
150
+ def algorithm(self, value: Optional[pulumi.Input[Union[builtins.str, 'Algorithm']]]):
150
151
  pulumi.set(self, "algorithm", value)
151
152
 
152
153
  @property
153
154
  @pulumi.getter(name="disableLetsEncryptDnsRecords")
154
- def disable_lets_encrypt_dns_records(self) -> Optional[pulumi.Input[bool]]:
155
+ def disable_lets_encrypt_dns_records(self) -> Optional[pulumi.Input[builtins.bool]]:
155
156
  """
156
157
  A boolean value indicating whether to disable automatic DNS record creation for Let's Encrypt certificates that are added to the load balancer. Default value is `false`.
157
158
  """
158
159
  return pulumi.get(self, "disable_lets_encrypt_dns_records")
159
160
 
160
161
  @disable_lets_encrypt_dns_records.setter
161
- def disable_lets_encrypt_dns_records(self, value: Optional[pulumi.Input[bool]]):
162
+ def disable_lets_encrypt_dns_records(self, value: Optional[pulumi.Input[builtins.bool]]):
162
163
  pulumi.set(self, "disable_lets_encrypt_dns_records", value)
163
164
 
164
165
  @property
@@ -175,43 +176,43 @@ class LoadBalancerArgs:
175
176
 
176
177
  @property
177
178
  @pulumi.getter(name="dropletIds")
178
- def droplet_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[int]]]]:
179
+ def droplet_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.int]]]]:
179
180
  """
180
181
  A list of the IDs of each droplet to be attached to the Load Balancer.
181
182
  """
182
183
  return pulumi.get(self, "droplet_ids")
183
184
 
184
185
  @droplet_ids.setter
185
- def droplet_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]]):
186
+ def droplet_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.int]]]]):
186
187
  pulumi.set(self, "droplet_ids", value)
187
188
 
188
189
  @property
189
190
  @pulumi.getter(name="dropletTag")
190
- def droplet_tag(self) -> Optional[pulumi.Input[str]]:
191
+ def droplet_tag(self) -> Optional[pulumi.Input[builtins.str]]:
191
192
  """
192
193
  The name of a Droplet tag corresponding to Droplets to be assigned to the Load Balancer.
193
194
  """
194
195
  return pulumi.get(self, "droplet_tag")
195
196
 
196
197
  @droplet_tag.setter
197
- def droplet_tag(self, value: Optional[pulumi.Input[str]]):
198
+ def droplet_tag(self, value: Optional[pulumi.Input[builtins.str]]):
198
199
  pulumi.set(self, "droplet_tag", value)
199
200
 
200
201
  @property
201
202
  @pulumi.getter(name="enableBackendKeepalive")
202
- def enable_backend_keepalive(self) -> Optional[pulumi.Input[bool]]:
203
+ def enable_backend_keepalive(self) -> Optional[pulumi.Input[builtins.bool]]:
203
204
  """
204
205
  A boolean value indicating whether HTTP keepalive connections are maintained to target Droplets. Default value is `false`.
205
206
  """
206
207
  return pulumi.get(self, "enable_backend_keepalive")
207
208
 
208
209
  @enable_backend_keepalive.setter
209
- def enable_backend_keepalive(self, value: Optional[pulumi.Input[bool]]):
210
+ def enable_backend_keepalive(self, value: Optional[pulumi.Input[builtins.bool]]):
210
211
  pulumi.set(self, "enable_backend_keepalive", value)
211
212
 
212
213
  @property
213
214
  @pulumi.getter(name="enableProxyProtocol")
214
- def enable_proxy_protocol(self) -> Optional[pulumi.Input[bool]]:
215
+ def enable_proxy_protocol(self) -> Optional[pulumi.Input[builtins.bool]]:
215
216
  """
216
217
  A boolean value indicating whether PROXY
217
218
  Protocol should be used to pass information from connecting client requests to
@@ -220,7 +221,7 @@ class LoadBalancerArgs:
220
221
  return pulumi.get(self, "enable_proxy_protocol")
221
222
 
222
223
  @enable_proxy_protocol.setter
223
- def enable_proxy_protocol(self, value: Optional[pulumi.Input[bool]]):
224
+ def enable_proxy_protocol(self, value: Optional[pulumi.Input[builtins.bool]]):
224
225
  pulumi.set(self, "enable_proxy_protocol", value)
225
226
 
226
227
  @property
@@ -275,43 +276,43 @@ class LoadBalancerArgs:
275
276
 
276
277
  @property
277
278
  @pulumi.getter(name="httpIdleTimeoutSeconds")
278
- def http_idle_timeout_seconds(self) -> Optional[pulumi.Input[int]]:
279
+ def http_idle_timeout_seconds(self) -> Optional[pulumi.Input[builtins.int]]:
279
280
  """
280
281
  Specifies the idle timeout for HTTPS connections on the load balancer in seconds.
281
282
  """
282
283
  return pulumi.get(self, "http_idle_timeout_seconds")
283
284
 
284
285
  @http_idle_timeout_seconds.setter
285
- def http_idle_timeout_seconds(self, value: Optional[pulumi.Input[int]]):
286
+ def http_idle_timeout_seconds(self, value: Optional[pulumi.Input[builtins.int]]):
286
287
  pulumi.set(self, "http_idle_timeout_seconds", value)
287
288
 
288
289
  @property
289
290
  @pulumi.getter
290
- def name(self) -> Optional[pulumi.Input[str]]:
291
+ def name(self) -> Optional[pulumi.Input[builtins.str]]:
291
292
  """
292
293
  The Load Balancer name
293
294
  """
294
295
  return pulumi.get(self, "name")
295
296
 
296
297
  @name.setter
297
- def name(self, value: Optional[pulumi.Input[str]]):
298
+ def name(self, value: Optional[pulumi.Input[builtins.str]]):
298
299
  pulumi.set(self, "name", value)
299
300
 
300
301
  @property
301
302
  @pulumi.getter
302
- def network(self) -> Optional[pulumi.Input[str]]:
303
+ def network(self) -> Optional[pulumi.Input[builtins.str]]:
303
304
  """
304
305
  The type of network the Load Balancer is accessible from. It must be either of `INTERNAL` or `EXTERNAL`. Defaults to `EXTERNAL`.
305
306
  """
306
307
  return pulumi.get(self, "network")
307
308
 
308
309
  @network.setter
309
- def network(self, value: Optional[pulumi.Input[str]]):
310
+ def network(self, value: Optional[pulumi.Input[builtins.str]]):
310
311
  pulumi.set(self, "network", value)
311
312
 
312
313
  @property
313
314
  @pulumi.getter(name="networkStack")
314
- def network_stack(self) -> Optional[pulumi.Input[str]]:
315
+ def network_stack(self) -> Optional[pulumi.Input[builtins.str]]:
315
316
  """
316
317
  The network stack determines the allocation of ipv4/ipv6 addresses to the load balancer. It must be either of `IPV4` or `DUALSTACK`. Defaults to `IPV4`.
317
318
  **NOTE**: this feature is in private preview, and may not be available for public use
@@ -319,24 +320,24 @@ class LoadBalancerArgs:
319
320
  return pulumi.get(self, "network_stack")
320
321
 
321
322
  @network_stack.setter
322
- def network_stack(self, value: Optional[pulumi.Input[str]]):
323
+ def network_stack(self, value: Optional[pulumi.Input[builtins.str]]):
323
324
  pulumi.set(self, "network_stack", value)
324
325
 
325
326
  @property
326
327
  @pulumi.getter(name="projectId")
327
- def project_id(self) -> Optional[pulumi.Input[str]]:
328
+ def project_id(self) -> Optional[pulumi.Input[builtins.str]]:
328
329
  """
329
330
  The ID of the project that the load balancer is associated with. If no ID is provided at creation, the load balancer associates with the user's default project.
330
331
  """
331
332
  return pulumi.get(self, "project_id")
332
333
 
333
334
  @project_id.setter
334
- def project_id(self, value: Optional[pulumi.Input[str]]):
335
+ def project_id(self, value: Optional[pulumi.Input[builtins.str]]):
335
336
  pulumi.set(self, "project_id", value)
336
337
 
337
338
  @property
338
339
  @pulumi.getter(name="redirectHttpToHttps")
339
- def redirect_http_to_https(self) -> Optional[pulumi.Input[bool]]:
340
+ def redirect_http_to_https(self) -> Optional[pulumi.Input[builtins.bool]]:
340
341
  """
341
342
  A boolean value indicating whether
342
343
  HTTP requests to the Load Balancer on port 80 will be redirected to HTTPS on port 443.
@@ -345,43 +346,43 @@ class LoadBalancerArgs:
345
346
  return pulumi.get(self, "redirect_http_to_https")
346
347
 
347
348
  @redirect_http_to_https.setter
348
- def redirect_http_to_https(self, value: Optional[pulumi.Input[bool]]):
349
+ def redirect_http_to_https(self, value: Optional[pulumi.Input[builtins.bool]]):
349
350
  pulumi.set(self, "redirect_http_to_https", value)
350
351
 
351
352
  @property
352
353
  @pulumi.getter
353
- def region(self) -> Optional[pulumi.Input[Union[str, 'Region']]]:
354
+ def region(self) -> Optional[pulumi.Input[Union[builtins.str, 'Region']]]:
354
355
  """
355
356
  The region to start in
356
357
  """
357
358
  return pulumi.get(self, "region")
358
359
 
359
360
  @region.setter
360
- def region(self, value: Optional[pulumi.Input[Union[str, 'Region']]]):
361
+ def region(self, value: Optional[pulumi.Input[Union[builtins.str, 'Region']]]):
361
362
  pulumi.set(self, "region", value)
362
363
 
363
364
  @property
364
365
  @pulumi.getter
365
- def size(self) -> Optional[pulumi.Input[str]]:
366
+ def size(self) -> Optional[pulumi.Input[builtins.str]]:
366
367
  """
367
368
  The size of the Load Balancer. It must be either `lb-small`, `lb-medium`, or `lb-large`. Defaults to `lb-small`. Only one of `size` or `size_unit` may be provided.
368
369
  """
369
370
  return pulumi.get(self, "size")
370
371
 
371
372
  @size.setter
372
- def size(self, value: Optional[pulumi.Input[str]]):
373
+ def size(self, value: Optional[pulumi.Input[builtins.str]]):
373
374
  pulumi.set(self, "size", value)
374
375
 
375
376
  @property
376
377
  @pulumi.getter(name="sizeUnit")
377
- def size_unit(self) -> Optional[pulumi.Input[int]]:
378
+ def size_unit(self) -> Optional[pulumi.Input[builtins.int]]:
378
379
  """
379
380
  The size of the Load Balancer. It must be in the range (1, 200). Defaults to `1`. Only one of `size` or `size_unit` may be provided.
380
381
  """
381
382
  return pulumi.get(self, "size_unit")
382
383
 
383
384
  @size_unit.setter
384
- def size_unit(self, value: Optional[pulumi.Input[int]]):
385
+ def size_unit(self, value: Optional[pulumi.Input[builtins.int]]):
385
386
  pulumi.set(self, "size_unit", value)
386
387
 
387
388
  @property
@@ -399,19 +400,19 @@ class LoadBalancerArgs:
399
400
 
400
401
  @property
401
402
  @pulumi.getter(name="targetLoadBalancerIds")
402
- def target_load_balancer_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
403
+ def target_load_balancer_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
403
404
  """
404
405
  A list of Load Balancer IDs to be attached behind a Global Load Balancer.
405
406
  """
406
407
  return pulumi.get(self, "target_load_balancer_ids")
407
408
 
408
409
  @target_load_balancer_ids.setter
409
- def target_load_balancer_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
410
+ def target_load_balancer_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
410
411
  pulumi.set(self, "target_load_balancer_ids", value)
411
412
 
412
413
  @property
413
414
  @pulumi.getter
414
- def type(self) -> Optional[pulumi.Input[str]]:
415
+ def type(self) -> Optional[pulumi.Input[builtins.str]]:
415
416
  """
416
417
  The type of the Load Balancer. It must be either of `REGIONAL`, `REGIONAL_NETWORK`, or `GLOBAL`. Defaults to `REGIONAL`.
417
418
  **NOTE**: non-`REGIONAL/GLOBAL` type may be part of closed beta feature and not available for public use.
@@ -419,63 +420,63 @@ class LoadBalancerArgs:
419
420
  return pulumi.get(self, "type")
420
421
 
421
422
  @type.setter
422
- def type(self, value: Optional[pulumi.Input[str]]):
423
+ def type(self, value: Optional[pulumi.Input[builtins.str]]):
423
424
  pulumi.set(self, "type", value)
424
425
 
425
426
  @property
426
427
  @pulumi.getter(name="vpcUuid")
427
- def vpc_uuid(self) -> Optional[pulumi.Input[str]]:
428
+ def vpc_uuid(self) -> Optional[pulumi.Input[builtins.str]]:
428
429
  """
429
430
  The ID of the VPC where the load balancer will be located.
430
431
  """
431
432
  return pulumi.get(self, "vpc_uuid")
432
433
 
433
434
  @vpc_uuid.setter
434
- def vpc_uuid(self, value: Optional[pulumi.Input[str]]):
435
+ def vpc_uuid(self, value: Optional[pulumi.Input[builtins.str]]):
435
436
  pulumi.set(self, "vpc_uuid", value)
436
437
 
437
438
 
438
439
  @pulumi.input_type
439
440
  class _LoadBalancerState:
440
441
  def __init__(__self__, *,
441
- algorithm: Optional[pulumi.Input[Union[str, 'Algorithm']]] = None,
442
- disable_lets_encrypt_dns_records: Optional[pulumi.Input[bool]] = None,
442
+ algorithm: Optional[pulumi.Input[Union[builtins.str, 'Algorithm']]] = None,
443
+ disable_lets_encrypt_dns_records: Optional[pulumi.Input[builtins.bool]] = None,
443
444
  domains: Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerDomainArgs']]]] = None,
444
- droplet_ids: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None,
445
- droplet_tag: Optional[pulumi.Input[str]] = None,
446
- enable_backend_keepalive: Optional[pulumi.Input[bool]] = None,
447
- enable_proxy_protocol: Optional[pulumi.Input[bool]] = None,
445
+ droplet_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.int]]]] = None,
446
+ droplet_tag: Optional[pulumi.Input[builtins.str]] = None,
447
+ enable_backend_keepalive: Optional[pulumi.Input[builtins.bool]] = None,
448
+ enable_proxy_protocol: Optional[pulumi.Input[builtins.bool]] = None,
448
449
  firewall: Optional[pulumi.Input['LoadBalancerFirewallArgs']] = None,
449
450
  forwarding_rules: Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerForwardingRuleArgs']]]] = None,
450
451
  glb_settings: Optional[pulumi.Input['LoadBalancerGlbSettingsArgs']] = None,
451
452
  healthcheck: Optional[pulumi.Input['LoadBalancerHealthcheckArgs']] = None,
452
- http_idle_timeout_seconds: Optional[pulumi.Input[int]] = None,
453
- ip: Optional[pulumi.Input[str]] = None,
454
- ipv6: Optional[pulumi.Input[str]] = None,
455
- load_balancer_urn: Optional[pulumi.Input[str]] = None,
456
- name: Optional[pulumi.Input[str]] = None,
457
- network: Optional[pulumi.Input[str]] = None,
458
- network_stack: Optional[pulumi.Input[str]] = None,
459
- project_id: Optional[pulumi.Input[str]] = None,
460
- redirect_http_to_https: Optional[pulumi.Input[bool]] = None,
461
- region: Optional[pulumi.Input[Union[str, 'Region']]] = None,
462
- size: Optional[pulumi.Input[str]] = None,
463
- size_unit: Optional[pulumi.Input[int]] = None,
464
- status: Optional[pulumi.Input[str]] = None,
453
+ http_idle_timeout_seconds: Optional[pulumi.Input[builtins.int]] = None,
454
+ ip: Optional[pulumi.Input[builtins.str]] = None,
455
+ ipv6: Optional[pulumi.Input[builtins.str]] = None,
456
+ load_balancer_urn: Optional[pulumi.Input[builtins.str]] = None,
457
+ name: Optional[pulumi.Input[builtins.str]] = None,
458
+ network: Optional[pulumi.Input[builtins.str]] = None,
459
+ network_stack: Optional[pulumi.Input[builtins.str]] = None,
460
+ project_id: Optional[pulumi.Input[builtins.str]] = None,
461
+ redirect_http_to_https: Optional[pulumi.Input[builtins.bool]] = None,
462
+ region: Optional[pulumi.Input[Union[builtins.str, 'Region']]] = None,
463
+ size: Optional[pulumi.Input[builtins.str]] = None,
464
+ size_unit: Optional[pulumi.Input[builtins.int]] = None,
465
+ status: Optional[pulumi.Input[builtins.str]] = None,
465
466
  sticky_sessions: Optional[pulumi.Input['LoadBalancerStickySessionsArgs']] = None,
466
- target_load_balancer_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
467
- type: Optional[pulumi.Input[str]] = None,
468
- vpc_uuid: Optional[pulumi.Input[str]] = None):
467
+ target_load_balancer_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
468
+ type: Optional[pulumi.Input[builtins.str]] = None,
469
+ vpc_uuid: Optional[pulumi.Input[builtins.str]] = None):
469
470
  """
470
471
  Input properties used for looking up and filtering LoadBalancer resources.
471
- :param pulumi.Input[Union[str, 'Algorithm']] algorithm: **Deprecated** This field has been deprecated. You can no longer specify an algorithm for load balancers.
472
+ :param pulumi.Input[Union[builtins.str, 'Algorithm']] algorithm: **Deprecated** This field has been deprecated. You can no longer specify an algorithm for load balancers.
472
473
  or `least_connections`. The default value is `round_robin`.
473
- :param pulumi.Input[bool] disable_lets_encrypt_dns_records: A boolean value indicating whether to disable automatic DNS record creation for Let's Encrypt certificates that are added to the load balancer. Default value is `false`.
474
+ :param pulumi.Input[builtins.bool] disable_lets_encrypt_dns_records: A boolean value indicating whether to disable automatic DNS record creation for Let's Encrypt certificates that are added to the load balancer. Default value is `false`.
474
475
  :param pulumi.Input[Sequence[pulumi.Input['LoadBalancerDomainArgs']]] domains: A list of `domains` required to ingress traffic to a Global Load Balancer. The `domains` block is documented below.
475
- :param pulumi.Input[Sequence[pulumi.Input[int]]] droplet_ids: A list of the IDs of each droplet to be attached to the Load Balancer.
476
- :param pulumi.Input[str] droplet_tag: The name of a Droplet tag corresponding to Droplets to be assigned to the Load Balancer.
477
- :param pulumi.Input[bool] enable_backend_keepalive: A boolean value indicating whether HTTP keepalive connections are maintained to target Droplets. Default value is `false`.
478
- :param pulumi.Input[bool] enable_proxy_protocol: A boolean value indicating whether PROXY
476
+ :param pulumi.Input[Sequence[pulumi.Input[builtins.int]]] droplet_ids: A list of the IDs of each droplet to be attached to the Load Balancer.
477
+ :param pulumi.Input[builtins.str] droplet_tag: The name of a Droplet tag corresponding to Droplets to be assigned to the Load Balancer.
478
+ :param pulumi.Input[builtins.bool] enable_backend_keepalive: A boolean value indicating whether HTTP keepalive connections are maintained to target Droplets. Default value is `false`.
479
+ :param pulumi.Input[builtins.bool] enable_proxy_protocol: A boolean value indicating whether PROXY
479
480
  Protocol should be used to pass information from connecting client requests to
480
481
  the backend service. Default value is `false`.
481
482
  :param pulumi.Input['LoadBalancerFirewallArgs'] firewall: A block containing rules for allowing/denying traffic to the Load Balancer. The `firewall` block is documented below. Only 1 firewall is allowed.
@@ -484,26 +485,26 @@ class _LoadBalancerState:
484
485
  :param pulumi.Input['LoadBalancerGlbSettingsArgs'] glb_settings: A block containing `glb_settings` required to define target rules for a Global Load Balancer. The `glb_settings` block is documented below.
485
486
  :param pulumi.Input['LoadBalancerHealthcheckArgs'] healthcheck: A `healthcheck` block to be assigned to the
486
487
  Load Balancer. The `healthcheck` block is documented below. Only 1 healthcheck is allowed.
487
- :param pulumi.Input[int] http_idle_timeout_seconds: Specifies the idle timeout for HTTPS connections on the load balancer in seconds.
488
- :param pulumi.Input[str] ip: The ip of the Load Balancer
489
- :param pulumi.Input[str] load_balancer_urn: The uniform resource name for the Load Balancer
490
- :param pulumi.Input[str] name: The Load Balancer name
491
- :param pulumi.Input[str] network: The type of network the Load Balancer is accessible from. It must be either of `INTERNAL` or `EXTERNAL`. Defaults to `EXTERNAL`.
492
- :param pulumi.Input[str] network_stack: The network stack determines the allocation of ipv4/ipv6 addresses to the load balancer. It must be either of `IPV4` or `DUALSTACK`. Defaults to `IPV4`.
488
+ :param pulumi.Input[builtins.int] http_idle_timeout_seconds: Specifies the idle timeout for HTTPS connections on the load balancer in seconds.
489
+ :param pulumi.Input[builtins.str] ip: The ip of the Load Balancer
490
+ :param pulumi.Input[builtins.str] load_balancer_urn: The uniform resource name for the Load Balancer
491
+ :param pulumi.Input[builtins.str] name: The Load Balancer name
492
+ :param pulumi.Input[builtins.str] network: The type of network the Load Balancer is accessible from. It must be either of `INTERNAL` or `EXTERNAL`. Defaults to `EXTERNAL`.
493
+ :param pulumi.Input[builtins.str] network_stack: The network stack determines the allocation of ipv4/ipv6 addresses to the load balancer. It must be either of `IPV4` or `DUALSTACK`. Defaults to `IPV4`.
493
494
  **NOTE**: this feature is in private preview, and may not be available for public use
494
- :param pulumi.Input[str] project_id: The ID of the project that the load balancer is associated with. If no ID is provided at creation, the load balancer associates with the user's default project.
495
- :param pulumi.Input[bool] redirect_http_to_https: A boolean value indicating whether
495
+ :param pulumi.Input[builtins.str] project_id: The ID of the project that the load balancer is associated with. If no ID is provided at creation, the load balancer associates with the user's default project.
496
+ :param pulumi.Input[builtins.bool] redirect_http_to_https: A boolean value indicating whether
496
497
  HTTP requests to the Load Balancer on port 80 will be redirected to HTTPS on port 443.
497
498
  Default value is `false`.
498
- :param pulumi.Input[Union[str, 'Region']] region: The region to start in
499
- :param pulumi.Input[str] size: The size of the Load Balancer. It must be either `lb-small`, `lb-medium`, or `lb-large`. Defaults to `lb-small`. Only one of `size` or `size_unit` may be provided.
500
- :param pulumi.Input[int] size_unit: The size of the Load Balancer. It must be in the range (1, 200). Defaults to `1`. Only one of `size` or `size_unit` may be provided.
499
+ :param pulumi.Input[Union[builtins.str, 'Region']] region: The region to start in
500
+ :param pulumi.Input[builtins.str] size: The size of the Load Balancer. It must be either `lb-small`, `lb-medium`, or `lb-large`. Defaults to `lb-small`. Only one of `size` or `size_unit` may be provided.
501
+ :param pulumi.Input[builtins.int] size_unit: The size of the Load Balancer. It must be in the range (1, 200). Defaults to `1`. Only one of `size` or `size_unit` may be provided.
501
502
  :param pulumi.Input['LoadBalancerStickySessionsArgs'] sticky_sessions: A `sticky_sessions` block to be assigned to the
502
503
  Load Balancer. The `sticky_sessions` block is documented below. Only 1 sticky_sessions block is allowed.
503
- :param pulumi.Input[Sequence[pulumi.Input[str]]] target_load_balancer_ids: A list of Load Balancer IDs to be attached behind a Global Load Balancer.
504
- :param pulumi.Input[str] type: The type of the Load Balancer. It must be either of `REGIONAL`, `REGIONAL_NETWORK`, or `GLOBAL`. Defaults to `REGIONAL`.
504
+ :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] target_load_balancer_ids: A list of Load Balancer IDs to be attached behind a Global Load Balancer.
505
+ :param pulumi.Input[builtins.str] type: The type of the Load Balancer. It must be either of `REGIONAL`, `REGIONAL_NETWORK`, or `GLOBAL`. Defaults to `REGIONAL`.
505
506
  **NOTE**: non-`REGIONAL/GLOBAL` type may be part of closed beta feature and not available for public use.
506
- :param pulumi.Input[str] vpc_uuid: The ID of the VPC where the load balancer will be located.
507
+ :param pulumi.Input[builtins.str] vpc_uuid: The ID of the VPC where the load balancer will be located.
507
508
  """
508
509
  if algorithm is not None:
509
510
  warnings.warn("""This field has been deprecated. You can no longer specify an algorithm for load balancers.""", DeprecationWarning)
@@ -568,7 +569,7 @@ class _LoadBalancerState:
568
569
  @property
569
570
  @pulumi.getter
570
571
  @_utilities.deprecated("""This field has been deprecated. You can no longer specify an algorithm for load balancers.""")
571
- def algorithm(self) -> Optional[pulumi.Input[Union[str, 'Algorithm']]]:
572
+ def algorithm(self) -> Optional[pulumi.Input[Union[builtins.str, 'Algorithm']]]:
572
573
  """
573
574
  **Deprecated** This field has been deprecated. You can no longer specify an algorithm for load balancers.
574
575
  or `least_connections`. The default value is `round_robin`.
@@ -576,19 +577,19 @@ class _LoadBalancerState:
576
577
  return pulumi.get(self, "algorithm")
577
578
 
578
579
  @algorithm.setter
579
- def algorithm(self, value: Optional[pulumi.Input[Union[str, 'Algorithm']]]):
580
+ def algorithm(self, value: Optional[pulumi.Input[Union[builtins.str, 'Algorithm']]]):
580
581
  pulumi.set(self, "algorithm", value)
581
582
 
582
583
  @property
583
584
  @pulumi.getter(name="disableLetsEncryptDnsRecords")
584
- def disable_lets_encrypt_dns_records(self) -> Optional[pulumi.Input[bool]]:
585
+ def disable_lets_encrypt_dns_records(self) -> Optional[pulumi.Input[builtins.bool]]:
585
586
  """
586
587
  A boolean value indicating whether to disable automatic DNS record creation for Let's Encrypt certificates that are added to the load balancer. Default value is `false`.
587
588
  """
588
589
  return pulumi.get(self, "disable_lets_encrypt_dns_records")
589
590
 
590
591
  @disable_lets_encrypt_dns_records.setter
591
- def disable_lets_encrypt_dns_records(self, value: Optional[pulumi.Input[bool]]):
592
+ def disable_lets_encrypt_dns_records(self, value: Optional[pulumi.Input[builtins.bool]]):
592
593
  pulumi.set(self, "disable_lets_encrypt_dns_records", value)
593
594
 
594
595
  @property
@@ -605,43 +606,43 @@ class _LoadBalancerState:
605
606
 
606
607
  @property
607
608
  @pulumi.getter(name="dropletIds")
608
- def droplet_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[int]]]]:
609
+ def droplet_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.int]]]]:
609
610
  """
610
611
  A list of the IDs of each droplet to be attached to the Load Balancer.
611
612
  """
612
613
  return pulumi.get(self, "droplet_ids")
613
614
 
614
615
  @droplet_ids.setter
615
- def droplet_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]]):
616
+ def droplet_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.int]]]]):
616
617
  pulumi.set(self, "droplet_ids", value)
617
618
 
618
619
  @property
619
620
  @pulumi.getter(name="dropletTag")
620
- def droplet_tag(self) -> Optional[pulumi.Input[str]]:
621
+ def droplet_tag(self) -> Optional[pulumi.Input[builtins.str]]:
621
622
  """
622
623
  The name of a Droplet tag corresponding to Droplets to be assigned to the Load Balancer.
623
624
  """
624
625
  return pulumi.get(self, "droplet_tag")
625
626
 
626
627
  @droplet_tag.setter
627
- def droplet_tag(self, value: Optional[pulumi.Input[str]]):
628
+ def droplet_tag(self, value: Optional[pulumi.Input[builtins.str]]):
628
629
  pulumi.set(self, "droplet_tag", value)
629
630
 
630
631
  @property
631
632
  @pulumi.getter(name="enableBackendKeepalive")
632
- def enable_backend_keepalive(self) -> Optional[pulumi.Input[bool]]:
633
+ def enable_backend_keepalive(self) -> Optional[pulumi.Input[builtins.bool]]:
633
634
  """
634
635
  A boolean value indicating whether HTTP keepalive connections are maintained to target Droplets. Default value is `false`.
635
636
  """
636
637
  return pulumi.get(self, "enable_backend_keepalive")
637
638
 
638
639
  @enable_backend_keepalive.setter
639
- def enable_backend_keepalive(self, value: Optional[pulumi.Input[bool]]):
640
+ def enable_backend_keepalive(self, value: Optional[pulumi.Input[builtins.bool]]):
640
641
  pulumi.set(self, "enable_backend_keepalive", value)
641
642
 
642
643
  @property
643
644
  @pulumi.getter(name="enableProxyProtocol")
644
- def enable_proxy_protocol(self) -> Optional[pulumi.Input[bool]]:
645
+ def enable_proxy_protocol(self) -> Optional[pulumi.Input[builtins.bool]]:
645
646
  """
646
647
  A boolean value indicating whether PROXY
647
648
  Protocol should be used to pass information from connecting client requests to
@@ -650,7 +651,7 @@ class _LoadBalancerState:
650
651
  return pulumi.get(self, "enable_proxy_protocol")
651
652
 
652
653
  @enable_proxy_protocol.setter
653
- def enable_proxy_protocol(self, value: Optional[pulumi.Input[bool]]):
654
+ def enable_proxy_protocol(self, value: Optional[pulumi.Input[builtins.bool]]):
654
655
  pulumi.set(self, "enable_proxy_protocol", value)
655
656
 
656
657
  @property
@@ -705,76 +706,76 @@ class _LoadBalancerState:
705
706
 
706
707
  @property
707
708
  @pulumi.getter(name="httpIdleTimeoutSeconds")
708
- def http_idle_timeout_seconds(self) -> Optional[pulumi.Input[int]]:
709
+ def http_idle_timeout_seconds(self) -> Optional[pulumi.Input[builtins.int]]:
709
710
  """
710
711
  Specifies the idle timeout for HTTPS connections on the load balancer in seconds.
711
712
  """
712
713
  return pulumi.get(self, "http_idle_timeout_seconds")
713
714
 
714
715
  @http_idle_timeout_seconds.setter
715
- def http_idle_timeout_seconds(self, value: Optional[pulumi.Input[int]]):
716
+ def http_idle_timeout_seconds(self, value: Optional[pulumi.Input[builtins.int]]):
716
717
  pulumi.set(self, "http_idle_timeout_seconds", value)
717
718
 
718
719
  @property
719
720
  @pulumi.getter
720
- def ip(self) -> Optional[pulumi.Input[str]]:
721
+ def ip(self) -> Optional[pulumi.Input[builtins.str]]:
721
722
  """
722
723
  The ip of the Load Balancer
723
724
  """
724
725
  return pulumi.get(self, "ip")
725
726
 
726
727
  @ip.setter
727
- def ip(self, value: Optional[pulumi.Input[str]]):
728
+ def ip(self, value: Optional[pulumi.Input[builtins.str]]):
728
729
  pulumi.set(self, "ip", value)
729
730
 
730
731
  @property
731
732
  @pulumi.getter
732
- def ipv6(self) -> Optional[pulumi.Input[str]]:
733
+ def ipv6(self) -> Optional[pulumi.Input[builtins.str]]:
733
734
  return pulumi.get(self, "ipv6")
734
735
 
735
736
  @ipv6.setter
736
- def ipv6(self, value: Optional[pulumi.Input[str]]):
737
+ def ipv6(self, value: Optional[pulumi.Input[builtins.str]]):
737
738
  pulumi.set(self, "ipv6", value)
738
739
 
739
740
  @property
740
741
  @pulumi.getter(name="loadBalancerUrn")
741
- def load_balancer_urn(self) -> Optional[pulumi.Input[str]]:
742
+ def load_balancer_urn(self) -> Optional[pulumi.Input[builtins.str]]:
742
743
  """
743
744
  The uniform resource name for the Load Balancer
744
745
  """
745
746
  return pulumi.get(self, "load_balancer_urn")
746
747
 
747
748
  @load_balancer_urn.setter
748
- def load_balancer_urn(self, value: Optional[pulumi.Input[str]]):
749
+ def load_balancer_urn(self, value: Optional[pulumi.Input[builtins.str]]):
749
750
  pulumi.set(self, "load_balancer_urn", value)
750
751
 
751
752
  @property
752
753
  @pulumi.getter
753
- def name(self) -> Optional[pulumi.Input[str]]:
754
+ def name(self) -> Optional[pulumi.Input[builtins.str]]:
754
755
  """
755
756
  The Load Balancer name
756
757
  """
757
758
  return pulumi.get(self, "name")
758
759
 
759
760
  @name.setter
760
- def name(self, value: Optional[pulumi.Input[str]]):
761
+ def name(self, value: Optional[pulumi.Input[builtins.str]]):
761
762
  pulumi.set(self, "name", value)
762
763
 
763
764
  @property
764
765
  @pulumi.getter
765
- def network(self) -> Optional[pulumi.Input[str]]:
766
+ def network(self) -> Optional[pulumi.Input[builtins.str]]:
766
767
  """
767
768
  The type of network the Load Balancer is accessible from. It must be either of `INTERNAL` or `EXTERNAL`. Defaults to `EXTERNAL`.
768
769
  """
769
770
  return pulumi.get(self, "network")
770
771
 
771
772
  @network.setter
772
- def network(self, value: Optional[pulumi.Input[str]]):
773
+ def network(self, value: Optional[pulumi.Input[builtins.str]]):
773
774
  pulumi.set(self, "network", value)
774
775
 
775
776
  @property
776
777
  @pulumi.getter(name="networkStack")
777
- def network_stack(self) -> Optional[pulumi.Input[str]]:
778
+ def network_stack(self) -> Optional[pulumi.Input[builtins.str]]:
778
779
  """
779
780
  The network stack determines the allocation of ipv4/ipv6 addresses to the load balancer. It must be either of `IPV4` or `DUALSTACK`. Defaults to `IPV4`.
780
781
  **NOTE**: this feature is in private preview, and may not be available for public use
@@ -782,24 +783,24 @@ class _LoadBalancerState:
782
783
  return pulumi.get(self, "network_stack")
783
784
 
784
785
  @network_stack.setter
785
- def network_stack(self, value: Optional[pulumi.Input[str]]):
786
+ def network_stack(self, value: Optional[pulumi.Input[builtins.str]]):
786
787
  pulumi.set(self, "network_stack", value)
787
788
 
788
789
  @property
789
790
  @pulumi.getter(name="projectId")
790
- def project_id(self) -> Optional[pulumi.Input[str]]:
791
+ def project_id(self) -> Optional[pulumi.Input[builtins.str]]:
791
792
  """
792
793
  The ID of the project that the load balancer is associated with. If no ID is provided at creation, the load balancer associates with the user's default project.
793
794
  """
794
795
  return pulumi.get(self, "project_id")
795
796
 
796
797
  @project_id.setter
797
- def project_id(self, value: Optional[pulumi.Input[str]]):
798
+ def project_id(self, value: Optional[pulumi.Input[builtins.str]]):
798
799
  pulumi.set(self, "project_id", value)
799
800
 
800
801
  @property
801
802
  @pulumi.getter(name="redirectHttpToHttps")
802
- def redirect_http_to_https(self) -> Optional[pulumi.Input[bool]]:
803
+ def redirect_http_to_https(self) -> Optional[pulumi.Input[builtins.bool]]:
803
804
  """
804
805
  A boolean value indicating whether
805
806
  HTTP requests to the Load Balancer on port 80 will be redirected to HTTPS on port 443.
@@ -808,52 +809,52 @@ class _LoadBalancerState:
808
809
  return pulumi.get(self, "redirect_http_to_https")
809
810
 
810
811
  @redirect_http_to_https.setter
811
- def redirect_http_to_https(self, value: Optional[pulumi.Input[bool]]):
812
+ def redirect_http_to_https(self, value: Optional[pulumi.Input[builtins.bool]]):
812
813
  pulumi.set(self, "redirect_http_to_https", value)
813
814
 
814
815
  @property
815
816
  @pulumi.getter
816
- def region(self) -> Optional[pulumi.Input[Union[str, 'Region']]]:
817
+ def region(self) -> Optional[pulumi.Input[Union[builtins.str, 'Region']]]:
817
818
  """
818
819
  The region to start in
819
820
  """
820
821
  return pulumi.get(self, "region")
821
822
 
822
823
  @region.setter
823
- def region(self, value: Optional[pulumi.Input[Union[str, 'Region']]]):
824
+ def region(self, value: Optional[pulumi.Input[Union[builtins.str, 'Region']]]):
824
825
  pulumi.set(self, "region", value)
825
826
 
826
827
  @property
827
828
  @pulumi.getter
828
- def size(self) -> Optional[pulumi.Input[str]]:
829
+ def size(self) -> Optional[pulumi.Input[builtins.str]]:
829
830
  """
830
831
  The size of the Load Balancer. It must be either `lb-small`, `lb-medium`, or `lb-large`. Defaults to `lb-small`. Only one of `size` or `size_unit` may be provided.
831
832
  """
832
833
  return pulumi.get(self, "size")
833
834
 
834
835
  @size.setter
835
- def size(self, value: Optional[pulumi.Input[str]]):
836
+ def size(self, value: Optional[pulumi.Input[builtins.str]]):
836
837
  pulumi.set(self, "size", value)
837
838
 
838
839
  @property
839
840
  @pulumi.getter(name="sizeUnit")
840
- def size_unit(self) -> Optional[pulumi.Input[int]]:
841
+ def size_unit(self) -> Optional[pulumi.Input[builtins.int]]:
841
842
  """
842
843
  The size of the Load Balancer. It must be in the range (1, 200). Defaults to `1`. Only one of `size` or `size_unit` may be provided.
843
844
  """
844
845
  return pulumi.get(self, "size_unit")
845
846
 
846
847
  @size_unit.setter
847
- def size_unit(self, value: Optional[pulumi.Input[int]]):
848
+ def size_unit(self, value: Optional[pulumi.Input[builtins.int]]):
848
849
  pulumi.set(self, "size_unit", value)
849
850
 
850
851
  @property
851
852
  @pulumi.getter
852
- def status(self) -> Optional[pulumi.Input[str]]:
853
+ def status(self) -> Optional[pulumi.Input[builtins.str]]:
853
854
  return pulumi.get(self, "status")
854
855
 
855
856
  @status.setter
856
- def status(self, value: Optional[pulumi.Input[str]]):
857
+ def status(self, value: Optional[pulumi.Input[builtins.str]]):
857
858
  pulumi.set(self, "status", value)
858
859
 
859
860
  @property
@@ -871,19 +872,19 @@ class _LoadBalancerState:
871
872
 
872
873
  @property
873
874
  @pulumi.getter(name="targetLoadBalancerIds")
874
- def target_load_balancer_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
875
+ def target_load_balancer_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
875
876
  """
876
877
  A list of Load Balancer IDs to be attached behind a Global Load Balancer.
877
878
  """
878
879
  return pulumi.get(self, "target_load_balancer_ids")
879
880
 
880
881
  @target_load_balancer_ids.setter
881
- def target_load_balancer_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
882
+ def target_load_balancer_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
882
883
  pulumi.set(self, "target_load_balancer_ids", value)
883
884
 
884
885
  @property
885
886
  @pulumi.getter
886
- def type(self) -> Optional[pulumi.Input[str]]:
887
+ def type(self) -> Optional[pulumi.Input[builtins.str]]:
887
888
  """
888
889
  The type of the Load Balancer. It must be either of `REGIONAL`, `REGIONAL_NETWORK`, or `GLOBAL`. Defaults to `REGIONAL`.
889
890
  **NOTE**: non-`REGIONAL/GLOBAL` type may be part of closed beta feature and not available for public use.
@@ -891,19 +892,19 @@ class _LoadBalancerState:
891
892
  return pulumi.get(self, "type")
892
893
 
893
894
  @type.setter
894
- def type(self, value: Optional[pulumi.Input[str]]):
895
+ def type(self, value: Optional[pulumi.Input[builtins.str]]):
895
896
  pulumi.set(self, "type", value)
896
897
 
897
898
  @property
898
899
  @pulumi.getter(name="vpcUuid")
899
- def vpc_uuid(self) -> Optional[pulumi.Input[str]]:
900
+ def vpc_uuid(self) -> Optional[pulumi.Input[builtins.str]]:
900
901
  """
901
902
  The ID of the VPC where the load balancer will be located.
902
903
  """
903
904
  return pulumi.get(self, "vpc_uuid")
904
905
 
905
906
  @vpc_uuid.setter
906
- def vpc_uuid(self, value: Optional[pulumi.Input[str]]):
907
+ def vpc_uuid(self, value: Optional[pulumi.Input[builtins.str]]):
907
908
  pulumi.set(self, "vpc_uuid", value)
908
909
 
909
910
 
@@ -912,30 +913,30 @@ class LoadBalancer(pulumi.CustomResource):
912
913
  def __init__(__self__,
913
914
  resource_name: str,
914
915
  opts: Optional[pulumi.ResourceOptions] = None,
915
- algorithm: Optional[pulumi.Input[Union[str, 'Algorithm']]] = None,
916
- disable_lets_encrypt_dns_records: Optional[pulumi.Input[bool]] = None,
916
+ algorithm: Optional[pulumi.Input[Union[builtins.str, 'Algorithm']]] = None,
917
+ disable_lets_encrypt_dns_records: Optional[pulumi.Input[builtins.bool]] = None,
917
918
  domains: Optional[pulumi.Input[Sequence[pulumi.Input[Union['LoadBalancerDomainArgs', 'LoadBalancerDomainArgsDict']]]]] = None,
918
- droplet_ids: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None,
919
- droplet_tag: Optional[pulumi.Input[str]] = None,
920
- enable_backend_keepalive: Optional[pulumi.Input[bool]] = None,
921
- enable_proxy_protocol: Optional[pulumi.Input[bool]] = None,
919
+ droplet_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.int]]]] = None,
920
+ droplet_tag: Optional[pulumi.Input[builtins.str]] = None,
921
+ enable_backend_keepalive: Optional[pulumi.Input[builtins.bool]] = None,
922
+ enable_proxy_protocol: Optional[pulumi.Input[builtins.bool]] = None,
922
923
  firewall: Optional[pulumi.Input[Union['LoadBalancerFirewallArgs', 'LoadBalancerFirewallArgsDict']]] = None,
923
924
  forwarding_rules: Optional[pulumi.Input[Sequence[pulumi.Input[Union['LoadBalancerForwardingRuleArgs', 'LoadBalancerForwardingRuleArgsDict']]]]] = None,
924
925
  glb_settings: Optional[pulumi.Input[Union['LoadBalancerGlbSettingsArgs', 'LoadBalancerGlbSettingsArgsDict']]] = None,
925
926
  healthcheck: Optional[pulumi.Input[Union['LoadBalancerHealthcheckArgs', 'LoadBalancerHealthcheckArgsDict']]] = None,
926
- http_idle_timeout_seconds: Optional[pulumi.Input[int]] = None,
927
- name: Optional[pulumi.Input[str]] = None,
928
- network: Optional[pulumi.Input[str]] = None,
929
- network_stack: Optional[pulumi.Input[str]] = None,
930
- project_id: Optional[pulumi.Input[str]] = None,
931
- redirect_http_to_https: Optional[pulumi.Input[bool]] = None,
932
- region: Optional[pulumi.Input[Union[str, 'Region']]] = None,
933
- size: Optional[pulumi.Input[str]] = None,
934
- size_unit: Optional[pulumi.Input[int]] = None,
927
+ http_idle_timeout_seconds: Optional[pulumi.Input[builtins.int]] = None,
928
+ name: Optional[pulumi.Input[builtins.str]] = None,
929
+ network: Optional[pulumi.Input[builtins.str]] = None,
930
+ network_stack: Optional[pulumi.Input[builtins.str]] = None,
931
+ project_id: Optional[pulumi.Input[builtins.str]] = None,
932
+ redirect_http_to_https: Optional[pulumi.Input[builtins.bool]] = None,
933
+ region: Optional[pulumi.Input[Union[builtins.str, 'Region']]] = None,
934
+ size: Optional[pulumi.Input[builtins.str]] = None,
935
+ size_unit: Optional[pulumi.Input[builtins.int]] = None,
935
936
  sticky_sessions: Optional[pulumi.Input[Union['LoadBalancerStickySessionsArgs', 'LoadBalancerStickySessionsArgsDict']]] = None,
936
- target_load_balancer_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
937
- type: Optional[pulumi.Input[str]] = None,
938
- vpc_uuid: Optional[pulumi.Input[str]] = None,
937
+ target_load_balancer_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
938
+ type: Optional[pulumi.Input[builtins.str]] = None,
939
+ vpc_uuid: Optional[pulumi.Input[builtins.str]] = None,
939
940
  __props__=None):
940
941
  """
941
942
  Provides a DigitalOcean Load Balancer resource. This can be used to create,
@@ -984,14 +985,14 @@ class LoadBalancer(pulumi.CustomResource):
984
985
 
985
986
  :param str resource_name: The name of the resource.
986
987
  :param pulumi.ResourceOptions opts: Options for the resource.
987
- :param pulumi.Input[Union[str, 'Algorithm']] algorithm: **Deprecated** This field has been deprecated. You can no longer specify an algorithm for load balancers.
988
+ :param pulumi.Input[Union[builtins.str, 'Algorithm']] algorithm: **Deprecated** This field has been deprecated. You can no longer specify an algorithm for load balancers.
988
989
  or `least_connections`. The default value is `round_robin`.
989
- :param pulumi.Input[bool] disable_lets_encrypt_dns_records: A boolean value indicating whether to disable automatic DNS record creation for Let's Encrypt certificates that are added to the load balancer. Default value is `false`.
990
+ :param pulumi.Input[builtins.bool] disable_lets_encrypt_dns_records: A boolean value indicating whether to disable automatic DNS record creation for Let's Encrypt certificates that are added to the load balancer. Default value is `false`.
990
991
  :param pulumi.Input[Sequence[pulumi.Input[Union['LoadBalancerDomainArgs', 'LoadBalancerDomainArgsDict']]]] domains: A list of `domains` required to ingress traffic to a Global Load Balancer. The `domains` block is documented below.
991
- :param pulumi.Input[Sequence[pulumi.Input[int]]] droplet_ids: A list of the IDs of each droplet to be attached to the Load Balancer.
992
- :param pulumi.Input[str] droplet_tag: The name of a Droplet tag corresponding to Droplets to be assigned to the Load Balancer.
993
- :param pulumi.Input[bool] enable_backend_keepalive: A boolean value indicating whether HTTP keepalive connections are maintained to target Droplets. Default value is `false`.
994
- :param pulumi.Input[bool] enable_proxy_protocol: A boolean value indicating whether PROXY
992
+ :param pulumi.Input[Sequence[pulumi.Input[builtins.int]]] droplet_ids: A list of the IDs of each droplet to be attached to the Load Balancer.
993
+ :param pulumi.Input[builtins.str] droplet_tag: The name of a Droplet tag corresponding to Droplets to be assigned to the Load Balancer.
994
+ :param pulumi.Input[builtins.bool] enable_backend_keepalive: A boolean value indicating whether HTTP keepalive connections are maintained to target Droplets. Default value is `false`.
995
+ :param pulumi.Input[builtins.bool] enable_proxy_protocol: A boolean value indicating whether PROXY
995
996
  Protocol should be used to pass information from connecting client requests to
996
997
  the backend service. Default value is `false`.
997
998
  :param pulumi.Input[Union['LoadBalancerFirewallArgs', 'LoadBalancerFirewallArgsDict']] firewall: A block containing rules for allowing/denying traffic to the Load Balancer. The `firewall` block is documented below. Only 1 firewall is allowed.
@@ -1000,24 +1001,24 @@ class LoadBalancer(pulumi.CustomResource):
1000
1001
  :param pulumi.Input[Union['LoadBalancerGlbSettingsArgs', 'LoadBalancerGlbSettingsArgsDict']] glb_settings: A block containing `glb_settings` required to define target rules for a Global Load Balancer. The `glb_settings` block is documented below.
1001
1002
  :param pulumi.Input[Union['LoadBalancerHealthcheckArgs', 'LoadBalancerHealthcheckArgsDict']] healthcheck: A `healthcheck` block to be assigned to the
1002
1003
  Load Balancer. The `healthcheck` block is documented below. Only 1 healthcheck is allowed.
1003
- :param pulumi.Input[int] http_idle_timeout_seconds: Specifies the idle timeout for HTTPS connections on the load balancer in seconds.
1004
- :param pulumi.Input[str] name: The Load Balancer name
1005
- :param pulumi.Input[str] network: The type of network the Load Balancer is accessible from. It must be either of `INTERNAL` or `EXTERNAL`. Defaults to `EXTERNAL`.
1006
- :param pulumi.Input[str] network_stack: The network stack determines the allocation of ipv4/ipv6 addresses to the load balancer. It must be either of `IPV4` or `DUALSTACK`. Defaults to `IPV4`.
1004
+ :param pulumi.Input[builtins.int] http_idle_timeout_seconds: Specifies the idle timeout for HTTPS connections on the load balancer in seconds.
1005
+ :param pulumi.Input[builtins.str] name: The Load Balancer name
1006
+ :param pulumi.Input[builtins.str] network: The type of network the Load Balancer is accessible from. It must be either of `INTERNAL` or `EXTERNAL`. Defaults to `EXTERNAL`.
1007
+ :param pulumi.Input[builtins.str] network_stack: The network stack determines the allocation of ipv4/ipv6 addresses to the load balancer. It must be either of `IPV4` or `DUALSTACK`. Defaults to `IPV4`.
1007
1008
  **NOTE**: this feature is in private preview, and may not be available for public use
1008
- :param pulumi.Input[str] project_id: The ID of the project that the load balancer is associated with. If no ID is provided at creation, the load balancer associates with the user's default project.
1009
- :param pulumi.Input[bool] redirect_http_to_https: A boolean value indicating whether
1009
+ :param pulumi.Input[builtins.str] project_id: The ID of the project that the load balancer is associated with. If no ID is provided at creation, the load balancer associates with the user's default project.
1010
+ :param pulumi.Input[builtins.bool] redirect_http_to_https: A boolean value indicating whether
1010
1011
  HTTP requests to the Load Balancer on port 80 will be redirected to HTTPS on port 443.
1011
1012
  Default value is `false`.
1012
- :param pulumi.Input[Union[str, 'Region']] region: The region to start in
1013
- :param pulumi.Input[str] size: The size of the Load Balancer. It must be either `lb-small`, `lb-medium`, or `lb-large`. Defaults to `lb-small`. Only one of `size` or `size_unit` may be provided.
1014
- :param pulumi.Input[int] size_unit: The size of the Load Balancer. It must be in the range (1, 200). Defaults to `1`. Only one of `size` or `size_unit` may be provided.
1013
+ :param pulumi.Input[Union[builtins.str, 'Region']] region: The region to start in
1014
+ :param pulumi.Input[builtins.str] size: The size of the Load Balancer. It must be either `lb-small`, `lb-medium`, or `lb-large`. Defaults to `lb-small`. Only one of `size` or `size_unit` may be provided.
1015
+ :param pulumi.Input[builtins.int] size_unit: The size of the Load Balancer. It must be in the range (1, 200). Defaults to `1`. Only one of `size` or `size_unit` may be provided.
1015
1016
  :param pulumi.Input[Union['LoadBalancerStickySessionsArgs', 'LoadBalancerStickySessionsArgsDict']] sticky_sessions: A `sticky_sessions` block to be assigned to the
1016
1017
  Load Balancer. The `sticky_sessions` block is documented below. Only 1 sticky_sessions block is allowed.
1017
- :param pulumi.Input[Sequence[pulumi.Input[str]]] target_load_balancer_ids: A list of Load Balancer IDs to be attached behind a Global Load Balancer.
1018
- :param pulumi.Input[str] type: The type of the Load Balancer. It must be either of `REGIONAL`, `REGIONAL_NETWORK`, or `GLOBAL`. Defaults to `REGIONAL`.
1018
+ :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] target_load_balancer_ids: A list of Load Balancer IDs to be attached behind a Global Load Balancer.
1019
+ :param pulumi.Input[builtins.str] type: The type of the Load Balancer. It must be either of `REGIONAL`, `REGIONAL_NETWORK`, or `GLOBAL`. Defaults to `REGIONAL`.
1019
1020
  **NOTE**: non-`REGIONAL/GLOBAL` type may be part of closed beta feature and not available for public use.
1020
- :param pulumi.Input[str] vpc_uuid: The ID of the VPC where the load balancer will be located.
1021
+ :param pulumi.Input[builtins.str] vpc_uuid: The ID of the VPC where the load balancer will be located.
1021
1022
  """
1022
1023
  ...
1023
1024
  @overload
@@ -1085,30 +1086,30 @@ class LoadBalancer(pulumi.CustomResource):
1085
1086
  def _internal_init(__self__,
1086
1087
  resource_name: str,
1087
1088
  opts: Optional[pulumi.ResourceOptions] = None,
1088
- algorithm: Optional[pulumi.Input[Union[str, 'Algorithm']]] = None,
1089
- disable_lets_encrypt_dns_records: Optional[pulumi.Input[bool]] = None,
1089
+ algorithm: Optional[pulumi.Input[Union[builtins.str, 'Algorithm']]] = None,
1090
+ disable_lets_encrypt_dns_records: Optional[pulumi.Input[builtins.bool]] = None,
1090
1091
  domains: Optional[pulumi.Input[Sequence[pulumi.Input[Union['LoadBalancerDomainArgs', 'LoadBalancerDomainArgsDict']]]]] = None,
1091
- droplet_ids: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None,
1092
- droplet_tag: Optional[pulumi.Input[str]] = None,
1093
- enable_backend_keepalive: Optional[pulumi.Input[bool]] = None,
1094
- enable_proxy_protocol: Optional[pulumi.Input[bool]] = None,
1092
+ droplet_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.int]]]] = None,
1093
+ droplet_tag: Optional[pulumi.Input[builtins.str]] = None,
1094
+ enable_backend_keepalive: Optional[pulumi.Input[builtins.bool]] = None,
1095
+ enable_proxy_protocol: Optional[pulumi.Input[builtins.bool]] = None,
1095
1096
  firewall: Optional[pulumi.Input[Union['LoadBalancerFirewallArgs', 'LoadBalancerFirewallArgsDict']]] = None,
1096
1097
  forwarding_rules: Optional[pulumi.Input[Sequence[pulumi.Input[Union['LoadBalancerForwardingRuleArgs', 'LoadBalancerForwardingRuleArgsDict']]]]] = None,
1097
1098
  glb_settings: Optional[pulumi.Input[Union['LoadBalancerGlbSettingsArgs', 'LoadBalancerGlbSettingsArgsDict']]] = None,
1098
1099
  healthcheck: Optional[pulumi.Input[Union['LoadBalancerHealthcheckArgs', 'LoadBalancerHealthcheckArgsDict']]] = None,
1099
- http_idle_timeout_seconds: Optional[pulumi.Input[int]] = None,
1100
- name: Optional[pulumi.Input[str]] = None,
1101
- network: Optional[pulumi.Input[str]] = None,
1102
- network_stack: Optional[pulumi.Input[str]] = None,
1103
- project_id: Optional[pulumi.Input[str]] = None,
1104
- redirect_http_to_https: Optional[pulumi.Input[bool]] = None,
1105
- region: Optional[pulumi.Input[Union[str, 'Region']]] = None,
1106
- size: Optional[pulumi.Input[str]] = None,
1107
- size_unit: Optional[pulumi.Input[int]] = None,
1100
+ http_idle_timeout_seconds: Optional[pulumi.Input[builtins.int]] = None,
1101
+ name: Optional[pulumi.Input[builtins.str]] = None,
1102
+ network: Optional[pulumi.Input[builtins.str]] = None,
1103
+ network_stack: Optional[pulumi.Input[builtins.str]] = None,
1104
+ project_id: Optional[pulumi.Input[builtins.str]] = None,
1105
+ redirect_http_to_https: Optional[pulumi.Input[builtins.bool]] = None,
1106
+ region: Optional[pulumi.Input[Union[builtins.str, 'Region']]] = None,
1107
+ size: Optional[pulumi.Input[builtins.str]] = None,
1108
+ size_unit: Optional[pulumi.Input[builtins.int]] = None,
1108
1109
  sticky_sessions: Optional[pulumi.Input[Union['LoadBalancerStickySessionsArgs', 'LoadBalancerStickySessionsArgsDict']]] = None,
1109
- target_load_balancer_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
1110
- type: Optional[pulumi.Input[str]] = None,
1111
- vpc_uuid: Optional[pulumi.Input[str]] = None,
1110
+ target_load_balancer_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
1111
+ type: Optional[pulumi.Input[builtins.str]] = None,
1112
+ vpc_uuid: Optional[pulumi.Input[builtins.str]] = None,
1112
1113
  __props__=None):
1113
1114
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
1114
1115
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -1156,34 +1157,34 @@ class LoadBalancer(pulumi.CustomResource):
1156
1157
  def get(resource_name: str,
1157
1158
  id: pulumi.Input[str],
1158
1159
  opts: Optional[pulumi.ResourceOptions] = None,
1159
- algorithm: Optional[pulumi.Input[Union[str, 'Algorithm']]] = None,
1160
- disable_lets_encrypt_dns_records: Optional[pulumi.Input[bool]] = None,
1160
+ algorithm: Optional[pulumi.Input[Union[builtins.str, 'Algorithm']]] = None,
1161
+ disable_lets_encrypt_dns_records: Optional[pulumi.Input[builtins.bool]] = None,
1161
1162
  domains: Optional[pulumi.Input[Sequence[pulumi.Input[Union['LoadBalancerDomainArgs', 'LoadBalancerDomainArgsDict']]]]] = None,
1162
- droplet_ids: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None,
1163
- droplet_tag: Optional[pulumi.Input[str]] = None,
1164
- enable_backend_keepalive: Optional[pulumi.Input[bool]] = None,
1165
- enable_proxy_protocol: Optional[pulumi.Input[bool]] = None,
1163
+ droplet_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.int]]]] = None,
1164
+ droplet_tag: Optional[pulumi.Input[builtins.str]] = None,
1165
+ enable_backend_keepalive: Optional[pulumi.Input[builtins.bool]] = None,
1166
+ enable_proxy_protocol: Optional[pulumi.Input[builtins.bool]] = None,
1166
1167
  firewall: Optional[pulumi.Input[Union['LoadBalancerFirewallArgs', 'LoadBalancerFirewallArgsDict']]] = None,
1167
1168
  forwarding_rules: Optional[pulumi.Input[Sequence[pulumi.Input[Union['LoadBalancerForwardingRuleArgs', 'LoadBalancerForwardingRuleArgsDict']]]]] = None,
1168
1169
  glb_settings: Optional[pulumi.Input[Union['LoadBalancerGlbSettingsArgs', 'LoadBalancerGlbSettingsArgsDict']]] = None,
1169
1170
  healthcheck: Optional[pulumi.Input[Union['LoadBalancerHealthcheckArgs', 'LoadBalancerHealthcheckArgsDict']]] = None,
1170
- http_idle_timeout_seconds: Optional[pulumi.Input[int]] = None,
1171
- ip: Optional[pulumi.Input[str]] = None,
1172
- ipv6: Optional[pulumi.Input[str]] = None,
1173
- load_balancer_urn: Optional[pulumi.Input[str]] = None,
1174
- name: Optional[pulumi.Input[str]] = None,
1175
- network: Optional[pulumi.Input[str]] = None,
1176
- network_stack: Optional[pulumi.Input[str]] = None,
1177
- project_id: Optional[pulumi.Input[str]] = None,
1178
- redirect_http_to_https: Optional[pulumi.Input[bool]] = None,
1179
- region: Optional[pulumi.Input[Union[str, 'Region']]] = None,
1180
- size: Optional[pulumi.Input[str]] = None,
1181
- size_unit: Optional[pulumi.Input[int]] = None,
1182
- status: Optional[pulumi.Input[str]] = None,
1171
+ http_idle_timeout_seconds: Optional[pulumi.Input[builtins.int]] = None,
1172
+ ip: Optional[pulumi.Input[builtins.str]] = None,
1173
+ ipv6: Optional[pulumi.Input[builtins.str]] = None,
1174
+ load_balancer_urn: Optional[pulumi.Input[builtins.str]] = None,
1175
+ name: Optional[pulumi.Input[builtins.str]] = None,
1176
+ network: Optional[pulumi.Input[builtins.str]] = None,
1177
+ network_stack: Optional[pulumi.Input[builtins.str]] = None,
1178
+ project_id: Optional[pulumi.Input[builtins.str]] = None,
1179
+ redirect_http_to_https: Optional[pulumi.Input[builtins.bool]] = None,
1180
+ region: Optional[pulumi.Input[Union[builtins.str, 'Region']]] = None,
1181
+ size: Optional[pulumi.Input[builtins.str]] = None,
1182
+ size_unit: Optional[pulumi.Input[builtins.int]] = None,
1183
+ status: Optional[pulumi.Input[builtins.str]] = None,
1183
1184
  sticky_sessions: Optional[pulumi.Input[Union['LoadBalancerStickySessionsArgs', 'LoadBalancerStickySessionsArgsDict']]] = None,
1184
- target_load_balancer_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
1185
- type: Optional[pulumi.Input[str]] = None,
1186
- vpc_uuid: Optional[pulumi.Input[str]] = None) -> 'LoadBalancer':
1185
+ target_load_balancer_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
1186
+ type: Optional[pulumi.Input[builtins.str]] = None,
1187
+ vpc_uuid: Optional[pulumi.Input[builtins.str]] = None) -> 'LoadBalancer':
1187
1188
  """
1188
1189
  Get an existing LoadBalancer resource's state with the given name, id, and optional extra
1189
1190
  properties used to qualify the lookup.
@@ -1191,14 +1192,14 @@ class LoadBalancer(pulumi.CustomResource):
1191
1192
  :param str resource_name: The unique name of the resulting resource.
1192
1193
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
1193
1194
  :param pulumi.ResourceOptions opts: Options for the resource.
1194
- :param pulumi.Input[Union[str, 'Algorithm']] algorithm: **Deprecated** This field has been deprecated. You can no longer specify an algorithm for load balancers.
1195
+ :param pulumi.Input[Union[builtins.str, 'Algorithm']] algorithm: **Deprecated** This field has been deprecated. You can no longer specify an algorithm for load balancers.
1195
1196
  or `least_connections`. The default value is `round_robin`.
1196
- :param pulumi.Input[bool] disable_lets_encrypt_dns_records: A boolean value indicating whether to disable automatic DNS record creation for Let's Encrypt certificates that are added to the load balancer. Default value is `false`.
1197
+ :param pulumi.Input[builtins.bool] disable_lets_encrypt_dns_records: A boolean value indicating whether to disable automatic DNS record creation for Let's Encrypt certificates that are added to the load balancer. Default value is `false`.
1197
1198
  :param pulumi.Input[Sequence[pulumi.Input[Union['LoadBalancerDomainArgs', 'LoadBalancerDomainArgsDict']]]] domains: A list of `domains` required to ingress traffic to a Global Load Balancer. The `domains` block is documented below.
1198
- :param pulumi.Input[Sequence[pulumi.Input[int]]] droplet_ids: A list of the IDs of each droplet to be attached to the Load Balancer.
1199
- :param pulumi.Input[str] droplet_tag: The name of a Droplet tag corresponding to Droplets to be assigned to the Load Balancer.
1200
- :param pulumi.Input[bool] enable_backend_keepalive: A boolean value indicating whether HTTP keepalive connections are maintained to target Droplets. Default value is `false`.
1201
- :param pulumi.Input[bool] enable_proxy_protocol: A boolean value indicating whether PROXY
1199
+ :param pulumi.Input[Sequence[pulumi.Input[builtins.int]]] droplet_ids: A list of the IDs of each droplet to be attached to the Load Balancer.
1200
+ :param pulumi.Input[builtins.str] droplet_tag: The name of a Droplet tag corresponding to Droplets to be assigned to the Load Balancer.
1201
+ :param pulumi.Input[builtins.bool] enable_backend_keepalive: A boolean value indicating whether HTTP keepalive connections are maintained to target Droplets. Default value is `false`.
1202
+ :param pulumi.Input[builtins.bool] enable_proxy_protocol: A boolean value indicating whether PROXY
1202
1203
  Protocol should be used to pass information from connecting client requests to
1203
1204
  the backend service. Default value is `false`.
1204
1205
  :param pulumi.Input[Union['LoadBalancerFirewallArgs', 'LoadBalancerFirewallArgsDict']] firewall: A block containing rules for allowing/denying traffic to the Load Balancer. The `firewall` block is documented below. Only 1 firewall is allowed.
@@ -1207,26 +1208,26 @@ class LoadBalancer(pulumi.CustomResource):
1207
1208
  :param pulumi.Input[Union['LoadBalancerGlbSettingsArgs', 'LoadBalancerGlbSettingsArgsDict']] glb_settings: A block containing `glb_settings` required to define target rules for a Global Load Balancer. The `glb_settings` block is documented below.
1208
1209
  :param pulumi.Input[Union['LoadBalancerHealthcheckArgs', 'LoadBalancerHealthcheckArgsDict']] healthcheck: A `healthcheck` block to be assigned to the
1209
1210
  Load Balancer. The `healthcheck` block is documented below. Only 1 healthcheck is allowed.
1210
- :param pulumi.Input[int] http_idle_timeout_seconds: Specifies the idle timeout for HTTPS connections on the load balancer in seconds.
1211
- :param pulumi.Input[str] ip: The ip of the Load Balancer
1212
- :param pulumi.Input[str] load_balancer_urn: The uniform resource name for the Load Balancer
1213
- :param pulumi.Input[str] name: The Load Balancer name
1214
- :param pulumi.Input[str] network: The type of network the Load Balancer is accessible from. It must be either of `INTERNAL` or `EXTERNAL`. Defaults to `EXTERNAL`.
1215
- :param pulumi.Input[str] network_stack: The network stack determines the allocation of ipv4/ipv6 addresses to the load balancer. It must be either of `IPV4` or `DUALSTACK`. Defaults to `IPV4`.
1211
+ :param pulumi.Input[builtins.int] http_idle_timeout_seconds: Specifies the idle timeout for HTTPS connections on the load balancer in seconds.
1212
+ :param pulumi.Input[builtins.str] ip: The ip of the Load Balancer
1213
+ :param pulumi.Input[builtins.str] load_balancer_urn: The uniform resource name for the Load Balancer
1214
+ :param pulumi.Input[builtins.str] name: The Load Balancer name
1215
+ :param pulumi.Input[builtins.str] network: The type of network the Load Balancer is accessible from. It must be either of `INTERNAL` or `EXTERNAL`. Defaults to `EXTERNAL`.
1216
+ :param pulumi.Input[builtins.str] network_stack: The network stack determines the allocation of ipv4/ipv6 addresses to the load balancer. It must be either of `IPV4` or `DUALSTACK`. Defaults to `IPV4`.
1216
1217
  **NOTE**: this feature is in private preview, and may not be available for public use
1217
- :param pulumi.Input[str] project_id: The ID of the project that the load balancer is associated with. If no ID is provided at creation, the load balancer associates with the user's default project.
1218
- :param pulumi.Input[bool] redirect_http_to_https: A boolean value indicating whether
1218
+ :param pulumi.Input[builtins.str] project_id: The ID of the project that the load balancer is associated with. If no ID is provided at creation, the load balancer associates with the user's default project.
1219
+ :param pulumi.Input[builtins.bool] redirect_http_to_https: A boolean value indicating whether
1219
1220
  HTTP requests to the Load Balancer on port 80 will be redirected to HTTPS on port 443.
1220
1221
  Default value is `false`.
1221
- :param pulumi.Input[Union[str, 'Region']] region: The region to start in
1222
- :param pulumi.Input[str] size: The size of the Load Balancer. It must be either `lb-small`, `lb-medium`, or `lb-large`. Defaults to `lb-small`. Only one of `size` or `size_unit` may be provided.
1223
- :param pulumi.Input[int] size_unit: The size of the Load Balancer. It must be in the range (1, 200). Defaults to `1`. Only one of `size` or `size_unit` may be provided.
1222
+ :param pulumi.Input[Union[builtins.str, 'Region']] region: The region to start in
1223
+ :param pulumi.Input[builtins.str] size: The size of the Load Balancer. It must be either `lb-small`, `lb-medium`, or `lb-large`. Defaults to `lb-small`. Only one of `size` or `size_unit` may be provided.
1224
+ :param pulumi.Input[builtins.int] size_unit: The size of the Load Balancer. It must be in the range (1, 200). Defaults to `1`. Only one of `size` or `size_unit` may be provided.
1224
1225
  :param pulumi.Input[Union['LoadBalancerStickySessionsArgs', 'LoadBalancerStickySessionsArgsDict']] sticky_sessions: A `sticky_sessions` block to be assigned to the
1225
1226
  Load Balancer. The `sticky_sessions` block is documented below. Only 1 sticky_sessions block is allowed.
1226
- :param pulumi.Input[Sequence[pulumi.Input[str]]] target_load_balancer_ids: A list of Load Balancer IDs to be attached behind a Global Load Balancer.
1227
- :param pulumi.Input[str] type: The type of the Load Balancer. It must be either of `REGIONAL`, `REGIONAL_NETWORK`, or `GLOBAL`. Defaults to `REGIONAL`.
1227
+ :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] target_load_balancer_ids: A list of Load Balancer IDs to be attached behind a Global Load Balancer.
1228
+ :param pulumi.Input[builtins.str] type: The type of the Load Balancer. It must be either of `REGIONAL`, `REGIONAL_NETWORK`, or `GLOBAL`. Defaults to `REGIONAL`.
1228
1229
  **NOTE**: non-`REGIONAL/GLOBAL` type may be part of closed beta feature and not available for public use.
1229
- :param pulumi.Input[str] vpc_uuid: The ID of the VPC where the load balancer will be located.
1230
+ :param pulumi.Input[builtins.str] vpc_uuid: The ID of the VPC where the load balancer will be located.
1230
1231
  """
1231
1232
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
1232
1233
 
@@ -1265,7 +1266,7 @@ class LoadBalancer(pulumi.CustomResource):
1265
1266
  @property
1266
1267
  @pulumi.getter
1267
1268
  @_utilities.deprecated("""This field has been deprecated. You can no longer specify an algorithm for load balancers.""")
1268
- def algorithm(self) -> pulumi.Output[Optional[str]]:
1269
+ def algorithm(self) -> pulumi.Output[Optional[builtins.str]]:
1269
1270
  """
1270
1271
  **Deprecated** This field has been deprecated. You can no longer specify an algorithm for load balancers.
1271
1272
  or `least_connections`. The default value is `round_robin`.
@@ -1274,7 +1275,7 @@ class LoadBalancer(pulumi.CustomResource):
1274
1275
 
1275
1276
  @property
1276
1277
  @pulumi.getter(name="disableLetsEncryptDnsRecords")
1277
- def disable_lets_encrypt_dns_records(self) -> pulumi.Output[Optional[bool]]:
1278
+ def disable_lets_encrypt_dns_records(self) -> pulumi.Output[Optional[builtins.bool]]:
1278
1279
  """
1279
1280
  A boolean value indicating whether to disable automatic DNS record creation for Let's Encrypt certificates that are added to the load balancer. Default value is `false`.
1280
1281
  """
@@ -1290,7 +1291,7 @@ class LoadBalancer(pulumi.CustomResource):
1290
1291
 
1291
1292
  @property
1292
1293
  @pulumi.getter(name="dropletIds")
1293
- def droplet_ids(self) -> pulumi.Output[Sequence[int]]:
1294
+ def droplet_ids(self) -> pulumi.Output[Sequence[builtins.int]]:
1294
1295
  """
1295
1296
  A list of the IDs of each droplet to be attached to the Load Balancer.
1296
1297
  """
@@ -1298,7 +1299,7 @@ class LoadBalancer(pulumi.CustomResource):
1298
1299
 
1299
1300
  @property
1300
1301
  @pulumi.getter(name="dropletTag")
1301
- def droplet_tag(self) -> pulumi.Output[Optional[str]]:
1302
+ def droplet_tag(self) -> pulumi.Output[Optional[builtins.str]]:
1302
1303
  """
1303
1304
  The name of a Droplet tag corresponding to Droplets to be assigned to the Load Balancer.
1304
1305
  """
@@ -1306,7 +1307,7 @@ class LoadBalancer(pulumi.CustomResource):
1306
1307
 
1307
1308
  @property
1308
1309
  @pulumi.getter(name="enableBackendKeepalive")
1309
- def enable_backend_keepalive(self) -> pulumi.Output[Optional[bool]]:
1310
+ def enable_backend_keepalive(self) -> pulumi.Output[Optional[builtins.bool]]:
1310
1311
  """
1311
1312
  A boolean value indicating whether HTTP keepalive connections are maintained to target Droplets. Default value is `false`.
1312
1313
  """
@@ -1314,7 +1315,7 @@ class LoadBalancer(pulumi.CustomResource):
1314
1315
 
1315
1316
  @property
1316
1317
  @pulumi.getter(name="enableProxyProtocol")
1317
- def enable_proxy_protocol(self) -> pulumi.Output[Optional[bool]]:
1318
+ def enable_proxy_protocol(self) -> pulumi.Output[Optional[builtins.bool]]:
1318
1319
  """
1319
1320
  A boolean value indicating whether PROXY
1320
1321
  Protocol should be used to pass information from connecting client requests to
@@ -1358,7 +1359,7 @@ class LoadBalancer(pulumi.CustomResource):
1358
1359
 
1359
1360
  @property
1360
1361
  @pulumi.getter(name="httpIdleTimeoutSeconds")
1361
- def http_idle_timeout_seconds(self) -> pulumi.Output[int]:
1362
+ def http_idle_timeout_seconds(self) -> pulumi.Output[builtins.int]:
1362
1363
  """
1363
1364
  Specifies the idle timeout for HTTPS connections on the load balancer in seconds.
1364
1365
  """
@@ -1366,7 +1367,7 @@ class LoadBalancer(pulumi.CustomResource):
1366
1367
 
1367
1368
  @property
1368
1369
  @pulumi.getter
1369
- def ip(self) -> pulumi.Output[str]:
1370
+ def ip(self) -> pulumi.Output[builtins.str]:
1370
1371
  """
1371
1372
  The ip of the Load Balancer
1372
1373
  """
@@ -1374,12 +1375,12 @@ class LoadBalancer(pulumi.CustomResource):
1374
1375
 
1375
1376
  @property
1376
1377
  @pulumi.getter
1377
- def ipv6(self) -> pulumi.Output[str]:
1378
+ def ipv6(self) -> pulumi.Output[builtins.str]:
1378
1379
  return pulumi.get(self, "ipv6")
1379
1380
 
1380
1381
  @property
1381
1382
  @pulumi.getter(name="loadBalancerUrn")
1382
- def load_balancer_urn(self) -> pulumi.Output[str]:
1383
+ def load_balancer_urn(self) -> pulumi.Output[builtins.str]:
1383
1384
  """
1384
1385
  The uniform resource name for the Load Balancer
1385
1386
  """
@@ -1387,7 +1388,7 @@ class LoadBalancer(pulumi.CustomResource):
1387
1388
 
1388
1389
  @property
1389
1390
  @pulumi.getter
1390
- def name(self) -> pulumi.Output[str]:
1391
+ def name(self) -> pulumi.Output[builtins.str]:
1391
1392
  """
1392
1393
  The Load Balancer name
1393
1394
  """
@@ -1395,7 +1396,7 @@ class LoadBalancer(pulumi.CustomResource):
1395
1396
 
1396
1397
  @property
1397
1398
  @pulumi.getter
1398
- def network(self) -> pulumi.Output[Optional[str]]:
1399
+ def network(self) -> pulumi.Output[Optional[builtins.str]]:
1399
1400
  """
1400
1401
  The type of network the Load Balancer is accessible from. It must be either of `INTERNAL` or `EXTERNAL`. Defaults to `EXTERNAL`.
1401
1402
  """
@@ -1403,7 +1404,7 @@ class LoadBalancer(pulumi.CustomResource):
1403
1404
 
1404
1405
  @property
1405
1406
  @pulumi.getter(name="networkStack")
1406
- def network_stack(self) -> pulumi.Output[Optional[str]]:
1407
+ def network_stack(self) -> pulumi.Output[Optional[builtins.str]]:
1407
1408
  """
1408
1409
  The network stack determines the allocation of ipv4/ipv6 addresses to the load balancer. It must be either of `IPV4` or `DUALSTACK`. Defaults to `IPV4`.
1409
1410
  **NOTE**: this feature is in private preview, and may not be available for public use
@@ -1412,7 +1413,7 @@ class LoadBalancer(pulumi.CustomResource):
1412
1413
 
1413
1414
  @property
1414
1415
  @pulumi.getter(name="projectId")
1415
- def project_id(self) -> pulumi.Output[str]:
1416
+ def project_id(self) -> pulumi.Output[builtins.str]:
1416
1417
  """
1417
1418
  The ID of the project that the load balancer is associated with. If no ID is provided at creation, the load balancer associates with the user's default project.
1418
1419
  """
@@ -1420,7 +1421,7 @@ class LoadBalancer(pulumi.CustomResource):
1420
1421
 
1421
1422
  @property
1422
1423
  @pulumi.getter(name="redirectHttpToHttps")
1423
- def redirect_http_to_https(self) -> pulumi.Output[Optional[bool]]:
1424
+ def redirect_http_to_https(self) -> pulumi.Output[Optional[builtins.bool]]:
1424
1425
  """
1425
1426
  A boolean value indicating whether
1426
1427
  HTTP requests to the Load Balancer on port 80 will be redirected to HTTPS on port 443.
@@ -1430,7 +1431,7 @@ class LoadBalancer(pulumi.CustomResource):
1430
1431
 
1431
1432
  @property
1432
1433
  @pulumi.getter
1433
- def region(self) -> pulumi.Output[Optional[str]]:
1434
+ def region(self) -> pulumi.Output[Optional[builtins.str]]:
1434
1435
  """
1435
1436
  The region to start in
1436
1437
  """
@@ -1438,7 +1439,7 @@ class LoadBalancer(pulumi.CustomResource):
1438
1439
 
1439
1440
  @property
1440
1441
  @pulumi.getter
1441
- def size(self) -> pulumi.Output[Optional[str]]:
1442
+ def size(self) -> pulumi.Output[Optional[builtins.str]]:
1442
1443
  """
1443
1444
  The size of the Load Balancer. It must be either `lb-small`, `lb-medium`, or `lb-large`. Defaults to `lb-small`. Only one of `size` or `size_unit` may be provided.
1444
1445
  """
@@ -1446,7 +1447,7 @@ class LoadBalancer(pulumi.CustomResource):
1446
1447
 
1447
1448
  @property
1448
1449
  @pulumi.getter(name="sizeUnit")
1449
- def size_unit(self) -> pulumi.Output[int]:
1450
+ def size_unit(self) -> pulumi.Output[builtins.int]:
1450
1451
  """
1451
1452
  The size of the Load Balancer. It must be in the range (1, 200). Defaults to `1`. Only one of `size` or `size_unit` may be provided.
1452
1453
  """
@@ -1454,7 +1455,7 @@ class LoadBalancer(pulumi.CustomResource):
1454
1455
 
1455
1456
  @property
1456
1457
  @pulumi.getter
1457
- def status(self) -> pulumi.Output[str]:
1458
+ def status(self) -> pulumi.Output[builtins.str]:
1458
1459
  return pulumi.get(self, "status")
1459
1460
 
1460
1461
  @property
@@ -1468,7 +1469,7 @@ class LoadBalancer(pulumi.CustomResource):
1468
1469
 
1469
1470
  @property
1470
1471
  @pulumi.getter(name="targetLoadBalancerIds")
1471
- def target_load_balancer_ids(self) -> pulumi.Output[Sequence[str]]:
1472
+ def target_load_balancer_ids(self) -> pulumi.Output[Sequence[builtins.str]]:
1472
1473
  """
1473
1474
  A list of Load Balancer IDs to be attached behind a Global Load Balancer.
1474
1475
  """
@@ -1476,7 +1477,7 @@ class LoadBalancer(pulumi.CustomResource):
1476
1477
 
1477
1478
  @property
1478
1479
  @pulumi.getter
1479
- def type(self) -> pulumi.Output[str]:
1480
+ def type(self) -> pulumi.Output[builtins.str]:
1480
1481
  """
1481
1482
  The type of the Load Balancer. It must be either of `REGIONAL`, `REGIONAL_NETWORK`, or `GLOBAL`. Defaults to `REGIONAL`.
1482
1483
  **NOTE**: non-`REGIONAL/GLOBAL` type may be part of closed beta feature and not available for public use.
@@ -1485,7 +1486,7 @@ class LoadBalancer(pulumi.CustomResource):
1485
1486
 
1486
1487
  @property
1487
1488
  @pulumi.getter(name="vpcUuid")
1488
- def vpc_uuid(self) -> pulumi.Output[str]:
1489
+ def vpc_uuid(self) -> pulumi.Output[builtins.str]:
1489
1490
  """
1490
1491
  The ID of the VPC where the load balancer will be located.
1491
1492
  """