pulumi-digitalocean 4.40.0a1739511652__py3-none-any.whl → 4.56.0a1766428645__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.
Files changed (154) hide show
  1. pulumi_digitalocean/__init__.py +224 -1
  2. pulumi_digitalocean/_enums.py +19 -9
  3. pulumi_digitalocean/_inputs.py +17037 -4771
  4. pulumi_digitalocean/_utilities.py +1 -1
  5. pulumi_digitalocean/app.py +238 -88
  6. pulumi_digitalocean/byoip_prefix.py +452 -0
  7. pulumi_digitalocean/cdn.py +106 -105
  8. pulumi_digitalocean/certificate.py +139 -138
  9. pulumi_digitalocean/config/__init__.py +2 -1
  10. pulumi_digitalocean/config/__init__.pyi +2 -2
  11. pulumi_digitalocean/config/vars.py +11 -11
  12. pulumi_digitalocean/container_registries.py +285 -0
  13. pulumi_digitalocean/container_registry.py +90 -89
  14. pulumi_digitalocean/container_registry_docker_credentials.py +84 -83
  15. pulumi_digitalocean/custom_image.py +180 -179
  16. pulumi_digitalocean/database_cluster.py +402 -373
  17. pulumi_digitalocean/database_connection_pool.py +159 -158
  18. pulumi_digitalocean/database_db.py +37 -36
  19. pulumi_digitalocean/database_firewall.py +23 -22
  20. pulumi_digitalocean/database_kafka_config.py +309 -308
  21. pulumi_digitalocean/database_kafka_schema_registry.py +360 -0
  22. pulumi_digitalocean/database_kafka_topic.py +83 -82
  23. pulumi_digitalocean/database_logsink_opensearch.py +680 -0
  24. pulumi_digitalocean/database_logsink_rsyslog.py +842 -0
  25. pulumi_digitalocean/database_mongodb_config.py +105 -104
  26. pulumi_digitalocean/database_mysql_config.py +479 -478
  27. pulumi_digitalocean/database_online_migration.py +460 -0
  28. pulumi_digitalocean/database_opensearch_config.py +666 -665
  29. pulumi_digitalocean/database_postgresql_config.py +859 -858
  30. pulumi_digitalocean/database_redis_config.py +211 -206
  31. pulumi_digitalocean/database_replica.py +199 -198
  32. pulumi_digitalocean/database_user.py +93 -92
  33. pulumi_digitalocean/database_valkey_config.py +776 -0
  34. pulumi_digitalocean/dns_record.py +184 -183
  35. pulumi_digitalocean/domain.py +55 -54
  36. pulumi_digitalocean/droplet.py +403 -402
  37. pulumi_digitalocean/droplet_autoscale.py +55 -54
  38. pulumi_digitalocean/droplet_snapshot.py +73 -72
  39. pulumi_digitalocean/firewall.py +80 -79
  40. pulumi_digitalocean/floating_ip.py +63 -62
  41. pulumi_digitalocean/floating_ip_assignment.py +37 -36
  42. pulumi_digitalocean/genai_agent.py +1903 -0
  43. pulumi_digitalocean/genai_agent_knowledge_base_attachment.py +198 -0
  44. pulumi_digitalocean/genai_agent_route.py +354 -0
  45. pulumi_digitalocean/genai_function.py +464 -0
  46. pulumi_digitalocean/genai_indexing_job_cancel.py +542 -0
  47. pulumi_digitalocean/genai_knowledge_base.py +627 -0
  48. pulumi_digitalocean/genai_knowledge_base_data_source.py +220 -0
  49. pulumi_digitalocean/genai_openai_api_key.py +386 -0
  50. pulumi_digitalocean/get_account.py +18 -18
  51. pulumi_digitalocean/get_app.py +28 -28
  52. pulumi_digitalocean/get_byoip_prefix.py +214 -0
  53. pulumi_digitalocean/get_byoip_prefix_resources.py +150 -0
  54. pulumi_digitalocean/get_certificate.py +22 -22
  55. pulumi_digitalocean/get_container_registries.py +151 -0
  56. pulumi_digitalocean/get_container_registry.py +22 -22
  57. pulumi_digitalocean/get_database_ca.py +12 -12
  58. pulumi_digitalocean/get_database_cluster.py +76 -62
  59. pulumi_digitalocean/get_database_connection_pool.py +36 -36
  60. pulumi_digitalocean/get_database_metrics_credentials.py +120 -0
  61. pulumi_digitalocean/get_database_replica.py +46 -46
  62. pulumi_digitalocean/get_database_user.py +27 -27
  63. pulumi_digitalocean/get_domain.py +16 -16
  64. pulumi_digitalocean/get_domains.py +7 -7
  65. pulumi_digitalocean/get_droplet.py +72 -72
  66. pulumi_digitalocean/get_droplet_autoscale.py +23 -23
  67. pulumi_digitalocean/get_droplet_snapshot.py +38 -38
  68. pulumi_digitalocean/get_droplets.py +13 -13
  69. pulumi_digitalocean/get_firewall.py +31 -31
  70. pulumi_digitalocean/get_floating_ip.py +16 -16
  71. pulumi_digitalocean/get_genai_agent.py +572 -0
  72. pulumi_digitalocean/get_genai_agent_versions.py +128 -0
  73. pulumi_digitalocean/get_genai_agents.py +128 -0
  74. pulumi_digitalocean/get_genai_agents_by_openai_api_key.py +97 -0
  75. pulumi_digitalocean/get_genai_indexing_job.py +239 -0
  76. pulumi_digitalocean/get_genai_indexing_job_data_sources.py +97 -0
  77. pulumi_digitalocean/get_genai_knowledge_base.py +259 -0
  78. pulumi_digitalocean/get_genai_knowledge_base_data_sources.py +97 -0
  79. pulumi_digitalocean/get_genai_knowledge_base_indexing_jobs.py +108 -0
  80. pulumi_digitalocean/get_genai_knowledge_bases.py +113 -0
  81. pulumi_digitalocean/get_genai_models.py +113 -0
  82. pulumi_digitalocean/get_genai_openai_api_key.py +152 -0
  83. pulumi_digitalocean/get_genai_openai_api_keys.py +113 -0
  84. pulumi_digitalocean/get_genai_regions.py +113 -0
  85. pulumi_digitalocean/get_image.py +50 -50
  86. pulumi_digitalocean/get_images.py +7 -7
  87. pulumi_digitalocean/get_kubernetes_cluster.py +144 -53
  88. pulumi_digitalocean/get_kubernetes_versions.py +14 -14
  89. pulumi_digitalocean/get_load_balancer.py +70 -59
  90. pulumi_digitalocean/get_nfs.py +205 -0
  91. pulumi_digitalocean/get_nfs_snapshot.py +188 -0
  92. pulumi_digitalocean/get_partner_attachment.py +206 -0
  93. pulumi_digitalocean/get_partner_attachment_service_key.py +118 -0
  94. pulumi_digitalocean/get_project.py +32 -32
  95. pulumi_digitalocean/get_projects.py +7 -7
  96. pulumi_digitalocean/get_record.py +32 -32
  97. pulumi_digitalocean/get_records.py +13 -13
  98. pulumi_digitalocean/get_region.py +18 -18
  99. pulumi_digitalocean/get_regions.py +7 -7
  100. pulumi_digitalocean/get_reserved_ip.py +16 -16
  101. pulumi_digitalocean/get_reserved_ipv6.py +51 -16
  102. pulumi_digitalocean/get_sizes.py +141 -7
  103. pulumi_digitalocean/get_spaces_bucket.py +22 -22
  104. pulumi_digitalocean/get_spaces_bucket_object.py +58 -58
  105. pulumi_digitalocean/get_spaces_bucket_objects.py +46 -46
  106. pulumi_digitalocean/get_spaces_buckets.py +7 -7
  107. pulumi_digitalocean/get_spaces_key.py +157 -0
  108. pulumi_digitalocean/get_ssh_key.py +14 -14
  109. pulumi_digitalocean/get_ssh_keys.py +7 -7
  110. pulumi_digitalocean/get_tag.py +22 -22
  111. pulumi_digitalocean/get_tags.py +7 -7
  112. pulumi_digitalocean/get_volume.py +34 -34
  113. pulumi_digitalocean/get_volume_snapshot.py +40 -40
  114. pulumi_digitalocean/get_vpc.py +30 -30
  115. pulumi_digitalocean/get_vpc_nat_gateway.py +263 -0
  116. pulumi_digitalocean/get_vpc_peering.py +24 -24
  117. pulumi_digitalocean/kubernetes_cluster.py +572 -303
  118. pulumi_digitalocean/kubernetes_node_pool.py +170 -169
  119. pulumi_digitalocean/load_balancer.py +406 -372
  120. pulumi_digitalocean/monitor_alert.py +153 -156
  121. pulumi_digitalocean/nfs.py +481 -0
  122. pulumi_digitalocean/nfs_attachment.py +289 -0
  123. pulumi_digitalocean/nfs_snapshot.py +379 -0
  124. pulumi_digitalocean/outputs.py +26759 -7592
  125. pulumi_digitalocean/partner_attachment.py +555 -0
  126. pulumi_digitalocean/project.py +141 -140
  127. pulumi_digitalocean/project_resources.py +37 -36
  128. pulumi_digitalocean/provider.py +105 -84
  129. pulumi_digitalocean/pulumi-plugin.json +1 -1
  130. pulumi_digitalocean/reserved_ip.py +63 -62
  131. pulumi_digitalocean/reserved_ip_assignment.py +37 -36
  132. pulumi_digitalocean/reserved_ipv6.py +122 -62
  133. pulumi_digitalocean/reserved_ipv6_assignment.py +81 -30
  134. pulumi_digitalocean/spaces_bucket.py +107 -106
  135. pulumi_digitalocean/spaces_bucket_cors_configuration.py +40 -39
  136. pulumi_digitalocean/spaces_bucket_logging.py +346 -0
  137. pulumi_digitalocean/spaces_bucket_object.py +284 -283
  138. pulumi_digitalocean/spaces_bucket_policy.py +54 -53
  139. pulumi_digitalocean/spaces_key.py +388 -0
  140. pulumi_digitalocean/ssh_key.py +46 -45
  141. pulumi_digitalocean/tag.py +74 -73
  142. pulumi_digitalocean/uptime_alert.py +112 -111
  143. pulumi_digitalocean/uptime_check.py +90 -89
  144. pulumi_digitalocean/volume.py +183 -182
  145. pulumi_digitalocean/volume_attachment.py +37 -36
  146. pulumi_digitalocean/volume_snapshot.py +90 -89
  147. pulumi_digitalocean/vpc.py +100 -99
  148. pulumi_digitalocean/vpc_nat_gateway.py +722 -0
  149. pulumi_digitalocean/vpc_peering.py +55 -58
  150. {pulumi_digitalocean-4.40.0a1739511652.dist-info → pulumi_digitalocean-4.56.0a1766428645.dist-info}/METADATA +4 -4
  151. pulumi_digitalocean-4.56.0a1766428645.dist-info/RECORD +154 -0
  152. {pulumi_digitalocean-4.40.0a1739511652.dist-info → pulumi_digitalocean-4.56.0a1766428645.dist-info}/WHEEL +1 -1
  153. pulumi_digitalocean-4.40.0a1739511652.dist-info/RECORD +0 -108
  154. {pulumi_digitalocean-4.40.0a1739511652.dist-info → pulumi_digitalocean-4.56.0a1766428645.dist-info}/top_level.txt +0 -0
