Interface WorkspaceServiceAsync
-
- All Implemented Interfaces:
public interface WorkspaceServiceAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceWorkspaceServiceAsync.WithRawResponseA view of WorkspaceServiceAsync that provides access to raw HTTP responses for each method.
-
Method Summary
-
-
Method Detail
-
withRawResponse
abstract WorkspaceServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
abstract WorkspaceServiceAsync withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
list
CompletableFuture<WorkspaceListPageAsync> list(String destinationId)
List the workspaces on a destination's workspace list, newest entry first.
A destination whose
workspaces.typeisalldoesn't have a list, so its page is empty. The list includes archived workspaces.See the OpenTelemetry export guide to learn more about choosing the workspaces of a destination.
-
list
CompletableFuture<WorkspaceListPageAsync> list(String destinationId, WorkspaceListParams params, RequestOptions requestOptions)
-
list
CompletableFuture<WorkspaceListPageAsync> list(String destinationId, WorkspaceListParams params)
-
list
abstract CompletableFuture<WorkspaceListPageAsync> list(WorkspaceListParams params, RequestOptions requestOptions)
-
list
CompletableFuture<WorkspaceListPageAsync> list(WorkspaceListParams params)
-
list
CompletableFuture<WorkspaceListPageAsync> list(String destinationId, RequestOptions requestOptions)
-
add
CompletableFuture<BetaTelemetryDestinationWorkspace> add(String workspaceId, WorkspaceAddParams params)
Add one workspace to a destination's workspace list.
Under
includethe workspace's spans start going to the destination. Underexcludethey stop. A list holds at most 1,000 workspaces.Adding a workspace that is already on the list changes nothing and returns the existing entry. An archived workspace that isn't on the list yet can't be added. A destination whose
workspaces.typeisalldoesn't have a list, so the API returns 400. To change which workspaces such a destination covers, update itsworkspaces.See the OpenTelemetry export guide to learn more about choosing the workspaces of a destination.
-
add
CompletableFuture<BetaTelemetryDestinationWorkspace> add(String workspaceId, WorkspaceAddParams params, RequestOptions requestOptions)
-
add
abstract CompletableFuture<BetaTelemetryDestinationWorkspace> add(WorkspaceAddParams params, RequestOptions requestOptions)
-
remove
CompletableFuture<BetaDeletedTelemetryDestinationWorkspace> remove(String workspaceId, WorkspaceRemoveParams params)
Remove one workspace from a destination's workspace list.
Under
includethe workspace's spans stop going to the destination. Underexcludethey start. An archived workspace can be removed too.The API returns 404 when the workspace isn't on the list. A destination whose
workspaces.typeisalldoesn't have a list, so the API returns 400.See the OpenTelemetry export guide to learn more about choosing the workspaces of a destination.
-
remove
CompletableFuture<BetaDeletedTelemetryDestinationWorkspace> remove(String workspaceId, WorkspaceRemoveParams params, RequestOptions requestOptions)
-
remove
CompletableFuture<BetaDeletedTelemetryDestinationWorkspace> remove(WorkspaceRemoveParams params)
-
remove
abstract CompletableFuture<BetaDeletedTelemetryDestinationWorkspace> remove(WorkspaceRemoveParams params, RequestOptions requestOptions)
-
-
-
-