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.

Files changed (125) hide show
  1. pulumi_linode/__init__.py +1 -1
  2. pulumi_linode/_inputs.py +5224 -5147
  3. pulumi_linode/account_settings.py +70 -71
  4. pulumi_linode/config/__init__.py +1 -1
  5. pulumi_linode/config/__init__.pyi +1 -2
  6. pulumi_linode/config/vars.py +21 -22
  7. pulumi_linode/database_access_controls.py +52 -53
  8. pulumi_linode/database_mysql.py +247 -248
  9. pulumi_linode/database_mysql_v2.py +782 -783
  10. pulumi_linode/database_postgresql.py +273 -274
  11. pulumi_linode/database_postgresql_v2.py +1105 -1106
  12. pulumi_linode/domain.py +222 -223
  13. pulumi_linode/domain_record.py +188 -189
  14. pulumi_linode/firewall.py +155 -156
  15. pulumi_linode/firewall_device.py +70 -71
  16. pulumi_linode/get_account.py +33 -34
  17. pulumi_linode/get_account_availabilities.py +5 -6
  18. pulumi_linode/get_account_availability.py +13 -14
  19. pulumi_linode/get_account_login.py +17 -18
  20. pulumi_linode/get_account_logins.py +5 -6
  21. pulumi_linode/get_account_settings.py +13 -14
  22. pulumi_linode/get_child_account.py +37 -38
  23. pulumi_linode/get_child_accounts.py +5 -6
  24. pulumi_linode/get_database_backups.py +35 -36
  25. pulumi_linode/get_database_engines.py +23 -24
  26. pulumi_linode/get_database_mysql.py +52 -53
  27. pulumi_linode/get_database_mysql_backups.py +29 -30
  28. pulumi_linode/get_database_mysql_config.py +5 -6
  29. pulumi_linode/get_database_mysql_v2.py +115 -116
  30. pulumi_linode/get_database_postgresql.py +56 -57
  31. pulumi_linode/get_database_postgresql_config.py +7 -8
  32. pulumi_linode/get_database_postgresql_v2.py +153 -154
  33. pulumi_linode/get_databases.py +17 -18
  34. pulumi_linode/get_domain.py +37 -38
  35. pulumi_linode/get_domain_record.py +37 -38
  36. pulumi_linode/get_domain_zonefile.py +11 -12
  37. pulumi_linode/get_domains.py +17 -18
  38. pulumi_linode/get_firewall.py +30 -31
  39. pulumi_linode/get_firewalls.py +17 -18
  40. pulumi_linode/get_image.py +36 -37
  41. pulumi_linode/get_images.py +23 -24
  42. pulumi_linode/get_instance_backups.py +12 -13
  43. pulumi_linode/get_instance_networking.py +11 -12
  44. pulumi_linode/get_instance_type.py +30 -31
  45. pulumi_linode/get_instance_types.py +17 -18
  46. pulumi_linode/get_instances.py +17 -18
  47. pulumi_linode/get_ipv6_range.py +17 -18
  48. pulumi_linode/get_ipv6_ranges.py +5 -6
  49. pulumi_linode/get_kernel.py +23 -24
  50. pulumi_linode/get_kernels.py +17 -18
  51. pulumi_linode/get_linode_object_storage_bucket.py +33 -34
  52. pulumi_linode/get_lke_cluster.py +34 -35
  53. pulumi_linode/get_lke_clusters.py +17 -18
  54. pulumi_linode/get_lke_types.py +17 -18
  55. pulumi_linode/get_lke_version.py +13 -14
  56. pulumi_linode/get_lke_versions.py +10 -11
  57. pulumi_linode/get_nb_types.py +13 -14
  58. pulumi_linode/get_network_transfer_prices.py +17 -18
  59. pulumi_linode/get_networking_ip.py +28 -29
  60. pulumi_linode/get_networking_ips.py +17 -18
  61. pulumi_linode/get_node_balancer.py +29 -30
  62. pulumi_linode/get_node_balancer_config.py +48 -49
  63. pulumi_linode/get_node_balancer_node.py +29 -30
  64. pulumi_linode/get_nodebalancer_configs.py +23 -24
  65. pulumi_linode/get_nodebalancers.py +17 -18
  66. pulumi_linode/get_object_storage_cluster.py +15 -16
  67. pulumi_linode/get_object_storage_endpoints.py +17 -18
  68. pulumi_linode/get_object_storage_quota.py +22 -23
  69. pulumi_linode/get_object_storage_quotas.py +5 -6
  70. pulumi_linode/get_placement_group.py +19 -20
  71. pulumi_linode/get_placement_groups.py +13 -14
  72. pulumi_linode/get_profile.py +22 -23
  73. pulumi_linode/get_region.py +19 -20
  74. pulumi_linode/get_regions.py +5 -6
  75. pulumi_linode/get_ssh_key.py +17 -18
  76. pulumi_linode/get_sshkeys.py +17 -18
  77. pulumi_linode/get_stack_script.py +32 -33
  78. pulumi_linode/get_stack_scripts.py +23 -24
  79. pulumi_linode/get_user.py +35 -36
  80. pulumi_linode/get_users.py +17 -18
  81. pulumi_linode/get_vlans.py +17 -18
  82. pulumi_linode/get_volume.py +27 -28
  83. pulumi_linode/get_volume_types.py +17 -18
  84. pulumi_linode/get_volumes.py +17 -18
  85. pulumi_linode/get_vpc.py +17 -18
  86. pulumi_linode/get_vpc_ips.py +11 -12
  87. pulumi_linode/get_vpc_subnet.py +22 -23
  88. pulumi_linode/get_vpc_subnets.py +11 -12
  89. pulumi_linode/get_vpcs.py +5 -6
  90. pulumi_linode/image.py +292 -293
  91. pulumi_linode/instance.py +520 -521
  92. pulumi_linode/instance_config.py +166 -167
  93. pulumi_linode/instance_disk.py +210 -211
  94. pulumi_linode/instance_ip.py +125 -126
  95. pulumi_linode/instance_shared_ips.py +35 -36
  96. pulumi_linode/ipv6_range.py +88 -89
  97. pulumi_linode/lke_cluster.py +162 -163
  98. pulumi_linode/lke_node_pool.py +137 -138
  99. pulumi_linode/networking_ip.py +133 -134
  100. pulumi_linode/networking_ip_assignment.py +21 -22
  101. pulumi_linode/node_balancer.py +152 -153
  102. pulumi_linode/node_balancer_config.py +319 -320
  103. pulumi_linode/node_balancer_node.py +112 -113
  104. pulumi_linode/object_storage_bucket.py +195 -196
  105. pulumi_linode/object_storage_key.py +67 -68
  106. pulumi_linode/object_storage_object.py +350 -351
  107. pulumi_linode/outputs.py +5340 -5291
  108. pulumi_linode/placement_group.py +80 -81
  109. pulumi_linode/placement_group_assignment.py +48 -49
  110. pulumi_linode/provider.py +180 -181
  111. pulumi_linode/pulumi-plugin.json +1 -1
  112. pulumi_linode/rdns.py +55 -56
  113. pulumi_linode/reserved_ip_assignment.py +142 -143
  114. pulumi_linode/ssh_key.py +44 -45
  115. pulumi_linode/stack_script.py +159 -160
  116. pulumi_linode/token.py +70 -71
  117. pulumi_linode/user.py +112 -113
  118. pulumi_linode/volume.py +141 -142
  119. pulumi_linode/vpc.py +70 -71
  120. pulumi_linode/vpc_subnet.py +72 -73
  121. {pulumi_linode-5.1.0a1752772340.dist-info → pulumi_linode-5.1.1.dist-info}/METADATA +1 -1
  122. pulumi_linode-5.1.1.dist-info/RECORD +126 -0
  123. pulumi_linode-5.1.0a1752772340.dist-info/RECORD +0 -126
  124. {pulumi_linode-5.1.0a1752772340.dist-info → pulumi_linode-5.1.1.dist-info}/WHEEL +0 -0
  125. {pulumi_linode-5.1.0a1752772340.dist-info → pulumi_linode-5.1.1.dist-info}/top_level.txt +0 -0
