opentelekomcloud.CesMetricDataV1
Explore with Pulumi AI
Up-to-date reference of API arguments for CES Metric Data v1 you can get at documentation portal
Manages a V1 CES Metric Data (used for reporting custom monitoring data) resource within OpenTelekomCloud.
Example Usage
Basic metric data usage
import * as pulumi from "@pulumi/pulumi";
import * as opentelekomcloud from "@pulumi/opentelekomcloud";
const config = new pulumi.Config();
const instanceId = config.requireObject("instanceId");
const metric1 = new opentelekomcloud.CesMetricDataV1("metric1", {
metric: {
namespace: "TEST.TF_ACC",
metricName: "cpu_util",
dimensions: [{
name: "instance_id",
value: instanceId,
}],
},
ttl: 172800,
collectTime: 1257894000000,
value: 0.09,
unit: "%",
type: "float",
});
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud
config = pulumi.Config()
instance_id = config.require_object("instanceId")
metric1 = opentelekomcloud.CesMetricDataV1("metric1",
metric={
"namespace": "TEST.TF_ACC",
"metric_name": "cpu_util",
"dimensions": [{
"name": "instance_id",
"value": instance_id,
}],
},
ttl=172800,
collect_time=1257894000000,
value=0.09,
unit="%",
type="float")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
instanceId := cfg.RequireObject("instanceId")
_, err := opentelekomcloud.NewCesMetricDataV1(ctx, "metric1", &opentelekomcloud.CesMetricDataV1Args{
Metric: &opentelekomcloud.CesMetricDataV1MetricArgs{
Namespace: pulumi.String("TEST.TF_ACC"),
MetricName: pulumi.String("cpu_util"),
Dimensions: opentelekomcloud.CesMetricDataV1MetricDimensionArray{
&opentelekomcloud.CesMetricDataV1MetricDimensionArgs{
Name: pulumi.String("instance_id"),
Value: pulumi.Any(instanceId),
},
},
},
Ttl: pulumi.Float64(172800),
CollectTime: pulumi.Float64(1257894000000),
Value: pulumi.Float64(0.09),
Unit: pulumi.String("%"),
Type: pulumi.String("float"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Opentelekomcloud = Pulumi.Opentelekomcloud;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var instanceId = config.RequireObject<dynamic>("instanceId");
var metric1 = new Opentelekomcloud.CesMetricDataV1("metric1", new()
{
Metric = new Opentelekomcloud.Inputs.CesMetricDataV1MetricArgs
{
Namespace = "TEST.TF_ACC",
MetricName = "cpu_util",
Dimensions = new[]
{
new Opentelekomcloud.Inputs.CesMetricDataV1MetricDimensionArgs
{
Name = "instance_id",
Value = instanceId,
},
},
},
Ttl = 172800,
CollectTime = 1257894000000,
Value = 0.09,
Unit = "%",
Type = "float",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.opentelekomcloud.CesMetricDataV1;
import com.pulumi.opentelekomcloud.CesMetricDataV1Args;
import com.pulumi.opentelekomcloud.inputs.CesMetricDataV1MetricArgs;
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 config = ctx.config();
final var instanceId = config.get("instanceId");
var metric1 = new CesMetricDataV1("metric1", CesMetricDataV1Args.builder()
.metric(CesMetricDataV1MetricArgs.builder()
.namespace("TEST.TF_ACC")
.metricName("cpu_util")
.dimensions(CesMetricDataV1MetricDimensionArgs.builder()
.name("instance_id")
.value(instanceId)
.build())
.build())
.ttl(172800)
.collectTime(1257894000000)
.value(0.09)
.unit("%")
.type("float")
.build());
}
}
configuration:
instanceId:
type: dynamic
resources:
metric1:
type: opentelekomcloud:CesMetricDataV1
properties:
metric:
namespace: TEST.TF_ACC
metricName: cpu_util
dimensions:
- name: instance_id
value: ${instanceId}
ttl: 172800
collectTime: 1.257894e+12
value: 0.09
unit: '%'
type: float
Create CesMetricDataV1 Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CesMetricDataV1(name: string, args: CesMetricDataV1Args, opts?: CustomResourceOptions);
@overload
def CesMetricDataV1(resource_name: str,
args: CesMetricDataV1Args,
opts: Optional[ResourceOptions] = None)
@overload
def CesMetricDataV1(resource_name: str,
opts: Optional[ResourceOptions] = None,
collect_time: Optional[float] = None,
metric: Optional[CesMetricDataV1MetricArgs] = None,
ttl: Optional[float] = None,
value: Optional[float] = None,
ces_metric_data_v1_id: Optional[str] = None,
timeouts: Optional[CesMetricDataV1TimeoutsArgs] = None,
type: Optional[str] = None,
unit: Optional[str] = None)
func NewCesMetricDataV1(ctx *Context, name string, args CesMetricDataV1Args, opts ...ResourceOption) (*CesMetricDataV1, error)
public CesMetricDataV1(string name, CesMetricDataV1Args args, CustomResourceOptions? opts = null)
public CesMetricDataV1(String name, CesMetricDataV1Args args)
public CesMetricDataV1(String name, CesMetricDataV1Args args, CustomResourceOptions options)
type: opentelekomcloud:CesMetricDataV1
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 CesMetricDataV1Args
- 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 CesMetricDataV1Args
- 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 CesMetricDataV1Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CesMetricDataV1Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CesMetricDataV1Args
- 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 cesMetricDataV1Resource = new Opentelekomcloud.CesMetricDataV1("cesMetricDataV1Resource", new()
{
CollectTime = 0,
Metric = new Opentelekomcloud.Inputs.CesMetricDataV1MetricArgs
{
Dimensions = new[]
{
new Opentelekomcloud.Inputs.CesMetricDataV1MetricDimensionArgs
{
Name = "string",
Value = "string",
},
},
MetricName = "string",
Namespace = "string",
},
Ttl = 0,
Value = 0,
CesMetricDataV1Id = "string",
Timeouts = new Opentelekomcloud.Inputs.CesMetricDataV1TimeoutsArgs
{
Create = "string",
Delete = "string",
},
Type = "string",
Unit = "string",
});
example, err := opentelekomcloud.NewCesMetricDataV1(ctx, "cesMetricDataV1Resource", &opentelekomcloud.CesMetricDataV1Args{
CollectTime: pulumi.Float64(0),
Metric: &opentelekomcloud.CesMetricDataV1MetricArgs{
Dimensions: opentelekomcloud.CesMetricDataV1MetricDimensionArray{
&opentelekomcloud.CesMetricDataV1MetricDimensionArgs{
Name: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
MetricName: pulumi.String("string"),
Namespace: pulumi.String("string"),
},
Ttl: pulumi.Float64(0),
Value: pulumi.Float64(0),
CesMetricDataV1Id: pulumi.String("string"),
Timeouts: &opentelekomcloud.CesMetricDataV1TimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
},
Type: pulumi.String("string"),
Unit: pulumi.String("string"),
})
var cesMetricDataV1Resource = new CesMetricDataV1("cesMetricDataV1Resource", CesMetricDataV1Args.builder()
.collectTime(0.0)
.metric(CesMetricDataV1MetricArgs.builder()
.dimensions(CesMetricDataV1MetricDimensionArgs.builder()
.name("string")
.value("string")
.build())
.metricName("string")
.namespace("string")
.build())
.ttl(0.0)
.value(0.0)
.cesMetricDataV1Id("string")
.timeouts(CesMetricDataV1TimeoutsArgs.builder()
.create("string")
.delete("string")
.build())
.type("string")
.unit("string")
.build());
ces_metric_data_v1_resource = opentelekomcloud.CesMetricDataV1("cesMetricDataV1Resource",
collect_time=0,
metric={
"dimensions": [{
"name": "string",
"value": "string",
}],
"metric_name": "string",
"namespace": "string",
},
ttl=0,
value=0,
ces_metric_data_v1_id="string",
timeouts={
"create": "string",
"delete": "string",
},
type="string",
unit="string")
const cesMetricDataV1Resource = new opentelekomcloud.CesMetricDataV1("cesMetricDataV1Resource", {
collectTime: 0,
metric: {
dimensions: [{
name: "string",
value: "string",
}],
metricName: "string",
namespace: "string",
},
ttl: 0,
value: 0,
cesMetricDataV1Id: "string",
timeouts: {
create: "string",
"delete": "string",
},
type: "string",
unit: "string",
});
type: opentelekomcloud:CesMetricDataV1
properties:
cesMetricDataV1Id: string
collectTime: 0
metric:
dimensions:
- name: string
value: string
metricName: string
namespace: string
timeouts:
create: string
delete: string
ttl: 0
type: string
unit: string
value: 0
CesMetricDataV1 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 CesMetricDataV1 resource accepts the following input properties:
- Collect
Time double Specifies when the data was collected, which is a UNIX timestamp (ms).
NOTE: Since there is a latency between the client and the server, the data timestamp to be inserted should be within the period that starts from three days before the current time plus 20s to 10 minutes after the current time minus 20s. In this way, the timestamp will be inserted to the database without being affected by the latency.
- Metric
Ces
Metric Data V1Metric - Specifies the metric data. The structure is described below.
- Ttl double
- Specifies the data validity period. The unit is
second
. Supported range:1
to604800
. If the validity period expires, the data will be automatically deleted. - Value double
- Specifies the monitoring metric data to be added, which can be an integer or a floating point number.
- Ces
Metric stringData V1Id - Timeouts
Ces
Metric Data V1Timeouts - Type string
- Specifies the enumerated type. Possible values:
int
,float
- Unit string
- Specifies the data unit. Supported range:
1
to32
- Collect
Time float64 Specifies when the data was collected, which is a UNIX timestamp (ms).
NOTE: Since there is a latency between the client and the server, the data timestamp to be inserted should be within the period that starts from three days before the current time plus 20s to 10 minutes after the current time minus 20s. In this way, the timestamp will be inserted to the database without being affected by the latency.
- Metric
Ces
Metric Data V1Metric Args - Specifies the metric data. The structure is described below.
- Ttl float64
- Specifies the data validity period. The unit is
second
. Supported range:1
to604800
. If the validity period expires, the data will be automatically deleted. - Value float64
- Specifies the monitoring metric data to be added, which can be an integer or a floating point number.
- Ces
Metric stringData V1Id - Timeouts
Ces
Metric Data V1Timeouts Args - Type string
- Specifies the enumerated type. Possible values:
int
,float
- Unit string
- Specifies the data unit. Supported range:
1
to32
- collect
Time Double Specifies when the data was collected, which is a UNIX timestamp (ms).
NOTE: Since there is a latency between the client and the server, the data timestamp to be inserted should be within the period that starts from three days before the current time plus 20s to 10 minutes after the current time minus 20s. In this way, the timestamp will be inserted to the database without being affected by the latency.
- metric
Ces
Metric Data V1Metric - Specifies the metric data. The structure is described below.
- ttl Double
- Specifies the data validity period. The unit is
second
. Supported range:1
to604800
. If the validity period expires, the data will be automatically deleted. - value Double
- Specifies the monitoring metric data to be added, which can be an integer or a floating point number.
- ces
Metric StringData V1Id - timeouts
Ces
Metric Data V1Timeouts - type String
- Specifies the enumerated type. Possible values:
int
,float
- unit String
- Specifies the data unit. Supported range:
1
to32
- collect
Time number Specifies when the data was collected, which is a UNIX timestamp (ms).
NOTE: Since there is a latency between the client and the server, the data timestamp to be inserted should be within the period that starts from three days before the current time plus 20s to 10 minutes after the current time minus 20s. In this way, the timestamp will be inserted to the database without being affected by the latency.
- metric
Ces
Metric Data V1Metric - Specifies the metric data. The structure is described below.
- ttl number
- Specifies the data validity period. The unit is
second
. Supported range:1
to604800
. If the validity period expires, the data will be automatically deleted. - value number
- Specifies the monitoring metric data to be added, which can be an integer or a floating point number.
- ces
Metric stringData V1Id - timeouts
Ces
Metric Data V1Timeouts - type string
- Specifies the enumerated type. Possible values:
int
,float
- unit string
- Specifies the data unit. Supported range:
1
to32
- collect_
time float Specifies when the data was collected, which is a UNIX timestamp (ms).
NOTE: Since there is a latency between the client and the server, the data timestamp to be inserted should be within the period that starts from three days before the current time plus 20s to 10 minutes after the current time minus 20s. In this way, the timestamp will be inserted to the database without being affected by the latency.
- metric
Ces
Metric Data V1Metric Args - Specifies the metric data. The structure is described below.
- ttl float
- Specifies the data validity period. The unit is
second
. Supported range:1
to604800
. If the validity period expires, the data will be automatically deleted. - value float
- Specifies the monitoring metric data to be added, which can be an integer or a floating point number.
- ces_
metric_ strdata_ v1_ id - timeouts
Ces
Metric Data V1Timeouts Args - type str
- Specifies the enumerated type. Possible values:
int
,float
- unit str
- Specifies the data unit. Supported range:
1
to32
- collect
Time Number Specifies when the data was collected, which is a UNIX timestamp (ms).
NOTE: Since there is a latency between the client and the server, the data timestamp to be inserted should be within the period that starts from three days before the current time plus 20s to 10 minutes after the current time minus 20s. In this way, the timestamp will be inserted to the database without being affected by the latency.
- metric Property Map
- Specifies the metric data. The structure is described below.
- ttl Number
- Specifies the data validity period. The unit is
second
. Supported range:1
to604800
. If the validity period expires, the data will be automatically deleted. - value Number
- Specifies the monitoring metric data to be added, which can be an integer or a floating point number.
- ces
Metric StringData V1Id - timeouts Property Map
- type String
- Specifies the enumerated type. Possible values:
int
,float
- unit String
- Specifies the data unit. Supported range:
1
to32
Outputs
All input properties are implicitly available as output properties. Additionally, the CesMetricDataV1 resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing CesMetricDataV1 Resource
Get an existing CesMetricDataV1 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?: CesMetricDataV1State, opts?: CustomResourceOptions): CesMetricDataV1
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
ces_metric_data_v1_id: Optional[str] = None,
collect_time: Optional[float] = None,
metric: Optional[CesMetricDataV1MetricArgs] = None,
timeouts: Optional[CesMetricDataV1TimeoutsArgs] = None,
ttl: Optional[float] = None,
type: Optional[str] = None,
unit: Optional[str] = None,
value: Optional[float] = None) -> CesMetricDataV1
func GetCesMetricDataV1(ctx *Context, name string, id IDInput, state *CesMetricDataV1State, opts ...ResourceOption) (*CesMetricDataV1, error)
public static CesMetricDataV1 Get(string name, Input<string> id, CesMetricDataV1State? state, CustomResourceOptions? opts = null)
public static CesMetricDataV1 get(String name, Output<String> id, CesMetricDataV1State state, CustomResourceOptions options)
resources: _: type: opentelekomcloud:CesMetricDataV1 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.
- Ces
Metric stringData V1Id - Collect
Time double Specifies when the data was collected, which is a UNIX timestamp (ms).
NOTE: Since there is a latency between the client and the server, the data timestamp to be inserted should be within the period that starts from three days before the current time plus 20s to 10 minutes after the current time minus 20s. In this way, the timestamp will be inserted to the database without being affected by the latency.
- Metric
Ces
Metric Data V1Metric - Specifies the metric data. The structure is described below.
- Timeouts
Ces
Metric Data V1Timeouts - Ttl double
- Specifies the data validity period. The unit is
second
. Supported range:1
to604800
. If the validity period expires, the data will be automatically deleted. - Type string
- Specifies the enumerated type. Possible values:
int
,float
- Unit string
- Specifies the data unit. Supported range:
1
to32
- Value double
- Specifies the monitoring metric data to be added, which can be an integer or a floating point number.
- Ces
Metric stringData V1Id - Collect
Time float64 Specifies when the data was collected, which is a UNIX timestamp (ms).
NOTE: Since there is a latency between the client and the server, the data timestamp to be inserted should be within the period that starts from three days before the current time plus 20s to 10 minutes after the current time minus 20s. In this way, the timestamp will be inserted to the database without being affected by the latency.
- Metric
Ces
Metric Data V1Metric Args - Specifies the metric data. The structure is described below.
- Timeouts
Ces
Metric Data V1Timeouts Args - Ttl float64
- Specifies the data validity period. The unit is
second
. Supported range:1
to604800
. If the validity period expires, the data will be automatically deleted. - Type string
- Specifies the enumerated type. Possible values:
int
,float
- Unit string
- Specifies the data unit. Supported range:
1
to32
- Value float64
- Specifies the monitoring metric data to be added, which can be an integer or a floating point number.
- ces
Metric StringData V1Id - collect
Time Double Specifies when the data was collected, which is a UNIX timestamp (ms).
NOTE: Since there is a latency between the client and the server, the data timestamp to be inserted should be within the period that starts from three days before the current time plus 20s to 10 minutes after the current time minus 20s. In this way, the timestamp will be inserted to the database without being affected by the latency.
- metric
Ces
Metric Data V1Metric - Specifies the metric data. The structure is described below.
- timeouts
Ces
Metric Data V1Timeouts - ttl Double
- Specifies the data validity period. The unit is
second
. Supported range:1
to604800
. If the validity period expires, the data will be automatically deleted. - type String
- Specifies the enumerated type. Possible values:
int
,float
- unit String
- Specifies the data unit. Supported range:
1
to32
- value Double
- Specifies the monitoring metric data to be added, which can be an integer or a floating point number.
- ces
Metric stringData V1Id - collect
Time number Specifies when the data was collected, which is a UNIX timestamp (ms).
NOTE: Since there is a latency between the client and the server, the data timestamp to be inserted should be within the period that starts from three days before the current time plus 20s to 10 minutes after the current time minus 20s. In this way, the timestamp will be inserted to the database without being affected by the latency.
- metric
Ces
Metric Data V1Metric - Specifies the metric data. The structure is described below.
- timeouts
Ces
Metric Data V1Timeouts - ttl number
- Specifies the data validity period. The unit is
second
. Supported range:1
to604800
. If the validity period expires, the data will be automatically deleted. - type string
- Specifies the enumerated type. Possible values:
int
,float
- unit string
- Specifies the data unit. Supported range:
1
to32
- value number
- Specifies the monitoring metric data to be added, which can be an integer or a floating point number.
- ces_
metric_ strdata_ v1_ id - collect_
time float Specifies when the data was collected, which is a UNIX timestamp (ms).
NOTE: Since there is a latency between the client and the server, the data timestamp to be inserted should be within the period that starts from three days before the current time plus 20s to 10 minutes after the current time minus 20s. In this way, the timestamp will be inserted to the database without being affected by the latency.
- metric
Ces
Metric Data V1Metric Args - Specifies the metric data. The structure is described below.
- timeouts
Ces
Metric Data V1Timeouts Args - ttl float
- Specifies the data validity period. The unit is
second
. Supported range:1
to604800
. If the validity period expires, the data will be automatically deleted. - type str
- Specifies the enumerated type. Possible values:
int
,float
- unit str
- Specifies the data unit. Supported range:
1
to32
- value float
- Specifies the monitoring metric data to be added, which can be an integer or a floating point number.
- ces
Metric StringData V1Id - collect
Time Number Specifies when the data was collected, which is a UNIX timestamp (ms).
NOTE: Since there is a latency between the client and the server, the data timestamp to be inserted should be within the period that starts from three days before the current time plus 20s to 10 minutes after the current time minus 20s. In this way, the timestamp will be inserted to the database without being affected by the latency.
- metric Property Map
- Specifies the metric data. The structure is described below.
- timeouts Property Map
- ttl Number
- Specifies the data validity period. The unit is
second
. Supported range:1
to604800
. If the validity period expires, the data will be automatically deleted. - type String
- Specifies the enumerated type. Possible values:
int
,float
- unit String
- Specifies the data unit. Supported range:
1
to32
- value Number
- Specifies the monitoring metric data to be added, which can be an integer or a floating point number.
Supporting Types
CesMetricDataV1Metric, CesMetricDataV1MetricArgs
- Dimensions
List<Ces
Metric Data V1Metric Dimension> - Specifies the metric dimension. A maximum of three dimensions are supported.
- Metric
Name string - Specifies the metric ID. Available metrics.
- Namespace string
- Specifies the namespace in
service.item
format.service.item
can be a string of3
to32
characters that must start with a letter and can consists of uppercase letters, lowercase letters, numbers, or underscores (_). In addition, service cannot start withSYS
,AGT
, orSRE
, and namespace cannot beSERVICE.BMS
because this namespace has been used by the system.
- Dimensions
[]Ces
Metric Data V1Metric Dimension - Specifies the metric dimension. A maximum of three dimensions are supported.
- Metric
Name string - Specifies the metric ID. Available metrics.
- Namespace string
- Specifies the namespace in
service.item
format.service.item
can be a string of3
to32
characters that must start with a letter and can consists of uppercase letters, lowercase letters, numbers, or underscores (_). In addition, service cannot start withSYS
,AGT
, orSRE
, and namespace cannot beSERVICE.BMS
because this namespace has been used by the system.
- dimensions
List<Ces
Metric Data V1Metric Dimension> - Specifies the metric dimension. A maximum of three dimensions are supported.
- metric
Name String - Specifies the metric ID. Available metrics.
- namespace String
- Specifies the namespace in
service.item
format.service.item
can be a string of3
to32
characters that must start with a letter and can consists of uppercase letters, lowercase letters, numbers, or underscores (_). In addition, service cannot start withSYS
,AGT
, orSRE
, and namespace cannot beSERVICE.BMS
because this namespace has been used by the system.
- dimensions
Ces
Metric Data V1Metric Dimension[] - Specifies the metric dimension. A maximum of three dimensions are supported.
- metric
Name string - Specifies the metric ID. Available metrics.
- namespace string
- Specifies the namespace in
service.item
format.service.item
can be a string of3
to32
characters that must start with a letter and can consists of uppercase letters, lowercase letters, numbers, or underscores (_). In addition, service cannot start withSYS
,AGT
, orSRE
, and namespace cannot beSERVICE.BMS
because this namespace has been used by the system.
- dimensions
Sequence[Ces
Metric Data V1Metric Dimension] - Specifies the metric dimension. A maximum of three dimensions are supported.
- metric_
name str - Specifies the metric ID. Available metrics.
- namespace str
- Specifies the namespace in
service.item
format.service.item
can be a string of3
to32
characters that must start with a letter and can consists of uppercase letters, lowercase letters, numbers, or underscores (_). In addition, service cannot start withSYS
,AGT
, orSRE
, and namespace cannot beSERVICE.BMS
because this namespace has been used by the system.
- dimensions List<Property Map>
- Specifies the metric dimension. A maximum of three dimensions are supported.
- metric
Name String - Specifies the metric ID. Available metrics.
- namespace String
- Specifies the namespace in
service.item
format.service.item
can be a string of3
to32
characters that must start with a letter and can consists of uppercase letters, lowercase letters, numbers, or underscores (_). In addition, service cannot start withSYS
,AGT
, orSRE
, and namespace cannot beSERVICE.BMS
because this namespace has been used by the system.
CesMetricDataV1MetricDimension, CesMetricDataV1MetricDimensionArgs
- Name string
- Specifies the dimension name. The value can be a string
of
1
to32
characters that must start with a letter and can consists of uppercase letters, lowercase letters, numbers, underscores (_), or hyphens (-). - Value string
- Specifies the dimension value. The value can be a string
of
1
to64
characters that must start with a letter or a number and can consists of uppercase letters, lowercase letters, numbers, underscores (_), or hyphens (-).
- Name string
- Specifies the dimension name. The value can be a string
of
1
to32
characters that must start with a letter and can consists of uppercase letters, lowercase letters, numbers, underscores (_), or hyphens (-). - Value string
- Specifies the dimension value. The value can be a string
of
1
to64
characters that must start with a letter or a number and can consists of uppercase letters, lowercase letters, numbers, underscores (_), or hyphens (-).
- name String
- Specifies the dimension name. The value can be a string
of
1
to32
characters that must start with a letter and can consists of uppercase letters, lowercase letters, numbers, underscores (_), or hyphens (-). - value String
- Specifies the dimension value. The value can be a string
of
1
to64
characters that must start with a letter or a number and can consists of uppercase letters, lowercase letters, numbers, underscores (_), or hyphens (-).
- name string
- Specifies the dimension name. The value can be a string
of
1
to32
characters that must start with a letter and can consists of uppercase letters, lowercase letters, numbers, underscores (_), or hyphens (-). - value string
- Specifies the dimension value. The value can be a string
of
1
to64
characters that must start with a letter or a number and can consists of uppercase letters, lowercase letters, numbers, underscores (_), or hyphens (-).
- name str
- Specifies the dimension name. The value can be a string
of
1
to32
characters that must start with a letter and can consists of uppercase letters, lowercase letters, numbers, underscores (_), or hyphens (-). - value str
- Specifies the dimension value. The value can be a string
of
1
to64
characters that must start with a letter or a number and can consists of uppercase letters, lowercase letters, numbers, underscores (_), or hyphens (-).
- name String
- Specifies the dimension name. The value can be a string
of
1
to32
characters that must start with a letter and can consists of uppercase letters, lowercase letters, numbers, underscores (_), or hyphens (-). - value String
- Specifies the dimension value. The value can be a string
of
1
to64
characters that must start with a letter or a number and can consists of uppercase letters, lowercase letters, numbers, underscores (_), or hyphens (-).
CesMetricDataV1Timeouts, CesMetricDataV1TimeoutsArgs
Package Details
- Repository
- opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
- License
- Notes
- This Pulumi package is based on the
opentelekomcloud
Terraform Provider.