1. Packages
  2. Volcenginecc Provider
  3. API Docs
  4. vmp
  5. Workspace
volcenginecc v0.0.2 published on Saturday, Oct 11, 2025 by Volcengine

volcenginecc.vmp.Workspace

Deploy with Pulumi
volcenginecc logo
volcenginecc v0.0.2 published on Saturday, Oct 11, 2025 by Volcengine

    工作区(Workspace)是 VMP 服务中采集数据和规则的抽象整合,为用户提供物理隔离或逻辑隔离的 Prometheus 能力。在 VMP 服务中可创建不同的工作区,不同工作区中的数据彼此隔离。

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
    
    const workspaceDemo = new volcenginecc.vmp.Workspace("WorkspaceDemo", {
        username: "WorkspaceDemo",
        password: "***********",
        name: "WorkspaceDemo",
        description: "WorkspaceDemo",
        deleteProtectionEnabled: false,
        instanceTypeId: "vmp.standard.xxx",
        projectName: "default",
        tags: [{
            key: "env",
            value: "test",
        }],
    });
    
    import pulumi
    import pulumi_volcenginecc as volcenginecc
    
    workspace_demo = volcenginecc.vmp.Workspace("WorkspaceDemo",
        username="WorkspaceDemo",
        password="***********",
        name="WorkspaceDemo",
        description="WorkspaceDemo",
        delete_protection_enabled=False,
        instance_type_id="vmp.standard.xxx",
        project_name="default",
        tags=[{
            "key": "env",
            "value": "test",
        }])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/volcengine/pulumi-volcenginecc/sdk/go/volcenginecc/vmp"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := vmp.NewWorkspace(ctx, "WorkspaceDemo", &vmp.WorkspaceArgs{
    			Username:                pulumi.String("WorkspaceDemo"),
    			Password:                pulumi.String("***********"),
    			Name:                    pulumi.String("WorkspaceDemo"),
    			Description:             pulumi.String("WorkspaceDemo"),
    			DeleteProtectionEnabled: pulumi.Bool(false),
    			InstanceTypeId:          pulumi.String("vmp.standard.xxx"),
    			ProjectName:             pulumi.String("default"),
    			Tags: vmp.WorkspaceTagArray{
    				&vmp.WorkspaceTagArgs{
    					Key:   pulumi.String("env"),
    					Value: pulumi.String("test"),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Volcenginecc = Volcengine.Pulumi.Volcenginecc;
    
    return await Deployment.RunAsync(() => 
    {
        var workspaceDemo = new Volcenginecc.Vmp.Workspace("WorkspaceDemo", new()
        {
            Username = "WorkspaceDemo",
            Password = "***********",
            Name = "WorkspaceDemo",
            Description = "WorkspaceDemo",
            DeleteProtectionEnabled = false,
            InstanceTypeId = "vmp.standard.xxx",
            ProjectName = "default",
            Tags = new[]
            {
                new Volcenginecc.Vmp.Inputs.WorkspaceTagArgs
                {
                    Key = "env",
                    Value = "test",
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.volcengine.volcenginecc.vmp.Workspace;
    import com.volcengine.volcenginecc.vmp.WorkspaceArgs;
    import com.pulumi.volcenginecc.vmp.inputs.WorkspaceTagArgs;
    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 workspaceDemo = new Workspace("workspaceDemo", WorkspaceArgs.builder()
                .username("WorkspaceDemo")
                .password("***********")
                .name("WorkspaceDemo")
                .description("WorkspaceDemo")
                .deleteProtectionEnabled(false)
                .instanceTypeId("vmp.standard.xxx")
                .projectName("default")
                .tags(WorkspaceTagArgs.builder()
                    .key("env")
                    .value("test")
                    .build())
                .build());
    
        }
    }
    
    resources:
      workspaceDemo:
        type: volcenginecc:vmp:Workspace
        name: WorkspaceDemo
        properties:
          username: WorkspaceDemo
          password: '***********'
          name: WorkspaceDemo
          description: WorkspaceDemo
          deleteProtectionEnabled: false
          instanceTypeId: vmp.standard.xxx
          projectName: default
          tags:
            - key: env
              value: test
    

    Create Workspace Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Workspace(name: string, args: WorkspaceArgs, opts?: CustomResourceOptions);
    @overload
    def Workspace(resource_name: str,
                  args: WorkspaceArgs,
                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def Workspace(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  instance_type_id: Optional[str] = None,
                  name: Optional[str] = None,
                  delete_protection_enabled: Optional[bool] = None,
                  description: Optional[str] = None,
                  password: Optional[str] = None,
                  project_name: Optional[str] = None,
                  tags: Optional[Sequence[WorkspaceTagArgs]] = None,
                  username: Optional[str] = None)
    func NewWorkspace(ctx *Context, name string, args WorkspaceArgs, opts ...ResourceOption) (*Workspace, error)
    public Workspace(string name, WorkspaceArgs args, CustomResourceOptions? opts = null)
    public Workspace(String name, WorkspaceArgs args)
    public Workspace(String name, WorkspaceArgs args, CustomResourceOptions options)
    
    type: volcenginecc:vmp:Workspace
    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 WorkspaceArgs
    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 WorkspaceArgs
    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 WorkspaceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args WorkspaceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args WorkspaceArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var workspaceResource = new Volcenginecc.Vmp.Workspace("workspaceResource", new()
    {
        InstanceTypeId = "string",
        Name = "string",
        DeleteProtectionEnabled = false,
        Description = "string",
        Password = "string",
        ProjectName = "string",
        Tags = new[]
        {
            new Volcenginecc.Vmp.Inputs.WorkspaceTagArgs
            {
                Key = "string",
                Value = "string",
            },
        },
        Username = "string",
    });
    
    example, err := vmp.NewWorkspace(ctx, "workspaceResource", &vmp.WorkspaceArgs{
    	InstanceTypeId:          pulumi.String("string"),
    	Name:                    pulumi.String("string"),
    	DeleteProtectionEnabled: pulumi.Bool(false),
    	Description:             pulumi.String("string"),
    	Password:                pulumi.String("string"),
    	ProjectName:             pulumi.String("string"),
    	Tags: vmp.WorkspaceTagArray{
    		&vmp.WorkspaceTagArgs{
    			Key:   pulumi.String("string"),
    			Value: pulumi.String("string"),
    		},
    	},
    	Username: pulumi.String("string"),
    })
    
    var workspaceResource = new Workspace("workspaceResource", WorkspaceArgs.builder()
        .instanceTypeId("string")
        .name("string")
        .deleteProtectionEnabled(false)
        .description("string")
        .password("string")
        .projectName("string")
        .tags(WorkspaceTagArgs.builder()
            .key("string")
            .value("string")
            .build())
        .username("string")
        .build());
    
    workspace_resource = volcenginecc.vmp.Workspace("workspaceResource",
        instance_type_id="string",
        name="string",
        delete_protection_enabled=False,
        description="string",
        password="string",
        project_name="string",
        tags=[{
            "key": "string",
            "value": "string",
        }],
        username="string")
    
    const workspaceResource = new volcenginecc.vmp.Workspace("workspaceResource", {
        instanceTypeId: "string",
        name: "string",
        deleteProtectionEnabled: false,
        description: "string",
        password: "string",
        projectName: "string",
        tags: [{
            key: "string",
            value: "string",
        }],
        username: "string",
    });
    
    type: volcenginecc:vmp:Workspace
    properties:
        deleteProtectionEnabled: false
        description: string
        instanceTypeId: string
        name: string
        password: string
        projectName: string
        tags:
            - key: string
              value: string
        username: string
    

    Workspace 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 Workspace resource accepts the following input properties:

    InstanceTypeId string
    工作区规格,vmp.standard.15d:15 天存储时长工作区。vmp.standard.30d:30 天存储时长工作区。vmp.standard.90d:90 天存储时长工作区。vmp.standard.180d:180 天存储时长工作区。vmp.standard.1y:1 年存储时长工作区。
    Name string
    工作区名称,字符串形式,长度限制为 1~100。
    DeleteProtectionEnabled bool
    是否开启工作区删除保护,true:开启,false:关闭。
    Description string
    工作区描述信息,字符串形式,长度限制为 0~200。
    Password string
    工作区 BasicAuth 密码。
    ProjectName string
    项目名称。
    Tags List<Volcengine.WorkspaceTag>
    Username string
    工作区 BasicAuth 用户名。
    InstanceTypeId string
    工作区规格,vmp.standard.15d:15 天存储时长工作区。vmp.standard.30d:30 天存储时长工作区。vmp.standard.90d:90 天存储时长工作区。vmp.standard.180d:180 天存储时长工作区。vmp.standard.1y:1 年存储时长工作区。
    Name string
    工作区名称,字符串形式,长度限制为 1~100。
    DeleteProtectionEnabled bool
    是否开启工作区删除保护,true:开启,false:关闭。
    Description string
    工作区描述信息,字符串形式,长度限制为 0~200。
    Password string
    工作区 BasicAuth 密码。
    ProjectName string
    项目名称。
    Tags []WorkspaceTagArgs
    Username string
    工作区 BasicAuth 用户名。
    instanceTypeId String
    工作区规格,vmp.standard.15d:15 天存储时长工作区。vmp.standard.30d:30 天存储时长工作区。vmp.standard.90d:90 天存储时长工作区。vmp.standard.180d:180 天存储时长工作区。vmp.standard.1y:1 年存储时长工作区。
    name String
    工作区名称,字符串形式,长度限制为 1~100。
    deleteProtectionEnabled Boolean
    是否开启工作区删除保护,true:开启,false:关闭。
    description String
    工作区描述信息,字符串形式,长度限制为 0~200。
    password String
    工作区 BasicAuth 密码。
    projectName String
    项目名称。
    tags List<WorkspaceTag>
    username String
    工作区 BasicAuth 用户名。
    instanceTypeId string
    工作区规格,vmp.standard.15d:15 天存储时长工作区。vmp.standard.30d:30 天存储时长工作区。vmp.standard.90d:90 天存储时长工作区。vmp.standard.180d:180 天存储时长工作区。vmp.standard.1y:1 年存储时长工作区。
    name string
    工作区名称,字符串形式,长度限制为 1~100。
    deleteProtectionEnabled boolean
    是否开启工作区删除保护,true:开启,false:关闭。
    description string
    工作区描述信息,字符串形式,长度限制为 0~200。
    password string
    工作区 BasicAuth 密码。
    projectName string
    项目名称。
    tags WorkspaceTag[]
    username string
    工作区 BasicAuth 用户名。
    instance_type_id str
    工作区规格,vmp.standard.15d:15 天存储时长工作区。vmp.standard.30d:30 天存储时长工作区。vmp.standard.90d:90 天存储时长工作区。vmp.standard.180d:180 天存储时长工作区。vmp.standard.1y:1 年存储时长工作区。
    name str
    工作区名称,字符串形式,长度限制为 1~100。
    delete_protection_enabled bool
    是否开启工作区删除保护,true:开启,false:关闭。
    description str
    工作区描述信息,字符串形式,长度限制为 0~200。
    password str
    工作区 BasicAuth 密码。
    project_name str
    项目名称。
    tags Sequence[WorkspaceTagArgs]
    username str
    工作区 BasicAuth 用户名。
    instanceTypeId String
    工作区规格,vmp.standard.15d:15 天存储时长工作区。vmp.standard.30d:30 天存储时长工作区。vmp.standard.90d:90 天存储时长工作区。vmp.standard.180d:180 天存储时长工作区。vmp.standard.1y:1 年存储时长工作区。
    name String
    工作区名称,字符串形式,长度限制为 1~100。
    deleteProtectionEnabled Boolean
    是否开启工作区删除保护,true:开启,false:关闭。
    description String
    工作区描述信息,字符串形式,长度限制为 0~200。
    password String
    工作区 BasicAuth 密码。
    projectName String
    项目名称。
    tags List<Property Map>
    username String
    工作区 BasicAuth 用户名。

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Workspace resource produces the following output properties:

    CreateTime string
    工作区创建时间,RFC3339 格式。
    Id string
    The provider-assigned unique ID for this managed resource.
    InstanceType Volcengine.WorkspaceInstanceType
    工作区规格详情。
    OverdueReclaimTime string
    工作区预期欠费回收时间,RFC3339 格式。
    PrometheusPushIntranetEndpoint string
    工作区 Push Gateway URL 地址。
    PrometheusQueryIntranetEndpoint string
    工作区 Query URL 地址。
    PrometheusWriteIntranetEndpoint string
    工作区 RemoteWrite URL 地址。
    Quota Volcengine.WorkspaceQuota
    工作区配额详情。
    Status string
    工作区状态,取值:Creating:创建中 Active:正常 Updating:更新中 Deleting:删除中 OverdueShutted:欠费关停 Resuming:恢复中 Error:错误。
    Usage Volcengine.WorkspaceUsage
    工作区用量。
    WorkspaceId string
    工作区Id。
    CreateTime string
    工作区创建时间,RFC3339 格式。
    Id string
    The provider-assigned unique ID for this managed resource.
    InstanceType WorkspaceInstanceType
    工作区规格详情。
    OverdueReclaimTime string
    工作区预期欠费回收时间,RFC3339 格式。
    PrometheusPushIntranetEndpoint string
    工作区 Push Gateway URL 地址。
    PrometheusQueryIntranetEndpoint string
    工作区 Query URL 地址。
    PrometheusWriteIntranetEndpoint string
    工作区 RemoteWrite URL 地址。
    Quota WorkspaceQuota
    工作区配额详情。
    Status string
    工作区状态,取值:Creating:创建中 Active:正常 Updating:更新中 Deleting:删除中 OverdueShutted:欠费关停 Resuming:恢复中 Error:错误。
    Usage WorkspaceUsage
    工作区用量。
    WorkspaceId string
    工作区Id。
    createTime String
    工作区创建时间,RFC3339 格式。
    id String
    The provider-assigned unique ID for this managed resource.
    instanceType WorkspaceInstanceType
    工作区规格详情。
    overdueReclaimTime String
    工作区预期欠费回收时间,RFC3339 格式。
    prometheusPushIntranetEndpoint String
    工作区 Push Gateway URL 地址。
    prometheusQueryIntranetEndpoint String
    工作区 Query URL 地址。
    prometheusWriteIntranetEndpoint String
    工作区 RemoteWrite URL 地址。
    quota WorkspaceQuota
    工作区配额详情。
    status String
    工作区状态,取值:Creating:创建中 Active:正常 Updating:更新中 Deleting:删除中 OverdueShutted:欠费关停 Resuming:恢复中 Error:错误。
    usage WorkspaceUsage
    工作区用量。
    workspaceId String
    工作区Id。
    createTime string
    工作区创建时间,RFC3339 格式。
    id string
    The provider-assigned unique ID for this managed resource.
    instanceType WorkspaceInstanceType
    工作区规格详情。
    overdueReclaimTime string
    工作区预期欠费回收时间,RFC3339 格式。
    prometheusPushIntranetEndpoint string
    工作区 Push Gateway URL 地址。
    prometheusQueryIntranetEndpoint string
    工作区 Query URL 地址。
    prometheusWriteIntranetEndpoint string
    工作区 RemoteWrite URL 地址。
    quota WorkspaceQuota
    工作区配额详情。
    status string
    工作区状态,取值:Creating:创建中 Active:正常 Updating:更新中 Deleting:删除中 OverdueShutted:欠费关停 Resuming:恢复中 Error:错误。
    usage WorkspaceUsage
    工作区用量。
    workspaceId string
    工作区Id。
    create_time str
    工作区创建时间,RFC3339 格式。
    id str
    The provider-assigned unique ID for this managed resource.
    instance_type WorkspaceInstanceType
    工作区规格详情。
    overdue_reclaim_time str
    工作区预期欠费回收时间,RFC3339 格式。
    prometheus_push_intranet_endpoint str
    工作区 Push Gateway URL 地址。
    prometheus_query_intranet_endpoint str
    工作区 Query URL 地址。
    prometheus_write_intranet_endpoint str
    工作区 RemoteWrite URL 地址。
    quota WorkspaceQuota
    工作区配额详情。
    status str
    工作区状态,取值:Creating:创建中 Active:正常 Updating:更新中 Deleting:删除中 OverdueShutted:欠费关停 Resuming:恢复中 Error:错误。
    usage WorkspaceUsage
    工作区用量。
    workspace_id str
    工作区Id。
    createTime String
    工作区创建时间,RFC3339 格式。
    id String
    The provider-assigned unique ID for this managed resource.
    instanceType Property Map
    工作区规格详情。
    overdueReclaimTime String
    工作区预期欠费回收时间,RFC3339 格式。
    prometheusPushIntranetEndpoint String
    工作区 Push Gateway URL 地址。
    prometheusQueryIntranetEndpoint String
    工作区 Query URL 地址。
    prometheusWriteIntranetEndpoint String
    工作区 RemoteWrite URL 地址。
    quota Property Map
    工作区配额详情。
    status String
    工作区状态,取值:Creating:创建中 Active:正常 Updating:更新中 Deleting:删除中 OverdueShutted:欠费关停 Resuming:恢复中 Error:错误。
    usage Property Map
    工作区用量。
    workspaceId String
    工作区Id。

    Look up Existing Workspace Resource

    Get an existing Workspace 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?: WorkspaceState, opts?: CustomResourceOptions): Workspace
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            create_time: Optional[str] = None,
            delete_protection_enabled: Optional[bool] = None,
            description: Optional[str] = None,
            instance_type: Optional[WorkspaceInstanceTypeArgs] = None,
            instance_type_id: Optional[str] = None,
            name: Optional[str] = None,
            overdue_reclaim_time: Optional[str] = None,
            password: Optional[str] = None,
            project_name: Optional[str] = None,
            prometheus_push_intranet_endpoint: Optional[str] = None,
            prometheus_query_intranet_endpoint: Optional[str] = None,
            prometheus_write_intranet_endpoint: Optional[str] = None,
            quota: Optional[WorkspaceQuotaArgs] = None,
            status: Optional[str] = None,
            tags: Optional[Sequence[WorkspaceTagArgs]] = None,
            usage: Optional[WorkspaceUsageArgs] = None,
            username: Optional[str] = None,
            workspace_id: Optional[str] = None) -> Workspace
    func GetWorkspace(ctx *Context, name string, id IDInput, state *WorkspaceState, opts ...ResourceOption) (*Workspace, error)
    public static Workspace Get(string name, Input<string> id, WorkspaceState? state, CustomResourceOptions? opts = null)
    public static Workspace get(String name, Output<String> id, WorkspaceState state, CustomResourceOptions options)
    resources:  _:    type: volcenginecc:vmp:Workspace    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.
    The following state arguments are supported:
    CreateTime string
    工作区创建时间,RFC3339 格式。
    DeleteProtectionEnabled bool
    是否开启工作区删除保护,true:开启,false:关闭。
    Description string
    工作区描述信息,字符串形式,长度限制为 0~200。
    InstanceType Volcengine.WorkspaceInstanceType
    工作区规格详情。
    InstanceTypeId string
    工作区规格,vmp.standard.15d:15 天存储时长工作区。vmp.standard.30d:30 天存储时长工作区。vmp.standard.90d:90 天存储时长工作区。vmp.standard.180d:180 天存储时长工作区。vmp.standard.1y:1 年存储时长工作区。
    Name string
    工作区名称,字符串形式,长度限制为 1~100。
    OverdueReclaimTime string
    工作区预期欠费回收时间,RFC3339 格式。
    Password string
    工作区 BasicAuth 密码。
    ProjectName string
    项目名称。
    PrometheusPushIntranetEndpoint string
    工作区 Push Gateway URL 地址。
    PrometheusQueryIntranetEndpoint string
    工作区 Query URL 地址。
    PrometheusWriteIntranetEndpoint string
    工作区 RemoteWrite URL 地址。
    Quota Volcengine.WorkspaceQuota
    工作区配额详情。
    Status string
    工作区状态,取值:Creating:创建中 Active:正常 Updating:更新中 Deleting:删除中 OverdueShutted:欠费关停 Resuming:恢复中 Error:错误。
    Tags List<Volcengine.WorkspaceTag>
    Usage Volcengine.WorkspaceUsage
    工作区用量。
    Username string
    工作区 BasicAuth 用户名。
    WorkspaceId string
    工作区Id。
    CreateTime string
    工作区创建时间,RFC3339 格式。
    DeleteProtectionEnabled bool
    是否开启工作区删除保护,true:开启,false:关闭。
    Description string
    工作区描述信息,字符串形式,长度限制为 0~200。
    InstanceType WorkspaceInstanceTypeArgs
    工作区规格详情。
    InstanceTypeId string
    工作区规格,vmp.standard.15d:15 天存储时长工作区。vmp.standard.30d:30 天存储时长工作区。vmp.standard.90d:90 天存储时长工作区。vmp.standard.180d:180 天存储时长工作区。vmp.standard.1y:1 年存储时长工作区。
    Name string
    工作区名称,字符串形式,长度限制为 1~100。
    OverdueReclaimTime string
    工作区预期欠费回收时间,RFC3339 格式。
    Password string
    工作区 BasicAuth 密码。
    ProjectName string
    项目名称。
    PrometheusPushIntranetEndpoint string
    工作区 Push Gateway URL 地址。
    PrometheusQueryIntranetEndpoint string
    工作区 Query URL 地址。
    PrometheusWriteIntranetEndpoint string
    工作区 RemoteWrite URL 地址。
    Quota WorkspaceQuotaArgs
    工作区配额详情。
    Status string
    工作区状态,取值:Creating:创建中 Active:正常 Updating:更新中 Deleting:删除中 OverdueShutted:欠费关停 Resuming:恢复中 Error:错误。
    Tags []WorkspaceTagArgs
    Usage WorkspaceUsageArgs
    工作区用量。
    Username string
    工作区 BasicAuth 用户名。
    WorkspaceId string
    工作区Id。
    createTime String
    工作区创建时间,RFC3339 格式。
    deleteProtectionEnabled Boolean
    是否开启工作区删除保护,true:开启,false:关闭。
    description String
    工作区描述信息,字符串形式,长度限制为 0~200。
    instanceType WorkspaceInstanceType
    工作区规格详情。
    instanceTypeId String
    工作区规格,vmp.standard.15d:15 天存储时长工作区。vmp.standard.30d:30 天存储时长工作区。vmp.standard.90d:90 天存储时长工作区。vmp.standard.180d:180 天存储时长工作区。vmp.standard.1y:1 年存储时长工作区。
    name String
    工作区名称,字符串形式,长度限制为 1~100。
    overdueReclaimTime String
    工作区预期欠费回收时间,RFC3339 格式。
    password String
    工作区 BasicAuth 密码。
    projectName String
    项目名称。
    prometheusPushIntranetEndpoint String
    工作区 Push Gateway URL 地址。
    prometheusQueryIntranetEndpoint String
    工作区 Query URL 地址。
    prometheusWriteIntranetEndpoint String
    工作区 RemoteWrite URL 地址。
    quota WorkspaceQuota
    工作区配额详情。
    status String
    工作区状态,取值:Creating:创建中 Active:正常 Updating:更新中 Deleting:删除中 OverdueShutted:欠费关停 Resuming:恢复中 Error:错误。
    tags List<WorkspaceTag>
    usage WorkspaceUsage
    工作区用量。
    username String
    工作区 BasicAuth 用户名。
    workspaceId String
    工作区Id。
    createTime string
    工作区创建时间,RFC3339 格式。
    deleteProtectionEnabled boolean
    是否开启工作区删除保护,true:开启,false:关闭。
    description string
    工作区描述信息,字符串形式,长度限制为 0~200。
    instanceType WorkspaceInstanceType
    工作区规格详情。
    instanceTypeId string
    工作区规格,vmp.standard.15d:15 天存储时长工作区。vmp.standard.30d:30 天存储时长工作区。vmp.standard.90d:90 天存储时长工作区。vmp.standard.180d:180 天存储时长工作区。vmp.standard.1y:1 年存储时长工作区。
    name string
    工作区名称,字符串形式,长度限制为 1~100。
    overdueReclaimTime string
    工作区预期欠费回收时间,RFC3339 格式。
    password string
    工作区 BasicAuth 密码。
    projectName string
    项目名称。
    prometheusPushIntranetEndpoint string
    工作区 Push Gateway URL 地址。
    prometheusQueryIntranetEndpoint string
    工作区 Query URL 地址。
    prometheusWriteIntranetEndpoint string
    工作区 RemoteWrite URL 地址。
    quota WorkspaceQuota
    工作区配额详情。
    status string
    工作区状态,取值:Creating:创建中 Active:正常 Updating:更新中 Deleting:删除中 OverdueShutted:欠费关停 Resuming:恢复中 Error:错误。
    tags WorkspaceTag[]
    usage WorkspaceUsage
    工作区用量。
    username string
    工作区 BasicAuth 用户名。
    workspaceId string
    工作区Id。
    create_time str
    工作区创建时间,RFC3339 格式。
    delete_protection_enabled bool
    是否开启工作区删除保护,true:开启,false:关闭。
    description str
    工作区描述信息,字符串形式,长度限制为 0~200。
    instance_type WorkspaceInstanceTypeArgs
    工作区规格详情。
    instance_type_id str
    工作区规格,vmp.standard.15d:15 天存储时长工作区。vmp.standard.30d:30 天存储时长工作区。vmp.standard.90d:90 天存储时长工作区。vmp.standard.180d:180 天存储时长工作区。vmp.standard.1y:1 年存储时长工作区。
    name str
    工作区名称,字符串形式,长度限制为 1~100。
    overdue_reclaim_time str
    工作区预期欠费回收时间,RFC3339 格式。
    password str
    工作区 BasicAuth 密码。
    project_name str
    项目名称。
    prometheus_push_intranet_endpoint str
    工作区 Push Gateway URL 地址。
    prometheus_query_intranet_endpoint str
    工作区 Query URL 地址。
    prometheus_write_intranet_endpoint str
    工作区 RemoteWrite URL 地址。
    quota WorkspaceQuotaArgs
    工作区配额详情。
    status str
    工作区状态,取值:Creating:创建中 Active:正常 Updating:更新中 Deleting:删除中 OverdueShutted:欠费关停 Resuming:恢复中 Error:错误。
    tags Sequence[WorkspaceTagArgs]
    usage WorkspaceUsageArgs
    工作区用量。
    username str
    工作区 BasicAuth 用户名。
    workspace_id str
    工作区Id。
    createTime String
    工作区创建时间,RFC3339 格式。
    deleteProtectionEnabled Boolean
    是否开启工作区删除保护,true:开启,false:关闭。
    description String
    工作区描述信息,字符串形式,长度限制为 0~200。
    instanceType Property Map
    工作区规格详情。
    instanceTypeId String
    工作区规格,vmp.standard.15d:15 天存储时长工作区。vmp.standard.30d:30 天存储时长工作区。vmp.standard.90d:90 天存储时长工作区。vmp.standard.180d:180 天存储时长工作区。vmp.standard.1y:1 年存储时长工作区。
    name String
    工作区名称,字符串形式,长度限制为 1~100。
    overdueReclaimTime String
    工作区预期欠费回收时间,RFC3339 格式。
    password String
    工作区 BasicAuth 密码。
    projectName String
    项目名称。
    prometheusPushIntranetEndpoint String
    工作区 Push Gateway URL 地址。
    prometheusQueryIntranetEndpoint String
    工作区 Query URL 地址。
    prometheusWriteIntranetEndpoint String
    工作区 RemoteWrite URL 地址。
    quota Property Map
    工作区配额详情。
    status String
    工作区状态,取值:Creating:创建中 Active:正常 Updating:更新中 Deleting:删除中 OverdueShutted:欠费关停 Resuming:恢复中 Error:错误。
    tags List<Property Map>
    usage Property Map
    工作区用量。
    username String
    工作区 BasicAuth 用户名。
    workspaceId String
    工作区Id。

    Supporting Types

    WorkspaceInstanceType, WorkspaceInstanceTypeArgs

    ActiveSeries int
    最大活跃时序数。
    AvailabilityZoneReplicas int
    可用区(az)数。
    DownsamplingPeriods List<string>
    降采样策略。
    IngestSamplesPerSecond int
    最大每秒写入样本数。
    QueryConcurrency int
    最大查询并发数。
    QueryPerSecond int
    最大查询 QPS。
    ReplicasPerZone int
    每个可用区(az)的数据副本数。
    RetentionPeriod string
    最长数据保留时间。
    ScanSamplesPerSecond int
    最大每秒扫描样本数。
    ScanSeriesPerSecond int
    最大每秒扫描时序数。
    ActiveSeries int
    最大活跃时序数。
    AvailabilityZoneReplicas int
    可用区(az)数。
    DownsamplingPeriods []string
    降采样策略。
    IngestSamplesPerSecond int
    最大每秒写入样本数。
    QueryConcurrency int
    最大查询并发数。
    QueryPerSecond int
    最大查询 QPS。
    ReplicasPerZone int
    每个可用区(az)的数据副本数。
    RetentionPeriod string
    最长数据保留时间。
    ScanSamplesPerSecond int
    最大每秒扫描样本数。
    ScanSeriesPerSecond int
    最大每秒扫描时序数。
    activeSeries Integer
    最大活跃时序数。
    availabilityZoneReplicas Integer
    可用区(az)数。
    downsamplingPeriods List<String>
    降采样策略。
    ingestSamplesPerSecond Integer
    最大每秒写入样本数。
    queryConcurrency Integer
    最大查询并发数。
    queryPerSecond Integer
    最大查询 QPS。
    replicasPerZone Integer
    每个可用区(az)的数据副本数。
    retentionPeriod String
    最长数据保留时间。
    scanSamplesPerSecond Integer
    最大每秒扫描样本数。
    scanSeriesPerSecond Integer
    最大每秒扫描时序数。
    activeSeries number
    最大活跃时序数。
    availabilityZoneReplicas number
    可用区(az)数。
    downsamplingPeriods string[]
    降采样策略。
    ingestSamplesPerSecond number
    最大每秒写入样本数。
    queryConcurrency number
    最大查询并发数。
    queryPerSecond number
    最大查询 QPS。
    replicasPerZone number
    每个可用区(az)的数据副本数。
    retentionPeriod string
    最长数据保留时间。
    scanSamplesPerSecond number
    最大每秒扫描样本数。
    scanSeriesPerSecond number
    最大每秒扫描时序数。
    active_series int
    最大活跃时序数。
    availability_zone_replicas int
    可用区(az)数。
    downsampling_periods Sequence[str]
    降采样策略。
    ingest_samples_per_second int
    最大每秒写入样本数。
    query_concurrency int
    最大查询并发数。
    query_per_second int
    最大查询 QPS。
    replicas_per_zone int
    每个可用区(az)的数据副本数。
    retention_period str
    最长数据保留时间。
    scan_samples_per_second int
    最大每秒扫描样本数。
    scan_series_per_second int
    最大每秒扫描时序数。
    activeSeries Number
    最大活跃时序数。
    availabilityZoneReplicas Number
    可用区(az)数。
    downsamplingPeriods List<String>
    降采样策略。
    ingestSamplesPerSecond Number
    最大每秒写入样本数。
    queryConcurrency Number
    最大查询并发数。
    queryPerSecond Number
    最大查询 QPS。
    replicasPerZone Number
    每个可用区(az)的数据副本数。
    retentionPeriod String
    最长数据保留时间。
    scanSamplesPerSecond Number
    最大每秒扫描样本数。
    scanSeriesPerSecond Number
    最大每秒扫描时序数。

    WorkspaceQuota, WorkspaceQuotaArgs

    ActiveSeries int
    最大活跃时序数。整数形式,默认取值范围为 1~50000000。
    IngestSamplesPerSecond int
    指标摄入速率,即最大每秒写入样本数。整数形式,默认取值范围为 1~5000000。
    QueryPerSecond int
    最大查询 QPS。整数形式,默认取值范围为 1~500。
    ScanSamplesPerSecond int
    最大每秒扫描样本数。整数形式,默认取值范围为 1~1000000000。
    ScanSeriesPerSecond int
    最大每秒扫描时序数。整数形式,默认取值范围为 1~200000。
    ActiveSeries int
    最大活跃时序数。整数形式,默认取值范围为 1~50000000。
    IngestSamplesPerSecond int
    指标摄入速率,即最大每秒写入样本数。整数形式,默认取值范围为 1~5000000。
    QueryPerSecond int
    最大查询 QPS。整数形式,默认取值范围为 1~500。
    ScanSamplesPerSecond int
    最大每秒扫描样本数。整数形式,默认取值范围为 1~1000000000。
    ScanSeriesPerSecond int
    最大每秒扫描时序数。整数形式,默认取值范围为 1~200000。
    activeSeries Integer
    最大活跃时序数。整数形式,默认取值范围为 1~50000000。
    ingestSamplesPerSecond Integer
    指标摄入速率,即最大每秒写入样本数。整数形式,默认取值范围为 1~5000000。
    queryPerSecond Integer
    最大查询 QPS。整数形式,默认取值范围为 1~500。
    scanSamplesPerSecond Integer
    最大每秒扫描样本数。整数形式,默认取值范围为 1~1000000000。
    scanSeriesPerSecond Integer
    最大每秒扫描时序数。整数形式,默认取值范围为 1~200000。
    activeSeries number
    最大活跃时序数。整数形式,默认取值范围为 1~50000000。
    ingestSamplesPerSecond number
    指标摄入速率,即最大每秒写入样本数。整数形式,默认取值范围为 1~5000000。
    queryPerSecond number
    最大查询 QPS。整数形式,默认取值范围为 1~500。
    scanSamplesPerSecond number
    最大每秒扫描样本数。整数形式,默认取值范围为 1~1000000000。
    scanSeriesPerSecond number
    最大每秒扫描时序数。整数形式,默认取值范围为 1~200000。
    active_series int
    最大活跃时序数。整数形式,默认取值范围为 1~50000000。
    ingest_samples_per_second int
    指标摄入速率,即最大每秒写入样本数。整数形式,默认取值范围为 1~5000000。
    query_per_second int
    最大查询 QPS。整数形式,默认取值范围为 1~500。
    scan_samples_per_second int
    最大每秒扫描样本数。整数形式,默认取值范围为 1~1000000000。
    scan_series_per_second int
    最大每秒扫描时序数。整数形式,默认取值范围为 1~200000。
    activeSeries Number
    最大活跃时序数。整数形式,默认取值范围为 1~50000000。
    ingestSamplesPerSecond Number
    指标摄入速率,即最大每秒写入样本数。整数形式,默认取值范围为 1~5000000。
    queryPerSecond Number
    最大查询 QPS。整数形式,默认取值范围为 1~500。
    scanSamplesPerSecond Number
    最大每秒扫描样本数。整数形式,默认取值范围为 1~1000000000。
    scanSeriesPerSecond Number
    最大每秒扫描时序数。整数形式,默认取值范围为 1~200000。

    WorkspaceTag, WorkspaceTagArgs

    Key string
    标签键。
    Value string
    标签值。
    Key string
    标签键。
    Value string
    标签值。
    key String
    标签键。
    value String
    标签值。
    key string
    标签键。
    value string
    标签值。
    key str
    标签键。
    value str
    标签值。
    key String
    标签键。
    value String
    标签值。

    WorkspaceUsage, WorkspaceUsageArgs

    ActiveSeries int
    活跃时序数。
    IngestedSamplesPerSecond double
    每秒写入样本数。
    ActiveSeries int
    活跃时序数。
    IngestedSamplesPerSecond float64
    每秒写入样本数。
    activeSeries Integer
    活跃时序数。
    ingestedSamplesPerSecond Double
    每秒写入样本数。
    activeSeries number
    活跃时序数。
    ingestedSamplesPerSecond number
    每秒写入样本数。
    active_series int
    活跃时序数。
    ingested_samples_per_second float
    每秒写入样本数。
    activeSeries Number
    活跃时序数。
    ingestedSamplesPerSecond Number
    每秒写入样本数。

    Import

    $ pulumi import volcenginecc:vmp/workspace:Workspace example "workspace_id"
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    volcenginecc volcengine/pulumi-volcenginecc
    License
    MPL-2.0
    Notes
    This Pulumi package is based on the volcenginecc Terraform Provider.
    volcenginecc logo
    volcenginecc v0.0.2 published on Saturday, Oct 11, 2025 by Volcengine
      Meet Neo: Your AI Platform Teammate