oci logo
Oracle Cloud Infrastructure v0.20.0, May 31 23

oci.CertificatesManagement.getCaBundle

Explore with Pulumi AI

This data source provides details about a specific Ca Bundle resource in Oracle Cloud Infrastructure Certificates Management service.

Gets details about the specified CA bundle.

Example Usage

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testCaBundle = Oci.CertificatesManagement.GetCaBundle.Invoke(new()
    {
        CaBundleId = oci_certificates_management_ca_bundle.Test_ca_bundle.Id,
    });

});
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/go/oci/CertificatesManagement"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := CertificatesManagement.GetCaBundle(ctx, &certificatesmanagement.GetCaBundleArgs{
			CaBundleId: oci_certificates_management_ca_bundle.Test_ca_bundle.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.CertificatesManagement.CertificatesManagementFunctions;
import com.pulumi.oci.CertificatesManagement.inputs.GetCaBundleArgs;
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 testCaBundle = CertificatesManagementFunctions.getCaBundle(GetCaBundleArgs.builder()
            .caBundleId(oci_certificates_management_ca_bundle.test_ca_bundle().id())
            .build());

    }
}
import pulumi
import pulumi_oci as oci

test_ca_bundle = oci.CertificatesManagement.get_ca_bundle(ca_bundle_id=%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testCaBundle = oci.CertificatesManagement.getCaBundle({
    caBundleId: oci_certificates_management_ca_bundle.test_ca_bundle.id,
});
variables:
  testCaBundle:
    fn::invoke:
      Function: oci:CertificatesManagement:getCaBundle
      Arguments:
        caBundleId: ${oci_certificates_management_ca_bundle.test_ca_bundle.id}

Using getCaBundle

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 getCaBundle(args: GetCaBundleArgs, opts?: InvokeOptions): Promise<GetCaBundleResult>
function getCaBundleOutput(args: GetCaBundleOutputArgs, opts?: InvokeOptions): Output<GetCaBundleResult>
def get_ca_bundle(ca_bundle_id: Optional[str] = None,
                  opts: Optional[InvokeOptions] = None) -> GetCaBundleResult
def get_ca_bundle_output(ca_bundle_id: Optional[pulumi.Input[str]] = None,
                  opts: Optional[InvokeOptions] = None) -> Output[GetCaBundleResult]
func GetCaBundle(ctx *Context, args *GetCaBundleArgs, opts ...InvokeOption) (*GetCaBundleResult, error)
func GetCaBundleOutput(ctx *Context, args *GetCaBundleOutputArgs, opts ...InvokeOption) GetCaBundleResultOutput

> Note: This function is named GetCaBundle in the Go SDK.

public static class GetCaBundle 
{
    public static Task<GetCaBundleResult> InvokeAsync(GetCaBundleArgs args, InvokeOptions? opts = null)
    public static Output<GetCaBundleResult> Invoke(GetCaBundleInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetCaBundleResult> getCaBundle(GetCaBundleArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: oci:CertificatesManagement/getCaBundle:getCaBundle
  arguments:
    # arguments dictionary

The following arguments are supported:

CaBundleId string

The OCID of the CA bundle.

CaBundleId string

The OCID of the CA bundle.

caBundleId String

The OCID of the CA bundle.

caBundleId string

The OCID of the CA bundle.

ca_bundle_id str

The OCID of the CA bundle.

caBundleId String

The OCID of the CA bundle.

getCaBundle Result

The following output properties are available:

CaBundleId string
CaBundlePem string
CompartmentId string

The OCID of the compartment for the CA bundle.

DefinedTags Dictionary<string, object>

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}

Description string

A brief description of the CA bundle.

FreeformTags Dictionary<string, object>

Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

Id string

The OCID of the CA bundle.

LifecycleDetails string

Additional information about the current lifecycle state of the CA bundle.

Name string

A user-friendly name for the CA bundle. Names are unique within a compartment. Avoid entering confidential information. Valid characters include uppercase or lowercase letters, numbers, hyphens, underscores, and periods.

State string

The current lifecycle state of the CA bundle.

TimeCreated string

A property indicating when the CA bundle was created, expressed in RFC 3339 timestamp format. Example: 2019-04-03T21:10:29.600Z

CaBundleId string
CaBundlePem string
CompartmentId string

The OCID of the compartment for the CA bundle.

DefinedTags map[string]interface{}

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}

Description string

A brief description of the CA bundle.

FreeformTags map[string]interface{}

Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

Id string

The OCID of the CA bundle.

LifecycleDetails string

Additional information about the current lifecycle state of the CA bundle.

Name string

A user-friendly name for the CA bundle. Names are unique within a compartment. Avoid entering confidential information. Valid characters include uppercase or lowercase letters, numbers, hyphens, underscores, and periods.

State string

The current lifecycle state of the CA bundle.

TimeCreated string

A property indicating when the CA bundle was created, expressed in RFC 3339 timestamp format. Example: 2019-04-03T21:10:29.600Z

caBundleId String
caBundlePem String
compartmentId String

The OCID of the compartment for the CA bundle.

definedTags Map<String,Object>

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}

description String

A brief description of the CA bundle.

freeformTags Map<String,Object>

Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

id String

The OCID of the CA bundle.

lifecycleDetails String

Additional information about the current lifecycle state of the CA bundle.

name String

A user-friendly name for the CA bundle. Names are unique within a compartment. Avoid entering confidential information. Valid characters include uppercase or lowercase letters, numbers, hyphens, underscores, and periods.

state String

The current lifecycle state of the CA bundle.

timeCreated String

A property indicating when the CA bundle was created, expressed in RFC 3339 timestamp format. Example: 2019-04-03T21:10:29.600Z

caBundleId string
caBundlePem string
compartmentId string

The OCID of the compartment for the CA bundle.

definedTags {[key: string]: any}

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}

