azure.signalr.Service
Manages an Azure SignalR service.
Example Usage
using System.Collections.Generic;
using Pulumi;
using Azure = Pulumi.Azure;
return await Deployment.RunAsync(() =>
{
var exampleResourceGroup = new Azure.Core.ResourceGroup("exampleResourceGroup", new()
{
Location = "West US",
});
var exampleService = new Azure.SignalR.Service("exampleService", new()
{
Location = exampleResourceGroup.Location,
ResourceGroupName = exampleResourceGroup.Name,
Sku = new Azure.SignalR.Inputs.ServiceSkuArgs
{
Name = "Free_F1",
Capacity = 1,
},
Cors = new[]
{
new Azure.SignalR.Inputs.ServiceCorArgs
{
AllowedOrigins = new[]
{
"http://www.example.com",
},
},
},
ConnectivityLogsEnabled = true,
MessagingLogsEnabled = true,
ServiceMode = "Default",
UpstreamEndpoints = new[]
{
new Azure.SignalR.Inputs.ServiceUpstreamEndpointArgs
{
CategoryPatterns = new[]
{
"connections",
"messages",
},
EventPatterns = new[]
{
"*",
},
HubPatterns = new[]
{
"hub1",
},
UrlTemplate = "http://foo.com",
},
},
});
});
package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/signalr"
"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("West US"),
})
if err != nil {
return err
}
_, err = signalr.NewService(ctx, "exampleService", &signalr.ServiceArgs{
Location: exampleResourceGroup.Location,
ResourceGroupName: exampleResourceGroup.Name,
Sku: &signalr.ServiceSkuArgs{
Name: pulumi.String("Free_F1"),
Capacity: pulumi.Int(1),
},
Cors: signalr.ServiceCorArray{
&signalr.ServiceCorArgs{
AllowedOrigins: pulumi.StringArray{
pulumi.String("http://www.example.com"),
},
},
},
ConnectivityLogsEnabled: pulumi.Bool(true),
MessagingLogsEnabled: pulumi.Bool(true),
ServiceMode: pulumi.String("Default"),
UpstreamEndpoints: signalr.ServiceUpstreamEndpointArray{
&signalr.ServiceUpstreamEndpointArgs{
CategoryPatterns: pulumi.StringArray{
pulumi.String("connections"),
pulumi.String("messages"),
},
EventPatterns: pulumi.StringArray{
pulumi.String("*"),
},
HubPatterns: pulumi.StringArray{
pulumi.String("hub1"),
},
UrlTemplate: pulumi.String("http://foo.com"),
},
},
})
if err != nil {
return err
}
return nil
})
}
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.signalr.Service;
import com.pulumi.azure.signalr.ServiceArgs;
import com.pulumi.azure.signalr.inputs.ServiceSkuArgs;
import com.pulumi.azure.signalr.inputs.ServiceCorArgs;
import com.pulumi.azure.signalr.inputs.ServiceUpstreamEndpointArgs;
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 exampleResourceGroup = new ResourceGroup("exampleResourceGroup", ResourceGroupArgs.builder()
.location("West US")
.build());
var exampleService = new Service("exampleService", ServiceArgs.builder()
.location(exampleResourceGroup.location())
.resourceGroupName(exampleResourceGroup.name())
.sku(ServiceSkuArgs.builder()
.name("Free_F1")
.capacity(1)
.build())
.cors(ServiceCorArgs.builder()
.allowedOrigins("http://www.example.com")
.build())
.connectivityLogsEnabled(true)
.messagingLogsEnabled(true)
.serviceMode("Default")
.upstreamEndpoints(ServiceUpstreamEndpointArgs.builder()
.categoryPatterns(
"connections",
"messages")
.eventPatterns("*")
.hubPatterns("hub1")
.urlTemplate("http://foo.com")
.build())
.build());
}
}
import pulumi
import pulumi_azure as azure
example_resource_group = azure.core.ResourceGroup("exampleResourceGroup", location="West US")
example_service = azure.signalr.Service("exampleService",
location=example_resource_group.location,
resource_group_name=example_resource_group.name,
sku=azure.signalr.ServiceSkuArgs(
name="Free_F1",
capacity=1,
),
cors=[azure.signalr.ServiceCorArgs(
allowed_origins=["http://www.example.com"],
)],
connectivity_logs_enabled=True,
messaging_logs_enabled=True,
service_mode="Default",
upstream_endpoints=[azure.signalr.ServiceUpstreamEndpointArgs(
category_patterns=[
"connections",
"messages",
],
event_patterns=["*"],
hub_patterns=["hub1"],
url_template="http://foo.com",
)])
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West US"});
const exampleService = new azure.signalr.Service("exampleService", {
location: exampleResourceGroup.location,
resourceGroupName: exampleResourceGroup.name,
sku: {
name: "Free_F1",
capacity: 1,
},
cors: [{
allowedOrigins: ["http://www.example.com"],
}],
connectivityLogsEnabled: true,
messagingLogsEnabled: true,
serviceMode: "Default",
upstreamEndpoints: [{
categoryPatterns: [
"connections",
"messages",
],
eventPatterns: ["*"],
hubPatterns: ["hub1"],
urlTemplate: "http://foo.com",
}],
});
resources:
exampleResourceGroup:
type: azure:core:ResourceGroup
properties:
location: West US
exampleService:
type: azure:signalr:Service
properties:
location: ${exampleResourceGroup.location}
resourceGroupName: ${exampleResourceGroup.name}
sku:
name: Free_F1
capacity: 1
cors:
- allowedOrigins:
- http://www.example.com
connectivityLogsEnabled: true
messagingLogsEnabled: true
serviceMode: Default
upstreamEndpoints:
- categoryPatterns:
- connections
- messages
eventPatterns:
- '*'
hubPatterns:
- hub1
urlTemplate: http://foo.com
Create Service Resource
new Service(name: string, args: ServiceArgs, opts?: CustomResourceOptions);
@overload
def Service(resource_name: str,
opts: Optional[ResourceOptions] = None,
connectivity_logs_enabled: Optional[bool] = None,
cors: Optional[Sequence[ServiceCorArgs]] = None,
live_trace: Optional[ServiceLiveTraceArgs] = None,
live_trace_enabled: Optional[bool] = None,
location: Optional[str] = None,
messaging_logs_enabled: Optional[bool] = None,
name: Optional[str] = None,
resource_group_name: Optional[str] = None,
service_mode: Optional[str] = None,
sku: Optional[ServiceSkuArgs] = None,
tags: Optional[Mapping[str, str]] = None,
upstream_endpoints: Optional[Sequence[ServiceUpstreamEndpointArgs]] = None)
@overload
def Service(resource_name: str,
args: ServiceArgs,
opts: Optional[ResourceOptions] = 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:signalr:Service
properties: # The arguments to resource properties.
options: # 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.
- 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.
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
The Service resource accepts the following input properties:
- Resource
Group stringName The name of the resource group in which to create the SignalR service. Changing this forces a new resource to be created.
- Sku
Service
Sku Args A
sku
block as documented below.- Connectivity
Logs boolEnabled Specifies if Connectivity Logs are enabled or not. Defaults to
false
.- Cors
List<Service
Cor Args> A
cors
block as documented below.- Live
Trace ServiceLive Trace Args A
live_trace
block as defined below.- Live
Trace boolEnabled Specifies if Live Trace is enabled or not. Defaults to
false
.live_trace_enabled
has been deprecated in favor oflive_trace
and will be removed in 4.0.- Location string
Specifies the supported Azure location where the SignalR service exists. Changing this forces a new resource to be created.
- Messaging
Logs boolEnabled Specifies if Messaging Logs are enabled or not. Defaults to
false
.- Name string
The name of the SignalR service. Changing this forces a new resource to be created.
- Service
Mode string Specifies the service mode. Possible values are
Classic
,Default
andServerless
. Defaults toDefault
.- Dictionary<string, string>
A mapping of tags to assign to the resource.
- Upstream
Endpoints List<ServiceUpstream Endpoint Args> An
upstream_endpoint
block as documented below. Using this block requires the SignalR service to be Serverless. When creating multiple blocks they will be processed in the order they are defined in.
- Resource
Group stringName The name of the resource group in which to create the SignalR service. Changing this forces a new resource to be created.
- Sku
Service
Sku Args A
sku
block as documented below.- Connectivity
Logs boolEnabled Specifies if Connectivity Logs are enabled or not. Defaults to
false
.- Cors
[]Service
Cor Args A
cors
block as documented below.- Live
Trace ServiceLive Trace Args A
live_trace
block as defined below.- Live
Trace boolEnabled Specifies if Live Trace is enabled or not. Defaults to
false
.live_trace_enabled
has been deprecated in favor oflive_trace
and will be removed in 4.0.- Location string
Specifies the supported Azure location where the SignalR service exists. Changing this forces a new resource to be created.
- Messaging
Logs boolEnabled Specifies if Messaging Logs are enabled or not. Defaults to
false
.- Name string
The name of the SignalR service. Changing this forces a new resource to be created.
- Service
Mode string Specifies the service mode. Possible values are
Classic
,Default
andServerless
. Defaults toDefault
.- map[string]string
A mapping of tags to assign to the resource.
- Upstream
Endpoints []ServiceUpstream Endpoint Args An
upstream_endpoint
block as documented below. Using this block requires the SignalR service to be Serverless. When creating multiple blocks they will be processed in the order they are defined in.
- resource
Group StringName The name of the resource group in which to create the SignalR service. Changing this forces a new resource to be created.
- sku
Service
Sku Args A
sku
block as documented below.- connectivity
Logs BooleanEnabled Specifies if Connectivity Logs are enabled or not. Defaults to
false
.- cors
List<Service
Cor Args> A
cors
block as documented below.- live
Trace ServiceLive Trace Args A
live_trace
block as defined below.- live
Trace BooleanEnabled Specifies if Live Trace is enabled or not. Defaults to
false
.live_trace_enabled
has been deprecated in favor oflive_trace
and will be removed in 4.0.- location String
Specifies the supported Azure location where the SignalR service exists. Changing this forces a new resource to be created.
- messaging
Logs BooleanEnabled Specifies if Messaging Logs are enabled or not. Defaults to
false
.- name String
The name of the SignalR service. Changing this forces a new resource to be created.
- service
Mode String Specifies the service mode. Possible values are
Classic
,Default
andServerless
. Defaults toDefault
.- Map<String,String>
A mapping of tags to assign to the resource.
- upstream
Endpoints List<ServiceUpstream Endpoint Args> An
upstream_endpoint
block as documented below. Using this block requires the SignalR service to be Serverless. When creating multiple blocks they will be processed in the order they are defined in.
- resource
Group stringName The name of the resource group in which to create the SignalR service. Changing this forces a new resource to be created.
- sku
Service
Sku Args A
sku
block as documented below.- connectivity
Logs booleanEnabled Specifies if Connectivity Logs are enabled or not. Defaults to
false
.- cors
Service
Cor Args[] A
cors
block as documented below.- live
Trace ServiceLive Trace Args A
live_trace
block as defined below.- live
Trace booleanEnabled Specifies if Live Trace is enabled or not. Defaults to
false
.live_trace_enabled
has been deprecated in favor oflive_trace
and will be removed in 4.0.- location string
Specifies the supported Azure location where the SignalR service exists. Changing this forces a new resource to be created.
- messaging
Logs booleanEnabled Specifies if Messaging Logs are enabled or not. Defaults to
false
.- name string
The name of the SignalR service. Changing this forces a new resource to be created.
- service
Mode string Specifies the service mode. Possible values are
Classic
,Default
andServerless
. Defaults toDefault
.- {[key: string]: string}
A mapping of tags to assign to the resource.
- upstream
Endpoints ServiceUpstream Endpoint Args[] An
upstream_endpoint
block as documented below. Using this block requires the SignalR service to be Serverless. When creating multiple blocks they will be processed in the order they are defined in.
- resource_
group_ strname The name of the resource group in which to create the SignalR service. Changing this forces a new resource to be created.
- sku
Service
Sku Args A
sku
block as documented below.- connectivity_
logs_ boolenabled Specifies if Connectivity Logs are enabled or not. Defaults to
false
.- cors
Sequence[Service
Cor Args] A
cors
block as documented below.- live_
trace ServiceLive Trace Args A
live_trace
block as defined below.- live_
trace_ boolenabled Specifies if Live Trace is enabled or not. Defaults to
false
.live_trace_enabled
has been deprecated in favor oflive_trace
and will be removed in 4.0.- location str
Specifies the supported Azure location where the SignalR service exists. Changing this forces a new resource to be created.
- messaging_
logs_ boolenabled Specifies if Messaging Logs are enabled or not. Defaults to
false
.- name str
The name of the SignalR service. Changing this forces a new resource to be created.
- service_
mode str Specifies the service mode. Possible values are
Classic
,Default
andServerless
. Defaults toDefault
.- Mapping[str, str]
A mapping of tags to assign to the resource.
- upstream_
endpoints Sequence[ServiceUpstream Endpoint Args] An
upstream_endpoint
block as documented below. Using this block requires the SignalR service to be Serverless. When creating multiple blocks they will be processed in the order they are defined in.
- resource
Group StringName The name of the resource group in which to create the SignalR service. Changing this forces a new resource to be created.
- sku Property Map
A
sku
block as documented below.- connectivity
Logs BooleanEnabled Specifies if Connectivity Logs are enabled or not. Defaults to
false
.- cors List<Property Map>
A
cors
block as documented below.- live
Trace Property Map A
live_trace
block as defined below.- live
Trace BooleanEnabled Specifies if Live Trace is enabled or not. Defaults to
false
.live_trace_enabled
has been deprecated in favor oflive_trace
and will be removed in 4.0.- location String
Specifies the supported Azure location where the SignalR service exists. Changing this forces a new resource to be created.
- messaging
Logs BooleanEnabled Specifies if Messaging Logs are enabled or not. Defaults to
false
.- name String
The name of the SignalR service. Changing this forces a new resource to be created.
- service
Mode String Specifies the service mode. Possible values are
Classic
,Default
andServerless
. Defaults toDefault
.- Map<String>
A mapping of tags to assign to the resource.
- upstream
Endpoints List<Property Map> An
upstream_endpoint
block as documented below. Using this block requires the SignalR service to be Serverless. When creating multiple blocks they will be processed in the order they are defined in.
Outputs
All input properties are implicitly available as output properties. Additionally, the Service resource produces the following output properties:
- 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.
- Primary
Access stringKey The primary access key for the SignalR service.
- Primary
Connection stringString The primary connection string for the SignalR service.
- Public
Port int The publicly accessible port of the SignalR service which is designed for browser/client use.
- Secondary
Access stringKey The secondary access key for the SignalR service.
- Secondary
Connection stringString The secondary connection string for the SignalR service.
- Server
Port int The publicly accessible port of the SignalR service which is designed for customer server side use.
- 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.
- Primary
Access stringKey The primary access key for the SignalR service.
- Primary
Connection stringString The primary connection string for the SignalR service.
- Public
Port int The publicly accessible port of the SignalR service which is designed for browser/client use.
- Secondary
Access stringKey The secondary access key for the SignalR service.
- Secondary
Connection stringString The secondary connection string for the SignalR service.
- Server
Port int The publicly accessible port of the SignalR service which is designed for customer server side use.
- 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.
- primary
Access StringKey The primary access key for the SignalR service.
- primary
Connection StringString The primary connection string for the SignalR service.
- public
Port Integer The publicly accessible port of the SignalR service which is designed for browser/client use.
- secondary
Access StringKey The secondary access key for the SignalR service.
- secondary
Connection StringString The secondary connection string for the SignalR service.
- server
Port Integer The publicly accessible port of the SignalR service which is designed for customer server side use.
- 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.
- primary
Access stringKey The primary access key for the SignalR service.
- primary
Connection stringString The primary connection string for the SignalR service.
- public
Port number The publicly accessible port of the SignalR service which is designed for browser/client use.
- secondary
Access stringKey The secondary access key for the SignalR service.
- secondary
Connection stringString The secondary connection string for the SignalR service.
- server
Port number The publicly accessible port of the SignalR service which is designed for customer server side use.
- 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.
- primary_
access_ strkey The primary access key for the SignalR service.
- primary_
connection_ strstring The primary connection string for the SignalR service.
- public_
port int The publicly accessible port of the SignalR service which is designed for browser/client use.
- secondary_
access_ strkey The secondary access key for the SignalR service.
- secondary_
connection_ strstring The secondary connection string for the SignalR service.
- server_
port int The publicly accessible port of the SignalR service which is designed for customer server side use.
- 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.
- primary
Access StringKey The primary access key for the SignalR service.
- primary
Connection StringString The primary connection string for the SignalR service.
- public
Port Number The publicly accessible port of the SignalR service which is designed for browser/client use.
- secondary
Access StringKey The secondary access key for the SignalR service.
- secondary
Connection StringString The secondary connection string for the SignalR service.
- server
Port Number The publicly accessible port of the SignalR service which is designed for customer server side use.
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,
connectivity_logs_enabled: Optional[bool] = None,
cors: Optional[Sequence[ServiceCorArgs]] = None,
hostname: Optional[str] = None,
ip_address: Optional[str] = None,
live_trace: Optional[ServiceLiveTraceArgs] = None,
live_trace_enabled: Optional[bool] = None,
location: Optional[str] = None,
messaging_logs_enabled: Optional[bool] = None,
name: Optional[str] = None,
primary_access_key: Optional[str] = None,
primary_connection_string: Optional[str] = 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,
service_mode: Optional[str] = None,
sku: Optional[ServiceSkuArgs] = None,
tags: Optional[Mapping[str, str]] = None,
upstream_endpoints: Optional[Sequence[ServiceUpstreamEndpointArgs]] = None) -> Service
func 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)
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.
- Connectivity
Logs boolEnabled Specifies if Connectivity Logs are enabled or not. Defaults to
false
.- Cors
List<Service
Cor Args> A
cors
block as documented below.- Hostname string
The FQDN of the SignalR service.
- Ip
Address string The publicly accessible IP of the SignalR service.
- Live
Trace ServiceLive Trace Args A
live_trace
block as defined below.- Live
Trace boolEnabled Specifies if Live Trace is enabled or not. Defaults to
false
.live_trace_enabled
has been deprecated in favor oflive_trace
and will be removed in 4.0.- Location string
Specifies the supported Azure location where the SignalR service exists. Changing this forces a new resource to be created.
- Messaging
Logs boolEnabled Specifies if Messaging Logs are enabled or not. Defaults to
false
.- Name string
The name of the SignalR service. Changing this forces a new resource to be created.
- Primary
Access stringKey The primary access key for the SignalR service.
- Primary
Connection stringString The primary connection string for the SignalR service.
- Public
Port int The publicly accessible port of the SignalR service which is designed for browser/client use.
- Resource
Group stringName The name of the resource group in which to create the SignalR service. Changing this forces a new resource to be created.
- Secondary
Access stringKey The secondary access key for the SignalR service.
- Secondary
Connection stringString The secondary connection string for the SignalR service.
- Server
Port int The publicly accessible port of the SignalR service which is designed for customer server side use.
- Service
Mode string Specifies the service mode. Possible values are
Classic
,Default
andServerless
. Defaults toDefault
.- Sku
Service
Sku Args A
sku
block as documented below.- Dictionary<string, string>
A mapping of tags to assign to the resource.
- Upstream
Endpoints List<ServiceUpstream Endpoint Args> An
upstream_endpoint
block as documented below. Using this block requires the SignalR service to be Serverless. When creating multiple blocks they will be processed in the order they are defined in.
- Connectivity
Logs boolEnabled Specifies if Connectivity Logs are enabled or not. Defaults to
false
.- Cors
[]Service
Cor Args A
cors
block as documented below.- Hostname string
The FQDN of the SignalR service.
- Ip
Address string The publicly accessible IP of the SignalR service.
- Live
Trace ServiceLive Trace Args A
live_trace
block as defined below.- Live
Trace boolEnabled Specifies if Live Trace is enabled or not. Defaults to
false
.live_trace_enabled
has been deprecated in favor oflive_trace
and will be removed in 4.0.- Location string
Specifies the supported Azure location where the SignalR service exists. Changing this forces a new resource to be created.
- Messaging
Logs boolEnabled Specifies if Messaging Logs are enabled or not. Defaults to
false
.- Name string
The name of the SignalR service. Changing this forces a new resource to be created.
- Primary
Access stringKey The primary access key for the SignalR service.
- Primary
Connection stringString The primary connection string for the SignalR service.
- Public
Port int The publicly accessible port of the SignalR service which is designed for browser/client use.
- Resource
Group stringName The name of the resource group in which to create the SignalR service. Changing this forces a new resource to be created.
- Secondary
Access stringKey The secondary access key for the SignalR service.
- Secondary
Connection stringString The secondary connection string for the SignalR service.
- Server
Port int The publicly accessible port of the SignalR service which is designed for customer server side use.
- Service
Mode string Specifies the service mode. Possible values are
Classic
,Default
andServerless
. Defaults toDefault
.- Sku
Service
Sku Args A
sku
block as documented below.- map[string]string
A mapping of tags to assign to the resource.
- Upstream
Endpoints []ServiceUpstream Endpoint Args An
upstream_endpoint
block as documented below. Using this block requires the SignalR service to be Serverless. When creating multiple blocks they will be processed in the order they are defined in.
- connectivity
Logs BooleanEnabled Specifies if Connectivity Logs are enabled or not. Defaults to
false
.- cors
List<Service
Cor Args> A
cors
block as documented below.- hostname String
The FQDN of the SignalR service.
- ip
Address String The publicly accessible IP of the SignalR service.
- live
Trace ServiceLive Trace Args A
live_trace
block as defined below.- live
Trace BooleanEnabled Specifies if Live Trace is enabled or not. Defaults to
false
.live_trace_enabled
has been deprecated in favor oflive_trace
and will be removed in 4.0.- location String
Specifies the supported Azure location where the SignalR service exists. Changing this forces a new resource to be created.
- messaging
Logs BooleanEnabled Specifies if Messaging Logs are enabled or not. Defaults to
false
.- name String
The name of the SignalR service. Changing this forces a new resource to be created.
- primary
Access StringKey The primary access key for the SignalR service.
- primary
Connection StringString The primary connection string for the SignalR service.
- public
Port Integer The publicly accessible port of the SignalR service which is designed for browser/client use.
- resource
Group StringName The name of the resource group in which to create the SignalR service. Changing this forces a new resource to be created.
- secondary
Access StringKey The secondary access key for the SignalR service.
- secondary
Connection StringString The secondary connection string for the SignalR service.
- server
Port Integer The publicly accessible port of the SignalR service which is designed for customer server side use.
- service
Mode String Specifies the service mode. Possible values are
Classic
,Default
andServerless
. Defaults toDefault
.- sku
Service
Sku Args A
sku
block as documented below.- Map<String,String>
A mapping of tags to assign to the resource.
- upstream
Endpoints List<ServiceUpstream Endpoint Args> An
upstream_endpoint
block as documented below. Using this block requires the SignalR service to be Serverless. When creating multiple blocks they will be processed in the order they are defined in.
- connectivity
Logs booleanEnabled Specifies if Connectivity Logs are enabled or not. Defaults to
false
.- cors
Service
Cor Args[] A
cors
block as documented below.- hostname string
The FQDN of the SignalR service.
- ip
Address string The publicly accessible IP of the SignalR service.
- live
Trace ServiceLive Trace Args A
live_trace
block as defined below.- live
Trace booleanEnabled Specifies if Live Trace is enabled or not. Defaults to
false
.live_trace_enabled
has been deprecated in favor oflive_trace
and will be removed in 4.0.- location string
Specifies the supported Azure location where the SignalR service exists. Changing this forces a new resource to be created.
- messaging
Logs booleanEnabled Specifies if Messaging Logs are enabled or not. Defaults to
false
.- name string
The name of the SignalR service. Changing this forces a new resource to be created.
- primary
Access stringKey The primary access key for the SignalR service.
- primary
Connection stringString The primary connection string for the SignalR service.
- public
Port number The publicly accessible port of the SignalR service which is designed for browser/client use.
- resource
Group stringName The name of the resource group in which to create the SignalR service. Changing this forces a new resource to be created.
- secondary
Access stringKey The secondary access key for the SignalR service.
- secondary
Connection stringString The secondary connection string for the SignalR service.
- server
Port number The publicly accessible port of the SignalR service which is designed for customer server side use.
- service
Mode string Specifies the service mode. Possible values are
Classic
,Default
andServerless
. Defaults toDefault
.- sku
Service
Sku Args A
sku
block as documented below.- {[key: string]: string}
A mapping of tags to assign to the resource.
- upstream
Endpoints ServiceUpstream Endpoint Args[] An
upstream_endpoint
block as documented below. Using this block requires the SignalR service to be Serverless. When creating multiple blocks they will be processed in the order they are defined in.
- connectivity_
logs_ boolenabled Specifies if Connectivity Logs are enabled or not. Defaults to
false
.- cors
Sequence[Service
Cor Args] A
cors
block as documented below.- hostname str
The FQDN of the SignalR service.
- ip_
address str The publicly accessible IP of the SignalR service.
- live_
trace ServiceLive Trace Args A
live_trace
block as defined below.- live_
trace_ boolenabled Specifies if Live Trace is enabled or not. Defaults to
false
.live_trace_enabled
has been deprecated in favor oflive_trace
and will be removed in 4.0.- location str
Specifies the supported Azure location where the SignalR service exists. Changing this forces a new resource to be created.
- messaging_
logs_ boolenabled Specifies if Messaging Logs are enabled or not. Defaults to
false
.- name str
The name of the SignalR service. Changing this forces a new resource to be created.
- primary_
access_ strkey The primary access key for the SignalR service.
- primary_
connection_ strstring The primary connection string for the SignalR service.
- public_
port int The publicly accessible port of the SignalR service which is designed for browser/client use.
- resource_
group_ strname The name of the resource group in which to create the SignalR service. Changing this forces a new resource to be created.
- secondary_
access_ strkey The secondary access key for the SignalR service.
- secondary_
connection_ strstring The secondary connection string for the SignalR service.
- server_
port int The publicly accessible port of the SignalR service which is designed for customer server side use.
- service_
mode str Specifies the service mode. Possible values are
Classic
,Default
andServerless
. Defaults toDefault
.- sku
Service
Sku Args A
sku
block as documented below.- Mapping[str, str]
A mapping of tags to assign to the resource.
- upstream_
endpoints Sequence[ServiceUpstream Endpoint Args] An
upstream_endpoint
block as documented below. Using this block requires the SignalR service to be Serverless. When creating multiple blocks they will be processed in the order they are defined in.
- connectivity
Logs BooleanEnabled Specifies if Connectivity Logs are enabled or not. Defaults to
false
.- cors List<Property Map>
A
cors
block as documented below.- hostname String
The FQDN of the SignalR service.
- ip
Address String The publicly accessible IP of the SignalR service.
- live
Trace Property Map A
live_trace
block as defined below.- live
Trace BooleanEnabled Specifies if Live Trace is enabled or not. Defaults to
false
.live_trace_enabled
has been deprecated in favor oflive_trace
and will be removed in 4.0.- location String
Specifies the supported Azure location where the SignalR service exists. Changing this forces a new resource to be created.
- messaging
Logs BooleanEnabled Specifies if Messaging Logs are enabled or not. Defaults to
false
.- name String
The name of the SignalR service. Changing this forces a new resource to be created.
- primary
Access StringKey The primary access key for the SignalR service.
- primary
Connection StringString The primary connection string for the SignalR service.
- public
Port Number The publicly accessible port of the SignalR service which is designed for browser/client use.
- resource
Group StringName The name of the resource group in which to create the SignalR service. Changing this forces a new resource to be created.
- secondary
Access StringKey The secondary access key for the SignalR service.
- secondary
Connection StringString The secondary connection string for the SignalR service.
- server
Port Number The publicly accessible port of the SignalR service which is designed for customer server side use.
- service
Mode String Specifies the service mode. Possible values are
Classic
,Default
andServerless
. Defaults toDefault
.- sku Property Map
A
sku
block as documented below.- Map<String>
A mapping of tags to assign to the resource.
- upstream
Endpoints List<Property Map> An
upstream_endpoint
block as documented below. Using this block requires the SignalR service to be Serverless. When creating multiple blocks they will be processed in the order they are defined in.
Supporting Types
ServiceCor
- Allowed
Origins List<string> A list of origins which should be able to make cross-origin calls.
*
can be used to allow all calls.
- Allowed
Origins []string A list of origins which should be able to make cross-origin calls.
*
can be used to allow all calls.
- allowed
Origins List<String> A list of origins which should be able to make cross-origin calls.
*
can be used to allow all calls.
- allowed
Origins string[] A list of origins which should be able to make cross-origin calls.
*
can be used to allow all calls.
- allowed_
origins Sequence[str] A list of origins which should be able to make cross-origin calls.
*
can be used to allow all calls.
- allowed
Origins List<String> A list of origins which should be able to make cross-origin calls.
*
can be used to allow all calls.
ServiceLiveTrace
- Connectivity
Logs boolEnabled Whether the log category
ConnectivityLogs
is enabled? Defaults totrue
- Enabled bool
Whether the live trace is enabled? Defaults to
true
.- Http
Request boolLogs Enabled Whether the log category
HttpRequestLogs
is enabled? Defaults totrue
- Messaging
Logs boolEnabled Whether the log category
MessagingLogs
is enabled? Defaults totrue
- Connectivity
Logs boolEnabled Whether the log category
ConnectivityLogs
is enabled? Defaults totrue
- Enabled bool
Whether the live trace is enabled? Defaults to
true
.- Http
Request boolLogs Enabled Whether the log category
HttpRequestLogs
is enabled? Defaults totrue
- Messaging
Logs boolEnabled Whether the log category
MessagingLogs
is enabled? Defaults totrue
- connectivity
Logs BooleanEnabled Whether the log category
ConnectivityLogs
is enabled? Defaults totrue
- enabled Boolean
Whether the live trace is enabled? Defaults to
true
.- http
Request BooleanLogs Enabled Whether the log category
HttpRequestLogs
is enabled? Defaults totrue
- messaging
Logs BooleanEnabled Whether the log category
MessagingLogs
is enabled? Defaults totrue
- connectivity
Logs booleanEnabled Whether the log category
ConnectivityLogs
is enabled? Defaults totrue
- enabled boolean
Whether the live trace is enabled? Defaults to
true
.- http
Request booleanLogs Enabled Whether the log category
HttpRequestLogs
is enabled? Defaults totrue
- messaging
Logs booleanEnabled Whether the log category
MessagingLogs
is enabled? Defaults totrue
- connectivity_
logs_ boolenabled Whether the log category
ConnectivityLogs
is enabled? Defaults totrue
- enabled bool
Whether the live trace is enabled? Defaults to
true
.- http_
request_ boollogs_ enabled Whether the log category
HttpRequestLogs
is enabled? Defaults totrue
- messaging_
logs_ boolenabled Whether the log category
MessagingLogs
is enabled? Defaults totrue
- connectivity
Logs BooleanEnabled Whether the log category
ConnectivityLogs
is enabled? Defaults totrue
- enabled Boolean
Whether the live trace is enabled? Defaults to
true
.- http
Request BooleanLogs Enabled Whether the log category
HttpRequestLogs
is enabled? Defaults totrue
- messaging
Logs BooleanEnabled Whether the log category
MessagingLogs
is enabled? Defaults totrue
ServiceSku
ServiceUpstreamEndpoint
- Category
Patterns List<string> The categories to match on, or
*
for all.- Event
Patterns List<string> The events to match on, or
*
for all.- Hub
Patterns List<string> The hubs to match on, or
*
for all.- Url
Template string The upstream URL Template. This can be a url or a template such as
http://host.com/{hub}/api/{category}/{event}
.
- Category
Patterns []string The categories to match on, or
*
for all.- Event
Patterns []string The events to match on, or
*
for all.- Hub
Patterns []string The hubs to match on, or
*
for all.- Url
Template string The upstream URL Template. This can be a url or a template such as
http://host.com/{hub}/api/{category}/{event}
.
- category
Patterns List<String> The categories to match on, or
*
for all.- event
Patterns List<String> The events to match on, or
*
for all.- hub
Patterns List<String> The hubs to match on, or
*
for all.- url
Template String The upstream URL Template. This can be a url or a template such as
http://host.com/{hub}/api/{category}/{event}
.
- category
Patterns string[] The categories to match on, or
*
for all.- event
Patterns string[] The events to match on, or
*
for all.- hub
Patterns string[] The hubs to match on, or
*
for all.- url
Template string The upstream URL Template. This can be a url or a template such as
http://host.com/{hub}/api/{category}/{event}
.
- category_
patterns Sequence[str] The categories to match on, or
*
for all.- event_
patterns Sequence[str] The events to match on, or
*
for all.- hub_
patterns Sequence[str] The hubs to match on, or
*
for all.- url_
template str The upstream URL Template. This can be a url or a template such as
http://host.com/{hub}/api/{category}/{event}
.
- category
Patterns List<String> The categories to match on, or
*
for all.- event
Patterns List<String> The events to match on, or
*
for all.- hub
Patterns List<String> The hubs to match on, or
*
for all.- url
Template String The upstream URL Template. This can be a url or a template such as
http://host.com/{hub}/api/{category}/{event}
.
Import
SignalR services can be imported using the resource id
, e.g.
$ pulumi import azure:signalr/service:Service example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/terraform-signalr/providers/Microsoft.SignalRService/signalR/tfex-signalr
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
azurerm
Terraform Provider.