pulumi_linode/token.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
@@ -20,14 +19,14 @@ __all__ = ['TokenArgs', 'Token']
20
19
  @pulumi.input_type
21
20
  class TokenArgs:
22
21
  def __init__(__self__, *,
23
- scopes: pulumi.Input[builtins.str],
24
- expiry: Optional[pulumi.Input[builtins.str]] = None,
25
- label: Optional[pulumi.Input[builtins.str]] = None):
22
+ scopes: pulumi.Input[_builtins.str],
23
+ expiry: Optional[pulumi.Input[_builtins.str]] = None,
24
+ label: Optional[pulumi.Input[_builtins.str]] = None):
26
25
  """
27
26
  The set of arguments for constructing a Token resource.
28
- :param pulumi.Input[builtins.str] scopes: The scopes this token was created with. These define what parts of the Account the token can be used to access. Many command-line tools, such as the Linode CLI, require tokens with access to *. Tokens with more restrictive scopes are generally more secure. All scopes can be viewed in [the Linode API documentation](https://techdocs.akamai.com/linode-api/reference/get-started#oauth-reference).
29
- :param pulumi.Input[builtins.str] expiry: When this token will expire. Personal Access Tokens cannot be renewed, so after this time the token will be completely unusable and a new token will need to be generated. Tokens may be created with 'null' as their expiry and will never expire unless revoked.
30
- :param pulumi.Input[builtins.str] label: A label for the Token.
27
+ :param pulumi.Input[_builtins.str] scopes: The scopes this token was created with. These define what parts of the Account the token can be used to access. Many command-line tools, such as the Linode CLI, require tokens with access to *. Tokens with more restrictive scopes are generally more secure. All scopes can be viewed in [the Linode API documentation](https://techdocs.akamai.com/linode-api/reference/get-started#oauth-reference).
28
+ :param pulumi.Input[_builtins.str] expiry: When this token will expire. Personal Access Tokens cannot be renewed, so after this time the token will be completely unusable and a new token will need to be generated. Tokens may be created with 'null' as their expiry and will never expire unless revoked.
29
+ :param pulumi.Input[_builtins.str] label: A label for the Token.
31
30
  """
