@pulumi/consul
Version:
A Pulumi package for creating and managing consul resources.
81 lines (80 loc) • 3.11 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* The `consul.CertificateAuthority` resource can be used to manage the configuration of the Certificate Authority used by [Consul Connect](https://www.consul.io/docs/connect/ca).
*
* > **Note:** The keys in the `config` argument must be using Camel case.
*
* ## Import
*
* ```sh
* $ pulumi import consul:index/certificateAuthority:CertificateAuthority connect connect-ca
* ```
*/
export declare class CertificateAuthority extends pulumi.CustomResource {
/**
* Get an existing CertificateAuthority 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?: CertificateAuthorityState, opts?: pulumi.CustomResourceOptions): CertificateAuthority;
/**
* Returns true if the given object is an instance of CertificateAuthority. 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 CertificateAuthority;
/**
* @deprecated The config attribute is deprecated, please use configJson instead.
*/
readonly config: pulumi.Output<{
[key: string]: string;
} | undefined>;
readonly configJson: pulumi.Output<string | undefined>;
/**
* Specifies the CA provider type to use.
*/
readonly connectProvider: pulumi.Output<string>;
/**
* Create a CertificateAuthority 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: CertificateAuthorityArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering CertificateAuthority resources.
*/
export interface CertificateAuthorityState {
/**
* @deprecated The config attribute is deprecated, please use configJson instead.
*/
config?: pulumi.Input<{
[key: string]: pulumi.Input<string>;
}>;
configJson?: pulumi.Input<string>;
/**
* Specifies the CA provider type to use.
*/
connectProvider?: pulumi.Input<string>;
}
/**
* The set of arguments for constructing a CertificateAuthority resource.
*/
export interface CertificateAuthorityArgs {
/**
* @deprecated The config attribute is deprecated, please use configJson instead.
*/
config?: pulumi.Input<{
[key: string]: pulumi.Input<string>;
}>;
configJson?: pulumi.Input<string>;
/**
* Specifies the CA provider type to use.
*/
connectProvider: pulumi.Input<string>;
}