@@ -1,8 +1,8 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
- import copy
5
+ import builtins as _builtins
6
6
  import warnings
7
7
  import sys
8
8
  import pulumi
@@ -22,27 +22,27 @@ __all__ = ['KubernetesNodePoolArgs', 'KubernetesNodePool']
22
22
  @pulumi.input_type
23
23
  class KubernetesNodePoolArgs:
24
24
  def __init__(__self__, *,
25
- cluster_id: pulumi.Input[str],
26
- size: pulumi.Input[Union[str, 'DropletSlug']],
27
- auto_scale: Optional[pulumi.Input[bool]] = None,
28
- labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
29
- max_nodes: Optional[pulumi.Input[int]] = None,
30
- min_nodes: Optional[pulumi.Input[int]] = None,
31
- name: Optional[pulumi.Input[str]] = None,
32
- node_count: Optional[pulumi.Input[int]] = None,
33
- tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
25
+ cluster_id: pulumi.Input[_builtins.str],
26
+ size: pulumi.Input[Union[_builtins.str, 'DropletSlug']],
27
+ auto_scale: Optional[pulumi.Input[_builtins.bool]] = None,
28
+ labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
29
+ max_nodes: Optional[pulumi.Input[_builtins.int]] = None,
30
+ min_nodes: Optional[pulumi.Input[_builtins.int]] = None,
31
+ name: Optional[pulumi.Input[_builtins.str]] = None,
32
+ node_count: Optional[pulumi.Input[_builtins.int]] = None,
33
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
34
34
  taints: Optional[pulumi.Input[Sequence[pulumi.Input['KubernetesNodePoolTaintArgs']]]] = None):
