import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Resource for managing Harness Chaos Probe Templates. * * ## Example Usage * * ## Import * * The `pulumi import` command can be used, for example: * * Example 1: Import Project-level Probe Template * Format: org_id/project_id/hub_identity/template_identity * * ```sh * $ pulumi import harness:chaos/probeTemplate:ProbeTemplate example my_org/my_project/my-chaos-hub/http-health-check * ``` * * Example 2: Import Org-level Probe Template * Format: org_id/hub_identity/template_identity * * ```sh * $ pulumi import harness:chaos/probeTemplate:ProbeTemplate org_example my_org/org-chaos-hub/org-http-probe * ``` * * Example 3: Import Account-level Probe Template * Format: hub_identity/template_identity * * ```sh * $ pulumi import harness:chaos/probeTemplate:ProbeTemplate account_example account-chaos-hub/account-k8s-probe * ``` */ export declare class ProbeTemplate extends pulumi.CustomResource { /** * Get an existing ProbeTemplate 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?: ProbeTemplateState, opts?: pulumi.CustomResourceOptions): ProbeTemplate; /** * Returns true if the given object is an instance of ProbeTemplate. 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 ProbeTemplate; /** * Account identifier. */ readonly accountId: pulumi.Output; /** * APM probe configuration. Required when type is 'apmProbe'. */ readonly apmProbe: pulumi.Output; /** * Command probe configuration. Required when type is 'cmdProbe'. */ readonly cmdProbe: pulumi.Output; /** * Description of the probe template. */ readonly description: pulumi.Output; /** * HTTP probe configuration. Required when type is 'httpProbe'. */ readonly httpProbe: pulumi.Output; /** * Identity of the chaos hub this probe template belongs to. */ readonly hubIdentity: pulumi.Output; /** * Hub reference. */ readonly hubRef: pulumi.Output; /** * Unique identifier for the probe template (immutable). */ readonly identity: pulumi.Output; /** * Infrastructure type for the probe template. Valid values: Kubernetes, KubernetesV2, Windows, Linux, CloudFoundry, Container. */ readonly infrastructureType: pulumi.Output; /** * Whether this is the default version for predefined probes. */ readonly isDefault: pulumi.Output; /** * Kubernetes probe configuration. Required when type is 'k8sProbe'. */ readonly k8sProbe: pulumi.Output; /** * Name of the probe template. */ readonly name: pulumi.Output; /** * Organization identifier. */ readonly orgId: pulumi.Output; /** * Project identifier. */ readonly projectId: pulumi.Output; /** * Revision number of the probe template. */ readonly revision: pulumi.Output; /** * Run properties for the probe template execution. */ readonly runProperties: pulumi.Output; /** * Tags to associate with the probe template. */ readonly tags: pulumi.Output; /** * Type of the probe template. Valid values: httpProbe, cmdProbe, k8sProbe, promProbe, sloProbe, datadogProbe, dynatraceProbe, containerProbe, apmProbe. */ readonly type: pulumi.Output; /** * Template variables that can be used in the probe. */ readonly variables: pulumi.Output; /** * Create a ProbeTemplate 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: ProbeTemplateArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ProbeTemplate resources. */ export interface ProbeTemplateState { /** * Account identifier. */ accountId?: pulumi.Input; /** * APM probe configuration. Required when type is 'apmProbe'. */ apmProbe?: pulumi.Input; /** * Command probe configuration. Required when type is 'cmdProbe'. */ cmdProbe?: pulumi.Input; /** * Description of the probe template. */ description?: pulumi.Input; /** * HTTP probe configuration. Required when type is 'httpProbe'. */ httpProbe?: pulumi.Input; /** * Identity of the chaos hub this probe template belongs to. */ hubIdentity?: pulumi.Input; /** * Hub reference. */ hubRef?: pulumi.Input; /** * Unique identifier for the probe template (immutable). */ identity?: pulumi.Input; /** * Infrastructure type for the probe template. Valid values: Kubernetes, KubernetesV2, Windows, Linux, CloudFoundry, Container. */ infrastructureType?: pulumi.Input; /** * Whether this is the default version for predefined probes. */ isDefault?: pulumi.Input; /** * Kubernetes probe configuration. Required when type is 'k8sProbe'. */ k8sProbe?: pulumi.Input; /** * Name of the probe template. */ name?: pulumi.Input; /** * Organization identifier. */ orgId?: pulumi.Input; /** * Project identifier. */ projectId?: pulumi.Input; /** * Revision number of the probe template. */ revision?: pulumi.Input; /** * Run properties for the probe template execution. */ runProperties?: pulumi.Input; /** * Tags to associate with the probe template. */ tags?: pulumi.Input[] | undefined>; /** * Type of the probe template. Valid values: httpProbe, cmdProbe, k8sProbe, promProbe, sloProbe, datadogProbe, dynatraceProbe, containerProbe, apmProbe. */ type?: pulumi.Input; /** * Template variables that can be used in the probe. */ variables?: pulumi.Input[] | undefined>; } /** * The set of arguments for constructing a ProbeTemplate resource. */ export interface ProbeTemplateArgs { /** * APM probe configuration. Required when type is 'apmProbe'. */ apmProbe?: pulumi.Input; /** * Command probe configuration. Required when type is 'cmdProbe'. */ cmdProbe?: pulumi.Input; /** * Description of the probe template. */ description?: pulumi.Input; /** * HTTP probe configuration. Required when type is 'httpProbe'. */ httpProbe?: pulumi.Input; /** * Identity of the chaos hub this probe template belongs to. */ hubIdentity: pulumi.Input; /** * Unique identifier for the probe template (immutable). */ identity: pulumi.Input; /** * Infrastructure type for the probe template. Valid values: Kubernetes, KubernetesV2, Windows, Linux, CloudFoundry, Container. */ infrastructureType?: pulumi.Input; /** * Kubernetes probe configuration. Required when type is 'k8sProbe'. */ k8sProbe?: pulumi.Input; /** * Name of the probe template. */ name?: pulumi.Input; /** * Organization identifier. */ orgId?: pulumi.Input; /** * Project identifier. */ projectId?: pulumi.Input; /** * Run properties for the probe template execution. */ runProperties?: pulumi.Input; /** * Tags to associate with the probe template. */ tags?: pulumi.Input[] | undefined>; /** * Type of the probe template. Valid values: httpProbe, cmdProbe, k8sProbe, promProbe, sloProbe, datadogProbe, dynatraceProbe, containerProbe, apmProbe. */ type: pulumi.Input; /** * Template variables that can be used in the probe. */ variables?: pulumi.Input[] | undefined>; } //# sourceMappingURL=probeTemplate.d.ts.map