import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This data source provides the list of Certificate Authorities in Oracle Cloud Infrastructure Certificates Management service. * * Lists all certificate authorities (CAs) in the specified compartment. * Optionally, you can use the parameter `FilterByCertificateAuthorityIdQueryParam` to limit the results to a single item that matches the specified CA. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testCertificateAuthorities = oci.certificatesmanagement.getCertificateAuthorities({ * certificateAuthorityId: testCertificateAuthority.id, * compartmentId: compartmentId, * issuerCertificateAuthorityId: testCertificateAuthority.id, * name: certificateAuthorityName, * state: certificateAuthorityState, * }); * ``` */ export declare function getCertificateAuthorities(args?: GetCertificateAuthoritiesArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getCertificateAuthorities. */ export interface GetCertificateAuthoritiesArgs { /** * The OCID of the certificate authority (CA). If the parameter is set to null, the service lists all CAs. */ certificateAuthorityId?: string; /** * A filter that returns only resources that match the given compartment OCID. */ compartmentId?: string; filters?: inputs.CertificatesManagement.GetCertificateAuthoritiesFilter[]; /** * The OCID of the certificate authority (CA). If the parameter is set to null, the service lists all CAs. */ issuerCertificateAuthorityId?: string; /** * A filter that returns only resources that match the specified name. */ name?: string; /** * A filter that returns only resources that match the given lifecycle state. The state value is case-insensitive. */ state?: string; } /** * A collection of values returned by getCertificateAuthorities. */ export interface GetCertificateAuthoritiesResult { /** * The list of certificate_authority_collection. */ readonly certificateAuthorityCollections: outputs.CertificatesManagement.GetCertificateAuthoritiesCertificateAuthorityCollection[]; /** * The OCID of the CA. */ readonly certificateAuthorityId?: string; /** * The OCID of the compartment under which the CA is created. */ readonly compartmentId?: string; readonly filters?: outputs.CertificatesManagement.GetCertificateAuthoritiesFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The OCID of the parent CA that issued this CA. If this is the root CA, then this value is null. */ readonly issuerCertificateAuthorityId?: string; /** * A user-friendly name for the CA. Names are unique within a compartment. Avoid entering confidential information. Valid characters include uppercase or lowercase letters, numbers, hyphens, underscores, and periods. */ readonly name?: string; /** * The current lifecycle state of the certificate authority. */ readonly state?: string; } /** * This data source provides the list of Certificate Authorities in Oracle Cloud Infrastructure Certificates Management service. * * Lists all certificate authorities (CAs) in the specified compartment. * Optionally, you can use the parameter `FilterByCertificateAuthorityIdQueryParam` to limit the results to a single item that matches the specified CA. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testCertificateAuthorities = oci.certificatesmanagement.getCertificateAuthorities({ * certificateAuthorityId: testCertificateAuthority.id, * compartmentId: compartmentId, * issuerCertificateAuthorityId: testCertificateAuthority.id, * name: certificateAuthorityName, * state: certificateAuthorityState, * }); * ``` */ export declare function getCertificateAuthoritiesOutput(args?: GetCertificateAuthoritiesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getCertificateAuthorities. */ export interface GetCertificateAuthoritiesOutputArgs { /** * The OCID of the certificate authority (CA). If the parameter is set to null, the service lists all CAs. */ certificateAuthorityId?: pulumi.Input; /** * A filter that returns only resources that match the given compartment OCID. */ compartmentId?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * The OCID of the certificate authority (CA). If the parameter is set to null, the service lists all CAs. */ issuerCertificateAuthorityId?: pulumi.Input; /** * A filter that returns only resources that match the specified name. */ name?: pulumi.Input; /** * A filter that returns only resources that match the given lifecycle state. The state value is case-insensitive. */ state?: pulumi.Input; } //# sourceMappingURL=getCertificateAuthorities.d.ts.map