35
35
  """
36
36
  The set of arguments for constructing a KubernetesNodePool resource.
37
- :param pulumi.Input[str] cluster_id: The ID of the Kubernetes cluster to which the node pool is associated.
38
- :param pulumi.Input[Union[str, 'DropletSlug']] size: The slug identifier for the type of Droplet to be used as workers in the node pool.
39
- :param pulumi.Input[bool] auto_scale: Enable auto-scaling of the number of nodes in the node pool within the given min/max range.
40
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: A map of key/value pairs to apply to nodes in the pool. The labels are exposed in the Kubernetes API as labels in the metadata of the corresponding [Node resources](https://kubernetes.io/docs/concepts/architecture/nodes/).
41
- :param pulumi.Input[int] max_nodes: If auto-scaling is enabled, this represents the maximum number of nodes that the node pool can be scaled up to.
42
- :param pulumi.Input[int] min_nodes: If auto-scaling is enabled, this represents the minimum number of nodes that the node pool can be scaled down to.
43
- :param pulumi.Input[str] name: A name for the node pool.
44
- :param pulumi.Input[int] node_count: The number of Droplet instances in the node pool. If auto-scaling is enabled, this should only be set if the desired result is to explicitly reset the number of nodes to this value. If auto-scaling is enabled, and the node count is outside of the given min/max range, it will use the min nodes value.
45
- :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: A list of tag names to be applied to the Kubernetes cluster.
37
+ :param pulumi.Input[_builtins.str] cluster_id: The ID of the Kubernetes cluster to which the node pool is associated.
38
+ :param pulumi.Input[Union[_builtins.str, 'DropletSlug']] size: The slug identifier for the type of Droplet to be used as workers in the node pool.
39
+ :param pulumi.Input[_builtins.bool] auto_scale: Enable auto-scaling of the number of nodes in the node pool within the given min/max range.
40
+ :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: A map of key/value pairs to apply to nodes in the pool. The labels are exposed in the Kubernetes API as labels in the metadata of the corresponding [Node resources](https://kubernetes.io/docs/concepts/architecture/nodes/).
41
+ :param pulumi.Input[_builtins.int] max_nodes: If auto-scaling is enabled, this represents the maximum number of nodes that the node pool can be scaled up to.
42
+ :param pulumi.Input[_builtins.int] min_nodes: If auto-scaling is enabled, this represents the minimum number of nodes that the node pool can be scaled down to.
43
+ :param pulumi.Input[_builtins.str] name: A name for the node pool.
44
+ :param pulumi.Input[_builtins.int] node_count: The number of Droplet instances in the node pool. If auto-scaling is enabled, this should only be set if the desired result is to explicitly reset the number of nodes to this value. If auto-scaling is enabled, and the node count is outside of the given min/max range, it will use the min nodes value.
45
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] tags: A list of tag names to be applied to the Kubernetes cluster.
46
46
  :param pulumi.Input[Sequence[pulumi.Input['KubernetesNodePoolTaintArgs']]] taints: A list of taints applied to all nodes in the pool.
47
47
 
48
48
  This resource supports customized create timeouts. The default timeout is 30 minutes.
@@ -66,115 +66,115 @@ class KubernetesNodePoolArgs:
66
66
  if taints is not None:
67
67
  pulumi.set(__self__, "taints", taints)
68
68
 
69
- @property
69
+ @_builtins.property
70
70
  @pulumi.getter(name="clusterId")
71
- def cluster_id(self) -> pulumi.Input[str]:
71
+ def cluster_id(self) -> pulumi.Input[_builtins.str]:
72
72
  """
73
73
  The ID of the Kubernetes cluster to which the node pool is associated.
74
74
  """
75
75
  return pulumi.get(self, "cluster_id")
76
76
 
77
77
  @cluster_id.setter
78
- def cluster_id(self, value: pulumi.Input[str]):
78
+ def cluster_id(self, value: pulumi.Input[_builtins.str]):
79
79
  pulumi.set(self, "cluster_id", value)
80
80
 
81
- @property
81
+ @_builtins.property
82
82
  @pulumi.getter
83
- def size(self) -> pulumi.Input[Union[str, 'DropletSlug']]:
83
+ def size(self) -> pulumi.Input[Union[_builtins.str, 'DropletSlug']]:
84
84
  """
85
85
  The slug identifier for the type of Droplet to be used as workers in the node pool.
86
86
  """
87
87
  return pulumi.get(self, "size")
88
88
 
89
89
  @size.setter
90
- def size(self, value: pulumi.Input[Union[str, 'DropletSlug']]):
90
+ def size(self, value: pulumi.Input[Union[_builtins.str, 'DropletSlug']]):
91
91
  pulumi.set(self, "size", value)
92
92
 
93
- @property
93
+ @_builtins.property
94
94
  @pulumi.getter(name="autoScale")
95
- def auto_scale(self) -> Optional[pulumi.Input[bool]]:
95
+ def auto_scale(self) -> Optional[pulumi.Input[_builtins.bool]]:
96
96
  """
97
97
  Enable auto-scaling of the number of nodes in the node pool within the given min/max range.
98
98
  """
99
99
  return pulumi.get(self, "auto_scale")
100
100
 
101
101
  @auto_scale.setter
102
- def auto_scale(self, value: Optional[pulumi.Input[bool]]):
102
+ def auto_scale(self, value: Optional[pulumi.Input[_builtins.bool]]):
103
103
  pulumi.set(self, "auto_scale", value)
104
104
 
105
- @property
105
+ @_builtins.property
106
106
  @pulumi.getter
107
- def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
107
+ def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
108
108
  """
