UNPKG

@twingate/pulumi-twingate

Version:

A Pulumi package for creating and managing Twingate cloud resources.

75 lines (74 loc) 3.33 kB
import * as pulumi from "@pulumi/pulumi"; /** * X509 Certificate Authorities allow Twingate to verify certificates presented by resources during TLS connections. */ export declare class TwingateX509CertificateAuthority extends pulumi.CustomResource { /** * Get an existing TwingateX509CertificateAuthority 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<pulumi.ID>, state?: TwingateX509CertificateAuthorityState, opts?: pulumi.CustomResourceOptions): TwingateX509CertificateAuthority; /** * Returns true if the given object is an instance of TwingateX509CertificateAuthority. 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 TwingateX509CertificateAuthority; /** * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations. * The PEM-encoded X509 certificate. This field is write-only and will not be returned by the API. */ readonly certificate: pulumi.Output<string>; /** * The SHA-256 fingerprint of the X509 certificate. */ readonly fingerprint: pulumi.Output<string>; /** * The name of the X509 Certificate Authority. */ readonly name: pulumi.Output<string>; /** * Create a TwingateX509CertificateAuthority 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: TwingateX509CertificateAuthorityArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering TwingateX509CertificateAuthority resources. */ export interface TwingateX509CertificateAuthorityState { /** * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations. * The PEM-encoded X509 certificate. This field is write-only and will not be returned by the API. */ certificate?: pulumi.Input<string>; /** * The SHA-256 fingerprint of the X509 certificate. */ fingerprint?: pulumi.Input<string>; /** * The name of the X509 Certificate Authority. */ name?: pulumi.Input<string>; } /** * The set of arguments for constructing a TwingateX509CertificateAuthority resource. */ export interface TwingateX509CertificateAuthorityArgs { /** * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations. * The PEM-encoded X509 certificate. This field is write-only and will not be returned by the API. */ certificate: pulumi.Input<string>; /** * The name of the X509 Certificate Authority. */ name?: pulumi.Input<string>; }