tencentcloud.OceanusWorkSpace
Explore with Pulumi AI
Provides a resource to create a oceanus work_space
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const example = new tencentcloud.OceanusWorkSpace("example", {
description: "example description.",
workSpaceName: "tf_example",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.OceanusWorkSpace("example",
description="example description.",
work_space_name="tf_example")
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.NewOceanusWorkSpace(ctx, "example", &tencentcloud.OceanusWorkSpaceArgs{
Description: pulumi.String("example description."),
WorkSpaceName: pulumi.String("tf_example"),
})
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 = new Tencentcloud.OceanusWorkSpace("example", new()
{
Description = "example description.",
WorkSpaceName = "tf_example",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.OceanusWorkSpace;
import com.pulumi.tencentcloud.OceanusWorkSpaceArgs;
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) {
var example = new OceanusWorkSpace("example", OceanusWorkSpaceArgs.builder()
.description("example description.")
.workSpaceName("tf_example")
.build());
}
}
resources:
example:
type: tencentcloud:OceanusWorkSpace
properties:
description: example description.
workSpaceName: tf_example
Create OceanusWorkSpace Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new OceanusWorkSpace(name: string, args: OceanusWorkSpaceArgs, opts?: CustomResourceOptions);
@overload
def OceanusWorkSpace(resource_name: str,
args: OceanusWorkSpaceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def OceanusWorkSpace(resource_name: str,
opts: Optional[ResourceOptions] = None,
work_space_name: Optional[str] = None,
description: Optional[str] = None,
oceanus_work_space_id: Optional[str] = None)
func NewOceanusWorkSpace(ctx *Context, name string, args OceanusWorkSpaceArgs, opts ...ResourceOption) (*OceanusWorkSpace, error)
public OceanusWorkSpace(string name, OceanusWorkSpaceArgs args, CustomResourceOptions? opts = null)
public OceanusWorkSpace(String name, OceanusWorkSpaceArgs args)
public OceanusWorkSpace(String name, OceanusWorkSpaceArgs args, CustomResourceOptions options)
type: tencentcloud:OceanusWorkSpace
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args OceanusWorkSpaceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args OceanusWorkSpaceArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args OceanusWorkSpaceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args OceanusWorkSpaceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args OceanusWorkSpaceArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
OceanusWorkSpace Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The OceanusWorkSpace resource accepts the following input properties:
- Work
Space stringName - Workspace name.
- Description string
- Workspace description.
- Oceanus
Work stringSpace Id - ID of the resource.
- Work
Space stringName - Workspace name.
- Description string
- Workspace description.
- Oceanus
Work stringSpace Id - ID of the resource.
- work
Space StringName - Workspace name.
- description String
- Workspace description.
- oceanus
Work StringSpace Id - ID of the resource.
- work
Space stringName - Workspace name.
- description string
- Workspace description.
- oceanus
Work stringSpace Id - ID of the resource.
- work_
space_ strname - Workspace name.
- description str
- Workspace description.
- oceanus_
work_ strspace_ id - ID of the resource.
- work
Space StringName - Workspace name.
- description String
- Workspace description.
- oceanus
Work StringSpace Id - ID of the resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the OceanusWorkSpace resource produces the following output properties:
- App
Id double - User APPID.
- Create
Time string - Create time.
- Creator
Uin string - Creator UIN.
- Id string
- The provider-assigned unique ID for this managed resource.
- Jobs
Count double - Number of Jobs.
- Owner
Uin string - Owner UIN.
- Role
Auth doubleCount - Number of workspace members.
- Serial
Id string - Serial ID.
- Status double
- Workspace status.
- Update
Time string - Update time.
- Work
Space stringId - Workspace ID.
- App
Id float64 - User APPID.
- Create
Time string - Create time.
- Creator
Uin string - Creator UIN.
- Id string
- The provider-assigned unique ID for this managed resource.
- Jobs
Count float64 - Number of Jobs.
- Owner
Uin string - Owner UIN.
- Role
Auth float64Count - Number of workspace members.
- Serial
Id string - Serial ID.
- Status float64
- Workspace status.
- Update
Time string - Update time.
- Work
Space stringId - Workspace ID.
- app
Id Double - User APPID.
- create
Time String - Create time.
- creator
Uin String - Creator UIN.
- id String
- The provider-assigned unique ID for this managed resource.
- jobs
Count Double - Number of Jobs.
- owner
Uin String - Owner UIN.
- role
Auth DoubleCount - Number of workspace members.
- serial
Id String - Serial ID.
- status Double
- Workspace status.
- update
Time String - Update time.
- work
Space StringId - Workspace ID.
- app
Id number - User APPID.
- create
Time string - Create time.
- creator
Uin string - Creator UIN.
- id string
- The provider-assigned unique ID for this managed resource.
- jobs
Count number - Number of Jobs.
- owner
Uin string - Owner UIN.
- role
Auth numberCount - Number of workspace members.
- serial
Id string - Serial ID.
- status number
- Workspace status.
- update
Time string - Update time.
- work
Space stringId - Workspace ID.
- app_
id float - User APPID.
- create_
time str - Create time.
- creator_
uin str - Creator UIN.
- id str
- The provider-assigned unique ID for this managed resource.
- jobs_
count float - Number of Jobs.
- owner_
uin str - Owner UIN.
- role_
auth_ floatcount - Number of workspace members.
- serial_
id str - Serial ID.
- status float
- Workspace status.
- update_
time str - Update time.
- work_
space_ strid - Workspace ID.
- app
Id Number - User APPID.
- create
Time String - Create time.
- creator
Uin String - Creator UIN.
- id String
- The provider-assigned unique ID for this managed resource.
- jobs
Count Number - Number of Jobs.
- owner
Uin String - Owner UIN.
- role
Auth NumberCount - Number of workspace members.
- serial
Id String - Serial ID.
- status Number
- Workspace status.
- update
Time String - Update time.
- work
Space StringId - Workspace ID.
Look up Existing OceanusWorkSpace Resource
Get an existing OceanusWorkSpace resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: OceanusWorkSpaceState, opts?: CustomResourceOptions): OceanusWorkSpace
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
app_id: Optional[float] = None,
create_time: Optional[str] = None,
creator_uin: Optional[str] = None,
description: Optional[str] = None,
jobs_count: Optional[float] = None,
oceanus_work_space_id: Optional[str] = None,
owner_uin: Optional[str] = None,
role_auth_count: Optional[float] = None,
serial_id: Optional[str] = None,
status: Optional[float] = None,
update_time: Optional[str] = None,
work_space_id: Optional[str] = None,
work_space_name: Optional[str] = None) -> OceanusWorkSpace
func GetOceanusWorkSpace(ctx *Context, name string, id IDInput, state *OceanusWorkSpaceState, opts ...ResourceOption) (*OceanusWorkSpace, error)
public static OceanusWorkSpace Get(string name, Input<string> id, OceanusWorkSpaceState? state, CustomResourceOptions? opts = null)
public static OceanusWorkSpace get(String name, Output<String> id, OceanusWorkSpaceState state, CustomResourceOptions options)
resources: _: type: tencentcloud:OceanusWorkSpace get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- App
Id double - User APPID.
- Create
Time string - Create time.
- Creator
Uin string - Creator UIN.
- Description string
- Workspace description.
- Jobs
Count double - Number of Jobs.
- Oceanus
Work stringSpace Id - ID of the resource.
- Owner
Uin string - Owner UIN.
- Role
Auth doubleCount - Number of workspace members.
- Serial
Id string - Serial ID.
- Status double
- Workspace status.
- Update
Time string - Update time.
- Work
Space stringId - Workspace ID.
- Work
Space stringName - Workspace name.
- App
Id float64 - User APPID.
- Create
Time string - Create time.
- Creator
Uin string - Creator UIN.
- Description string
- Workspace description.
- Jobs
Count float64 - Number of Jobs.
- Oceanus
Work stringSpace Id - ID of the resource.
- Owner
Uin string - Owner UIN.
- Role
Auth float64Count - Number of workspace members.
- Serial
Id string - Serial ID.
- Status float64
- Workspace status.
- Update
Time string - Update time.
- Work
Space stringId - Workspace ID.
- Work
Space stringName - Workspace name.
- app
Id Double - User APPID.
- create
Time String - Create time.
- creator
Uin String - Creator UIN.
- description String
- Workspace description.
- jobs
Count Double - Number of Jobs.
- oceanus
Work StringSpace Id - ID of the resource.
- owner
Uin String - Owner UIN.
- role
Auth DoubleCount - Number of workspace members.
- serial
Id String - Serial ID.
- status Double
- Workspace status.
- update
Time String - Update time.
- work
Space StringId - Workspace ID.
- work
Space StringName - Workspace name.
- app
Id number - User APPID.
- create
Time string - Create time.
- creator
Uin string - Creator UIN.
- description string
- Workspace description.
- jobs
Count number - Number of Jobs.
- oceanus
Work stringSpace Id - ID of the resource.
- owner
Uin string - Owner UIN.
- role
Auth numberCount - Number of workspace members.
- serial
Id string - Serial ID.
- status number
- Workspace status.
- update
Time string - Update time.
- work
Space stringId - Workspace ID.
- work
Space stringName - Workspace name.
- app_
id float - User APPID.
- create_
time str - Create time.
- creator_
uin str - Creator UIN.
- description str
- Workspace description.
- jobs_
count float - Number of Jobs.
- oceanus_
work_ strspace_ id - ID of the resource.
- owner_
uin str - Owner UIN.
- role_
auth_ floatcount - Number of workspace members.
- serial_
id str - Serial ID.
- status float
- Workspace status.
- update_
time str - Update time.
- work_
space_ strid - Workspace ID.
- work_
space_ strname - Workspace name.
- app
Id Number - User APPID.
- create
Time String - Create time.
- creator
Uin String - Creator UIN.
- description String
- Workspace description.
- jobs
Count Number - Number of Jobs.
- oceanus
Work StringSpace Id - ID of the resource.
- owner
Uin String - Owner UIN.
- role
Auth NumberCount - Number of workspace members.
- serial
Id String - Serial ID.
- status Number
- Workspace status.
- update
Time String - Update time.
- work
Space StringId - Workspace ID.
- work
Space StringName - Workspace name.
Import
oceanus work_space can be imported using the id, e.g.
$ pulumi import tencentcloud:index/oceanusWorkSpace:OceanusWorkSpace example space-0dan3yux#tf_example
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloud
Terraform Provider.