tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
tencentcloud.getOceanusWorkSpaces
Explore with Pulumi AI
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
Use this data source to query detailed information of oceanus work_spaces
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const example = tencentcloud.getOceanusWorkSpaces({
filters: [{
name: "WorkSpaceName",
values: ["tf_example"],
}],
orderType: 1,
});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.get_oceanus_work_spaces(filters=[{
"name": "WorkSpaceName",
"values": ["tf_example"],
}],
order_type=1)
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := tencentcloud.GetOceanusWorkSpaces(ctx, &tencentcloud.GetOceanusWorkSpacesArgs{
Filters: []tencentcloud.GetOceanusWorkSpacesFilter{
{
Name: "WorkSpaceName",
Values: []string{
"tf_example",
},
},
},
OrderType: pulumi.Float64Ref(1),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var example = Tencentcloud.GetOceanusWorkSpaces.Invoke(new()
{
Filters = new[]
{
new Tencentcloud.Inputs.GetOceanusWorkSpacesFilterInputArgs
{
Name = "WorkSpaceName",
Values = new[]
{
"tf_example",
},
},
},
OrderType = 1,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.TencentcloudFunctions;
import com.pulumi.tencentcloud.inputs.GetOceanusWorkSpacesArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var example = TencentcloudFunctions.getOceanusWorkSpaces(GetOceanusWorkSpacesArgs.builder()
.filters(GetOceanusWorkSpacesFilterArgs.builder()
.name("WorkSpaceName")
.values("tf_example")
.build())
.orderType(1)
.build());
}
}
variables:
example:
fn::invoke:
function: tencentcloud:getOceanusWorkSpaces
arguments:
filters:
- name: WorkSpaceName
values:
- tf_example
orderType: 1
Using getOceanusWorkSpaces
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getOceanusWorkSpaces(args: GetOceanusWorkSpacesArgs, opts?: InvokeOptions): Promise<GetOceanusWorkSpacesResult>
function getOceanusWorkSpacesOutput(args: GetOceanusWorkSpacesOutputArgs, opts?: InvokeOptions): Output<GetOceanusWorkSpacesResult>
def get_oceanus_work_spaces(filters: Optional[Sequence[GetOceanusWorkSpacesFilter]] = None,
id: Optional[str] = None,
order_type: Optional[float] = None,
result_output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetOceanusWorkSpacesResult
def get_oceanus_work_spaces_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetOceanusWorkSpacesFilterArgs]]]] = None,
id: Optional[pulumi.Input[str]] = None,
order_type: Optional[pulumi.Input[float]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetOceanusWorkSpacesResult]
func GetOceanusWorkSpaces(ctx *Context, args *GetOceanusWorkSpacesArgs, opts ...InvokeOption) (*GetOceanusWorkSpacesResult, error)
func GetOceanusWorkSpacesOutput(ctx *Context, args *GetOceanusWorkSpacesOutputArgs, opts ...InvokeOption) GetOceanusWorkSpacesResultOutput
> Note: This function is named GetOceanusWorkSpaces
in the Go SDK.
public static class GetOceanusWorkSpaces
{
public static Task<GetOceanusWorkSpacesResult> InvokeAsync(GetOceanusWorkSpacesArgs args, InvokeOptions? opts = null)
public static Output<GetOceanusWorkSpacesResult> Invoke(GetOceanusWorkSpacesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetOceanusWorkSpacesResult> getOceanusWorkSpaces(GetOceanusWorkSpacesArgs args, InvokeOptions options)
public static Output<GetOceanusWorkSpacesResult> getOceanusWorkSpaces(GetOceanusWorkSpacesArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getOceanusWorkSpaces:getOceanusWorkSpaces
arguments:
# arguments dictionary
The following arguments are supported:
- Filters
List<Get
Oceanus Work Spaces Filter> - Filter rules.
- Id string
- IDNote: This field may return null, indicating that no valid values can be obtained.
- Order
Type double - 1:sort by creation time in descending order (default); 2:sort by creation time in ascending order; 3:sort by status in descending order; 4:sort by status in ascending order; default is 0.
- Result
Output stringFile - Used to save results.
- Filters
[]Get
Oceanus Work Spaces Filter - Filter rules.
- Id string
- IDNote: This field may return null, indicating that no valid values can be obtained.
- Order
Type float64 - 1:sort by creation time in descending order (default); 2:sort by creation time in ascending order; 3:sort by status in descending order; 4:sort by status in ascending order; default is 0.
- Result
Output stringFile - Used to save results.
- filters
List<Get
Oceanus Work Spaces Filter> - Filter rules.
- id String
- IDNote: This field may return null, indicating that no valid values can be obtained.
- order
Type Double - 1:sort by creation time in descending order (default); 2:sort by creation time in ascending order; 3:sort by status in descending order; 4:sort by status in ascending order; default is 0.
- result
Output StringFile - Used to save results.
- filters
Get
Oceanus Work Spaces Filter[] - Filter rules.
- id string
- IDNote: This field may return null, indicating that no valid values can be obtained.
- order
Type number - 1:sort by creation time in descending order (default); 2:sort by creation time in ascending order; 3:sort by status in descending order; 4:sort by status in ascending order; default is 0.
- result
Output stringFile - Used to save results.
- filters
Sequence[Get
Oceanus Work Spaces Filter] - Filter rules.
- id str
- IDNote: This field may return null, indicating that no valid values can be obtained.
- order_
type float - 1:sort by creation time in descending order (default); 2:sort by creation time in ascending order; 3:sort by status in descending order; 4:sort by status in ascending order; default is 0.
- result_
output_ strfile - Used to save results.
- filters List<Property Map>
- Filter rules.
- id String
- IDNote: This field may return null, indicating that no valid values can be obtained.
- order
Type Number - 1:sort by creation time in descending order (default); 2:sort by creation time in ascending order; 3:sort by status in descending order; 4:sort by status in ascending order; default is 0.
- result
Output StringFile - Used to save results.
getOceanusWorkSpaces Result
The following output properties are available:
- Id string
- IDNote: This field may return null, indicating that no valid values can be obtained.
- Work
Space List<GetSet Items Oceanus Work Spaces Work Space Set Item> - List of workspace detailsNote: This field may return null, indicating that no valid values can be obtained.
- Filters
List<Get
Oceanus Work Spaces Filter> - Order
Type double - Result
Output stringFile
- Id string
- IDNote: This field may return null, indicating that no valid values can be obtained.
- Work
Space []GetSet Items Oceanus Work Spaces Work Space Set Item - List of workspace detailsNote: This field may return null, indicating that no valid values can be obtained.
- Filters
[]Get
Oceanus Work Spaces Filter - Order
Type float64 - Result
Output stringFile
- id String
- IDNote: This field may return null, indicating that no valid values can be obtained.
- work
Space List<GetSet Items Oceanus Work Spaces Work Space Set Item> - List of workspace detailsNote: This field may return null, indicating that no valid values can be obtained.
- filters
List<Get
Oceanus Work Spaces Filter> - order
Type Double - result
Output StringFile
- id string
- IDNote: This field may return null, indicating that no valid values can be obtained.
- work
Space GetSet Items Oceanus Work Spaces Work Space Set Item[] - List of workspace detailsNote: This field may return null, indicating that no valid values can be obtained.
- filters
Get
Oceanus Work Spaces Filter[] - order
Type number - result
Output stringFile
- id str
- IDNote: This field may return null, indicating that no valid values can be obtained.
- work_
space_ Sequence[Getset_ items Oceanus Work Spaces Work Space Set Item] - List of workspace detailsNote: This field may return null, indicating that no valid values can be obtained.
- filters
Sequence[Get
Oceanus Work Spaces Filter] - order_
type float - result_
output_ strfile
- id String
- IDNote: This field may return null, indicating that no valid values can be obtained.
- work
Space List<Property Map>Set Items - List of workspace detailsNote: This field may return null, indicating that no valid values can be obtained.
- filters List<Property Map>
- order
Type Number - result
Output StringFile
Supporting Types
GetOceanusWorkSpacesFilter
GetOceanusWorkSpacesWorkSpaceSetItem
- App
Id double - User AppID.
- Cluster
Group List<GetSet Items Oceanus Work Spaces Work Space Set Item Cluster Group Set Item> - Workspace cluster information.
- Create
Time string - Creation time.
- Creator
Uin string - Creator UIN.
- Description string
- Workspace description.
- Jobs
Count double - Note: This field may return null, indicating that no valid values can be obtained.
- Owner
Uin string - Main account UIN.
- Region string
- Region.
- Role
Auth doubleCount - Workspace member count.
- Role
Auths List<GetOceanus Work Spaces Work Space Set Item Role Auth> - Workspace role information.
- Serial
Id string - Workspace SerialId.
- Status double
- 1:uninitialized; 2:available; -1:deleted.
- Update
Time string - Update time.
- Work
Space stringId - Workspace SerialId.
- Work
Space stringName - Workspace name.
- App
Id float64 - User AppID.
- Cluster
Group []GetSet Items Oceanus Work Spaces Work Space Set Item Cluster Group Set Item - Workspace cluster information.
- Create
Time string - Creation time.
- Creator
Uin string - Creator UIN.
- Description string
- Workspace description.
- Jobs
Count float64 - Note: This field may return null, indicating that no valid values can be obtained.
- Owner
Uin string - Main account UIN.
- Region string
- Region.
- Role
Auth float64Count - Workspace member count.
- Role
Auths []GetOceanus Work Spaces Work Space Set Item Role Auth - Workspace role information.
- Serial
Id string - Workspace SerialId.
- Status float64
- 1:uninitialized; 2:available; -1:deleted.
- Update
Time string - Update time.
- Work
Space stringId - Workspace SerialId.
- Work
Space stringName - Workspace name.
- app
Id Double - User AppID.
- cluster
Group List<GetSet Items Oceanus Work Spaces Work Space Set Item Cluster Group Set Item> - Workspace cluster information.
- create
Time String - Creation time.
- creator
Uin String - Creator UIN.
- description String
- Workspace description.
- jobs
Count Double - Note: This field may return null, indicating that no valid values can be obtained.
- owner
Uin String - Main account UIN.
- region String
- Region.
- role
Auth DoubleCount - Workspace member count.
- role
Auths List<GetOceanus Work Spaces Work Space Set Item Role Auth> - Workspace role information.
- serial
Id String - Workspace SerialId.
- status Double
- 1:uninitialized; 2:available; -1:deleted.
- update
Time String - Update time.
- work
Space StringId - Workspace SerialId.
- work
Space StringName - Workspace name.
- app
Id number - User AppID.
- cluster
Group GetSet Items Oceanus Work Spaces Work Space Set Item Cluster Group Set Item[] - Workspace cluster information.
- create
Time string - Creation time.
- creator
Uin string - Creator UIN.
- description string
- Workspace description.
- jobs
Count number - Note: This field may return null, indicating that no valid values can be obtained.
- owner
Uin string - Main account UIN.
- region string
- Region.
- role
Auth numberCount - Workspace member count.
- role
Auths GetOceanus Work Spaces Work Space Set Item Role Auth[] - Workspace role information.
- serial
Id string - Workspace SerialId.
- status number
- 1:uninitialized; 2:available; -1:deleted.
- update
Time string - Update time.
- work
Space stringId - Workspace SerialId.
- work
Space stringName - Workspace name.
- app_
id float - User AppID.
- cluster_
group_ Sequence[Getset_ items Oceanus Work Spaces Work Space Set Item Cluster Group Set Item] - Workspace cluster information.
- create_
time str - Creation time.
- creator_
uin str - Creator UIN.
- description str
- Workspace description.
- jobs_
count float - Note: This field may return null, indicating that no valid values can be obtained.
- owner_
uin str - Main account UIN.
- region str
- Region.
- role_
auth_ floatcount - Workspace member count.
- role_
auths Sequence[GetOceanus Work Spaces Work Space Set Item Role Auth] - Workspace role information.
- serial_
id str - Workspace SerialId.
- status float
- 1:uninitialized; 2:available; -1:deleted.
- update_
time str - Update time.
- work_
space_ strid - Workspace SerialId.
- work_
space_ strname - Workspace name.
- app
Id Number - User AppID.
- cluster
Group List<Property Map>Set Items - Workspace cluster information.
- create
Time String - Creation time.
- creator
Uin String - Creator UIN.
- description String
- Workspace description.
- jobs
Count Number - Note: This field may return null, indicating that no valid values can be obtained.
- owner
Uin String - Main account UIN.
- region String
- Region.
- role
Auth NumberCount - Workspace member count.
- role
Auths List<Property Map> - Workspace role information.
- serial
Id String - Workspace SerialId.
- status Number
- 1:uninitialized; 2:available; -1:deleted.
- update
Time String - Update time.
- work
Space StringId - Workspace SerialId.
- work
Space StringName - Workspace name.
GetOceanusWorkSpacesWorkSpaceSetItemClusterGroupSetItem
- App
Id double - User AppID.
- Cluster
Id string - SerialId of the clusterGroup.
- Create
Time string - Creation time.
- Creator
Uin string - Creator UIN.
- Cu
Mem double - CU memory specification.
- Cu
Num double - CU quantity.
- Free
Cu double - Free CU under fine-grained resources.
- Free
Cu doubleNum - Free CU.
- Name string
- Cluster name.
- Net
Environment doubleType - Network.
- Owner
Uin string - Main account UIN.
- Pay
Mode double - Payment mode.
- Region string
- Region.
- Remark string
- Description.
- Running
Cu double - Running CU.
- Status double
- 1:uninitialized; 2:available; -1:deleted.
- Status
Desc string - Status description.
- Update
Time string - Update time.
- Zone string
- Zone.
- App
Id float64 - User AppID.
- Cluster
Id string - SerialId of the clusterGroup.
- Create
Time string - Creation time.
- Creator
Uin string - Creator UIN.
- Cu
Mem float64 - CU memory specification.
- Cu
Num float64 - CU quantity.
- Free
Cu float64 - Free CU under fine-grained resources.
- Free
Cu float64Num - Free CU.
- Name string
- Cluster name.
- Net
Environment float64Type - Network.
- Owner
Uin string - Main account UIN.
- Pay
Mode float64 - Payment mode.
- Region string
- Region.
- Remark string
- Description.
- Running
Cu float64 - Running CU.
- Status float64
- 1:uninitialized; 2:available; -1:deleted.
- Status
Desc string - Status description.
- Update
Time string - Update time.
- Zone string
- Zone.
- app
Id Double - User AppID.
- cluster
Id String - SerialId of the clusterGroup.
- create
Time String - Creation time.
- creator
Uin String - Creator UIN.
- cu
Mem Double - CU memory specification.
- cu
Num Double - CU quantity.
- free
Cu Double - Free CU under fine-grained resources.
- free
Cu DoubleNum - Free CU.
- name String
- Cluster name.
- net
Environment DoubleType - Network.
- owner
Uin String - Main account UIN.
- pay
Mode Double - Payment mode.
- region String
- Region.
- remark String
- Description.
- running
Cu Double - Running CU.
- status Double
- 1:uninitialized; 2:available; -1:deleted.
- status
Desc String - Status description.
- update
Time String - Update time.
- zone String
- Zone.
- app
Id number - User AppID.
- cluster
Id string - SerialId of the clusterGroup.
- create
Time string - Creation time.
- creator
Uin string - Creator UIN.
- cu
Mem number - CU memory specification.
- cu
Num number - CU quantity.
- free
Cu number - Free CU under fine-grained resources.
- free
Cu numberNum - Free CU.
- name string
- Cluster name.
- net
Environment numberType - Network.
- owner
Uin string - Main account UIN.
- pay
Mode number - Payment mode.
- region string
- Region.
- remark string
- Description.
- running
Cu number - Running CU.
- status number
- 1:uninitialized; 2:available; -1:deleted.
- status
Desc string - Status description.
- update
Time string - Update time.
- zone string
- Zone.
- app_
id float - User AppID.
- cluster_
id str - SerialId of the clusterGroup.
- create_
time str - Creation time.
- creator_
uin str - Creator UIN.
- cu_
mem float - CU memory specification.
- cu_
num float - CU quantity.
- free_
cu float - Free CU under fine-grained resources.
- free_
cu_ floatnum - Free CU.
- name str
- Cluster name.
- net_
environment_ floattype - Network.
- owner_
uin str - Main account UIN.
- pay_
mode float - Payment mode.
- region str
- Region.
- remark str
- Description.
- running_
cu float - Running CU.
- status float
- 1:uninitialized; 2:available; -1:deleted.
- status_
desc str - Status description.
- update_
time str - Update time.
- zone str
- Zone.
- app
Id Number - User AppID.
- cluster
Id String - SerialId of the clusterGroup.
- create
Time String - Creation time.
- creator
Uin String - Creator UIN.
- cu
Mem Number - CU memory specification.
- cu
Num Number - CU quantity.
- free
Cu Number - Free CU under fine-grained resources.
- free
Cu NumberNum - Free CU.
- name String
- Cluster name.
- net
Environment NumberType - Network.
- owner
Uin String - Main account UIN.
- pay
Mode Number - Payment mode.
- region String
- Region.
- remark String
- Description.
- running
Cu Number - Running CU.
- status Number
- 1:uninitialized; 2:available; -1:deleted.
- status
Desc String - Status description.
- update
Time String - Update time.
- zone String
- Zone.
GetOceanusWorkSpacesWorkSpaceSetItemRoleAuth
- App
Id double - User AppID.
- Auth
Sub stringAccount Uin - Bound authorized UIN.
- Create
Time string - Creation time.
- Creator
Uin string - Creator UIN.
- Id double
- IDNote: This field may return null, indicating that no valid values can be obtained.
- Owner
Uin string - Main account UIN.
- Permission double
- Corresponding to the ID in the role table.
- Role
Name string - Permission nameNote: This field may return null, indicating that no valid values can be obtained.
- Status double
- 1:uninitialized; 2:available; -1:deleted.
- Update
Time string - Update time.
- Work
Space doubleId - Workspace SerialId.
- Work
Space stringSerial Id - Workspace SerialId.
- App
Id float64 - User AppID.
- Auth
Sub stringAccount Uin - Bound authorized UIN.
- Create
Time string - Creation time.
- Creator
Uin string - Creator UIN.
- Id float64
- IDNote: This field may return null, indicating that no valid values can be obtained.
- Owner
Uin string - Main account UIN.
- Permission float64
- Corresponding to the ID in the role table.
- Role
Name string - Permission nameNote: This field may return null, indicating that no valid values can be obtained.
- Status float64
- 1:uninitialized; 2:available; -1:deleted.
- Update
Time string - Update time.
- Work
Space float64Id - Workspace SerialId.
- Work
Space stringSerial Id - Workspace SerialId.
- app
Id Double - User AppID.
- auth
Sub StringAccount Uin - Bound authorized UIN.
- create
Time String - Creation time.
- creator
Uin String - Creator UIN.
- id Double
- IDNote: This field may return null, indicating that no valid values can be obtained.
- owner
Uin String - Main account UIN.
- permission Double
- Corresponding to the ID in the role table.
- role
Name String - Permission nameNote: This field may return null, indicating that no valid values can be obtained.
- status Double
- 1:uninitialized; 2:available; -1:deleted.
- update
Time String - Update time.
- work
Space DoubleId - Workspace SerialId.
- work
Space StringSerial Id - Workspace SerialId.
- app
Id number - User AppID.
- auth
Sub stringAccount Uin - Bound authorized UIN.
- create
Time string - Creation time.
- creator
Uin string - Creator UIN.
- id number
- IDNote: This field may return null, indicating that no valid values can be obtained.
- owner
Uin string - Main account UIN.
- permission number
- Corresponding to the ID in the role table.
- role
Name string - Permission nameNote: This field may return null, indicating that no valid values can be obtained.
- status number
- 1:uninitialized; 2:available; -1:deleted.
- update
Time string - Update time.
- work
Space numberId - Workspace SerialId.
- work
Space stringSerial Id - Workspace SerialId.
- app_
id float - User AppID.
- auth_
sub_ straccount_ uin - Bound authorized UIN.
- create_
time str - Creation time.
- creator_
uin str - Creator UIN.
- id float
- IDNote: This field may return null, indicating that no valid values can be obtained.
- owner_
uin str - Main account UIN.
- permission float
- Corresponding to the ID in the role table.
- role_
name str - Permission nameNote: This field may return null, indicating that no valid values can be obtained.
- status float
- 1:uninitialized; 2:available; -1:deleted.
- update_
time str - Update time.
- work_
space_ floatid - Workspace SerialId.
- work_
space_ strserial_ id - Workspace SerialId.
- app
Id Number - User AppID.
- auth
Sub StringAccount Uin - Bound authorized UIN.
- create
Time String - Creation time.
- creator
Uin String - Creator UIN.
- id Number
- IDNote: This field may return null, indicating that no valid values can be obtained.
- owner
Uin String - Main account UIN.
- permission Number
- Corresponding to the ID in the role table.
- role
Name String - Permission nameNote: This field may return null, indicating that no valid values can be obtained.
- status Number
- 1:uninitialized; 2:available; -1:deleted.
- update
Time String - Update time.
- work
Space NumberId - Workspace SerialId.
- work
Space StringSerial Id - Workspace SerialId.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloud
Terraform Provider.
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack