import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Data source for GCP Autostopping proxy * * ## Example Usage */ export declare function getGcpProxy(args: GetGcpProxyArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getGcpProxy. */ export interface GetGcpProxyArgs { /** * Boolean value to indicate if proxy vm needs to have static IP */ allocateStaticIp?: boolean; /** * Harness NG API key */ apiKey: string; certificates?: inputs.autostopping.GetGcpProxyCertificates; /** * Id of the cloud connector */ cloudConnectorId: string; /** * Governs how the proxy entity will be deleted on Terraform destroy. When set to true, the associated VM will be deleted permanently from GCP account. Be fully aware of the consequneces of settting this to true, as the action is irreversible. When set to false, solely the Harness LB representation will be deleted, which leaves the proxy VM in GCP account itself. */ deleteCloudResourcesOnDestroy: boolean; /** * Machine instance type */ machineType: string; /** * Name of the proxy */ name: string; /** * Region in which cloud resources are hosted */ region: string; /** * Security Group to define the security rules that determine the inbound and outbound traffic */ securityGroups?: string[]; /** * VPC in which cloud resources are hosted */ subnetId: string; /** * VPC in which cloud resources are hosted */ vpc: string; /** * Zone in which cloud resources are hosted */ zone: string; } /** * A collection of values returned by getGcpProxy. */ export interface GetGcpProxyResult { /** * Boolean value to indicate if proxy vm needs to have static IP */ readonly allocateStaticIp?: boolean; /** * Harness NG API key */ readonly apiKey: string; readonly certificates?: outputs.autostopping.GetGcpProxyCertificates; /** * Id of the cloud connector */ readonly cloudConnectorId: string; /** * Governs how the proxy entity will be deleted on Terraform destroy. When set to true, the associated VM will be deleted permanently from GCP account. Be fully aware of the consequneces of settting this to true, as the action is irreversible. When set to false, solely the Harness LB representation will be deleted, which leaves the proxy VM in GCP account itself. */ readonly deleteCloudResourcesOnDestroy: boolean; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Unique identifier of the resource */ readonly identifier: string; /** * Machine instance type */ readonly machineType: string; /** * Name of the proxy */ readonly name: string; /** * Private IP address of the proxy */ readonly privateIp: string; /** * Public IP address of the proxy */ readonly publicIp: string; /** * Region in which cloud resources are hosted */ readonly region: string; /** * Security Group to define the security rules that determine the inbound and outbound traffic */ readonly securityGroups?: string[]; /** * VPC in which cloud resources are hosted */ readonly subnetId: string; /** * VPC in which cloud resources are hosted */ readonly vpc: string; /** * Zone in which cloud resources are hosted */ readonly zone: string; } /** * Data source for GCP Autostopping proxy * * ## Example Usage */ export declare function getGcpProxyOutput(args: GetGcpProxyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getGcpProxy. */ export interface GetGcpProxyOutputArgs { /** * Boolean value to indicate if proxy vm needs to have static IP */ allocateStaticIp?: pulumi.Input; /** * Harness NG API key */ apiKey: pulumi.Input; certificates?: pulumi.Input; /** * Id of the cloud connector */ cloudConnectorId: pulumi.Input; /** * Governs how the proxy entity will be deleted on Terraform destroy. When set to true, the associated VM will be deleted permanently from GCP account. Be fully aware of the consequneces of settting this to true, as the action is irreversible. When set to false, solely the Harness LB representation will be deleted, which leaves the proxy VM in GCP account itself. */ deleteCloudResourcesOnDestroy: pulumi.Input; /** * Machine instance type */ machineType: pulumi.Input; /** * Name of the proxy */ name: pulumi.Input; /** * Region in which cloud resources are hosted */ region: pulumi.Input; /** * Security Group to define the security rules that determine the inbound and outbound traffic */ securityGroups?: pulumi.Input[] | undefined>; /** * VPC in which cloud resources are hosted */ subnetId: pulumi.Input; /** * VPC in which cloud resources are hosted */ vpc: pulumi.Input; /** * Zone in which cloud resources are hosted */ zone: pulumi.Input; } //# sourceMappingURL=getGcpProxy.d.ts.map