Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/clean-release-notes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:

steps:
- name: Remove ticket prefixes from release notes
uses: actions/github-script@v8
uses: actions/github-script@v9
with:
script: |
const release = context.payload.release;
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e-test-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ jobs:
LINODE_CLI_OBJ_ACCESS_KEY: ${{ secrets.LINODE_CLI_OBJ_ACCESS_KEY }}
LINODE_CLI_OBJ_SECRET_KEY: ${{ secrets.LINODE_CLI_OBJ_SECRET_KEY }}

- uses: actions/github-script@v8
- uses: actions/github-script@v9
id: update-check-run
if: ${{ inputs.pull_request_number != '' && fromJson(steps.commit-hash.outputs.data).repository.pullRequest.headRef.target.oid == inputs.sha }}
env:
Expand Down
4 changes: 2 additions & 2 deletions linode_api4/groups/lock.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def __call__(self, *filters):

locks = client.locks()

API Documentation: TBD
API Documentation: https://techdocs.akamai.com/linode-api/reference/get-resource-locks

:param filters: Any number of filters to apply to this query.
See :doc:`Filtering Collections</linode_api4/objects/filtering>`
Expand All @@ -44,7 +44,7 @@ def create(
"""
Creates a new Resource Lock for the specified entity.

API Documentation: TBD
API Documentation: https://techdocs.akamai.com/linode-api/reference/post-resource-lock

:param entity_type: The type of entity to lock (e.g., "linode").
:type entity_type: str
Expand Down
16 changes: 16 additions & 0 deletions linode_api4/groups/object_storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
ObjectStorageACL,
ObjectStorageBucket,
ObjectStorageCluster,
ObjectStorageGlobalQuota,
ObjectStorageKeyPermission,
ObjectStorageKeys,
ObjectStorageQuota,
Expand Down Expand Up @@ -533,3 +534,18 @@ def quotas(self, *filters):
:rtype: PaginatedList of ObjectStorageQuota
"""
return self.client._get_and_filter(ObjectStorageQuota, *filters)

def global_quotas(self, *filters):
"""
Lists the active account-level Object Storage quotas applied to your account.

API Documentation: TBD

:param filters: Any number of filters to apply to this query.
See :doc:`Filtering Collections</linode_api4/objects/filtering>`
for more details on filtering.

:returns: A list of account-level Object Storage Quotas that matched the query.
:rtype: PaginatedList of ObjectStorageGlobalQuota
"""
return self.client._get_and_filter(ObjectStorageGlobalQuota, *filters)
6 changes: 0 additions & 6 deletions linode_api4/objects/linode.py
Original file line number Diff line number Diff line change
Expand Up @@ -2055,8 +2055,6 @@ def interface_create(
Creates a new interface under this Linode.
Linode interfaces are not interchangeable with Config interfaces.

NOTE: Linode interfaces may not currently be available to all users.

API Documentation: https://techdocs.akamai.com/linode-api/reference/post-linode-interface

Example: Creating a simple public interface for this Linode::
Expand Down Expand Up @@ -2132,8 +2130,6 @@ def interfaces_settings(self) -> LinodeInterfacesSettings:
"""
The settings for all interfaces under this Linode.

NOTE: Linode interfaces may not currently be available to all users.

:returns: The settings for instance-level interface settings for this Linode.
:rtype: LinodeInterfacesSettings
"""
Expand Down Expand Up @@ -2202,8 +2198,6 @@ def upgrade_interfaces(
NOTE: If dry_run is True, interfaces in the result will be
of type MappedObject rather than LinodeInterface.

NOTE: Linode interfaces may not currently be available to all users.

API Documentation: https://techdocs.akamai.com/linode-api/reference/post-upgrade-linode-interfaces

:param config: The configuration profile the legacy interfaces to
Expand Down
Loading
Loading