Volcengine v0.0.43 published on Friday, Jan 16, 2026 by Volcengine
Volcengine v0.0.43 published on Friday, Jan 16, 2026 by Volcengine
Deprecated: volcengine.rds_postgresql.InstanceSsls has been deprecated in favor of volcengine.rds_postgresql.getInstanceSsls
Use this data source to query detailed information of rds postgresql instance ssls
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const example = volcengine.rds_postgresql.getInstanceSsls({
downloadCertificate: true,
ids: [
"postgres-72715e0d9f58",
"postgres-0ac38a79fe35",
],
});
import pulumi
import pulumi_volcengine as volcengine
example = volcengine.rds_postgresql.get_instance_ssls(download_certificate=True,
ids=[
"postgres-72715e0d9f58",
"postgres-0ac38a79fe35",
])
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/rds_postgresql"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := rds_postgresql.GetInstanceSsls(ctx, &rds_postgresql.GetInstanceSslsArgs{
DownloadCertificate: pulumi.BoolRef(true),
Ids: []string{
"postgres-72715e0d9f58",
"postgres-0ac38a79fe35",
},
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;
return await Deployment.RunAsync(() =>
{
var example = Volcengine.Rds_postgresql.GetInstanceSsls.Invoke(new()
{
DownloadCertificate = true,
Ids = new[]
{
"postgres-72715e0d9f58",
"postgres-0ac38a79fe35",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.volcengine.rds_postgresql.Rds_postgresqlFunctions;
import com.pulumi.volcengine.rds_postgresql.inputs.GetInstanceSslsArgs;
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 = Rds_postgresqlFunctions.getInstanceSsls(GetInstanceSslsArgs.builder()
.downloadCertificate(true)
.ids(
"postgres-72715e0d9f58",
"postgres-0ac38a79fe35")
.build());
}
}
variables:
example:
fn::invoke:
Function: volcengine:rds_postgresql:getInstanceSsls
Arguments:
downloadCertificate: true
ids:
- postgres-72715e0d9f58
- postgres-0ac38a79fe35
Using InstanceSsls
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 instanceSsls(args: InstanceSslsArgs, opts?: InvokeOptions): Promise<InstanceSslsResult>
function instanceSslsOutput(args: InstanceSslsOutputArgs, opts?: InvokeOptions): Output<InstanceSslsResult>def instance_ssls(download_certificate: Optional[bool] = None,
ids: Optional[Sequence[str]] = None,
name_regex: Optional[str] = None,
output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> InstanceSslsResult
def instance_ssls_output(download_certificate: Optional[pulumi.Input[bool]] = None,
ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
name_regex: Optional[pulumi.Input[str]] = None,
output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[InstanceSslsResult]func InstanceSsls(ctx *Context, args *InstanceSslsArgs, opts ...InvokeOption) (*InstanceSslsResult, error)
func InstanceSslsOutput(ctx *Context, args *InstanceSslsOutputArgs, opts ...InvokeOption) InstanceSslsResultOutputpublic static class InstanceSsls
{
public static Task<InstanceSslsResult> InvokeAsync(InstanceSslsArgs args, InvokeOptions? opts = null)
public static Output<InstanceSslsResult> Invoke(InstanceSslsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<InstanceSslsResult> instanceSsls(InstanceSslsArgs args, InvokeOptions options)
public static Output<InstanceSslsResult> instanceSsls(InstanceSslsArgs args, InvokeOptions options)
fn::invoke:
function: volcengine:rds_postgresql:InstanceSsls
arguments:
# arguments dictionaryThe following arguments are supported:
- Ids List<string>
- A list of the PostgreSQL instance IDs.
- Download
Certificate bool - Whether to include SSL certificate raw bytes for each instance.
- Name
Regex string - A Name Regex of Resource.
- Output
File string - File name where to save data source results.
- Ids []string
- A list of the PostgreSQL instance IDs.
- Download
Certificate bool - Whether to include SSL certificate raw bytes for each instance.
- Name
Regex string - A Name Regex of Resource.
- Output
File string - File name where to save data source results.
- ids List<String>
- A list of the PostgreSQL instance IDs.
- download
Certificate Boolean - Whether to include SSL certificate raw bytes for each instance.
- name
Regex String - A Name Regex of Resource.
- output
File String - File name where to save data source results.
- ids string[]
- A list of the PostgreSQL instance IDs.
- download
Certificate boolean - Whether to include SSL certificate raw bytes for each instance.
- name
Regex string - A Name Regex of Resource.
- output
File string - File name where to save data source results.
- ids Sequence[str]
- A list of the PostgreSQL instance IDs.
- download_
certificate bool - Whether to include SSL certificate raw bytes for each instance.
- name_
regex str - A Name Regex of Resource.
- output_
file str - File name where to save data source results.
- ids List<String>
- A list of the PostgreSQL instance IDs.
- download
Certificate Boolean - Whether to include SSL certificate raw bytes for each instance.
- name
Regex String - A Name Regex of Resource.
- output
File String - File name where to save data source results.
InstanceSsls Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Ids List<string>
- Ssls
List<Instance
Ssls Ssl> - The collection of query.
- Total
Count int - The total count of query.
- Download
Certificate bool - Name
Regex string - Output
File string
- Id string
- The provider-assigned unique ID for this managed resource.
- Ids []string
- Ssls
[]Instance
Ssls Ssl - The collection of query.
- Total
Count int - The total count of query.
- Download
Certificate bool - Name
Regex string - Output
File string
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- ssls
List<Instance
Ssls Ssl> - The collection of query.
- total
Count Integer - The total count of query.
- download
Certificate Boolean - name
Regex String - output
File String
- id string
- The provider-assigned unique ID for this managed resource.
- ids string[]
- ssls
Instance
Ssls Ssl[] - The collection of query.
- total
Count number - The total count of query.
- download
Certificate boolean - name
Regex string - output
File string
- id str
- The provider-assigned unique ID for this managed resource.
- ids Sequence[str]
- ssls
Sequence[Instance
Ssls Ssl] - The collection of query.
- total_
count int - The total count of query.
- download_
certificate bool - name_
regex str - output_
file str
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- ssls List<Property Map>
- The collection of query.
- total
Count Number - The total count of query.
- download
Certificate Boolean - name
Regex String - output
File String
Supporting Types
InstanceSslsSsl
- Addresses List<string>
- The protected addresses.
- Certificates List<int>
- Raw byte stream array of certificate zip.
- Force
Encryption bool - Whether to force encryption.
- Instance
Id string - The id of the postgresql Instance.
- Is
Valid bool - Whether the SSL certificate is valid.
- Ssl
Enable bool - Whether to enable SSL.
- Ssl
Expire stringTime - The expiration time of the SSL certificate. The format is: yyyy-MM-ddTHH:mm:ss(UTC time).
- Tls
Versions List<string> - The supported TLS versions.
- Addresses []string
- The protected addresses.
- Certificates []int
- Raw byte stream array of certificate zip.
- Force
Encryption bool - Whether to force encryption.
- Instance
Id string - The id of the postgresql Instance.
- Is
Valid bool - Whether the SSL certificate is valid.
- Ssl
Enable bool - Whether to enable SSL.
- Ssl
Expire stringTime - The expiration time of the SSL certificate. The format is: yyyy-MM-ddTHH:mm:ss(UTC time).
- Tls
Versions []string - The supported TLS versions.
- addresses List<String>
- The protected addresses.
- certificates List<Integer>
- Raw byte stream array of certificate zip.
- force
Encryption Boolean - Whether to force encryption.
- instance
Id String - The id of the postgresql Instance.
- is
Valid Boolean - Whether the SSL certificate is valid.
- ssl
Enable Boolean - Whether to enable SSL.
- ssl
Expire StringTime - The expiration time of the SSL certificate. The format is: yyyy-MM-ddTHH:mm:ss(UTC time).
- tls
Versions List<String> - The supported TLS versions.
- addresses string[]
- The protected addresses.
- certificates number[]
- Raw byte stream array of certificate zip.
- force
Encryption boolean - Whether to force encryption.
- instance
Id string - The id of the postgresql Instance.
- is
Valid boolean - Whether the SSL certificate is valid.
- ssl
Enable boolean - Whether to enable SSL.
- ssl
Expire stringTime - The expiration time of the SSL certificate. The format is: yyyy-MM-ddTHH:mm:ss(UTC time).
- tls
Versions string[] - The supported TLS versions.
- addresses Sequence[str]
- The protected addresses.
- certificates Sequence[int]
- Raw byte stream array of certificate zip.
- force_
encryption bool - Whether to force encryption.
- instance_
id str - The id of the postgresql Instance.
- is_
valid bool - Whether the SSL certificate is valid.
- ssl_
enable bool - Whether to enable SSL.
- ssl_
expire_ strtime - The expiration time of the SSL certificate. The format is: yyyy-MM-ddTHH:mm:ss(UTC time).
- tls_
versions Sequence[str] - The supported TLS versions.
- addresses List<String>
- The protected addresses.
- certificates List<Number>
- Raw byte stream array of certificate zip.
- force
Encryption Boolean - Whether to force encryption.
- instance
Id String - The id of the postgresql Instance.
- is
Valid Boolean - Whether the SSL certificate is valid.
- ssl
Enable Boolean - Whether to enable SSL.
- ssl
Expire StringTime - The expiration time of the SSL certificate. The format is: yyyy-MM-ddTHH:mm:ss(UTC time).
- tls
Versions List<String> - The supported TLS versions.
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengineTerraform Provider.
Volcengine v0.0.43 published on Friday, Jan 16, 2026 by Volcengine