109
109
  A map of key/value pairs to apply to nodes in the pool. The labels are exposed in the Kubernetes API as labels in the metadata of the corresponding [Node resources](https://kubernetes.io/docs/concepts/architecture/nodes/).
110
110
  """
111
111
  return pulumi.get(self, "labels")
112
112
 
113
113
  @labels.setter
114
- def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
114
+ def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
115
115
  pulumi.set(self, "labels", value)
116
116
 
117
- @property
117
+ @_builtins.property
118
118
  @pulumi.getter(name="maxNodes")
119
- def max_nodes(self) -> Optional[pulumi.Input[int]]:
119
+ def max_nodes(self) -> Optional[pulumi.Input[_builtins.int]]:
120
120
  """
121
121
  If auto-scaling is enabled, this represents the maximum number of nodes that the node pool can be scaled up to.
122
122
  """
123
123
  return pulumi.get(self, "max_nodes")
124
124
 
125
125
  @max_nodes.setter
126
- def max_nodes(self, value: Optional[pulumi.Input[int]]):
126
+ def max_nodes(self, value: Optional[pulumi.Input[_builtins.int]]):
127
127
  pulumi.set(self, "max_nodes", value)
128
128
 
129
- @property
129
+ @_builtins.property
130
130
  @pulumi.getter(name="minNodes")
131
- def min_nodes(self) -> Optional[pulumi.Input[int]]:
131
+ def min_nodes(self) -> Optional[pulumi.Input[_builtins.int]]:
132
132
  """
133
133
  If auto-scaling is enabled, this represents the minimum number of nodes that the node pool can be scaled down to.
134
134
  """
135
135
  return pulumi.get(self, "min_nodes")
136
136
 
137
137
  @min_nodes.setter
138
- def min_nodes(self, value: Optional[pulumi.Input[int]]):
138
+ def min_nodes(self, value: Optional[pulumi.Input[_builtins.int]]):
139
139
  pulumi.set(self, "min_nodes", value)
140
140
 
141
- @property
141
+ @_builtins.property
142
142
  @pulumi.getter
143
- def name(self) -> Optional[pulumi.Input[str]]:
143
+ def name(self) -> Optional[pulumi.Input[_builtins.str]]:
144
144
  """
145
145
  A name for the node pool.
146
146
  """
147
147
  return pulumi.get(self, "name")
148
148
 
149
149
  @name.setter
150
- def name(self, value: Optional[pulumi.Input[str]]):
150
+ def name(self, value: Optional[pulumi.Input[_builtins.str]]):
151
151
  pulumi.set(self, "name", value)
152
152
 
153
- @property
153
+ @_builtins.property
154
154
  @pulumi.getter(name="nodeCount")
155
- def node_count(self) -> Optional[pulumi.Input[int]]:
155
+ def node_count(self) -> Optional[pulumi.Input[_builtins.int]]:
156
156
  """
157
157
  The number of Droplet instances in the node pool. If auto-scaling is enabled, this should only be set if the desired result is to explicitly reset the number of nodes to this value. If auto-scaling is enabled, and the node count is outside of the given min/max range, it will use the min nodes value.
158
158
  """
159
159
  return pulumi.get(self, "node_count")
160
160
 
161
161
  @node_count.setter
162
- def node_count(self, value: Optional[pulumi.Input[int]]):
162
+ def node_count(self, value: Optional[pulumi.Input[_builtins.int]]):
163
163
  pulumi.set(self, "node_count", value)
164
164
 
165
- @property
165
+ @_builtins.property
166
166
  @pulumi.getter
167
- def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
167
+ def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
168
168
  """
169
169
  A list of tag names to be applied to the Kubernetes cluster.
170
170
  """
171
171
  return pulumi.get(self, "tags")
172
172
 
173
173
  @tags.setter
174
- def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
174
+ def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
175
175
  pulumi.set(self, "tags", value)
176
176
 
177
- @property
177
+ @_builtins.property
178
178
  @pulumi.getter
179
179
  def taints(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['KubernetesNodePoolTaintArgs']]]]:
180
180
  """
@@ -192,31 +192,31 @@ class KubernetesNodePoolArgs:
192
192
  @pulumi.input_type
193
193
  class _KubernetesNodePoolState:
194
194
  def __init__(__self__, *,
195
- actual_node_count: Optional[pulumi.Input[int]] = None,
196
- auto_scale: Optional[pulumi.Input[bool]] = None,
197
- cluster_id: Optional[pulumi.Input[str]] = None,
198
- labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
199
- max_nodes: Optional[pulumi.Input[int]] = None,
200
- min_nodes: Optional[pulumi.Input[int]] = None,
201
- name: Optional[pulumi.Input[str]] = None,
202
- node_count: Optional[pulumi.Input[int]] = None,
195
+ actual_node_count: Optional[pulumi.Input[_builtins.int]] = None,
196
+ auto_scale: Optional[pulumi.Input[_builtins.bool]] = None,
197
+ cluster_id: Optional[pulumi.Input[_builtins.str]] = None,
198
+ labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
199
+ max_nodes: Optional[pulumi.Input[_builtins.int]] = None,
200
+ min_nodes: Optional[pulumi.Input[_builtins.int]] = None,
201
+ name: Optional[pulumi.Input[_builtins.str]] = None,
202
+ node_count: Optional[pulumi.Input[_builtins.int]] = None,
203
203
  nodes: Optional[pulumi.Input[Sequence[pulumi.Input['KubernetesNodePoolNodeArgs']]]] = None,
204
- size: Optional[pulumi.Input[Union[str, 'DropletSlug']]] = None,
205
- tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
204
+ size: Optional[pulumi.Input[Union[_builtins.str, 'DropletSlug']]] = None,
205
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
206
206
  taints: Optional[pulumi.Input[Sequence[pulumi.Input['KubernetesNodePoolTaintArgs']]]] = None):
207
207
  """
208
208
  Input properties used for looking up and filtering KubernetesNodePool resources.
209
- :param pulumi.Input[int] actual_node_count: A computed field representing the actual number of nodes in the node pool, which is especially useful when auto-scaling is enabled.
210
- :param pulumi.Input[bool] auto_scale: Enable auto-scaling of the number of nodes in the node pool within the given min/max range.
211
- :param pulumi.Input[str] cluster_id: The ID of the Kubernetes cluster to which the node pool is associated.
212
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: A map of key/value pairs to apply to nodes in the pool. The labels are exposed in the Kubernetes API as labels in the metadata of the corresponding [Node resources](https://kubernetes.io/docs/concepts/architecture/nodes/).
213
- :param pulumi.Input[int] max_nodes: If auto-scaling is enabled, this represents the maximum number of nodes that the node pool can be scaled up to.
214
- :param pulumi.Input[int] min_nodes: If auto-scaling is enabled, this represents the minimum number of nodes that the node pool can be scaled down to.
215
- :param pulumi.Input[str] name: A name for the node pool.
216
- :param pulumi.Input[int] node_count: The number of Droplet instances in the node pool. If auto-scaling is enabled, this should only be set if the desired result is to explicitly reset the number of nodes to this value. If auto-scaling is enabled, and the node count is outside of the given min/max range, it will use the min nodes value.
209
+ :param pulumi.Input[_builtins.int] actual_node_count: A computed field representing the actual number of nodes in the node pool, which is especially useful when auto-scaling is enabled.
210
+ :param pulumi.Input[_builtins.bool] auto_scale: Enable auto-scaling of the number of nodes in the node pool within the given min/max range.
211
+ :param pulumi.Input[_builtins.str] cluster_id: The ID of the Kubernetes cluster to which the node pool is associated.
212
+ :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: A map of key/value pairs to apply to nodes in the pool. The labels are exposed in the Kubernetes API as labels in the metadata of the corresponding [Node resources](https://kubernetes.io/docs/concepts/architecture/nodes/).
213
+ :param pulumi.Input[_builtins.int] max_nodes: If auto-scaling is enabled, this represents the maximum number of nodes that the node pool can be scaled up to.
214
+ :param pulumi.Input[_builtins.int] min_nodes: If auto-scaling is enabled, this represents the minimum number of nodes that the node pool can be scaled down to.
215
+ :param pulumi.Input[_builtins.str] name: A name for the node pool.
216
+ :param pulumi.Input[_builtins.int] node_count: The number of Droplet instances in the node pool. If auto-scaling is enabled, this should only be set if the desired result is to explicitly reset the number of nodes to this value. If auto-scaling is enabled, and the node count is outside of the given min/max range, it will use the min nodes value.
217
217
  :param pulumi.Input[Sequence[pulumi.Input['KubernetesNodePoolNodeArgs']]] nodes: A list of nodes in the pool. Each node exports the following attributes:
218
- :param pulumi.Input[Union[str, 'DropletSlug']] size: The slug identifier for the type of Droplet to be used as workers in the node pool.
219
- :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: A list of tag names to be applied to the Kubernetes cluster.
218
+ :param pulumi.Input[Union[_builtins.str, 'DropletSlug']] size: The slug identifier for the type of Droplet to be used as workers in the node pool.
219
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] tags: A list of tag names to be applied to the Kubernetes cluster.
220
220
  :param pulumi.Input[Sequence[pulumi.Input['KubernetesNodePoolTaintArgs']]] taints: A list of taints applied to all nodes in the pool.
221
221
 
222
222
  This resource supports customized create timeouts. The default timeout is 30 minutes.
@@ -246,103 +246,103 @@ class _KubernetesNodePoolState:
246
246
  if taints is not None:
247
247
  pulumi.set(__self__, "taints", taints)
248
248
 
249
- @property
249
+ @_builtins.property
250
250
  @pulumi.getter(name="actualNodeCount")
251
- def actual_node_count(self) -> Optional[pulumi.Input[int]]:
251
+ def actual_node_count(self) -> Optional[pulumi.Input[_builtins.int]]:
252
252
  """
253
253
  A computed field representing the actual number of nodes in the node pool, which is especially useful when auto-scaling is enabled.
254
254
  """
255
255
  return pulumi.get(self, "actual_node_count")
256
256
 
257
257
  @actual_node_count.setter
258
- def actual_node_count(self, value: Optional[pulumi.Input[int]]):
258
+ def actual_node_count(self, value: Optional[pulumi.Input[_builtins.int]]):
259
259
  pulumi.set(self, "actual_node_count", value)
260
260
 
261
- @property
261
+ @_builtins.property
262
262
  @pulumi.getter(name="autoScale")
263
- def auto_scale(self) -> Optional[pulumi.Input[bool]]:
263
+ def auto_scale(self) -> Optional[pulumi.Input[_builtins.bool]]:
264
264
  """
265
265
  Enable auto-scaling of the number of nodes in the node pool within the given min/max range.
266
266
  """
267
267
  return pulumi.get(self, "auto_scale")
268
268
 
269
269
  @auto_scale.setter
270
- def auto_scale(self, value: Optional[pulumi.Input[bool]]):
270
+ def auto_scale(self, value: Optional[pulumi.Input[_builtins.bool]]):
271
271
  pulumi.set(self, "auto_scale", value)
272
272
 
273
- @property
273
+ @_builtins.property
274
274
  @pulumi.getter(name="clusterId")
275
- def cluster_id(self) -> Optional[pulumi.Input[str]]:
275
+ def cluster_id(self) -> Optional[pulumi.Input[_builtins.str]]:
276
276
  """
277
277
  The ID of the Kubernetes cluster to which the node pool is associated.
278
278
  """
279
279
  return pulumi.get(self, "cluster_id")
280
280
 
281
281
  @cluster_id.setter
282
- def cluster_id(self, value: Optional[pulumi.Input[str]]):
282
+ def cluster_id(self, value: Optional[pulumi.Input[_builtins.str]]):
283
283
  pulumi.set(self, "cluster_id", value)
284
284
 
285
- @property
285
+ @_builtins.property
286
286
  @pulumi.getter
287
- def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
287
+ def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
288
288
  """
289
289
  A map of key/value pairs to apply to nodes in the pool. The labels are exposed in the Kubernetes API as labels in the metadata of the corresponding [Node resources](https://kubernetes.io/docs/concepts/architecture/nodes/).
290
290
  """
291
291
  return pulumi.get(self, "labels")
292
292
 
293
293
  @labels.setter
294
- def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
294
+ def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
295
295
  pulumi.set(self, "labels", value)
296
296
 
297
- @property
297
+ @_builtins.property
298
298
  @pulumi.getter(name="maxNodes")
299
- def max_nodes(self) -> Optional[pulumi.Input[int]]:
299
+ def max_nodes(self) -> Optional[pulumi.Input[_builtins.int]]:
300
300
  """
301
301
  If auto-scaling is enabled, this represents the maximum number of nodes that the node pool can be scaled up to.
302
302
  """
303
303
  return pulumi.get(self, "max_nodes")
304
304
 
305
305
  @max_nodes.setter
306
- def max_nodes(self, value: Optional[pulumi.Input[int]]):
306
+ def max_nodes(self, value: Optional[pulumi.Input[_builtins.int]]):
307
307
  pulumi.set(self, "max_nodes", value)
308
308
 
309
- @property
309
+ @_builtins.property
310
310
  @pulumi.getter(name="minNodes")
311
- def min_nodes(self) -> Optional[pulumi.Input[int]]:
311
+ def min_nodes(self) -> Optional[pulumi.Input[_builtins.int]]:
312
312
  """
313
313
  If auto-scaling is enabled, this represents the minimum number of nodes that the node pool can be scaled down to.
314
314
  """
315
315
  return pulumi.get(self, "min_nodes")
316
316
 
317
317
  @min_nodes.setter
318
- def min_nodes(self, value: Optional[pulumi.Input[int]]):
318
+ def min_nodes(self, value: Optional[pulumi.Input[_builtins.int]]):
319
319
  pulumi.set(self, "min_nodes", value)
320
320
 
321
- @property
321
+ @_builtins.property
322
322
  @pulumi.getter
323
- def name(self) -> Optional[pulumi.Input[str]]:
323
+ def name(self) -> Optional[pulumi.Input[_builtins.str]]:
324
324
  """
325
325
  A name for the node pool.
326
326
  """
327
327
  return pulumi.get(self, "name")
328
328
 
329
329
  @name.setter
330
- def name(self, value: Optional[pulumi.Input[str]]):
330
+ def name(self, value: Optional[pulumi.Input[_builtins.str]]):
331
331
  pulumi.set(self, "name", value)
332
332
 
333
- @property
333
+ @_builtins.property
334
334
  @pulumi.getter(name="nodeCount")
335
- def node_count(self) -> Optional[pulumi.Input[int]]:
335
+ def node_count(self) -> Optional[pulumi.Input[_builtins.int]]:
336
336
  """
337
337
  The number of Droplet instances in the node pool. If auto-scaling is enabled, this should only be set if the desired result is to explicitly reset the number of nodes to this value. If auto-scaling is enabled, and the node count is outside of the given min/max range, it will use the min nodes value.
338
338
  """
339
339
  return pulumi.get(self, "node_count")
340
340
 
341
341
  @node_count.setter
342
- def node_count(self, value: Optional[pulumi.Input[int]]):
342
+ def node_count(self, value: Optional[pulumi.Input[_builtins.int]]):
343
343
  pulumi.set(self, "node_count", value)
344
344
 
345
- @property
345
+ @_builtins.property
346
346
  @pulumi.getter
347
347
  def nodes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['KubernetesNodePoolNodeArgs']]]]:
348
348
  """
@@ -354,31 +354,31 @@ class _KubernetesNodePoolState:
354
354
  def nodes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['KubernetesNodePoolNodeArgs']]]]):
