volcenginecc.vmp.Workspace
工作区(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:
- Instance
Type stringId - 工作区规格,vmp.standard.15d:15 天存储时长工作区。vmp.standard.30d:30 天存储时长工作区。vmp.standard.90d:90 天存储时长工作区。vmp.standard.180d:180 天存储时长工作区。vmp.standard.1y:1 年存储时长工作区。
- Name string
- 工作区名称,字符串形式,长度限制为 1~100。
- Delete
Protection boolEnabled - 是否开启工作区删除保护,true:开启,false:关闭。
- Description string
- 工作区描述信息,字符串形式,长度限制为 0~200。
- Password string
- 工作区 BasicAuth 密码。
- Project
Name string - 项目名称。
- List<Volcengine.
Workspace Tag> - Username string
- 工作区 BasicAuth 用户名。
- Instance
Type stringId - 工作区规格,vmp.standard.15d:15 天存储时长工作区。vmp.standard.30d:30 天存储时长工作区。vmp.standard.90d:90 天存储时长工作区。vmp.standard.180d:180 天存储时长工作区。vmp.standard.1y:1 年存储时长工作区。
- Name string
- 工作区名称,字符串形式,长度限制为 1~100。
- Delete
Protection boolEnabled - 是否开启工作区删除保护,true:开启,false:关闭。
- Description string
- 工作区描述信息,字符串形式,长度限制为 0~200。
- Password string
- 工作区 BasicAuth 密码。
- Project
Name string - 项目名称。
- []Workspace
Tag Args - Username string
- 工作区 BasicAuth 用户名。
- instance
Type StringId - 工作区规格,vmp.standard.15d:15 天存储时长工作区。vmp.standard.30d:30 天存储时长工作区。vmp.standard.90d:90 天存储时长工作区。vmp.standard.180d:180 天存储时长工作区。vmp.standard.1y:1 年存储时长工作区。
- name String
- 工作区名称,字符串形式,长度限制为 1~100。
- delete
Protection BooleanEnabled - 是否开启工作区删除保护,true:开启,false:关闭。
- description String
- 工作区描述信息,字符串形式,长度限制为 0~200。
- password String
- 工作区 BasicAuth 密码。
- project
Name String - 项目名称。
- List<Workspace
Tag> - username String
- 工作区 BasicAuth 用户名。
- instance
Type stringId - 工作区规格,vmp.standard.15d:15 天存储时长工作区。vmp.standard.30d:30 天存储时长工作区。vmp.standard.90d:90 天存储时长工作区。vmp.standard.180d:180 天存储时长工作区。vmp.standard.1y:1 年存储时长工作区。
- name string
- 工作区名称,字符串形式,长度限制为 1~100。
- delete
Protection booleanEnabled - 是否开启工作区删除保护,true:开启,false:关闭。
- description string
- 工作区描述信息,字符串形式,长度限制为 0~200。
- password string
- 工作区 BasicAuth 密码。
- project
Name string - 项目名称。
- Workspace
Tag[] - username string
- 工作区 BasicAuth 用户名。
- instance_
type_ strid - 工作区规格,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_ boolenabled - 是否开启工作区删除保护,true:开启,false:关闭。
- description str
- 工作区描述信息,字符串形式,长度限制为 0~200。
- password str
- 工作区 BasicAuth 密码。
- project_
name str - 项目名称。
- Sequence[Workspace
Tag Args] - username str
- 工作区 BasicAuth 用户名。
- instance
Type StringId - 工作区规格,vmp.standard.15d:15 天存储时长工作区。vmp.standard.30d:30 天存储时长工作区。vmp.standard.90d:90 天存储时长工作区。vmp.standard.180d:180 天存储时长工作区。vmp.standard.1y:1 年存储时长工作区。
- name String
- 工作区名称,字符串形式,长度限制为 1~100。
- delete
Protection BooleanEnabled - 是否开启工作区删除保护,true:开启,false:关闭。
- description String
- 工作区描述信息,字符串形式,长度限制为 0~200。
- password String
- 工作区 BasicAuth 密码。
- project
Name String - 项目名称。
- 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:
- Create
Time string - 工作区创建时间,RFC3339 格式。
- Id string
- The provider-assigned unique ID for this managed resource.
- Instance
Type Volcengine.Workspace Instance Type - 工作区规格详情。
- Overdue
Reclaim stringTime - 工作区预期欠费回收时间,RFC3339 格式。
- Prometheus
Push stringIntranet Endpoint - 工作区 Push Gateway URL 地址。
- Prometheus
Query stringIntranet Endpoint - 工作区 Query URL 地址。
- Prometheus
Write stringIntranet Endpoint - 工作区 RemoteWrite URL 地址。
- Quota
Volcengine.
Workspace Quota - 工作区配额详情。
- Status string
- 工作区状态,取值:Creating:创建中 Active:正常 Updating:更新中 Deleting:删除中 OverdueShutted:欠费关停 Resuming:恢复中 Error:错误。
- Usage
Volcengine.
Workspace Usage - 工作区用量。
- Workspace
Id string - 工作区Id。
- Create
Time string - 工作区创建时间,RFC3339 格式。
- Id string
- The provider-assigned unique ID for this managed resource.
- Instance
Type WorkspaceInstance Type - 工作区规格详情。
- Overdue
Reclaim stringTime - 工作区预期欠费回收时间,RFC3339 格式。
- Prometheus
Push stringIntranet Endpoint - 工作区 Push Gateway URL 地址。
- Prometheus
Query stringIntranet Endpoint - 工作区 Query URL 地址。
- Prometheus
Write stringIntranet Endpoint - 工作区 RemoteWrite URL 地址。
- Quota
Workspace
Quota - 工作区配额详情。
- Status string
- 工作区状态,取值:Creating:创建中 Active:正常 Updating:更新中 Deleting:删除中 OverdueShutted:欠费关停 Resuming:恢复中 Error:错误。
- Usage
Workspace
Usage - 工作区用量。
- Workspace
Id string - 工作区Id。
- create
Time String - 工作区创建时间,RFC3339 格式。
- id String
- The provider-assigned unique ID for this managed resource.
- instance
Type WorkspaceInstance Type - 工作区规格详情。
- overdue
Reclaim StringTime - 工作区预期欠费回收时间,RFC3339 格式。
- prometheus
Push StringIntranet Endpoint - 工作区 Push Gateway URL 地址。
- prometheus
Query StringIntranet Endpoint - 工作区 Query URL 地址。
- prometheus
Write StringIntranet Endpoint - 工作区 RemoteWrite URL 地址。
- quota
Workspace
Quota - 工作区配额详情。
- status String
- 工作区状态,取值:Creating:创建中 Active:正常 Updating:更新中 Deleting:删除中 OverdueShutted:欠费关停 Resuming:恢复中 Error:错误。
- usage
Workspace
Usage - 工作区用量。
- workspace
Id String - 工作区Id。
- create
Time string - 工作区创建时间,RFC3339 格式。
- id string
- The provider-assigned unique ID for this managed resource.
- instance
Type WorkspaceInstance Type - 工作区规格详情。
- overdue
Reclaim stringTime - 工作区预期欠费回收时间,RFC3339 格式。
- prometheus
Push stringIntranet Endpoint - 工作区 Push Gateway URL 地址。
- prometheus
Query stringIntranet Endpoint - 工作区 Query URL 地址。
- prometheus
Write stringIntranet Endpoint - 工作区 RemoteWrite URL 地址。
- quota
Workspace
Quota - 工作区配额详情。
- status string
- 工作区状态,取值:Creating:创建中 Active:正常 Updating:更新中 Deleting:删除中 OverdueShutted:欠费关停 Resuming:恢复中 Error:错误。
- usage
Workspace
Usage - 工作区用量。
- workspace
Id string - 工作区Id。
- create_
time str - 工作区创建时间,RFC3339 格式。
- id str
- The provider-assigned unique ID for this managed resource.
- instance_
type WorkspaceInstance Type - 工作区规格详情。
- overdue_
reclaim_ strtime - 工作区预期欠费回收时间,RFC3339 格式。
- prometheus_
push_ strintranet_ endpoint - 工作区 Push Gateway URL 地址。
- prometheus_
query_ strintranet_ endpoint - 工作区 Query URL 地址。
- prometheus_
write_ strintranet_ endpoint - 工作区 RemoteWrite URL 地址。
- quota
Workspace
Quota - 工作区配额详情。
- status str
- 工作区状态,取值:Creating:创建中 Active:正常 Updating:更新中 Deleting:删除中 OverdueShutted:欠费关停 Resuming:恢复中 Error:错误。
- usage
Workspace
Usage - 工作区用量。
- workspace_
id str - 工作区Id。
- create
Time String - 工作区创建时间,RFC3339 格式。
- id String
- The provider-assigned unique ID for this managed resource.
- instance
Type Property Map - 工作区规格详情。
- overdue
Reclaim StringTime - 工作区预期欠费回收时间,RFC3339 格式。
- prometheus
Push StringIntranet Endpoint - 工作区 Push Gateway URL 地址。
- prometheus
Query StringIntranet Endpoint - 工作区 Query URL 地址。
- prometheus
Write StringIntranet Endpoint - 工作区 RemoteWrite URL 地址。
- quota Property Map
- 工作区配额详情。
- status String
- 工作区状态,取值:Creating:创建中 Active:正常 Updating:更新中 Deleting:删除中 OverdueShutted:欠费关停 Resuming:恢复中 Error:错误。
- usage Property Map
- 工作区用量。
- workspace
Id 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.
- Create
Time string - 工作区创建时间,RFC3339 格式。
- Delete
Protection boolEnabled - 是否开启工作区删除保护,true:开启,false:关闭。
- Description string
- 工作区描述信息,字符串形式,长度限制为 0~200。
- Instance
Type Volcengine.Workspace Instance Type - 工作区规格详情。
- Instance
Type stringId - 工作区规格,vmp.standard.15d:15 天存储时长工作区。vmp.standard.30d:30 天存储时长工作区。vmp.standard.90d:90 天存储时长工作区。vmp.standard.180d:180 天存储时长工作区。vmp.standard.1y:1 年存储时长工作区。
- Name string
- 工作区名称,字符串形式,长度限制为 1~100。
- Overdue
Reclaim stringTime - 工作区预期欠费回收时间,RFC3339 格式。
- Password string
- 工作区 BasicAuth 密码。
- Project
Name string - 项目名称。
- Prometheus
Push stringIntranet Endpoint - 工作区 Push Gateway URL 地址。
- Prometheus
Query stringIntranet Endpoint - 工作区 Query URL 地址。
- Prometheus
Write stringIntranet Endpoint - 工作区 RemoteWrite URL 地址。
- Quota
Volcengine.
Workspace Quota - 工作区配额详情。
- Status string
- 工作区状态,取值:Creating:创建中 Active:正常 Updating:更新中 Deleting:删除中 OverdueShutted:欠费关停 Resuming:恢复中 Error:错误。
- List<Volcengine.
Workspace Tag> - Usage
Volcengine.
Workspace Usage - 工作区用量。
- Username string
- 工作区 BasicAuth 用户名。
- Workspace
Id string - 工作区Id。
- Create
Time string - 工作区创建时间,RFC3339 格式。
- Delete
Protection boolEnabled - 是否开启工作区删除保护,true:开启,false:关闭。
- Description string
- 工作区描述信息,字符串形式,长度限制为 0~200。
- Instance
Type WorkspaceInstance Type Args - 工作区规格详情。
- Instance
Type stringId - 工作区规格,vmp.standard.15d:15 天存储时长工作区。vmp.standard.30d:30 天存储时长工作区。vmp.standard.90d:90 天存储时长工作区。vmp.standard.180d:180 天存储时长工作区。vmp.standard.1y:1 年存储时长工作区。
- Name string
- 工作区名称,字符串形式,长度限制为 1~100。
- Overdue
Reclaim stringTime - 工作区预期欠费回收时间,RFC3339 格式。
- Password string
- 工作区 BasicAuth 密码。
- Project
Name string - 项目名称。
- Prometheus
Push stringIntranet Endpoint - 工作区 Push Gateway URL 地址。
- Prometheus
Query stringIntranet Endpoint - 工作区 Query URL 地址。
- Prometheus
Write stringIntranet Endpoint - 工作区 RemoteWrite URL 地址。
- Quota
Workspace
Quota Args - 工作区配额详情。
- Status string
- 工作区状态,取值:Creating:创建中 Active:正常 Updating:更新中 Deleting:删除中 OverdueShutted:欠费关停 Resuming:恢复中 Error:错误。
- []Workspace
Tag Args - Usage
Workspace
Usage Args - 工作区用量。
- Username string
- 工作区 BasicAuth 用户名。
- Workspace
Id string - 工作区Id。
- create
Time String - 工作区创建时间,RFC3339 格式。
- delete
Protection BooleanEnabled - 是否开启工作区删除保护,true:开启,false:关闭。
- description String
- 工作区描述信息,字符串形式,长度限制为 0~200。
- instance
Type WorkspaceInstance Type - 工作区规格详情。
- instance
Type StringId - 工作区规格,vmp.standard.15d:15 天存储时长工作区。vmp.standard.30d:30 天存储时长工作区。vmp.standard.90d:90 天存储时长工作区。vmp.standard.180d:180 天存储时长工作区。vmp.standard.1y:1 年存储时长工作区。
- name String
- 工作区名称,字符串形式,长度限制为 1~100。
- overdue
Reclaim StringTime - 工作区预期欠费回收时间,RFC3339 格式。
- password String
- 工作区 BasicAuth 密码。
- project
Name String - 项目名称。
- prometheus
Push StringIntranet Endpoint - 工作区 Push Gateway URL 地址。
- prometheus
Query StringIntranet Endpoint - 工作区 Query URL 地址。
- prometheus
Write StringIntranet Endpoint - 工作区 RemoteWrite URL 地址。
- quota
Workspace
Quota - 工作区配额详情。
- status String
- 工作区状态,取值:Creating:创建中 Active:正常 Updating:更新中 Deleting:删除中 OverdueShutted:欠费关停 Resuming:恢复中 Error:错误。
- List<Workspace
Tag> - usage
Workspace
Usage - 工作区用量。
- username String
- 工作区 BasicAuth 用户名。
- workspace
Id String - 工作区Id。
- create
Time string - 工作区创建时间,RFC3339 格式。
- delete
Protection booleanEnabled - 是否开启工作区删除保护,true:开启,false:关闭。
- description string
- 工作区描述信息,字符串形式,长度限制为 0~200。
- instance
Type WorkspaceInstance Type - 工作区规格详情。
- instance
Type stringId - 工作区规格,vmp.standard.15d:15 天存储时长工作区。vmp.standard.30d:30 天存储时长工作区。vmp.standard.90d:90 天存储时长工作区。vmp.standard.180d:180 天存储时长工作区。vmp.standard.1y:1 年存储时长工作区。
- name string
- 工作区名称,字符串形式,长度限制为 1~100。
- overdue
Reclaim stringTime - 工作区预期欠费回收时间,RFC3339 格式。
- password string
- 工作区 BasicAuth 密码。
- project
Name string - 项目名称。
- prometheus
Push stringIntranet Endpoint - 工作区 Push Gateway URL 地址。
- prometheus
Query stringIntranet Endpoint - 工作区 Query URL 地址。
- prometheus
Write stringIntranet Endpoint - 工作区 RemoteWrite URL 地址。
- quota
Workspace
Quota - 工作区配额详情。
- status string
- 工作区状态,取值:Creating:创建中 Active:正常 Updating:更新中 Deleting:删除中 OverdueShutted:欠费关停 Resuming:恢复中 Error:错误。
- Workspace
Tag[] - usage
Workspace
Usage - 工作区用量。
- username string
- 工作区 BasicAuth 用户名。
- workspace
Id string - 工作区Id。
- create_
time str - 工作区创建时间,RFC3339 格式。
- delete_
protection_ boolenabled - 是否开启工作区删除保护,true:开启,false:关闭。
- description str
- 工作区描述信息,字符串形式,长度限制为 0~200。
- instance_
type WorkspaceInstance Type Args - 工作区规格详情。
- instance_
type_ strid - 工作区规格,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_ strtime - 工作区预期欠费回收时间,RFC3339 格式。
- password str
- 工作区 BasicAuth 密码。
- project_
name str - 项目名称。
- prometheus_
push_ strintranet_ endpoint - 工作区 Push Gateway URL 地址。
- prometheus_
query_ strintranet_ endpoint - 工作区 Query URL 地址。
- prometheus_
write_ strintranet_ endpoint - 工作区 RemoteWrite URL 地址。
- quota
Workspace
Quota Args - 工作区配额详情。
- status str
- 工作区状态,取值:Creating:创建中 Active:正常 Updating:更新中 Deleting:删除中 OverdueShutted:欠费关停 Resuming:恢复中 Error:错误。
- Sequence[Workspace
Tag Args] - usage
Workspace
Usage Args - 工作区用量。
- username str
- 工作区 BasicAuth 用户名。
- workspace_
id str - 工作区Id。
- create
Time String - 工作区创建时间,RFC3339 格式。
- delete
Protection BooleanEnabled - 是否开启工作区删除保护,true:开启,false:关闭。
- description String
- 工作区描述信息,字符串形式,长度限制为 0~200。
- instance
Type Property Map - 工作区规格详情。
- instance
Type StringId - 工作区规格,vmp.standard.15d:15 天存储时长工作区。vmp.standard.30d:30 天存储时长工作区。vmp.standard.90d:90 天存储时长工作区。vmp.standard.180d:180 天存储时长工作区。vmp.standard.1y:1 年存储时长工作区。
- name String
- 工作区名称,字符串形式,长度限制为 1~100。
- overdue
Reclaim StringTime - 工作区预期欠费回收时间,RFC3339 格式。
- password String
- 工作区 BasicAuth 密码。
- project
Name String - 项目名称。
- prometheus
Push StringIntranet Endpoint - 工作区 Push Gateway URL 地址。
- prometheus
Query StringIntranet Endpoint - 工作区 Query URL 地址。
- prometheus
Write StringIntranet Endpoint - 工作区 RemoteWrite URL 地址。
- quota Property Map
- 工作区配额详情。
- status String
- 工作区状态,取值:Creating:创建中 Active:正常 Updating:更新中 Deleting:删除中 OverdueShutted:欠费关停 Resuming:恢复中 Error:错误。
- List<Property Map>
- usage Property Map
- 工作区用量。
- username String
- 工作区 BasicAuth 用户名。
- workspace
Id String - 工作区Id。
Supporting Types
WorkspaceInstanceType, WorkspaceInstanceTypeArgs
- Active
Series int - 最大活跃时序数。
- Availability
Zone intReplicas - 可用区(az)数。
- Downsampling
Periods List<string> - 降采样策略。
- Ingest
Samples intPer Second - 最大每秒写入样本数。
- Query
Concurrency int - 最大查询并发数。
- Query
Per intSecond - 最大查询 QPS。
- Replicas
Per intZone - 每个可用区(az)的数据副本数。
- Retention
Period string - 最长数据保留时间。
- Scan
Samples intPer Second - 最大每秒扫描样本数。
- Scan
Series intPer Second - 最大每秒扫描时序数。
- Active
Series int - 最大活跃时序数。
- Availability
Zone intReplicas - 可用区(az)数。
- Downsampling
Periods []string - 降采样策略。
- Ingest
Samples intPer Second - 最大每秒写入样本数。
- Query
Concurrency int - 最大查询并发数。
- Query
Per intSecond - 最大查询 QPS。
- Replicas
Per intZone - 每个可用区(az)的数据副本数。
- Retention
Period string - 最长数据保留时间。
- Scan
Samples intPer Second - 最大每秒扫描样本数。
- Scan
Series intPer Second - 最大每秒扫描时序数。
- active
Series Integer - 最大活跃时序数。
- availability
Zone IntegerReplicas - 可用区(az)数。
- downsampling
Periods List<String> - 降采样策略。
- ingest
Samples IntegerPer Second - 最大每秒写入样本数。
- query
Concurrency Integer - 最大查询并发数。
- query
Per IntegerSecond - 最大查询 QPS。
- replicas
Per IntegerZone - 每个可用区(az)的数据副本数。
- retention
Period String - 最长数据保留时间。
- scan
Samples IntegerPer Second - 最大每秒扫描样本数。
- scan
Series IntegerPer Second - 最大每秒扫描时序数。
- active
Series number - 最大活跃时序数。
- availability
Zone numberReplicas - 可用区(az)数。
- downsampling
Periods string[] - 降采样策略。
- ingest
Samples numberPer Second - 最大每秒写入样本数。
- query
Concurrency number - 最大查询并发数。
- query
Per numberSecond - 最大查询 QPS。
- replicas
Per numberZone - 每个可用区(az)的数据副本数。
- retention
Period string - 最长数据保留时间。
- scan
Samples numberPer Second - 最大每秒扫描样本数。
- scan
Series numberPer Second - 最大每秒扫描时序数。
- active_
series int - 最大活跃时序数。
- availability_
zone_ intreplicas - 可用区(az)数。
- downsampling_
periods Sequence[str] - 降采样策略。
- ingest_
samples_ intper_ second - 最大每秒写入样本数。
- query_
concurrency int - 最大查询并发数。
- query_
per_ intsecond - 最大查询 QPS。
- replicas_
per_ intzone - 每个可用区(az)的数据副本数。
- retention_
period str - 最长数据保留时间。
- scan_
samples_ intper_ second - 最大每秒扫描样本数。
- scan_
series_ intper_ second - 最大每秒扫描时序数。
- active
Series Number - 最大活跃时序数。
- availability
Zone NumberReplicas - 可用区(az)数。
- downsampling
Periods List<String> - 降采样策略。
- ingest
Samples NumberPer Second - 最大每秒写入样本数。
- query
Concurrency Number - 最大查询并发数。
- query
Per NumberSecond - 最大查询 QPS。
- replicas
Per NumberZone - 每个可用区(az)的数据副本数。
- retention
Period String - 最长数据保留时间。
- scan
Samples NumberPer Second - 最大每秒扫描样本数。
- scan
Series NumberPer Second - 最大每秒扫描时序数。
WorkspaceQuota, WorkspaceQuotaArgs
- Active
Series int - 最大活跃时序数。整数形式,默认取值范围为 1~50000000。
- Ingest
Samples intPer Second - 指标摄入速率,即最大每秒写入样本数。整数形式,默认取值范围为 1~5000000。
- Query
Per intSecond - 最大查询 QPS。整数形式,默认取值范围为 1~500。
- Scan
Samples intPer Second - 最大每秒扫描样本数。整数形式,默认取值范围为 1~1000000000。
- Scan
Series intPer Second - 最大每秒扫描时序数。整数形式,默认取值范围为 1~200000。
- Active
Series int - 最大活跃时序数。整数形式,默认取值范围为 1~50000000。
- Ingest
Samples intPer Second - 指标摄入速率,即最大每秒写入样本数。整数形式,默认取值范围为 1~5000000。
- Query
Per intSecond - 最大查询 QPS。整数形式,默认取值范围为 1~500。
- Scan
Samples intPer Second - 最大每秒扫描样本数。整数形式,默认取值范围为 1~1000000000。
- Scan
Series intPer Second - 最大每秒扫描时序数。整数形式,默认取值范围为 1~200000。
- active
Series Integer - 最大活跃时序数。整数形式,默认取值范围为 1~50000000。
- ingest
Samples IntegerPer Second - 指标摄入速率,即最大每秒写入样本数。整数形式,默认取值范围为 1~5000000。
- query
Per IntegerSecond - 最大查询 QPS。整数形式,默认取值范围为 1~500。
- scan
Samples IntegerPer Second - 最大每秒扫描样本数。整数形式,默认取值范围为 1~1000000000。
- scan
Series IntegerPer Second - 最大每秒扫描时序数。整数形式,默认取值范围为 1~200000。
- active
Series number - 最大活跃时序数。整数形式,默认取值范围为 1~50000000。
- ingest
Samples numberPer Second - 指标摄入速率,即最大每秒写入样本数。整数形式,默认取值范围为 1~5000000。
- query
Per numberSecond - 最大查询 QPS。整数形式,默认取值范围为 1~500。
- scan
Samples numberPer Second - 最大每秒扫描样本数。整数形式,默认取值范围为 1~1000000000。
- scan
Series numberPer Second - 最大每秒扫描时序数。整数形式,默认取值范围为 1~200000。
- active_
series int - 最大活跃时序数。整数形式,默认取值范围为 1~50000000。
- ingest_
samples_ intper_ second - 指标摄入速率,即最大每秒写入样本数。整数形式,默认取值范围为 1~5000000。
- query_
per_ intsecond - 最大查询 QPS。整数形式,默认取值范围为 1~500。
- scan_
samples_ intper_ second - 最大每秒扫描样本数。整数形式,默认取值范围为 1~1000000000。
- scan_
series_ intper_ second - 最大每秒扫描时序数。整数形式,默认取值范围为 1~200000。
- active
Series Number - 最大活跃时序数。整数形式,默认取值范围为 1~50000000。
- ingest
Samples NumberPer Second - 指标摄入速率,即最大每秒写入样本数。整数形式,默认取值范围为 1~5000000。
- query
Per NumberSecond - 最大查询 QPS。整数形式,默认取值范围为 1~500。
- scan
Samples NumberPer Second - 最大每秒扫描样本数。整数形式,默认取值范围为 1~1000000000。
- scan
Series NumberPer Second - 最大每秒扫描时序数。整数形式,默认取值范围为 1~200000。
WorkspaceTag, WorkspaceTagArgs
WorkspaceUsage, WorkspaceUsageArgs
- Active
Series int - 活跃时序数。
- Ingested
Samples doublePer Second - 每秒写入样本数。
- Active
Series int - 活跃时序数。
- Ingested
Samples float64Per Second - 每秒写入样本数。
- active
Series Integer - 活跃时序数。
- ingested
Samples DoublePer Second - 每秒写入样本数。
- active
Series number - 活跃时序数。
- ingested
Samples numberPer Second - 每秒写入样本数。
- active_
series int - 活跃时序数。
- ingested_
samples_ floatper_ second - 每秒写入样本数。
- active
Series Number - 活跃时序数。
- ingested
Samples NumberPer Second - 每秒写入样本数。
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.