32
31
  pulumi.set(__self__, "scopes", scopes)
33
32
  if expiry is not None:
@@ -35,58 +34,58 @@ class TokenArgs:
35
34
  if label is not None:
36
35
  pulumi.set(__self__, "label", label)
37
36
 
38
- @property
37
+ @_builtins.property
39
38
  @pulumi.getter
40
- def scopes(self) -> pulumi.Input[builtins.str]:
39
+ def scopes(self) -> pulumi.Input[_builtins.str]:
41
40
  """
42
41
  The scopes this token was created with. These define what parts of the Account the token can be used to access. Many command-line tools, such as the Linode CLI, require tokens with access to *. Tokens with more restrictive scopes are generally more secure. All scopes can be viewed in [the Linode API documentation](https://techdocs.akamai.com/linode-api/reference/get-started#oauth-reference).
43
42
  """
44
43
  return pulumi.get(self, "scopes")
45
44
 
46
45
  @scopes.setter
47
- def scopes(self, value: pulumi.Input[builtins.str]):
46
+ def scopes(self, value: pulumi.Input[_builtins.str]):
48
47
  pulumi.set(self, "scopes", value)
49
48
 
50
- @property
49
+ @_builtins.property
51
50
  @pulumi.getter
52
- def expiry(self) -> Optional[pulumi.Input[builtins.str]]:
51
+ def expiry(self) -> Optional[pulumi.Input[_builtins.str]]:
53
52
  """
54
53
  When this token will expire. Personal Access Tokens cannot be renewed, so after this time the token will be completely unusable and a new token will need to be generated. Tokens may be created with 'null' as their expiry and will never expire unless revoked.
55
54
  """
56
55
  return pulumi.get(self, "expiry")
57
56
 
58
57
  @expiry.setter
59
- def expiry(self, value: Optional[pulumi.Input[builtins.str]]):
58
+ def expiry(self, value: Optional[pulumi.Input[_builtins.str]]):
60
59
  pulumi.set(self, "expiry", value)
