import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides details about a specific Certificate resource in Oracle Cloud Infrastructure API Gateway service. * * Gets a certificate by identifier. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testCertificate = oci.apigateway.getCertificate({ * certificateId: testCertificateOciApigatewayCertificate.id, * }); * ``` */ export declare function getCertificate(args: GetCertificateArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getCertificate. */ export interface GetCertificateArgs { /** * The ocid of the certificate. */ certificateId: string; } /** * A collection of values returned by getCertificate. */ export interface GetCertificateResult { /** * The data of the leaf certificate in pem format. */ readonly certificate: string; readonly certificateId: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which the resource is created. */ readonly compartmentId: string; /** * Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` */ readonly definedTags: { [key: string]: string; }; /** * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: `My new resource` */ readonly displayName: string; /** * 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ readonly freeformTags: { [key: string]: string; }; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource. */ readonly id: string; /** * The intermediate certificate data associated with the certificate in pem format. */ readonly intermediateCertificates: string; readonly isLockOverride: boolean; /** * A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in a Failed state. */ readonly lifecycleDetails: string; /** * Locks associated with this resource. */ readonly locks: outputs.ApiGateway.GetCertificateLock[]; readonly privateKey: string; /** * The current state of the certificate. */ readonly state: string; /** * The entity to be secured by the certificate and additional host names. */ readonly subjectNames: string[]; /** * System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ readonly systemTags: { [key: string]: string; }; /** * The time this resource was created. An RFC3339 formatted datetime string. */ readonly timeCreated: string; /** * The date and time the certificate will expire. */ readonly timeNotValidAfter: string; /** * The time this resource was last updated. An RFC3339 formatted datetime string. */ readonly timeUpdated: string; } /** * This data source provides details about a specific Certificate resource in Oracle Cloud Infrastructure API Gateway service. * * Gets a certificate by identifier. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testCertificate = oci.apigateway.getCertificate({ * certificateId: testCertificateOciApigatewayCertificate.id, * }); * ``` */ export declare function getCertificateOutput(args: GetCertificateOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getCertificate. */ export interface GetCertificateOutputArgs { /** * The ocid of the certificate. */ certificateId: pulumi.Input; } //# sourceMappingURL=getCertificate.d.ts.map