ibm 1.85.0-beta0 published on Wednesday, Oct 29, 2025 by ibm-cloud
ibm.getCisCertificates
Retrieve an information of an existing IBM Cloud Internet Services certificates resource. For more information about CIS certificate order, refer to managing origin certificates.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const test = ibm.getCisCertificates({
cisId: ibm_cis.instance.id,
domainId: ibm_cis_domain.example.id,
});
import pulumi
import pulumi_ibm as ibm
test = ibm.get_cis_certificates(cis_id=ibm_cis["instance"]["id"],
domain_id=ibm_cis_domain["example"]["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.GetCisCertificates(ctx, &ibm.GetCisCertificatesArgs{
CisId: ibm_cis.Instance.Id,
DomainId: ibm_cis_domain.Example.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 test = Ibm.GetCisCertificates.Invoke(new()
{
CisId = ibm_cis.Instance.Id,
DomainId = ibm_cis_domain.Example.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.GetCisCertificatesArgs;
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 test = IbmFunctions.getCisCertificates(GetCisCertificatesArgs.builder()
.cisId(ibm_cis.instance().id())
.domainId(ibm_cis_domain.example().id())
.build());
}
}
variables:
test:
fn::invoke:
function: ibm:getCisCertificates
arguments:
cisId: ${ibm_cis.instance.id}
domainId: ${ibm_cis_domain.example.id}
Using getCisCertificates
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 getCisCertificates(args: GetCisCertificatesArgs, opts?: InvokeOptions): Promise<GetCisCertificatesResult>
function getCisCertificatesOutput(args: GetCisCertificatesOutputArgs, opts?: InvokeOptions): Output<GetCisCertificatesResult>def get_cis_certificates(cis_id: Optional[str] = None,
domain_id: Optional[str] = None,
id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCisCertificatesResult
def get_cis_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[GetCisCertificatesResult]func GetCisCertificates(ctx *Context, args *GetCisCertificatesArgs, opts ...InvokeOption) (*GetCisCertificatesResult, error)
func GetCisCertificatesOutput(ctx *Context, args *GetCisCertificatesOutputArgs, opts ...InvokeOption) GetCisCertificatesResultOutput> Note: This function is named GetCisCertificates in the Go SDK.
public static class GetCisCertificates
{
public static Task<GetCisCertificatesResult> InvokeAsync(GetCisCertificatesArgs args, InvokeOptions? opts = null)
public static Output<GetCisCertificatesResult> Invoke(GetCisCertificatesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetCisCertificatesResult> getCisCertificates(GetCisCertificatesArgs args, InvokeOptions options)
public static Output<GetCisCertificatesResult> getCisCertificates(GetCisCertificatesArgs args, InvokeOptions options)
fn::invoke:
function: ibm:index/getCisCertificates:getCisCertificates
arguments:
# arguments dictionaryThe following arguments are supported:
getCisCertificates Result
The following output properties are available:
- Certificates
List<Get
Cis Certificates Certificate> - (List) The list of certificates associated with the ordered certificate.
- Cis
Id string - Domain
Id string - Id string
- (String) It is a combination of
<certificate_id>:<domain_id>:<cis_id>.
- Certificates
[]Get
Cis Certificates Certificate - (List) The list of certificates associated with the ordered certificate.
- Cis
Id string - Domain
Id string - Id string
- (String) It is a combination of
<certificate_id>:<domain_id>:<cis_id>.
- certificates
List<Get
Cis Certificates Certificate> - (List) The list of certificates associated with the ordered certificate.
- cis
Id String - domain
Id String - id String
- (String) It is a combination of
<certificate_id>:<domain_id>:<cis_id>.
- certificates
Get
Cis Certificates Certificate[] - (List) The list of certificates associated with the ordered certificate.
- cis
Id string - domain
Id string - id string
- (String) It is a combination of
<certificate_id>:<domain_id>:<cis_id>.
- certificates
Sequence[Get
Cis Certificates Certificate] - (List) The list of certificates associated with the ordered certificate.
- cis_
id str - domain_
id str - id str
- (String) It is a combination of
<certificate_id>:<domain_id>:<cis_id>.
- certificates List<Property Map>
- (List) The list of certificates associated with the ordered certificate.
- cis
Id String - domain
Id String - id String
- (String) It is a combination of
<certificate_id>:<domain_id>:<cis_id>.
Supporting Types
GetCisCertificatesCertificate
- Certificate
Id string - (String) The certificate ID.
- Certificates
List<Get
Cis Certificates Certificate Certificate> - (List) The list of certificates associated with the ordered certificate.
- Hosts List<string>
- (String) The hosts of the ordered certificates.
- Id string
- (String) It is a combination of
<certificate_id>:<domain_id>:<cis_id>. - Primary
Certificate string - Status string
- (String) The certificate status.
- Type string
- (String) The certificate type.
- Certificate
Id string - (String) The certificate ID.
- Certificates
[]Get
Cis Certificates Certificate Certificate - (List) The list of certificates associated with the ordered certificate.
- Hosts []string
- (String) The hosts of the ordered certificates.
- Id string
- (String) It is a combination of
<certificate_id>:<domain_id>:<cis_id>. - Primary
Certificate string - Status string
- (String) The certificate status.
- Type string
- (String) The certificate type.
- certificate
Id String - (String) The certificate ID.
- certificates
List<Get
Cis Certificates Certificate Certificate> - (List) The list of certificates associated with the ordered certificate.
- hosts List<String>
- (String) The hosts of the ordered certificates.
- id String
- (String) It is a combination of
<certificate_id>:<domain_id>:<cis_id>. - primary
Certificate String - status String
- (String) The certificate status.
- type String
- (String) The certificate type.
- certificate
Id string - (String) The certificate ID.
- certificates
Get
Cis Certificates Certificate Certificate[] - (List) The list of certificates associated with the ordered certificate.
- hosts string[]
- (String) The hosts of the ordered certificates.
- id string
- (String) It is a combination of
<certificate_id>:<domain_id>:<cis_id>. - primary
Certificate string - status string
- (String) The certificate status.
- type string
- (String) The certificate type.
- certificate_
id str - (String) The certificate ID.
- certificates
Sequence[Get
Cis Certificates Certificate Certificate] - (List) The list of certificates associated with the ordered certificate.
- hosts Sequence[str]
- (String) The hosts of the ordered certificates.
- id str
- (String) It is a combination of
<certificate_id>:<domain_id>:<cis_id>. - primary_
certificate str - status str
- (String) The certificate status.
- type str
- (String) The certificate type.
- certificate
Id String - (String) The certificate ID.
- certificates List<Property Map>
- (List) The list of certificates associated with the ordered certificate.
- hosts List<String>
- (String) The hosts of the ordered certificates.
- id String
- (String) It is a combination of
<certificate_id>:<domain_id>:<cis_id>. - primary
Certificate String - status String
- (String) The certificate status.
- type String
- (String) The certificate type.
GetCisCertificatesCertificateCertificate
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibmTerraform Provider.