61
60
 
62
- @property
61
+ @_builtins.property
63
62
  @pulumi.getter
64
- def label(self) -> Optional[pulumi.Input[builtins.str]]:
63
+ def label(self) -> Optional[pulumi.Input[_builtins.str]]:
65
64
  """
66
65
  A label for the Token.
67
66
  """
68
67
  return pulumi.get(self, "label")
69
68
 
70
69
  @label.setter
71
- def label(self, value: Optional[pulumi.Input[builtins.str]]):
70
+ def label(self, value: Optional[pulumi.Input[_builtins.str]]):
72
71
  pulumi.set(self, "label", value)
73
72
 
74
73
 
75
74
  @pulumi.input_type
76
75
  class _TokenState:
77
76
  def __init__(__self__, *,
78
- created: Optional[pulumi.Input[builtins.str]] = None,
79
- expiry: Optional[pulumi.Input[builtins.str]] = None,
80
- label: Optional[pulumi.Input[builtins.str]] = None,
81
- scopes: Optional[pulumi.Input[builtins.str]] = None,
82
- token: Optional[pulumi.Input[builtins.str]] = None):
77
+ created: Optional[pulumi.Input[_builtins.str]] = None,
78
+ expiry: Optional[pulumi.Input[_builtins.str]] = None,
79
+ label: Optional[pulumi.Input[_builtins.str]] = None,
80
+ scopes: Optional[pulumi.Input[_builtins.str]] = None,
81
+ token: Optional[pulumi.Input[_builtins.str]] = None):
83
82
  """
84
83
  Input properties used for looking up and filtering Token resources.
85
- :param pulumi.Input[builtins.str] created: The date this Token was created.
86
- :param pulumi.Input[builtins.str] expiry: When this token will expire. Personal Access Tokens cannot be renewed, so after this time the token will be completely unusable and a new token will need to be generated. Tokens may be created with 'null' as their expiry and will never expire unless revoked.
87
- :param pulumi.Input[builtins.str] label: A label for the Token.
88
- :param pulumi.Input[builtins.str] scopes: The scopes this token was created with. These define what parts of the Account the token can be used to access. Many command-line tools, such as the Linode CLI, require tokens with access to *. Tokens with more restrictive scopes are generally more secure. All scopes can be viewed in [the Linode API documentation](https://techdocs.akamai.com/linode-api/reference/get-started#oauth-reference).
89
- :param pulumi.Input[builtins.str] token: The token used to access the API.
84
+ :param pulumi.Input[_builtins.str] created: The date this Token was created.
85
+ :param pulumi.Input[_builtins.str] expiry: When this token will expire. Personal Access Tokens cannot be renewed, so after this time the token will be completely unusable and a new token will need to be generated. Tokens may be created with 'null' as their expiry and will never expire unless revoked.
86
+ :param pulumi.Input[_builtins.str] label: A label for the Token.
87
+ :param pulumi.Input[_builtins.str] scopes: The scopes this token was created with. These define what parts of the Account the token can be used to access. Many command-line tools, such as the Linode CLI, require tokens with access to *. Tokens with more restrictive scopes are generally more secure. All scopes can be viewed in [the Linode API documentation](https://techdocs.akamai.com/linode-api/reference/get-started#oauth-reference).
88
+ :param pulumi.Input[_builtins.str] token: The token used to access the API.
90
89
  """
91
90
  if created is not None:
92
91
  pulumi.set(__self__, "created", created)
@@ -99,64 +98,64 @@ class _TokenState:
99
98
  if token is not None:
100
99
  pulumi.set(__self__, "token", token)
101
100
 
102
- @property
101
+ @_builtins.property
103
102
  @pulumi.getter
104
- def created(self) -> Optional[pulumi.Input[builtins.str]]:
103
+ def created(self) -> Optional[pulumi.Input[_builtins.str]]:
105
104
  """
106
105
  The date this Token was created.
107
106
  """
108
107
  return pulumi.get(self, "created")
109
108
 
110
109
  @created.setter
