yellowdog_client.cloud_info
– Cloud Info¶
All functionality is accessed via the yellowdog_client.cloud_info.CloudInfoClient
.
- class yellowdog_client.cloud_info.CloudInfoClient¶
- abstract get_instance_type_prices(instance_type_price_search)¶
- Parameters:
instance_type_price_search (
InstanceTypePriceSearch
)- Return type:
SearchClient
[InstanceTypePrice
]
- abstract get_instance_types(instance_type_search)¶
- Parameters:
instance_type_search (
InstanceTypeSearch
)- Return type:
SearchClient
[InstanceType
]
- abstract get_regions(region_search)¶
- Parameters:
region_search (
RegionSearch
)- Return type:
SearchClient
[Region
]
- abstract get_sub_regions(sub_region_search)¶
- Parameters:
sub_region_search (
SubRegionSearch
)- Return type:
SearchClient
[SubRegion
]
- class yellowdog_client.cloud_info.CloudInfoClientImpl(service_proxy)¶
- Parameters:
service_proxy (
CloudInfoProxy
)
- close()¶
- get_instance_type_prices(instance_type_price_search)¶
- Parameters:
instance_type_price_search (
InstanceTypePriceSearch
)- Return type:
SearchClient
[InstanceTypePrice
]
- get_instance_types(instance_type_search)¶
- Parameters:
instance_type_search (
InstanceTypeSearch
)- Return type:
SearchClient
[InstanceType
]
- get_regions(region_search)¶
- Parameters:
region_search (
RegionSearch
)- Return type:
SearchClient
[Region
]
- get_sub_regions(sub_region_search)¶
- Parameters:
sub_region_search (
SubRegionSearch
)- Return type:
SearchClient
[SubRegion
]
- class yellowdog_client.cloud_info.CloudInfoProxy(proxy)¶
- Parameters:
proxy (
Proxy
)
- slice_instance_type_prices(search, slice_reference)¶
- Parameters:
search (
InstanceTypePriceSearch
)slice_reference (
SliceReference
)
- Return type:
- slice_instance_types(search, slice_reference)¶
- Parameters:
search (
InstanceTypeSearch
)slice_reference (
SliceReference
)
- Return type:
- slice_regions(search, slice_reference)¶
- Parameters:
search (
RegionSearch
)slice_reference (
SliceReference
)
- Return type:
- slice_sub_regions(search, slice_reference)¶
- Parameters:
search (
SubRegionSearch
)slice_reference (
SliceReference
)
- Return type: