tencentcloud.MonitorTmpTkeTemplate
Explore with Pulumi AI
Provides a resource to create a tmp tke template
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const foo = new tencentcloud.MonitorTmpTkeTemplate("foo", {template: {
name: "tf-template",
level: "cluster",
describe: "template",
serviceMonitors: [{
name: "tf-ServiceMonitor",
config: `apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: example-service-monitor
namespace: monitoring
labels:
k8s-app: example-service
spec:
selector:
matchLabels:
k8s-app: example-service
namespaceSelector:
matchNames:
- default
endpoints:
- port: http-metrics
interval: 30s
path: /metrics
scheme: http
bearerTokenFile: /var/run/secrets/kubernetes.io/serviceaccount/token
tlsConfig:
insecureSkipVerify: true
`,
}],
podMonitors: [
{
name: "tf-PodMonitors",
config: `apiVersion: monitoring.coreos.com/v1
kind: PodMonitor
metadata:
name: example-pod-monitor
namespace: monitoring
labels:
k8s-app: example-pod
spec:
selector:
matchLabels:
k8s-app: example-pod
namespaceSelector:
matchNames:
- default
podMetricsEndpoints:
- port: http-metrics
interval: 30s
path: /metrics
scheme: http
bearerTokenFile: /var/run/secrets/kubernetes.io/serviceaccount/token
tlsConfig:
insecureSkipVerify: true
`,
},
{
name: "tf-RawJobs",
config: `scrape_configs:
- job_name: 'example-job'
scrape_interval: 30s
static_configs:
- targets: ['example-service.default.svc.cluster.local:8080']
metrics_path: /metrics
scheme: http
bearer_token_file: /var/run/secrets/kubernetes.io/serviceaccount/token
tls_config:
insecure_skip_verify: true
`,
},
],
}});
import pulumi
import pulumi_tencentcloud as tencentcloud
foo = tencentcloud.MonitorTmpTkeTemplate("foo", template={
"name": "tf-template",
"level": "cluster",
"describe": "template",
"service_monitors": [{
"name": "tf-ServiceMonitor",
"config": """apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: example-service-monitor
namespace: monitoring
labels:
k8s-app: example-service
spec:
selector:
matchLabels:
k8s-app: example-service
namespaceSelector:
matchNames:
- default
endpoints:
- port: http-metrics
interval: 30s
path: /metrics
scheme: http
bearerTokenFile: /var/run/secrets/kubernetes.io/serviceaccount/token
tlsConfig:
insecureSkipVerify: true
""",
}],
"pod_monitors": [
{
"name": "tf-PodMonitors",
"config": """apiVersion: monitoring.coreos.com/v1
kind: PodMonitor
metadata:
name: example-pod-monitor
namespace: monitoring
labels:
k8s-app: example-pod
spec:
selector:
matchLabels:
k8s-app: example-pod
namespaceSelector:
matchNames:
- default
podMetricsEndpoints:
- port: http-metrics
interval: 30s
path: /metrics
scheme: http
bearerTokenFile: /var/run/secrets/kubernetes.io/serviceaccount/token
tlsConfig:
insecureSkipVerify: true
""",
},
{
"name": "tf-RawJobs",
"config": """scrape_configs:
- job_name: 'example-job'
scrape_interval: 30s
static_configs:
- targets: ['example-service.default.svc.cluster.local:8080']
metrics_path: /metrics
scheme: http
bearer_token_file: /var/run/secrets/kubernetes.io/serviceaccount/token
tls_config:
insecure_skip_verify: true
""",
},
],
})
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := tencentcloud.NewMonitorTmpTkeTemplate(ctx, "foo", &tencentcloud.MonitorTmpTkeTemplateArgs{
Template: &tencentcloud.MonitorTmpTkeTemplateTemplateArgs{
Name: pulumi.String("tf-template"),
Level: pulumi.String("cluster"),
Describe: pulumi.String("template"),
ServiceMonitors: tencentcloud.MonitorTmpTkeTemplateTemplateServiceMonitorArray{
&tencentcloud.MonitorTmpTkeTemplateTemplateServiceMonitorArgs{
Name: pulumi.String("tf-ServiceMonitor"),
Config: pulumi.String(`apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: example-service-monitor
namespace: monitoring
labels:
k8s-app: example-service
spec:
selector:
matchLabels:
k8s-app: example-service
namespaceSelector:
matchNames:
- default
endpoints:
- port: http-metrics
interval: 30s
path: /metrics
scheme: http
bearerTokenFile: /var/run/secrets/kubernetes.io/serviceaccount/token
tlsConfig:
insecureSkipVerify: true
`),
},
},
PodMonitors: tencentcloud.MonitorTmpTkeTemplateTemplatePodMonitorArray{
&tencentcloud.MonitorTmpTkeTemplateTemplatePodMonitorArgs{
Name: pulumi.String("tf-PodMonitors"),
Config: pulumi.String(`apiVersion: monitoring.coreos.com/v1
kind: PodMonitor
metadata:
name: example-pod-monitor
namespace: monitoring
labels:
k8s-app: example-pod
spec:
selector:
matchLabels:
k8s-app: example-pod
namespaceSelector:
matchNames:
- default
podMetricsEndpoints:
- port: http-metrics
interval: 30s
path: /metrics
scheme: http
bearerTokenFile: /var/run/secrets/kubernetes.io/serviceaccount/token
tlsConfig:
insecureSkipVerify: true
`),
},
&tencentcloud.MonitorTmpTkeTemplateTemplatePodMonitorArgs{
Name: pulumi.String("tf-RawJobs"),
Config: pulumi.String(`scrape_configs:
- job_name: 'example-job'
scrape_interval: 30s
static_configs:
- targets: ['example-service.default.svc.cluster.local:8080']
metrics_path: /metrics
scheme: http
bearer_token_file: /var/run/secrets/kubernetes.io/serviceaccount/token
tls_config:
insecure_skip_verify: true
`),
},
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var foo = new Tencentcloud.MonitorTmpTkeTemplate("foo", new()
{
Template = new Tencentcloud.Inputs.MonitorTmpTkeTemplateTemplateArgs
{
Name = "tf-template",
Level = "cluster",
Describe = "template",
ServiceMonitors = new[]
{
new Tencentcloud.Inputs.MonitorTmpTkeTemplateTemplateServiceMonitorArgs
{
Name = "tf-ServiceMonitor",
Config = @"apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: example-service-monitor
namespace: monitoring
labels:
k8s-app: example-service
spec:
selector:
matchLabels:
k8s-app: example-service
namespaceSelector:
matchNames:
- default
endpoints:
- port: http-metrics
interval: 30s
path: /metrics
scheme: http
bearerTokenFile: /var/run/secrets/kubernetes.io/serviceaccount/token
tlsConfig:
insecureSkipVerify: true
",
},
},
PodMonitors = new[]
{
new Tencentcloud.Inputs.MonitorTmpTkeTemplateTemplatePodMonitorArgs
{
Name = "tf-PodMonitors",
Config = @"apiVersion: monitoring.coreos.com/v1
kind: PodMonitor
metadata:
name: example-pod-monitor
namespace: monitoring
labels:
k8s-app: example-pod
spec:
selector:
matchLabels:
k8s-app: example-pod
namespaceSelector:
matchNames:
- default
podMetricsEndpoints:
- port: http-metrics
interval: 30s
path: /metrics
scheme: http
bearerTokenFile: /var/run/secrets/kubernetes.io/serviceaccount/token
tlsConfig:
insecureSkipVerify: true
",
},
new Tencentcloud.Inputs.MonitorTmpTkeTemplateTemplatePodMonitorArgs
{
Name = "tf-RawJobs",
Config = @"scrape_configs:
- job_name: 'example-job'
scrape_interval: 30s
static_configs:
- targets: ['example-service.default.svc.cluster.local:8080']
metrics_path: /metrics
scheme: http
bearer_token_file: /var/run/secrets/kubernetes.io/serviceaccount/token
tls_config:
insecure_skip_verify: true
",
},
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.MonitorTmpTkeTemplate;
import com.pulumi.tencentcloud.MonitorTmpTkeTemplateArgs;
import com.pulumi.tencentcloud.inputs.MonitorTmpTkeTemplateTemplateArgs;
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 foo = new MonitorTmpTkeTemplate("foo", MonitorTmpTkeTemplateArgs.builder()
.template(MonitorTmpTkeTemplateTemplateArgs.builder()
.name("tf-template")
.level("cluster")
.describe("template")
.serviceMonitors(MonitorTmpTkeTemplateTemplateServiceMonitorArgs.builder()
.name("tf-ServiceMonitor")
.config("""
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: example-service-monitor
namespace: monitoring
labels:
k8s-app: example-service
spec:
selector:
matchLabels:
k8s-app: example-service
namespaceSelector:
matchNames:
- default
endpoints:
- port: http-metrics
interval: 30s
path: /metrics
scheme: http
bearerTokenFile: /var/run/secrets/kubernetes.io/serviceaccount/token
tlsConfig:
insecureSkipVerify: true
""")
.build())
.podMonitors(
MonitorTmpTkeTemplateTemplatePodMonitorArgs.builder()
.name("tf-PodMonitors")
.config("""
apiVersion: monitoring.coreos.com/v1
kind: PodMonitor
metadata:
name: example-pod-monitor
namespace: monitoring
labels:
k8s-app: example-pod
spec:
selector:
matchLabels:
k8s-app: example-pod
namespaceSelector:
matchNames:
- default
podMetricsEndpoints:
- port: http-metrics
interval: 30s
path: /metrics
scheme: http
bearerTokenFile: /var/run/secrets/kubernetes.io/serviceaccount/token
tlsConfig:
insecureSkipVerify: true
""")
.build(),
MonitorTmpTkeTemplateTemplatePodMonitorArgs.builder()
.name("tf-RawJobs")
.config("""
scrape_configs:
- job_name: 'example-job'
scrape_interval: 30s
static_configs:
- targets: ['example-service.default.svc.cluster.local:8080']
metrics_path: /metrics
scheme: http
bearer_token_file: /var/run/secrets/kubernetes.io/serviceaccount/token
tls_config:
insecure_skip_verify: true
""")
.build())
.build())
.build());
}
}
resources:
foo:
type: tencentcloud:MonitorTmpTkeTemplate
properties:
template:
name: tf-template
level: cluster
describe: template
serviceMonitors:
- name: tf-ServiceMonitor
config: |
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: example-service-monitor
namespace: monitoring
labels:
k8s-app: example-service
spec:
selector:
matchLabels:
k8s-app: example-service
namespaceSelector:
matchNames:
- default
endpoints:
- port: http-metrics
interval: 30s
path: /metrics
scheme: http
bearerTokenFile: /var/run/secrets/kubernetes.io/serviceaccount/token
tlsConfig:
insecureSkipVerify: true
podMonitors:
- name: tf-PodMonitors
config: |
apiVersion: monitoring.coreos.com/v1
kind: PodMonitor
metadata:
name: example-pod-monitor
namespace: monitoring
labels:
k8s-app: example-pod
spec:
selector:
matchLabels:
k8s-app: example-pod
namespaceSelector:
matchNames:
- default
podMetricsEndpoints:
- port: http-metrics
interval: 30s
path: /metrics
scheme: http
bearerTokenFile: /var/run/secrets/kubernetes.io/serviceaccount/token
tlsConfig:
insecureSkipVerify: true
- name: tf-RawJobs
config: |
scrape_configs:
- job_name: 'example-job'
scrape_interval: 30s
static_configs:
- targets: ['example-service.default.svc.cluster.local:8080']
metrics_path: /metrics
scheme: http
bearer_token_file: /var/run/secrets/kubernetes.io/serviceaccount/token
tls_config:
insecure_skip_verify: true
Create MonitorTmpTkeTemplate Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new MonitorTmpTkeTemplate(name: string, args: MonitorTmpTkeTemplateArgs, opts?: CustomResourceOptions);
@overload
def MonitorTmpTkeTemplate(resource_name: str,
args: MonitorTmpTkeTemplateArgs,
opts: Optional[ResourceOptions] = None)
@overload
def MonitorTmpTkeTemplate(resource_name: str,
opts: Optional[ResourceOptions] = None,
template: Optional[MonitorTmpTkeTemplateTemplateArgs] = None,
monitor_tmp_tke_template_id: Optional[str] = None)
func NewMonitorTmpTkeTemplate(ctx *Context, name string, args MonitorTmpTkeTemplateArgs, opts ...ResourceOption) (*MonitorTmpTkeTemplate, error)
public MonitorTmpTkeTemplate(string name, MonitorTmpTkeTemplateArgs args, CustomResourceOptions? opts = null)
public MonitorTmpTkeTemplate(String name, MonitorTmpTkeTemplateArgs args)
public MonitorTmpTkeTemplate(String name, MonitorTmpTkeTemplateArgs args, CustomResourceOptions options)
type: tencentcloud:MonitorTmpTkeTemplate
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 MonitorTmpTkeTemplateArgs
- 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 MonitorTmpTkeTemplateArgs
- 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 MonitorTmpTkeTemplateArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args MonitorTmpTkeTemplateArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args MonitorTmpTkeTemplateArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
MonitorTmpTkeTemplate 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 MonitorTmpTkeTemplate resource accepts the following input properties:
- Template
Monitor
Tmp Tke Template Template - Template settings.
- Monitor
Tmp stringTke Template Id - ID of the resource.
- Template
Monitor
Tmp Tke Template Template Args - Template settings.
- Monitor
Tmp stringTke Template Id - ID of the resource.
- template
Monitor
Tmp Tke Template Template - Template settings.
- monitor
Tmp StringTke Template Id - ID of the resource.
- template
Monitor
Tmp Tke Template Template - Template settings.
- monitor
Tmp stringTke Template Id - ID of the resource.
- template
Monitor
Tmp Tke Template Template Args - Template settings.
- monitor_
tmp_ strtke_ template_ id - ID of the resource.
- template Property Map
- Template settings.
- monitor
Tmp StringTke Template Id - ID of the resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the MonitorTmpTkeTemplate 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 MonitorTmpTkeTemplate Resource
Get an existing MonitorTmpTkeTemplate 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?: MonitorTmpTkeTemplateState, opts?: CustomResourceOptions): MonitorTmpTkeTemplate
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
monitor_tmp_tke_template_id: Optional[str] = None,
template: Optional[MonitorTmpTkeTemplateTemplateArgs] = None) -> MonitorTmpTkeTemplate
func GetMonitorTmpTkeTemplate(ctx *Context, name string, id IDInput, state *MonitorTmpTkeTemplateState, opts ...ResourceOption) (*MonitorTmpTkeTemplate, error)
public static MonitorTmpTkeTemplate Get(string name, Input<string> id, MonitorTmpTkeTemplateState? state, CustomResourceOptions? opts = null)
public static MonitorTmpTkeTemplate get(String name, Output<String> id, MonitorTmpTkeTemplateState state, CustomResourceOptions options)
resources: _: type: tencentcloud:MonitorTmpTkeTemplate 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.
- Monitor
Tmp stringTke Template Id - ID of the resource.
- Template
Monitor
Tmp Tke Template Template - Template settings.
- Monitor
Tmp stringTke Template Id - ID of the resource.
- Template
Monitor
Tmp Tke Template Template Args - Template settings.
- monitor
Tmp StringTke Template Id - ID of the resource.
- template
Monitor
Tmp Tke Template Template - Template settings.
- monitor
Tmp stringTke Template Id - ID of the resource.
- template
Monitor
Tmp Tke Template Template - Template settings.
- monitor_
tmp_ strtke_ template_ id - ID of the resource.
- template
Monitor
Tmp Tke Template Template Args - Template settings.
- monitor
Tmp StringTke Template Id - ID of the resource.
- template Property Map
- Template settings.
Supporting Types
MonitorTmpTkeTemplateTemplate, MonitorTmpTkeTemplateTemplateArgs
- Level string
- Template dimensions, the following types are supported
instance
instance level,cluster
cluster level. - Name string
- Template name.
- Describe string
- Template description.
- Is
Default bool - Whether the system-supplied default template is used for outgoing references.
- Pod
Monitors List<MonitorTmp Tke Template Template Pod Monitor> - Effective when Level is a cluster, A list of PodMonitors rules in the template.
- Raw
Jobs List<MonitorTmp Tke Template Template Raw Job> - Effective when Level is a cluster, A list of RawJobs rules in the template.
- Record
Rules List<MonitorTmp Tke Template Template Record Rule> - Effective when Level is instance, A list of aggregation rules in the template.
- Service
Monitors List<MonitorTmp Tke Template Template Service Monitor> - Effective when Level is a cluster, A list of ServiceMonitor rules in the template.
- Template
Id string - The ID of the template, which is used for the outgoing reference.
- Update
Time string - Last updated, for outgoing references.
- Version string
- Whether the system-supplied default template is used for outgoing references.
- Level string
- Template dimensions, the following types are supported
instance
instance level,cluster
cluster level. - Name string
- Template name.
- Describe string
- Template description.
- Is
Default bool - Whether the system-supplied default template is used for outgoing references.
- Pod
Monitors []MonitorTmp Tke Template Template Pod Monitor - Effective when Level is a cluster, A list of PodMonitors rules in the template.
- Raw
Jobs []MonitorTmp Tke Template Template Raw Job - Effective when Level is a cluster, A list of RawJobs rules in the template.
- Record
Rules []MonitorTmp Tke Template Template Record Rule - Effective when Level is instance, A list of aggregation rules in the template.
- Service
Monitors []MonitorTmp Tke Template Template Service Monitor - Effective when Level is a cluster, A list of ServiceMonitor rules in the template.
- Template
Id string - The ID of the template, which is used for the outgoing reference.
- Update
Time string - Last updated, for outgoing references.
- Version string
- Whether the system-supplied default template is used for outgoing references.
- level String
- Template dimensions, the following types are supported
instance
instance level,cluster
cluster level. - name String
- Template name.
- describe String
- Template description.
- is
Default Boolean - Whether the system-supplied default template is used for outgoing references.
- pod
Monitors List<MonitorTmp Tke Template Template Pod Monitor> - Effective when Level is a cluster, A list of PodMonitors rules in the template.
- raw
Jobs List<MonitorTmp Tke Template Template Raw Job> - Effective when Level is a cluster, A list of RawJobs rules in the template.
- record
Rules List<MonitorTmp Tke Template Template Record Rule> - Effective when Level is instance, A list of aggregation rules in the template.
- service
Monitors List<MonitorTmp Tke Template Template Service Monitor> - Effective when Level is a cluster, A list of ServiceMonitor rules in the template.
- template
Id String - The ID of the template, which is used for the outgoing reference.
- update
Time String - Last updated, for outgoing references.
- version String
- Whether the system-supplied default template is used for outgoing references.
- level string
- Template dimensions, the following types are supported
instance
instance level,cluster
cluster level. - name string
- Template name.
- describe string
- Template description.
- is
Default boolean - Whether the system-supplied default template is used for outgoing references.
- pod
Monitors MonitorTmp Tke Template Template Pod Monitor[] - Effective when Level is a cluster, A list of PodMonitors rules in the template.
- raw
Jobs MonitorTmp Tke Template Template Raw Job[] - Effective when Level is a cluster, A list of RawJobs rules in the template.
- record
Rules MonitorTmp Tke Template Template Record Rule[] - Effective when Level is instance, A list of aggregation rules in the template.
- service
Monitors MonitorTmp Tke Template Template Service Monitor[] - Effective when Level is a cluster, A list of ServiceMonitor rules in the template.
- template
Id string - The ID of the template, which is used for the outgoing reference.
- update
Time string - Last updated, for outgoing references.
- version string
- Whether the system-supplied default template is used for outgoing references.
- level str
- Template dimensions, the following types are supported
instance
instance level,cluster
cluster level. - name str
- Template name.
- describe str
- Template description.
- is_
default bool - Whether the system-supplied default template is used for outgoing references.
- pod_
monitors Sequence[MonitorTmp Tke Template Template Pod Monitor] - Effective when Level is a cluster, A list of PodMonitors rules in the template.
- raw_
jobs Sequence[MonitorTmp Tke Template Template Raw Job] - Effective when Level is a cluster, A list of RawJobs rules in the template.
- record_
rules Sequence[MonitorTmp Tke Template Template Record Rule] - Effective when Level is instance, A list of aggregation rules in the template.
- service_
monitors Sequence[MonitorTmp Tke Template Template Service Monitor] - Effective when Level is a cluster, A list of ServiceMonitor rules in the template.
- template_
id str - The ID of the template, which is used for the outgoing reference.
- update_
time str - Last updated, for outgoing references.
- version str
- Whether the system-supplied default template is used for outgoing references.
- level String
- Template dimensions, the following types are supported
instance
instance level,cluster
cluster level. - name String
- Template name.
- describe String
- Template description.
- is
Default Boolean - Whether the system-supplied default template is used for outgoing references.
- pod
Monitors List<Property Map> - Effective when Level is a cluster, A list of PodMonitors rules in the template.
- raw
Jobs List<Property Map> - Effective when Level is a cluster, A list of RawJobs rules in the template.
- record
Rules List<Property Map> - Effective when Level is instance, A list of aggregation rules in the template.
- service
Monitors List<Property Map> - Effective when Level is a cluster, A list of ServiceMonitor rules in the template.
- template
Id String - The ID of the template, which is used for the outgoing reference.
- update
Time String - Last updated, for outgoing references.
- version String
- Whether the system-supplied default template is used for outgoing references.
MonitorTmpTkeTemplateTemplatePodMonitor, MonitorTmpTkeTemplateTemplatePodMonitorArgs
- Config string
- Config.
- Name string
- Name.
- Template
Id string - Used for the argument, if the configuration comes to the template, the template id.
- Config string
- Config.
- Name string
- Name.
- Template
Id string - Used for the argument, if the configuration comes to the template, the template id.
- config String
- Config.
- name String
- Name.
- template
Id String - Used for the argument, if the configuration comes to the template, the template id.
- config string
- Config.
- name string
- Name.
- template
Id string - Used for the argument, if the configuration comes to the template, the template id.
- config str
- Config.
- name str
- Name.
- template_
id str - Used for the argument, if the configuration comes to the template, the template id.
- config String
- Config.
- name String
- Name.
- template
Id String - Used for the argument, if the configuration comes to the template, the template id.
MonitorTmpTkeTemplateTemplateRawJob, MonitorTmpTkeTemplateTemplateRawJobArgs
- Config string
- Config.
- Name string
- Name.
- Template
Id string - Used for the argument, if the configuration comes to the template, the template id.
- Config string
- Config.
- Name string
- Name.
- Template
Id string - Used for the argument, if the configuration comes to the template, the template id.
- config String
- Config.
- name String
- Name.
- template
Id String - Used for the argument, if the configuration comes to the template, the template id.
- config string
- Config.
- name string
- Name.
- template
Id string - Used for the argument, if the configuration comes to the template, the template id.
- config str
- Config.
- name str
- Name.
- template_
id str - Used for the argument, if the configuration comes to the template, the template id.
- config String
- Config.
- name String
- Name.
- template
Id String - Used for the argument, if the configuration comes to the template, the template id.
MonitorTmpTkeTemplateTemplateRecordRule, MonitorTmpTkeTemplateTemplateRecordRuleArgs
- Config string
- Config.
- Name string
- Name.
- Template
Id string - Used for the argument, if the configuration comes to the template, the template id.
- Config string
- Config.
- Name string
- Name.
- Template
Id string - Used for the argument, if the configuration comes to the template, the template id.
- config String
- Config.
- name String
- Name.
- template
Id String - Used for the argument, if the configuration comes to the template, the template id.
- config string
- Config.
- name string
- Name.
- template
Id string - Used for the argument, if the configuration comes to the template, the template id.
- config str
- Config.
- name str
- Name.
- template_
id str - Used for the argument, if the configuration comes to the template, the template id.
- config String
- Config.
- name String
- Name.
- template
Id String - Used for the argument, if the configuration comes to the template, the template id.
MonitorTmpTkeTemplateTemplateServiceMonitor, MonitorTmpTkeTemplateTemplateServiceMonitorArgs
- Config string
- Config.
- Name string
- Name.
- Template
Id string - Used for the argument, if the configuration comes to the template, the template id.
- Config string
- Config.
- Name string
- Name.
- Template
Id string - Used for the argument, if the configuration comes to the template, the template id.
- config String
- Config.
- name String
- Name.
- template
Id String - Used for the argument, if the configuration comes to the template, the template id.
- config string
- Config.
- name string
- Name.
- template
Id string - Used for the argument, if the configuration comes to the template, the template id.
- config str
- Config.
- name str
- Name.
- template_
id str - Used for the argument, if the configuration comes to the template, the template id.
- config String
- Config.
- name String
- Name.
- template
Id String - Used for the argument, if the configuration comes to the template, the template id.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloud
Terraform Provider.