111
- def created(self, value: Optional[pulumi.Input[builtins.str]]):
110
+ def created(self, value: Optional[pulumi.Input[_builtins.str]]):
112
111
  pulumi.set(self, "created", value)
113
112
 
114
- @property
113
+ @_builtins.property
115
114
  @pulumi.getter
116
- def expiry(self) -> Optional[pulumi.Input[builtins.str]]:
115
+ def expiry(self) -> Optional[pulumi.Input[_builtins.str]]:
117
116
  """
118
117
  When this token will expire. Personal Access Tokens cannot be renewed, so after this time the token will be completely unusable and a new token will need to be generated. Tokens may be created with 'null' as their expiry and will never expire unless revoked.
119
118
  """
120
119
  return pulumi.get(self, "expiry")
121
120
 
122
121
  @expiry.setter
123
- def expiry(self, value: Optional[pulumi.Input[builtins.str]]):
122
+ def expiry(self, value: Optional[pulumi.Input[_builtins.str]]):
124
123
  pulumi.set(self, "expiry", value)
125
124
 
126
- @property
125
+ @_builtins.property
127
126
  @pulumi.getter
128
- def label(self) -> Optional[pulumi.Input[builtins.str]]:
127
+ def label(self) -> Optional[pulumi.Input[_builtins.str]]:
129
128
  """
130
129
  A label for the Token.
131
130
  """
132
131
  return pulumi.get(self, "label")
133
132
 
134
133
  @label.setter
135
- def label(self, value: Optional[pulumi.Input[builtins.str]]):
134
+ def label(self, value: Optional[pulumi.Input[_builtins.str]]):
136
135
  pulumi.set(self, "label", value)
137
136
 
138
- @property
137
+ @_builtins.property
139
138
  @pulumi.getter
140
- def scopes(self) -> Optional[pulumi.Input[builtins.str]]:
139
+ def scopes(self) -> Optional[pulumi.Input[_builtins.str]]:
141
140
  """
142
141
  The scopes this token was created with. These define what parts of the Account the token can be used to access. Many command-line tools, such as the Linode CLI, require tokens with access to *. Tokens with more restrictive scopes are generally more secure. All scopes can be viewed in [the Linode API documentation](https://techdocs.akamai.com/linode-api/reference/get-started#oauth-reference).
143
142
  """
144
143
  return pulumi.get(self, "scopes")
145
144
 
146
145
  @scopes.setter
147
- def scopes(self, value: Optional[pulumi.Input[builtins.str]]):
146
+ def scopes(self, value: Optional[pulumi.Input[_builtins.str]]):
148
147
  pulumi.set(self, "scopes", value)
149
148
 
150
- @property
149
+ @_builtins.property
151
150
  @pulumi.getter
152
- def token(self) -> Optional[pulumi.Input[builtins.str]]:
151
+ def token(self) -> Optional[pulumi.Input[_builtins.str]]:
153
152
  """
154
153
  The token used to access the API.
155
154
  """
156
155
  return pulumi.get(self, "token")
157
156
 
158
157
  @token.setter
159
- def token(self, value: Optional[pulumi.Input[builtins.str]]):
158
+ def token(self, value: Optional[pulumi.Input[_builtins.str]]):
160
159
  pulumi.set(self, "token", value)
161
160
 
162
161
 
@@ -166,9 +165,9 @@ class Token(pulumi.CustomResource):
166
165
  def __init__(__self__,
167
166
  resource_name: str,
168
167
  opts: Optional[pulumi.ResourceOptions] = None,
169
- expiry: Optional[pulumi.Input[builtins.str]] = None,
170
- label: Optional[pulumi.Input[builtins.str]] = None,
171
- scopes: Optional[pulumi.Input[builtins.str]] = None,
168
+ expiry: Optional[pulumi.Input[_builtins.str]] = None,
169
+ label: Optional[pulumi.Input[_builtins.str]] = None,
170
+ scopes: Optional[pulumi.Input[_builtins.str]] = None,
172
171
  __props__=None):
