1. Packages
  2. Azure Classic
  3. API Docs
  4. appservice
  5. WebAppHybridConnection

We recommend using Azure Native.

Azure Classic v5.81.0 published on Monday, Jun 24, 2024 by Pulumi

azure.appservice.WebAppHybridConnection

Explore with Pulumi AI

azure logo

We recommend using Azure Native.

Azure Classic v5.81.0 published on Monday, Jun 24, 2024 by Pulumi

    Manages a Web App Hybrid Connection.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as azure from "@pulumi/azure";
    
    const example = new azure.core.ResourceGroup("example", {
        name: "example-rg",
        location: "West Europe",
    });
    const exampleServicePlan = new azure.appservice.ServicePlan("example", {
        name: "example-plan",
        location: example.location,
        resourceGroupName: example.name,
        osType: "Windows",
        skuName: "S1",
    });
    const exampleNamespace = new azure.relay.Namespace("example", {
        name: "example-relay",
        location: example.location,
        resourceGroupName: example.name,
        skuName: "Standard",
    });
    const exampleHybridConnection = new azure.relay.HybridConnection("example", {
        name: "examplerhc1",
        resourceGroupName: example.name,
        relayNamespaceName: exampleNamespace.name,
    });
    const exampleWindowsWebApp = new azure.appservice.WindowsWebApp("example", {
        name: "example-web-app",
        location: example.location,
        resourceGroupName: example.name,
        servicePlanId: exampleServicePlan.id,
        siteConfig: {},
    });
    const exampleWebAppHybridConnection = new azure.appservice.WebAppHybridConnection("example", {
        webAppId: exampleWindowsWebApp.id,
        relayId: exampleHybridConnection.id,
        hostname: "myhostname.example",
        port: 8081,
    });
    
    import pulumi
    import pulumi_azure as azure
    
    example = azure.core.ResourceGroup("example",
        name="example-rg",
        location="West Europe")
    example_service_plan = azure.appservice.ServicePlan("example",
        name="example-plan",
        location=example.location,
        resource_group_name=example.name,
        os_type="Windows",
        sku_name="S1")
    example_namespace = azure.relay.Namespace("example",
        name="example-relay",
        location=example.location,
        resource_group_name=example.name,
        sku_name="Standard")
    example_hybrid_connection = azure.relay.HybridConnection("example",
        name="examplerhc1",
        resource_group_name=example.name,
        relay_namespace_name=example_namespace.name)
    example_windows_web_app = azure.appservice.WindowsWebApp("example",
        name="example-web-app",
        location=example.location,
        resource_group_name=example.name,
        service_plan_id=example_service_plan.id,
        site_config=azure.appservice.WindowsWebAppSiteConfigArgs())
    example_web_app_hybrid_connection = azure.appservice.WebAppHybridConnection("example",
        web_app_id=example_windows_web_app.id,
        relay_id=example_hybrid_connection.id,
        hostname="myhostname.example",
        port=8081)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/appservice"
    	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
    	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/relay"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
    			Name:     pulumi.String("example-rg"),
    			Location: pulumi.String("West Europe"),
    		})
    		if err != nil {
    			return err
    		}
    		exampleServicePlan, err := appservice.NewServicePlan(ctx, "example", &appservice.ServicePlanArgs{
    			Name:              pulumi.String("example-plan"),
    			Location:          example.Location,
    			ResourceGroupName: example.Name,
    			OsType:            pulumi.String("Windows"),
    			SkuName:           pulumi.String("S1"),
    		})
    		if err != nil {
    			return err
    		}
    		exampleNamespace, err := relay.NewNamespace(ctx, "example", &relay.NamespaceArgs{
    			Name:              pulumi.String("example-relay"),
    			Location:          example.Location,
    			ResourceGroupName: example.Name,
    			SkuName:           pulumi.String("Standard"),
    		})
    		if err != nil {
    			return err
    		}
    		exampleHybridConnection, err := relay.NewHybridConnection(ctx, "example", &relay.HybridConnectionArgs{
    			Name:               pulumi.String("examplerhc1"),
    			ResourceGroupName:  example.Name,
    			RelayNamespaceName: exampleNamespace.Name,
    		})
    		if err != nil {
    			return err
    		}
    		exampleWindowsWebApp, err := appservice.NewWindowsWebApp(ctx, "example", &appservice.WindowsWebAppArgs{
    			Name:              pulumi.String("example-web-app"),
    			Location:          example.Location,
    			ResourceGroupName: example.Name,
    			ServicePlanId:     exampleServicePlan.ID(),
    			SiteConfig:        nil,
    		})
    		if err != nil {
    			return err
    		}
    		_, err = appservice.NewWebAppHybridConnection(ctx, "example", &appservice.WebAppHybridConnectionArgs{
    			WebAppId: exampleWindowsWebApp.ID(),
    			RelayId:  exampleHybridConnection.ID(),
    			Hostname: pulumi.String("myhostname.example"),
    			Port:     pulumi.Int(8081),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Azure = Pulumi.Azure;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Azure.Core.ResourceGroup("example", new()
        {
            Name = "example-rg",
            Location = "West Europe",
        });
    
        var exampleServicePlan = new Azure.AppService.ServicePlan("example", new()
        {
            Name = "example-plan",
            Location = example.Location,
            ResourceGroupName = example.Name,
            OsType = "Windows",
            SkuName = "S1",
        });
    
        var exampleNamespace = new Azure.Relay.Namespace("example", new()
        {
            Name = "example-relay",
            Location = example.Location,
            ResourceGroupName = example.Name,
            SkuName = "Standard",
        });
    
        var exampleHybridConnection = new Azure.Relay.HybridConnection("example", new()
        {
            Name = "examplerhc1",
            ResourceGroupName = example.Name,
            RelayNamespaceName = exampleNamespace.Name,
        });
    
        var exampleWindowsWebApp = new Azure.AppService.WindowsWebApp("example", new()
        {
            Name = "example-web-app",
            Location = example.Location,
            ResourceGroupName = example.Name,
            ServicePlanId = exampleServicePlan.Id,
            SiteConfig = null,
        });
    
        var exampleWebAppHybridConnection = new Azure.AppService.WebAppHybridConnection("example", new()
        {
            WebAppId = exampleWindowsWebApp.Id,
            RelayId = exampleHybridConnection.Id,
            Hostname = "myhostname.example",
            Port = 8081,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azure.core.ResourceGroup;
    import com.pulumi.azure.core.ResourceGroupArgs;
    import com.pulumi.azure.appservice.ServicePlan;
    import com.pulumi.azure.appservice.ServicePlanArgs;
    import com.pulumi.azure.relay.Namespace;
    import com.pulumi.azure.relay.NamespaceArgs;
    import com.pulumi.azure.relay.HybridConnection;
    import com.pulumi.azure.relay.HybridConnectionArgs;
    import com.pulumi.azure.appservice.WindowsWebApp;
    import com.pulumi.azure.appservice.WindowsWebAppArgs;
    import com.pulumi.azure.appservice.inputs.WindowsWebAppSiteConfigArgs;
    import com.pulumi.azure.appservice.WebAppHybridConnection;
    import com.pulumi.azure.appservice.WebAppHybridConnectionArgs;
    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 example = new ResourceGroup("example", ResourceGroupArgs.builder()
                .name("example-rg")
                .location("West Europe")
                .build());
    
            var exampleServicePlan = new ServicePlan("exampleServicePlan", ServicePlanArgs.builder()
                .name("example-plan")
                .location(example.location())
                .resourceGroupName(example.name())
                .osType("Windows")
                .skuName("S1")
                .build());
    
            var exampleNamespace = new Namespace("exampleNamespace", NamespaceArgs.builder()
                .name("example-relay")
                .location(example.location())
                .resourceGroupName(example.name())
                .skuName("Standard")
                .build());
    
            var exampleHybridConnection = new HybridConnection("exampleHybridConnection", HybridConnectionArgs.builder()
                .name("examplerhc1")
                .resourceGroupName(example.name())
                .relayNamespaceName(exampleNamespace.name())
                .build());
    
            var exampleWindowsWebApp = new WindowsWebApp("exampleWindowsWebApp", WindowsWebAppArgs.builder()
                .name("example-web-app")
                .location(example.location())
                .resourceGroupName(example.name())
                .servicePlanId(exampleServicePlan.id())
                .siteConfig()
                .build());
    
            var exampleWebAppHybridConnection = new WebAppHybridConnection("exampleWebAppHybridConnection", WebAppHybridConnectionArgs.builder()
                .webAppId(exampleWindowsWebApp.id())
                .relayId(exampleHybridConnection.id())
                .hostname("myhostname.example")
                .port(8081)
                .build());
    
        }
    }
    
    resources:
      example:
        type: azure:core:ResourceGroup
        properties:
          name: example-rg
          location: West Europe
      exampleServicePlan:
        type: azure:appservice:ServicePlan
        name: example
        properties:
          name: example-plan
          location: ${example.location}
          resourceGroupName: ${example.name}
          osType: Windows
          skuName: S1
      exampleNamespace:
        type: azure:relay:Namespace
        name: example
        properties:
          name: example-relay
          location: ${example.location}
          resourceGroupName: ${example.name}
          skuName: Standard
      exampleHybridConnection:
        type: azure:relay:HybridConnection
        name: example
        properties:
          name: examplerhc1
          resourceGroupName: ${example.name}
          relayNamespaceName: ${exampleNamespace.name}
      exampleWindowsWebApp:
        type: azure:appservice:WindowsWebApp
        name: example
        properties:
          name: example-web-app
          location: ${example.location}
          resourceGroupName: ${example.name}
          servicePlanId: ${exampleServicePlan.id}
          siteConfig: {}
      exampleWebAppHybridConnection:
        type: azure:appservice:WebAppHybridConnection
        name: example
        properties:
          webAppId: ${exampleWindowsWebApp.id}
          relayId: ${exampleHybridConnection.id}
          hostname: myhostname.example
          port: 8081
    

    Create WebAppHybridConnection Resource

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

    Constructor syntax

    new WebAppHybridConnection(name: string, args: WebAppHybridConnectionArgs, opts?: CustomResourceOptions);
    @overload
    def WebAppHybridConnection(resource_name: str,
                               args: WebAppHybridConnectionArgs,
                               opts: Optional[ResourceOptions] = None)
    
    @overload
    def WebAppHybridConnection(resource_name: str,
                               opts: Optional[ResourceOptions] = None,
                               hostname: Optional[str] = None,
                               port: Optional[int] = None,
                               relay_id: Optional[str] = None,
                               web_app_id: Optional[str] = None,
                               send_key_name: Optional[str] = None)
    func NewWebAppHybridConnection(ctx *Context, name string, args WebAppHybridConnectionArgs, opts ...ResourceOption) (*WebAppHybridConnection, error)
    public WebAppHybridConnection(string name, WebAppHybridConnectionArgs args, CustomResourceOptions? opts = null)
    public WebAppHybridConnection(String name, WebAppHybridConnectionArgs args)
    public WebAppHybridConnection(String name, WebAppHybridConnectionArgs args, CustomResourceOptions options)
    
    type: azure:appservice:WebAppHybridConnection
    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 WebAppHybridConnectionArgs
    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 WebAppHybridConnectionArgs
    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 WebAppHybridConnectionArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args WebAppHybridConnectionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args WebAppHybridConnectionArgs
    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 webAppHybridConnectionResource = new Azure.AppService.WebAppHybridConnection("webAppHybridConnectionResource", new()
    {
        Hostname = "string",
        Port = 0,
        RelayId = "string",
        WebAppId = "string",
        SendKeyName = "string",
    });
    
    example, err := appservice.NewWebAppHybridConnection(ctx, "webAppHybridConnectionResource", &appservice.WebAppHybridConnectionArgs{
    	Hostname:    pulumi.String("string"),
    	Port:        pulumi.Int(0),
    	RelayId:     pulumi.String("string"),
    	WebAppId:    pulumi.String("string"),
    	SendKeyName: pulumi.String("string"),
    })
    
    var webAppHybridConnectionResource = new WebAppHybridConnection("webAppHybridConnectionResource", WebAppHybridConnectionArgs.builder()
        .hostname("string")
        .port(0)
        .relayId("string")
        .webAppId("string")
        .sendKeyName("string")
        .build());
    
    web_app_hybrid_connection_resource = azure.appservice.WebAppHybridConnection("webAppHybridConnectionResource",
        hostname="string",
        port=0,
        relay_id="string",
        web_app_id="string",
        send_key_name="string")
    
    const webAppHybridConnectionResource = new azure.appservice.WebAppHybridConnection("webAppHybridConnectionResource", {
        hostname: "string",
        port: 0,
        relayId: "string",
        webAppId: "string",
        sendKeyName: "string",
    });
    
    type: azure:appservice:WebAppHybridConnection
    properties:
        hostname: string
        port: 0
        relayId: string
        sendKeyName: string
        webAppId: string
    

    WebAppHybridConnection 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 WebAppHybridConnection resource accepts the following input properties:

    Hostname string
    The hostname of the endpoint.
    Port int
    The port to use for the endpoint.
    RelayId string
    The ID of the Relay Hybrid Connection to use. Changing this forces a new resource to be created.
    WebAppId string
    The ID of the Web App for this Hybrid Connection. Changing this forces a new resource to be created.
    SendKeyName string
    The name of the Relay key with Send permission to use. Defaults to RootManageSharedAccessKey
    Hostname string
    The hostname of the endpoint.
    Port int
    The port to use for the endpoint.
    RelayId string
    The ID of the Relay Hybrid Connection to use. Changing this forces a new resource to be created.
    WebAppId string
    The ID of the Web App for this Hybrid Connection. Changing this forces a new resource to be created.
    SendKeyName string
    The name of the Relay key with Send permission to use. Defaults to RootManageSharedAccessKey
    hostname String
    The hostname of the endpoint.
    port Integer
    The port to use for the endpoint.
    relayId String
    The ID of the Relay Hybrid Connection to use. Changing this forces a new resource to be created.
    webAppId String
    The ID of the Web App for this Hybrid Connection. Changing this forces a new resource to be created.
    sendKeyName String
    The name of the Relay key with Send permission to use. Defaults to RootManageSharedAccessKey
    hostname string
    The hostname of the endpoint.
    port number
    The port to use for the endpoint.
    relayId string
    The ID of the Relay Hybrid Connection to use. Changing this forces a new resource to be created.
    webAppId string
    The ID of the Web App for this Hybrid Connection. Changing this forces a new resource to be created.
    sendKeyName string
    The name of the Relay key with Send permission to use. Defaults to RootManageSharedAccessKey
    hostname str
    The hostname of the endpoint.
    port int
    The port to use for the endpoint.
    relay_id str
    The ID of the Relay Hybrid Connection to use. Changing this forces a new resource to be created.
    web_app_id str
    The ID of the Web App for this Hybrid Connection. Changing this forces a new resource to be created.
    send_key_name str
    The name of the Relay key with Send permission to use. Defaults to RootManageSharedAccessKey
    hostname String
    The hostname of the endpoint.
    port Number
    The port to use for the endpoint.
    relayId String
    The ID of the Relay Hybrid Connection to use. Changing this forces a new resource to be created.
    webAppId String
    The ID of the Web App for this Hybrid Connection. Changing this forces a new resource to be created.
    sendKeyName String
    The name of the Relay key with Send permission to use. Defaults to RootManageSharedAccessKey

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    NamespaceName string
    The name of the Relay Namespace.
    RelayName string
    The name of the Relay in use.
    SendKeyValue string
    The Primary Access Key for the send_key_name
    ServiceBusNamespace string
    The Service Bus Namespace.
    ServiceBusSuffix string
    The suffix for the endpoint.
    Id string
    The provider-assigned unique ID for this managed resource.
    NamespaceName string
    The name of the Relay Namespace.
    RelayName string
    The name of the Relay in use.
    SendKeyValue string
    The Primary Access Key for the send_key_name
    ServiceBusNamespace string
    The Service Bus Namespace.
    ServiceBusSuffix string
    The suffix for the endpoint.
    id String
    The provider-assigned unique ID for this managed resource.
    namespaceName String
    The name of the Relay Namespace.
    relayName String
    The name of the Relay in use.
    sendKeyValue String
    The Primary Access Key for the send_key_name
    serviceBusNamespace String
    The Service Bus Namespace.
    serviceBusSuffix String
    The suffix for the endpoint.
    id string
    The provider-assigned unique ID for this managed resource.
    namespaceName string
    The name of the Relay Namespace.
    relayName string
    The name of the Relay in use.
    sendKeyValue string
    The Primary Access Key for the send_key_name
    serviceBusNamespace string
    The Service Bus Namespace.
    serviceBusSuffix string
    The suffix for the endpoint.
    id str
    The provider-assigned unique ID for this managed resource.
    namespace_name str
    The name of the Relay Namespace.
    relay_name str
    The name of the Relay in use.
    send_key_value str
    The Primary Access Key for the send_key_name
    service_bus_namespace str
    The Service Bus Namespace.
    service_bus_suffix str
    The suffix for the endpoint.
    id String
    The provider-assigned unique ID for this managed resource.
    namespaceName String
    The name of the Relay Namespace.
    relayName String
    The name of the Relay in use.
    sendKeyValue String
    The Primary Access Key for the send_key_name
    serviceBusNamespace String
    The Service Bus Namespace.
    serviceBusSuffix String
    The suffix for the endpoint.

    Look up Existing WebAppHybridConnection Resource

    Get an existing WebAppHybridConnection 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?: WebAppHybridConnectionState, opts?: CustomResourceOptions): WebAppHybridConnection
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            hostname: Optional[str] = None,
            namespace_name: Optional[str] = None,
            port: Optional[int] = None,
            relay_id: Optional[str] = None,
            relay_name: Optional[str] = None,
            send_key_name: Optional[str] = None,
            send_key_value: Optional[str] = None,
            service_bus_namespace: Optional[str] = None,
            service_bus_suffix: Optional[str] = None,
            web_app_id: Optional[str] = None) -> WebAppHybridConnection
    func GetWebAppHybridConnection(ctx *Context, name string, id IDInput, state *WebAppHybridConnectionState, opts ...ResourceOption) (*WebAppHybridConnection, error)
    public static WebAppHybridConnection Get(string name, Input<string> id, WebAppHybridConnectionState? state, CustomResourceOptions? opts = null)
    public static WebAppHybridConnection get(String name, Output<String> id, WebAppHybridConnectionState 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:
    Hostname string
    The hostname of the endpoint.
    NamespaceName string
    The name of the Relay Namespace.
    Port int
    The port to use for the endpoint.
    RelayId string
    The ID of the Relay Hybrid Connection to use. Changing this forces a new resource to be created.
    RelayName string
    The name of the Relay in use.
    SendKeyName string
    The name of the Relay key with Send permission to use. Defaults to RootManageSharedAccessKey
    SendKeyValue string
    The Primary Access Key for the send_key_name
    ServiceBusNamespace string
    The Service Bus Namespace.
    ServiceBusSuffix string
    The suffix for the endpoint.
    WebAppId string
    The ID of the Web App for this Hybrid Connection. Changing this forces a new resource to be created.
    Hostname string
    The hostname of the endpoint.
    NamespaceName string
    The name of the Relay Namespace.
    Port int
    The port to use for the endpoint.
    RelayId string
    The ID of the Relay Hybrid Connection to use. Changing this forces a new resource to be created.
    RelayName string
    The name of the Relay in use.
    SendKeyName string
    The name of the Relay key with Send permission to use. Defaults to RootManageSharedAccessKey
    SendKeyValue string
    The Primary Access Key for the send_key_name
    ServiceBusNamespace string
    The Service Bus Namespace.
    ServiceBusSuffix string
    The suffix for the endpoint.
    WebAppId string
    The ID of the Web App for this Hybrid Connection. Changing this forces a new resource to be created.
    hostname String
    The hostname of the endpoint.
    namespaceName String
    The name of the Relay Namespace.
    port Integer
    The port to use for the endpoint.
    relayId String
    The ID of the Relay Hybrid Connection to use. Changing this forces a new resource to be created.
    relayName String
    The name of the Relay in use.
    sendKeyName String
    The name of the Relay key with Send permission to use. Defaults to RootManageSharedAccessKey
    sendKeyValue String
    The Primary Access Key for the send_key_name
    serviceBusNamespace String
    The Service Bus Namespace.
    serviceBusSuffix String
    The suffix for the endpoint.
    webAppId String
    The ID of the Web App for this Hybrid Connection. Changing this forces a new resource to be created.
    hostname string
    The hostname of the endpoint.
    namespaceName string
    The name of the Relay Namespace.
    port number
    The port to use for the endpoint.
    relayId string
    The ID of the Relay Hybrid Connection to use. Changing this forces a new resource to be created.
    relayName string
    The name of the Relay in use.
    sendKeyName string
    The name of the Relay key with Send permission to use. Defaults to RootManageSharedAccessKey
    sendKeyValue string
    The Primary Access Key for the send_key_name
    serviceBusNamespace string
    The Service Bus Namespace.
    serviceBusSuffix string
    The suffix for the endpoint.
    webAppId string
    The ID of the Web App for this Hybrid Connection. Changing this forces a new resource to be created.
    hostname str
    The hostname of the endpoint.
    namespace_name str
    The name of the Relay Namespace.
    port int
    The port to use for the endpoint.
    relay_id str
    The ID of the Relay Hybrid Connection to use. Changing this forces a new resource to be created.
    relay_name str
    The name of the Relay in use.
    send_key_name str
    The name of the Relay key with Send permission to use. Defaults to RootManageSharedAccessKey
    send_key_value str
    The Primary Access Key for the send_key_name
    service_bus_namespace str
    The Service Bus Namespace.
    service_bus_suffix str
    The suffix for the endpoint.
    web_app_id str
    The ID of the Web App for this Hybrid Connection. Changing this forces a new resource to be created.
    hostname String
    The hostname of the endpoint.
    namespaceName String
    The name of the Relay Namespace.
    port Number
    The port to use for the endpoint.
    relayId String
    The ID of the Relay Hybrid Connection to use. Changing this forces a new resource to be created.
    relayName String
    The name of the Relay in use.
    sendKeyName String
    The name of the Relay key with Send permission to use. Defaults to RootManageSharedAccessKey
    sendKeyValue String
    The Primary Access Key for the send_key_name
    serviceBusNamespace String
    The Service Bus Namespace.
    serviceBusSuffix String
    The suffix for the endpoint.
    webAppId String
    The ID of the Web App for this Hybrid Connection. Changing this forces a new resource to be created.

    Import

    a Web App Hybrid Connection can be imported using the resource id, e.g.

    $ pulumi import azure:appservice/webAppHybridConnection:WebAppHybridConnection example "/subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/resGroup1/providers/Microsoft.Web/sites/site1/hybridConnectionNamespaces/hybridConnectionNamespace1/relays/relay1"
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Azure Classic pulumi/pulumi-azure
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the azurerm Terraform Provider.
    azure logo

    We recommend using Azure Native.

    Azure Classic v5.81.0 published on Monday, Jun 24, 2024 by Pulumi