vantage_sdk.cloud.schema
Cloud schemas.
Classes
Cloud(*, id: str, vantage_provider_label: vantage_sdk.cloud.schema.VantageProviderLabel, substrates: List[str] = <factory>, enabled: bool = True, metadata: Dict[str, Any] = <factory>, created_at: str | None = None, updated_at: str | None = None) -> None
Cloud model.
CloudType(*values)
Cloud/account types supported by Vantage API.
VantageClouds(*, clouds: List[vantage_sdk.cloud.schema.Cloud] = <factory>) -> None
Collection of Vantage-supported clouds.
Methods
get_by_id(self, cloud_id: str) -> vantage_sdk.cloud.schema.Cloud | None: Get a cloud by ID.get_by_name(self, name: str) -> vantage_sdk.cloud.schema.Cloud | None: Get a cloud by name.get_by_type(self, vantage_label: vantage_sdk.cloud.schema.VantageProviderLabel) -> List[vantage_sdk.cloud.schema.Cloud]: Get all clouds with a specific Vantage provider label.get_enabled(self) -> List[vantage_sdk.cloud.schema.Cloud]: Get all enabled clouds.
VantageProviderLabel(*values)
Vantage provider labels for cluster creation.