355
355
  pulumi.set(self, "nodes", value)
356
356
 
357
- @property
357
+ @_builtins.property
358
358
  @pulumi.getter
359
- def size(self) -> Optional[pulumi.Input[Union[str, 'DropletSlug']]]:
359
+ def size(self) -> Optional[pulumi.Input[Union[_builtins.str, 'DropletSlug']]]:
360
360
  """
361
361
  The slug identifier for the type of Droplet to be used as workers in the node pool.
362
362
  """
363
363
  return pulumi.get(self, "size")
364
364
 
365
365
  @size.setter
366
- def size(self, value: Optional[pulumi.Input[Union[str, 'DropletSlug']]]):
366
+ def size(self, value: Optional[pulumi.Input[Union[_builtins.str, 'DropletSlug']]]):
367
367
  pulumi.set(self, "size", value)
368
368
 
369
- @property
369
+ @_builtins.property
370
370
  @pulumi.getter
371
- def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
371
+ def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
372
372
  """
373
373
  A list of tag names to be applied to the Kubernetes cluster.
374
374
  """
375
375
  return pulumi.get(self, "tags")
376
376
 
377
377
  @tags.setter
378
- def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
378
+ def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
379
379
  pulumi.set(self, "tags", value)
380
380
 
381
- @property
381
+ @_builtins.property
382
382
  @pulumi.getter
