We recommend using Azure Native.
Viewing docs for Azure v4.42.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
We recommend using Azure Native.
Viewing docs for Azure v4.42.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
Use this data source to access information about an existing Azure SignalR service.
Example Usage
using Pulumi;
using Azure = Pulumi.Azure;
class MyStack : Stack
{
public MyStack()
{
var example = Output.Create(Azure.SignalR.GetService.InvokeAsync(new Azure.SignalR.GetServiceArgs
{
Name = "test-signalr",
ResourceGroupName = "signalr-resource-group",
}));
}
}
package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/signalr"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := signalr.LookupService(ctx, &signalr.LookupServiceArgs{
Name: "test-signalr",
ResourceGroupName: "signalr-resource-group",
}, nil)
if err != nil {
return err
}
return nil
})
}
Example coming soon!
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const example = pulumi.output(azure.signalr.getService({
name: "test-signalr",
resourceGroupName: "signalr-resource-group",
}));
import pulumi
import pulumi_azure as azure
example = azure.signalr.get_service(name="test-signalr",
resource_group_name="signalr-resource-group")
Example coming soon!
Using getService
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getService(args: GetServiceArgs, opts?: InvokeOptions): Promise<GetServiceResult>
function getServiceOutput(args: GetServiceOutputArgs, opts?: InvokeOptions): Output<GetServiceResult>def get_service(name: Optional[str] = None,
resource_group_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetServiceResult
def get_service_output(name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetServiceResult]func LookupService(ctx *Context, args *LookupServiceArgs, opts ...InvokeOption) (*LookupServiceResult, error)
func LookupServiceOutput(ctx *Context, args *LookupServiceOutputArgs, opts ...InvokeOption) LookupServiceResultOutput> Note: This function is named LookupService in the Go SDK.
public static class GetService
{
public static Task<GetServiceResult> InvokeAsync(GetServiceArgs args, InvokeOptions? opts = null)
public static Output<GetServiceResult> Invoke(GetServiceInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetServiceResult> getService(GetServiceArgs args, InvokeOptions options)
public static Output<GetServiceResult> getService(GetServiceArgs args, InvokeOptions options)
fn::invoke:
function: azure:signalr/getService:getService
arguments:
# arguments dictionaryThe following arguments are supported:
- Name string
- Specifies the name of the SignalR service.
- Resource
Group stringName - Specifies the name of the resource group the SignalR service is located in.
- Name string
- Specifies the name of the SignalR service.
- Resource
Group stringName - Specifies the name of the resource group the SignalR service is located in.
- name String
- Specifies the name of the SignalR service.
- resource
Group StringName - Specifies the name of the resource group the SignalR service is located in.
- name string
- Specifies the name of the SignalR service.
- resource
Group stringName - Specifies the name of the resource group the SignalR service is located in.
- name str
- Specifies the name of the SignalR service.
- resource_
group_ strname - Specifies the name of the resource group the SignalR service is located in.
- name String
- Specifies the name of the SignalR service.
- resource
Group StringName - Specifies the name of the resource group the SignalR service is located in.
getService Result
The following output properties are available:
- Hostname string
- The FQDN of the SignalR service.
- Id string
- The provider-assigned unique ID for this managed resource.
- Ip
Address string - The publicly accessible IP of the SignalR service.
- Location string
- Specifies the supported Azure location where the SignalR service exists.
- Name string
- Primary
Access stringKey - The primary access key of the SignalR service.
- Primary
Connection stringString - The primary connection string of the SignalR service.
- Public
Port int - The publicly accessible port of the SignalR service which is designed for browser/client use.
- Resource
Group stringName - Secondary
Access stringKey - The secondary access key of the SignalR service.
- Secondary
Connection stringString - The secondary connection string of the SignalR service.
- Server
Port int - The publicly accessible port of the SignalR service which is designed for customer server side use.
- Dictionary<string, string>
- Hostname string
- The FQDN of the SignalR service.
- Id string
- The provider-assigned unique ID for this managed resource.
- Ip
Address string - The publicly accessible IP of the SignalR service.
- Location string
- Specifies the supported Azure location where the SignalR service exists.
- Name string
- Primary
Access stringKey - The primary access key of the SignalR service.
- Primary
Connection stringString - The primary connection string of the SignalR service.
- Public
Port int - The publicly accessible port of the SignalR service which is designed for browser/client use.
- Resource
Group stringName - Secondary
Access stringKey - The secondary access key of the SignalR service.
- Secondary
Connection stringString - The secondary connection string of the SignalR service.
- Server
Port int - The publicly accessible port of the SignalR service which is designed for customer server side use.
- map[string]string
- hostname String
- The FQDN of the SignalR service.
- id String
- The provider-assigned unique ID for this managed resource.
- ip
Address String - The publicly accessible IP of the SignalR service.
- location String
- Specifies the supported Azure location where the SignalR service exists.
- name String
- primary
Access StringKey - The primary access key of the SignalR service.
- primary
Connection StringString - The primary connection string of the SignalR service.
- public
Port Integer - The publicly accessible port of the SignalR service which is designed for browser/client use.
- resource
Group StringName - secondary
Access StringKey - The secondary access key of the SignalR service.
- secondary
Connection StringString - The secondary connection string of the SignalR service.
- server
Port Integer - The publicly accessible port of the SignalR service which is designed for customer server side use.
- Map<String,String>
- hostname string
- The FQDN of the SignalR service.
- id string
- The provider-assigned unique ID for this managed resource.
- ip
Address string - The publicly accessible IP of the SignalR service.
- location string
- Specifies the supported Azure location where the SignalR service exists.
- name string
- primary
Access stringKey - The primary access key of the SignalR service.
- primary
Connection stringString - The primary connection string of the SignalR service.
- public
Port number - The publicly accessible port of the SignalR service which is designed for browser/client use.
- resource
Group stringName - secondary
Access stringKey - The secondary access key of the SignalR service.
- secondary
Connection stringString - The secondary connection string of the SignalR service.
- server
Port number - The publicly accessible port of the SignalR service which is designed for customer server side use.
- {[key: string]: string}
- hostname str
- The FQDN of the SignalR service.
- id str
- The provider-assigned unique ID for this managed resource.
- ip_
address str - The publicly accessible IP of the SignalR service.
- location str
- Specifies the supported Azure location where the SignalR service exists.
- name str
- primary_
access_ strkey - The primary access key of the SignalR service.
- primary_
connection_ strstring - The primary connection string of the SignalR service.
- public_
port int - The publicly accessible port of the SignalR service which is designed for browser/client use.
- resource_
group_ strname - secondary_
access_ strkey - The secondary access key of the SignalR service.
- secondary_
connection_ strstring - The secondary connection string of the SignalR service.
- server_
port int - The publicly accessible port of the SignalR service which is designed for customer server side use.
- Mapping[str, str]
- hostname String
- The FQDN of the SignalR service.
- id String
- The provider-assigned unique ID for this managed resource.
- ip
Address String - The publicly accessible IP of the SignalR service.
- location String
- Specifies the supported Azure location where the SignalR service exists.
- name String
- primary
Access StringKey - The primary access key of the SignalR service.
- primary
Connection StringString - The primary connection string of the SignalR service.
- public
Port Number - The publicly accessible port of the SignalR service which is designed for browser/client use.
- resource
Group StringName - secondary
Access StringKey - The secondary access key of the SignalR service.
- secondary
Connection StringString - The secondary connection string of the SignalR service.
- server
Port Number - The publicly accessible port of the SignalR service which is designed for customer server side use.
- Map<String>
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurermTerraform Provider.
We recommend using Azure Native.
Viewing docs for Azure v4.42.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi