Interface EnvironmentService
-
- All Implemented Interfaces:
public interface EnvironmentServiceServerless GPU and CPU infrastructure
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceEnvironmentService.WithRawResponseA view of EnvironmentService that provides access to raw HTTP responses for each method.
-
Method Summary
-
-
Method Detail
-
withRawResponse
abstract EnvironmentService.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
abstract EnvironmentService withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
create
EnvironmentCreateResponse create(EnvironmentCreateParams params)
Creates a new compute environment for running serverless workloads. Each environment gets its own isolated namespace with a unique domain for hosting applications and APIs. The first environment created becomes the default environment for the organization.
-
create
abstract EnvironmentCreateResponse create(EnvironmentCreateParams params, RequestOptions requestOptions)
-
retrieve
EnvironmentRetrieveResponse retrieve(String name)
Retrieve a specific compute environment by name. Returns environment configuration including status, domain, and metadata for your serverless compute infrastructure.
-
retrieve
EnvironmentRetrieveResponse retrieve(String name, EnvironmentRetrieveParams params, RequestOptions requestOptions)
-
retrieve
EnvironmentRetrieveResponse retrieve(String name, EnvironmentRetrieveParams params)
-
retrieve
abstract EnvironmentRetrieveResponse retrieve(EnvironmentRetrieveParams params, RequestOptions requestOptions)
-
retrieve
EnvironmentRetrieveResponse retrieve(EnvironmentRetrieveParams params)
-
retrieve
EnvironmentRetrieveResponse retrieve(String name, RequestOptions requestOptions)
-
list
EnvironmentListResponse list()
Retrieve all compute environments for your organization. Environments provide isolated execution contexts for running code and workflows.
-
list
abstract EnvironmentListResponse list(EnvironmentListParams params, RequestOptions requestOptions)
-
list
EnvironmentListResponse list(EnvironmentListParams params)
-
list
EnvironmentListResponse list(RequestOptions requestOptions)
-
delete
EnvironmentDeleteResponse delete(String name)
Permanently delete a compute environment and all its associated resources. This will stop all running deployments and clean up related configurations. The default environment cannot be deleted if other environments exist.
-
delete
EnvironmentDeleteResponse delete(String name, EnvironmentDeleteParams params, RequestOptions requestOptions)
-
delete
EnvironmentDeleteResponse delete(String name, EnvironmentDeleteParams params)
-
delete
abstract EnvironmentDeleteResponse delete(EnvironmentDeleteParams params, RequestOptions requestOptions)
-
delete
EnvironmentDeleteResponse delete(EnvironmentDeleteParams params)
-
delete
EnvironmentDeleteResponse delete(String name, RequestOptions requestOptions)
-
setDefault
EnvironmentSetDefaultResponse setDefault(String name)
Sets a compute environment as the default for the organization. Only one environment can be default at a time - setting a new default will automatically unset the previous one.
-
setDefault
EnvironmentSetDefaultResponse setDefault(String name, EnvironmentSetDefaultParams params, RequestOptions requestOptions)
-
setDefault
EnvironmentSetDefaultResponse setDefault(String name, EnvironmentSetDefaultParams params)
-
setDefault
abstract EnvironmentSetDefaultResponse setDefault(EnvironmentSetDefaultParams params, RequestOptions requestOptions)
-
setDefault
EnvironmentSetDefaultResponse setDefault(EnvironmentSetDefaultParams params)
-
setDefault
EnvironmentSetDefaultResponse setDefault(String name, RequestOptions requestOptions)
-
-
-
-