Workspace Service
点击查看目录
Service to manage TSB workspaces.
Workspaces
The Workspaces service provides methods to manage the workspaces for a given tenant.
Workspaces are the main containers for the different configuration resources available in TSB, and provide infrastructure isolation constraints.
CreateWorkspace
rpc CreateWorkspace (tetrateio.api.tsb.v2.CreateWorkspaceRequest ) returns (tetrateio.api.tsb.v2.Workspace )
Requires CREATE
Create a new workspace. The workspace will own exclusively the namespaces configured in the namespaces selector for the workspace.
GetWorkspace
rpc GetWorkspace (tetrateio.api.tsb.v2.GetWorkspaceRequest ) returns (tetrateio.api.tsb.v2.Workspace )
Requires READ
Get the details of an existing workspace
UpdateWorkspace
rpc UpdateWorkspace (tetrateio.api.tsb.v2.Workspace ) returns (tetrateio.api.tsb.v2.Workspace )
Requires WRITE
Modify an existing workspace
ListWorkspaces
rpc ListWorkspaces (tetrateio.api.tsb.v2.ListWorkspacesRequest ) returns (tetrateio.api.tsb.v2.ListWorkspacesResponse )
List all existing workspaces for the given tenant.
DeleteWorkspace
rpc DeleteWorkspace (tetrateio.api.tsb.v2.DeleteWorkspaceRequest ) returns (google.protobuf.Empty )
Requires DELETE
Delete an existing workspace. Note that deleting resources in TSB is a recursive operation. Deleting a workspace will delete all groups and configuration objects that exist in it.
CreateSettings
rpc CreateSettings (tetrateio.api.tsb.v2.CreateWorkspaceSettingsRequest ) returns (tetrateio.api.tsb.v2.WorkspaceSetting )
Requires CreateWorkspaceSetting
Create default settings for a workspace. Default settings will apply to the services owned by the workspace, unless more specific settings are provided at the group level.
GetSettings
rpc GetSettings (tetrateio.api.tsb.v2.GetWorkspaceSettingsRequest ) returns (tetrateio.api.tsb.v2.WorkspaceSetting )
Requires ReadWorkspaceSetting
Get the details of a settings object for the given workspace.
UpdateSettings
rpc UpdateSettings (tetrateio.api.tsb.v2.WorkspaceSetting ) returns (tetrateio.api.tsb.v2.WorkspaceSetting )
Requires WriteWorkspaceSetting
Modify the given workspace settings.
ListSettings
rpc ListSettings (tetrateio.api.tsb.v2.ListWorkspaceSettingsRequest ) returns (tetrateio.api.tsb.v2.ListWorkspaceSettingsResponse )
List all settings available for the given workspace.
DeleteSettings
rpc DeleteSettings (tetrateio.api.tsb.v2.DeleteWorkspaceSettingsRequest ) returns (google.protobuf.Empty )
Requires DeleteWorkspaceSetting
Delete the given workspace settings.
CreateWorkspaceRequest
Request to create a Workspace.
Field | Description | Validation Rule |
---|---|---|
parent |
string
|
string = { |
name |
string
|
string = { |
workspace |
tetrateio.api.tsb.v2.Workspace
|
message = { |
CreateWorkspaceSettingsRequest
Request to create a Workspace Settings.
Field | Description | Validation Rule |
---|---|---|
parent |
string
|
string = { |
name |
string
|
string = { |
settings |
tetrateio.api.tsb.v2.WorkspaceSetting
|
message = { |
DeleteWorkspaceRequest
Request to delete a Workspace.
Field | Description | Validation Rule |
---|---|---|
fqn |
string
|
string = { |
force |
bool
|
– |
DeleteWorkspaceSettingsRequest
Request to delete a Workspace Settings.
Field | Description | Validation Rule |
---|---|---|
fqn |
string
|
string = { |
GetWorkspaceRequest
Request to retrieve a Workspace.
Field | Description | Validation Rule |
---|---|---|
fqn |
string
|
string = { |
GetWorkspaceSettingsRequest
Request to retrieve a Workspace Settings.
Field | Description | Validation Rule |
---|---|---|
fqn |
string
|
string = { |
ListWorkspaceSettingsRequest
Request to list Workspace Settings.
Field | Description | Validation Rule |
---|---|---|
parent |
string
|
string = { |
ListWorkspaceSettingsResponse
The existing settings objects for the given workspace.
Field | Description | Validation Rule |
---|---|---|
settings |
– |
ListWorkspacesRequest
Request to list Workspaces.
Field | Description | Validation Rule |
---|---|---|
parent |
string
|
string = { |
ListWorkspacesResponse
The existing workspaces for the given tenant.
Field | Description | Validation Rule |
---|---|---|
workspaces |
List of tetrateio.api.tsb.v2.Workspace
|
– |