ibm 1.85.0-beta0 published on Wednesday, Oct 29, 2025 by ibm-cloud
ibm.getCisCustomCertificates
Retrieve information of an existing IBM Cloud Internet Services custom certificates resource. For more information about CIS certificate order, refer to upload custom certificates.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const customCertificates = ibm.getCisCustomCertificates({
cisId: data.ibm_cis.cis.id,
domainId: data.ibm_cis_domain.cis_domain.domain_id,
});
import pulumi
import pulumi_ibm as ibm
custom_certificates = ibm.get_cis_custom_certificates(cis_id=data["ibm_cis"]["cis"]["id"],
domain_id=data["ibm_cis_domain"]["cis_domain"]["domain_id"])
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ibm.GetCisCustomCertificates(ctx, &ibm.GetCisCustomCertificatesArgs{
CisId: data.Ibm_cis.Cis.Id,
DomainId: data.Ibm_cis_domain.Cis_domain.Domain_id,
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ibm = Pulumi.Ibm;
return await Deployment.RunAsync(() =>
{
var customCertificates = Ibm.GetCisCustomCertificates.Invoke(new()
{
CisId = data.Ibm_cis.Cis.Id,
DomainId = data.Ibm_cis_domain.Cis_domain.Domain_id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.IbmFunctions;
import com.pulumi.ibm.inputs.GetCisCustomCertificatesArgs;
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 customCertificates = IbmFunctions.getCisCustomCertificates(GetCisCustomCertificatesArgs.builder()
.cisId(data.ibm_cis().cis().id())
.domainId(data.ibm_cis_domain().cis_domain().domain_id())
.build());
}
}
variables:
customCertificates:
fn::invoke:
function: ibm:getCisCustomCertificates
arguments:
cisId: ${data.ibm_cis.cis.id}
domainId: ${data.ibm_cis_domain.cis_domain.domain_id}
Using getCisCustomCertificates
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 getCisCustomCertificates(args: GetCisCustomCertificatesArgs, opts?: InvokeOptions): Promise<GetCisCustomCertificatesResult>
function getCisCustomCertificatesOutput(args: GetCisCustomCertificatesOutputArgs, opts?: InvokeOptions): Output<GetCisCustomCertificatesResult>def get_cis_custom_certificates(cis_id: Optional[str] = None,
domain_id: Optional[str] = None,
id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCisCustomCertificatesResult
def get_cis_custom_certificates_output(cis_id: Optional[pulumi.Input[str]] = None,
domain_id: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCisCustomCertificatesResult]func GetCisCustomCertificates(ctx *Context, args *GetCisCustomCertificatesArgs, opts ...InvokeOption) (*GetCisCustomCertificatesResult, error)
func GetCisCustomCertificatesOutput(ctx *Context, args *GetCisCustomCertificatesOutputArgs, opts ...InvokeOption) GetCisCustomCertificatesResultOutput> Note: This function is named GetCisCustomCertificates in the Go SDK.
public static class GetCisCustomCertificates
{
public static Task<GetCisCustomCertificatesResult> InvokeAsync(GetCisCustomCertificatesArgs args, InvokeOptions? opts = null)
public static Output<GetCisCustomCertificatesResult> Invoke(GetCisCustomCertificatesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetCisCustomCertificatesResult> getCisCustomCertificates(GetCisCustomCertificatesArgs args, InvokeOptions options)
public static Output<GetCisCustomCertificatesResult> getCisCustomCertificates(GetCisCustomCertificatesArgs args, InvokeOptions options)
fn::invoke:
function: ibm:index/getCisCustomCertificates:getCisCustomCertificates
arguments:
# arguments dictionaryThe following arguments are supported:
getCisCustomCertificates Result
The following output properties are available:
- Cis
Id string - Custom
Certificates List<GetCis Custom Certificates Custom Certificate> - Domain
Id string - Id string
- Cis
Id string - Custom
Certificates []GetCis Custom Certificates Custom Certificate - Domain
Id string - Id string
- cis
Id String - custom
Certificates List<GetCis Custom Certificates Custom Certificate> - domain
Id String - id String
- cis
Id string - custom
Certificates GetCis Custom Certificates Custom Certificate[] - domain
Id string - id string
- cis
Id String - custom
Certificates List<Property Map> - domain
Id String - id String
Supporting Types
GetCisCustomCertificatesCustomCertificate
- Bundle
Method string - The custom certificate bundle method.
- Custom
Cert stringId - The custom certificate ID.
- Expires
On string - The expiry date and time of the certificate.
- Hosts List<string>
- The list of hosts that are uploaded in a certificate.
- Id string
- It is a combination of
<custom_cert_id>:<domain_id>:<cis_id>. - Issuer string
- The custom certificate issuer.
- Modified
On string - The modified date and time of the certificate.
- Priority double
- The custom certificate priority.
- Signature string
- The custom certificate signature.
- Status string
- The custom certificate status.
- Uploaded
On string - The uploaded date and time of the certificate.
- Bundle
Method string - The custom certificate bundle method.
- Custom
Cert stringId - The custom certificate ID.
- Expires
On string - The expiry date and time of the certificate.
- Hosts []string
- The list of hosts that are uploaded in a certificate.
- Id string
- It is a combination of
<custom_cert_id>:<domain_id>:<cis_id>. - Issuer string
- The custom certificate issuer.
- Modified
On string - The modified date and time of the certificate.
- Priority float64
- The custom certificate priority.
- Signature string
- The custom certificate signature.
- Status string
- The custom certificate status.
- Uploaded
On string - The uploaded date and time of the certificate.
- bundle
Method String - The custom certificate bundle method.
- custom
Cert StringId - The custom certificate ID.
- expires
On String - The expiry date and time of the certificate.
- hosts List<String>
- The list of hosts that are uploaded in a certificate.
- id String
- It is a combination of
<custom_cert_id>:<domain_id>:<cis_id>. - issuer String
- The custom certificate issuer.
- modified
On String - The modified date and time of the certificate.
- priority Double
- The custom certificate priority.
- signature String
- The custom certificate signature.
- status String
- The custom certificate status.
- uploaded
On String - The uploaded date and time of the certificate.
- bundle
Method string - The custom certificate bundle method.
- custom
Cert stringId - The custom certificate ID.
- expires
On string - The expiry date and time of the certificate.
- hosts string[]
- The list of hosts that are uploaded in a certificate.
- id string
- It is a combination of
<custom_cert_id>:<domain_id>:<cis_id>. - issuer string
- The custom certificate issuer.
- modified
On string - The modified date and time of the certificate.
- priority number
- The custom certificate priority.
- signature string
- The custom certificate signature.
- status string
- The custom certificate status.
- uploaded
On string - The uploaded date and time of the certificate.
- bundle_
method str - The custom certificate bundle method.
- custom_
cert_ strid - The custom certificate ID.
- expires_
on str - The expiry date and time of the certificate.
- hosts Sequence[str]
- The list of hosts that are uploaded in a certificate.
- id str
- It is a combination of
<custom_cert_id>:<domain_id>:<cis_id>. - issuer str
- The custom certificate issuer.
- modified_
on str - The modified date and time of the certificate.
- priority float
- The custom certificate priority.
- signature str
- The custom certificate signature.
- status str
- The custom certificate status.
- uploaded_
on str - The uploaded date and time of the certificate.
- bundle
Method String - The custom certificate bundle method.
- custom
Cert StringId - The custom certificate ID.
- expires
On String - The expiry date and time of the certificate.
- hosts List<String>
- The list of hosts that are uploaded in a certificate.
- id String
- It is a combination of
<custom_cert_id>:<domain_id>:<cis_id>. - issuer String
- The custom certificate issuer.
- modified
On String - The modified date and time of the certificate.
- priority Number
- The custom certificate priority.
- signature String
- The custom certificate signature.
- status String
- The custom certificate status.
- uploaded
On String - The uploaded date and time of the certificate.
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibmTerraform Provider.
