tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
tencentcloud.getDbbrainHealthScores
Explore with Pulumi AI
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
Use this data source to query detailed information of dbbrain health_scores
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const healthScores = tencentcloud.getDbbrainHealthScores({
instanceId: "",
product: "",
time: "",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
health_scores = tencentcloud.get_dbbrain_health_scores(instance_id="",
product="",
time="")
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.GetDbbrainHealthScores(ctx, &tencentcloud.GetDbbrainHealthScoresArgs{
InstanceId: "",
Product: "",
Time: "",
}, nil)
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 healthScores = Tencentcloud.GetDbbrainHealthScores.Invoke(new()
{
InstanceId = "",
Product = "",
Time = "",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.TencentcloudFunctions;
import com.pulumi.tencentcloud.inputs.GetDbbrainHealthScoresArgs;
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 healthScores = TencentcloudFunctions.getDbbrainHealthScores(GetDbbrainHealthScoresArgs.builder()
.instanceId("")
.product("")
.time("")
.build());
}
}
variables:
healthScores:
fn::invoke:
function: tencentcloud:getDbbrainHealthScores
arguments:
instanceId: ""
product: ""
time: ""
Using getDbbrainHealthScores
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getDbbrainHealthScores(args: GetDbbrainHealthScoresArgs, opts?: InvokeOptions): Promise<GetDbbrainHealthScoresResult>
function getDbbrainHealthScoresOutput(args: GetDbbrainHealthScoresOutputArgs, opts?: InvokeOptions): Output<GetDbbrainHealthScoresResult>
def get_dbbrain_health_scores(id: Optional[str] = None,
instance_id: Optional[str] = None,
product: Optional[str] = None,
result_output_file: Optional[str] = None,
time: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDbbrainHealthScoresResult
def get_dbbrain_health_scores_output(id: Optional[pulumi.Input[str]] = None,
instance_id: Optional[pulumi.Input[str]] = None,
product: Optional[pulumi.Input[str]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
time: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDbbrainHealthScoresResult]
func GetDbbrainHealthScores(ctx *Context, args *GetDbbrainHealthScoresArgs, opts ...InvokeOption) (*GetDbbrainHealthScoresResult, error)
func GetDbbrainHealthScoresOutput(ctx *Context, args *GetDbbrainHealthScoresOutputArgs, opts ...InvokeOption) GetDbbrainHealthScoresResultOutput
> Note: This function is named GetDbbrainHealthScores
in the Go SDK.
public static class GetDbbrainHealthScores
{
public static Task<GetDbbrainHealthScoresResult> InvokeAsync(GetDbbrainHealthScoresArgs args, InvokeOptions? opts = null)
public static Output<GetDbbrainHealthScoresResult> Invoke(GetDbbrainHealthScoresInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDbbrainHealthScoresResult> getDbbrainHealthScores(GetDbbrainHealthScoresArgs args, InvokeOptions options)
public static Output<GetDbbrainHealthScoresResult> getDbbrainHealthScores(GetDbbrainHealthScoresArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getDbbrainHealthScores:getDbbrainHealthScores
arguments:
# arguments dictionary
The following arguments are supported:
- Instance
Id string - The ID of the instance whose health score needs to be obtained.
- Product string
- Service product type, supported values include: mysql - cloud database MySQL, cynosdb - cloud database TDSQL-C for MySQL, the default is mysql.
- Time string
- The time to obtain the health score, the time format is as follows: 2019-09-10 12:13:14.
- Id string
- Result
Output stringFile - Used to save results.
- Instance
Id string - The ID of the instance whose health score needs to be obtained.
- Product string
- Service product type, supported values include: mysql - cloud database MySQL, cynosdb - cloud database TDSQL-C for MySQL, the default is mysql.
- Time string
- The time to obtain the health score, the time format is as follows: 2019-09-10 12:13:14.
- Id string
- Result
Output stringFile - Used to save results.
- instance
Id String - The ID of the instance whose health score needs to be obtained.
- product String
- Service product type, supported values include: mysql - cloud database MySQL, cynosdb - cloud database TDSQL-C for MySQL, the default is mysql.
- time String
- The time to obtain the health score, the time format is as follows: 2019-09-10 12:13:14.
- id String
- result
Output StringFile - Used to save results.
- instance
Id string - The ID of the instance whose health score needs to be obtained.
- product string
- Service product type, supported values include: mysql - cloud database MySQL, cynosdb - cloud database TDSQL-C for MySQL, the default is mysql.
- time string
- The time to obtain the health score, the time format is as follows: 2019-09-10 12:13:14.
- id string
- result
Output stringFile - Used to save results.
- instance_
id str - The ID of the instance whose health score needs to be obtained.
- product str
- Service product type, supported values include: mysql - cloud database MySQL, cynosdb - cloud database TDSQL-C for MySQL, the default is mysql.
- time str
- The time to obtain the health score, the time format is as follows: 2019-09-10 12:13:14.
- id str
- result_
output_ strfile - Used to save results.
- instance
Id String - The ID of the instance whose health score needs to be obtained.
- product String
- Service product type, supported values include: mysql - cloud database MySQL, cynosdb - cloud database TDSQL-C for MySQL, the default is mysql.
- time String
- The time to obtain the health score, the time format is as follows: 2019-09-10 12:13:14.
- id String
- result
Output StringFile - Used to save results.
getDbbrainHealthScores Result
The following output properties are available:
- Datas
List<Get
Dbbrain Health Scores Data> - Health score and abnormal deduction items.
- Id string
- Instance
Id string - Product string
- Time string
- Result
Output stringFile
- Datas
[]Get
Dbbrain Health Scores Data - Health score and abnormal deduction items.
- Id string
- Instance
Id string - Product string
- Time string
- Result
Output stringFile
- datas
List<Get
Dbbrain Health Scores Data> - Health score and abnormal deduction items.
- id String
- instance
Id String - product String
- time String
- result
Output StringFile
- datas
Get
Dbbrain Health Scores Data[] - Health score and abnormal deduction items.
- id string
- instance
Id string - product string
- time string
- result
Output stringFile
- datas
Sequence[Get
Dbbrain Health Scores Data] - Health score and abnormal deduction items.
- id str
- instance_
id str - product str
- time str
- result_
output_ strfile
- datas List<Property Map>
- Health score and abnormal deduction items.
- id String
- instance
Id String - product String
- time String
- result
Output StringFile
Supporting Types
GetDbbrainHealthScoresData
- Events
Total doubleCount - The total number of abnormal events.
- Health
Level string - Health level, such as: HEALTH, SUB_HEALTH, RISK, HIGH_RISK.
- Health
Score double - Health score.
- Issue
Types List<GetDbbrain Health Scores Data Issue Type> - Exception details.
- Events
Total float64Count - The total number of abnormal events.
- Health
Level string - Health level, such as: HEALTH, SUB_HEALTH, RISK, HIGH_RISK.
- Health
Score float64 - Health score.
- Issue
Types []GetDbbrain Health Scores Data Issue Type - Exception details.
- events
Total DoubleCount - The total number of abnormal events.
- health
Level String - Health level, such as: HEALTH, SUB_HEALTH, RISK, HIGH_RISK.
- health
Score Double - Health score.
- issue
Types List<GetDbbrain Health Scores Data Issue Type> - Exception details.
- events
Total numberCount - The total number of abnormal events.
- health
Level string - Health level, such as: HEALTH, SUB_HEALTH, RISK, HIGH_RISK.
- health
Score number - Health score.
- issue
Types GetDbbrain Health Scores Data Issue Type[] - Exception details.
- events_
total_ floatcount - The total number of abnormal events.
- health_
level str - Health level, such as: HEALTH, SUB_HEALTH, RISK, HIGH_RISK.
- health_
score float - Health score.
- issue_
types Sequence[GetDbbrain Health Scores Data Issue Type] - Exception details.
- events
Total NumberCount - The total number of abnormal events.
- health
Level String - Health level, such as: HEALTH, SUB_HEALTH, RISK, HIGH_RISK.
- health
Score Number - Health score.
- issue
Types List<Property Map> - Exception details.
GetDbbrainHealthScoresDataIssueType
- Events
List<Get
Dbbrain Health Scores Data Issue Type Event> - unusual event.
- Issue
Type string - Index classification: AVAILABILITY: availability, MAINTAINABILITY: maintainability, PERFORMANCE, performance, RELIABILITY reliability.
- Total
Count double - The total number of abnormal events.
- Events
[]Get
Dbbrain Health Scores Data Issue Type Event - unusual event.
- Issue
Type string - Index classification: AVAILABILITY: availability, MAINTAINABILITY: maintainability, PERFORMANCE, performance, RELIABILITY reliability.
- Total
Count float64 - The total number of abnormal events.
- events
List<Get
Dbbrain Health Scores Data Issue Type Event> - unusual event.
- issue
Type String - Index classification: AVAILABILITY: availability, MAINTAINABILITY: maintainability, PERFORMANCE, performance, RELIABILITY reliability.
- total
Count Double - The total number of abnormal events.
- events
Get
Dbbrain Health Scores Data Issue Type Event[] - unusual event.
- issue
Type string - Index classification: AVAILABILITY: availability, MAINTAINABILITY: maintainability, PERFORMANCE, performance, RELIABILITY reliability.
- total
Count number - The total number of abnormal events.
- events
Sequence[Get
Dbbrain Health Scores Data Issue Type Event] - unusual event.
- issue_
type str - Index classification: AVAILABILITY: availability, MAINTAINABILITY: maintainability, PERFORMANCE, performance, RELIABILITY reliability.
- total_
count float - The total number of abnormal events.
- events List<Property Map>
- unusual event.
- issue
Type String - Index classification: AVAILABILITY: availability, MAINTAINABILITY: maintainability, PERFORMANCE, performance, RELIABILITY reliability.
- total
Count Number - The total number of abnormal events.
GetDbbrainHealthScoresDataIssueTypeEvent
- Count double
- Number of alerts.
- Diag
Type string - Diagnostic type.
- End
Time string - End Time.
- Event
Id double - Event ID.
- Metric string
- reserved text.
- Outline string
- overview.
- Score
Lost double - Points deducted.
- Severity double
- severity. The severity is divided into 5 levels, according to the degree of impact from high to low: 1: Fatal, 2: Serious, 3: Warning, 4: Prompt, 5: Healthy.
- Start
Time string - Starting time.
- Count float64
- Number of alerts.
- Diag
Type string - Diagnostic type.
- End
Time string - End Time.
- Event
Id float64 - Event ID.
- Metric string
- reserved text.
- Outline string
- overview.
- Score
Lost float64 - Points deducted.
- Severity float64
- severity. The severity is divided into 5 levels, according to the degree of impact from high to low: 1: Fatal, 2: Serious, 3: Warning, 4: Prompt, 5: Healthy.
- Start
Time string - Starting time.
- count Double
- Number of alerts.
- diag
Type String - Diagnostic type.
- end
Time String - End Time.
- event
Id Double - Event ID.
- metric String
- reserved text.
- outline String
- overview.
- score
Lost Double - Points deducted.
- severity Double
- severity. The severity is divided into 5 levels, according to the degree of impact from high to low: 1: Fatal, 2: Serious, 3: Warning, 4: Prompt, 5: Healthy.
- start
Time String - Starting time.
- count number
- Number of alerts.
- diag
Type string - Diagnostic type.
- end
Time string - End Time.
- event
Id number - Event ID.
- metric string
- reserved text.
- outline string
- overview.
- score
Lost number - Points deducted.
- severity number
- severity. The severity is divided into 5 levels, according to the degree of impact from high to low: 1: Fatal, 2: Serious, 3: Warning, 4: Prompt, 5: Healthy.
- start
Time string - Starting time.
- count float
- Number of alerts.
- diag_
type str - Diagnostic type.
- end_
time str - End Time.
- event_
id float - Event ID.
- metric str
- reserved text.
- outline str
- overview.
- score_
lost float - Points deducted.
- severity float
- severity. The severity is divided into 5 levels, according to the degree of impact from high to low: 1: Fatal, 2: Serious, 3: Warning, 4: Prompt, 5: Healthy.
- start_
time str - Starting time.
- count Number
- Number of alerts.
- diag
Type String - Diagnostic type.
- end
Time String - End Time.
- event
Id Number - Event ID.
- metric String
- reserved text.
- outline String
- overview.
- score
Lost Number - Points deducted.
- severity Number
- severity. The severity is divided into 5 levels, according to the degree of impact from high to low: 1: Fatal, 2: Serious, 3: Warning, 4: Prompt, 5: Healthy.
- start
Time String - Starting time.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloud
Terraform Provider.
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack