tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
tencentcloud.getCynosdbBinlogDownloadUrl
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 cynosdb binlog_download_url
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const binlogDownloadUrl = tencentcloud.getCynosdbBinlogDownloadUrl({
binlogId: 6202249,
clusterId: "cynosdbmysql-bws8h88b",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
binlog_download_url = tencentcloud.get_cynosdb_binlog_download_url(binlog_id=6202249,
cluster_id="cynosdbmysql-bws8h88b")
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.GetCynosdbBinlogDownloadUrl(ctx, &tencentcloud.GetCynosdbBinlogDownloadUrlArgs{
BinlogId: 6202249,
ClusterId: "cynosdbmysql-bws8h88b",
}, 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 binlogDownloadUrl = Tencentcloud.GetCynosdbBinlogDownloadUrl.Invoke(new()
{
BinlogId = 6202249,
ClusterId = "cynosdbmysql-bws8h88b",
});
});
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.GetCynosdbBinlogDownloadUrlArgs;
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 binlogDownloadUrl = TencentcloudFunctions.getCynosdbBinlogDownloadUrl(GetCynosdbBinlogDownloadUrlArgs.builder()
.binlogId(6202249)
.clusterId("cynosdbmysql-bws8h88b")
.build());
}
}
variables:
binlogDownloadUrl:
fn::invoke:
function: tencentcloud:getCynosdbBinlogDownloadUrl
arguments:
binlogId: 6.202249e+06
clusterId: cynosdbmysql-bws8h88b
Using getCynosdbBinlogDownloadUrl
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 getCynosdbBinlogDownloadUrl(args: GetCynosdbBinlogDownloadUrlArgs, opts?: InvokeOptions): Promise<GetCynosdbBinlogDownloadUrlResult>
function getCynosdbBinlogDownloadUrlOutput(args: GetCynosdbBinlogDownloadUrlOutputArgs, opts?: InvokeOptions): Output<GetCynosdbBinlogDownloadUrlResult>
def get_cynosdb_binlog_download_url(binlog_id: Optional[float] = None,
cluster_id: Optional[str] = None,
id: Optional[str] = None,
result_output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCynosdbBinlogDownloadUrlResult
def get_cynosdb_binlog_download_url_output(binlog_id: Optional[pulumi.Input[float]] = None,
cluster_id: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCynosdbBinlogDownloadUrlResult]
func GetCynosdbBinlogDownloadUrl(ctx *Context, args *GetCynosdbBinlogDownloadUrlArgs, opts ...InvokeOption) (*GetCynosdbBinlogDownloadUrlResult, error)
func GetCynosdbBinlogDownloadUrlOutput(ctx *Context, args *GetCynosdbBinlogDownloadUrlOutputArgs, opts ...InvokeOption) GetCynosdbBinlogDownloadUrlResultOutput
> Note: This function is named GetCynosdbBinlogDownloadUrl
in the Go SDK.
public static class GetCynosdbBinlogDownloadUrl
{
public static Task<GetCynosdbBinlogDownloadUrlResult> InvokeAsync(GetCynosdbBinlogDownloadUrlArgs args, InvokeOptions? opts = null)
public static Output<GetCynosdbBinlogDownloadUrlResult> Invoke(GetCynosdbBinlogDownloadUrlInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetCynosdbBinlogDownloadUrlResult> getCynosdbBinlogDownloadUrl(GetCynosdbBinlogDownloadUrlArgs args, InvokeOptions options)
public static Output<GetCynosdbBinlogDownloadUrlResult> getCynosdbBinlogDownloadUrl(GetCynosdbBinlogDownloadUrlArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getCynosdbBinlogDownloadUrl:getCynosdbBinlogDownloadUrl
arguments:
# arguments dictionary
The following arguments are supported:
- Binlog
Id double - Binlog file ID.
- Cluster
Id string - Cluster ID.
- Id string
- Result
Output stringFile - Used to save results.
- Binlog
Id float64 - Binlog file ID.
- Cluster
Id string - Cluster ID.
- Id string
- Result
Output stringFile - Used to save results.
- binlog
Id Double - Binlog file ID.
- cluster
Id String - Cluster ID.
- id String
- result
Output StringFile - Used to save results.
- binlog
Id number - Binlog file ID.
- cluster
Id string - Cluster ID.
- id string
- result
Output stringFile - Used to save results.
- binlog_
id float - Binlog file ID.
- cluster_
id str - Cluster ID.
- id str
- result_
output_ strfile - Used to save results.
- binlog
Id Number - Binlog file ID.
- cluster
Id String - Cluster ID.
- id String
- result
Output StringFile - Used to save results.
getCynosdbBinlogDownloadUrl Result
The following output properties are available:
- Binlog
Id double - Cluster
Id string - Download
Url string - Download address.
- Id string
- Result
Output stringFile
- Binlog
Id float64 - Cluster
Id string - Download
Url string - Download address.
- Id string
- Result
Output stringFile
- binlog
Id Double - cluster
Id String - download
Url String - Download address.
- id String
- result
Output StringFile
- binlog
Id number - cluster
Id string - download
Url string - Download address.
- id string
- result
Output stringFile
- binlog_
id float - cluster_
id str - download_
url str - Download address.
- id str
- result_
output_ strfile
- binlog
Id Number - cluster
Id String - download
Url String - Download address.
- id String
- result
Output StringFile
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