1. Packages
  2. Harness
  3. API Docs
  4. autostopping
  5. AzureGateway
Harness v0.4.1 published on Monday, Oct 14, 2024 by Pulumi

harness.autostopping.AzureGateway

Explore with Pulumi AI

harness logo
Harness v0.4.1 published on Monday, Oct 14, 2024 by Pulumi

    Resource for creating an Azure Application Gateway

    Example Usage

    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,
    });
    
    import pulumi
    import pulumi_harness as harness
    
    test = harness.autostopping.AzureGateway("test",
        name="name",
        cloud_connector_id="cloud_connector_id",
        host_name="host_name",
        region="eastus2",
        resource_group="resource_group",
        subnet_id="/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",
        azure_func_region="westus2",
        frontend_ip="/subscriptions/subscription_id/resourceGroups/resource_group/providers/Microsoft.Network/publicIPAddresses/publicip",
        sku_size="sku2",
        delete_cloud_resources_on_destroy=True)
    import_test = harness.autostopping.AzureGateway("import_test",
        name="import_test",
        cloud_connector_id="cloud_connector_id",
        host_name="host_name",
        region="westus2",
        resource_group="test_resource_group",
        app_gateway_id="/subscriptions/subscription_id/resourceGroups/test_resource_group/providers/Microsoft.Network/applicationGateways/TestAppGateway",
        certificate_id="/subscriptions/subscription_id/resourceGroups/test_resource_group/providers/Microsoft.Network/applicationGateways/TestAppGateway/sslCertificates/certificate_name",
        azure_func_region="westus2",
        vpc="/subscriptions/subscription_id/resourceGroups/test_resource_group/providers/Microsoft.Network/virtualNetworks/test_resource_group_vnet",
        delete_cloud_resources_on_destroy=False)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-harness/sdk/go/harness/autostopping"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := autostopping.NewAzureGateway(ctx, "test", &autostopping.AzureGatewayArgs{
    			Name:                          pulumi.String("name"),
    			CloudConnectorId:              pulumi.String("cloud_connector_id"),
    			HostName:                      pulumi.String("host_name"),
    			Region:                        pulumi.String("eastus2"),
    			ResourceGroup:                 pulumi.String("resource_group"),
    			SubnetId:                      pulumi.String("/subscriptions/subscription_id/resourceGroups/resource_group/providers/Microsoft.Network/virtualNetworks/virtual_network/subnets/subnet_id"),
    			Vpc:                           pulumi.String("/subscriptions/subscription_id/resourceGroups/resource_group/providers/Microsoft.Network/virtualNetworks/virtual_network"),
    			AzureFuncRegion:               pulumi.String("westus2"),
    			FrontendIp:                    pulumi.String("/subscriptions/subscription_id/resourceGroups/resource_group/providers/Microsoft.Network/publicIPAddresses/publicip"),
    			SkuSize:                       pulumi.String("sku2"),
    			DeleteCloudResourcesOnDestroy: pulumi.Bool(true),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = autostopping.NewAzureGateway(ctx, "import_test", &autostopping.AzureGatewayArgs{
    			Name:                          pulumi.String("import_test"),
    			CloudConnectorId:              pulumi.String("cloud_connector_id"),
    			HostName:                      pulumi.String("host_name"),
    			Region:                        pulumi.String("westus2"),
    			ResourceGroup:                 pulumi.String("test_resource_group"),
    			AppGatewayId:                  pulumi.String("/subscriptions/subscription_id/resourceGroups/test_resource_group/providers/Microsoft.Network/applicationGateways/TestAppGateway"),
    			CertificateId:                 pulumi.String("/subscriptions/subscription_id/resourceGroups/test_resource_group/providers/Microsoft.Network/applicationGateways/TestAppGateway/sslCertificates/certificate_name"),
    			AzureFuncRegion:               pulumi.String("westus2"),
    			Vpc:                           pulumi.String("/subscriptions/subscription_id/resourceGroups/test_resource_group/providers/Microsoft.Network/virtualNetworks/test_resource_group_vnet"),
    			DeleteCloudResourcesOnDestroy: pulumi.Bool(false),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Harness = Pulumi.Harness;
    
    return await Deployment.RunAsync(() => 
    {
        var test = new Harness.Autostopping.AzureGateway("test", new()
        {
            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,
        });
    
        var importTest = new Harness.Autostopping.AzureGateway("import_test", new()
        {
            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,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.harness.autostopping.AzureGateway;
    import com.pulumi.harness.autostopping.AzureGatewayArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var test = new AzureGateway("test", AzureGatewayArgs.builder()
                .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)
                .build());
    
            var importTest = new AzureGateway("importTest", AzureGatewayArgs.builder()
                .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)
                .build());
    
        }
    }
    
    resources:
      test:
        type: harness:autostopping:AzureGateway
        properties:
          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
      importTest:
        type: harness:autostopping:AzureGateway
        name: import_test
        properties:
          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
    

    Create AzureGateway Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new AzureGateway(name: string, args: AzureGatewayArgs, opts?: CustomResourceOptions);
    @overload
    def AzureGateway(resource_name: str,
                     args: AzureGatewayArgs,
                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def AzureGateway(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     host_name: Optional[str] = None,
                     azure_func_region: Optional[str] = None,
                     cloud_connector_id: Optional[str] = None,
                     delete_cloud_resources_on_destroy: Optional[bool] = None,
                     region: Optional[str] = None,
                     resource_group: Optional[str] = None,
                     vpc: Optional[str] = None,
                     certificate_id: Optional[str] = None,
                     frontend_ip: Optional[str] = None,
                     app_gateway_id: Optional[str] = None,
                     name: Optional[str] = None,
                     sku_size: Optional[str] = None,
                     subnet_id: Optional[str] = None)
    func NewAzureGateway(ctx *Context, name string, args AzureGatewayArgs, opts ...ResourceOption) (*AzureGateway, error)
    public AzureGateway(string name, AzureGatewayArgs args, CustomResourceOptions? opts = null)
    public AzureGateway(String name, AzureGatewayArgs args)
    public AzureGateway(String name, AzureGatewayArgs args, CustomResourceOptions options)
    
    type: harness:autostopping:AzureGateway
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args AzureGatewayArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args AzureGatewayArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args AzureGatewayArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AzureGatewayArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AzureGatewayArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var azureGatewayResource = new Harness.Autostopping.AzureGateway("azureGatewayResource", new()
    {
        HostName = "string",
        AzureFuncRegion = "string",
        CloudConnectorId = "string",
        DeleteCloudResourcesOnDestroy = false,
        Region = "string",
        ResourceGroup = "string",
        Vpc = "string",
        CertificateId = "string",
        FrontendIp = "string",
        AppGatewayId = "string",
        Name = "string",
        SkuSize = "string",
        SubnetId = "string",
    });
    
    example, err := autostopping.NewAzureGateway(ctx, "azureGatewayResource", &autostopping.AzureGatewayArgs{
    	HostName:                      pulumi.String("string"),
    	AzureFuncRegion:               pulumi.String("string"),
    	CloudConnectorId:              pulumi.String("string"),
    	DeleteCloudResourcesOnDestroy: pulumi.Bool(false),
    	Region:                        pulumi.String("string"),
    	ResourceGroup:                 pulumi.String("string"),
    	Vpc:                           pulumi.String("string"),
    	CertificateId:                 pulumi.String("string"),
    	FrontendIp:                    pulumi.String("string"),
    	AppGatewayId:                  pulumi.String("string"),
    	Name:                          pulumi.String("string"),
    	SkuSize:                       pulumi.String("string"),
    	SubnetId:                      pulumi.String("string"),
    })
    
    var azureGatewayResource = new AzureGateway("azureGatewayResource", AzureGatewayArgs.builder()
        .hostName("string")
        .azureFuncRegion("string")
        .cloudConnectorId("string")
        .deleteCloudResourcesOnDestroy(false)
        .region("string")
        .resourceGroup("string")
        .vpc("string")
        .certificateId("string")
        .frontendIp("string")
        .appGatewayId("string")
        .name("string")
        .skuSize("string")
        .subnetId("string")
        .build());
    
    azure_gateway_resource = harness.autostopping.AzureGateway("azureGatewayResource",
        host_name="string",
        azure_func_region="string",
        cloud_connector_id="string",
        delete_cloud_resources_on_destroy=False,
        region="string",
        resource_group="string",
        vpc="string",
        certificate_id="string",
        frontend_ip="string",
        app_gateway_id="string",
        name="string",
        sku_size="string",
        subnet_id="string")
    
    const azureGatewayResource = new harness.autostopping.AzureGateway("azureGatewayResource", {
        hostName: "string",
        azureFuncRegion: "string",
        cloudConnectorId: "string",
        deleteCloudResourcesOnDestroy: false,
        region: "string",
        resourceGroup: "string",
        vpc: "string",
        certificateId: "string",
        frontendIp: "string",
        appGatewayId: "string",
        name: "string",
        skuSize: "string",
        subnetId: "string",
    });
    
    type: harness:autostopping:AzureGateway
    properties:
        appGatewayId: string
        azureFuncRegion: string
        certificateId: string
        cloudConnectorId: string
        deleteCloudResourcesOnDestroy: false
        frontendIp: string
        hostName: string
        name: string
        region: string
        resourceGroup: string
        skuSize: string
        subnetId: string
        vpc: string
    

    AzureGateway Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The AzureGateway resource accepts the following input properties:

    AzureFuncRegion string
    Region in which azure cloud function will be provisioned
    CloudConnectorId string
    Id of the cloud connector
    DeleteCloudResourcesOnDestroy bool
    HostName string
    Hostname for the proxy
    Region string
    Region in which cloud resources are hosted
    ResourceGroup string
    Resource group in which cloud resources are hosted
    Vpc string
    VNet in which cloud resources are hosted. Required only for creating new AppGateway
    AppGatewayId string
    ID of Azure AppGateway for importing. Required only for importing exiging AppGateway
    CertificateId string
    ID of existing SSL certificate from AppGateway being imported. Required only for importing existing AppGateway. Required only for SSL based rules
    FrontendIp string
    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
    Name string
    Name of the proxy
    SkuSize string
    Size of machine used for the gateway. Required only for creating new AppGateway
    SubnetId string
    Subnet in which cloud resources are hosted. Required only for creating new AppGateway
    AzureFuncRegion string
    Region in which azure cloud function will be provisioned
    CloudConnectorId string
    Id of the cloud connector
    DeleteCloudResourcesOnDestroy bool
    HostName string
    Hostname for the proxy
    Region string
    Region in which cloud resources are hosted
    ResourceGroup string
    Resource group in which cloud resources are hosted
    Vpc string
    VNet in which cloud resources are hosted. Required only for creating new AppGateway
    AppGatewayId string
    ID of Azure AppGateway for importing. Required only for importing exiging AppGateway
    CertificateId string
    ID of existing SSL certificate from AppGateway being imported. Required only for importing existing AppGateway. Required only for SSL based rules
    FrontendIp string
    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
    Name string
    Name of the proxy
    SkuSize string
    Size of machine used for the gateway. Required only for creating new AppGateway
    SubnetId string
    Subnet in which cloud resources are hosted. Required only for creating new AppGateway
    azureFuncRegion String
    Region in which azure cloud function will be provisioned
    cloudConnectorId String
    Id of the cloud connector
    deleteCloudResourcesOnDestroy Boolean
    hostName String
    Hostname for the proxy
    region String
    Region in which cloud resources are hosted
    resourceGroup String
    Resource group in which cloud resources are hosted
    vpc String
    VNet in which cloud resources are hosted. Required only for creating new AppGateway
    appGatewayId String
    ID of Azure AppGateway for importing. Required only for importing exiging AppGateway
    certificateId String
    ID of existing SSL certificate from AppGateway being imported. Required only for importing existing AppGateway. Required only for SSL based rules
    frontendIp String
    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
    name String
    Name of the proxy
    skuSize String
    Size of machine used for the gateway. Required only for creating new AppGateway
    subnetId String
    Subnet in which cloud resources are hosted. Required only for creating new AppGateway
    azureFuncRegion string
    Region in which azure cloud function will be provisioned
    cloudConnectorId string
    Id of the cloud connector
    deleteCloudResourcesOnDestroy boolean
    hostName string
    Hostname for the proxy
    region string
    Region in which cloud resources are hosted
    resourceGroup string
    Resource group in which cloud resources are hosted
    vpc string
    VNet in which cloud resources are hosted. Required only for creating new AppGateway
    appGatewayId string
    ID of Azure AppGateway for importing. Required only for importing exiging AppGateway
    certificateId string
    ID of existing SSL certificate from AppGateway being imported. Required only for importing existing AppGateway. Required only for SSL based rules
    frontendIp string
    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
    name string
    Name of the proxy
    skuSize string
    Size of machine used for the gateway. Required only for creating new AppGateway
    subnetId string
    Subnet in which cloud resources are hosted. Required only for creating new AppGateway
    azure_func_region str
    Region in which azure cloud function will be provisioned
    cloud_connector_id str
    Id of the cloud connector
    delete_cloud_resources_on_destroy bool
    host_name str
    Hostname for the proxy
    region str
    Region in which cloud resources are hosted
    resource_group str
    Resource group in which cloud resources are hosted
    vpc str
    VNet in which cloud resources are hosted. Required only for creating new AppGateway
    app_gateway_id str
    ID of Azure AppGateway for importing. Required only for importing exiging AppGateway
    certificate_id str
    ID of existing SSL certificate from AppGateway being imported. Required only for importing existing AppGateway. Required only for SSL based rules
    frontend_ip str
    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
    name str
    Name of the proxy
    sku_size str
    Size of machine used for the gateway. Required only for creating new AppGateway
    subnet_id str
    Subnet in which cloud resources are hosted. Required only for creating new AppGateway
    azureFuncRegion String
    Region in which azure cloud function will be provisioned
    cloudConnectorId String
    Id of the cloud connector
    deleteCloudResourcesOnDestroy Boolean
    hostName String
    Hostname for the proxy
    region String
    Region in which cloud resources are hosted
    resourceGroup String
    Resource group in which cloud resources are hosted
    vpc String
    VNet in which cloud resources are hosted. Required only for creating new AppGateway
    appGatewayId String
    ID of Azure AppGateway for importing. Required only for importing exiging AppGateway
    certificateId String
    ID of existing SSL certificate from AppGateway being imported. Required only for importing existing AppGateway. Required only for SSL based rules
    frontendIp String
    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
    name String
    Name of the proxy
    skuSize String
    Size of machine used for the gateway. Required only for creating new AppGateway
    subnetId String
    Subnet in which cloud resources are hosted. Required only for creating new AppGateway

    Outputs

    All input properties are implicitly available as output properties. Additionally, the AzureGateway resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Identifier string
    Unique identifier of the resource
    Id string
    The provider-assigned unique ID for this managed resource.
    Identifier string
    Unique identifier of the resource
    id String
    The provider-assigned unique ID for this managed resource.
    identifier String
    Unique identifier of the resource
    id string
    The provider-assigned unique ID for this managed resource.
    identifier string
    Unique identifier of the resource
    id str
    The provider-assigned unique ID for this managed resource.
    identifier str
    Unique identifier of the resource
    id String
    The provider-assigned unique ID for this managed resource.
    identifier String
    Unique identifier of the resource

    Look up Existing AzureGateway Resource

    Get an existing AzureGateway resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: AzureGatewayState, opts?: CustomResourceOptions): AzureGateway
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            app_gateway_id: Optional[str] = None,
            azure_func_region: Optional[str] = None,
            certificate_id: Optional[str] = None,
            cloud_connector_id: Optional[str] = None,
            delete_cloud_resources_on_destroy: Optional[bool] = None,
            frontend_ip: Optional[str] = None,
            host_name: Optional[str] = None,
            identifier: Optional[str] = None,
            name: Optional[str] = None,
            region: Optional[str] = None,
            resource_group: Optional[str] = None,
            sku_size: Optional[str] = None,
            subnet_id: Optional[str] = None,
            vpc: Optional[str] = None) -> AzureGateway
    func GetAzureGateway(ctx *Context, name string, id IDInput, state *AzureGatewayState, opts ...ResourceOption) (*AzureGateway, error)
    public static AzureGateway Get(string name, Input<string> id, AzureGatewayState? state, CustomResourceOptions? opts = null)
    public static AzureGateway get(String name, Output<String> id, AzureGatewayState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AppGatewayId string
    ID of Azure AppGateway for importing. Required only for importing exiging AppGateway
    AzureFuncRegion string
    Region in which azure cloud function will be provisioned
    CertificateId string
    ID of existing SSL certificate from AppGateway being imported. Required only for importing existing AppGateway. Required only for SSL based rules
    CloudConnectorId string
    Id of the cloud connector
    DeleteCloudResourcesOnDestroy bool
    FrontendIp string
    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
    HostName string
    Hostname for the proxy
    Identifier string
    Unique identifier of the resource
    Name string
    Name of the proxy
    Region string
    Region in which cloud resources are hosted
    ResourceGroup string
    Resource group in which cloud resources are hosted
    SkuSize string
    Size of machine used for the gateway. Required only for creating new AppGateway
    SubnetId string
    Subnet in which cloud resources are hosted. Required only for creating new AppGateway
    Vpc string
    VNet in which cloud resources are hosted. Required only for creating new AppGateway
    AppGatewayId string
    ID of Azure AppGateway for importing. Required only for importing exiging AppGateway
    AzureFuncRegion string
    Region in which azure cloud function will be provisioned
    CertificateId string
    ID of existing SSL certificate from AppGateway being imported. Required only for importing existing AppGateway. Required only for SSL based rules
    CloudConnectorId string
    Id of the cloud connector
    DeleteCloudResourcesOnDestroy bool
    FrontendIp string
    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
    HostName string
    Hostname for the proxy
    Identifier string
    Unique identifier of the resource
    Name string
    Name of the proxy
    Region string
    Region in which cloud resources are hosted
    ResourceGroup string
    Resource group in which cloud resources are hosted
    SkuSize string
    Size of machine used for the gateway. Required only for creating new AppGateway
    SubnetId string
    Subnet in which cloud resources are hosted. Required only for creating new AppGateway
    Vpc string
    VNet in which cloud resources are hosted. Required only for creating new AppGateway
    appGatewayId String
    ID of Azure AppGateway for importing. Required only for importing exiging AppGateway
    azureFuncRegion String
    Region in which azure cloud function will be provisioned
    certificateId String
    ID of existing SSL certificate from AppGateway being imported. Required only for importing existing AppGateway. Required only for SSL based rules
    cloudConnectorId String
    Id of the cloud connector
    deleteCloudResourcesOnDestroy Boolean
    frontendIp String
    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
    hostName String
    Hostname for the proxy
    identifier String
    Unique identifier of the resource
    name String
    Name of the proxy
    region String
    Region in which cloud resources are hosted
    resourceGroup String
    Resource group in which cloud resources are hosted
    skuSize String
    Size of machine used for the gateway. Required only for creating new AppGateway
    subnetId String
    Subnet in which cloud resources are hosted. Required only for creating new AppGateway
    vpc String
    VNet in which cloud resources are hosted. Required only for creating new AppGateway
    appGatewayId string
    ID of Azure AppGateway for importing. Required only for importing exiging AppGateway
    azureFuncRegion string
    Region in which azure cloud function will be provisioned
    certificateId string
    ID of existing SSL certificate from AppGateway being imported. Required only for importing existing AppGateway. Required only for SSL based rules
    cloudConnectorId string
    Id of the cloud connector
    deleteCloudResourcesOnDestroy boolean
    frontendIp string
    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
    hostName string
    Hostname for the proxy
    identifier string
    Unique identifier of the resource
    name string
    Name of the proxy
    region string
    Region in which cloud resources are hosted
    resourceGroup string
    Resource group in which cloud resources are hosted
    skuSize string
    Size of machine used for the gateway. Required only for creating new AppGateway
    subnetId string
    Subnet in which cloud resources are hosted. Required only for creating new AppGateway
    vpc string
    VNet in which cloud resources are hosted. Required only for creating new AppGateway
    app_gateway_id str
    ID of Azure AppGateway for importing. Required only for importing exiging AppGateway
    azure_func_region str
    Region in which azure cloud function will be provisioned
    certificate_id str
    ID of existing SSL certificate from AppGateway being imported. Required only for importing existing AppGateway. Required only for SSL based rules
    cloud_connector_id str
    Id of the cloud connector
    delete_cloud_resources_on_destroy bool
    frontend_ip str
    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
    host_name str
    Hostname for the proxy
    identifier str
    Unique identifier of the resource
    name str
    Name of the proxy
    region str
    Region in which cloud resources are hosted
    resource_group str
    Resource group in which cloud resources are hosted
    sku_size str
    Size of machine used for the gateway. Required only for creating new AppGateway
    subnet_id str
    Subnet in which cloud resources are hosted. Required only for creating new AppGateway
    vpc str
    VNet in which cloud resources are hosted. Required only for creating new AppGateway
    appGatewayId String
    ID of Azure AppGateway for importing. Required only for importing exiging AppGateway
    azureFuncRegion String
    Region in which azure cloud function will be provisioned
    certificateId String
    ID of existing SSL certificate from AppGateway being imported. Required only for importing existing AppGateway. Required only for SSL based rules
    cloudConnectorId String
    Id of the cloud connector
    deleteCloudResourcesOnDestroy Boolean
    frontendIp String
    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
    hostName String
    Hostname for the proxy
    identifier String
    Unique identifier of the resource
    name String
    Name of the proxy
    region String
    Region in which cloud resources are hosted
    resourceGroup String
    Resource group in which cloud resources are hosted
    skuSize String
    Size of machine used for the gateway. Required only for creating new AppGateway
    subnetId String
    Subnet in which cloud resources are hosted. Required only for creating new AppGateway
    vpc String
    VNet in which cloud resources are hosted. Required only for creating new AppGateway

    Package Details

    Repository
    harness pulumi/pulumi-harness
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the harness Terraform Provider.
    harness logo
    Harness v0.4.1 published on Monday, Oct 14, 2024 by Pulumi