173
172
  """
174
173
  Provides a Linode Token resource. This can be used to create, modify, and delete Linode API Personal Access Tokens. Personal Access Tokens proxy user credentials for Linode API access. This is necessary for tools, such as Pulumi, to interact with Linode services on a user's behalf.
@@ -202,9 +201,9 @@ class Token(pulumi.CustomResource):
202
201
 
203
202
  :param str resource_name: The name of the resource.
204
203
  :param pulumi.ResourceOptions opts: Options for the resource.
205
- :param pulumi.Input[builtins.str] expiry: When this token will expire. Personal Access Tokens cannot be renewed, so after this time the token will be completely unusable and a new token will need to be generated. Tokens may be created with 'null' as their expiry and will never expire unless revoked.
206
- :param pulumi.Input[builtins.str] label: A label for the Token.
207
- :param pulumi.Input[builtins.str] scopes: The scopes this token was created with. These define what parts of the Account the token can be used to access. Many command-line tools, such as the Linode CLI, require tokens with access to *. Tokens with more restrictive scopes are generally more secure. All scopes can be viewed in [the Linode API documentation](https://techdocs.akamai.com/linode-api/reference/get-started#oauth-reference).
204
+ :param pulumi.Input[_builtins.str] expiry: When this token will expire. Personal Access Tokens cannot be renewed, so after this time the token will be completely unusable and a new token will need to be generated. Tokens may be created with 'null' as their expiry and will never expire unless revoked.
205
+ :param pulumi.Input[_builtins.str] label: A label for the Token.
206
+ :param pulumi.Input[_builtins.str] scopes: The scopes this token was created with. These define what parts of the Account the token can be used to access. Many command-line tools, such as the Linode CLI, require tokens with access to *. Tokens with more restrictive scopes are generally more secure. All scopes can be viewed in [the Linode API documentation](https://techdocs.akamai.com/linode-api/reference/get-started#oauth-reference).
208
207
  """
209
208
  ...
210
209
  @overload
@@ -257,9 +256,9 @@ class Token(pulumi.CustomResource):
257
256
  def _internal_init(__self__,
258
257
  resource_name: str,
259
258
  opts: Optional[pulumi.ResourceOptions] = None,
260
- expiry: Optional[pulumi.Input[builtins.str]] = None,
261
- label: Optional[pulumi.Input[builtins.str]] = None,
262
- scopes: Optional[pulumi.Input[builtins.str]] = None,
259
+ expiry: Optional[pulumi.Input[_builtins.str]] = None,
260
+ label: Optional[pulumi.Input[_builtins.str]] = None,
261
+ scopes: Optional[pulumi.Input[_builtins.str]] = None,
263
262
  __props__=None):
