import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Resource for managing Harness Chaos Infrastructure V2. * * ## Import * * The `pulumi import` command can be used, for example: * * Import Project level Chaos Infrastructure v2 * * ```sh * $ pulumi import harness:chaos/infrastructureV2:InfrastructureV2 example /// * ``` */ export declare class InfrastructureV2 extends pulumi.CustomResource { /** * Get an existing InfrastructureV2 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?: InfrastructureV2State, opts?: pulumi.CustomResourceOptions): InfrastructureV2; /** * Returns true if the given object is an instance of InfrastructureV2. 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 InfrastructureV2; /** * Enable AI features for the infrastructure. */ readonly aiEnabled: pulumi.Output; /** * Annotations to apply to the infrastructure pods. */ readonly annotation: pulumi.Output<{ [key: string]: string; } | undefined>; /** * Container configurations. */ readonly containers: pulumi.Output; /** * Correlation ID for the request. */ readonly correlationId: pulumi.Output; /** * Creation timestamp. */ readonly createdAt: pulumi.Output; /** * Description of the infrastructure. */ readonly description: pulumi.Output; /** * ID of the discovery agent to use. */ readonly discoveryAgentId: pulumi.Output; /** * The ID of the environment. */ readonly environmentId: pulumi.Output; /** * List of environment variables to set in the container. */ readonly envs: pulumi.Output; /** * Identifier for the infrastructure. */ readonly identifiers: pulumi.Output; /** * Identity for the infrastructure. */ readonly identity: pulumi.Output; /** * Configuration for the container image registry. */ readonly imageRegistries: pulumi.Output; /** * ID of the infrastructure. */ readonly infraId: pulumi.Output; /** * Namespace where the infrastructure is installed. */ readonly infraNamespace: pulumi.Output; /** * Scope of the infrastructure. Valid values: NAMESPACE, CLUSTER */ readonly infraScope: pulumi.Output; /** * Type of the infrastructure. Valid values: KUBERNETES, KUBERNETESV2 */ readonly infraType: pulumi.Output; /** * Skip TLS verification for the infrastructure. */ readonly insecureSkipVerify: pulumi.Output; /** * Installation command for the infrastructure. */ readonly installCommand: pulumi.Output; /** * Kubernetes connector identifier. */ readonly k8sConnectorId: pulumi.Output; /** * Labels to apply to the infrastructure pods. */ readonly label: pulumi.Output<{ [key: string]: string; } | undefined>; /** * mTLS configuration for the infrastructure. */ readonly mtls: pulumi.Output; /** * Name of the infrastructure. */ readonly name: pulumi.Output; /** * Kubernetes namespace where the infrastructure will be installed. Maps to the infrastructure namespace. */ readonly namespace: pulumi.Output; /** * Node selector for the infrastructure pods. */ readonly nodeSelector: pulumi.Output<{ [key: string]: string; } | undefined>; /** * The ID of the organization. */ readonly orgId: pulumi.Output; /** * The ID of the project. */ readonly projectId: pulumi.Output; /** * Proxy configuration for the infrastructure. */ readonly proxy: pulumi.Output; /** * Group ID to run the infrastructure as. */ readonly runAsGroup: pulumi.Output; /** * User ID to run the infrastructure as. */ readonly runAsUser: pulumi.Output; /** * Service account used by the infrastructure. */ readonly serviceAccount: pulumi.Output; /** * Status of the infrastructure. */ readonly status: pulumi.Output; /** * Tags for the infrastructure. */ readonly tags: pulumi.Output; /** * If specified, the pod's tolerations. */ readonly tolerations: pulumi.Output; /** * Last update timestamp. */ readonly updatedAt: pulumi.Output; /** * Volume mounts for the container. */ readonly volumeMounts: pulumi.Output; /** * Volumes to be created in the infrastructure. */ readonly volumes: pulumi.Output; /** * Create a InfrastructureV2 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: InfrastructureV2Args, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering InfrastructureV2 resources. */ export interface InfrastructureV2State { /** * Enable AI features for the infrastructure. */ aiEnabled?: pulumi.Input; /** * Annotations to apply to the infrastructure pods. */ annotation?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * Container configurations. */ containers?: pulumi.Input; /** * Correlation ID for the request. */ correlationId?: pulumi.Input; /** * Creation timestamp. */ createdAt?: pulumi.Input; /** * Description of the infrastructure. */ description?: pulumi.Input; /** * ID of the discovery agent to use. */ discoveryAgentId?: pulumi.Input; /** * The ID of the environment. */ environmentId?: pulumi.Input; /** * List of environment variables to set in the container. */ envs?: pulumi.Input[] | undefined>; /** * Identifier for the infrastructure. */ identifiers?: pulumi.Input[] | undefined>; /** * Identity for the infrastructure. */ identity?: pulumi.Input; /** * Configuration for the container image registry. */ imageRegistries?: pulumi.Input[] | undefined>; /** * ID of the infrastructure. */ infraId?: pulumi.Input; /** * Namespace where the infrastructure is installed. */ infraNamespace?: pulumi.Input; /** * Scope of the infrastructure. Valid values: NAMESPACE, CLUSTER */ infraScope?: pulumi.Input; /** * Type of the infrastructure. Valid values: KUBERNETES, KUBERNETESV2 */ infraType?: pulumi.Input; /** * Skip TLS verification for the infrastructure. */ insecureSkipVerify?: pulumi.Input; /** * Installation command for the infrastructure. */ installCommand?: pulumi.Input; /** * Kubernetes connector identifier. */ k8sConnectorId?: pulumi.Input; /** * Labels to apply to the infrastructure pods. */ label?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * mTLS configuration for the infrastructure. */ mtls?: pulumi.Input; /** * Name of the infrastructure. */ name?: pulumi.Input; /** * Kubernetes namespace where the infrastructure will be installed. Maps to the infrastructure namespace. */ namespace?: pulumi.Input; /** * Node selector for the infrastructure pods. */ nodeSelector?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The ID of the organization. */ orgId?: pulumi.Input; /** * The ID of the project. */ projectId?: pulumi.Input; /** * Proxy configuration for the infrastructure. */ proxy?: pulumi.Input; /** * Group ID to run the infrastructure as. */ runAsGroup?: pulumi.Input; /** * User ID to run the infrastructure as. */ runAsUser?: pulumi.Input; /** * Service account used by the infrastructure. */ serviceAccount?: pulumi.Input; /** * Status of the infrastructure. */ status?: pulumi.Input; /** * Tags for the infrastructure. */ tags?: pulumi.Input[] | undefined>; /** * If specified, the pod's tolerations. */ tolerations?: pulumi.Input[] | undefined>; /** * Last update timestamp. */ updatedAt?: pulumi.Input; /** * Volume mounts for the container. */ volumeMounts?: pulumi.Input[] | undefined>; /** * Volumes to be created in the infrastructure. */ volumes?: pulumi.Input[] | undefined>; } /** * The set of arguments for constructing a InfrastructureV2 resource. */ export interface InfrastructureV2Args { /** * Enable AI features for the infrastructure. */ aiEnabled?: pulumi.Input; /** * Annotations to apply to the infrastructure pods. */ annotation?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * Container configurations. */ containers?: pulumi.Input; /** * Correlation ID for the request. */ correlationId?: pulumi.Input; /** * Description of the infrastructure. */ description?: pulumi.Input; /** * ID of the discovery agent to use. */ discoveryAgentId?: pulumi.Input; /** * The ID of the environment. */ environmentId: pulumi.Input; /** * List of environment variables to set in the container. */ envs?: pulumi.Input[] | undefined>; /** * Configuration for the container image registry. */ imageRegistries?: pulumi.Input[] | undefined>; /** * ID of the infrastructure. */ infraId: pulumi.Input; /** * Scope of the infrastructure. Valid values: NAMESPACE, CLUSTER */ infraScope?: pulumi.Input; /** * Type of the infrastructure. Valid values: KUBERNETES, KUBERNETESV2 */ infraType?: pulumi.Input; /** * Skip TLS verification for the infrastructure. */ insecureSkipVerify?: pulumi.Input; /** * Labels to apply to the infrastructure pods. */ label?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * mTLS configuration for the infrastructure. */ mtls?: pulumi.Input; /** * Name of the infrastructure. */ name?: pulumi.Input; /** * Kubernetes namespace where the infrastructure will be installed. Maps to the infrastructure namespace. */ namespace?: pulumi.Input; /** * Node selector for the infrastructure pods. */ nodeSelector?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The ID of the organization. */ orgId: pulumi.Input; /** * The ID of the project. */ projectId: pulumi.Input; /** * Proxy configuration for the infrastructure. */ proxy?: pulumi.Input; /** * Group ID to run the infrastructure as. */ runAsGroup?: pulumi.Input; /** * User ID to run the infrastructure as. */ runAsUser?: pulumi.Input; /** * Service account used by the infrastructure. */ serviceAccount?: pulumi.Input; /** * Tags for the infrastructure. */ tags?: pulumi.Input[] | undefined>; /** * If specified, the pod's tolerations. */ tolerations?: pulumi.Input[] | undefined>; /** * Volume mounts for the container. */ volumeMounts?: pulumi.Input[] | undefined>; /** * Volumes to be created in the infrastructure. */ volumes?: pulumi.Input[] | undefined>; } //# sourceMappingURL=infrastructureV2.d.ts.map