We recommend using Azure Native.
published on Monday, Mar 9, 2026 by Pulumi
We recommend using Azure Native.
published on Monday, Mar 9, 2026 by Pulumi
Manages an Azure Web Pubsub Service.
Example Usage
using Pulumi;
using Azure = Pulumi.Azure;
class MyStack : Stack
{
public MyStack()
{
var exampleResourceGroup = new Azure.Core.ResourceGroup("exampleResourceGroup", new Azure.Core.ResourceGroupArgs
{
Location = "east us",
});
var exampleService = new Azure.WebPubSub.Service("exampleService", new Azure.WebPubSub.ServiceArgs
{
Location = exampleResourceGroup.Location,
ResourceGroupName = exampleResourceGroup.Name,
Sku = "Standard_S1",
Capacity = 1,
PublicNetworkAccessEnabled = false,
LiveTrace = new Azure.WebPubSub.Inputs.ServiceLiveTraceArgs
{
Enabled = true,
MessagingLogsEnabled = true,
ConnectivityLogsEnabled = false,
},
Identity = new Azure.WebPubSub.Inputs.ServiceIdentityArgs
{
Type = "SystemAssigned",
},
});
}
}
package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/webpubsub"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
Location: pulumi.String("east us"),
})
if err != nil {
return err
}
_, err = webpubsub.NewService(ctx, "exampleService", &webpubsub.ServiceArgs{
Location: exampleResourceGroup.Location,
ResourceGroupName: exampleResourceGroup.Name,
Sku: pulumi.String("Standard_S1"),
Capacity: pulumi.Int(1),
PublicNetworkAccessEnabled: pulumi.Bool(false),
LiveTrace: &webpubsub.ServiceLiveTraceArgs{
Enabled: pulumi.Bool(true),
MessagingLogsEnabled: pulumi.Bool(true),
ConnectivityLogsEnabled: pulumi.Bool(false),
},
Identity: &webpubsub.ServiceIdentityArgs{
Type: pulumi.String("SystemAssigned"),
},
})
if err != nil {
return err
}
return nil
})
}
Example coming soon!
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "east us"});
const exampleService = new azure.webpubsub.Service("exampleService", {
location: exampleResourceGroup.location,
resourceGroupName: exampleResourceGroup.name,
sku: "Standard_S1",
capacity: 1,
publicNetworkAccessEnabled: false,
liveTrace: {
enabled: true,
messagingLogsEnabled: true,
connectivityLogsEnabled: false,
},
identity: {
type: "SystemAssigned",
},
});
import pulumi
import pulumi_azure as azure
example_resource_group = azure.core.ResourceGroup("exampleResourceGroup", location="east us")
example_service = azure.webpubsub.Service("exampleService",
location=example_resource_group.location,
resource_group_name=example_resource_group.name,
sku="Standard_S1",
capacity=1,
public_network_access_enabled=False,
live_trace=azure.webpubsub.ServiceLiveTraceArgs(
enabled=True,
messaging_logs_enabled=True,
connectivity_logs_enabled=False,
),
identity=azure.webpubsub.ServiceIdentityArgs(
type="SystemAssigned",
))
Example coming soon!
Create Service Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Service(name: string, args: ServiceArgs, opts?: CustomResourceOptions);@overload
def Service(resource_name: str,
args: ServiceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Service(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_group_name: Optional[str] = None,
sku: Optional[str] = None,
aad_auth_enabled: Optional[bool] = None,
capacity: Optional[int] = None,
identity: Optional[ServiceIdentityArgs] = None,
live_trace: Optional[ServiceLiveTraceArgs] = None,
local_auth_enabled: Optional[bool] = None,
location: Optional[str] = None,
name: Optional[str] = None,
public_network_access_enabled: Optional[bool] = None,
tags: Optional[Mapping[str, str]] = None,
tls_client_cert_enabled: Optional[bool] = None)func NewService(ctx *Context, name string, args ServiceArgs, opts ...ResourceOption) (*Service, error)public Service(string name, ServiceArgs args, CustomResourceOptions? opts = null)
public Service(String name, ServiceArgs args)
public Service(String name, ServiceArgs args, CustomResourceOptions options)
type: azure:webpubsub:Service
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 ServiceArgs
- 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 ServiceArgs
- 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 ServiceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ServiceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ServiceArgs
- 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 exampleserviceResourceResourceFromWebpubsubservice = new Azure.WebPubSub.Service("exampleserviceResourceResourceFromWebpubsubservice", new()
{
ResourceGroupName = "string",
Sku = "string",
AadAuthEnabled = false,
Capacity = 0,
Identity = new Azure.WebPubSub.Inputs.ServiceIdentityArgs
{
Type = "string",
IdentityIds = new[]
{
"string",
},
PrincipalId = "string",
TenantId = "string",
},
LiveTrace = new Azure.WebPubSub.Inputs.ServiceLiveTraceArgs
{
ConnectivityLogsEnabled = false,
Enabled = false,
HttpRequestLogsEnabled = false,
MessagingLogsEnabled = false,
},
LocalAuthEnabled = false,
Location = "string",
Name = "string",
PublicNetworkAccessEnabled = false,
Tags =
{
{ "string", "string" },
},
TlsClientCertEnabled = false,
});
example, err := webpubsub.NewService(ctx, "exampleserviceResourceResourceFromWebpubsubservice", &webpubsub.ServiceArgs{
ResourceGroupName: pulumi.String("string"),
Sku: pulumi.String("string"),
AadAuthEnabled: pulumi.Bool(false),
Capacity: pulumi.Int(0),
Identity: &webpubsub.ServiceIdentityArgs{
Type: pulumi.String("string"),
IdentityIds: pulumi.StringArray{
pulumi.String("string"),
},
PrincipalId: pulumi.String("string"),
TenantId: pulumi.String("string"),
},
LiveTrace: &webpubsub.ServiceLiveTraceArgs{
ConnectivityLogsEnabled: pulumi.Bool(false),
Enabled: pulumi.Bool(false),
HttpRequestLogsEnabled: pulumi.Bool(false),
MessagingLogsEnabled: pulumi.Bool(false),
},
LocalAuthEnabled: pulumi.Bool(false),
Location: pulumi.String("string"),
Name: pulumi.String("string"),
PublicNetworkAccessEnabled: pulumi.Bool(false),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
TlsClientCertEnabled: pulumi.Bool(false),
})
var exampleserviceResourceResourceFromWebpubsubservice = new com.pulumi.azure.webpubsub.Service("exampleserviceResourceResourceFromWebpubsubservice", com.pulumi.azure.webpubsub.ServiceArgs.builder()
.resourceGroupName("string")
.sku("string")
.aadAuthEnabled(false)
.capacity(0)
.identity(ServiceIdentityArgs.builder()
.type("string")
.identityIds("string")
.principalId("string")
.tenantId("string")
.build())
.liveTrace(ServiceLiveTraceArgs.builder()
.connectivityLogsEnabled(false)
.enabled(false)
.httpRequestLogsEnabled(false)
.messagingLogsEnabled(false)
.build())
.localAuthEnabled(false)
.location("string")
.name("string")
.publicNetworkAccessEnabled(false)
.tags(Map.of("string", "string"))
.tlsClientCertEnabled(false)
.build());
exampleservice_resource_resource_from_webpubsubservice = azure.webpubsub.Service("exampleserviceResourceResourceFromWebpubsubservice",
resource_group_name="string",
sku="string",
aad_auth_enabled=False,
capacity=0,
identity={
"type": "string",
"identity_ids": ["string"],
"principal_id": "string",
"tenant_id": "string",
},
live_trace={
"connectivity_logs_enabled": False,
"enabled": False,
"http_request_logs_enabled": False,
"messaging_logs_enabled": False,
},
local_auth_enabled=False,
location="string",
name="string",
public_network_access_enabled=False,
tags={
"string": "string",
},
tls_client_cert_enabled=False)
const exampleserviceResourceResourceFromWebpubsubservice = new azure.webpubsub.Service("exampleserviceResourceResourceFromWebpubsubservice", {
resourceGroupName: "string",
sku: "string",
aadAuthEnabled: false,
capacity: 0,
identity: {
type: "string",
identityIds: ["string"],
principalId: "string",
tenantId: "string",
},
liveTrace: {
connectivityLogsEnabled: false,
enabled: false,
httpRequestLogsEnabled: false,
messagingLogsEnabled: false,
},
localAuthEnabled: false,
location: "string",
name: "string",
publicNetworkAccessEnabled: false,
tags: {
string: "string",
},
tlsClientCertEnabled: false,
});
type: azure:webpubsub:Service
properties:
aadAuthEnabled: false
capacity: 0
identity:
identityIds:
- string
principalId: string
tenantId: string
type: string
liveTrace:
connectivityLogsEnabled: false
enabled: false
httpRequestLogsEnabled: false
messagingLogsEnabled: false
localAuthEnabled: false
location: string
name: string
publicNetworkAccessEnabled: false
resourceGroupName: string
sku: string
tags:
string: string
tlsClientCertEnabled: false
Service Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Service resource accepts the following input properties:
- Resource
Group stringName - The name of the resource group in which to create the Web Pubsub service. Changing this forces a new resource to be created.
- Sku string
- Specifies which sku to use. Possible values are
Free_F1andStandard_S1. - Aad
Auth boolEnabled - Whether to enable AAD auth? Defaults to
true. - Capacity int
- Specifies the number of units associated with this Web Pubsub resource. Valid values are:
Free:
1, Standard:1,2,5,10,20,50,100. - Identity
Service
Identity - An
identityblock as defined below. - Live
Trace ServiceLive Trace - A
live_traceblock as defined below. - Local
Auth boolEnabled - Whether to enable local auth? Defaults to
true. - Location string
- Specifies the supported Azure location where the Web Pubsub service exists. Changing this forces a new resource to be created.
- Name string
- The name of the Web Pubsub service. Changing this forces a new resource to be created.
- Public
Network boolAccess Enabled - Whether to enable public network access? Defaults to
true. - Dictionary<string, string>
- A mapping of tags to assign to the resource.
- Tls
Client boolCert Enabled - Whether to request client certificate during TLS handshake? Defaults
to
false.
- Resource
Group stringName - The name of the resource group in which to create the Web Pubsub service. Changing this forces a new resource to be created.
- Sku string
- Specifies which sku to use. Possible values are
Free_F1andStandard_S1. - Aad
Auth boolEnabled - Whether to enable AAD auth? Defaults to
true. - Capacity int
- Specifies the number of units associated with this Web Pubsub resource. Valid values are:
Free:
1, Standard:1,2,5,10,20,50,100. - Identity
Service
Identity Args - An
identityblock as defined below. - Live
Trace ServiceLive Trace Args - A
live_traceblock as defined below. - Local
Auth boolEnabled - Whether to enable local auth? Defaults to
true. - Location string
- Specifies the supported Azure location where the Web Pubsub service exists. Changing this forces a new resource to be created.
- Name string
- The name of the Web Pubsub service. Changing this forces a new resource to be created.
- Public
Network boolAccess Enabled - Whether to enable public network access? Defaults to
true. - map[string]string
- A mapping of tags to assign to the resource.
- Tls
Client boolCert Enabled - Whether to request client certificate during TLS handshake? Defaults
to
false.
- resource
Group StringName - The name of the resource group in which to create the Web Pubsub service. Changing this forces a new resource to be created.
- sku String
- Specifies which sku to use. Possible values are
Free_F1andStandard_S1. - aad
Auth BooleanEnabled - Whether to enable AAD auth? Defaults to
true. - capacity Integer
- Specifies the number of units associated with this Web Pubsub resource. Valid values are:
Free:
1, Standard:1,2,5,10,20,50,100. - identity
Service
Identity - An
identityblock as defined below. - live
Trace ServiceLive Trace - A
live_traceblock as defined below. - local
Auth BooleanEnabled - Whether to enable local auth? Defaults to
true. - location String
- Specifies the supported Azure location where the Web Pubsub service exists. Changing this forces a new resource to be created.
- name String
- The name of the Web Pubsub service. Changing this forces a new resource to be created.
- public
Network BooleanAccess Enabled - Whether to enable public network access? Defaults to
true. - Map<String,String>
- A mapping of tags to assign to the resource.
- tls
Client BooleanCert Enabled - Whether to request client certificate during TLS handshake? Defaults
to
false.
- resource
Group stringName - The name of the resource group in which to create the Web Pubsub service. Changing this forces a new resource to be created.
- sku string
- Specifies which sku to use. Possible values are
Free_F1andStandard_S1. - aad
Auth booleanEnabled - Whether to enable AAD auth? Defaults to
true. - capacity number
- Specifies the number of units associated with this Web Pubsub resource. Valid values are:
Free:
1, Standard:1,2,5,10,20,50,100. - identity
Service
Identity - An
identityblock as defined below. - live
Trace ServiceLive Trace - A
live_traceblock as defined below. - local
Auth booleanEnabled - Whether to enable local auth? Defaults to
true. - location string
- Specifies the supported Azure location where the Web Pubsub service exists. Changing this forces a new resource to be created.
- name string
- The name of the Web Pubsub service. Changing this forces a new resource to be created.
- public
Network booleanAccess Enabled - Whether to enable public network access? Defaults to
true. - {[key: string]: string}
- A mapping of tags to assign to the resource.
- tls
Client booleanCert Enabled - Whether to request client certificate during TLS handshake? Defaults
to
false.
- resource_
group_ strname - The name of the resource group in which to create the Web Pubsub service. Changing this forces a new resource to be created.
- sku str
- Specifies which sku to use. Possible values are
Free_F1andStandard_S1. - aad_
auth_ boolenabled - Whether to enable AAD auth? Defaults to
true. - capacity int
- Specifies the number of units associated with this Web Pubsub resource. Valid values are:
Free:
1, Standard:1,2,5,10,20,50,100. - identity
Service
Identity Args - An
identityblock as defined below. - live_
trace ServiceLive Trace Args - A
live_traceblock as defined below. - local_
auth_ boolenabled - Whether to enable local auth? Defaults to
true. - location str
- Specifies the supported Azure location where the Web Pubsub service exists. Changing this forces a new resource to be created.
- name str
- The name of the Web Pubsub service. Changing this forces a new resource to be created.
- public_
network_ boolaccess_ enabled - Whether to enable public network access? Defaults to
true. - Mapping[str, str]
- A mapping of tags to assign to the resource.
- tls_
client_ boolcert_ enabled - Whether to request client certificate during TLS handshake? Defaults
to
false.
- resource
Group StringName - The name of the resource group in which to create the Web Pubsub service. Changing this forces a new resource to be created.
- sku String
- Specifies which sku to use. Possible values are
Free_F1andStandard_S1. - aad
Auth BooleanEnabled - Whether to enable AAD auth? Defaults to
true. - capacity Number
- Specifies the number of units associated with this Web Pubsub resource. Valid values are:
Free:
1, Standard:1,2,5,10,20,50,100. - identity Property Map
- An
identityblock as defined below. - live
Trace Property Map - A
live_traceblock as defined below. - local
Auth BooleanEnabled - Whether to enable local auth? Defaults to
true. - location String
- Specifies the supported Azure location where the Web Pubsub service exists. Changing this forces a new resource to be created.
- name String
- The name of the Web Pubsub service. Changing this forces a new resource to be created.
- public
Network BooleanAccess Enabled - Whether to enable public network access? Defaults to
true. - Map<String>
- A mapping of tags to assign to the resource.
- tls
Client BooleanCert Enabled - Whether to request client certificate during TLS handshake? Defaults
to
false.
Outputs
All input properties are implicitly available as output properties. Additionally, the Service resource produces the following output properties:
- External
Ip string - Hostname string
- The FQDN of the Web Pubsub service.
- Id string
- The provider-assigned unique ID for this managed resource.
- Primary
Access stringKey - The primary access key for the Web Pubsub service.
- Primary
Connection stringString - The primary connection string for the Web Pubsub service.
- Public
Port int - The publicly accessible port of the Web Pubsub service which is designed for browser/client use.
- Secondary
Access stringKey - The secondary access key for the Web Pubsub service.
- Secondary
Connection stringString - The secondary connection string for the Web Pubsub service.
- Server
Port int - The publicly accessible port of the Web Pubsub service which is designed for customer server side use.
- Version string
- External
Ip string - Hostname string
- The FQDN of the Web Pubsub service.
- Id string
- The provider-assigned unique ID for this managed resource.
- Primary
Access stringKey - The primary access key for the Web Pubsub service.
- Primary
Connection stringString - The primary connection string for the Web Pubsub service.
- Public
Port int - The publicly accessible port of the Web Pubsub service which is designed for browser/client use.
- Secondary
Access stringKey - The secondary access key for the Web Pubsub service.
- Secondary
Connection stringString - The secondary connection string for the Web Pubsub service.
- Server
Port int - The publicly accessible port of the Web Pubsub service which is designed for customer server side use.
- Version string
- external
Ip String - hostname String
- The FQDN of the Web Pubsub service.
- id String
- The provider-assigned unique ID for this managed resource.
- primary
Access StringKey - The primary access key for the Web Pubsub service.
- primary
Connection StringString - The primary connection string for the Web Pubsub service.
- public
Port Integer - The publicly accessible port of the Web Pubsub service which is designed for browser/client use.
- secondary
Access StringKey - The secondary access key for the Web Pubsub service.
- secondary
Connection StringString - The secondary connection string for the Web Pubsub service.
- server
Port Integer - The publicly accessible port of the Web Pubsub service which is designed for customer server side use.
- version String
- external
Ip string - hostname string
- The FQDN of the Web Pubsub service.
- id string
- The provider-assigned unique ID for this managed resource.
- primary
Access stringKey - The primary access key for the Web Pubsub service.
- primary
Connection stringString - The primary connection string for the Web Pubsub service.
- public
Port number - The publicly accessible port of the Web Pubsub service which is designed for browser/client use.
- secondary
Access stringKey - The secondary access key for the Web Pubsub service.
- secondary
Connection stringString - The secondary connection string for the Web Pubsub service.
- server
Port number - The publicly accessible port of the Web Pubsub service which is designed for customer server side use.
- version string
- external_
ip str - hostname str
- The FQDN of the Web Pubsub service.
- id str
- The provider-assigned unique ID for this managed resource.
- primary_
access_ strkey - The primary access key for the Web Pubsub service.
- primary_
connection_ strstring - The primary connection string for the Web Pubsub service.
- public_
port int - The publicly accessible port of the Web Pubsub service which is designed for browser/client use.
- secondary_
access_ strkey - The secondary access key for the Web Pubsub service.
- secondary_
connection_ strstring - The secondary connection string for the Web Pubsub service.
- server_
port int - The publicly accessible port of the Web Pubsub service which is designed for customer server side use.
- version str
- external
Ip String - hostname String
- The FQDN of the Web Pubsub service.
- id String
- The provider-assigned unique ID for this managed resource.
- primary
Access StringKey - The primary access key for the Web Pubsub service.
- primary
Connection StringString - The primary connection string for the Web Pubsub service.
- public
Port Number - The publicly accessible port of the Web Pubsub service which is designed for browser/client use.
- secondary
Access StringKey - The secondary access key for the Web Pubsub service.
- secondary
Connection StringString - The secondary connection string for the Web Pubsub service.
- server
Port Number - The publicly accessible port of the Web Pubsub service which is designed for customer server side use.
- version String
Look up Existing Service Resource
Get an existing Service 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?: ServiceState, opts?: CustomResourceOptions): Service@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
aad_auth_enabled: Optional[bool] = None,
capacity: Optional[int] = None,
external_ip: Optional[str] = None,
hostname: Optional[str] = None,
identity: Optional[ServiceIdentityArgs] = None,
live_trace: Optional[ServiceLiveTraceArgs] = None,
local_auth_enabled: Optional[bool] = None,
location: Optional[str] = None,
name: Optional[str] = None,
primary_access_key: Optional[str] = None,
primary_connection_string: Optional[str] = None,
public_network_access_enabled: Optional[bool] = None,
public_port: Optional[int] = None,
resource_group_name: Optional[str] = None,
secondary_access_key: Optional[str] = None,
secondary_connection_string: Optional[str] = None,
server_port: Optional[int] = None,
sku: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
tls_client_cert_enabled: Optional[bool] = None,
version: Optional[str] = None) -> Servicefunc GetService(ctx *Context, name string, id IDInput, state *ServiceState, opts ...ResourceOption) (*Service, error)public static Service Get(string name, Input<string> id, ServiceState? state, CustomResourceOptions? opts = null)public static Service get(String name, Output<String> id, ServiceState state, CustomResourceOptions options)resources: _: type: azure:webpubsub:Service get: id: ${id}- 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.
- Aad
Auth boolEnabled - Whether to enable AAD auth? Defaults to
true. - Capacity int
- Specifies the number of units associated with this Web Pubsub resource. Valid values are:
Free:
1, Standard:1,2,5,10,20,50,100. - External
Ip string - Hostname string
- The FQDN of the Web Pubsub service.
- Identity
Service
Identity - An
identityblock as defined below. - Live
Trace ServiceLive Trace - A
live_traceblock as defined below. - Local
Auth boolEnabled - Whether to enable local auth? Defaults to
true. - Location string
- Specifies the supported Azure location where the Web Pubsub service exists. Changing this forces a new resource to be created.
- Name string
- The name of the Web Pubsub service. Changing this forces a new resource to be created.
- Primary
Access stringKey - The primary access key for the Web Pubsub service.
- Primary
Connection stringString - The primary connection string for the Web Pubsub service.
- Public
Network boolAccess Enabled - Whether to enable public network access? Defaults to
true. - Public
Port int - The publicly accessible port of the Web Pubsub service which is designed for browser/client use.
- Resource
Group stringName - The name of the resource group in which to create the Web Pubsub service. Changing this forces a new resource to be created.
- Secondary
Access stringKey - The secondary access key for the Web Pubsub service.
- Secondary
Connection stringString - The secondary connection string for the Web Pubsub service.
- Server
Port int - The publicly accessible port of the Web Pubsub service which is designed for customer server side use.
- Sku string
- Specifies which sku to use. Possible values are
Free_F1andStandard_S1. - Dictionary<string, string>
- A mapping of tags to assign to the resource.
- Tls
Client boolCert Enabled - Whether to request client certificate during TLS handshake? Defaults
to
false. - Version string
- Aad
Auth boolEnabled - Whether to enable AAD auth? Defaults to
true. - Capacity int
- Specifies the number of units associated with this Web Pubsub resource. Valid values are:
Free:
1, Standard:1,2,5,10,20,50,100. - External
Ip string - Hostname string
- The FQDN of the Web Pubsub service.
- Identity
Service
Identity Args - An
identityblock as defined below. - Live
Trace ServiceLive Trace Args - A
live_traceblock as defined below. - Local
Auth boolEnabled - Whether to enable local auth? Defaults to
true. - Location string
- Specifies the supported Azure location where the Web Pubsub service exists. Changing this forces a new resource to be created.
- Name string
- The name of the Web Pubsub service. Changing this forces a new resource to be created.
- Primary
Access stringKey - The primary access key for the Web Pubsub service.
- Primary
Connection stringString - The primary connection string for the Web Pubsub service.
- Public
Network boolAccess Enabled - Whether to enable public network access? Defaults to
true. - Public
Port int - The publicly accessible port of the Web Pubsub service which is designed for browser/client use.
- Resource
Group stringName - The name of the resource group in which to create the Web Pubsub service. Changing this forces a new resource to be created.
- Secondary
Access stringKey - The secondary access key for the Web Pubsub service.
- Secondary
Connection stringString - The secondary connection string for the Web Pubsub service.
- Server
Port int - The publicly accessible port of the Web Pubsub service which is designed for customer server side use.
- Sku string
- Specifies which sku to use. Possible values are
Free_F1andStandard_S1. - map[string]string
- A mapping of tags to assign to the resource.
- Tls
Client boolCert Enabled - Whether to request client certificate during TLS handshake? Defaults
to
false. - Version string
- aad
Auth BooleanEnabled - Whether to enable AAD auth? Defaults to
true. - capacity Integer
- Specifies the number of units associated with this Web Pubsub resource. Valid values are:
Free:
1, Standard:1,2,5,10,20,50,100. - external
Ip String - hostname String
- The FQDN of the Web Pubsub service.
- identity
Service
Identity - An
identityblock as defined below. - live
Trace ServiceLive Trace - A
live_traceblock as defined below. - local
Auth BooleanEnabled - Whether to enable local auth? Defaults to
true. - location String
- Specifies the supported Azure location where the Web Pubsub service exists. Changing this forces a new resource to be created.
- name String
- The name of the Web Pubsub service. Changing this forces a new resource to be created.
- primary
Access StringKey - The primary access key for the Web Pubsub service.
- primary
Connection StringString - The primary connection string for the Web Pubsub service.
- public
Network BooleanAccess Enabled - Whether to enable public network access? Defaults to
true. - public
Port Integer - The publicly accessible port of the Web Pubsub service which is designed for browser/client use.
- resource
Group StringName - The name of the resource group in which to create the Web Pubsub service. Changing this forces a new resource to be created.
- secondary
Access StringKey - The secondary access key for the Web Pubsub service.
- secondary
Connection StringString - The secondary connection string for the Web Pubsub service.
- server
Port Integer - The publicly accessible port of the Web Pubsub service which is designed for customer server side use.
- sku String
- Specifies which sku to use. Possible values are
Free_F1andStandard_S1. - Map<String,String>
- A mapping of tags to assign to the resource.
- tls
Client BooleanCert Enabled - Whether to request client certificate during TLS handshake? Defaults
to
false. - version String
- aad
Auth booleanEnabled - Whether to enable AAD auth? Defaults to
true. - capacity number
- Specifies the number of units associated with this Web Pubsub resource. Valid values are:
Free:
1, Standard:1,2,5,10,20,50,100. - external
Ip string - hostname string
- The FQDN of the Web Pubsub service.
- identity
Service
Identity - An
identityblock as defined below. - live
Trace ServiceLive Trace - A
live_traceblock as defined below. - local
Auth booleanEnabled - Whether to enable local auth? Defaults to
true. - location string
- Specifies the supported Azure location where the Web Pubsub service exists. Changing this forces a new resource to be created.
- name string
- The name of the Web Pubsub service. Changing this forces a new resource to be created.
- primary
Access stringKey - The primary access key for the Web Pubsub service.
- primary
Connection stringString - The primary connection string for the Web Pubsub service.
- public
Network booleanAccess Enabled - Whether to enable public network access? Defaults to
true. - public
Port number - The publicly accessible port of the Web Pubsub service which is designed for browser/client use.
- resource
Group stringName - The name of the resource group in which to create the Web Pubsub service. Changing this forces a new resource to be created.
- secondary
Access stringKey - The secondary access key for the Web Pubsub service.
- secondary
Connection stringString - The secondary connection string for the Web Pubsub service.
- server
Port number - The publicly accessible port of the Web Pubsub service which is designed for customer server side use.
- sku string
- Specifies which sku to use. Possible values are
Free_F1andStandard_S1. - {[key: string]: string}
- A mapping of tags to assign to the resource.
- tls
Client booleanCert Enabled - Whether to request client certificate during TLS handshake? Defaults
to
false. - version string
- aad_
auth_ boolenabled - Whether to enable AAD auth? Defaults to
true. - capacity int
- Specifies the number of units associated with this Web Pubsub resource. Valid values are:
Free:
1, Standard:1,2,5,10,20,50,100. - external_
ip str - hostname str
- The FQDN of the Web Pubsub service.
- identity
Service
Identity Args - An
identityblock as defined below. - live_
trace ServiceLive Trace Args - A
live_traceblock as defined below. - local_
auth_ boolenabled - Whether to enable local auth? Defaults to
true. - location str
- Specifies the supported Azure location where the Web Pubsub service exists. Changing this forces a new resource to be created.
- name str
- The name of the Web Pubsub service. Changing this forces a new resource to be created.
- primary_
access_ strkey - The primary access key for the Web Pubsub service.
- primary_
connection_ strstring - The primary connection string for the Web Pubsub service.
- public_
network_ boolaccess_ enabled - Whether to enable public network access? Defaults to
true. - public_
port int - The publicly accessible port of the Web Pubsub service which is designed for browser/client use.
- resource_
group_ strname - The name of the resource group in which to create the Web Pubsub service. Changing this forces a new resource to be created.
- secondary_
access_ strkey - The secondary access key for the Web Pubsub service.
- secondary_
connection_ strstring - The secondary connection string for the Web Pubsub service.
- server_
port int - The publicly accessible port of the Web Pubsub service which is designed for customer server side use.
- sku str
- Specifies which sku to use. Possible values are
Free_F1andStandard_S1. - Mapping[str, str]
- A mapping of tags to assign to the resource.
- tls_
client_ boolcert_ enabled - Whether to request client certificate during TLS handshake? Defaults
to
false. - version str
- aad
Auth BooleanEnabled - Whether to enable AAD auth? Defaults to
true. - capacity Number
- Specifies the number of units associated with this Web Pubsub resource. Valid values are:
Free:
1, Standard:1,2,5,10,20,50,100. - external
Ip String - hostname String
- The FQDN of the Web Pubsub service.
- identity Property Map
- An
identityblock as defined below. - live
Trace Property Map - A
live_traceblock as defined below. - local
Auth BooleanEnabled - Whether to enable local auth? Defaults to
true. - location String
- Specifies the supported Azure location where the Web Pubsub service exists. Changing this forces a new resource to be created.
- name String
- The name of the Web Pubsub service. Changing this forces a new resource to be created.
- primary
Access StringKey - The primary access key for the Web Pubsub service.
- primary
Connection StringString - The primary connection string for the Web Pubsub service.
- public
Network BooleanAccess Enabled - Whether to enable public network access? Defaults to
true. - public
Port Number - The publicly accessible port of the Web Pubsub service which is designed for browser/client use.
- resource
Group StringName - The name of the resource group in which to create the Web Pubsub service. Changing this forces a new resource to be created.
- secondary
Access StringKey - The secondary access key for the Web Pubsub service.
- secondary
Connection StringString - The secondary connection string for the Web Pubsub service.
- server
Port Number - The publicly accessible port of the Web Pubsub service which is designed for customer server side use.
- sku String
- Specifies which sku to use. Possible values are
Free_F1andStandard_S1. - Map<String>
- A mapping of tags to assign to the resource.
- tls
Client BooleanCert Enabled - Whether to request client certificate during TLS handshake? Defaults
to
false. - version String
Supporting Types
ServiceIdentity, ServiceIdentityArgs
- Type string
- The type of identity used for the Web PubSub service. Possible values are
SystemAssignedandUserAssigned. IfUserAssignedis set, auser_assigned_identity_idmust be set as well. - Identity
Ids List<string> - A list of User Assigned Identity IDs which should be assigned to this Web PubSub service.
- Principal
Id string - Tenant
Id string
- Type string
- The type of identity used for the Web PubSub service. Possible values are
SystemAssignedandUserAssigned. IfUserAssignedis set, auser_assigned_identity_idmust be set as well. - Identity
Ids []string - A list of User Assigned Identity IDs which should be assigned to this Web PubSub service.
- Principal
Id string - Tenant
Id string
- type String
- The type of identity used for the Web PubSub service. Possible values are
SystemAssignedandUserAssigned. IfUserAssignedis set, auser_assigned_identity_idmust be set as well. - identity
Ids List<String> - A list of User Assigned Identity IDs which should be assigned to this Web PubSub service.
- principal
Id String - tenant
Id String
- type string
- The type of identity used for the Web PubSub service. Possible values are
SystemAssignedandUserAssigned. IfUserAssignedis set, auser_assigned_identity_idmust be set as well. - identity
Ids string[] - A list of User Assigned Identity IDs which should be assigned to this Web PubSub service.
- principal
Id string - tenant
Id string
- type str
- The type of identity used for the Web PubSub service. Possible values are
SystemAssignedandUserAssigned. IfUserAssignedis set, auser_assigned_identity_idmust be set as well. - identity_
ids Sequence[str] - A list of User Assigned Identity IDs which should be assigned to this Web PubSub service.
- principal_
id str - tenant_
id str
- type String
- The type of identity used for the Web PubSub service. Possible values are
SystemAssignedandUserAssigned. IfUserAssignedis set, auser_assigned_identity_idmust be set as well. - identity
Ids List<String> - A list of User Assigned Identity IDs which should be assigned to this Web PubSub service.
- principal
Id String - tenant
Id String
ServiceLiveTrace, ServiceLiveTraceArgs
- Connectivity
Logs boolEnabled - Whether the log category
ConnectivityLogsis enabled? Defaults totrue - Enabled bool
- Whether the live trace is enabled? Defaults to
true. - Http
Request boolLogs Enabled - Whether the log category
HttpRequestLogsis enabled? Defaults totrue - Messaging
Logs boolEnabled - Whether the log category
MessagingLogsis enabled? Defaults totrue
- Connectivity
Logs boolEnabled - Whether the log category
ConnectivityLogsis enabled? Defaults totrue - Enabled bool
- Whether the live trace is enabled? Defaults to
true. - Http
Request boolLogs Enabled - Whether the log category
HttpRequestLogsis enabled? Defaults totrue - Messaging
Logs boolEnabled - Whether the log category
MessagingLogsis enabled? Defaults totrue
- connectivity
Logs BooleanEnabled - Whether the log category
ConnectivityLogsis enabled? Defaults totrue - enabled Boolean
- Whether the live trace is enabled? Defaults to
true. - http
Request BooleanLogs Enabled - Whether the log category
HttpRequestLogsis enabled? Defaults totrue - messaging
Logs BooleanEnabled - Whether the log category
MessagingLogsis enabled? Defaults totrue
- connectivity
Logs booleanEnabled - Whether the log category
ConnectivityLogsis enabled? Defaults totrue - enabled boolean
- Whether the live trace is enabled? Defaults to
true. - http
Request booleanLogs Enabled - Whether the log category
HttpRequestLogsis enabled? Defaults totrue - messaging
Logs booleanEnabled - Whether the log category
MessagingLogsis enabled? Defaults totrue
- connectivity_
logs_ boolenabled - Whether the log category
ConnectivityLogsis enabled? Defaults totrue - enabled bool
- Whether the live trace is enabled? Defaults to
true. - http_
request_ boollogs_ enabled - Whether the log category
HttpRequestLogsis enabled? Defaults totrue - messaging_
logs_ boolenabled - Whether the log category
MessagingLogsis enabled? Defaults totrue
- connectivity
Logs BooleanEnabled - Whether the log category
ConnectivityLogsis enabled? Defaults totrue - enabled Boolean
- Whether the live trace is enabled? Defaults to
true. - http
Request BooleanLogs Enabled - Whether the log category
HttpRequestLogsis enabled? Defaults totrue - messaging
Logs BooleanEnabled - Whether the log category
MessagingLogsis enabled? Defaults totrue
Import
Web Pubsub services can be imported using the resource id, e.g.
$ pulumi import azure:webpubsub/service:Service example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.SignalRService/webPubSub/pubsub1
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
azurermTerraform Provider.
We recommend using Azure Native.
published on Monday, Mar 9, 2026 by Pulumi
