Interface V1ServiceAsync
-
- All Implemented Interfaces:
public interface V1ServiceAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceV1ServiceAsync.WithRawResponseA view of V1ServiceAsync that provides access to raw HTTP responses for each method.
-
Method Summary
-
-
Method Detail
-
withRawResponse
abstract V1ServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
abstract V1ServiceAsync withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
environments
abstract EnvironmentServiceAsync environments()
-
instanceTypes
abstract InstanceTypeServiceAsync instanceTypes()
-
instances
abstract InstanceServiceAsync instances()
-
secrets
abstract SecretServiceAsync secrets()
-
getPricing
CompletableFuture<Void> getPricing()
Returns current pricing for GPU instances. Prices are fetched in real-time and include a 20% platform fee. For detailed instance types and availability, use GET /compute/v1/instance-types.
-
getPricing
abstract CompletableFuture<Void> getPricing(V1GetPricingParams params, RequestOptions requestOptions)
-
getPricing
CompletableFuture<Void> getPricing(V1GetPricingParams params)
-
getPricing
CompletableFuture<Void> getPricing(RequestOptions requestOptions)
-
getUsage
CompletableFuture<V1GetUsageResponse> getUsage()
Returns detailed compute usage statistics and billing information for your organization. Includes GPU and CPU hours, total runs, costs, and breakdowns by environment. Use optional query parameters to filter by specific year and month.
-
getUsage
abstract CompletableFuture<V1GetUsageResponse> getUsage(V1GetUsageParams params, RequestOptions requestOptions)
-
getUsage
CompletableFuture<V1GetUsageResponse> getUsage(V1GetUsageParams params)
-
getUsage
CompletableFuture<V1GetUsageResponse> getUsage(RequestOptions requestOptions)
-
-
-
-