Class DeploymentsAsyncService
java.lang.Object
com.alibaba.dashscope.resources.deployments.DeploymentsAsyncService
Async variant of
DeploymentsService; streamEvents surfaces as a Publisher.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(DeploymentCreateParams params) create(DeploymentCreateParams params, RequestOptions options) delete(String deployedModel, RequestOptions options) get(String deployedModel, RequestOptions options) list(int pageNo, int pageSize) list(int pageNo, int pageSize, RequestOptions options) scale(String deployedModel, int capacity, RequestOptions options) io.reactivex.Flowable<DeploymentEvent>streamEvents(String deployedModel) io.reactivex.Flowable<DeploymentEvent>streamEvents(String deployedModel, RequestOptions options)
-
Constructor Details
-
DeploymentsAsyncService
-
-
Method Details
-
create
-
create
-
get
-
get
-
list
-
list
-
scale
-
scale
public CompletableFuture<Deployment> scale(String deployedModel, int capacity, RequestOptions options) -
delete
-
delete
-
streamEvents
-
streamEvents
public io.reactivex.Flowable<DeploymentEvent> streamEvents(String deployedModel, RequestOptions options)
-