air_sdk.endpoints.organizations
air_sdk.endpoints.organizations
Stub file for organizations / resource budgets endpoint type hints.
Attributes
Classes
Module Contents
Bases: air_sdk.air_model.AirModel
Represents an organization and its resource budget in the Air platform.
This model combines organization metadata with resource budget information.
Unique identifier for the resource budget
Timestamp when the resource budget was created
Timestamp when the resource budget was last modified
Display name of the organization
NCA ID of the organization
ID of the organization in Air’s database
NGC organization name (e.g. ‘0892929384’)
Number of CPU cores allocated
Memory allocated, in MiB
Total disk storage allocated, in GB
Disk storage per node, in GB
Image storage allocated, in GB
Total UserConfig content allocated, in bytes
Current resource usage
Organization name (alias for org_display_name).
Bases: air_sdk.air_model.BaseEndpointAPI[air_sdk.endpoints.organizations.Organization]
API client for Organization / ResourceBudget endpoints.
This endpoint is read-only and provides access to organization resource budget information.
Also aliased as ResourceBudgetEndpointAPI.
List all organizations / resource budgets with optional filtering.
Parameters:
limit– Maximum number of results to return per pageoffset– The initial index from which to return the resultsordering– Order by field. Prefix with ”-” for descending orderorg_display_name– Filter by the display name of the organizationorg_nca_id– Filter by the NCA ID of the organizationorg_id– Filter by the ID of the organization in Air’s databasengc_org_name– Filter by the NGC organization namesearch– Search resource budgets by org_display_name
Returns:
Iterator of Organization instances
Example:
Get a specific organization / resource budget by ID.
Parameters:
pk– The resource budget ID (string or UUID)
Returns:
The Organization instance
Example: