import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Data source for retrieving a Harness Chaos Security Governance Condition (V3 / REST API). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as harness from "@pulumi/harness"; * * // Look up a security governance condition (V3) by identity * const byIdentity = harness.chaos.getSecurityGovernanceConditionV3({ * orgId: orgId, * projectId: projectId, * identity: "", * }); * // Look up a security governance condition (V3) by name * const byName = harness.chaos.getSecurityGovernanceConditionV3({ * orgId: orgId, * projectId: projectId, * name: "k8s-security-condition", * }); * export const securityGovernanceConditionV3ByIdentity = byIdentity; * export const securityGovernanceConditionV3ByName = byName; * ``` */ export declare function getSecurityGovernanceConditionV3(args: GetSecurityGovernanceConditionV3Args, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getSecurityGovernanceConditionV3. */ export interface GetSecurityGovernanceConditionV3Args { /** * The identifier of the security governance condition. Exactly one of `identity` or `name` must be provided. */ identity?: string; /** * The name of the security governance condition. Exactly one of `identity` or `name` must be provided. */ name?: string; /** * The organization ID of the security governance condition */ orgId: string; /** * The project ID of the security governance condition */ projectId: string; } /** * A collection of values returned by getSecurityGovernanceConditionV3. */ export interface GetSecurityGovernanceConditionV3Result { /** * Description of the security governance condition */ readonly description: string; /** * Specification for faults to be included in the condition */ readonly faultSpecs: outputs.chaos.GetSecurityGovernanceConditionV3FaultSpec[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The identifier of the security governance condition. Exactly one of `identity` or `name` must be provided. */ readonly identity?: string; /** * Type of infrastructure (Kubernetes, KubernetesV2, Linux, Windows, CloudFoundry, Container) */ readonly infraType: string; /** * Kubernetes specific configuration (required when infra*type is Kubernetes or KubernetesV2) */ readonly k8sSpecs: outputs.chaos.GetSecurityGovernanceConditionV3K8sSpec[]; /** * Machine specific configuration (required when infra*type is Linux or Windows) */ readonly machineSpecs: outputs.chaos.GetSecurityGovernanceConditionV3MachineSpec[]; /** * The name of the security governance condition. Exactly one of `identity` or `name` must be provided. */ readonly name: string; /** * The organization ID of the security governance condition */ readonly orgId: string; /** * The project ID of the security governance condition */ readonly projectId: string; /** * Tags for the security governance condition */ readonly tags: string[]; } /** * Data source for retrieving a Harness Chaos Security Governance Condition (V3 / REST API). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as harness from "@pulumi/harness"; * * // Look up a security governance condition (V3) by identity * const byIdentity = harness.chaos.getSecurityGovernanceConditionV3({ * orgId: orgId, * projectId: projectId, * identity: "", * }); * // Look up a security governance condition (V3) by name * const byName = harness.chaos.getSecurityGovernanceConditionV3({ * orgId: orgId, * projectId: projectId, * name: "k8s-security-condition", * }); * export const securityGovernanceConditionV3ByIdentity = byIdentity; * export const securityGovernanceConditionV3ByName = byName; * ``` */ export declare function getSecurityGovernanceConditionV3Output(args: GetSecurityGovernanceConditionV3OutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getSecurityGovernanceConditionV3. */ export interface GetSecurityGovernanceConditionV3OutputArgs { /** * The identifier of the security governance condition. Exactly one of `identity` or `name` must be provided. */ identity?: pulumi.Input; /** * The name of the security governance condition. Exactly one of `identity` or `name` must be provided. */ name?: pulumi.Input; /** * The organization ID of the security governance condition */ orgId: pulumi.Input; /** * The project ID of the security governance condition */ projectId: pulumi.Input; } //# sourceMappingURL=getSecurityGovernanceConditionV3.d.ts.map