tencentcloud 1.82.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack
tencentcloud.getMysqlDbFeatures
Start a Neo task
Explain and create a tencentcloud.getMysqlDbFeatures resource
tencentcloud 1.82.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack
Use this data source to query detailed information of mysql db_features
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const dbFeatures = tencentcloud.getMysqlDbFeatures({
instanceId: "cdb-fitq5t9h",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
db_features = tencentcloud.get_mysql_db_features(instance_id="cdb-fitq5t9h")
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.GetMysqlDbFeatures(ctx, &tencentcloud.GetMysqlDbFeaturesArgs{
InstanceId: "cdb-fitq5t9h",
}, 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 dbFeatures = Tencentcloud.GetMysqlDbFeatures.Invoke(new()
{
InstanceId = "cdb-fitq5t9h",
});
});
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.GetMysqlDbFeaturesArgs;
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 dbFeatures = TencentcloudFunctions.getMysqlDbFeatures(GetMysqlDbFeaturesArgs.builder()
.instanceId("cdb-fitq5t9h")
.build());
}
}
variables:
dbFeatures:
fn::invoke:
function: tencentcloud:getMysqlDbFeatures
arguments:
instanceId: cdb-fitq5t9h
Using getMysqlDbFeatures
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 getMysqlDbFeatures(args: GetMysqlDbFeaturesArgs, opts?: InvokeOptions): Promise<GetMysqlDbFeaturesResult>
function getMysqlDbFeaturesOutput(args: GetMysqlDbFeaturesOutputArgs, opts?: InvokeOptions): Output<GetMysqlDbFeaturesResult>def get_mysql_db_features(id: Optional[str] = None,
instance_id: Optional[str] = None,
result_output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetMysqlDbFeaturesResult
def get_mysql_db_features_output(id: Optional[pulumi.Input[str]] = None,
instance_id: Optional[pulumi.Input[str]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetMysqlDbFeaturesResult]func GetMysqlDbFeatures(ctx *Context, args *GetMysqlDbFeaturesArgs, opts ...InvokeOption) (*GetMysqlDbFeaturesResult, error)
func GetMysqlDbFeaturesOutput(ctx *Context, args *GetMysqlDbFeaturesOutputArgs, opts ...InvokeOption) GetMysqlDbFeaturesResultOutput> Note: This function is named GetMysqlDbFeatures in the Go SDK.
public static class GetMysqlDbFeatures
{
public static Task<GetMysqlDbFeaturesResult> InvokeAsync(GetMysqlDbFeaturesArgs args, InvokeOptions? opts = null)
public static Output<GetMysqlDbFeaturesResult> Invoke(GetMysqlDbFeaturesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetMysqlDbFeaturesResult> getMysqlDbFeatures(GetMysqlDbFeaturesArgs args, InvokeOptions options)
public static Output<GetMysqlDbFeaturesResult> getMysqlDbFeatures(GetMysqlDbFeaturesArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getMysqlDbFeatures:getMysqlDbFeatures
arguments:
# arguments dictionaryThe following arguments are supported:
- Instance
Id string - Instance ID, the format is: cdb-c1nl9rpv or cdbro-c1nl9rpv, which is the same as the instance ID displayed on the cloud database console page.
- Id string
- Result
Output stringFile - Used to save results.
- Instance
Id string - Instance ID, the format is: cdb-c1nl9rpv or cdbro-c1nl9rpv, which is the same as the instance ID displayed on the cloud database console page.
- Id string
- Result
Output stringFile - Used to save results.
- instance
Id String - Instance ID, the format is: cdb-c1nl9rpv or cdbro-c1nl9rpv, which is the same as the instance ID displayed on the cloud database console page.
- id String
- result
Output StringFile - Used to save results.
- instance
Id string - Instance ID, the format is: cdb-c1nl9rpv or cdbro-c1nl9rpv, which is the same as the instance ID displayed on the cloud database console page.
- id string
- result
Output stringFile - Used to save results.
- instance_
id str - Instance ID, the format is: cdb-c1nl9rpv or cdbro-c1nl9rpv, which is the same as the instance ID displayed on the cloud database console page.
- id str
- result_
output_ strfile - Used to save results.
- instance
Id String - Instance ID, the format is: cdb-c1nl9rpv or cdbro-c1nl9rpv, which is the same as the instance ID displayed on the cloud database console page.
- id String
- result
Output StringFile - Used to save results.
getMysqlDbFeatures Result
The following output properties are available:
- Audit
Need boolUpgrade - Whether to enable auditing needs to upgrade the kernel version.
- Current
Sub stringVersion - Current kernel version.
- Encryption
Need boolUpgrade - Whether to enable encryption needs to upgrade the kernel version.
- Id string
- Instance
Id string - Is
Remote boolRo - Whether it is a remote read-only instance.
- Is
Support boolAudit - Whether to support the database audit function.
- Is
Support boolEncryption - Whether to support the database encryption function.
- Is
Support boolUpdate Sub Version - Whether to support minor version upgrades.
- Master
Region string - The region where the master instance is located.
- Target
Sub stringVersion - Available kernel versions for upgrade.
- Result
Output stringFile
- Audit
Need boolUpgrade - Whether to enable auditing needs to upgrade the kernel version.
- Current
Sub stringVersion - Current kernel version.
- Encryption
Need boolUpgrade - Whether to enable encryption needs to upgrade the kernel version.
- Id string
- Instance
Id string - Is
Remote boolRo - Whether it is a remote read-only instance.
- Is
Support boolAudit - Whether to support the database audit function.
- Is
Support boolEncryption - Whether to support the database encryption function.
- Is
Support boolUpdate Sub Version - Whether to support minor version upgrades.
- Master
Region string - The region where the master instance is located.
- Target
Sub stringVersion - Available kernel versions for upgrade.
- Result
Output stringFile
- audit
Need BooleanUpgrade - Whether to enable auditing needs to upgrade the kernel version.
- current
Sub StringVersion - Current kernel version.
- encryption
Need BooleanUpgrade - Whether to enable encryption needs to upgrade the kernel version.
- id String
- instance
Id String - is
Remote BooleanRo - Whether it is a remote read-only instance.
- is
Support BooleanAudit - Whether to support the database audit function.
- is
Support BooleanEncryption - Whether to support the database encryption function.
- is
Support BooleanUpdate Sub Version - Whether to support minor version upgrades.
- master
Region String - The region where the master instance is located.
- target
Sub StringVersion - Available kernel versions for upgrade.
- result
Output StringFile
- audit
Need booleanUpgrade - Whether to enable auditing needs to upgrade the kernel version.
- current
Sub stringVersion - Current kernel version.
- encryption
Need booleanUpgrade - Whether to enable encryption needs to upgrade the kernel version.
- id string
- instance
Id string - is
Remote booleanRo - Whether it is a remote read-only instance.
- is
Support booleanAudit - Whether to support the database audit function.
- is
Support booleanEncryption - Whether to support the database encryption function.
- is
Support booleanUpdate Sub Version - Whether to support minor version upgrades.
- master
Region string - The region where the master instance is located.
- target
Sub stringVersion - Available kernel versions for upgrade.
- result
Output stringFile
- audit_
need_ boolupgrade - Whether to enable auditing needs to upgrade the kernel version.
- current_
sub_ strversion - Current kernel version.
- encryption_
need_ boolupgrade - Whether to enable encryption needs to upgrade the kernel version.
- id str
- instance_
id str - is_
remote_ boolro - Whether it is a remote read-only instance.
- is_
support_ boolaudit - Whether to support the database audit function.
- is_
support_ boolencryption - Whether to support the database encryption function.
- is_
support_ boolupdate_ sub_ version - Whether to support minor version upgrades.
- master_
region str - The region where the master instance is located.
- target_
sub_ strversion - Available kernel versions for upgrade.
- result_
output_ strfile
- audit
Need BooleanUpgrade - Whether to enable auditing needs to upgrade the kernel version.
- current
Sub StringVersion - Current kernel version.
- encryption
Need BooleanUpgrade - Whether to enable encryption needs to upgrade the kernel version.
- id String
- instance
Id String - is
Remote BooleanRo - Whether it is a remote read-only instance.
- is
Support BooleanAudit - Whether to support the database audit function.
- is
Support BooleanEncryption - Whether to support the database encryption function.
- is
Support BooleanUpdate Sub Version - Whether to support minor version upgrades.
- master
Region String - The region where the master instance is located.
- target
Sub StringVersion - Available kernel versions for upgrade.
- result
Output StringFile
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloudTerraform Provider.
tencentcloud 1.82.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack
