Skip to main content

BaseRequestQueueCollectionClient

Abstract base class for request queue collection clients.

This collection client handles operations that involve multiple instances of a given resource type.

Hierarchy

Index

Methods

get_or_create

  • Retrieve an existing request queue by its name or ID, or create a new one if it does not exist.


    Parameters

    • optionalkeyword-onlyid: str | None = None

      Optional ID of the request queue to retrieve or create. If provided, the method will attempt to find a request queue with the ID.

    • optionalkeyword-onlyname: str | None = None

      Optional name of the request queue resource to retrieve or create. If provided, the method will attempt to find a request queue with this name.

    • optionalkeyword-onlyschema: dict | None = None

      Optional schema for the request queue resource to be created.

    Returns RequestQueueMetadata

list

  • List the available request queues.


    Parameters

    • optionalkeyword-onlyunnamed: bool = False

      Whether to list only the unnamed request queues.

    • optionalkeyword-onlylimit: int | None = None

      Maximum number of request queues to return.

    • optionalkeyword-onlyoffset: int | None = None

      Number of request queues to skip from the beginning of the list.

    • optionalkeyword-onlydesc: bool = False

      Whether to sort the request queues in descending order.

    Returns RequestQueueListPage

Page Options