@@ -34,7 +34,7 @@ def __call__(self):
34
34
35
35
account = client.account()
36
36
37
- API Documentation: https://www.linode .com/docs/ api/account/#account-view
37
+ API Documentation: https://techdocs.akamai .com/linode- api/reference/get-account
38
38
39
39
:returns: Returns the acting user's account information.
40
40
:rtype: Account
@@ -52,7 +52,7 @@ def events(self, *filters):
52
52
"""
53
53
Lists events on the current account matching the given filters.
54
54
55
- API Documentation: https://www.linode .com/docs/ api/account/#events-list
55
+ API Documentation: https://techdocs.akamai .com/linode- api/reference/get-events
56
56
57
57
:param filters: Any number of filters to apply to this query.
58
58
See :doc:`Filtering Collections</linode_api4/objects/filtering>`
@@ -69,7 +69,7 @@ def events_mark_seen(self, event):
69
69
Marks event as the last event we have seen. If event is an int, it is treated
70
70
as an event_id, otherwise it should be an event object whose id will be used.
71
71
72
- API Documentation: https://www.linode .com/docs/ api/account/#event-mark-as -seen
72
+ API Documentation: https://techdocs.akamai .com/linode- api/reference/post-event -seen
73
73
74
74
:param event: The Linode event to mark as seen.
75
75
:type event: Event or int
@@ -85,7 +85,7 @@ def settings(self):
85
85
Returns the account settings data for this acocunt. This is not a
86
86
listing endpoint.
87
87
88
- API Documentation: https://www.linode .com/docs/ api/account/# account-settings-view
88
+ API Documentation: https://techdocs.akamai .com/linode- api/reference/get- account-settings
89
89
90
90
:returns: The account settings data for this account.
91
91
:rtype: AccountSettings
@@ -105,7 +105,7 @@ def invoices(self):
105
105
"""
106
106
Returns Invoices issued to this account.
107
107
108
- API Documentation: https://www.linode .com/docs/ api/account/#invoices-list
108
+ API Documentation: https://techdocs.akamai .com/linode- api/reference/get-invoices
109
109
110
110
:param filters: Any number of filters to apply to this query.
111
111
@@ -118,7 +118,7 @@ def payments(self):
118
118
"""
119
119
Returns a list of Payments made on this account.
120
120
121
- API Documentation: https://www.linode .com/docs/ api/account/#payments-list
121
+ API Documentation: https://techdocs.akamai .com/linode- api/reference/get-payments
122
122
123
123
:returns: A list of payments made on this account.
124
124
:rtype: PaginatedList of Payment
@@ -129,7 +129,7 @@ def oauth_clients(self, *filters):
129
129
"""
130
130
Returns the OAuth Clients associated with this account.
131
131
132
- API Documentation: https://www.linode .com/docs/ api/account/#oauth -clients-list
132
+ API Documentation: https://techdocs.akamai .com/linode- api/reference/get -clients
133
133
134
134
:param filters: Any number of filters to apply to this query.
135
135
See :doc:`Filtering Collections</linode_api4/objects/filtering>`
@@ -144,7 +144,7 @@ def oauth_client_create(self, name, redirect_uri, **kwargs):
144
144
"""
145
145
Creates a new OAuth client.
146
146
147
- API Documentation: https://www.linode .com/docs/ api/account/#oauth -client-create
147
+ API Documentation: https://techdocs.akamai .com/linode- api/reference/post -client
148
148
149
149
:param name: The name of this application.
150
150
:type name: str
@@ -174,7 +174,7 @@ def users(self, *filters):
174
174
"""
175
175
Returns a list of users on this account.
176
176
177
- API Documentation: https://www.linode .com/docs/ api/account/#users-list
177
+ API Documentation: https://techdocs.akamai .com/linode- api/reference/get-users
178
178
179
179
:param filters: Any number of filters to apply to this query.
180
180
See :doc:`Filtering Collections</linode_api4/objects/filtering>`
@@ -189,7 +189,7 @@ def logins(self):
189
189
"""
190
190
Returns a collection of successful logins for all users on the account during the last 90 days.
191
191
192
- API Documentation: https://www.linode .com/docs/ api/account/#user-logins-list-all
192
+ API Documentation: https://techdocs.akamai .com/linode- api/reference/get-account-logins
193
193
194
194
:returns: A list of Logins on this account.
195
195
:rtype: PaginatedList of Login
@@ -201,7 +201,7 @@ def maintenance(self):
201
201
"""
202
202
Returns a collection of Maintenance objects for any entity a user has permissions to view. Cancelled Maintenance objects are not returned.
203
203
204
- API Documentation: https://www.linode .com/docs/ api/account/#user-logins-list-all
204
+ API Documentation: https://techdocs.akamai .com/linode- api/reference/get-account-logins
205
205
206
206
:returns: A list of Maintenance objects on this account.
207
207
:rtype: List of Maintenance objects as MappedObjects
@@ -217,7 +217,7 @@ def payment_methods(self):
217
217
"""
218
218
Returns a list of Payment Methods for this Account.
219
219
220
- API Documentation: https://www.linode .com/docs/ api/account/# payment-methods-list
220
+ API Documentation: https://techdocs.akamai .com/linode- api/reference/get- payment-methods
221
221
222
222
:returns: A list of Payment Methods on this account.
223
223
:rtype: PaginatedList of PaymentMethod
@@ -229,7 +229,7 @@ def add_payment_method(self, data, is_default, type):
229
229
"""
230
230
Adds a Payment Method to your Account with the option to set it as the default method.
231
231
232
- API Documentation: https://www.linode .com/docs/ api/account/# payment-method-add
232
+ API Documentation: https://techdocs.akamai .com/linode- api/reference/post- payment-method
233
233
234
234
:param data: An object representing the credit card information you have on file with
235
235
Linode to make Payments against your Account.
@@ -281,7 +281,7 @@ def notifications(self):
281
281
"""
282
282
Returns a collection of Notification objects representing important, often time-sensitive items related to your Account.
283
283
284
- API Documentation: https://www.linode .com/docs/ api/account/#notifications-list
284
+ API Documentation: https://techdocs.akamai .com/linode- api/reference/get-notifications
285
285
286
286
:returns: A list of Notifications on this account.
287
287
:rtype: List of Notification objects as MappedObjects
@@ -297,7 +297,7 @@ def linode_managed_enable(self):
297
297
"""
298
298
Enables Linode Managed for the entire account and sends a welcome email to the account’s associated email address.
299
299
300
- API Documentation: https://www.linode .com/docs/ api/account/#linode-managed- enable
300
+ API Documentation: https://techdocs.akamai .com/linode- api/reference/post- enable-account-managed
301
301
"""
302
302
303
303
resp = self .client .post (
@@ -315,7 +315,7 @@ def add_promo_code(self, promo_code):
315
315
"""
316
316
Adds an expiring Promo Credit to your account.
317
317
318
- API Documentation: https://www.linode .com/docs/ api/account/# promo-credit-add
318
+ API Documentation: https://techdocs.akamai .com/linode- api/reference/post- promo-credit
319
319
320
320
:param promo_code: The Promo Code.
321
321
:type promo_code: str
@@ -341,7 +341,7 @@ def service_transfers(self):
341
341
"""
342
342
Returns a collection of all created and accepted Service Transfers for this account, regardless of the user that created or accepted the transfer.
343
343
344
- API Documentation: https://www.linode .com/docs/ api/account/# service-transfers-list
344
+ API Documentation: https://techdocs.akamai .com/linode- api/reference/get- service-transfers
345
345
346
346
:returns: A list of Service Transfers on this account.
347
347
:rtype: PaginatedList of ServiceTransfer
@@ -353,7 +353,7 @@ def service_transfer_create(self, entities):
353
353
"""
354
354
Creates a transfer request for the specified services.
355
355
356
- API Documentation: https://www.linode .com/docs/ api/account/# service-transfer-create
356
+ API Documentation: https://techdocs.akamai .com/linode- api/reference/post- service-transfer
357
357
358
358
:param entities: A collection of the services to include in this transfer request, separated by type.
359
359
:type entities: dict
@@ -396,7 +396,7 @@ def transfer(self):
396
396
"""
397
397
Returns a MappedObject containing the account's transfer pool data.
398
398
399
- API Documentation: https://www.linode .com/docs/ api/account/#network-utilization-view
399
+ API Documentation: https://techdocs.akamai .com/linode- api/reference/get-transfer
400
400
401
401
:returns: Information about this account's transfer pool data.
402
402
:rtype: MappedObject
@@ -421,7 +421,7 @@ def user_create(self, email, username, restricted=True):
421
421
The new user will receive an email inviting them to set up their password.
422
422
This must be completed before they can log in.
423
423
424
- API Documentation: https://www.linode .com/docs/ api/account/#user-create
424
+ API Documentation: https://techdocs.akamai .com/linode- api/reference/post-user
425
425
426
426
:param email: The new user's email address. This is used to finish setting
427
427
up their user account.
@@ -459,7 +459,7 @@ def enrolled_betas(self, *filters):
459
459
"""
460
460
Returns a list of all Beta Programs an account is enrolled in.
461
461
462
- API doc: https://www.linode .com/docs/ api/beta-programs/# enrolled-beta-programs-list
462
+ API doc: https://techdocs.akamai .com/linode- api/reference/get- enrolled-beta-programs
463
463
464
464
:returns: a list of Beta Programs.
465
465
:rtype: PaginatedList of AccountBetaProgram
@@ -470,7 +470,7 @@ def join_beta_program(self, beta: Union[str, BetaProgram]):
470
470
"""
471
471
Enrolls an account into a beta program.
472
472
473
- API doc: https://www.linode .com/docs/ api/beta-programs/# beta-program-enroll
473
+ API doc: https://techdocs.akamai .com/linode- api/reference/post- beta-program
474
474
475
475
:param beta: The object or id of a beta program to join.
476
476
:type beta: BetaProgram or str
@@ -491,7 +491,7 @@ def availabilities(self, *filters):
491
491
Returns a list of all available regions and the resource types which are available
492
492
to the account.
493
493
494
- API doc: https://www.linode .com/docs/ api/account/#region-service -availability
494
+ API doc: https://techdocs.akamai .com/linode- api/reference/get-account -availability
495
495
496
496
:returns: a list of region availability information.
497
497
:rtype: PaginatedList of AccountAvailability
0 commit comments