264
263
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
265
264
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -288,11 +287,11 @@ class Token(pulumi.CustomResource):
288
287
  def get(resource_name: str,
289
288
  id: pulumi.Input[str],
290
289
  opts: Optional[pulumi.ResourceOptions] = None,
291
- created: Optional[pulumi.Input[builtins.str]] = None,
292
- expiry: Optional[pulumi.Input[builtins.str]] = None,
293
- label: Optional[pulumi.Input[builtins.str]] = None,
294
- scopes: Optional[pulumi.Input[builtins.str]] = None,
295
- token: Optional[pulumi.Input[builtins.str]] = None) -> 'Token':
290
+ created: Optional[pulumi.Input[_builtins.str]] = None,
291
+ expiry: Optional[pulumi.Input[_builtins.str]] = None,
292
+ label: Optional[pulumi.Input[_builtins.str]] = None,
293
+ scopes: Optional[pulumi.Input[_builtins.str]] = None,
294
+ token: Optional[pulumi.Input[_builtins.str]] = None) -> 'Token':
296
295
  """
297
296
  Get an existing Token resource's state with the given name, id, and optional extra
298
297
  properties used to qualify the lookup.
@@ -300,11 +299,11 @@ class Token(pulumi.CustomResource):
300
299
  :param str resource_name: The unique name of the resulting resource.
301
300
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
302
301
  :param pulumi.ResourceOptions opts: Options for the resource.
303
- :param pulumi.Input[builtins.str] created: The date this Token was created.
304
- :param pulumi.Input[builtins.str] expiry: When this token will expire. Personal Access Tokens cannot be renewed, so after this time the token will be completely unusable and a new token will need to be generated. Tokens may be created with 'null' as their expiry and will never expire unless revoked.
305
- :param pulumi.Input[builtins.str] label: A label for the Token.
306
- :param pulumi.Input[builtins.str] scopes: The scopes this token was created with. These define what parts of the Account the token can be used to access. Many command-line tools, such as the Linode CLI, require tokens with access to *. Tokens with more restrictive scopes are generally more secure. All scopes can be viewed in [the Linode API documentation](https://techdocs.akamai.com/linode-api/reference/get-started#oauth-reference).
307
- :param pulumi.Input[builtins.str] token: The token used to access the API.
302
+ :param pulumi.Input[_builtins.str] created: The date this Token was created.
303
+ :param pulumi.Input[_builtins.str] expiry: When this token will expire. Personal Access Tokens cannot be renewed, so after this time the token will be completely unusable and a new token will need to be generated. Tokens may be created with 'null' as their expiry and will never expire unless revoked.
304
+ :param pulumi.Input[_builtins.str] label: A label for the Token.
305
+ :param pulumi.Input[_builtins.str] scopes: The scopes this token was created with. These define what parts of the Account the token can be used to access. Many command-line tools, such as the Linode CLI, require tokens with access to *. Tokens with more restrictive scopes are generally more secure. All scopes can be viewed in [the Linode API documentation](https://techdocs.akamai.com/linode-api/reference/get-started#oauth-reference).
306
+ :param pulumi.Input[_builtins.str] token: The token used to access the API.
308
307
  """
309
308
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
310
309
 
@@ -317,41 +316,41 @@ class Token(pulumi.CustomResource):
317
316
  __props__.__dict__["token"] = token
318
317
  return Token(resource_name, opts=opts, __props__=__props__)
319
318
 
320
- @property
319
+ @_builtins.property
321
320
  @pulumi.getter
322
- def created(self) -> pulumi.Output[builtins.str]:
321
+ def created(self) -> pulumi.Output[_builtins.str]:
323
322
  """
324
323
  The date this Token was created.
325
324
  """
326
325
  return pulumi.get(self, "created")
327
326
 
328
- @property
327
+ @_builtins.property
329
328
  @pulumi.getter
330
- def expiry(self) -> pulumi.Output[builtins.str]:
329
+ def expiry(self) -> pulumi.Output[_builtins.str]:
331
330
  """
332
331
  When this token will expire. Personal Access Tokens cannot be renewed, so after this time the token will be completely unusable and a new token will need to be generated. Tokens may be created with 'null' as their expiry and will never expire unless revoked.
333
332
  """
334
333
  return pulumi.get(self, "expiry")
335
334
 
336
- @property
335
+ @_builtins.property
337
336
  @pulumi.getter
338
- def label(self) -> pulumi.Output[Optional[builtins.str]]:
337
+ def label(self) -> pulumi.Output[Optional[_builtins.str]]:
339
338
  """
340
339
  A label for the Token.
341
340
  """
342
341
  return pulumi.get(self, "label")
343
342
 
344
- @property
343
+ @_builtins.property
345
344
  @pulumi.getter
346
- def scopes(self) -> pulumi.Output[builtins.str]:
345
+ def scopes(self) -> pulumi.Output[_builtins.str]:
347
346
  """
348
347
  The scopes this token was created with. These define what parts of the Account the token can be used to access. Many command-line tools, such as the Linode CLI, require tokens with access to *. Tokens with more restrictive scopes are generally more secure. All scopes can be viewed in [the Linode API documentation](https://techdocs.akamai.com/linode-api/reference/get-started#oauth-reference).
349
348
  """
350
349
  return pulumi.get(self, "scopes")
351
350
 
352
- @property
351
+ @_builtins.property
353
352
  @pulumi.getter
354
- def token(self) -> pulumi.Output[builtins.str]:
353
+ def token(self) -> pulumi.Output[_builtins.str]:
355
354
  """
356
355
  The token used to access the API.
357
356
  """