description string

A brief description of the CA bundle.

freeformTags {[key: string]: any}

Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

id string

The OCID of the CA bundle.

lifecycleDetails string

Additional information about the current lifecycle state of the CA bundle.

name string

A user-friendly name for the CA bundle. Names are unique within a compartment. Avoid entering confidential information. Valid characters include uppercase or lowercase letters, numbers, hyphens, underscores, and periods.

state string

The current lifecycle state of the CA bundle.

timeCreated string

A property indicating when the CA bundle was created, expressed in RFC 3339 timestamp format. Example: 2019-04-03T21:10:29.600Z

ca_bundle_id str
ca_bundle_pem str
compartment_id str

The OCID of the compartment for the CA bundle.

defined_tags Mapping[str, Any]

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}

description str

A brief description of the CA bundle.

freeform_tags Mapping[str, Any]

Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

id str

The OCID of the CA bundle.

lifecycle_details str

Additional information about the current lifecycle state of the CA bundle.

name str

A user-friendly name for the CA bundle. Names are unique within a compartment. Avoid entering confidential information. Valid characters include uppercase or lowercase letters, numbers, hyphens, underscores, and periods.

state str

The current lifecycle state of the CA bundle.

time_created str

A property indicating when the CA bundle was created, expressed in RFC 3339 timestamp format. Example: 2019-04-03T21:10:29.600Z

caBundleId String
caBundlePem String
compartmentId String

The OCID of the compartment for the CA bundle.

definedTags Map<Any>

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}

description String

A brief description of the CA bundle.

freeformTags Map<Any>

Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

id String

The OCID of the CA bundle.

lifecycleDetails String

Additional information about the current lifecycle state of the CA bundle.

name String

A user-friendly name for the CA bundle. Names are unique within a compartment. Avoid entering confidential information. Valid characters include uppercase or lowercase letters, numbers, hyphens, underscores, and periods.

state String

The current lifecycle state of the CA bundle.

timeCreated String

A property indicating when the CA bundle was created, expressed in RFC 3339 timestamp format. Example: 2019-04-03T21:10:29.600Z

Package Details

Repository
oci pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.