383
383
  def taints(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['KubernetesNodePoolTaintArgs']]]]:
384
384
  """
@@ -393,20 +393,21 @@ class _KubernetesNodePoolState:
393
393
  pulumi.set(self, "taints", value)
394
394
 
395
395
 
396
+ @pulumi.type_token("digitalocean:index/kubernetesNodePool:KubernetesNodePool")
396
397
  class KubernetesNodePool(pulumi.CustomResource):
397
398
  @overload
398
399
  def __init__(__self__,
399
400
  resource_name: str,
400
401
  opts: Optional[pulumi.ResourceOptions] = None,
401
- auto_scale: Optional[pulumi.Input[bool]] = None,
402
- cluster_id: Optional[pulumi.Input[str]] = None,
403
- labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
404
- max_nodes: Optional[pulumi.Input[int]] = None,
405
- min_nodes: Optional[pulumi.Input[int]] = None,
406
- name: Optional[pulumi.Input[str]] = None,
407
- node_count: Optional[pulumi.Input[int]] = None,
408
- size: Optional[pulumi.Input[Union[str, 'DropletSlug']]] = None,
409
- tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
402
+ auto_scale: Optional[pulumi.Input[_builtins.bool]] = None,
403
+ cluster_id: Optional[pulumi.Input[_builtins.str]] = None,
404
+ labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
405
+ max_nodes: Optional[pulumi.Input[_builtins.int]] = None,
406
+ min_nodes: Optional[pulumi.Input[_builtins.int]] = None,
407
+ name: Optional[pulumi.Input[_builtins.str]] = None,
408
+ node_count: Optional[pulumi.Input[_builtins.int]] = None,
409
+ size: Optional[pulumi.Input[Union[_builtins.str, 'DropletSlug']]] = None,
410
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
410
411
  taints: Optional[pulumi.Input[Sequence[pulumi.Input[Union['KubernetesNodePoolTaintArgs', 'KubernetesNodePoolTaintArgsDict']]]]] = None,
411
412
  __props__=None):
412
413
  """
@@ -484,15 +485,15 @@ class KubernetesNodePool(pulumi.CustomResource):
484
485
 
485
486
  :param str resource_name: The name of the resource.
486
487
  :param pulumi.ResourceOptions opts: Options for the resource.
