vantage_sdk.cloud.crud
Cloud CRUD SDK for managing clouds.
Classes
CloudSDK()
SDK for managing clouds.
Methods
get(self, cloud_name: str) -> vantage_sdk.cloud.schema.Cloud | None: Get a cloud by name.get_all_clouds(self) -> vantage_sdk.cloud.schema.VantageClouds: Get all clouds as a VantageClouds collection.get_by_id(self, cloud_id: str) -> vantage_sdk.cloud.schema.Cloud | None: Get a cloud by ID.get_substrates(self, cloud_name: str) -> List[str]: Get available substrates for a cloud.list(self, enabled_only: bool = True, vantage_label: vantage_sdk.cloud.schema.VantageProviderLabel | None = None) -> List[vantage_sdk.cloud.schema.Cloud]: List clouds with optional filtering.refresh(self): Refresh the cloud registry by re-discovering clouds.