import * as pulumi from "@pulumi/pulumi"; /** * Resource for creating an Azure Application Gateway * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as harness from "@pulumi/harness"; * * const test = new harness.autostopping.AzureGateway("test", { * name: "name", * cloudConnectorId: "cloud_connector_id", * hostName: "host_name", * region: "eastus2", * resourceGroup: "resource_group", * subnetId: "/subscriptions/subscription_id/resourceGroups/resource_group/providers/Microsoft.Network/virtualNetworks/virtual_network/subnets/subnet_id", * vpc: "/subscriptions/subscription_id/resourceGroups/resource_group/providers/Microsoft.Network/virtualNetworks/virtual_network", * azureFuncRegion: "westus2", * frontendIp: "/subscriptions/subscription_id/resourceGroups/resource_group/providers/Microsoft.Network/publicIPAddresses/publicip", * skuSize: "sku2", * deleteCloudResourcesOnDestroy: true, * }); * const importTest = new harness.autostopping.AzureGateway("import_test", { * name: "import_test", * cloudConnectorId: "cloud_connector_id", * hostName: "host_name", * region: "westus2", * resourceGroup: "test_resource_group", * appGatewayId: "/subscriptions/subscription_id/resourceGroups/test_resource_group/providers/Microsoft.Network/applicationGateways/TestAppGateway", * certificateId: "/subscriptions/subscription_id/resourceGroups/test_resource_group/providers/Microsoft.Network/applicationGateways/TestAppGateway/sslCertificates/certificate_name", * azureFuncRegion: "westus2", * vpc: "/subscriptions/subscription_id/resourceGroups/test_resource_group/providers/Microsoft.Network/virtualNetworks/test_resource_group_vnet", * deleteCloudResourcesOnDestroy: false, * }); * ``` */ export declare class AzureGateway extends pulumi.CustomResource { /** * Get an existing AzureGateway 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?: AzureGatewayState, opts?: pulumi.CustomResourceOptions): AzureGateway; /** * Returns true if the given object is an instance of AzureGateway. 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 AzureGateway; /** * ID of Azure AppGateway for importing. Required only for importing exiging AppGateway */ readonly appGatewayId: pulumi.Output; /** * Region in which azure cloud function will be provisioned */ readonly azureFuncRegion: pulumi.Output; /** * ID of existing SSL certificate from AppGateway being imported. Required only for importing existing AppGateway. Required only for SSL based rules */ readonly certificateId: pulumi.Output; /** * Id of the cloud connector */ readonly cloudConnectorId: pulumi.Output; /** * Governs how the loadabalancer entity will be deleted on Terraform destroy. When set to true, the associated Application Gateway 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, leaving the cloud resources intact. */ readonly deleteCloudResourcesOnDestroy: pulumi.Output; /** * ID of IP address to be used. Required only for creating new AppGateway. See https://learn.microsoft.com/en-us/azure/application-gateway/application-gateway-components#static-versus-dynamic-public-ip-address for more details */ readonly frontendIp: pulumi.Output; /** * Unique identifier of the resource */ readonly identifier: pulumi.Output; /** * Name of the proxy */ readonly name: 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; /** * Size of machine used for the gateway. Required only for creating new AppGateway */ readonly skuSize: pulumi.Output; /** * Subnet in which cloud resources are hosted. Required only for creating new AppGateway */ readonly subnetId: pulumi.Output; /** * VNet in which cloud resources are hosted. Required only for creating new AppGateway */ readonly vpc: pulumi.Output; /** * Create a AzureGateway 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: AzureGatewayArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering AzureGateway resources. */ export interface AzureGatewayState { /** * ID of Azure AppGateway for importing. Required only for importing exiging AppGateway */ appGatewayId?: pulumi.Input; /** * Region in which azure cloud function will be provisioned */ azureFuncRegion?: pulumi.Input; /** * ID of existing SSL certificate from AppGateway being imported. Required only for importing existing AppGateway. Required only for SSL based rules */ certificateId?: pulumi.Input; /** * Id of the cloud connector */ cloudConnectorId?: pulumi.Input; /** * Governs how the loadabalancer entity will be deleted on Terraform destroy. When set to true, the associated Application Gateway 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, leaving the cloud resources intact. */ deleteCloudResourcesOnDestroy?: pulumi.Input; /** * ID of IP address to be used. Required only for creating new AppGateway. See https://learn.microsoft.com/en-us/azure/application-gateway/application-gateway-components#static-versus-dynamic-public-ip-address for more details */ frontendIp?: pulumi.Input; /** * Unique identifier of the resource */ identifier?: 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; /** * Size of machine used for the gateway. Required only for creating new AppGateway */ skuSize?: pulumi.Input; /** * Subnet in which cloud resources are hosted. Required only for creating new AppGateway */ subnetId?: pulumi.Input; /** * VNet in which cloud resources are hosted. Required only for creating new AppGateway */ vpc?: pulumi.Input; } /** * The set of arguments for constructing a AzureGateway resource. */ export interface AzureGatewayArgs { /** * ID of Azure AppGateway for importing. Required only for importing exiging AppGateway */ appGatewayId?: pulumi.Input; /** * Region in which azure cloud function will be provisioned */ azureFuncRegion: pulumi.Input; /** * ID of existing SSL certificate from AppGateway being imported. Required only for importing existing AppGateway. Required only for SSL based rules */ certificateId?: pulumi.Input; /** * Id of the cloud connector */ cloudConnectorId: pulumi.Input; /** * Governs how the loadabalancer entity will be deleted on Terraform destroy. When set to true, the associated Application Gateway 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, leaving the cloud resources intact. */ deleteCloudResourcesOnDestroy: pulumi.Input; /** * ID of IP address to be used. Required only for creating new AppGateway. See https://learn.microsoft.com/en-us/azure/application-gateway/application-gateway-components#static-versus-dynamic-public-ip-address for more details */ frontendIp?: 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; /** * Size of machine used for the gateway. Required only for creating new AppGateway */ skuSize?: pulumi.Input; /** * Subnet in which cloud resources are hosted. Required only for creating new AppGateway */ subnetId?: pulumi.Input; /** * VNet in which cloud resources are hosted. Required only for creating new AppGateway */ vpc: pulumi.Input; } //# sourceMappingURL=azureGateway.d.ts.map