import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Resource for creating an Azure autostopping proxy * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as harness from "@pulumi/harness"; * * const test = new harness.autostopping.AzureProxy("test", { * name: "name", * cloudConnectorId: "cloud_connector_id", * region: "eastus2", * resourceGroup: "resource_group", * vpc: "/subscriptions/subscription_id/resourceGroups/resource_group/providers/Microsoft.Network/virtualNetworks/virtual_network", * subnetId: "/subscriptions/subscription_id/resourceGroups/resource_group/providers/Microsoft.Network/virtualNetworks/virtual_network/subnets/subnet_id", * securityGroups: ["/subscriptions/subscription_id/resourceGroups/resource_group/providers/Microsoft.Network/networkSecurityGroups/network_security_group"], * allocateStaticIp: true, * machineType: "Standard_D2s_v3", * keypair: "", * apiKey: "", * deleteCloudResourcesOnDestroy: true, * }); * ``` */ export declare class AzureProxy extends pulumi.CustomResource { /** * Get an existing AzureProxy 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?: AzureProxyState, opts?: pulumi.CustomResourceOptions): AzureProxy; /** * Returns true if the given object is an instance of AzureProxy. 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 AzureProxy; /** * Boolean value to indicate if proxy vm needs to have static IP */ readonly allocateStaticIp: pulumi.Output; /** * Harness NG API key */ readonly apiKey: pulumi.Output; readonly certificateId: pulumi.Output; readonly certificates: pulumi.Output; /** * Id of the cloud connector */ readonly cloudConnectorId: pulumi.Output; /** * Governs how the proxy entity will be deleted on Terraform destroy. When set to true, the associated VM will be deleted permanently from Azure 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 Azure account itself. */ readonly deleteCloudResourcesOnDestroy: pulumi.Output; /** * Unique identifier of the resource */ readonly identifier: pulumi.Output; /** * Name of SSH Key to be used for proxy VM */ readonly keypair: pulumi.Output; /** * Type of instance to be used for proxy */ readonly machineType: pulumi.Output; /** * Name of the proxy */ readonly name: pulumi.Output; /** * Private IP address of the proxy */ readonly privateIp: pulumi.Output; /** * Public IP address of the proxy */ readonly publicIp: pulumi.Output; /** * Region in which cloud resources are hosted */ readonly region: pulumi.Output; /** * Resource group in which cloud resources are hosted */ readonly resourceGroup: pulumi.Output; /** * Security Group to define the security rules that determine the inbound and outbound traffic */ readonly securityGroups: pulumi.Output; /** * Subnet in which cloud resources are hosted */ readonly subnetId: pulumi.Output; /** * VPC in which cloud resources are hosted */ readonly vpc: pulumi.Output; /** * Create a AzureProxy 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: AzureProxyArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering AzureProxy resources. */ export interface AzureProxyState { /** * Boolean value to indicate if proxy vm needs to have static IP */ allocateStaticIp?: pulumi.Input; /** * Harness NG API key */ apiKey?: pulumi.Input; certificateId?: 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 Azure 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 Azure account itself. */ deleteCloudResourcesOnDestroy?: pulumi.Input; /** * Unique identifier of the resource */ identifier?: pulumi.Input; /** * Name of SSH Key to be used for proxy VM */ keypair?: pulumi.Input; /** * Type of instance to be used for proxy */ machineType?: pulumi.Input; /** * Name of the proxy */ name?: pulumi.Input; /** * Private IP address of the proxy */ privateIp?: pulumi.Input; /** * Public IP address of the proxy */ publicIp?: pulumi.Input; /** * Region in which cloud resources are hosted */ region?: pulumi.Input; /** * Resource group in which cloud resources are hosted */ resourceGroup?: pulumi.Input; /** * Security Group to define the security rules that determine the inbound and outbound traffic */ securityGroups?: pulumi.Input[] | undefined>; /** * Subnet in which cloud resources are hosted */ subnetId?: pulumi.Input; /** * VPC in which cloud resources are hosted */ vpc?: pulumi.Input; } /** * The set of arguments for constructing a AzureProxy resource. */ export interface AzureProxyArgs { /** * Boolean value to indicate if proxy vm needs to have static IP */ allocateStaticIp?: pulumi.Input; /** * Harness NG API key */ apiKey: pulumi.Input; certificateId?: 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 Azure 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 Azure account itself. */ deleteCloudResourcesOnDestroy: pulumi.Input; /** * Name of SSH Key to be used for proxy VM */ keypair: pulumi.Input; /** * Type of instance to be used for proxy */ machineType: pulumi.Input; /** * Name of the proxy */ name?: pulumi.Input; /** * Region in which cloud resources are hosted */ region: pulumi.Input; /** * Resource group in which cloud resources are hosted */ resourceGroup: pulumi.Input; /** * Security Group to define the security rules that determine the inbound and outbound traffic */ securityGroups?: pulumi.Input[] | undefined>; /** * Subnet in which cloud resources are hosted */ subnetId: pulumi.Input; /** * VPC in which cloud resources are hosted */ vpc: pulumi.Input; } //# sourceMappingURL=azureProxy.d.ts.map