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

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

Potentially problematic release.


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

Files changed (111) hide show
  1. pulumi_digitalocean/__init__.py +21 -0
  2. pulumi_digitalocean/_enums.py +10 -8
  3. pulumi_digitalocean/_inputs.py +2936 -2693
  4. pulumi_digitalocean/app.py +64 -63
  5. pulumi_digitalocean/cdn.py +85 -84
  6. pulumi_digitalocean/certificate.py +111 -110
  7. pulumi_digitalocean/config/__init__.py +1 -0
  8. pulumi_digitalocean/config/__init__.pyi +1 -0
  9. pulumi_digitalocean/config/vars.py +1 -0
  10. pulumi_digitalocean/container_registry.py +71 -70
  11. pulumi_digitalocean/container_registry_docker_credentials.py +57 -56
  12. pulumi_digitalocean/custom_image.py +141 -140
  13. pulumi_digitalocean/database_cluster.py +274 -273
  14. pulumi_digitalocean/database_connection_pool.py +127 -126
  15. pulumi_digitalocean/database_db.py +29 -28
  16. pulumi_digitalocean/database_firewall.py +15 -14
  17. pulumi_digitalocean/database_kafka_config.py +253 -252
  18. pulumi_digitalocean/database_kafka_topic.py +64 -63
  19. pulumi_digitalocean/database_mongodb_config.py +85 -84
  20. pulumi_digitalocean/database_mysql_config.py +393 -392
  21. pulumi_digitalocean/database_opensearch_config.py +547 -546
  22. pulumi_digitalocean/database_postgresql_config.py +701 -700
  23. pulumi_digitalocean/database_redis_config.py +169 -168
  24. pulumi_digitalocean/database_replica.py +158 -157
  25. pulumi_digitalocean/database_user.py +71 -70
  26. pulumi_digitalocean/dns_record.py +148 -147
  27. pulumi_digitalocean/domain.py +43 -42
  28. pulumi_digitalocean/droplet.py +312 -311
  29. pulumi_digitalocean/droplet_autoscale.py +36 -35
  30. pulumi_digitalocean/droplet_snapshot.py +57 -56
  31. pulumi_digitalocean/firewall.py +57 -56
  32. pulumi_digitalocean/floating_ip.py +50 -49
  33. pulumi_digitalocean/floating_ip_assignment.py +29 -28
  34. pulumi_digitalocean/get_account.py +9 -8
  35. pulumi_digitalocean/get_app.py +15 -14
  36. pulumi_digitalocean/get_certificate.py +13 -12
  37. pulumi_digitalocean/get_container_registry.py +13 -12
  38. pulumi_digitalocean/get_database_ca.py +8 -7
  39. pulumi_digitalocean/get_database_cluster.py +33 -32
  40. pulumi_digitalocean/get_database_connection_pool.py +22 -21
  41. pulumi_digitalocean/get_database_replica.py +29 -28
  42. pulumi_digitalocean/get_database_user.py +17 -16
  43. pulumi_digitalocean/get_domain.py +10 -9
  44. pulumi_digitalocean/get_domains.py +2 -1
  45. pulumi_digitalocean/get_droplet.py +44 -43
  46. pulumi_digitalocean/get_droplet_autoscale.py +14 -13
  47. pulumi_digitalocean/get_droplet_snapshot.py +27 -26
  48. pulumi_digitalocean/get_droplets.py +7 -6
  49. pulumi_digitalocean/get_firewall.py +20 -19
  50. pulumi_digitalocean/get_floating_ip.py +10 -9
  51. pulumi_digitalocean/get_image.py +33 -32
  52. pulumi_digitalocean/get_images.py +2 -1
  53. pulumi_digitalocean/get_kubernetes_cluster.py +45 -29
  54. pulumi_digitalocean/get_kubernetes_versions.py +9 -8
  55. pulumi_digitalocean/get_load_balancer.py +31 -30
  56. pulumi_digitalocean/get_partner_attachment.py +170 -0
  57. pulumi_digitalocean/get_project.py +20 -19
  58. pulumi_digitalocean/get_projects.py +2 -1
  59. pulumi_digitalocean/get_record.py +20 -19
  60. pulumi_digitalocean/get_records.py +7 -6
  61. pulumi_digitalocean/get_region.py +11 -10
  62. pulumi_digitalocean/get_regions.py +2 -1
  63. pulumi_digitalocean/get_reserved_ip.py +10 -9
  64. pulumi_digitalocean/get_reserved_ipv6.py +10 -9
  65. pulumi_digitalocean/get_sizes.py +2 -1
  66. pulumi_digitalocean/get_spaces_bucket.py +15 -14
  67. pulumi_digitalocean/get_spaces_bucket_object.py +38 -37
  68. pulumi_digitalocean/get_spaces_bucket_objects.py +35 -34
  69. pulumi_digitalocean/get_spaces_buckets.py +2 -1
  70. pulumi_digitalocean/get_spaces_key.py +158 -0
  71. pulumi_digitalocean/get_ssh_key.py +9 -8
  72. pulumi_digitalocean/get_ssh_keys.py +2 -1
  73. pulumi_digitalocean/get_tag.py +13 -12
  74. pulumi_digitalocean/get_tags.py +2 -1
  75. pulumi_digitalocean/get_volume.py +23 -22
  76. pulumi_digitalocean/get_volume_snapshot.py +28 -27
  77. pulumi_digitalocean/get_vpc.py +21 -20
  78. pulumi_digitalocean/get_vpc_peering.py +18 -17
  79. pulumi_digitalocean/kubernetes_cluster.py +272 -238
  80. pulumi_digitalocean/kubernetes_node_pool.py +134 -133
  81. pulumi_digitalocean/load_balancer.py +277 -276
  82. pulumi_digitalocean/monitor_alert.py +120 -119
  83. pulumi_digitalocean/outputs.py +3185 -2989
  84. pulumi_digitalocean/partner_attachment.py +433 -0
  85. pulumi_digitalocean/project.py +113 -112
  86. pulumi_digitalocean/project_resources.py +29 -28
  87. pulumi_digitalocean/provider.py +69 -68
  88. pulumi_digitalocean/pulumi-plugin.json +1 -1
  89. pulumi_digitalocean/reserved_ip.py +50 -49
  90. pulumi_digitalocean/reserved_ip_assignment.py +29 -28
  91. pulumi_digitalocean/reserved_ipv6.py +44 -43
  92. pulumi_digitalocean/reserved_ipv6_assignment.py +29 -28
  93. pulumi_digitalocean/spaces_bucket.py +78 -77
  94. pulumi_digitalocean/spaces_bucket_cors_configuration.py +29 -28
  95. pulumi_digitalocean/spaces_bucket_object.py +232 -231
  96. pulumi_digitalocean/spaces_bucket_policy.py +43 -42
  97. pulumi_digitalocean/spaces_key.py +388 -0
  98. pulumi_digitalocean/ssh_key.py +36 -35
  99. pulumi_digitalocean/tag.py +57 -56
  100. pulumi_digitalocean/uptime_alert.py +85 -84
  101. pulumi_digitalocean/uptime_check.py +71 -70
  102. pulumi_digitalocean/volume.py +148 -147
  103. pulumi_digitalocean/volume_attachment.py +29 -28
  104. pulumi_digitalocean/volume_snapshot.py +71 -70
  105. pulumi_digitalocean/vpc.py +78 -77
  106. pulumi_digitalocean/vpc_peering.py +43 -42
  107. {pulumi_digitalocean-4.41.0a1742794810.dist-info → pulumi_digitalocean-4.42.0.dist-info}/METADATA +1 -1
  108. pulumi_digitalocean-4.42.0.dist-info/RECORD +112 -0
  109. {pulumi_digitalocean-4.41.0a1742794810.dist-info → pulumi_digitalocean-4.42.0.dist-info}/WHEEL +1 -1
  110. pulumi_digitalocean-4.41.0a1742794810.dist-info/RECORD +0 -108
  111. {pulumi_digitalocean-4.41.0a1742794810.dist-info → pulumi_digitalocean-4.42.0.dist-info}/top_level.txt +0 -0
