Viewing docs for ucloud 1.49.0
published on Tuesday, Oct 27, 2026 by ucloud
published on Tuesday, Oct 27, 2026 by ucloud
ucloud
Viewing docs for ucloud 1.49.0
published on Tuesday, Oct 27, 2026 by ucloud
published on Tuesday, Oct 27, 2026 by ucloud
This data source provides a list of MySQL parameter templates.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ucloud from "@pulumi/ucloud";
const example = ucloud.getUdbMysqlParameterTemplates({
dbVersion: "mysql-8.0",
});
import pulumi
import pulumi_ucloud as ucloud
example = ucloud.get_udb_mysql_parameter_templates(db_version="mysql-8.0")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/ucloud/ucloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ucloud.GetUdbMysqlParameterTemplates(ctx, &ucloud.GetUdbMysqlParameterTemplatesArgs{
DbVersion: pulumi.StringRef("mysql-8.0"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ucloud = Pulumi.Ucloud;
return await Deployment.RunAsync(() =>
{
var example = Ucloud.GetUdbMysqlParameterTemplates.Invoke(new()
{
DbVersion = "mysql-8.0",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ucloud.UcloudFunctions;
import com.pulumi.ucloud.inputs.GetUdbMysqlParameterTemplatesArgs;
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 example = UcloudFunctions.getUdbMysqlParameterTemplates(GetUdbMysqlParameterTemplatesArgs.builder()
.dbVersion("mysql-8.0")
.build());
}
}
variables:
example:
fn::invoke:
function: ucloud:getUdbMysqlParameterTemplates
arguments:
dbVersion: mysql-8.0
Example coming soon!
Using getUdbMysqlParameterTemplates
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 getUdbMysqlParameterTemplates(args: GetUdbMysqlParameterTemplatesArgs, opts?: InvokeOptions): Promise<GetUdbMysqlParameterTemplatesResult>
function getUdbMysqlParameterTemplatesOutput(args: GetUdbMysqlParameterTemplatesOutputArgs, opts?: InvokeOutputOptions): Output<GetUdbMysqlParameterTemplatesResult>def get_udb_mysql_parameter_templates(availability_zone: Optional[str] = None,
db_version: Optional[str] = None,
id: Optional[str] = None,
name_regex: Optional[str] = None,
output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetUdbMysqlParameterTemplatesResult
def get_udb_mysql_parameter_templates_output(availability_zone: pulumi.Input[Optional[str]] = None,
db_version: pulumi.Input[Optional[str]] = None,
id: pulumi.Input[Optional[str]] = None,
name_regex: pulumi.Input[Optional[str]] = None,
output_file: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetUdbMysqlParameterTemplatesResult]func GetUdbMysqlParameterTemplates(ctx *Context, args *GetUdbMysqlParameterTemplatesArgs, opts ...InvokeOption) (*GetUdbMysqlParameterTemplatesResult, error)
func GetUdbMysqlParameterTemplatesOutput(ctx *Context, args *GetUdbMysqlParameterTemplatesOutputArgs, opts ...InvokeOption) GetUdbMysqlParameterTemplatesResultOutput> Note: This function is named GetUdbMysqlParameterTemplates in the Go SDK.
public static class GetUdbMysqlParameterTemplates
{
public static Task<GetUdbMysqlParameterTemplatesResult> InvokeAsync(GetUdbMysqlParameterTemplatesArgs args, InvokeOptions? opts = null)
public static Output<GetUdbMysqlParameterTemplatesResult> Invoke(GetUdbMysqlParameterTemplatesInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetUdbMysqlParameterTemplatesResult> Invoke(GetUdbMysqlParameterTemplatesInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetUdbMysqlParameterTemplatesResult> getUdbMysqlParameterTemplates(GetUdbMysqlParameterTemplatesArgs args, InvokeOptions options)
public static Output<GetUdbMysqlParameterTemplatesResult> getUdbMysqlParameterTemplates(GetUdbMysqlParameterTemplatesArgs args, InvokeOptions options)
public static Output<GetUdbMysqlParameterTemplatesResult> getUdbMysqlParameterTemplates(GetUdbMysqlParameterTemplatesArgs args, InvokeOutputOptions options)
fn::invoke:
function: ucloud:index/getUdbMysqlParameterTemplates:getUdbMysqlParameterTemplates
arguments:
# arguments dictionarydata "ucloud_get_udb_mysql_parameter_templates" "name" {
# arguments
}The following arguments are supported:
- Availability
Zone string - Availability zone where the parameter templates are located.
- Db
Version string - The database version to filter, e.g.
mysql-8.0. - Id string
- The ID of the parameter template.
- Name
Regex string - A regex string to filter resulting templates by name.
- Output
File string - File name where to save data source results (after running
pulumi preview).
- Availability
Zone string - Availability zone where the parameter templates are located.
- Db
Version string - The database version to filter, e.g.
mysql-8.0. - Id string
- The ID of the parameter template.
- Name
Regex string - A regex string to filter resulting templates by name.
- Output
File string - File name where to save data source results (after running
pulumi preview).
- availability_
zone string - Availability zone where the parameter templates are located.
- db_
version string - The database version to filter, e.g.
mysql-8.0. - id string
- The ID of the parameter template.
- name_
regex string - A regex string to filter resulting templates by name.
- output_
file string - File name where to save data source results (after running
pulumi preview).
- availability
Zone String - Availability zone where the parameter templates are located.
- db
Version String - The database version to filter, e.g.
mysql-8.0. - id String
- The ID of the parameter template.
- name
Regex String - A regex string to filter resulting templates by name.
- output
File String - File name where to save data source results (after running
pulumi preview).
- availability
Zone string - Availability zone where the parameter templates are located.
- db
Version string - The database version to filter, e.g.
mysql-8.0. - id string
- The ID of the parameter template.
- name
Regex string - A regex string to filter resulting templates by name.
- output
File string - File name where to save data source results (after running
pulumi preview).
- availability_
zone str - Availability zone where the parameter templates are located.
- db_
version str - The database version to filter, e.g.
mysql-8.0. - id str
- The ID of the parameter template.
- name_
regex str - A regex string to filter resulting templates by name.
- output_
file str - File name where to save data source results (after running
pulumi preview).
- availability
Zone String - Availability zone where the parameter templates are located.
- db
Version String - The database version to filter, e.g.
mysql-8.0. - id String
- The ID of the parameter template.
- name
Regex String - A regex string to filter resulting templates by name.
- output
File String - File name where to save data source results (after running
pulumi preview).
getUdbMysqlParameterTemplates Result
The following output properties are available:
- Id string
- The ID of the parameter template.
- Total
Count double - Total number of templates that satisfy the condition.
- Udb
Mysql List<GetParameter Templates Udb Mysql Parameter Templates Udb Mysql Parameter Template> - It is a nested type which documented below.
- Availability
Zone string - Db
Version string - Name
Regex string - Output
File string
- Id string
- The ID of the parameter template.
- Total
Count float64 - Total number of templates that satisfy the condition.
- Udb
Mysql []GetParameter Templates Udb Mysql Parameter Templates Udb Mysql Parameter Template - It is a nested type which documented below.
- Availability
Zone string - Db
Version string - Name
Regex string - Output
File string
- id string
- The ID of the parameter template.
- total_
count number - Total number of templates that satisfy the condition.
- udb_
mysql_ list(object)parameter_ templates - It is a nested type which documented below.
- availability_
zone string - db_
version string - name_
regex string - output_
file string
- id String
- The ID of the parameter template.
- total
Count Double - Total number of templates that satisfy the condition.
- udb
Mysql List<GetParameter Templates Udb Mysql Parameter Templates Udb Mysql Parameter Template> - It is a nested type which documented below.
- availability
Zone String - db
Version String - name
Regex String - output
File String
- id string
- The ID of the parameter template.
- total
Count number - Total number of templates that satisfy the condition.
- udb
Mysql GetParameter Templates Udb Mysql Parameter Templates Udb Mysql Parameter Template[] - It is a nested type which documented below.
- availability
Zone string - db
Version string - name
Regex string - output
File string
- id str
- The ID of the parameter template.
- total_
count float - Total number of templates that satisfy the condition.
- udb_
mysql_ Sequence[Getparameter_ templates Udb Mysql Parameter Templates Udb Mysql Parameter Template] - It is a nested type which documented below.
- availability_
zone str - db_
version str - name_
regex str - output_
file str
- id String
- The ID of the parameter template.
- total
Count Number - Total number of templates that satisfy the condition.
- udb
Mysql List<Property Map>Parameter Templates - It is a nested type which documented below.
- availability
Zone String - db
Version String - name
Regex String - output
File String
Supporting Types
GetUdbMysqlParameterTemplatesUdbMysqlParameterTemplate
Package Details
- Repository
- ucloud ucloud/terraform-provider-ucloud
- License
- Notes
- This Pulumi package is based on the
ucloudTerraform Provider.
ucloud
Viewing docs for ucloud 1.49.0
published on Tuesday, Oct 27, 2026 by ucloud
published on Tuesday, Oct 27, 2026 by ucloud