pulumi-digitalocean 4.42.0a1743572464__py3-none-any.whl → 4.42.0a1744183362__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.
- pulumi_digitalocean/__init__.py +1 -0
- pulumi_digitalocean/_enums.py +10 -8
- pulumi_digitalocean/_inputs.py +2714 -2713
- pulumi_digitalocean/app.py +64 -63
- pulumi_digitalocean/cdn.py +85 -84
- pulumi_digitalocean/certificate.py +111 -110
- pulumi_digitalocean/config/__init__.py +1 -0
- pulumi_digitalocean/config/__init__.pyi +1 -0
- pulumi_digitalocean/config/vars.py +1 -0
- pulumi_digitalocean/container_registry.py +71 -70
- pulumi_digitalocean/container_registry_docker_credentials.py +57 -56
- pulumi_digitalocean/custom_image.py +141 -140
- pulumi_digitalocean/database_cluster.py +274 -273
- pulumi_digitalocean/database_connection_pool.py +127 -126
- pulumi_digitalocean/database_db.py +29 -28
- pulumi_digitalocean/database_firewall.py +15 -14
- pulumi_digitalocean/database_kafka_config.py +253 -252
- pulumi_digitalocean/database_kafka_topic.py +64 -63
- pulumi_digitalocean/database_mongodb_config.py +85 -84
- pulumi_digitalocean/database_mysql_config.py +393 -392
- pulumi_digitalocean/database_opensearch_config.py +547 -546
- pulumi_digitalocean/database_postgresql_config.py +701 -700
- pulumi_digitalocean/database_redis_config.py +169 -168
- pulumi_digitalocean/database_replica.py +158 -157
- pulumi_digitalocean/database_user.py +71 -70
- pulumi_digitalocean/dns_record.py +148 -147
- pulumi_digitalocean/domain.py +43 -42
- pulumi_digitalocean/droplet.py +312 -311
- pulumi_digitalocean/droplet_autoscale.py +36 -35
- pulumi_digitalocean/droplet_snapshot.py +57 -56
- pulumi_digitalocean/firewall.py +57 -56
- pulumi_digitalocean/floating_ip.py +50 -49
- pulumi_digitalocean/floating_ip_assignment.py +29 -28
- pulumi_digitalocean/get_account.py +9 -8
- pulumi_digitalocean/get_app.py +15 -14
- pulumi_digitalocean/get_certificate.py +13 -12
- pulumi_digitalocean/get_container_registry.py +13 -12
- pulumi_digitalocean/get_database_ca.py +8 -7
- pulumi_digitalocean/get_database_cluster.py +33 -32
- pulumi_digitalocean/get_database_connection_pool.py +22 -21
- pulumi_digitalocean/get_database_replica.py +29 -28
- pulumi_digitalocean/get_database_user.py +17 -16
- pulumi_digitalocean/get_domain.py +10 -9
- pulumi_digitalocean/get_domains.py +2 -1
- pulumi_digitalocean/get_droplet.py +44 -43
- pulumi_digitalocean/get_droplet_autoscale.py +14 -13
- pulumi_digitalocean/get_droplet_snapshot.py +27 -26
- pulumi_digitalocean/get_droplets.py +7 -6
- pulumi_digitalocean/get_firewall.py +20 -19
- pulumi_digitalocean/get_floating_ip.py +10 -9
- pulumi_digitalocean/get_image.py +33 -32
- pulumi_digitalocean/get_images.py +2 -1
- pulumi_digitalocean/get_kubernetes_cluster.py +29 -28
- pulumi_digitalocean/get_kubernetes_versions.py +9 -8
- pulumi_digitalocean/get_load_balancer.py +31 -30
- pulumi_digitalocean/get_project.py +20 -19
- pulumi_digitalocean/get_projects.py +2 -1
- pulumi_digitalocean/get_record.py +20 -19
- pulumi_digitalocean/get_records.py +7 -6
- pulumi_digitalocean/get_region.py +11 -10
- pulumi_digitalocean/get_regions.py +2 -1
- pulumi_digitalocean/get_reserved_ip.py +10 -9
- pulumi_digitalocean/get_reserved_ipv6.py +10 -9
- pulumi_digitalocean/get_sizes.py +2 -1
- pulumi_digitalocean/get_spaces_bucket.py +15 -14
- pulumi_digitalocean/get_spaces_bucket_object.py +38 -37
- pulumi_digitalocean/get_spaces_bucket_objects.py +35 -34
- pulumi_digitalocean/get_spaces_buckets.py +2 -1
- pulumi_digitalocean/get_spaces_key.py +9 -8
- pulumi_digitalocean/get_ssh_key.py +9 -8
- pulumi_digitalocean/get_ssh_keys.py +2 -1
- pulumi_digitalocean/get_tag.py +13 -12
- pulumi_digitalocean/get_tags.py +2 -1
- pulumi_digitalocean/get_volume.py +23 -22
- pulumi_digitalocean/get_volume_snapshot.py +28 -27
- pulumi_digitalocean/get_vpc.py +21 -20
- pulumi_digitalocean/get_vpc_peering.py +18 -17
- pulumi_digitalocean/kubernetes_cluster.py +225 -224
- pulumi_digitalocean/kubernetes_node_pool.py +134 -133
- pulumi_digitalocean/load_balancer.py +277 -276
- pulumi_digitalocean/monitor_alert.py +120 -119
- pulumi_digitalocean/outputs.py +3008 -3007
- pulumi_digitalocean/project.py +113 -112
- pulumi_digitalocean/project_resources.py +29 -28
- pulumi_digitalocean/provider.py +69 -68
- pulumi_digitalocean/pulumi-plugin.json +1 -1
- pulumi_digitalocean/reserved_ip.py +50 -49
- pulumi_digitalocean/reserved_ip_assignment.py +29 -28
- pulumi_digitalocean/reserved_ipv6.py +44 -43
- pulumi_digitalocean/reserved_ipv6_assignment.py +29 -28
- pulumi_digitalocean/spaces_bucket.py +78 -77
- pulumi_digitalocean/spaces_bucket_cors_configuration.py +29 -28
- pulumi_digitalocean/spaces_bucket_object.py +232 -231
- pulumi_digitalocean/spaces_bucket_policy.py +43 -42
- pulumi_digitalocean/spaces_key.py +36 -35
- pulumi_digitalocean/ssh_key.py +36 -35
- pulumi_digitalocean/tag.py +57 -56
- pulumi_digitalocean/uptime_alert.py +85 -84
- pulumi_digitalocean/uptime_check.py +71 -70
- pulumi_digitalocean/volume.py +148 -147
- pulumi_digitalocean/volume_attachment.py +29 -28
- pulumi_digitalocean/volume_snapshot.py +71 -70
- pulumi_digitalocean/vpc.py +78 -77
- pulumi_digitalocean/vpc_peering.py +43 -42
- {pulumi_digitalocean-4.42.0a1743572464.dist-info → pulumi_digitalocean-4.42.0a1744183362.dist-info}/METADATA +1 -1
- pulumi_digitalocean-4.42.0a1744183362.dist-info/RECORD +110 -0
- pulumi_digitalocean-4.42.0a1743572464.dist-info/RECORD +0 -110
- {pulumi_digitalocean-4.42.0a1743572464.dist-info → pulumi_digitalocean-4.42.0a1744183362.dist-info}/WHEEL +0 -0
- {pulumi_digitalocean-4.42.0a1743572464.dist-info → pulumi_digitalocean-4.42.0a1744183362.dist-info}/top_level.txt +0 -0
pulumi_digitalocean/volume.py
CHANGED
|
@@ -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
|
|
@@ -20,26 +21,26 @@ __all__ = ['VolumeArgs', 'Volume']
|
|
|
20
21
|
@pulumi.input_type
|
|
21
22
|
class VolumeArgs:
|
|
22
23
|
def __init__(__self__, *,
|
|
23
|
-
region: pulumi.Input[Union[str, 'Region']],
|
|
24
|
-
size: pulumi.Input[int],
|
|
25
|
-
description: Optional[pulumi.Input[str]] = None,
|
|
26
|
-
filesystem_type: Optional[pulumi.Input[str]] = None,
|
|
27
|
-
initial_filesystem_label: Optional[pulumi.Input[str]] = None,
|
|
28
|
-
initial_filesystem_type: Optional[pulumi.Input[Union[str, 'FileSystemType']]] = None,
|
|
29
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
30
|
-
snapshot_id: Optional[pulumi.Input[str]] = None,
|
|
31
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
|
24
|
+
region: pulumi.Input[Union[builtins.str, 'Region']],
|
|
25
|
+
size: pulumi.Input[builtins.int],
|
|
26
|
+
description: Optional[pulumi.Input[builtins.str]] = None,
|
|
27
|
+
filesystem_type: Optional[pulumi.Input[builtins.str]] = None,
|
|
28
|
+
initial_filesystem_label: Optional[pulumi.Input[builtins.str]] = None,
|
|
29
|
+
initial_filesystem_type: Optional[pulumi.Input[Union[builtins.str, 'FileSystemType']]] = None,
|
|
30
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
31
|
+
snapshot_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
32
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None):
|
|
32
33
|
"""
|
|
33
34
|
The set of arguments for constructing a Volume resource.
|
|
34
|
-
:param pulumi.Input[Union[str, 'Region']] region: The region that the block storage volume will be created in.
|
|
35
|
-
:param pulumi.Input[int] size: The size of the block storage volume in GiB. If updated, can only be expanded.
|
|
36
|
-
:param pulumi.Input[str] description: A free-form text field up to a limit of 1024 bytes to describe a block storage volume.
|
|
37
|
-
:param pulumi.Input[str] filesystem_type: Filesystem type (`xfs` or `ext4`) for the block storage volume.
|
|
38
|
-
:param pulumi.Input[str] initial_filesystem_label: Initial filesystem label for the block storage volume.
|
|
39
|
-
:param pulumi.Input[Union[str, 'FileSystemType']] initial_filesystem_type: Initial filesystem type (`xfs` or `ext4`) for the block storage volume.
|
|
40
|
-
:param pulumi.Input[str] name: A name for the block storage volume. Must be lowercase and be composed only of numbers, letters and "-", up to a limit of 64 characters. The name must begin with a letter.
|
|
41
|
-
:param pulumi.Input[str] snapshot_id: The ID of an existing volume snapshot from which the new volume will be created. If supplied, the region and size will be limited on creation to that of the referenced snapshot
|
|
42
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: A list of the tags to be applied to this Volume.
|
|
35
|
+
:param pulumi.Input[Union[builtins.str, 'Region']] region: The region that the block storage volume will be created in.
|
|
36
|
+
:param pulumi.Input[builtins.int] size: The size of the block storage volume in GiB. If updated, can only be expanded.
|
|
37
|
+
:param pulumi.Input[builtins.str] description: A free-form text field up to a limit of 1024 bytes to describe a block storage volume.
|
|
38
|
+
:param pulumi.Input[builtins.str] filesystem_type: Filesystem type (`xfs` or `ext4`) for the block storage volume.
|
|
39
|
+
:param pulumi.Input[builtins.str] initial_filesystem_label: Initial filesystem label for the block storage volume.
|
|
40
|
+
:param pulumi.Input[Union[builtins.str, 'FileSystemType']] initial_filesystem_type: Initial filesystem type (`xfs` or `ext4`) for the block storage volume.
|
|
41
|
+
:param pulumi.Input[builtins.str] name: A name for the block storage volume. Must be lowercase and be composed only of numbers, letters and "-", up to a limit of 64 characters. The name must begin with a letter.
|
|
42
|
+
:param pulumi.Input[builtins.str] snapshot_id: The ID of an existing volume snapshot from which the new volume will be created. If supplied, the region and size will be limited on creation to that of the referenced snapshot
|
|
43
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: A list of the tags to be applied to this Volume.
|
|
43
44
|
"""
|
|
44
45
|
pulumi.set(__self__, "region", region)
|
|
45
46
|
pulumi.set(__self__, "size", size)
|
|
@@ -63,143 +64,143 @@ class VolumeArgs:
|
|
|
63
64
|
|
|
64
65
|
@property
|
|
65
66
|
@pulumi.getter
|
|
66
|
-
def region(self) -> pulumi.Input[Union[str, 'Region']]:
|
|
67
|
+
def region(self) -> pulumi.Input[Union[builtins.str, 'Region']]:
|
|
67
68
|
"""
|
|
68
69
|
The region that the block storage volume will be created in.
|
|
69
70
|
"""
|
|
70
71
|
return pulumi.get(self, "region")
|
|
71
72
|
|
|
72
73
|
@region.setter
|
|
73
|
-
def region(self, value: pulumi.Input[Union[str, 'Region']]):
|
|
74
|
+
def region(self, value: pulumi.Input[Union[builtins.str, 'Region']]):
|
|
74
75
|
pulumi.set(self, "region", value)
|
|
75
76
|
|
|
76
77
|
@property
|
|
77
78
|
@pulumi.getter
|
|
78
|
-
def size(self) -> pulumi.Input[int]:
|
|
79
|
+
def size(self) -> pulumi.Input[builtins.int]:
|
|
79
80
|
"""
|
|
80
81
|
The size of the block storage volume in GiB. If updated, can only be expanded.
|
|
81
82
|
"""
|
|
82
83
|
return pulumi.get(self, "size")
|
|
83
84
|
|
|
84
85
|
@size.setter
|
|
85
|
-
def size(self, value: pulumi.Input[int]):
|
|
86
|
+
def size(self, value: pulumi.Input[builtins.int]):
|
|
86
87
|
pulumi.set(self, "size", value)
|
|
87
88
|
|
|
88
89
|
@property
|
|
89
90
|
@pulumi.getter
|
|
90
|
-
def description(self) -> Optional[pulumi.Input[str]]:
|
|
91
|
+
def description(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
91
92
|
"""
|
|
92
93
|
A free-form text field up to a limit of 1024 bytes to describe a block storage volume.
|
|
93
94
|
"""
|
|
94
95
|
return pulumi.get(self, "description")
|
|
95
96
|
|
|
96
97
|
@description.setter
|
|
97
|
-
def description(self, value: Optional[pulumi.Input[str]]):
|
|
98
|
+
def description(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
98
99
|
pulumi.set(self, "description", value)
|
|
99
100
|
|
|
100
101
|
@property
|
|
101
102
|
@pulumi.getter(name="filesystemType")
|
|
102
103
|
@_utilities.deprecated("""This fields functionality has been replaced by `initial_filesystem_type`. The property will still remain as a computed attribute representing the current volumes filesystem type.""")
|
|
103
|
-
def filesystem_type(self) -> Optional[pulumi.Input[str]]:
|
|
104
|
+
def filesystem_type(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
104
105
|
"""
|
|
105
106
|
Filesystem type (`xfs` or `ext4`) for the block storage volume.
|
|
106
107
|
"""
|
|
107
108
|
return pulumi.get(self, "filesystem_type")
|
|
108
109
|
|
|
109
110
|
@filesystem_type.setter
|
|
110
|
-
def filesystem_type(self, value: Optional[pulumi.Input[str]]):
|
|
111
|
+
def filesystem_type(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
111
112
|
pulumi.set(self, "filesystem_type", value)
|
|
112
113
|
|
|
113
114
|
@property
|
|
114
115
|
@pulumi.getter(name="initialFilesystemLabel")
|
|
115
|
-
def initial_filesystem_label(self) -> Optional[pulumi.Input[str]]:
|
|
116
|
+
def initial_filesystem_label(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
116
117
|
"""
|
|
117
118
|
Initial filesystem label for the block storage volume.
|
|
118
119
|
"""
|
|
119
120
|
return pulumi.get(self, "initial_filesystem_label")
|
|
120
121
|
|
|
121
122
|
@initial_filesystem_label.setter
|
|
122
|
-
def initial_filesystem_label(self, value: Optional[pulumi.Input[str]]):
|
|
123
|
+
def initial_filesystem_label(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
123
124
|
pulumi.set(self, "initial_filesystem_label", value)
|
|
124
125
|
|
|
125
126
|
@property
|
|
126
127
|
@pulumi.getter(name="initialFilesystemType")
|
|
127
|
-
def initial_filesystem_type(self) -> Optional[pulumi.Input[Union[str, 'FileSystemType']]]:
|
|
128
|
+
def initial_filesystem_type(self) -> Optional[pulumi.Input[Union[builtins.str, 'FileSystemType']]]:
|
|
128
129
|
"""
|
|
129
130
|
Initial filesystem type (`xfs` or `ext4`) for the block storage volume.
|
|
130
131
|
"""
|
|
131
132
|
return pulumi.get(self, "initial_filesystem_type")
|
|
132
133
|
|
|
133
134
|
@initial_filesystem_type.setter
|
|
134
|
-
def initial_filesystem_type(self, value: Optional[pulumi.Input[Union[str, 'FileSystemType']]]):
|
|
135
|
+
def initial_filesystem_type(self, value: Optional[pulumi.Input[Union[builtins.str, 'FileSystemType']]]):
|
|
135
136
|
pulumi.set(self, "initial_filesystem_type", value)
|
|
136
137
|
|
|
137
138
|
@property
|
|
138
139
|
@pulumi.getter
|
|
139
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
140
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
140
141
|
"""
|
|
141
142
|
A name for the block storage volume. Must be lowercase and be composed only of numbers, letters and "-", up to a limit of 64 characters. The name must begin with a letter.
|
|
142
143
|
"""
|
|
143
144
|
return pulumi.get(self, "name")
|
|
144
145
|
|
|
145
146
|
@name.setter
|
|
146
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
147
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
147
148
|
pulumi.set(self, "name", value)
|
|
148
149
|
|
|
149
150
|
@property
|
|
150
151
|
@pulumi.getter(name="snapshotId")
|
|
151
|
-
def snapshot_id(self) -> Optional[pulumi.Input[str]]:
|
|
152
|
+
def snapshot_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
152
153
|
"""
|
|
153
154
|
The ID of an existing volume snapshot from which the new volume will be created. If supplied, the region and size will be limited on creation to that of the referenced snapshot
|
|
154
155
|
"""
|
|
155
156
|
return pulumi.get(self, "snapshot_id")
|
|
156
157
|
|
|
157
158
|
@snapshot_id.setter
|
|
158
|
-
def snapshot_id(self, value: Optional[pulumi.Input[str]]):
|
|
159
|
+
def snapshot_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
159
160
|
pulumi.set(self, "snapshot_id", value)
|
|
160
161
|
|
|
161
162
|
@property
|
|
162
163
|
@pulumi.getter
|
|
163
|
-
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
164
|
+
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
164
165
|
"""
|
|
165
166
|
A list of the tags to be applied to this Volume.
|
|
166
167
|
"""
|
|
167
168
|
return pulumi.get(self, "tags")
|
|
168
169
|
|
|
169
170
|
@tags.setter
|
|
170
|
-
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
171
|
+
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
171
172
|
pulumi.set(self, "tags", value)
|
|
172
173
|
|
|
173
174
|
|
|
174
175
|
@pulumi.input_type
|
|
175
176
|
class _VolumeState:
|
|
176
177
|
def __init__(__self__, *,
|
|
177
|
-
description: Optional[pulumi.Input[str]] = None,
|
|
178
|
-
droplet_ids: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None,
|
|
179
|
-
filesystem_label: Optional[pulumi.Input[str]] = None,
|
|
180
|
-
filesystem_type: Optional[pulumi.Input[str]] = None,
|
|
181
|
-
initial_filesystem_label: Optional[pulumi.Input[str]] = None,
|
|
182
|
-
initial_filesystem_type: Optional[pulumi.Input[Union[str, 'FileSystemType']]] = None,
|
|
183
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
184
|
-
region: Optional[pulumi.Input[Union[str, 'Region']]] = None,
|
|
185
|
-
size: Optional[pulumi.Input[int]] = None,
|
|
186
|
-
snapshot_id: Optional[pulumi.Input[str]] = None,
|
|
187
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
188
|
-
volume_urn: Optional[pulumi.Input[str]] = None):
|
|
178
|
+
description: Optional[pulumi.Input[builtins.str]] = None,
|
|
179
|
+
droplet_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.int]]]] = None,
|
|
180
|
+
filesystem_label: Optional[pulumi.Input[builtins.str]] = None,
|
|
181
|
+
filesystem_type: Optional[pulumi.Input[builtins.str]] = None,
|
|
182
|
+
initial_filesystem_label: Optional[pulumi.Input[builtins.str]] = None,
|
|
183
|
+
initial_filesystem_type: Optional[pulumi.Input[Union[builtins.str, 'FileSystemType']]] = None,
|
|
184
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
185
|
+
region: Optional[pulumi.Input[Union[builtins.str, 'Region']]] = None,
|
|
186
|
+
size: Optional[pulumi.Input[builtins.int]] = None,
|
|
187
|
+
snapshot_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
188
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
189
|
+
volume_urn: Optional[pulumi.Input[builtins.str]] = None):
|
|
189
190
|
"""
|
|
190
191
|
Input properties used for looking up and filtering Volume resources.
|
|
191
|
-
:param pulumi.Input[str] description: A free-form text field up to a limit of 1024 bytes to describe a block storage volume.
|
|
192
|
-
:param pulumi.Input[Sequence[pulumi.Input[int]]] droplet_ids: A list of associated droplet ids.
|
|
193
|
-
:param pulumi.Input[str] filesystem_label: Filesystem label for the block storage volume.
|
|
194
|
-
:param pulumi.Input[str] filesystem_type: Filesystem type (`xfs` or `ext4`) for the block storage volume.
|
|
195
|
-
:param pulumi.Input[str] initial_filesystem_label: Initial filesystem label for the block storage volume.
|
|
196
|
-
:param pulumi.Input[Union[str, 'FileSystemType']] initial_filesystem_type: Initial filesystem type (`xfs` or `ext4`) for the block storage volume.
|
|
197
|
-
:param pulumi.Input[str] name: A name for the block storage volume. Must be lowercase and be composed only of numbers, letters and "-", up to a limit of 64 characters. The name must begin with a letter.
|
|
198
|
-
:param pulumi.Input[Union[str, 'Region']] region: The region that the block storage volume will be created in.
|
|
199
|
-
:param pulumi.Input[int] size: The size of the block storage volume in GiB. If updated, can only be expanded.
|
|
200
|
-
:param pulumi.Input[str] snapshot_id: The ID of an existing volume snapshot from which the new volume will be created. If supplied, the region and size will be limited on creation to that of the referenced snapshot
|
|
201
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: A list of the tags to be applied to this Volume.
|
|
202
|
-
:param pulumi.Input[str] volume_urn: The uniform resource name for the volume.
|
|
192
|
+
:param pulumi.Input[builtins.str] description: A free-form text field up to a limit of 1024 bytes to describe a block storage volume.
|
|
193
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.int]]] droplet_ids: A list of associated droplet ids.
|
|
194
|
+
:param pulumi.Input[builtins.str] filesystem_label: Filesystem label for the block storage volume.
|
|
195
|
+
:param pulumi.Input[builtins.str] filesystem_type: Filesystem type (`xfs` or `ext4`) for the block storage volume.
|
|
196
|
+
:param pulumi.Input[builtins.str] initial_filesystem_label: Initial filesystem label for the block storage volume.
|
|
197
|
+
:param pulumi.Input[Union[builtins.str, 'FileSystemType']] initial_filesystem_type: Initial filesystem type (`xfs` or `ext4`) for the block storage volume.
|
|
198
|
+
:param pulumi.Input[builtins.str] name: A name for the block storage volume. Must be lowercase and be composed only of numbers, letters and "-", up to a limit of 64 characters. The name must begin with a letter.
|
|
199
|
+
:param pulumi.Input[Union[builtins.str, 'Region']] region: The region that the block storage volume will be created in.
|
|
200
|
+
:param pulumi.Input[builtins.int] size: The size of the block storage volume in GiB. If updated, can only be expanded.
|
|
201
|
+
:param pulumi.Input[builtins.str] snapshot_id: The ID of an existing volume snapshot from which the new volume will be created. If supplied, the region and size will be limited on creation to that of the referenced snapshot
|
|
202
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: A list of the tags to be applied to this Volume.
|
|
203
|
+
:param pulumi.Input[builtins.str] volume_urn: The uniform resource name for the volume.
|
|
203
204
|
"""
|
|
204
205
|
if description is not None:
|
|
205
206
|
pulumi.set(__self__, "description", description)
|
|
@@ -231,147 +232,147 @@ class _VolumeState:
|
|
|
231
232
|
|
|
232
233
|
@property
|
|
233
234
|
@pulumi.getter
|
|
234
|
-
def description(self) -> Optional[pulumi.Input[str]]:
|
|
235
|
+
def description(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
235
236
|
"""
|
|
236
237
|
A free-form text field up to a limit of 1024 bytes to describe a block storage volume.
|
|
237
238
|
"""
|
|
238
239
|
return pulumi.get(self, "description")
|
|
239
240
|
|
|
240
241
|
@description.setter
|
|
241
|
-
def description(self, value: Optional[pulumi.Input[str]]):
|
|
242
|
+
def description(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
242
243
|
pulumi.set(self, "description", value)
|
|
243
244
|
|
|
244
245
|
@property
|
|
245
246
|
@pulumi.getter(name="dropletIds")
|
|
246
|
-
def droplet_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[int]]]]:
|
|
247
|
+
def droplet_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.int]]]]:
|
|
247
248
|
"""
|
|
248
249
|
A list of associated droplet ids.
|
|
249
250
|
"""
|
|
250
251
|
return pulumi.get(self, "droplet_ids")
|
|
251
252
|
|
|
252
253
|
@droplet_ids.setter
|
|
253
|
-
def droplet_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]]):
|
|
254
|
+
def droplet_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.int]]]]):
|
|
254
255
|
pulumi.set(self, "droplet_ids", value)
|
|
255
256
|
|
|
256
257
|
@property
|
|
257
258
|
@pulumi.getter(name="filesystemLabel")
|
|
258
|
-
def filesystem_label(self) -> Optional[pulumi.Input[str]]:
|
|
259
|
+
def filesystem_label(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
259
260
|
"""
|
|
260
261
|
Filesystem label for the block storage volume.
|
|
261
262
|
"""
|
|
262
263
|
return pulumi.get(self, "filesystem_label")
|
|
263
264
|
|
|
264
265
|
@filesystem_label.setter
|
|
265
|
-
def filesystem_label(self, value: Optional[pulumi.Input[str]]):
|
|
266
|
+
def filesystem_label(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
266
267
|
pulumi.set(self, "filesystem_label", value)
|
|
267
268
|
|
|
268
269
|
@property
|
|
269
270
|
@pulumi.getter(name="filesystemType")
|
|
270
271
|
@_utilities.deprecated("""This fields functionality has been replaced by `initial_filesystem_type`. The property will still remain as a computed attribute representing the current volumes filesystem type.""")
|
|
271
|
-
def filesystem_type(self) -> Optional[pulumi.Input[str]]:
|
|
272
|
+
def filesystem_type(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
272
273
|
"""
|
|
273
274
|
Filesystem type (`xfs` or `ext4`) for the block storage volume.
|
|
274
275
|
"""
|
|
275
276
|
return pulumi.get(self, "filesystem_type")
|
|
276
277
|
|
|
277
278
|
@filesystem_type.setter
|
|
278
|
-
def filesystem_type(self, value: Optional[pulumi.Input[str]]):
|
|
279
|
+
def filesystem_type(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
279
280
|
pulumi.set(self, "filesystem_type", value)
|
|
280
281
|
|
|
281
282
|
@property
|
|
282
283
|
@pulumi.getter(name="initialFilesystemLabel")
|
|
283
|
-
def initial_filesystem_label(self) -> Optional[pulumi.Input[str]]:
|
|
284
|
+
def initial_filesystem_label(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
284
285
|
"""
|
|
285
286
|
Initial filesystem label for the block storage volume.
|
|
286
287
|
"""
|
|
287
288
|
return pulumi.get(self, "initial_filesystem_label")
|
|
288
289
|
|
|
289
290
|
@initial_filesystem_label.setter
|
|
290
|
-
def initial_filesystem_label(self, value: Optional[pulumi.Input[str]]):
|
|
291
|
+
def initial_filesystem_label(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
291
292
|
pulumi.set(self, "initial_filesystem_label", value)
|
|
292
293
|
|
|
293
294
|
@property
|
|
294
295
|
@pulumi.getter(name="initialFilesystemType")
|
|
295
|
-
def initial_filesystem_type(self) -> Optional[pulumi.Input[Union[str, 'FileSystemType']]]:
|
|
296
|
+
def initial_filesystem_type(self) -> Optional[pulumi.Input[Union[builtins.str, 'FileSystemType']]]:
|
|
296
297
|
"""
|
|
297
298
|
Initial filesystem type (`xfs` or `ext4`) for the block storage volume.
|
|
298
299
|
"""
|
|
299
300
|
return pulumi.get(self, "initial_filesystem_type")
|
|
300
301
|
|
|
301
302
|
@initial_filesystem_type.setter
|
|
302
|
-
def initial_filesystem_type(self, value: Optional[pulumi.Input[Union[str, 'FileSystemType']]]):
|
|
303
|
+
def initial_filesystem_type(self, value: Optional[pulumi.Input[Union[builtins.str, 'FileSystemType']]]):
|
|
303
304
|
pulumi.set(self, "initial_filesystem_type", value)
|
|
304
305
|
|
|
305
306
|
@property
|
|
306
307
|
@pulumi.getter
|
|
307
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
308
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
308
309
|
"""
|
|
309
310
|
A name for the block storage volume. Must be lowercase and be composed only of numbers, letters and "-", up to a limit of 64 characters. The name must begin with a letter.
|
|
310
311
|
"""
|
|
311
312
|
return pulumi.get(self, "name")
|
|
312
313
|
|
|
313
314
|
@name.setter
|
|
314
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
315
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
315
316
|
pulumi.set(self, "name", value)
|
|
316
317
|
|
|
317
318
|
@property
|
|
318
319
|
@pulumi.getter
|
|
319
|
-
def region(self) -> Optional[pulumi.Input[Union[str, 'Region']]]:
|
|
320
|
+
def region(self) -> Optional[pulumi.Input[Union[builtins.str, 'Region']]]:
|
|
320
321
|
"""
|
|
321
322
|
The region that the block storage volume will be created in.
|
|
322
323
|
"""
|
|
323
324
|
return pulumi.get(self, "region")
|
|
324
325
|
|
|
325
326
|
@region.setter
|
|
326
|
-
def region(self, value: Optional[pulumi.Input[Union[str, 'Region']]]):
|
|
327
|
+
def region(self, value: Optional[pulumi.Input[Union[builtins.str, 'Region']]]):
|
|
327
328
|
pulumi.set(self, "region", value)
|
|
328
329
|
|
|
329
330
|
@property
|
|
330
331
|
@pulumi.getter
|
|
331
|
-
def size(self) -> Optional[pulumi.Input[int]]:
|
|
332
|
+
def size(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
332
333
|
"""
|
|
333
334
|
The size of the block storage volume in GiB. If updated, can only be expanded.
|
|
334
335
|
"""
|
|
335
336
|
return pulumi.get(self, "size")
|
|
336
337
|
|
|
337
338
|
@size.setter
|
|
338
|
-
def size(self, value: Optional[pulumi.Input[int]]):
|
|
339
|
+
def size(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
339
340
|
pulumi.set(self, "size", value)
|
|
340
341
|
|
|
341
342
|
@property
|
|
342
343
|
@pulumi.getter(name="snapshotId")
|
|
343
|
-
def snapshot_id(self) -> Optional[pulumi.Input[str]]:
|
|
344
|
+
def snapshot_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
344
345
|
"""
|
|
345
346
|
The ID of an existing volume snapshot from which the new volume will be created. If supplied, the region and size will be limited on creation to that of the referenced snapshot
|
|
346
347
|
"""
|
|
347
348
|
return pulumi.get(self, "snapshot_id")
|
|
348
349
|
|
|
349
350
|
@snapshot_id.setter
|
|
350
|
-
def snapshot_id(self, value: Optional[pulumi.Input[str]]):
|
|
351
|
+
def snapshot_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
351
352
|
pulumi.set(self, "snapshot_id", value)
|
|
352
353
|
|
|
353
354
|
@property
|
|
354
355
|
@pulumi.getter
|
|
355
|
-
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
356
|
+
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
356
357
|
"""
|
|
357
358
|
A list of the tags to be applied to this Volume.
|
|
358
359
|
"""
|
|
359
360
|
return pulumi.get(self, "tags")
|
|
360
361
|
|
|
361
362
|
@tags.setter
|
|
362
|
-
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
363
|
+
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
363
364
|
pulumi.set(self, "tags", value)
|
|
364
365
|
|
|
365
366
|
@property
|
|
366
367
|
@pulumi.getter(name="volumeUrn")
|
|
367
|
-
def volume_urn(self) -> Optional[pulumi.Input[str]]:
|
|
368
|
+
def volume_urn(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
368
369
|
"""
|
|
369
370
|
The uniform resource name for the volume.
|
|
370
371
|
"""
|
|
371
372
|
return pulumi.get(self, "volume_urn")
|
|
372
373
|
|
|
373
374
|
@volume_urn.setter
|
|
374
|
-
def volume_urn(self, value: Optional[pulumi.Input[str]]):
|
|
375
|
+
def volume_urn(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
375
376
|
pulumi.set(self, "volume_urn", value)
|
|
376
377
|
|
|
377
378
|
|
|
@@ -380,15 +381,15 @@ class Volume(pulumi.CustomResource):
|
|
|
380
381
|
def __init__(__self__,
|
|
381
382
|
resource_name: str,
|
|
382
383
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
383
|
-
description: Optional[pulumi.Input[str]] = None,
|
|
384
|
-
filesystem_type: Optional[pulumi.Input[str]] = None,
|
|
385
|
-
initial_filesystem_label: Optional[pulumi.Input[str]] = None,
|
|
386
|
-
initial_filesystem_type: Optional[pulumi.Input[Union[str, 'FileSystemType']]] = None,
|
|
387
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
388
|
-
region: Optional[pulumi.Input[Union[str, 'Region']]] = None,
|
|
389
|
-
size: Optional[pulumi.Input[int]] = None,
|
|
390
|
-
snapshot_id: Optional[pulumi.Input[str]] = None,
|
|
391
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
384
|
+
description: Optional[pulumi.Input[builtins.str]] = None,
|
|
385
|
+
filesystem_type: Optional[pulumi.Input[builtins.str]] = None,
|
|
386
|
+
initial_filesystem_label: Optional[pulumi.Input[builtins.str]] = None,
|
|
387
|
+
initial_filesystem_type: Optional[pulumi.Input[Union[builtins.str, 'FileSystemType']]] = None,
|
|
388
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
389
|
+
region: Optional[pulumi.Input[Union[builtins.str, 'Region']]] = None,
|
|
390
|
+
size: Optional[pulumi.Input[builtins.int]] = None,
|
|
391
|
+
snapshot_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
392
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
392
393
|
__props__=None):
|
|
393
394
|
"""
|
|
394
395
|
Provides a DigitalOcean Block Storage volume which can be attached to a Droplet in order to provide expanded storage.
|
|
@@ -439,15 +440,15 @@ class Volume(pulumi.CustomResource):
|
|
|
439
440
|
|
|
440
441
|
:param str resource_name: The name of the resource.
|
|
441
442
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
442
|
-
:param pulumi.Input[str] description: A free-form text field up to a limit of 1024 bytes to describe a block storage volume.
|
|
443
|
-
:param pulumi.Input[str] filesystem_type: Filesystem type (`xfs` or `ext4`) for the block storage volume.
|
|
444
|
-
:param pulumi.Input[str] initial_filesystem_label: Initial filesystem label for the block storage volume.
|
|
445
|
-
:param pulumi.Input[Union[str, 'FileSystemType']] initial_filesystem_type: Initial filesystem type (`xfs` or `ext4`) for the block storage volume.
|
|
446
|
-
:param pulumi.Input[str] name: A name for the block storage volume. Must be lowercase and be composed only of numbers, letters and "-", up to a limit of 64 characters. The name must begin with a letter.
|
|
447
|
-
:param pulumi.Input[Union[str, 'Region']] region: The region that the block storage volume will be created in.
|
|
448
|
-
:param pulumi.Input[int] size: The size of the block storage volume in GiB. If updated, can only be expanded.
|
|
449
|
-
:param pulumi.Input[str] snapshot_id: The ID of an existing volume snapshot from which the new volume will be created. If supplied, the region and size will be limited on creation to that of the referenced snapshot
|
|
450
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: A list of the tags to be applied to this Volume.
|
|
443
|
+
:param pulumi.Input[builtins.str] description: A free-form text field up to a limit of 1024 bytes to describe a block storage volume.
|
|
444
|
+
:param pulumi.Input[builtins.str] filesystem_type: Filesystem type (`xfs` or `ext4`) for the block storage volume.
|
|
445
|
+
:param pulumi.Input[builtins.str] initial_filesystem_label: Initial filesystem label for the block storage volume.
|
|
446
|
+
:param pulumi.Input[Union[builtins.str, 'FileSystemType']] initial_filesystem_type: Initial filesystem type (`xfs` or `ext4`) for the block storage volume.
|
|
447
|
+
:param pulumi.Input[builtins.str] name: A name for the block storage volume. Must be lowercase and be composed only of numbers, letters and "-", up to a limit of 64 characters. The name must begin with a letter.
|
|
448
|
+
:param pulumi.Input[Union[builtins.str, 'Region']] region: The region that the block storage volume will be created in.
|
|
449
|
+
:param pulumi.Input[builtins.int] size: The size of the block storage volume in GiB. If updated, can only be expanded.
|
|
450
|
+
:param pulumi.Input[builtins.str] snapshot_id: The ID of an existing volume snapshot from which the new volume will be created. If supplied, the region and size will be limited on creation to that of the referenced snapshot
|
|
451
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: A list of the tags to be applied to this Volume.
|
|
451
452
|
"""
|
|
452
453
|
...
|
|
453
454
|
@overload
|
|
@@ -517,15 +518,15 @@ class Volume(pulumi.CustomResource):
|
|
|
517
518
|
def _internal_init(__self__,
|
|
518
519
|
resource_name: str,
|
|
519
520
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
520
|
-
description: Optional[pulumi.Input[str]] = None,
|
|
521
|
-
filesystem_type: Optional[pulumi.Input[str]] = None,
|
|
522
|
-
initial_filesystem_label: Optional[pulumi.Input[str]] = None,
|
|
523
|
-
initial_filesystem_type: Optional[pulumi.Input[Union[str, 'FileSystemType']]] = None,
|
|
524
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
525
|
-
region: Optional[pulumi.Input[Union[str, 'Region']]] = None,
|
|
526
|
-
size: Optional[pulumi.Input[int]] = None,
|
|
527
|
-
snapshot_id: Optional[pulumi.Input[str]] = None,
|
|
528
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
521
|
+
description: Optional[pulumi.Input[builtins.str]] = None,
|
|
522
|
+
filesystem_type: Optional[pulumi.Input[builtins.str]] = None,
|
|
523
|
+
initial_filesystem_label: Optional[pulumi.Input[builtins.str]] = None,
|
|
524
|
+
initial_filesystem_type: Optional[pulumi.Input[Union[builtins.str, 'FileSystemType']]] = None,
|
|
525
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
526
|
+
region: Optional[pulumi.Input[Union[builtins.str, 'Region']]] = None,
|
|
527
|
+
size: Optional[pulumi.Input[builtins.int]] = None,
|
|
528
|
+
snapshot_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
529
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
529
530
|
__props__=None):
|
|
530
531
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
531
532
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -561,18 +562,18 @@ class Volume(pulumi.CustomResource):
|
|
|
561
562
|
def get(resource_name: str,
|
|
562
563
|
id: pulumi.Input[str],
|
|
563
564
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
564
|
-
description: Optional[pulumi.Input[str]] = None,
|
|
565
|
-
droplet_ids: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None,
|
|
566
|
-
filesystem_label: Optional[pulumi.Input[str]] = None,
|
|
567
|
-
filesystem_type: Optional[pulumi.Input[str]] = None,
|
|
568
|
-
initial_filesystem_label: Optional[pulumi.Input[str]] = None,
|
|
569
|
-
initial_filesystem_type: Optional[pulumi.Input[Union[str, 'FileSystemType']]] = None,
|
|
570
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
571
|
-
region: Optional[pulumi.Input[Union[str, 'Region']]] = None,
|
|
572
|
-
size: Optional[pulumi.Input[int]] = None,
|
|
573
|
-
snapshot_id: Optional[pulumi.Input[str]] = None,
|
|
574
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
575
|
-
volume_urn: Optional[pulumi.Input[str]] = None) -> 'Volume':
|
|
565
|
+
description: Optional[pulumi.Input[builtins.str]] = None,
|
|
566
|
+
droplet_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.int]]]] = None,
|
|
567
|
+
filesystem_label: Optional[pulumi.Input[builtins.str]] = None,
|
|
568
|
+
filesystem_type: Optional[pulumi.Input[builtins.str]] = None,
|
|
569
|
+
initial_filesystem_label: Optional[pulumi.Input[builtins.str]] = None,
|
|
570
|
+
initial_filesystem_type: Optional[pulumi.Input[Union[builtins.str, 'FileSystemType']]] = None,
|
|
571
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
572
|
+
region: Optional[pulumi.Input[Union[builtins.str, 'Region']]] = None,
|
|
573
|
+
size: Optional[pulumi.Input[builtins.int]] = None,
|
|
574
|
+
snapshot_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
575
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
576
|
+
volume_urn: Optional[pulumi.Input[builtins.str]] = None) -> 'Volume':
|
|
576
577
|
"""
|
|
577
578
|
Get an existing Volume resource's state with the given name, id, and optional extra
|
|
578
579
|
properties used to qualify the lookup.
|
|
@@ -580,18 +581,18 @@ class Volume(pulumi.CustomResource):
|
|
|
580
581
|
:param str resource_name: The unique name of the resulting resource.
|
|
581
582
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
582
583
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
583
|
-
:param pulumi.Input[str] description: A free-form text field up to a limit of 1024 bytes to describe a block storage volume.
|
|
584
|
-
:param pulumi.Input[Sequence[pulumi.Input[int]]] droplet_ids: A list of associated droplet ids.
|
|
585
|
-
:param pulumi.Input[str] filesystem_label: Filesystem label for the block storage volume.
|
|
586
|
-
:param pulumi.Input[str] filesystem_type: Filesystem type (`xfs` or `ext4`) for the block storage volume.
|
|
587
|
-
:param pulumi.Input[str] initial_filesystem_label: Initial filesystem label for the block storage volume.
|
|
588
|
-
:param pulumi.Input[Union[str, 'FileSystemType']] initial_filesystem_type: Initial filesystem type (`xfs` or `ext4`) for the block storage volume.
|
|
589
|
-
:param pulumi.Input[str] name: A name for the block storage volume. Must be lowercase and be composed only of numbers, letters and "-", up to a limit of 64 characters. The name must begin with a letter.
|
|
590
|
-
:param pulumi.Input[Union[str, 'Region']] region: The region that the block storage volume will be created in.
|
|
591
|
-
:param pulumi.Input[int] size: The size of the block storage volume in GiB. If updated, can only be expanded.
|
|
592
|
-
:param pulumi.Input[str] snapshot_id: The ID of an existing volume snapshot from which the new volume will be created. If supplied, the region and size will be limited on creation to that of the referenced snapshot
|
|
593
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: A list of the tags to be applied to this Volume.
|
|
594
|
-
:param pulumi.Input[str] volume_urn: The uniform resource name for the volume.
|
|
584
|
+
:param pulumi.Input[builtins.str] description: A free-form text field up to a limit of 1024 bytes to describe a block storage volume.
|
|
585
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.int]]] droplet_ids: A list of associated droplet ids.
|
|
586
|
+
:param pulumi.Input[builtins.str] filesystem_label: Filesystem label for the block storage volume.
|
|
587
|
+
:param pulumi.Input[builtins.str] filesystem_type: Filesystem type (`xfs` or `ext4`) for the block storage volume.
|
|
588
|
+
:param pulumi.Input[builtins.str] initial_filesystem_label: Initial filesystem label for the block storage volume.
|
|
589
|
+
:param pulumi.Input[Union[builtins.str, 'FileSystemType']] initial_filesystem_type: Initial filesystem type (`xfs` or `ext4`) for the block storage volume.
|
|
590
|
+
:param pulumi.Input[builtins.str] name: A name for the block storage volume. Must be lowercase and be composed only of numbers, letters and "-", up to a limit of 64 characters. The name must begin with a letter.
|
|
591
|
+
:param pulumi.Input[Union[builtins.str, 'Region']] region: The region that the block storage volume will be created in.
|
|
592
|
+
:param pulumi.Input[builtins.int] size: The size of the block storage volume in GiB. If updated, can only be expanded.
|
|
593
|
+
:param pulumi.Input[builtins.str] snapshot_id: The ID of an existing volume snapshot from which the new volume will be created. If supplied, the region and size will be limited on creation to that of the referenced snapshot
|
|
594
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: A list of the tags to be applied to this Volume.
|
|
595
|
+
:param pulumi.Input[builtins.str] volume_urn: The uniform resource name for the volume.
|
|
595
596
|
"""
|
|
596
597
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
597
598
|
|
|
@@ -613,7 +614,7 @@ class Volume(pulumi.CustomResource):
|
|
|
613
614
|
|
|
614
615
|
@property
|
|
615
616
|
@pulumi.getter
|
|
616
|
-
def description(self) -> pulumi.Output[Optional[str]]:
|
|
617
|
+
def description(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
617
618
|
"""
|
|
618
619
|
A free-form text field up to a limit of 1024 bytes to describe a block storage volume.
|
|
619
620
|
"""
|
|
@@ -621,7 +622,7 @@ class Volume(pulumi.CustomResource):
|
|
|
621
622
|
|
|
622
623
|
@property
|
|
623
624
|
@pulumi.getter(name="dropletIds")
|
|
624
|
-
def droplet_ids(self) -> pulumi.Output[Sequence[int]]:
|
|
625
|
+
def droplet_ids(self) -> pulumi.Output[Sequence[builtins.int]]:
|
|
625
626
|
"""
|
|
626
627
|
A list of associated droplet ids.
|
|
627
628
|
"""
|
|
@@ -629,7 +630,7 @@ class Volume(pulumi.CustomResource):
|
|
|
629
630
|
|
|
630
631
|
@property
|
|
631
632
|
@pulumi.getter(name="filesystemLabel")
|
|
632
|
-
def filesystem_label(self) -> pulumi.Output[str]:
|
|
633
|
+
def filesystem_label(self) -> pulumi.Output[builtins.str]:
|
|
633
634
|
"""
|
|
634
635
|
Filesystem label for the block storage volume.
|
|
635
636
|
"""
|
|
@@ -638,7 +639,7 @@ class Volume(pulumi.CustomResource):
|
|
|
638
639
|
@property
|
|
639
640
|
@pulumi.getter(name="filesystemType")
|
|
640
641
|
@_utilities.deprecated("""This fields functionality has been replaced by `initial_filesystem_type`. The property will still remain as a computed attribute representing the current volumes filesystem type.""")
|
|
641
|
-
def filesystem_type(self) -> pulumi.Output[str]:
|
|
642
|
+
def filesystem_type(self) -> pulumi.Output[builtins.str]:
|
|
642
643
|
"""
|
|
643
644
|
Filesystem type (`xfs` or `ext4`) for the block storage volume.
|
|
644
645
|
"""
|
|
@@ -646,7 +647,7 @@ class Volume(pulumi.CustomResource):
|
|
|
646
647
|
|
|
647
648
|
@property
|
|
648
649
|
@pulumi.getter(name="initialFilesystemLabel")
|
|
649
|
-
def initial_filesystem_label(self) -> pulumi.Output[Optional[str]]:
|
|
650
|
+
def initial_filesystem_label(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
650
651
|
"""
|
|
651
652
|
Initial filesystem label for the block storage volume.
|
|
652
653
|
"""
|
|
@@ -654,7 +655,7 @@ class Volume(pulumi.CustomResource):
|
|
|
654
655
|
|
|
655
656
|
@property
|
|
656
657
|
@pulumi.getter(name="initialFilesystemType")
|
|
657
|
-
def initial_filesystem_type(self) -> pulumi.Output[Optional[str]]:
|
|
658
|
+
def initial_filesystem_type(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
658
659
|
"""
|
|
659
660
|
Initial filesystem type (`xfs` or `ext4`) for the block storage volume.
|
|
660
661
|
"""
|
|
@@ -662,7 +663,7 @@ class Volume(pulumi.CustomResource):
|
|
|
662
663
|
|
|
663
664
|
@property
|
|
664
665
|
@pulumi.getter
|
|
665
|
-
def name(self) -> pulumi.Output[str]:
|
|
666
|
+
def name(self) -> pulumi.Output[builtins.str]:
|
|
666
667
|
"""
|
|
667
668
|
A name for the block storage volume. Must be lowercase and be composed only of numbers, letters and "-", up to a limit of 64 characters. The name must begin with a letter.
|
|
668
669
|
"""
|
|
@@ -670,7 +671,7 @@ class Volume(pulumi.CustomResource):
|
|
|
670
671
|
|
|
671
672
|
@property
|
|
672
673
|
@pulumi.getter
|
|
673
|
-
def region(self) -> pulumi.Output[str]:
|
|
674
|
+
def region(self) -> pulumi.Output[builtins.str]:
|
|
674
675
|
"""
|
|
675
676
|
The region that the block storage volume will be created in.
|
|
676
677
|
"""
|
|
@@ -678,7 +679,7 @@ class Volume(pulumi.CustomResource):
|
|
|
678
679
|
|
|
679
680
|
@property
|
|
680
681
|
@pulumi.getter
|
|
681
|
-
def size(self) -> pulumi.Output[int]:
|
|
682
|
+
def size(self) -> pulumi.Output[builtins.int]:
|
|
682
683
|
"""
|
|
683
684
|
The size of the block storage volume in GiB. If updated, can only be expanded.
|
|
684
685
|
"""
|
|
@@ -686,7 +687,7 @@ class Volume(pulumi.CustomResource):
|
|
|
686
687
|
|
|
687
688
|
@property
|
|
688
689
|
@pulumi.getter(name="snapshotId")
|
|
689
|
-
def snapshot_id(self) -> pulumi.Output[Optional[str]]:
|
|
690
|
+
def snapshot_id(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
690
691
|
"""
|
|
691
692
|
The ID of an existing volume snapshot from which the new volume will be created. If supplied, the region and size will be limited on creation to that of the referenced snapshot
|
|
692
693
|
"""
|
|
@@ -694,7 +695,7 @@ class Volume(pulumi.CustomResource):
|
|
|
694
695
|
|
|
695
696
|
@property
|
|
696
697
|
@pulumi.getter
|
|
697
|
-
def tags(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
698
|
+
def tags(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
|
|
698
699
|
"""
|
|
699
700
|
A list of the tags to be applied to this Volume.
|
|
700
701
|
"""
|
|
@@ -702,7 +703,7 @@ class Volume(pulumi.CustomResource):
|
|
|
702
703
|
|
|
703
704
|
@property
|
|
704
705
|
@pulumi.getter(name="volumeUrn")
|
|
705
|
-
def volume_urn(self) -> pulumi.Output[str]:
|
|
706
|
+
def volume_urn(self) -> pulumi.Output[builtins.str]:
|
|
706
707
|
"""
|
|
707
708
|
The uniform resource name for the volume.
|
|
708
709
|
"""
|