pulumi-linode 5.1.0a1752772340__py3-none-any.whl → 5.1.1__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-linode might be problematic. Click here for more details.
- pulumi_linode/__init__.py +1 -1
- pulumi_linode/_inputs.py +5224 -5147
- pulumi_linode/account_settings.py +70 -71
- pulumi_linode/config/__init__.py +1 -1
- pulumi_linode/config/__init__.pyi +1 -2
- pulumi_linode/config/vars.py +21 -22
- pulumi_linode/database_access_controls.py +52 -53
- pulumi_linode/database_mysql.py +247 -248
- pulumi_linode/database_mysql_v2.py +782 -783
- pulumi_linode/database_postgresql.py +273 -274
- pulumi_linode/database_postgresql_v2.py +1105 -1106
- pulumi_linode/domain.py +222 -223
- pulumi_linode/domain_record.py +188 -189
- pulumi_linode/firewall.py +155 -156
- pulumi_linode/firewall_device.py +70 -71
- pulumi_linode/get_account.py +33 -34
- pulumi_linode/get_account_availabilities.py +5 -6
- pulumi_linode/get_account_availability.py +13 -14
- pulumi_linode/get_account_login.py +17 -18
- pulumi_linode/get_account_logins.py +5 -6
- pulumi_linode/get_account_settings.py +13 -14
- pulumi_linode/get_child_account.py +37 -38
- pulumi_linode/get_child_accounts.py +5 -6
- pulumi_linode/get_database_backups.py +35 -36
- pulumi_linode/get_database_engines.py +23 -24
- pulumi_linode/get_database_mysql.py +52 -53
- pulumi_linode/get_database_mysql_backups.py +29 -30
- pulumi_linode/get_database_mysql_config.py +5 -6
- pulumi_linode/get_database_mysql_v2.py +115 -116
- pulumi_linode/get_database_postgresql.py +56 -57
- pulumi_linode/get_database_postgresql_config.py +7 -8
- pulumi_linode/get_database_postgresql_v2.py +153 -154
- pulumi_linode/get_databases.py +17 -18
- pulumi_linode/get_domain.py +37 -38
- pulumi_linode/get_domain_record.py +37 -38
- pulumi_linode/get_domain_zonefile.py +11 -12
- pulumi_linode/get_domains.py +17 -18
- pulumi_linode/get_firewall.py +30 -31
- pulumi_linode/get_firewalls.py +17 -18
- pulumi_linode/get_image.py +36 -37
- pulumi_linode/get_images.py +23 -24
- pulumi_linode/get_instance_backups.py +12 -13
- pulumi_linode/get_instance_networking.py +11 -12
- pulumi_linode/get_instance_type.py +30 -31
- pulumi_linode/get_instance_types.py +17 -18
- pulumi_linode/get_instances.py +17 -18
- pulumi_linode/get_ipv6_range.py +17 -18
- pulumi_linode/get_ipv6_ranges.py +5 -6
- pulumi_linode/get_kernel.py +23 -24
- pulumi_linode/get_kernels.py +17 -18
- pulumi_linode/get_linode_object_storage_bucket.py +33 -34
- pulumi_linode/get_lke_cluster.py +34 -35
- pulumi_linode/get_lke_clusters.py +17 -18
- pulumi_linode/get_lke_types.py +17 -18
- pulumi_linode/get_lke_version.py +13 -14
- pulumi_linode/get_lke_versions.py +10 -11
- pulumi_linode/get_nb_types.py +13 -14
- pulumi_linode/get_network_transfer_prices.py +17 -18
- pulumi_linode/get_networking_ip.py +28 -29
- pulumi_linode/get_networking_ips.py +17 -18
- pulumi_linode/get_node_balancer.py +29 -30
- pulumi_linode/get_node_balancer_config.py +48 -49
- pulumi_linode/get_node_balancer_node.py +29 -30
- pulumi_linode/get_nodebalancer_configs.py +23 -24
- pulumi_linode/get_nodebalancers.py +17 -18
- pulumi_linode/get_object_storage_cluster.py +15 -16
- pulumi_linode/get_object_storage_endpoints.py +17 -18
- pulumi_linode/get_object_storage_quota.py +22 -23
- pulumi_linode/get_object_storage_quotas.py +5 -6
- pulumi_linode/get_placement_group.py +19 -20
- pulumi_linode/get_placement_groups.py +13 -14
- pulumi_linode/get_profile.py +22 -23
- pulumi_linode/get_region.py +19 -20
- pulumi_linode/get_regions.py +5 -6
- pulumi_linode/get_ssh_key.py +17 -18
- pulumi_linode/get_sshkeys.py +17 -18
- pulumi_linode/get_stack_script.py +32 -33
- pulumi_linode/get_stack_scripts.py +23 -24
- pulumi_linode/get_user.py +35 -36
- pulumi_linode/get_users.py +17 -18
- pulumi_linode/get_vlans.py +17 -18
- pulumi_linode/get_volume.py +27 -28
- pulumi_linode/get_volume_types.py +17 -18
- pulumi_linode/get_volumes.py +17 -18
- pulumi_linode/get_vpc.py +17 -18
- pulumi_linode/get_vpc_ips.py +11 -12
- pulumi_linode/get_vpc_subnet.py +22 -23
- pulumi_linode/get_vpc_subnets.py +11 -12
- pulumi_linode/get_vpcs.py +5 -6
- pulumi_linode/image.py +292 -293
- pulumi_linode/instance.py +520 -521
- pulumi_linode/instance_config.py +166 -167
- pulumi_linode/instance_disk.py +210 -211
- pulumi_linode/instance_ip.py +125 -126
- pulumi_linode/instance_shared_ips.py +35 -36
- pulumi_linode/ipv6_range.py +88 -89
- pulumi_linode/lke_cluster.py +162 -163
- pulumi_linode/lke_node_pool.py +137 -138
- pulumi_linode/networking_ip.py +133 -134
- pulumi_linode/networking_ip_assignment.py +21 -22
- pulumi_linode/node_balancer.py +152 -153
- pulumi_linode/node_balancer_config.py +319 -320
- pulumi_linode/node_balancer_node.py +112 -113
- pulumi_linode/object_storage_bucket.py +195 -196
- pulumi_linode/object_storage_key.py +67 -68
- pulumi_linode/object_storage_object.py +350 -351
- pulumi_linode/outputs.py +5340 -5291
- pulumi_linode/placement_group.py +80 -81
- pulumi_linode/placement_group_assignment.py +48 -49
- pulumi_linode/provider.py +180 -181
- pulumi_linode/pulumi-plugin.json +1 -1
- pulumi_linode/rdns.py +55 -56
- pulumi_linode/reserved_ip_assignment.py +142 -143
- pulumi_linode/ssh_key.py +44 -45
- pulumi_linode/stack_script.py +159 -160
- pulumi_linode/token.py +70 -71
- pulumi_linode/user.py +112 -113
- pulumi_linode/volume.py +141 -142
- pulumi_linode/vpc.py +70 -71
- pulumi_linode/vpc_subnet.py +72 -73
- {pulumi_linode-5.1.0a1752772340.dist-info → pulumi_linode-5.1.1.dist-info}/METADATA +1 -1
- pulumi_linode-5.1.1.dist-info/RECORD +126 -0
- pulumi_linode-5.1.0a1752772340.dist-info/RECORD +0 -126
- {pulumi_linode-5.1.0a1752772340.dist-info → pulumi_linode-5.1.1.dist-info}/WHEEL +0 -0
- {pulumi_linode-5.1.0a1752772340.dist-info → pulumi_linode-5.1.1.dist-info}/top_level.txt +0 -0
pulumi_linode/get_firewall.py
CHANGED
|
@@ -2,8 +2,7 @@
|
|
|
2
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 builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -72,104 +71,104 @@ class GetFirewallResult:
|
|
|
72
71
|
raise TypeError("Expected argument 'updated' to be a str")
|
|
73
72
|
pulumi.set(__self__, "updated", updated)
|
|
74
73
|
|
|
75
|
-
@property
|
|
74
|
+
@_builtins.property
|
|
76
75
|
@pulumi.getter
|
|
77
|
-
def created(self) ->
|
|
76
|
+
def created(self) -> _builtins.str:
|
|
78
77
|
"""
|
|
79
78
|
When this firewall was created.
|
|
80
79
|
"""
|
|
81
80
|
return pulumi.get(self, "created")
|
|
82
81
|
|
|
83
|
-
@property
|
|
82
|
+
@_builtins.property
|
|
84
83
|
@pulumi.getter
|
|
85
84
|
def devices(self) -> Sequence['outputs.GetFirewallDeviceResult']:
|
|
86
85
|
return pulumi.get(self, "devices")
|
|
87
86
|
|
|
88
|
-
@property
|
|
87
|
+
@_builtins.property
|
|
89
88
|
@pulumi.getter
|
|
90
|
-
def disabled(self) ->
|
|
89
|
+
def disabled(self) -> _builtins.bool:
|
|
91
90
|
"""
|
|
92
91
|
If true, the firewall is inactive.
|
|
93
92
|
"""
|
|
94
93
|
return pulumi.get(self, "disabled")
|
|
95
94
|
|
|
96
|
-
@property
|
|
95
|
+
@_builtins.property
|
|
97
96
|
@pulumi.getter
|
|
98
|
-
def id(self) ->
|
|
97
|
+
def id(self) -> _builtins.int:
|
|
99
98
|
"""
|
|
100
99
|
The ID of the Firewall Device.
|
|
101
100
|
"""
|
|
102
101
|
return pulumi.get(self, "id")
|
|
103
102
|
|
|
104
|
-
@property
|
|
103
|
+
@_builtins.property
|
|
105
104
|
@pulumi.getter(name="inboundPolicy")
|
|
106
|
-
def inbound_policy(self) ->
|
|
105
|
+
def inbound_policy(self) -> _builtins.str:
|
|
107
106
|
"""
|
|
108
107
|
The default behavior for inbound traffic. (`ACCEPT`, `DROP`)
|
|
109
108
|
"""
|
|
110
109
|
return pulumi.get(self, "inbound_policy")
|
|
111
110
|
|
|
112
|
-
@property
|
|
111
|
+
@_builtins.property
|
|
113
112
|
@pulumi.getter
|
|
114
113
|
def inbounds(self) -> Sequence['outputs.GetFirewallInboundResult']:
|
|
115
114
|
return pulumi.get(self, "inbounds")
|
|
116
115
|
|
|
117
|
-
@property
|
|
116
|
+
@_builtins.property
|
|
118
117
|
@pulumi.getter
|
|
119
|
-
def label(self) ->
|
|
118
|
+
def label(self) -> _builtins.str:
|
|
120
119
|
"""
|
|
121
120
|
The label of the underlying entity this device references.
|
|
122
121
|
"""
|
|
123
122
|
return pulumi.get(self, "label")
|
|
124
123
|
|
|
125
|
-
@property
|
|
124
|
+
@_builtins.property
|
|
126
125
|
@pulumi.getter
|
|
127
|
-
def linodes(self) -> Sequence[
|
|
126
|
+
def linodes(self) -> Sequence[_builtins.int]:
|
|
128
127
|
"""
|
|
129
128
|
The IDs of Linodes assigned to this Firewall.
|
|
130
129
|
"""
|
|
131
130
|
return pulumi.get(self, "linodes")
|
|
132
131
|
|
|
133
|
-
@property
|
|
132
|
+
@_builtins.property
|
|
134
133
|
@pulumi.getter
|
|
135
|
-
def nodebalancers(self) -> Sequence[
|
|
134
|
+
def nodebalancers(self) -> Sequence[_builtins.int]:
|
|
136
135
|
"""
|
|
137
136
|
The IDs of NodeBalancers assigned to this Firewall.
|
|
138
137
|
"""
|
|
139
138
|
return pulumi.get(self, "nodebalancers")
|
|
140
139
|
|
|
141
|
-
@property
|
|
140
|
+
@_builtins.property
|
|
142
141
|
@pulumi.getter(name="outboundPolicy")
|
|
143
|
-
def outbound_policy(self) ->
|
|
142
|
+
def outbound_policy(self) -> _builtins.str:
|
|
144
143
|
"""
|
|
145
144
|
The default behavior for outbound traffic. (`ACCEPT`, `DROP`)
|
|
146
145
|
"""
|
|
147
146
|
return pulumi.get(self, "outbound_policy")
|
|
148
147
|
|
|
149
|
-
@property
|
|
148
|
+
@_builtins.property
|
|
150
149
|
@pulumi.getter
|
|
151
150
|
def outbounds(self) -> Sequence['outputs.GetFirewallOutboundResult']:
|
|
152
151
|
return pulumi.get(self, "outbounds")
|
|
153
152
|
|
|
154
|
-
@property
|
|
153
|
+
@_builtins.property
|
|
155
154
|
@pulumi.getter
|
|
156
|
-
def status(self) ->
|
|
155
|
+
def status(self) -> _builtins.str:
|
|
157
156
|
"""
|
|
158
157
|
The status of the firewall. (`enabled`, `disabled`, `deleted`)
|
|
159
158
|
"""
|
|
160
159
|
return pulumi.get(self, "status")
|
|
161
160
|
|
|
162
|
-
@property
|
|
161
|
+
@_builtins.property
|
|
163
162
|
@pulumi.getter
|
|
164
|
-
def tags(self) -> Sequence[
|
|
163
|
+
def tags(self) -> Sequence[_builtins.str]:
|
|
165
164
|
"""
|
|
166
165
|
The tags applied to the firewall. Tags are case-insensitive and are for organizational purposes only.
|
|
167
166
|
"""
|
|
168
167
|
return pulumi.get(self, "tags")
|
|
169
168
|
|
|
170
|
-
@property
|
|
169
|
+
@_builtins.property
|
|
171
170
|
@pulumi.getter
|
|
172
|
-
def updated(self) ->
|
|
171
|
+
def updated(self) -> _builtins.str:
|
|
173
172
|
"""
|
|
174
173
|
When this firewall was last updated.
|
|
175
174
|
"""
|
|
@@ -198,7 +197,7 @@ class AwaitableGetFirewallResult(GetFirewallResult):
|
|
|
198
197
|
updated=self.updated)
|
|
199
198
|
|
|
200
199
|
|
|
201
|
-
def get_firewall(id: Optional[
|
|
200
|
+
def get_firewall(id: Optional[_builtins.int] = None,
|
|
202
201
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetFirewallResult:
|
|
203
202
|
"""
|
|
204
203
|
Provides details about a Linode Firewall.
|
|
@@ -214,7 +213,7 @@ def get_firewall(id: Optional[builtins.int] = None,
|
|
|
214
213
|
```
|
|
215
214
|
|
|
216
215
|
|
|
217
|
-
:param
|
|
216
|
+
:param _builtins.int id: The Firewall's ID.
|
|
218
217
|
"""
|
|
219
218
|
__args__ = dict()
|
|
220
219
|
__args__['id'] = id
|
|
@@ -236,7 +235,7 @@ def get_firewall(id: Optional[builtins.int] = None,
|
|
|
236
235
|
status=pulumi.get(__ret__, 'status'),
|
|
237
236
|
tags=pulumi.get(__ret__, 'tags'),
|
|
238
237
|
updated=pulumi.get(__ret__, 'updated'))
|
|
239
|
-
def get_firewall_output(id: Optional[pulumi.Input[
|
|
238
|
+
def get_firewall_output(id: Optional[pulumi.Input[_builtins.int]] = None,
|
|
240
239
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetFirewallResult]:
|
|
241
240
|
"""
|
|
242
241
|
Provides details about a Linode Firewall.
|
|
@@ -252,7 +251,7 @@ def get_firewall_output(id: Optional[pulumi.Input[builtins.int]] = None,
|
|
|
252
251
|
```
|
|
253
252
|
|
|
254
253
|
|
|
255
|
-
:param
|
|
254
|
+
:param _builtins.int id: The Firewall's ID.
|
|
256
255
|
"""
|
|
257
256
|
__args__ = dict()
|
|
258
257
|
__args__['id'] = id
|
pulumi_linode/get_firewalls.py
CHANGED
|
@@ -2,8 +2,7 @@
|
|
|
2
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 builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -46,32 +45,32 @@ class GetFirewallsResult:
|
|
|
46
45
|
raise TypeError("Expected argument 'order_by' to be a str")
|
|
47
46
|
pulumi.set(__self__, "order_by", order_by)
|
|
48
47
|
|
|
49
|
-
@property
|
|
48
|
+
@_builtins.property
|
|
50
49
|
@pulumi.getter
|
|
51
50
|
def filters(self) -> Optional[Sequence['outputs.GetFirewallsFilterResult']]:
|
|
52
51
|
return pulumi.get(self, "filters")
|
|
53
52
|
|
|
54
|
-
@property
|
|
53
|
+
@_builtins.property
|
|
55
54
|
@pulumi.getter
|
|
56
55
|
def firewalls(self) -> Optional[Sequence['outputs.GetFirewallsFirewallResult']]:
|
|
57
56
|
return pulumi.get(self, "firewalls")
|
|
58
57
|
|
|
59
|
-
@property
|
|
58
|
+
@_builtins.property
|
|
60
59
|
@pulumi.getter
|
|
61
|
-
def id(self) ->
|
|
60
|
+
def id(self) -> _builtins.str:
|
|
62
61
|
"""
|
|
63
62
|
The unique ID assigned to this Firewall.
|
|
64
63
|
"""
|
|
65
64
|
return pulumi.get(self, "id")
|
|
66
65
|
|
|
67
|
-
@property
|
|
66
|
+
@_builtins.property
|
|
68
67
|
@pulumi.getter
|
|
69
|
-
def order(self) -> Optional[
|
|
68
|
+
def order(self) -> Optional[_builtins.str]:
|
|
70
69
|
return pulumi.get(self, "order")
|
|
71
70
|
|
|
72
|
-
@property
|
|
71
|
+
@_builtins.property
|
|
73
72
|
@pulumi.getter(name="orderBy")
|
|
74
|
-
def order_by(self) -> Optional[
|
|
73
|
+
def order_by(self) -> Optional[_builtins.str]:
|
|
75
74
|
return pulumi.get(self, "order_by")
|
|
76
75
|
|
|
77
76
|
|
|
@@ -90,8 +89,8 @@ class AwaitableGetFirewallsResult(GetFirewallsResult):
|
|
|
90
89
|
|
|
91
90
|
def get_firewalls(filters: Optional[Sequence[Union['GetFirewallsFilterArgs', 'GetFirewallsFilterArgsDict']]] = None,
|
|
92
91
|
firewalls: Optional[Sequence[Union['GetFirewallsFirewallArgs', 'GetFirewallsFirewallArgsDict']]] = None,
|
|
93
|
-
order: Optional[
|
|
94
|
-
order_by: Optional[
|
|
92
|
+
order: Optional[_builtins.str] = None,
|
|
93
|
+
order_by: Optional[_builtins.str] = None,
|
|
95
94
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetFirewallsResult:
|
|
96
95
|
"""
|
|
97
96
|
Provides information about Linode Cloud Firewalls that match a set of filters.
|
|
@@ -165,8 +164,8 @@ def get_firewalls(filters: Optional[Sequence[Union['GetFirewallsFilterArgs', 'Ge
|
|
|
165
164
|
* `tags`
|
|
166
165
|
|
|
167
166
|
|
|
168
|
-
:param
|
|
169
|
-
:param
|
|
167
|
+
:param _builtins.str order: The order in which results should be returned. (`asc`, `desc`; default `asc`)
|
|
168
|
+
:param _builtins.str order_by: The attribute to order the results by. See the Filterable Fields section for a list of valid fields.
|
|
170
169
|
"""
|
|
171
170
|
__args__ = dict()
|
|
172
171
|
__args__['filters'] = filters
|
|
@@ -184,8 +183,8 @@ def get_firewalls(filters: Optional[Sequence[Union['GetFirewallsFilterArgs', 'Ge
|
|
|
184
183
|
order_by=pulumi.get(__ret__, 'order_by'))
|
|
185
184
|
def get_firewalls_output(filters: Optional[pulumi.Input[Optional[Sequence[Union['GetFirewallsFilterArgs', 'GetFirewallsFilterArgsDict']]]]] = None,
|
|
186
185
|
firewalls: Optional[pulumi.Input[Optional[Sequence[Union['GetFirewallsFirewallArgs', 'GetFirewallsFirewallArgsDict']]]]] = None,
|
|
187
|
-
order: Optional[pulumi.Input[Optional[
|
|
188
|
-
order_by: Optional[pulumi.Input[Optional[
|
|
186
|
+
order: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
187
|
+
order_by: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
189
188
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetFirewallsResult]:
|
|
190
189
|
"""
|
|
191
190
|
Provides information about Linode Cloud Firewalls that match a set of filters.
|
|
@@ -259,8 +258,8 @@ def get_firewalls_output(filters: Optional[pulumi.Input[Optional[Sequence[Union[
|
|
|
259
258
|
* `tags`
|
|
260
259
|
|
|
261
260
|
|
|
262
|
-
:param
|
|
263
|
-
:param
|
|
261
|
+
:param _builtins.str order: The order in which results should be returned. (`asc`, `desc`; default `asc`)
|
|
262
|
+
:param _builtins.str order_by: The attribute to order the results by. See the Filterable Fields section for a list of valid fields.
|
|
264
263
|
"""
|
|
265
264
|
__args__ = dict()
|
|
266
265
|
__args__['filters'] = filters
|
pulumi_linode/get_image.py
CHANGED
|
@@ -2,8 +2,7 @@
|
|
|
2
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 builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -79,70 +78,70 @@ class GetImageResult:
|
|
|
79
78
|
raise TypeError("Expected argument 'vendor' to be a str")
|
|
80
79
|
pulumi.set(__self__, "vendor", vendor)
|
|
81
80
|
|
|
82
|
-
@property
|
|
81
|
+
@_builtins.property
|
|
83
82
|
@pulumi.getter
|
|
84
|
-
def capabilities(self) -> Sequence[
|
|
83
|
+
def capabilities(self) -> Sequence[_builtins.str]:
|
|
85
84
|
return pulumi.get(self, "capabilities")
|
|
86
85
|
|
|
87
|
-
@property
|
|
86
|
+
@_builtins.property
|
|
88
87
|
@pulumi.getter
|
|
89
|
-
def created(self) ->
|
|
88
|
+
def created(self) -> _builtins.str:
|
|
90
89
|
"""
|
|
91
90
|
When this Image was created.
|
|
92
91
|
"""
|
|
93
92
|
return pulumi.get(self, "created")
|
|
94
93
|
|
|
95
|
-
@property
|
|
94
|
+
@_builtins.property
|
|
96
95
|
@pulumi.getter(name="createdBy")
|
|
97
|
-
def created_by(self) ->
|
|
96
|
+
def created_by(self) -> _builtins.str:
|
|
98
97
|
"""
|
|
99
98
|
The name of the User who created this Image, or "linode" for official Images.
|
|
100
99
|
"""
|
|
101
100
|
return pulumi.get(self, "created_by")
|
|
102
101
|
|
|
103
|
-
@property
|
|
102
|
+
@_builtins.property
|
|
104
103
|
@pulumi.getter
|
|
105
|
-
def deprecated(self) ->
|
|
104
|
+
def deprecated(self) -> _builtins.bool:
|
|
106
105
|
"""
|
|
107
106
|
Whether or not this Image is deprecated. Will only be true for deprecated public Images.
|
|
108
107
|
"""
|
|
109
108
|
return pulumi.get(self, "deprecated")
|
|
110
109
|
|
|
111
|
-
@property
|
|
110
|
+
@_builtins.property
|
|
112
111
|
@pulumi.getter
|
|
113
|
-
def description(self) ->
|
|
112
|
+
def description(self) -> _builtins.str:
|
|
114
113
|
"""
|
|
115
114
|
A detailed description of this Image.
|
|
116
115
|
"""
|
|
117
116
|
return pulumi.get(self, "description")
|
|
118
117
|
|
|
119
|
-
@property
|
|
118
|
+
@_builtins.property
|
|
120
119
|
@pulumi.getter
|
|
121
|
-
def expiry(self) ->
|
|
120
|
+
def expiry(self) -> _builtins.str:
|
|
122
121
|
return pulumi.get(self, "expiry")
|
|
123
122
|
|
|
124
|
-
@property
|
|
123
|
+
@_builtins.property
|
|
125
124
|
@pulumi.getter
|
|
126
|
-
def id(self) ->
|
|
125
|
+
def id(self) -> _builtins.str:
|
|
127
126
|
return pulumi.get(self, "id")
|
|
128
127
|
|
|
129
|
-
@property
|
|
128
|
+
@_builtins.property
|
|
130
129
|
@pulumi.getter(name="isPublic")
|
|
131
|
-
def is_public(self) ->
|
|
130
|
+
def is_public(self) -> _builtins.bool:
|
|
132
131
|
"""
|
|
133
132
|
True if the Image is public.
|
|
134
133
|
"""
|
|
135
134
|
return pulumi.get(self, "is_public")
|
|
136
135
|
|
|
137
|
-
@property
|
|
136
|
+
@_builtins.property
|
|
138
137
|
@pulumi.getter
|
|
139
|
-
def label(self) ->
|
|
138
|
+
def label(self) -> _builtins.str:
|
|
140
139
|
"""
|
|
141
140
|
A short description of the Image.
|
|
142
141
|
"""
|
|
143
142
|
return pulumi.get(self, "label")
|
|
144
143
|
|
|
145
|
-
@property
|
|
144
|
+
@_builtins.property
|
|
146
145
|
@pulumi.getter
|
|
147
146
|
def replications(self) -> Optional[Sequence['outputs.GetImageReplicationResult']]:
|
|
148
147
|
"""
|
|
@@ -150,49 +149,49 @@ class GetImageResult:
|
|
|
150
149
|
"""
|
|
151
150
|
return pulumi.get(self, "replications")
|
|
152
151
|
|
|
153
|
-
@property
|
|
152
|
+
@_builtins.property
|
|
154
153
|
@pulumi.getter
|
|
155
|
-
def size(self) ->
|
|
154
|
+
def size(self) -> _builtins.int:
|
|
156
155
|
"""
|
|
157
156
|
The minimum size this Image needs to deploy. Size is in MB. example: 2500
|
|
158
157
|
"""
|
|
159
158
|
return pulumi.get(self, "size")
|
|
160
159
|
|
|
161
|
-
@property
|
|
160
|
+
@_builtins.property
|
|
162
161
|
@pulumi.getter
|
|
163
|
-
def status(self) ->
|
|
162
|
+
def status(self) -> _builtins.str:
|
|
164
163
|
"""
|
|
165
164
|
The status of an image replica.
|
|
166
165
|
"""
|
|
167
166
|
return pulumi.get(self, "status")
|
|
168
167
|
|
|
169
|
-
@property
|
|
168
|
+
@_builtins.property
|
|
170
169
|
@pulumi.getter
|
|
171
|
-
def tags(self) -> Sequence[
|
|
170
|
+
def tags(self) -> Sequence[_builtins.str]:
|
|
172
171
|
"""
|
|
173
172
|
A list of customized tags.
|
|
174
173
|
"""
|
|
175
174
|
return pulumi.get(self, "tags")
|
|
176
175
|
|
|
177
|
-
@property
|
|
176
|
+
@_builtins.property
|
|
178
177
|
@pulumi.getter(name="totalSize")
|
|
179
|
-
def total_size(self) ->
|
|
178
|
+
def total_size(self) -> _builtins.int:
|
|
180
179
|
"""
|
|
181
180
|
The total size of the image in all available regions.
|
|
182
181
|
"""
|
|
183
182
|
return pulumi.get(self, "total_size")
|
|
184
183
|
|
|
185
|
-
@property
|
|
184
|
+
@_builtins.property
|
|
186
185
|
@pulumi.getter
|
|
187
|
-
def type(self) ->
|
|
186
|
+
def type(self) -> _builtins.str:
|
|
188
187
|
"""
|
|
189
188
|
How the Image was created. Manual Images can be created at any time. "Automatic" Images are created automatically from a deleted Linode. (`manual`, `automatic`)
|
|
190
189
|
"""
|
|
191
190
|
return pulumi.get(self, "type")
|
|
192
191
|
|
|
193
|
-
@property
|
|
192
|
+
@_builtins.property
|
|
194
193
|
@pulumi.getter
|
|
195
|
-
def vendor(self) ->
|
|
194
|
+
def vendor(self) -> _builtins.str:
|
|
196
195
|
"""
|
|
197
196
|
The upstream distribution vendor. `None` for private Images.
|
|
198
197
|
"""
|
|
@@ -223,7 +222,7 @@ class AwaitableGetImageResult(GetImageResult):
|
|
|
223
222
|
vendor=self.vendor)
|
|
224
223
|
|
|
225
224
|
|
|
226
|
-
def get_image(id: Optional[
|
|
225
|
+
def get_image(id: Optional[_builtins.str] = None,
|
|
227
226
|
replications: Optional[Sequence[Union['GetImageReplicationArgs', 'GetImageReplicationArgsDict']]] = None,
|
|
228
227
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetImageResult:
|
|
229
228
|
"""
|
|
@@ -242,7 +241,7 @@ def get_image(id: Optional[builtins.str] = None,
|
|
|
242
241
|
```
|
|
243
242
|
|
|
244
243
|
|
|
245
|
-
:param
|
|
244
|
+
:param _builtins.str id: The unique ID of this Image. The ID of private images begin with `private/` followed by the numeric identifier of the private image, for example `private/12345`.
|
|
246
245
|
:param Sequence[Union['GetImageReplicationArgs', 'GetImageReplicationArgsDict']] replications: A list of image replication regions and corresponding status.
|
|
247
246
|
"""
|
|
248
247
|
__args__ = dict()
|
|
@@ -268,7 +267,7 @@ def get_image(id: Optional[builtins.str] = None,
|
|
|
268
267
|
total_size=pulumi.get(__ret__, 'total_size'),
|
|
269
268
|
type=pulumi.get(__ret__, 'type'),
|
|
270
269
|
vendor=pulumi.get(__ret__, 'vendor'))
|
|
271
|
-
def get_image_output(id: Optional[pulumi.Input[
|
|
270
|
+
def get_image_output(id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
272
271
|
replications: Optional[pulumi.Input[Optional[Sequence[Union['GetImageReplicationArgs', 'GetImageReplicationArgsDict']]]]] = None,
|
|
273
272
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetImageResult]:
|
|
274
273
|
"""
|
|
@@ -287,7 +286,7 @@ def get_image_output(id: Optional[pulumi.Input[builtins.str]] = None,
|
|
|
287
286
|
```
|
|
288
287
|
|
|
289
288
|
|
|
290
|
-
:param
|
|
289
|
+
:param _builtins.str id: The unique ID of this Image. The ID of private images begin with `private/` followed by the numeric identifier of the private image, for example `private/12345`.
|
|
291
290
|
:param Sequence[Union['GetImageReplicationArgs', 'GetImageReplicationArgsDict']] replications: A list of image replication regions and corresponding status.
|
|
292
291
|
"""
|
|
293
292
|
__args__ = dict()
|
pulumi_linode/get_images.py
CHANGED
|
@@ -2,8 +2,7 @@
|
|
|
2
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 builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -49,37 +48,37 @@ class GetImagesResult:
|
|
|
49
48
|
raise TypeError("Expected argument 'order_by' to be a str")
|
|
50
49
|
pulumi.set(__self__, "order_by", order_by)
|
|
51
50
|
|
|
52
|
-
@property
|
|
51
|
+
@_builtins.property
|
|
53
52
|
@pulumi.getter
|
|
54
53
|
def filters(self) -> Optional[Sequence['outputs.GetImagesFilterResult']]:
|
|
55
54
|
return pulumi.get(self, "filters")
|
|
56
55
|
|
|
57
|
-
@property
|
|
56
|
+
@_builtins.property
|
|
58
57
|
@pulumi.getter
|
|
59
|
-
def id(self) ->
|
|
58
|
+
def id(self) -> _builtins.str:
|
|
60
59
|
"""
|
|
61
60
|
The unique ID of this Image. The ID of private images begin with `private/` followed by the numeric identifier of the private image, for example `private/12345`.
|
|
62
61
|
"""
|
|
63
62
|
return pulumi.get(self, "id")
|
|
64
63
|
|
|
65
|
-
@property
|
|
64
|
+
@_builtins.property
|
|
66
65
|
@pulumi.getter
|
|
67
66
|
def images(self) -> Optional[Sequence['outputs.GetImagesImageResult']]:
|
|
68
67
|
return pulumi.get(self, "images")
|
|
69
68
|
|
|
70
|
-
@property
|
|
69
|
+
@_builtins.property
|
|
71
70
|
@pulumi.getter
|
|
72
|
-
def latest(self) -> Optional[
|
|
71
|
+
def latest(self) -> Optional[_builtins.bool]:
|
|
73
72
|
return pulumi.get(self, "latest")
|
|
74
73
|
|
|
75
|
-
@property
|
|
74
|
+
@_builtins.property
|
|
76
75
|
@pulumi.getter
|
|
77
|
-
def order(self) -> Optional[
|
|
76
|
+
def order(self) -> Optional[_builtins.str]:
|
|
78
77
|
return pulumi.get(self, "order")
|
|
79
78
|
|
|
80
|
-
@property
|
|
79
|
+
@_builtins.property
|
|
81
80
|
@pulumi.getter(name="orderBy")
|
|
82
|
-
def order_by(self) -> Optional[
|
|
81
|
+
def order_by(self) -> Optional[_builtins.str]:
|
|
83
82
|
return pulumi.get(self, "order_by")
|
|
84
83
|
|
|
85
84
|
|
|
@@ -99,9 +98,9 @@ class AwaitableGetImagesResult(GetImagesResult):
|
|
|
99
98
|
|
|
100
99
|
def get_images(filters: Optional[Sequence[Union['GetImagesFilterArgs', 'GetImagesFilterArgsDict']]] = None,
|
|
101
100
|
images: Optional[Sequence[Union['GetImagesImageArgs', 'GetImagesImageArgsDict']]] = None,
|
|
102
|
-
latest: Optional[
|
|
103
|
-
order: Optional[
|
|
104
|
-
order_by: Optional[
|
|
101
|
+
latest: Optional[_builtins.bool] = None,
|
|
102
|
+
order: Optional[_builtins.str] = None,
|
|
103
|
+
order_by: Optional[_builtins.str] = None,
|
|
105
104
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetImagesResult:
|
|
106
105
|
"""
|
|
107
106
|
Provides information about Linode images that match a set of filters.
|
|
@@ -161,11 +160,11 @@ def get_images(filters: Optional[Sequence[Union['GetImagesFilterArgs', 'GetImage
|
|
|
161
160
|
* `tags`
|
|
162
161
|
|
|
163
162
|
|
|
164
|
-
:param
|
|
163
|
+
:param _builtins.bool latest: If true, only the latest image will be returned. Images without a valid `created` field are not included in the result.
|
|
165
164
|
|
|
166
165
|
* `filter` - (Optional) A set of filters used to select Linode images that meet certain requirements.
|
|
167
|
-
:param
|
|
168
|
-
:param
|
|
166
|
+
:param _builtins.str order: The order in which results should be returned. (`asc`, `desc`; default `asc`)
|
|
167
|
+
:param _builtins.str order_by: The attribute to order the results by. See the Filterable Fields section for a list of valid fields.
|
|
169
168
|
"""
|
|
170
169
|
__args__ = dict()
|
|
171
170
|
__args__['filters'] = filters
|
|
@@ -185,9 +184,9 @@ def get_images(filters: Optional[Sequence[Union['GetImagesFilterArgs', 'GetImage
|
|
|
185
184
|
order_by=pulumi.get(__ret__, 'order_by'))
|
|
186
185
|
def get_images_output(filters: Optional[pulumi.Input[Optional[Sequence[Union['GetImagesFilterArgs', 'GetImagesFilterArgsDict']]]]] = None,
|
|
187
186
|
images: Optional[pulumi.Input[Optional[Sequence[Union['GetImagesImageArgs', 'GetImagesImageArgsDict']]]]] = None,
|
|
188
|
-
latest: Optional[pulumi.Input[Optional[
|
|
189
|
-
order: Optional[pulumi.Input[Optional[
|
|
190
|
-
order_by: Optional[pulumi.Input[Optional[
|
|
187
|
+
latest: Optional[pulumi.Input[Optional[_builtins.bool]]] = None,
|
|
188
|
+
order: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
189
|
+
order_by: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
191
190
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetImagesResult]:
|
|
192
191
|
"""
|
|
193
192
|
Provides information about Linode images that match a set of filters.
|
|
@@ -247,11 +246,11 @@ def get_images_output(filters: Optional[pulumi.Input[Optional[Sequence[Union['Ge
|
|
|
247
246
|
* `tags`
|
|
248
247
|
|
|
249
248
|
|
|
250
|
-
:param
|
|
249
|
+
:param _builtins.bool latest: If true, only the latest image will be returned. Images without a valid `created` field are not included in the result.
|
|
251
250
|
|
|
252
251
|
* `filter` - (Optional) A set of filters used to select Linode images that meet certain requirements.
|
|
253
|
-
:param
|
|
254
|
-
:param
|
|
252
|
+
:param _builtins.str order: The order in which results should be returned. (`asc`, `desc`; default `asc`)
|
|
253
|
+
:param _builtins.str order_by: The attribute to order the results by. See the Filterable Fields section for a list of valid fields.
|
|
255
254
|
"""
|
|
256
255
|
__args__ = dict()
|
|
257
256
|
__args__['filters'] = filters
|
|
@@ -2,8 +2,7 @@
|
|
|
2
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 builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -45,32 +44,32 @@ class GetInstanceBackupsResult:
|
|
|
45
44
|
raise TypeError("Expected argument 'linode_id' to be a int")
|
|
46
45
|
pulumi.set(__self__, "linode_id", linode_id)
|
|
47
46
|
|
|
48
|
-
@property
|
|
47
|
+
@_builtins.property
|
|
49
48
|
@pulumi.getter
|
|
50
49
|
def automatics(self) -> Sequence['outputs.GetInstanceBackupsAutomaticResult']:
|
|
51
50
|
return pulumi.get(self, "automatics")
|
|
52
51
|
|
|
53
|
-
@property
|
|
52
|
+
@_builtins.property
|
|
54
53
|
@pulumi.getter
|
|
55
54
|
def currents(self) -> Sequence['outputs.GetInstanceBackupsCurrentResult']:
|
|
56
55
|
return pulumi.get(self, "currents")
|
|
57
56
|
|
|
58
|
-
@property
|
|
57
|
+
@_builtins.property
|
|
59
58
|
@pulumi.getter
|
|
60
|
-
def id(self) ->
|
|
59
|
+
def id(self) -> _builtins.int:
|
|
61
60
|
"""
|
|
62
61
|
The unique ID of this Backup.
|
|
63
62
|
"""
|
|
64
63
|
return pulumi.get(self, "id")
|
|
65
64
|
|
|
66
|
-
@property
|
|
65
|
+
@_builtins.property
|
|
67
66
|
@pulumi.getter(name="inProgresses")
|
|
68
67
|
def in_progresses(self) -> Sequence['outputs.GetInstanceBackupsInProgressResult']:
|
|
69
68
|
return pulumi.get(self, "in_progresses")
|
|
70
69
|
|
|
71
|
-
@property
|
|
70
|
+
@_builtins.property
|
|
72
71
|
@pulumi.getter(name="linodeId")
|
|
73
|
-
def linode_id(self) ->
|
|
72
|
+
def linode_id(self) -> _builtins.int:
|
|
74
73
|
return pulumi.get(self, "linode_id")
|
|
75
74
|
|
|
76
75
|
|
|
@@ -87,7 +86,7 @@ class AwaitableGetInstanceBackupsResult(GetInstanceBackupsResult):
|
|
|
87
86
|
linode_id=self.linode_id)
|
|
88
87
|
|
|
89
88
|
|
|
90
|
-
def get_instance_backups(linode_id: Optional[
|
|
89
|
+
def get_instance_backups(linode_id: Optional[_builtins.int] = None,
|
|
91
90
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetInstanceBackupsResult:
|
|
92
91
|
"""
|
|
93
92
|
Provides details about the backups of an Instance.
|
|
@@ -103,7 +102,7 @@ def get_instance_backups(linode_id: Optional[builtins.int] = None,
|
|
|
103
102
|
```
|
|
104
103
|
|
|
105
104
|
|
|
106
|
-
:param
|
|
105
|
+
:param _builtins.int linode_id: The Linode instance's ID.
|
|
107
106
|
"""
|
|
108
107
|
__args__ = dict()
|
|
109
108
|
__args__['linodeId'] = linode_id
|
|
@@ -116,7 +115,7 @@ def get_instance_backups(linode_id: Optional[builtins.int] = None,
|
|
|
116
115
|
id=pulumi.get(__ret__, 'id'),
|
|
117
116
|
in_progresses=pulumi.get(__ret__, 'in_progresses'),
|
|
118
117
|
linode_id=pulumi.get(__ret__, 'linode_id'))
|
|
119
|
-
def get_instance_backups_output(linode_id: Optional[pulumi.Input[
|
|
118
|
+
def get_instance_backups_output(linode_id: Optional[pulumi.Input[_builtins.int]] = None,
|
|
120
119
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetInstanceBackupsResult]:
|
|
121
120
|
"""
|
|
122
121
|
Provides details about the backups of an Instance.
|
|
@@ -132,7 +131,7 @@ def get_instance_backups_output(linode_id: Optional[pulumi.Input[builtins.int]]
|
|
|
132
131
|
```
|
|
133
132
|
|
|
134
133
|
|
|
135
|
-
:param
|
|
134
|
+
:param _builtins.int linode_id: The Linode instance's ID.
|
|
136
135
|
"""
|
|
137
136
|
__args__ = dict()
|
|
138
137
|
__args__['linodeId'] = linode_id
|