@@ -2,6 +2,7 @@
2
2
  # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
+ import builtins
5
6
  import copy
6
7
  import warnings
7
8
  import sys
@@ -57,7 +58,7 @@ class GetSpacesBucketsResult:
57
58
 
58
59
  @property
59
60
  @pulumi.getter
60
- def id(self) -> str:
61
+ def id(self) -> builtins.str:
61
62
  """
62
63
  The provider-assigned unique ID for this managed resource.
63
64
  """
@@ -0,0 +1,158 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import builtins
6
+ import copy
7
+ import warnings
8
+ import sys
9
+ import pulumi
10
+ import pulumi.runtime
11
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
12
+ if sys.version_info >= (3, 11):
13
+ from typing import NotRequired, TypedDict, TypeAlias
14
+ else:
15
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
16
+ from . import _utilities
17
+ from . import outputs
18
+
19
+ __all__ = [
20
+ 'GetSpacesKeyResult',
21
+ 'AwaitableGetSpacesKeyResult',
22
+ 'get_spaces_key',
23
+ 'get_spaces_key_output',
24
+ ]
25
+
26
+ @pulumi.output_type
27
+ class GetSpacesKeyResult:
28
+ """
29
+ A collection of values returned by getSpacesKey.
30
+ """
31
+ def __init__(__self__, access_key=None, created_at=None, grants=None, id=None, name=None):
32
+ if access_key and not isinstance(access_key, str):
33
+ raise TypeError("Expected argument 'access_key' to be a str")
34
+ pulumi.set(__self__, "access_key", access_key)
35
+ if created_at and not isinstance(created_at, str):
36
+ raise TypeError("Expected argument 'created_at' to be a str")
37
+ pulumi.set(__self__, "created_at", created_at)
38
+ if grants and not isinstance(grants, list):
39
+ raise TypeError("Expected argument 'grants' to be a list")
40
+ pulumi.set(__self__, "grants", grants)
41
+ if id and not isinstance(id, str):
42
+ raise TypeError("Expected argument 'id' to be a str")
43
+ pulumi.set(__self__, "id", id)
44
+ if name and not isinstance(name, str):
45
+ raise TypeError("Expected argument 'name' to be a str")
46
+ pulumi.set(__self__, "name", name)
47
+
48
+ @property
49
+ @pulumi.getter(name="accessKey")
50
+ def access_key(self) -> builtins.str:
51
+ """
52
+ The access key ID of the Spaces key
53
+ """
54
+ return pulumi.get(self, "access_key")
55
+
56
+ @property
57
+ @pulumi.getter(name="createdAt")
58
+ def created_at(self) -> builtins.str:
59
+ """
60
+ The creation time of the Spaces key
61
+ """
62
+ return pulumi.get(self, "created_at")
63
+
64
+ @property
65
+ @pulumi.getter
66
+ def grants(self) -> Sequence['outputs.GetSpacesKeyGrantResult']:
67
+ """
68
+ The list of grants associated with the Spaces key.
69
+ """
70
+ return pulumi.get(self, "grants")
71
+
72
+ @property
73
+ @pulumi.getter
74
+ def id(self) -> builtins.str:
75
+ """
76
+ The provider-assigned unique ID for this managed resource.
77
+ """
78
+ return pulumi.get(self, "id")
79
+
80
+ @property
81
+ @pulumi.getter
82
+ def name(self) -> builtins.str:
83
+ """
84
+ The name of the Spaces key
85
+ """
86
+ return pulumi.get(self, "name")
87
+
88
+
89
+ class AwaitableGetSpacesKeyResult(GetSpacesKeyResult):
90
+ # pylint: disable=using-constant-test
91
+ def __await__(self):
92
+ if False:
93
+ yield self
94
+ return GetSpacesKeyResult(
95
+ access_key=self.access_key,
96
+ created_at=self.created_at,
97
+ grants=self.grants,
98
+ id=self.id,
99
+ name=self.name)
100
+
101
+
102
+ def get_spaces_key(access_key: Optional[builtins.str] = None,
103
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSpacesKeyResult:
104
+ """
105
+ ## Example Usage
106
+
107
+ Get the key by access key ID:
108
+
109
+ ```python
110
+ import pulumi
111
+ import pulumi_digitalocean as digitalocean
112
+
113
+ example = digitalocean.get_spaces_key(access_key="ACCESS_KEY_ID")
114
+ pulumi.export("keyGrants", example.grants)
115
+ ```
116
+
117
+
118
+ :param builtins.str access_key: The Access Key ID of the Spaces key.
119
+ """
120
+ __args__ = dict()
121
+ __args__['accessKey'] = access_key
122
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
123
+ __ret__ = pulumi.runtime.invoke('digitalocean:index/getSpacesKey:getSpacesKey', __args__, opts=opts, typ=GetSpacesKeyResult).value
124
+
125
+ return AwaitableGetSpacesKeyResult(
126
+ access_key=pulumi.get(__ret__, 'access_key'),
127
+ created_at=pulumi.get(__ret__, 'created_at'),
128
+ grants=pulumi.get(__ret__, 'grants'),
129
+ id=pulumi.get(__ret__, 'id'),
130
+ name=pulumi.get(__ret__, 'name'))
131
+ def get_spaces_key_output(access_key: Optional[pulumi.Input[builtins.str]] = None,
132
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetSpacesKeyResult]:
133
+ """
134
+ ## Example Usage
135
+
136
+ Get the key by access key ID:
137
+
138
+ ```python
139
+ import pulumi
140
+ import pulumi_digitalocean as digitalocean
141
+
142
+ example = digitalocean.get_spaces_key(access_key="ACCESS_KEY_ID")
143
+ pulumi.export("keyGrants", example.grants)
144
+ ```
145
+
146
+
147
+ :param builtins.str access_key: The Access Key ID of the Spaces key.
148
+ """
149
+ __args__ = dict()
150
+ __args__['accessKey'] = access_key
151
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
152
+ __ret__ = pulumi.runtime.invoke_output('digitalocean:index/getSpacesKey:getSpacesKey', __args__, opts=opts, typ=GetSpacesKeyResult)
153
+ return __ret__.apply(lambda __response__: GetSpacesKeyResult(
154
+ access_key=pulumi.get(__response__, 'access_key'),
155
+ created_at=pulumi.get(__response__, 'created_at'),
156
+ grants=pulumi.get(__response__, 'grants'),
157
+ id=pulumi.get(__response__, 'id'),
158
+ name=pulumi.get(__response__, 'name')))
@@ -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
@@ -42,7 +43,7 @@ class GetSshKeyResult:
42
43
 
43
44
  @property
44
45
  @pulumi.getter
45
- def fingerprint(self) -> str:
46
+ def fingerprint(self) -> builtins.str:
46
47
  """
47
48
  The fingerprint of the public key of the ssh key.
48
49
  """
@@ -50,7 +51,7 @@ class GetSshKeyResult:
50
51
 
51
52
  @property
52
53
  @pulumi.getter
53
- def id(self) -> int:
54
+ def id(self) -> builtins.int:
54
55
  """
55
56
  The ID of the ssh key.
56
57
  """
@@ -58,12 +59,12 @@ class GetSshKeyResult:
58
59
 
59
60
  @property
60
61
  @pulumi.getter
61
- def name(self) -> str:
62
+ def name(self) -> builtins.str:
62
63
  return pulumi.get(self, "name")
63
64
 
64
65
  @property
65
66
  @pulumi.getter(name="publicKey")
66
- def public_key(self) -> str:
67
+ def public_key(self) -> builtins.str:
67
68
  """
68
69
  The public key of the ssh key.
69
70
  """
@@ -82,7 +83,7 @@ class AwaitableGetSshKeyResult(GetSshKeyResult):
82
83
  public_key=self.public_key)
