ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud
ibm.getCisOriginCertificates
Explore with Pulumi AI
Retrieve the information of an existing IBM Cloud Internet Services certificates resource. For more information about CIS origin certificates, refer to managing origin certificates.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const test = ibm.getCisOriginCertificates({
cisId: ibm_cis.instance.id,
domainId: ibm_cis_domain.example.id,
certificateId: "25392180178235735583993116186144990011711092749",
});
import pulumi
import pulumi_ibm as ibm
test = ibm.get_cis_origin_certificates(cis_id=ibm_cis["instance"]["id"],
domain_id=ibm_cis_domain["example"]["id"],
certificate_id="25392180178235735583993116186144990011711092749")
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.GetCisOriginCertificates(ctx, &ibm.GetCisOriginCertificatesArgs{
CisId: ibm_cis.Instance.Id,
DomainId: ibm_cis_domain.Example.Id,
CertificateId: pulumi.StringRef("25392180178235735583993116186144990011711092749"),
}, 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.GetCisOriginCertificates.Invoke(new()
{
CisId = ibm_cis.Instance.Id,
DomainId = ibm_cis_domain.Example.Id,
CertificateId = "25392180178235735583993116186144990011711092749",
});
});
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.GetCisOriginCertificatesArgs;
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.getCisOriginCertificates(GetCisOriginCertificatesArgs.builder()
.cisId(ibm_cis.instance().id())
.domainId(ibm_cis_domain.example().id())
.certificateId("25392180178235735583993116186144990011711092749")
.build());
}
}
variables:
test:
fn::invoke:
function: ibm:getCisOriginCertificates
arguments:
cisId: ${ibm_cis.instance.id}
domainId: ${ibm_cis_domain.example.id}
certificateId: 25392180178235735583993116186144990011711092749
Using getCisOriginCertificates
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 getCisOriginCertificates(args: GetCisOriginCertificatesArgs, opts?: InvokeOptions): Promise<GetCisOriginCertificatesResult>
function getCisOriginCertificatesOutput(args: GetCisOriginCertificatesOutputArgs, opts?: InvokeOptions): Output<GetCisOriginCertificatesResult>
def get_cis_origin_certificates(certificate_id: Optional[str] = None,
cis_id: Optional[str] = None,
domain_id: Optional[str] = None,
id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCisOriginCertificatesResult
def get_cis_origin_certificates_output(certificate_id: Optional[pulumi.Input[str]] = None,
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[GetCisOriginCertificatesResult]
func GetCisOriginCertificates(ctx *Context, args *GetCisOriginCertificatesArgs, opts ...InvokeOption) (*GetCisOriginCertificatesResult, error)
func GetCisOriginCertificatesOutput(ctx *Context, args *GetCisOriginCertificatesOutputArgs, opts ...InvokeOption) GetCisOriginCertificatesResultOutput
> Note: This function is named GetCisOriginCertificates
in the Go SDK.
public static class GetCisOriginCertificates
{
public static Task<GetCisOriginCertificatesResult> InvokeAsync(GetCisOriginCertificatesArgs args, InvokeOptions? opts = null)
public static Output<GetCisOriginCertificatesResult> Invoke(GetCisOriginCertificatesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetCisOriginCertificatesResult> getCisOriginCertificates(GetCisOriginCertificatesArgs args, InvokeOptions options)
public static Output<GetCisOriginCertificatesResult> getCisOriginCertificates(GetCisOriginCertificatesArgs args, InvokeOptions options)
fn::invoke:
function: ibm:index/getCisOriginCertificates:getCisOriginCertificates
arguments:
# arguments dictionary
The following arguments are supported:
- Cis
Id string - The ID of the CIS instance.
- Domain
Id string - The ID of the domain.
- Certificate
Id string - The ID of the certificate. If the ID is not provided, you will get the list of certificates. If the ID is provided, then you will get the information of that certificate.
- Id string
- Cis
Id string - The ID of the CIS instance.
- Domain
Id string - The ID of the domain.
- Certificate
Id string - The ID of the certificate. If the ID is not provided, you will get the list of certificates. If the ID is provided, then you will get the information of that certificate.
- Id string
- cis
Id String - The ID of the CIS instance.
- domain
Id String - The ID of the domain.
- certificate
Id String - The ID of the certificate. If the ID is not provided, you will get the list of certificates. If the ID is provided, then you will get the information of that certificate.
- id String
- cis
Id string - The ID of the CIS instance.
- domain
Id string - The ID of the domain.
- certificate
Id string - The ID of the certificate. If the ID is not provided, you will get the list of certificates. If the ID is provided, then you will get the information of that certificate.
- id string
- cis_
id str - The ID of the CIS instance.
- domain_
id str - The ID of the domain.
- certificate_
id str - The ID of the certificate. If the ID is not provided, you will get the list of certificates. If the ID is provided, then you will get the information of that certificate.
- id str
- cis
Id String - The ID of the CIS instance.
- domain
Id String - The ID of the domain.
- certificate
Id String - The ID of the certificate. If the ID is not provided, you will get the list of certificates. If the ID is provided, then you will get the information of that certificate.
- id String
getCisOriginCertificates Result
The following output properties are available:
- Cis
Id string - Domain
Id string - Id string
- Origin
Certificate List<GetLists Cis Origin Certificates Origin Certificate List> - (String) The collection of the certificates.
- Certificate
Id string - (String) The certificate ID.
- Cis
Id string - Domain
Id string - Id string
- Origin
Certificate []GetLists Cis Origin Certificates Origin Certificate List - (String) The collection of the certificates.
- Certificate
Id string - (String) The certificate ID.
- cis
Id String - domain
Id String - id String
- origin
Certificate List<GetLists Cis Origin Certificates Origin Certificate List> - (String) The collection of the certificates.
- certificate
Id String - (String) The certificate ID.
- cis
Id string - domain
Id string - id string
- origin
Certificate GetLists Cis Origin Certificates Origin Certificate List[] - (String) The collection of the certificates.
- certificate
Id string - (String) The certificate ID.
- cis_
id str - domain_
id str - id str
- origin_
certificate_ Sequence[Getlists Cis Origin Certificates Origin Certificate List] - (String) The collection of the certificates.
- certificate_
id str - (String) The certificate ID.
- cis
Id String - domain
Id String - id String
- origin
Certificate List<Property Map>Lists - (String) The collection of the certificates.
- certificate
Id String - (String) The certificate ID.
Supporting Types
GetCisOriginCertificatesOriginCertificateList
- Certificate string
- (String) Certificate associated with the origin certificate.
- Certificate
Id string - The ID of the certificate. If the ID is not provided, you will get the list of certificates. If the ID is provided, then you will get the information of that certificate.
- Csr string
- Expires
On string - (String) Expiration date of the certificate.
- Hostnames List<string>
- (List[String]) The hosts associated with the certificate.
- Private
Key string - Request
Type string - (String) The type of the certificate.
- Requested
Validity double
- Certificate string
- (String) Certificate associated with the origin certificate.
- Certificate
Id string - The ID of the certificate. If the ID is not provided, you will get the list of certificates. If the ID is provided, then you will get the information of that certificate.
- Csr string
- Expires
On string - (String) Expiration date of the certificate.
- Hostnames []string
- (List[String]) The hosts associated with the certificate.
- Private
Key string - Request
Type string - (String) The type of the certificate.
- Requested
Validity float64
- certificate String
- (String) Certificate associated with the origin certificate.
- certificate
Id String - The ID of the certificate. If the ID is not provided, you will get the list of certificates. If the ID is provided, then you will get the information of that certificate.
- csr String
- expires
On String - (String) Expiration date of the certificate.
- hostnames List<String>
- (List[String]) The hosts associated with the certificate.
- private
Key String - request
Type String - (String) The type of the certificate.
- requested
Validity Double
- certificate string
- (String) Certificate associated with the origin certificate.
- certificate
Id string - The ID of the certificate. If the ID is not provided, you will get the list of certificates. If the ID is provided, then you will get the information of that certificate.
- csr string
- expires
On string - (String) Expiration date of the certificate.
- hostnames string[]
- (List[String]) The hosts associated with the certificate.
- private
Key string - request
Type string - (String) The type of the certificate.
- requested
Validity number
- certificate str
- (String) Certificate associated with the origin certificate.
- certificate_
id str - The ID of the certificate. If the ID is not provided, you will get the list of certificates. If the ID is provided, then you will get the information of that certificate.
- csr str
- expires_
on str - (String) Expiration date of the certificate.
- hostnames Sequence[str]
- (List[String]) The hosts associated with the certificate.
- private_
key str - request_
type str - (String) The type of the certificate.
- requested_
validity float
- certificate String
- (String) Certificate associated with the origin certificate.
- certificate
Id String - The ID of the certificate. If the ID is not provided, you will get the list of certificates. If the ID is provided, then you will get the information of that certificate.
- csr String
- expires
On String - (String) Expiration date of the certificate.
- hostnames List<String>
- (List[String]) The hosts associated with the certificate.
- private
Key String - request
Type String - (String) The type of the certificate.
- requested
Validity Number
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibm
Terraform Provider.