1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. GoldenGate
  5. getDeploymentCertificates
Oracle Cloud Infrastructure v2.31.0 published on Thursday, Apr 17, 2025 by Pulumi

oci.GoldenGate.getDeploymentCertificates

Explore with Pulumi AI

Oracle Cloud Infrastructure v2.31.0 published on Thursday, Apr 17, 2025 by Pulumi

This data source provides the list of Deployment Certificates in Oracle Cloud Infrastructure Golden Gate service.

Returns a list of certificates from truststore.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testDeploymentCertificates = oci.GoldenGate.getDeploymentCertificates({
    deploymentId: testDeployment.id,
    state: deploymentCertificateState,
});
Copy
import pulumi
import pulumi_oci as oci

test_deployment_certificates = oci.GoldenGate.get_deployment_certificates(deployment_id=test_deployment["id"],
    state=deployment_certificate_state)
Copy
package main

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

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := goldengate.GetDeploymentCertificates(ctx, &goldengate.GetDeploymentCertificatesArgs{
			DeploymentId: testDeployment.Id,
			State:        pulumi.StringRef(deploymentCertificateState),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testDeploymentCertificates = Oci.GoldenGate.GetDeploymentCertificates.Invoke(new()
    {
        DeploymentId = testDeployment.Id,
        State = deploymentCertificateState,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.GoldenGate.GoldenGateFunctions;
import com.pulumi.oci.GoldenGate.inputs.GetDeploymentCertificatesArgs;
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 testDeploymentCertificates = GoldenGateFunctions.getDeploymentCertificates(GetDeploymentCertificatesArgs.builder()
            .deploymentId(testDeployment.id())
            .state(deploymentCertificateState)
            .build());

    }
}
Copy
variables:
  testDeploymentCertificates:
    fn::invoke:
      function: oci:GoldenGate:getDeploymentCertificates
      arguments:
        deploymentId: ${testDeployment.id}
        state: ${deploymentCertificateState}
Copy

Using getDeploymentCertificates

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 getDeploymentCertificates(args: GetDeploymentCertificatesArgs, opts?: InvokeOptions): Promise<GetDeploymentCertificatesResult>
function getDeploymentCertificatesOutput(args: GetDeploymentCertificatesOutputArgs, opts?: InvokeOptions): Output<GetDeploymentCertificatesResult>
Copy
def get_deployment_certificates(deployment_id: Optional[str] = None,
                                filters: Optional[Sequence[_goldengate.GetDeploymentCertificatesFilter]] = None,
                                state: Optional[str] = None,
                                opts: Optional[InvokeOptions] = None) -> GetDeploymentCertificatesResult
def get_deployment_certificates_output(deployment_id: Optional[pulumi.Input[str]] = None,
                                filters: Optional[pulumi.Input[Sequence[pulumi.Input[_goldengate.GetDeploymentCertificatesFilterArgs]]]] = None,
                                state: Optional[pulumi.Input[str]] = None,
                                opts: Optional[InvokeOptions] = None) -> Output[GetDeploymentCertificatesResult]
Copy
func GetDeploymentCertificates(ctx *Context, args *GetDeploymentCertificatesArgs, opts ...InvokeOption) (*GetDeploymentCertificatesResult, error)
func GetDeploymentCertificatesOutput(ctx *Context, args *GetDeploymentCertificatesOutputArgs, opts ...InvokeOption) GetDeploymentCertificatesResultOutput
Copy

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

public static class GetDeploymentCertificates 
{
    public static Task<GetDeploymentCertificatesResult> InvokeAsync(GetDeploymentCertificatesArgs args, InvokeOptions? opts = null)
    public static Output<GetDeploymentCertificatesResult> Invoke(GetDeploymentCertificatesInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetDeploymentCertificatesResult> getDeploymentCertificates(GetDeploymentCertificatesArgs args, InvokeOptions options)
public static Output<GetDeploymentCertificatesResult> getDeploymentCertificates(GetDeploymentCertificatesArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: oci:GoldenGate/getDeploymentCertificates:getDeploymentCertificates
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

DeploymentId This property is required. string
A unique Deployment identifier.
Filters Changes to this property will trigger replacement. List<GetDeploymentCertificatesFilter>
State string
A filter to return only connections having the 'lifecycleState' given.
DeploymentId This property is required. string
A unique Deployment identifier.
Filters Changes to this property will trigger replacement. []GetDeploymentCertificatesFilter
State string
A filter to return only connections having the 'lifecycleState' given.
deploymentId This property is required. String
A unique Deployment identifier.
filters Changes to this property will trigger replacement. List<GetDeploymentCertificatesFilter>
state String
A filter to return only connections having the 'lifecycleState' given.
deploymentId This property is required. string
A unique Deployment identifier.
filters Changes to this property will trigger replacement. GetDeploymentCertificatesFilter[]
state string
A filter to return only connections having the 'lifecycleState' given.
deployment_id This property is required. str
A unique Deployment identifier.
filters Changes to this property will trigger replacement. Sequence[goldengate.GetDeploymentCertificatesFilter]
state str
A filter to return only connections having the 'lifecycleState' given.
deploymentId This property is required. String
A unique Deployment identifier.
filters Changes to this property will trigger replacement. List<Property Map>
state String
A filter to return only connections having the 'lifecycleState' given.

getDeploymentCertificates Result

The following output properties are available:

CertificateCollections List<GetDeploymentCertificatesCertificateCollection>
The list of certificate_collection.
DeploymentId string
The OCID of the deployment being referenced.
Id string
The provider-assigned unique ID for this managed resource.
Filters List<GetDeploymentCertificatesFilter>
State string
Possible certificate lifecycle states.
CertificateCollections []GetDeploymentCertificatesCertificateCollection
The list of certificate_collection.
DeploymentId string
The OCID of the deployment being referenced.
Id string
The provider-assigned unique ID for this managed resource.
Filters []GetDeploymentCertificatesFilter
State string
Possible certificate lifecycle states.
certificateCollections List<GetDeploymentCertificatesCertificateCollection>
The list of certificate_collection.
deploymentId String
The OCID of the deployment being referenced.
id String
The provider-assigned unique ID for this managed resource.
filters List<GetDeploymentCertificatesFilter>
state String
Possible certificate lifecycle states.
certificateCollections GetDeploymentCertificatesCertificateCollection[]
The list of certificate_collection.
deploymentId string
The OCID of the deployment being referenced.
id string
The provider-assigned unique ID for this managed resource.
filters GetDeploymentCertificatesFilter[]
state string
Possible certificate lifecycle states.
certificate_collections Sequence[goldengate.GetDeploymentCertificatesCertificateCollection]
The list of certificate_collection.
deployment_id str
The OCID of the deployment being referenced.
id str
The provider-assigned unique ID for this managed resource.
filters Sequence[goldengate.GetDeploymentCertificatesFilter]
state str
Possible certificate lifecycle states.
certificateCollections List<Property Map>
The list of certificate_collection.
deploymentId String
The OCID of the deployment being referenced.
id String
The provider-assigned unique ID for this managed resource.
filters List<Property Map>
state String
Possible certificate lifecycle states.

Supporting Types

GetDeploymentCertificatesCertificateCollection

items This property is required. List<Property Map>

GetDeploymentCertificatesCertificateCollectionItem

AuthorityKeyId This property is required. string
The Certificate authority key id.
CertificateContent This property is required. string
The base64 encoded content of the PEM file containing the SSL certificate.
DeploymentId This property is required. string
A unique Deployment identifier.
IsCa This property is required. bool
Indicates if the certificate is ca.
IsLockOverride This property is required. bool
IsSelfSigned This property is required. bool
Indicates if the certificate is self signed.
Issuer This property is required. string
The Certificate issuer.
Key This property is required. string
The identifier key (unique name in the scope of the deployment) of the certificate being referenced. It must be 1 to 32 characters long, must contain only alphanumeric characters and must start with a letter.
Md5hash This property is required. string
The Certificate md5Hash.
PublicKey This property is required. string
The Certificate public key.
PublicKeyAlgorithm This property is required. string
The Certificate public key algorithm.
PublicKeySize This property is required. string
The Certificate public key size.
Serial This property is required. string
The Certificate serial.
Sha1hash This property is required. string
The Certificate sha1 hash.
State This property is required. string
A filter to return only connections having the 'lifecycleState' given.
Subject This property is required. string
The Certificate subject.
SubjectKeyId This property is required. string
The Certificate subject key id.
TimeCreated This property is required. string
The time the resource was created. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.
TimeValidFrom This property is required. string
The time the certificate is valid from. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.
TimeValidTo This property is required. string
The time the certificate is valid to. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.
Version This property is required. string
The Certificate version.
AuthorityKeyId This property is required. string
The Certificate authority key id.
CertificateContent This property is required. string
The base64 encoded content of the PEM file containing the SSL certificate.
DeploymentId This property is required. string
A unique Deployment identifier.
IsCa This property is required. bool
Indicates if the certificate is ca.
IsLockOverride This property is required. bool
IsSelfSigned This property is required. bool
Indicates if the certificate is self signed.
Issuer This property is required. string
The Certificate issuer.
Key This property is required. string
The identifier key (unique name in the scope of the deployment) of the certificate being referenced. It must be 1 to 32 characters long, must contain only alphanumeric characters and must start with a letter.
Md5hash This property is required. string
The Certificate md5Hash.
PublicKey This property is required. string
The Certificate public key.
PublicKeyAlgorithm This property is required. string
The Certificate public key algorithm.
PublicKeySize This property is required. string
The Certificate public key size.
Serial This property is required. string
The Certificate serial.
Sha1hash This property is required. string
The Certificate sha1 hash.
State This property is required. string
A filter to return only connections having the 'lifecycleState' given.
Subject This property is required. string
The Certificate subject.
SubjectKeyId This property is required. string
The Certificate subject key id.
TimeCreated This property is required. string
The time the resource was created. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.
TimeValidFrom This property is required. string
The time the certificate is valid from. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.
TimeValidTo This property is required. string
The time the certificate is valid to. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.
Version This property is required. string
The Certificate version.
authorityKeyId This property is required. String
The Certificate authority key id.
certificateContent This property is required. String
The base64 encoded content of the PEM file containing the SSL certificate.
deploymentId This property is required. String
A unique Deployment identifier.
isCa This property is required. Boolean
Indicates if the certificate is ca.
isLockOverride This property is required. Boolean
isSelfSigned This property is required. Boolean
Indicates if the certificate is self signed.
issuer This property is required. String
The Certificate issuer.
key This property is required. String
The identifier key (unique name in the scope of the deployment) of the certificate being referenced. It must be 1 to 32 characters long, must contain only alphanumeric characters and must start with a letter.
md5hash This property is required. String
The Certificate md5Hash.
publicKey This property is required. String
The Certificate public key.
publicKeyAlgorithm This property is required. String
The Certificate public key algorithm.
publicKeySize This property is required. String
The Certificate public key size.
serial This property is required. String
The Certificate serial.
sha1hash This property is required. String
The Certificate sha1 hash.
state This property is required. String
A filter to return only connections having the 'lifecycleState' given.
subject This property is required. String
The Certificate subject.
subjectKeyId This property is required. String
The Certificate subject key id.
timeCreated This property is required. String
The time the resource was created. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.
timeValidFrom This property is required. String
The time the certificate is valid from. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.
timeValidTo This property is required. String
The time the certificate is valid to. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.
version This property is required. String
The Certificate version.
authorityKeyId This property is required. string
The Certificate authority key id.
certificateContent This property is required. string
The base64 encoded content of the PEM file containing the SSL certificate.
deploymentId This property is required. string
A unique Deployment identifier.
isCa This property is required. boolean
Indicates if the certificate is ca.
isLockOverride This property is required. boolean
isSelfSigned This property is required. boolean
Indicates if the certificate is self signed.
issuer This property is required. string
The Certificate issuer.
key This property is required. string
The identifier key (unique name in the scope of the deployment) of the certificate being referenced. It must be 1 to 32 characters long, must contain only alphanumeric characters and must start with a letter.
md5hash This property is required. string
The Certificate md5Hash.
publicKey This property is required. string
The Certificate public key.
publicKeyAlgorithm This property is required. string
The Certificate public key algorithm.
publicKeySize This property is required. string
The Certificate public key size.
serial This property is required. string
The Certificate serial.
sha1hash This property is required. string
The Certificate sha1 hash.
state This property is required. string
A filter to return only connections having the 'lifecycleState' given.
subject This property is required. string
The Certificate subject.
subjectKeyId This property is required. string
The Certificate subject key id.
timeCreated This property is required. string
The time the resource was created. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.
timeValidFrom This property is required. string
The time the certificate is valid from. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.
timeValidTo This property is required. string
The time the certificate is valid to. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.
version This property is required. string
The Certificate version.
authority_key_id This property is required. str
The Certificate authority key id.
certificate_content This property is required. str
The base64 encoded content of the PEM file containing the SSL certificate.
deployment_id This property is required. str
A unique Deployment identifier.
is_ca This property is required. bool
Indicates if the certificate is ca.
is_lock_override This property is required. bool
is_self_signed This property is required. bool
Indicates if the certificate is self signed.
issuer This property is required. str
The Certificate issuer.
key This property is required. str
The identifier key (unique name in the scope of the deployment) of the certificate being referenced. It must be 1 to 32 characters long, must contain only alphanumeric characters and must start with a letter.
md5hash This property is required. str
The Certificate md5Hash.
public_key This property is required. str
The Certificate public key.
public_key_algorithm This property is required. str
The Certificate public key algorithm.
public_key_size This property is required. str
The Certificate public key size.
serial This property is required. str
The Certificate serial.
sha1hash This property is required. str
The Certificate sha1 hash.
state This property is required. str
A filter to return only connections having the 'lifecycleState' given.
subject This property is required. str
The Certificate subject.
subject_key_id This property is required. str
The Certificate subject key id.
time_created This property is required. str
The time the resource was created. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.
time_valid_from This property is required. str
The time the certificate is valid from. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.
time_valid_to This property is required. str
The time the certificate is valid to. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.
version This property is required. str
The Certificate version.
authorityKeyId This property is required. String
The Certificate authority key id.
certificateContent This property is required. String
The base64 encoded content of the PEM file containing the SSL certificate.
deploymentId This property is required. String
A unique Deployment identifier.
isCa This property is required. Boolean
Indicates if the certificate is ca.
isLockOverride This property is required. Boolean
isSelfSigned This property is required. Boolean
Indicates if the certificate is self signed.
issuer This property is required. String
The Certificate issuer.
key This property is required. String
The identifier key (unique name in the scope of the deployment) of the certificate being referenced. It must be 1 to 32 characters long, must contain only alphanumeric characters and must start with a letter.
md5hash This property is required. String
The Certificate md5Hash.
publicKey This property is required. String
The Certificate public key.
publicKeyAlgorithm This property is required. String
The Certificate public key algorithm.
publicKeySize This property is required. String
The Certificate public key size.
serial This property is required. String
The Certificate serial.
sha1hash This property is required. String
The Certificate sha1 hash.
state This property is required. String
A filter to return only connections having the 'lifecycleState' given.
subject This property is required. String
The Certificate subject.
subjectKeyId This property is required. String
The Certificate subject key id.
timeCreated This property is required. String
The time the resource was created. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.
timeValidFrom This property is required. String
The time the certificate is valid from. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.
timeValidTo This property is required. String
The time the certificate is valid to. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.
version This property is required. String
The Certificate version.

GetDeploymentCertificatesFilter

Name This property is required. string
Values This property is required. List<string>
Regex bool
Name This property is required. string
Values This property is required. []string
Regex bool
name This property is required. String
values This property is required. List<String>
regex Boolean
name This property is required. string
values This property is required. string[]
regex boolean
name This property is required. str
values This property is required. Sequence[str]
regex bool
name This property is required. String
values This property is required. List<String>
regex Boolean

Package Details

Repository
oci pulumi/pulumi-oci
License
Apache-2.0
Notes
This Pulumi package is based on the oci Terraform Provider.
Oracle Cloud Infrastructure v2.31.0 published on Thursday, Apr 17, 2025 by Pulumi