487
- :param pulumi.Input[bool] auto_scale: Enable auto-scaling of the number of nodes in the node pool within the given min/max range.
488
- :param pulumi.Input[str] cluster_id: The ID of the Kubernetes cluster to which the node pool is associated.
489
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: A map of key/value pairs to apply to nodes in the pool. The labels are exposed in the Kubernetes API as labels in the metadata of the corresponding [Node resources](https://kubernetes.io/docs/concepts/architecture/nodes/).
490
- :param pulumi.Input[int] max_nodes: If auto-scaling is enabled, this represents the maximum number of nodes that the node pool can be scaled up to.
491
- :param pulumi.Input[int] min_nodes: If auto-scaling is enabled, this represents the minimum number of nodes that the node pool can be scaled down to.
492
- :param pulumi.Input[str] name: A name for the node pool.
493
- :param pulumi.Input[int] node_count: The number of Droplet instances in the node pool. If auto-scaling is enabled, this should only be set if the desired result is to explicitly reset the number of nodes to this value. If auto-scaling is enabled, and the node count is outside of the given min/max range, it will use the min nodes value.
494
- :param pulumi.Input[Union[str, 'DropletSlug']] size: The slug identifier for the type of Droplet to be used as workers in the node pool.
495
- :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: A list of tag names to be applied to the Kubernetes cluster.
488
+ :param pulumi.Input[_builtins.bool] auto_scale: Enable auto-scaling of the number of nodes in the node pool within the given min/max range.
489
+ :param pulumi.Input[_builtins.str] cluster_id: The ID of the Kubernetes cluster to which the node pool is associated.
490
+ :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: A map of key/value pairs to apply to nodes in the pool. The labels are exposed in the Kubernetes API as labels in the metadata of the corresponding [Node resources](https://kubernetes.io/docs/concepts/architecture/nodes/).
491
+ :param pulumi.Input[_builtins.int] max_nodes: If auto-scaling is enabled, this represents the maximum number of nodes that the node pool can be scaled up to.
492
+ :param pulumi.Input[_builtins.int] min_nodes: If auto-scaling is enabled, this represents the minimum number of nodes that the node pool can be scaled down to.
493
+ :param pulumi.Input[_builtins.str] name: A name for the node pool.
494
+ :param pulumi.Input[_builtins.int] node_count: The number of Droplet instances in the node pool. If auto-scaling is enabled, this should only be set if the desired result is to explicitly reset the number of nodes to this value. If auto-scaling is enabled, and the node count is outside of the given min/max range, it will use the min nodes value.
495
+ :param pulumi.Input[Union[_builtins.str, 'DropletSlug']] size: The slug identifier for the type of Droplet to be used as workers in the node pool.
496
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] tags: A list of tag names to be applied to the Kubernetes cluster.
496
497
  :param pulumi.Input[Sequence[pulumi.Input[Union['KubernetesNodePoolTaintArgs', 'KubernetesNodePoolTaintArgsDict']]]] taints: A list of taints applied to all nodes in the pool.
497
498
 
498
499
  This resource supports customized create timeouts. The default timeout is 30 minutes.
@@ -591,15 +592,15 @@ class KubernetesNodePool(pulumi.CustomResource):
591
592
  def _internal_init(__self__,
592
593
  resource_name: str,
593
594
  opts: Optional[pulumi.ResourceOptions] = None,
594
- auto_scale: Optional[pulumi.Input[bool]] = None,
595
- cluster_id: Optional[pulumi.Input[str]] = None,
596
- labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
597
- max_nodes: Optional[pulumi.Input[int]] = None,
598
- min_nodes: Optional[pulumi.Input[int]] = None,
599
- name: Optional[pulumi.Input[str]] = None,
600
- node_count: Optional[pulumi.Input[int]] = None,
601
- size: Optional[pulumi.Input[Union[str, 'DropletSlug']]] = None,
602
- tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
595
+ auto_scale: Optional[pulumi.Input[_builtins.bool]] = None,
596
+ cluster_id: Optional[pulumi.Input[_builtins.str]] = None,
597
+ labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
598
+ max_nodes: Optional[pulumi.Input[_builtins.int]] = None,
599
+ min_nodes: Optional[pulumi.Input[_builtins.int]] = None,
600
+ name: Optional[pulumi.Input[_builtins.str]] = None,
601
+ node_count: Optional[pulumi.Input[_builtins.int]] = None,
602
+ size: Optional[pulumi.Input[Union[_builtins.str, 'DropletSlug']]] = None,
603
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
603
604
  taints: Optional[pulumi.Input[Sequence[pulumi.Input[Union['KubernetesNodePoolTaintArgs', 'KubernetesNodePoolTaintArgsDict']]]]] = None,
604
605
  __props__=None):
605
606
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
@@ -636,17 +637,17 @@ class KubernetesNodePool(pulumi.CustomResource):
636
637
  def get(resource_name: str,
637
638
  id: pulumi.Input[str],
638
639
  opts: Optional[pulumi.ResourceOptions] = None,
639
- actual_node_count: Optional[pulumi.Input[int]] = None,
640
- auto_scale: Optional[pulumi.Input[bool]] = None,
641
- cluster_id: Optional[pulumi.Input[str]] = None,
642
- labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
643
- max_nodes: Optional[pulumi.Input[int]] = None,
644
- min_nodes: Optional[pulumi.Input[int]] = None,
645
- name: Optional[pulumi.Input[str]] = None,
646
- node_count: Optional[pulumi.Input[int]] = None,
640
+ actual_node_count: Optional[pulumi.Input[_builtins.int]] = None,
641
+ auto_scale: Optional[pulumi.Input[_builtins.bool]] = None,
642
+ cluster_id: Optional[pulumi.Input[_builtins.str]] = None,
643
+ labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
644
+ max_nodes: Optional[pulumi.Input[_builtins.int]] = None,
645
+ min_nodes: Optional[pulumi.Input[_builtins.int]] = None,
646
+ name: Optional[pulumi.Input[_builtins.str]] = None,
647
+ node_count: Optional[pulumi.Input[_builtins.int]] = None,
647
648
  nodes: Optional[pulumi.Input[Sequence[pulumi.Input[Union['KubernetesNodePoolNodeArgs', 'KubernetesNodePoolNodeArgsDict']]]]] = None,
648
- size: Optional[pulumi.Input[Union[str, 'DropletSlug']]] = None,
649
- tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
649
+ size: Optional[pulumi.Input[Union[_builtins.str, 'DropletSlug']]] = None,
650
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
650
651
  taints: Optional[pulumi.Input[Sequence[pulumi.Input[Union['KubernetesNodePoolTaintArgs', 'KubernetesNodePoolTaintArgsDict']]]]] = None) -> 'KubernetesNodePool':
651
652
  """
652
653
  Get an existing KubernetesNodePool resource's state with the given name, id, and optional extra
@@ -655,17 +656,17 @@ class KubernetesNodePool(pulumi.CustomResource):
655
656
  :param str resource_name: The unique name of the resulting resource.
656
657
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
657
658
  :param pulumi.ResourceOptions opts: Options for the resource.
658
- :param pulumi.Input[int] actual_node_count: A computed field representing the actual number of nodes in the node pool, which is especially useful when auto-scaling is enabled.
659
- :param pulumi.Input[bool] auto_scale: Enable auto-scaling of the number of nodes in the node pool within the given min/max range.
660
- :param pulumi.Input[str] cluster_id: The ID of the Kubernetes cluster to which the node pool is associated.
661
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: A map of key/value pairs to apply to nodes in the pool. The labels are exposed in the Kubernetes API as labels in the metadata of the corresponding [Node resources](https://kubernetes.io/docs/concepts/architecture/nodes/).
662
- :param pulumi.Input[int] max_nodes: If auto-scaling is enabled, this represents the maximum number of nodes that the node pool can be scaled up to.
663
- :param pulumi.Input[int] min_nodes: If auto-scaling is enabled, this represents the minimum number of nodes that the node pool can be scaled down to.
664
- :param pulumi.Input[str] name: A name for the node pool.
665
- :param pulumi.Input[int] node_count: The number of Droplet instances in the node pool. If auto-scaling is enabled, this should only be set if the desired result is to explicitly reset the number of nodes to this value. If auto-scaling is enabled, and the node count is outside of the given min/max range, it will use the min nodes value.
659
+ :param pulumi.Input[_builtins.int] actual_node_count: A computed field representing the actual number of nodes in the node pool, which is especially useful when auto-scaling is enabled.
660
+ :param pulumi.Input[_builtins.bool] auto_scale: Enable auto-scaling of the number of nodes in the node pool within the given min/max range.
661
+ :param pulumi.Input[_builtins.str] cluster_id: The ID of the Kubernetes cluster to which the node pool is associated.
662
+ :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: A map of key/value pairs to apply to nodes in the pool. The labels are exposed in the Kubernetes API as labels in the metadata of the corresponding [Node resources](https://kubernetes.io/docs/concepts/architecture/nodes/).
663
+ :param pulumi.Input[_builtins.int] max_nodes: If auto-scaling is enabled, this represents the maximum number of nodes that the node pool can be scaled up to.
664
+ :param pulumi.Input[_builtins.int] min_nodes: If auto-scaling is enabled, this represents the minimum number of nodes that the node pool can be scaled down to.
665
+ :param pulumi.Input[_builtins.str] name: A name for the node pool.
666
+ :param pulumi.Input[_builtins.int] node_count: The number of Droplet instances in the node pool. If auto-scaling is enabled, this should only be set if the desired result is to explicitly reset the number of nodes to this value. If auto-scaling is enabled, and the node count is outside of the given min/max range, it will use the min nodes value.
666
667
  :param pulumi.Input[Sequence[pulumi.Input[Union['KubernetesNodePoolNodeArgs', 'KubernetesNodePoolNodeArgsDict']]]] nodes: A list of nodes in the pool. Each node exports the following attributes:
667
- :param pulumi.Input[Union[str, 'DropletSlug']] size: The slug identifier for the type of Droplet to be used as workers in the node pool.
668
- :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: A list of tag names to be applied to the Kubernetes cluster.
668
+ :param pulumi.Input[Union[_builtins.str, 'DropletSlug']] size: The slug identifier for the type of Droplet to be used as workers in the node pool.
669
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] tags: A list of tag names to be applied to the Kubernetes cluster.
669
670
  :param pulumi.Input[Sequence[pulumi.Input[Union['KubernetesNodePoolTaintArgs', 'KubernetesNodePoolTaintArgsDict']]]] taints: A list of taints applied to all nodes in the pool.
670
671
 
671
672
  This resource supports customized create timeouts. The default timeout is 30 minutes.
@@ -688,71 +689,71 @@ class KubernetesNodePool(pulumi.CustomResource):
688
689
  __props__.__dict__["taints"] = taints
689
690
  return KubernetesNodePool(resource_name, opts=opts, __props__=__props__)
690
691
 
691
- @property
692
+ @_builtins.property
692
693
  @pulumi.getter(name="actualNodeCount")
693
- def actual_node_count(self) -> pulumi.Output[int]:
694
+ def actual_node_count(self) -> pulumi.Output[_builtins.int]:
694
695
  """
695
696
  A computed field representing the actual number of nodes in the node pool, which is especially useful when auto-scaling is enabled.
696
697
  """
697
698
  return pulumi.get(self, "actual_node_count")
698
699
 
699
- @property
700
+ @_builtins.property
700
701
  @pulumi.getter(name="autoScale")
701
- def auto_scale(self) -> pulumi.Output[Optional[bool]]:
702
+ def auto_scale(self) -> pulumi.Output[Optional[_builtins.bool]]:
702
703
  """
703
704
  Enable auto-scaling of the number of nodes in the node pool within the given min/max range.
704
705
  """
705
706
  return pulumi.get(self, "auto_scale")
706
707
 
707
- @property
708
+ @_builtins.property
708
709
  @pulumi.getter(name="clusterId")
709
- def cluster_id(self) -> pulumi.Output[str]:
710
+ def cluster_id(self) -> pulumi.Output[_builtins.str]:
710
711
  """
711
712
  The ID of the Kubernetes cluster to which the node pool is associated.
712
713
  """
713
714
  return pulumi.get(self, "cluster_id")
714
715
 
715
- @property
716
+ @_builtins.property
716
717
  @pulumi.getter
717
- def labels(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
718
+ def labels(self) -> pulumi.Output[Optional[Mapping[str, _builtins.str]]]:
718
719
  """
719
720
  A map of key/value pairs to apply to nodes in the pool. The labels are exposed in the Kubernetes API as labels in the metadata of the corresponding [Node resources](https://kubernetes.io/docs/concepts/architecture/nodes/).
720
721
  """
721
722
  return pulumi.get(self, "labels")
722
723
 
723
- @property
724
+ @_builtins.property
724
725
  @pulumi.getter(name="maxNodes")
725
- def max_nodes(self) -> pulumi.Output[Optional[int]]:
726
+ def max_nodes(self) -> pulumi.Output[Optional[_builtins.int]]:
726
727
  """
727
728
  If auto-scaling is enabled, this represents the maximum number of nodes that the node pool can be scaled up to.
728
729
  """
729
730
  return pulumi.get(self, "max_nodes")
730
731
 
731
- @property
732
+ @_builtins.property
732
733
  @pulumi.getter(name="minNodes")
733
- def min_nodes(self) -> pulumi.Output[Optional[int]]:
734
+ def min_nodes(self) -> pulumi.Output[Optional[_builtins.int]]:
734
735
  """
735
736
  If auto-scaling is enabled, this represents the minimum number of nodes that the node pool can be scaled down to.
736
737
  """
737
738
  return pulumi.get(self, "min_nodes")
738
739
 
739
- @property
740
+ @_builtins.property
740
741
  @pulumi.getter
741
- def name(self) -> pulumi.Output[str]:
742
+ def name(self) -> pulumi.Output[_builtins.str]:
742
743
  """
743
744
  A name for the node pool.
744
745
  """
745
746
  return pulumi.get(self, "name")
746
747
 
747
- @property
748
+ @_builtins.property
748
749
  @pulumi.getter(name="nodeCount")
749
- def node_count(self) -> pulumi.Output[Optional[int]]:
750
+ def node_count(self) -> pulumi.Output[Optional[_builtins.int]]:
750
751
  """
751
752
  The number of Droplet instances in the node pool. If auto-scaling is enabled, this should only be set if the desired result is to explicitly reset the number of nodes to this value. If auto-scaling is enabled, and the node count is outside of the given min/max range, it will use the min nodes value.
752
753
  """
753
754
  return pulumi.get(self, "node_count")
754
755
 
755
- @property
756
+ @_builtins.property
756
757
  @pulumi.getter
757
758
  def nodes(self) -> pulumi.Output[Sequence['outputs.KubernetesNodePoolNode']]:
758
759
  """
@@ -760,23 +761,23 @@ class KubernetesNodePool(pulumi.CustomResource):
760
761
  """
761
762
  return pulumi.get(self, "nodes")
762
763
 
763
- @property
764
+ @_builtins.property
764
765
  @pulumi.getter
765
- def size(self) -> pulumi.Output[str]:
766
+ def size(self) -> pulumi.Output[_builtins.str]:
766
767
  """
767
768
  The slug identifier for the type of Droplet to be used as workers in the node pool.
768
769
  """
769
770
  return pulumi.get(self, "size")
770
771
 
771
- @property
772
+ @_builtins.property
772
773
  @pulumi.getter
773
- def tags(self) -> pulumi.Output[Optional[Sequence[str]]]:
774
+ def tags(self) -> pulumi.Output[Optional[Sequence[_builtins.str]]]:
774
775
  """
775
776
  A list of tag names to be applied to the Kubernetes cluster.
776
777
  """
777
778
  return pulumi.get(self, "tags")
778
779
 
779
- @property
780
+ @_builtins.property
780
781
  @pulumi.getter
781
782
  def taints(self) -> pulumi.Output[Optional[Sequence['outputs.KubernetesNodePoolTaint']]]:
782
783
  """