83
84
 
84
85
 
85
- def get_ssh_key(name: Optional[str] = None,
86
+ def get_ssh_key(name: Optional[builtins.str] = None,
86
87
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSshKeyResult:
87
88
  """
88
89
  Get information on a ssh key. This data source provides the name, public key,
@@ -110,7 +111,7 @@ def get_ssh_key(name: Optional[str] = None,
110
111
  ```
111
112
 
112
113
 
113
- :param str name: The name of the ssh key.
114
+ :param builtins.str name: The name of the ssh key.
114
115
  """
115
116
  __args__ = dict()
116
117
  __args__['name'] = name
@@ -122,7 +123,7 @@ def get_ssh_key(name: Optional[str] = None,
122
123
  id=pulumi.get(__ret__, 'id'),
123
124
  name=pulumi.get(__ret__, 'name'),
124
125
  public_key=pulumi.get(__ret__, 'public_key'))
125
- def get_ssh_key_output(name: Optional[pulumi.Input[str]] = None,
126
+ def get_ssh_key_output(name: Optional[pulumi.Input[builtins.str]] = None,
126
127
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetSshKeyResult]:
127
128
  """
128
129
  Get information on a ssh key. This data source provides the name, public key,
@@ -150,7 +151,7 @@ def get_ssh_key_output(name: Optional[pulumi.Input[str]] = None,
150
151
  ```
151
152
 
152
153
 
153
- :param str name: The name of the ssh key.
154
+ :param builtins.str name: The name of the ssh key.
154
155
  """
155
156
  __args__ = dict()
156
157
  __args__['name'] = name
@@ -2,6 +2,7 @@
2
2
  # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
+ import builtins
5
6
  import copy
6
7
  import warnings
7
8
  import sys
@@ -49,7 +50,7 @@ class GetSshKeysResult:
49
50
 
50
51
  @property
51
52
  @pulumi.getter
52
- def id(self) -> str:
53
+ def id(self) -> builtins.str:
53
54
  """
54
55
  The provider-assigned unique ID for this managed resource.
55
56
  """
@@ -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
@@ -54,7 +55,7 @@ class GetTagResult:
54
55
 
55
56
  @property
56
57
  @pulumi.getter(name="databasesCount")
57
- def databases_count(self) -> int:
58
+ def databases_count(self) -> builtins.int:
58
59
  """
59
60
  A count of the database clusters that the tag is applied to.
60
61
  """
@@ -62,7 +63,7 @@ class GetTagResult:
62
63
 
63
64
  @property
64
65
  @pulumi.getter(name="dropletsCount")
65
- def droplets_count(self) -> int:
66
+ def droplets_count(self) -> builtins.int:
66
67
  """
67
68
  A count of the Droplets the tag is applied to.
68
69
  """
@@ -70,7 +71,7 @@ class GetTagResult:
70
71
 
71
72
  @property
72
73
  @pulumi.getter
73
- def id(self) -> str:
74
+ def id(self) -> builtins.str:
74
75
  """
75
76
  The provider-assigned unique ID for this managed resource.
76
77
  """
@@ -78,7 +79,7 @@ class GetTagResult:
78
79
 
79
80
  @property
80
81
  @pulumi.getter(name="imagesCount")
81
- def images_count(self) -> int:
82
+ def images_count(self) -> builtins.int:
82
83
  """
83
84
  A count of the images that the tag is applied to.
84
85
  """
@@ -86,12 +87,12 @@ class GetTagResult:
86
87
 
87
88
  @property
88
89
  @pulumi.getter
89
- def name(self) -> str:
90
+ def name(self) -> builtins.str:
90
91
  return pulumi.get(self, "name")
91
92
 
92
93
  @property
93
94
  @pulumi.getter(name="totalResourceCount")
94
- def total_resource_count(self) -> int:
95
+ def total_resource_count(self) -> builtins.int:
95
96
  """
96
97
  A count of the total number of resources that the tag is applied to.
97
98
  """
@@ -99,7 +100,7 @@ class GetTagResult:
99
100
 
100
101
  @property
101
102
  @pulumi.getter(name="volumeSnapshotsCount")
102
- def volume_snapshots_count(self) -> int:
103
+ def volume_snapshots_count(self) -> builtins.int:
103
104
  """
104
105
  A count of the volume snapshots that the tag is applied to.
105
106
  """
@@ -107,7 +108,7 @@ class GetTagResult:
107
108
 
108
109
  @property
109
110
  @pulumi.getter(name="volumesCount")
110
- def volumes_count(self) -> int:
111
+ def volumes_count(self) -> builtins.int:
111
112
  """
112
113
  A count of the volumes that the tag is applied to.
113
114
  """
@@ -130,7 +131,7 @@ class AwaitableGetTagResult(GetTagResult):
130
131
  volumes_count=self.volumes_count)
131
132
 
132
133
 
133
- def get_tag(name: Optional[str] = None,
134
+ def get_tag(name: Optional[builtins.str] = None,
134
135
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetTagResult:
135
136
  """
136
137
  Get information on a tag. This data source provides the name as configured on
@@ -157,7 +158,7 @@ def get_tag(name: Optional[str] = None,
157
158
  ```
158
159
 
159
160
 
160
- :param str name: The name of the tag.
161
+ :param builtins.str name: The name of the tag.
161
162
  """
162
163
  __args__ = dict()
163
164
  __args__['name'] = name
@@ -173,7 +174,7 @@ def get_tag(name: Optional[str] = None,
173
174
  total_resource_count=pulumi.get(__ret__, 'total_resource_count'),
174
175
  volume_snapshots_count=pulumi.get(__ret__, 'volume_snapshots_count'),
175
176
  volumes_count=pulumi.get(__ret__, 'volumes_count'))
176
- def get_tag_output(name: Optional[pulumi.Input[str]] = None,
177
+ def get_tag_output(name: Optional[pulumi.Input[builtins.str]] = None,
177
178
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetTagResult]:
178
179
  """
179
180
  Get information on a tag. This data source provides the name as configured on
@@ -200,7 +201,7 @@ def get_tag_output(name: Optional[pulumi.Input[str]] = None,
200
201
  ```
201
202
 
202
203
 
203
- :param str name: The name of the tag.
204
+ :param builtins.str name: The name of the tag.
204
205
  """
205
206
  __args__ = dict()
206
207
  __args__['name'] = name
@@ -2,6 +2,7 @@
2
2
  # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
+ import builtins
5
6
  import copy
6
7
  import warnings
7
8
  import sys
@@ -49,7 +50,7 @@ class GetTagsResult:
49
50
 
50
51
  @property
51
52
  @pulumi.getter
52
- def id(self) -> str:
53
+ def id(self) -> builtins.str:
53
54
  """
54
55
  The provider-assigned unique ID for this managed resource.
55
56
  """
@@ -2,6 +2,7 @@
2
2
  # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
+ import builtins
5
6
  import copy
6
7
  import warnings
7
8
  import sys
@@ -60,7 +61,7 @@ class GetVolumeResult:
60
61
 
61
62
  @property
62
63
  @pulumi.getter
63
- def description(self) -> Optional[str]:
64
+ def description(self) -> Optional[builtins.str]:
64
65
  """
65
66
  Text describing a block storage volume.
66
67
  """
@@ -68,7 +69,7 @@ class GetVolumeResult:
68
69
 
69
70
  @property
70
71
  @pulumi.getter(name="dropletIds")
71
- def droplet_ids(self) -> Sequence[int]:
72
+ def droplet_ids(self) -> Sequence[builtins.int]:
72
73
  """
73
74
  A list of associated Droplet ids.
74
75
  """
@@ -76,7 +77,7 @@ class GetVolumeResult:
76
77
 
77
78
  @property
78
79
  @pulumi.getter(name="filesystemLabel")
79
- def filesystem_label(self) -> str:
80
+ def filesystem_label(self) -> builtins.str:
80
81
  """
81
82
  Filesystem label currently in-use on the block storage volume.
82
83
  """
@@ -84,7 +85,7 @@ class GetVolumeResult:
84
85
 
85
86
  @property
86
87
  @pulumi.getter(name="filesystemType")
87
- def filesystem_type(self) -> str:
88
+ def filesystem_type(self) -> builtins.str:
88
89
  """
89
90
  Filesystem type currently in-use on the block storage volume.
90
91
  """
@@ -92,7 +93,7 @@ class GetVolumeResult:
92
93
 
93
94
  @property
94
95
  @pulumi.getter
95
- def id(self) -> str:
96
+ def id(self) -> builtins.str:
96
97
  """
97
98
  The provider-assigned unique ID for this managed resource.
98
99
  """
@@ -100,17 +101,17 @@ class GetVolumeResult:
100
101
 
101
102
  @property
102
103
  @pulumi.getter
103
- def name(self) -> str:
104
+ def name(self) -> builtins.str:
104
105
  return pulumi.get(self, "name")
105
106
 
106
107
  @property
107
108
  @pulumi.getter
108
- def region(self) -> Optional[str]:
109
+ def region(self) -> Optional[builtins.str]:
109
110
  return pulumi.get(self, "region")
110
111
 
111
112
  @property
112
113
  @pulumi.getter
113
- def size(self) -> int:
114
+ def size(self) -> builtins.int:
114
115
  """
115
116
  The size of the block storage volume in GiB.
116
117
  """
@@ -118,7 +119,7 @@ class GetVolumeResult:
118
119
 
119
120
  @property
120
121
  @pulumi.getter
121
- def tags(self) -> Sequence[str]:
122
+ def tags(self) -> Sequence[builtins.str]:
122
123
  """
123
124
  A list of the tags associated to the Volume.
124
125
  """
@@ -126,7 +127,7 @@ class GetVolumeResult:
126
127
 
127
128
  @property
128
129
  @pulumi.getter
129
- def urn(self) -> str:
130
+ def urn(self) -> builtins.str:
130
131
  """
131
132
  The uniform resource name for the storage volume.
132
133
  """
@@ -151,9 +152,9 @@ class AwaitableGetVolumeResult(GetVolumeResult):
151
152
  urn=self.urn)
152
153
 
153
154
 
154
- def get_volume(description: Optional[str] = None,
155
- name: Optional[str] = None,
156
- region: Optional[str] = None,
155
+ def get_volume(description: Optional[builtins.str] = None,
156
+ name: Optional[builtins.str] = None,
157
+ region: Optional[builtins.str] = None,
157
158
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetVolumeResult:
158
159
  """
159
160
  Get information on a volume for use in other resources. This data source provides
@@ -194,9 +195,9 @@ def get_volume(description: Optional[str] = None,
194
195
  ```
195
196
 
196
197
 
197
- :param str description: Text describing a block storage volume.
198
- :param str name: The name of block storage volume.
199
- :param str region: The region the block storage volume is provisioned in.
198
+ :param builtins.str description: Text describing a block storage volume.
199
+ :param builtins.str name: The name of block storage volume.
200
+ :param builtins.str region: The region the block storage volume is provisioned in.
200
201
  """
201
202
  __args__ = dict()
202
203
  __args__['description'] = description
@@ -216,9 +217,9 @@ def get_volume(description: Optional[str] = None,
216
217
  size=pulumi.get(__ret__, 'size'),
217
218
  tags=pulumi.get(__ret__, 'tags'),
218
219
  urn=pulumi.get(__ret__, 'urn'))
219
- def get_volume_output(description: Optional[pulumi.Input[Optional[str]]] = None,
220
- name: Optional[pulumi.Input[str]] = None,
221
- region: Optional[pulumi.Input[Optional[str]]] = None,
220
+ def get_volume_output(description: Optional[pulumi.Input[Optional[builtins.str]]] = None,
221
+ name: Optional[pulumi.Input[builtins.str]] = None,
222
+ region: Optional[pulumi.Input[Optional[builtins.str]]] = None,
222
223
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetVolumeResult]:
223
224
  """
224
225
  Get information on a volume for use in other resources. This data source provides
@@ -259,9 +260,9 @@ def get_volume_output(description: Optional[pulumi.Input[Optional[str]]] = None,
259
260
  ```
260
261
 
261
262
 
262
- :param str description: Text describing a block storage volume.
263
- :param str name: The name of block storage volume.
264
- :param str region: The region the block storage volume is provisioned in.
263
+ :param builtins.str description: Text describing a block storage volume.
264
+ :param builtins.str name: The name of block storage volume.
265
+ :param builtins.str region: The region the block storage volume is provisioned in.
265
266
  """
266
267
  __args__ = dict()
267
268
  __args__['description'] = description