import * as pulumi from "@pulumi/pulumi"; /** * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as cloudflare from "@pulumi/cloudflare"; * * const exampleZeroTrustGatewayCertificate = new cloudflare.ZeroTrustGatewayCertificate("example_zero_trust_gateway_certificate", { * accountId: "699d98642c564d2e855e9661899b7252", * validityPeriodDays: 1826, * }); * ``` * * ## Import * * ```sh * $ pulumi import cloudflare:index/zeroTrustGatewayCertificate:ZeroTrustGatewayCertificate example '/' * ``` */ export declare class ZeroTrustGatewayCertificate extends pulumi.CustomResource { /** * Get an existing ZeroTrustGatewayCertificate resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: ZeroTrustGatewayCertificateState, opts?: pulumi.CustomResourceOptions): ZeroTrustGatewayCertificate; /** * Returns true if the given object is an instance of ZeroTrustGatewayCertificate. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is ZeroTrustGatewayCertificate; readonly accountId: pulumi.Output; /** * The deployment status of the certificate on Cloudflare's edge. Certificates in the 'available' (previously called 'active') state may be used for Gateway TLS interception. * Available values: "pending*deployment", "available", "pending*deletion", "inactive". */ readonly bindingStatus: pulumi.Output; /** * The CA certificate */ readonly certificate: pulumi.Output; readonly createdAt: pulumi.Output; readonly expiresOn: pulumi.Output; /** * The SHA256 fingerprint of the certificate. */ readonly fingerprint: pulumi.Output; /** * Use this certificate for Gateway TLS interception */ readonly inUse: pulumi.Output; /** * The organization that issued the certificate. */ readonly issuerOrg: pulumi.Output; /** * The entire issuer field of the certificate. */ readonly issuerRaw: pulumi.Output; /** * The type of certificate, either BYO-PKI (custom) or Gateway-managed. * Available values: "custom", "gatewayManaged". */ readonly type: pulumi.Output; readonly updatedAt: pulumi.Output; readonly uploadedOn: pulumi.Output; readonly validityPeriodDays: pulumi.Output; /** * Create a ZeroTrustGatewayCertificate resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: ZeroTrustGatewayCertificateArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ZeroTrustGatewayCertificate resources. */ export interface ZeroTrustGatewayCertificateState { accountId?: pulumi.Input; /** * The deployment status of the certificate on Cloudflare's edge. Certificates in the 'available' (previously called 'active') state may be used for Gateway TLS interception. * Available values: "pending*deployment", "available", "pending*deletion", "inactive". */ bindingStatus?: pulumi.Input; /** * The CA certificate */ certificate?: pulumi.Input; createdAt?: pulumi.Input; expiresOn?: pulumi.Input; /** * The SHA256 fingerprint of the certificate. */ fingerprint?: pulumi.Input; /** * Use this certificate for Gateway TLS interception */ inUse?: pulumi.Input; /** * The organization that issued the certificate. */ issuerOrg?: pulumi.Input; /** * The entire issuer field of the certificate. */ issuerRaw?: pulumi.Input; /** * The type of certificate, either BYO-PKI (custom) or Gateway-managed. * Available values: "custom", "gatewayManaged". */ type?: pulumi.Input; updatedAt?: pulumi.Input; uploadedOn?: pulumi.Input; validityPeriodDays?: pulumi.Input; } /** * The set of arguments for constructing a ZeroTrustGatewayCertificate resource. */ export interface ZeroTrustGatewayCertificateArgs { accountId: pulumi.Input; validityPeriodDays?: pulumi.Input; }