air_sdk
air_sdk
NVIDIA Air SDK.
This is the API reference for the air_sdk package. Use the navigation
to browse individual modules:
endpoints— per-resource docs (simulations, nodes, images, etc.)const— SDK constants and configuration valuesexceptions— error types raised by the SDKtypes— TypedDict and enum definitions used in API payloads
Subpackages
endpoints- API endpoint modules…
Submodules
typesexceptions- SDK-specific exceptionsconst- Constants shared throughout the SDK.
Classes
Module Contents
Initialization:
Initialize AirApi and optionally authenticate with a local NGC config.
For cleaner initialization, consider using one of the factory methods:
- AirApi.with_api_key()
- AirApi.with_device_login()
- AirApi.with_ngc_config()
Initialize API with an explicit NGC API Key.
The api_key is also known as a Starfleet API Key, or ‘SAK’.
Initialize API with device login authentication.
Initialize API using NGC config for authentication.
Authenticate with a local NGC config.
This method is called by the AirApi constructor if authenticate is True.
Decorators: @abstractmethod
Breakouts endpoint - not supported in current API version.
Raises:
NotImplementedError
Cloud-init endpoint for V2 backwards compatibility.
Organization / Resource Budget endpoint.
Resource Budget endpoint (alias for organizations).
Decorators: @abstractmethod
Topologies endpoint - not supported in current API version.
Raises:
NotImplementedError
Decorators: @abstractmethod
API Tokens endpoint - not supported in current API version.
Raises:
NotImplementedError
Decorators: @abstractmethod
Permissions endpoint - not supported in current API version.
Raises:
NotImplementedError
Decorators: @abstractmethod
Permission endpoint - not supported in current API version.
Raises:
NotImplementedError
Decorators: @abstractmethod
Accounts endpoint - not supported in current API version.
Raises:
NotImplementedError
Deprecated alias for simulations (v1 backward compatibility).
Deprecated alias for services (v1 backward compatibility).
Set the page size of paginated responses.