We recommend using Azure Native.
azure.webpubsub.Socketio
Explore with Pulumi AI
Manages a Web PubSub Service for Socket.IO.
Create Socketio Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Socketio(name: string, args: SocketioArgs, opts?: CustomResourceOptions);
@overload
def Socketio(resource_name: str,
args: SocketioArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Socketio(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_group_name: Optional[str] = None,
sku: Optional[SocketioSkuArgs] = None,
local_auth_enabled: Optional[bool] = None,
live_trace_enabled: Optional[bool] = None,
live_trace_http_request_logs_enabled: Optional[bool] = None,
live_trace_messaging_logs_enabled: Optional[bool] = None,
aad_auth_enabled: Optional[bool] = None,
location: Optional[str] = None,
name: Optional[str] = None,
public_network_access: Optional[str] = None,
live_trace_connectivity_logs_enabled: Optional[bool] = None,
service_mode: Optional[str] = None,
identity: Optional[SocketioIdentityArgs] = None,
tags: Optional[Mapping[str, str]] = None,
tls_client_cert_enabled: Optional[bool] = None)
func NewSocketio(ctx *Context, name string, args SocketioArgs, opts ...ResourceOption) (*Socketio, error)
public Socketio(string name, SocketioArgs args, CustomResourceOptions? opts = null)
public Socketio(String name, SocketioArgs args)
public Socketio(String name, SocketioArgs args, CustomResourceOptions options)
type: azure:webpubsub:Socketio
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 SocketioArgs
- 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 SocketioArgs
- 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 SocketioArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SocketioArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SocketioArgs
- 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 socketioResource = new Azure.WebPubSub.Socketio("socketioResource", new()
{
ResourceGroupName = "string",
Sku = new Azure.WebPubSub.Inputs.SocketioSkuArgs
{
Name = "string",
Capacity = 0,
},
LocalAuthEnabled = false,
LiveTraceEnabled = false,
LiveTraceHttpRequestLogsEnabled = false,
LiveTraceMessagingLogsEnabled = false,
AadAuthEnabled = false,
Location = "string",
Name = "string",
PublicNetworkAccess = "string",
LiveTraceConnectivityLogsEnabled = false,
ServiceMode = "string",
Identity = new Azure.WebPubSub.Inputs.SocketioIdentityArgs
{
Type = "string",
IdentityIds = new[]
{
"string",
},
PrincipalId = "string",
TenantId = "string",
},
Tags =
{
{ "string", "string" },
},
TlsClientCertEnabled = false,
});
example, err := webpubsub.NewSocketio(ctx, "socketioResource", &webpubsub.SocketioArgs{
ResourceGroupName: pulumi.String("string"),
Sku: &webpubsub.SocketioSkuArgs{
Name: pulumi.String("string"),
Capacity: pulumi.Int(0),
},
LocalAuthEnabled: pulumi.Bool(false),
LiveTraceEnabled: pulumi.Bool(false),
LiveTraceHttpRequestLogsEnabled: pulumi.Bool(false),
LiveTraceMessagingLogsEnabled: pulumi.Bool(false),
AadAuthEnabled: pulumi.Bool(false),
Location: pulumi.String("string"),
Name: pulumi.String("string"),
PublicNetworkAccess: pulumi.String("string"),
LiveTraceConnectivityLogsEnabled: pulumi.Bool(false),
ServiceMode: pulumi.String("string"),
Identity: &webpubsub.SocketioIdentityArgs{
Type: pulumi.String("string"),
IdentityIds: pulumi.StringArray{
pulumi.String("string"),
},
PrincipalId: pulumi.String("string"),
TenantId: pulumi.String("string"),
},
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
TlsClientCertEnabled: pulumi.Bool(false),
})
var socketioResource = new Socketio("socketioResource", SocketioArgs.builder()
.resourceGroupName("string")
.sku(SocketioSkuArgs.builder()
.name("string")
.capacity(0)
.build())
.localAuthEnabled(false)
.liveTraceEnabled(false)
.liveTraceHttpRequestLogsEnabled(false)
.liveTraceMessagingLogsEnabled(false)
.aadAuthEnabled(false)
.location("string")
.name("string")
.publicNetworkAccess("string")
.liveTraceConnectivityLogsEnabled(false)
.serviceMode("string")
.identity(SocketioIdentityArgs.builder()
.type("string")
.identityIds("string")
.principalId("string")
.tenantId("string")
.build())
.tags(Map.of("string", "string"))
.tlsClientCertEnabled(false)
.build());
socketio_resource = azure.webpubsub.Socketio("socketioResource",
resource_group_name="string",
sku={
"name": "string",
"capacity": 0,
},
local_auth_enabled=False,
live_trace_enabled=False,
live_trace_http_request_logs_enabled=False,
live_trace_messaging_logs_enabled=False,
aad_auth_enabled=False,
location="string",
name="string",
public_network_access="string",
live_trace_connectivity_logs_enabled=False,
service_mode="string",
identity={
"type": "string",
"identity_ids": ["string"],
"principal_id": "string",
"tenant_id": "string",
},
tags={
"string": "string",
},
tls_client_cert_enabled=False)
const socketioResource = new azure.webpubsub.Socketio("socketioResource", {
resourceGroupName: "string",
sku: {
name: "string",
capacity: 0,
},
localAuthEnabled: false,
liveTraceEnabled: false,
liveTraceHttpRequestLogsEnabled: false,
liveTraceMessagingLogsEnabled: false,
aadAuthEnabled: false,
location: "string",
name: "string",
publicNetworkAccess: "string",
liveTraceConnectivityLogsEnabled: false,
serviceMode: "string",
identity: {
type: "string",
identityIds: ["string"],
principalId: "string",
tenantId: "string",
},
tags: {
string: "string",
},
tlsClientCertEnabled: false,
});
type: azure:webpubsub:Socketio
properties:
aadAuthEnabled: false
identity:
identityIds:
- string
principalId: string
tenantId: string
type: string
liveTraceConnectivityLogsEnabled: false
liveTraceEnabled: false
liveTraceHttpRequestLogsEnabled: false
liveTraceMessagingLogsEnabled: false
localAuthEnabled: false
location: string
name: string
publicNetworkAccess: string
resourceGroupName: string
serviceMode: string
sku:
capacity: 0
name: string
tags:
string: string
tlsClientCertEnabled: false
Socketio 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 Socketio resource accepts the following input properties:
- Resource
Group stringName - The name of the Resource Group where the Web PubSub Service should exist. Changing this forces a new Web PubSub Service to be created.
- Sku
Socketio
Sku - The SKU to use for this Web PubSub Service. Possible values are
Free_F1
,Standard_S1
,Premium_P1
, andPremium_P2
. - Aad
Auth boolEnabled - Whether Azure Active Directory authentication is enabled. Defaults to
true
. - Identity
Socketio
Identity - An
identity
block as defined below. - Live
Trace boolConnectivity Logs Enabled - Whether the connectivity log category for live trace is enabled. Defaults to
true
. - Live
Trace boolEnabled - Whether the live trace tool is enabled. Defaults to
true
. - Live
Trace boolHttp Request Logs Enabled - Whether the HTTP request log category for live trace is enabled. Defaults to
true
. - Live
Trace boolMessaging Logs Enabled - Whether the messaging log category for live trace is enabled. Defaults to
true
. - Local
Auth boolEnabled - Whether local authentication using an access key is enabled. Defaults to
true
. - Location string
- The Azure Region where the Web PubSub Service should exist. Changing this forces a new Web PubSub Service to be created.
- Name string
- The name which should be used for this Web PubSub Service. Changing this forces a new Web PubSub Service to be created.
- Public
Network stringAccess Whether public network access is enabled. Defaults to
Enabled
. Possible values areEnabled
andDisabled
.Note:
public_network_access
cannot be set toDisabled
whensku
isFree_F1
.- Service
Mode string - The service mode of this Web PubSub Service. Defaults to
Default
. Possible values areDefault
andServerless
. - Dictionary<string, string>
- A mapping of tags which should be assigned to the Web PubSub Service.
- Tls
Client boolCert Enabled Whether the service should request a client certificate during a TLS handshake. Defaults to
false
.Note:
tls_client_cert_enabled
cannot be set totrue
whensku
isFree_F1
.
- Resource
Group stringName - The name of the Resource Group where the Web PubSub Service should exist. Changing this forces a new Web PubSub Service to be created.
- Sku
Socketio
Sku Args - The SKU to use for this Web PubSub Service. Possible values are
Free_F1
,Standard_S1
,Premium_P1
, andPremium_P2
. - Aad
Auth boolEnabled - Whether Azure Active Directory authentication is enabled. Defaults to
true
. - Identity
Socketio
Identity Args - An
identity
block as defined below. - Live
Trace boolConnectivity Logs Enabled - Whether the connectivity log category for live trace is enabled. Defaults to
true
. - Live
Trace boolEnabled - Whether the live trace tool is enabled. Defaults to
true
. - Live
Trace boolHttp Request Logs Enabled - Whether the HTTP request log category for live trace is enabled. Defaults to
true
. - Live
Trace boolMessaging Logs Enabled - Whether the messaging log category for live trace is enabled. Defaults to
true
. - Local
Auth boolEnabled - Whether local authentication using an access key is enabled. Defaults to
true
. - Location string
- The Azure Region where the Web PubSub Service should exist. Changing this forces a new Web PubSub Service to be created.
- Name string
- The name which should be used for this Web PubSub Service. Changing this forces a new Web PubSub Service to be created.
- Public
Network stringAccess Whether public network access is enabled. Defaults to
Enabled
. Possible values areEnabled
andDisabled
.Note:
public_network_access
cannot be set toDisabled
whensku
isFree_F1
.- Service
Mode string - The service mode of this Web PubSub Service. Defaults to
Default
. Possible values areDefault
andServerless
. - map[string]string
- A mapping of tags which should be assigned to the Web PubSub Service.
- Tls
Client boolCert Enabled Whether the service should request a client certificate during a TLS handshake. Defaults to
false
.Note:
tls_client_cert_enabled
cannot be set totrue
whensku
isFree_F1
.
- resource
Group StringName - The name of the Resource Group where the Web PubSub Service should exist. Changing this forces a new Web PubSub Service to be created.
- sku
Socketio
Sku - The SKU to use for this Web PubSub Service. Possible values are
Free_F1
,Standard_S1
,Premium_P1
, andPremium_P2
. - aad
Auth BooleanEnabled - Whether Azure Active Directory authentication is enabled. Defaults to
true
. - identity
Socketio
Identity - An
identity
block as defined below. - live
Trace BooleanConnectivity Logs Enabled - Whether the connectivity log category for live trace is enabled. Defaults to
true
. - live
Trace BooleanEnabled - Whether the live trace tool is enabled. Defaults to
true
. - live
Trace BooleanHttp Request Logs Enabled - Whether the HTTP request log category for live trace is enabled. Defaults to
true
. - live
Trace BooleanMessaging Logs Enabled - Whether the messaging log category for live trace is enabled. Defaults to
true
. - local
Auth BooleanEnabled - Whether local authentication using an access key is enabled. Defaults to
true
. - location String
- The Azure Region where the Web PubSub Service should exist. Changing this forces a new Web PubSub Service to be created.
- name String
- The name which should be used for this Web PubSub Service. Changing this forces a new Web PubSub Service to be created.
- public
Network StringAccess Whether public network access is enabled. Defaults to
Enabled
. Possible values areEnabled
andDisabled
.Note:
public_network_access
cannot be set toDisabled
whensku
isFree_F1
.- service
Mode String - The service mode of this Web PubSub Service. Defaults to
Default
. Possible values areDefault
andServerless
. - Map<String,String>
- A mapping of tags which should be assigned to the Web PubSub Service.
- tls
Client BooleanCert Enabled Whether the service should request a client certificate during a TLS handshake. Defaults to
false
.Note:
tls_client_cert_enabled
cannot be set totrue
whensku
isFree_F1
.
- resource
Group stringName - The name of the Resource Group where the Web PubSub Service should exist. Changing this forces a new Web PubSub Service to be created.
- sku
Socketio
Sku - The SKU to use for this Web PubSub Service. Possible values are
Free_F1
,Standard_S1
,Premium_P1
, andPremium_P2
. - aad
Auth booleanEnabled - Whether Azure Active Directory authentication is enabled. Defaults to
true
. - identity
Socketio
Identity - An
identity
block as defined below. - live
Trace booleanConnectivity Logs Enabled - Whether the connectivity log category for live trace is enabled. Defaults to
true
. - live
Trace booleanEnabled - Whether the live trace tool is enabled. Defaults to
true
. - live
Trace booleanHttp Request Logs Enabled - Whether the HTTP request log category for live trace is enabled. Defaults to
true
. - live
Trace booleanMessaging Logs Enabled - Whether the messaging log category for live trace is enabled. Defaults to
true
. - local
Auth booleanEnabled - Whether local authentication using an access key is enabled. Defaults to
true
. - location string
- The Azure Region where the Web PubSub Service should exist. Changing this forces a new Web PubSub Service to be created.
- name string
- The name which should be used for this Web PubSub Service. Changing this forces a new Web PubSub Service to be created.
- public
Network stringAccess Whether public network access is enabled. Defaults to
Enabled
. Possible values areEnabled
andDisabled
.Note:
public_network_access
cannot be set toDisabled
whensku
isFree_F1
.- service
Mode string - The service mode of this Web PubSub Service. Defaults to
Default
. Possible values areDefault
andServerless
. - {[key: string]: string}
- A mapping of tags which should be assigned to the Web PubSub Service.
- tls
Client booleanCert Enabled Whether the service should request a client certificate during a TLS handshake. Defaults to
false
.Note:
tls_client_cert_enabled
cannot be set totrue
whensku
isFree_F1
.
- resource_
group_ strname - The name of the Resource Group where the Web PubSub Service should exist. Changing this forces a new Web PubSub Service to be created.
- sku
Socketio
Sku Args - The SKU to use for this Web PubSub Service. Possible values are
Free_F1
,Standard_S1
,Premium_P1
, andPremium_P2
. - aad_
auth_ boolenabled - Whether Azure Active Directory authentication is enabled. Defaults to
true
. - identity
Socketio
Identity Args - An
identity
block as defined below. - live_
trace_ boolconnectivity_ logs_ enabled - Whether the connectivity log category for live trace is enabled. Defaults to
true
. - live_
trace_ boolenabled - Whether the live trace tool is enabled. Defaults to
true
. - live_
trace_ boolhttp_ request_ logs_ enabled - Whether the HTTP request log category for live trace is enabled. Defaults to
true
. - live_
trace_ boolmessaging_ logs_ enabled - Whether the messaging log category for live trace is enabled. Defaults to
true
. - local_
auth_ boolenabled - Whether local authentication using an access key is enabled. Defaults to
true
. - location str
- The Azure Region where the Web PubSub Service should exist. Changing this forces a new Web PubSub Service to be created.
- name str
- The name which should be used for this Web PubSub Service. Changing this forces a new Web PubSub Service to be created.
- public_
network_ straccess Whether public network access is enabled. Defaults to
Enabled
. Possible values areEnabled
andDisabled
.Note:
public_network_access
cannot be set toDisabled
whensku
isFree_F1
.- service_
mode str - The service mode of this Web PubSub Service. Defaults to
Default
. Possible values areDefault
andServerless
. - Mapping[str, str]
- A mapping of tags which should be assigned to the Web PubSub Service.
- tls_
client_ boolcert_ enabled Whether the service should request a client certificate during a TLS handshake. Defaults to
false
.Note:
tls_client_cert_enabled
cannot be set totrue
whensku
isFree_F1
.
- resource
Group StringName - The name of the Resource Group where the Web PubSub Service should exist. Changing this forces a new Web PubSub Service to be created.
- sku Property Map
- The SKU to use for this Web PubSub Service. Possible values are
Free_F1
,Standard_S1
,Premium_P1
, andPremium_P2
. - aad
Auth BooleanEnabled - Whether Azure Active Directory authentication is enabled. Defaults to
true
. - identity Property Map
- An
identity
block as defined below. - live
Trace BooleanConnectivity Logs Enabled - Whether the connectivity log category for live trace is enabled. Defaults to
true
. - live
Trace BooleanEnabled - Whether the live trace tool is enabled. Defaults to
true
. - live
Trace BooleanHttp Request Logs Enabled - Whether the HTTP request log category for live trace is enabled. Defaults to
true
. - live
Trace BooleanMessaging Logs Enabled - Whether the messaging log category for live trace is enabled. Defaults to
true
. - local
Auth BooleanEnabled - Whether local authentication using an access key is enabled. Defaults to
true
. - location String
- The Azure Region where the Web PubSub Service should exist. Changing this forces a new Web PubSub Service to be created.
- name String
- The name which should be used for this Web PubSub Service. Changing this forces a new Web PubSub Service to be created.
- public
Network StringAccess Whether public network access is enabled. Defaults to
Enabled
. Possible values areEnabled
andDisabled
.Note:
public_network_access
cannot be set toDisabled
whensku
isFree_F1
.- service
Mode String - The service mode of this Web PubSub Service. Defaults to
Default
. Possible values areDefault
andServerless
. - Map<String>
- A mapping of tags which should be assigned to the Web PubSub Service.
- tls
Client BooleanCert Enabled Whether the service should request a client certificate during a TLS handshake. Defaults to
false
.Note:
tls_client_cert_enabled
cannot be set totrue
whensku
isFree_F1
.
Outputs
All input properties are implicitly available as output properties. Additionally, the Socketio resource produces the following output properties:
- External
Ip string - The publicly accessible IP address of the Web PubSub Service.
- 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 for client-side usage of the Web PubSub Service.
- 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 for server-side usage of the Web PubSub Service.
- External
Ip string - The publicly accessible IP address of the Web PubSub Service.
- 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 for client-side usage of the Web PubSub Service.
- 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 for server-side usage of the Web PubSub Service.
- external
Ip String - The publicly accessible IP address of the Web PubSub Service.
- 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 for client-side usage of the Web PubSub Service.
- 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 for server-side usage of the Web PubSub Service.
- external
Ip string - The publicly accessible IP address of the Web PubSub Service.
- 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 for client-side usage of the Web PubSub Service.
- 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 for server-side usage of the Web PubSub Service.
- external_
ip str - The publicly accessible IP address of the Web PubSub Service.
- 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 for client-side usage of the Web PubSub Service.
- 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 for server-side usage of the Web PubSub Service.
- external
Ip String - The publicly accessible IP address of the Web PubSub Service.
- 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 for client-side usage of the Web PubSub Service.
- 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 for server-side usage of the Web PubSub Service.
Look up Existing Socketio Resource
Get an existing Socketio 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?: SocketioState, opts?: CustomResourceOptions): Socketio
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
aad_auth_enabled: Optional[bool] = None,
external_ip: Optional[str] = None,
hostname: Optional[str] = None,
identity: Optional[SocketioIdentityArgs] = None,
live_trace_connectivity_logs_enabled: Optional[bool] = None,
live_trace_enabled: Optional[bool] = None,
live_trace_http_request_logs_enabled: Optional[bool] = None,
live_trace_messaging_logs_enabled: Optional[bool] = 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: 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[SocketioSkuArgs] = None,
tags: Optional[Mapping[str, str]] = None,
tls_client_cert_enabled: Optional[bool] = None) -> Socketio
func GetSocketio(ctx *Context, name string, id IDInput, state *SocketioState, opts ...ResourceOption) (*Socketio, error)
public static Socketio Get(string name, Input<string> id, SocketioState? state, CustomResourceOptions? opts = null)
public static Socketio get(String name, Output<String> id, SocketioState state, CustomResourceOptions options)
resources: _: type: azure:webpubsub:Socketio 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 Azure Active Directory authentication is enabled. Defaults to
true
. - External
Ip string - The publicly accessible IP address of the Web PubSub Service.
- Hostname string
- The FQDN of the Web PubSub Service.
- Identity
Socketio
Identity - An
identity
block as defined below. - Live
Trace boolConnectivity Logs Enabled - Whether the connectivity log category for live trace is enabled. Defaults to
true
. - Live
Trace boolEnabled - Whether the live trace tool is enabled. Defaults to
true
. - Live
Trace boolHttp Request Logs Enabled - Whether the HTTP request log category for live trace is enabled. Defaults to
true
. - Live
Trace boolMessaging Logs Enabled - Whether the messaging log category for live trace is enabled. Defaults to
true
. - Local
Auth boolEnabled - Whether local authentication using an access key is enabled. Defaults to
true
. - Location string
- The Azure Region where the Web PubSub Service should exist. Changing this forces a new Web PubSub Service to be created.
- Name string
- The name which should be used for this Web PubSub Service. Changing this forces a new Web PubSub Service 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 stringAccess Whether public network access is enabled. Defaults to
Enabled
. Possible values areEnabled
andDisabled
.Note:
public_network_access
cannot be set toDisabled
whensku
isFree_F1
.- Public
Port int - The publicly accessible port for client-side usage of the Web PubSub Service.
- Resource
Group stringName - The name of the Resource Group where the Web PubSub Service should exist. Changing this forces a new Web PubSub Service 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 for server-side usage of the Web PubSub Service.
- Service
Mode string - The service mode of this Web PubSub Service. Defaults to
Default
. Possible values areDefault
andServerless
. - Sku
Socketio
Sku - The SKU to use for this Web PubSub Service. Possible values are
Free_F1
,Standard_S1
,Premium_P1
, andPremium_P2
. - Dictionary<string, string>
- A mapping of tags which should be assigned to the Web PubSub Service.
- Tls
Client boolCert Enabled Whether the service should request a client certificate during a TLS handshake. Defaults to
false
.Note:
tls_client_cert_enabled
cannot be set totrue
whensku
isFree_F1
.
- Aad
Auth boolEnabled - Whether Azure Active Directory authentication is enabled. Defaults to
true
. - External
Ip string - The publicly accessible IP address of the Web PubSub Service.
- Hostname string
- The FQDN of the Web PubSub Service.
- Identity
Socketio
Identity Args - An
identity
block as defined below. - Live
Trace boolConnectivity Logs Enabled - Whether the connectivity log category for live trace is enabled. Defaults to
true
. - Live
Trace boolEnabled - Whether the live trace tool is enabled. Defaults to
true
. - Live
Trace boolHttp Request Logs Enabled - Whether the HTTP request log category for live trace is enabled. Defaults to
true
. - Live
Trace boolMessaging Logs Enabled - Whether the messaging log category for live trace is enabled. Defaults to
true
. - Local
Auth boolEnabled - Whether local authentication using an access key is enabled. Defaults to
true
. - Location string
- The Azure Region where the Web PubSub Service should exist. Changing this forces a new Web PubSub Service to be created.
- Name string
- The name which should be used for this Web PubSub Service. Changing this forces a new Web PubSub Service 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 stringAccess Whether public network access is enabled. Defaults to
Enabled
. Possible values areEnabled
andDisabled
.Note:
public_network_access
cannot be set toDisabled
whensku
isFree_F1
.- Public
Port int - The publicly accessible port for client-side usage of the Web PubSub Service.
- Resource
Group stringName - The name of the Resource Group where the Web PubSub Service should exist. Changing this forces a new Web PubSub Service 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 for server-side usage of the Web PubSub Service.
- Service
Mode string - The service mode of this Web PubSub Service. Defaults to
Default
. Possible values areDefault
andServerless
. - Sku
Socketio
Sku Args - The SKU to use for this Web PubSub Service. Possible values are
Free_F1
,Standard_S1
,Premium_P1
, andPremium_P2
. - map[string]string
- A mapping of tags which should be assigned to the Web PubSub Service.
- Tls
Client boolCert Enabled Whether the service should request a client certificate during a TLS handshake. Defaults to
false
.Note:
tls_client_cert_enabled
cannot be set totrue
whensku
isFree_F1
.
- aad
Auth BooleanEnabled - Whether Azure Active Directory authentication is enabled. Defaults to
true
. - external
Ip String - The publicly accessible IP address of the Web PubSub Service.
- hostname String
- The FQDN of the Web PubSub Service.
- identity
Socketio
Identity - An
identity
block as defined below. - live
Trace BooleanConnectivity Logs Enabled - Whether the connectivity log category for live trace is enabled. Defaults to
true
. - live
Trace BooleanEnabled - Whether the live trace tool is enabled. Defaults to
true
. - live
Trace BooleanHttp Request Logs Enabled - Whether the HTTP request log category for live trace is enabled. Defaults to
true
. - live
Trace BooleanMessaging Logs Enabled - Whether the messaging log category for live trace is enabled. Defaults to
true
. - local
Auth BooleanEnabled - Whether local authentication using an access key is enabled. Defaults to
true
. - location String
- The Azure Region where the Web PubSub Service should exist. Changing this forces a new Web PubSub Service to be created.
- name String
- The name which should be used for this Web PubSub Service. Changing this forces a new Web PubSub Service 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 StringAccess Whether public network access is enabled. Defaults to
Enabled
. Possible values areEnabled
andDisabled
.Note:
public_network_access
cannot be set toDisabled
whensku
isFree_F1
.- public
Port Integer - The publicly accessible port for client-side usage of the Web PubSub Service.
- resource
Group StringName - The name of the Resource Group where the Web PubSub Service should exist. Changing this forces a new Web PubSub Service 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 for server-side usage of the Web PubSub Service.
- service
Mode String - The service mode of this Web PubSub Service. Defaults to
Default
. Possible values areDefault
andServerless
. - sku
Socketio
Sku - The SKU to use for this Web PubSub Service. Possible values are
Free_F1
,Standard_S1
,Premium_P1
, andPremium_P2
. - Map<String,String>
- A mapping of tags which should be assigned to the Web PubSub Service.
- tls
Client BooleanCert Enabled Whether the service should request a client certificate during a TLS handshake. Defaults to
false
.Note:
tls_client_cert_enabled
cannot be set totrue
whensku
isFree_F1
.
- aad
Auth booleanEnabled - Whether Azure Active Directory authentication is enabled. Defaults to
true
. - external
Ip string - The publicly accessible IP address of the Web PubSub Service.
- hostname string
- The FQDN of the Web PubSub Service.
- identity
Socketio
Identity - An
identity
block as defined below. - live
Trace booleanConnectivity Logs Enabled - Whether the connectivity log category for live trace is enabled. Defaults to
true
. - live
Trace booleanEnabled - Whether the live trace tool is enabled. Defaults to
true
. - live
Trace booleanHttp Request Logs Enabled - Whether the HTTP request log category for live trace is enabled. Defaults to
true
. - live
Trace booleanMessaging Logs Enabled - Whether the messaging log category for live trace is enabled. Defaults to
true
. - local
Auth booleanEnabled - Whether local authentication using an access key is enabled. Defaults to
true
. - location string
- The Azure Region where the Web PubSub Service should exist. Changing this forces a new Web PubSub Service to be created.
- name string
- The name which should be used for this Web PubSub Service. Changing this forces a new Web PubSub Service 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 stringAccess Whether public network access is enabled. Defaults to
Enabled
. Possible values areEnabled
andDisabled
.Note:
public_network_access
cannot be set toDisabled
whensku
isFree_F1
.- public
Port number - The publicly accessible port for client-side usage of the Web PubSub Service.
- resource
Group stringName - The name of the Resource Group where the Web PubSub Service should exist. Changing this forces a new Web PubSub Service 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 for server-side usage of the Web PubSub Service.
- service
Mode string - The service mode of this Web PubSub Service. Defaults to
Default
. Possible values areDefault
andServerless
. - sku
Socketio
Sku - The SKU to use for this Web PubSub Service. Possible values are
Free_F1
,Standard_S1
,Premium_P1
, andPremium_P2
. - {[key: string]: string}
- A mapping of tags which should be assigned to the Web PubSub Service.
- tls
Client booleanCert Enabled Whether the service should request a client certificate during a TLS handshake. Defaults to
false
.Note:
tls_client_cert_enabled
cannot be set totrue
whensku
isFree_F1
.
- aad_
auth_ boolenabled - Whether Azure Active Directory authentication is enabled. Defaults to
true
. - external_
ip str - The publicly accessible IP address of the Web PubSub Service.
- hostname str
- The FQDN of the Web PubSub Service.
- identity
Socketio
Identity Args - An
identity
block as defined below. - live_
trace_ boolconnectivity_ logs_ enabled - Whether the connectivity log category for live trace is enabled. Defaults to
true
. - live_
trace_ boolenabled - Whether the live trace tool is enabled. Defaults to
true
. - live_
trace_ boolhttp_ request_ logs_ enabled - Whether the HTTP request log category for live trace is enabled. Defaults to
true
. - live_
trace_ boolmessaging_ logs_ enabled - Whether the messaging log category for live trace is enabled. Defaults to
true
. - local_
auth_ boolenabled - Whether local authentication using an access key is enabled. Defaults to
true
. - location str
- The Azure Region where the Web PubSub Service should exist. Changing this forces a new Web PubSub Service to be created.
- name str
- The name which should be used for this Web PubSub Service. Changing this forces a new Web PubSub Service 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_ straccess Whether public network access is enabled. Defaults to
Enabled
. Possible values areEnabled
andDisabled
.Note:
public_network_access
cannot be set toDisabled
whensku
isFree_F1
.- public_
port int - The publicly accessible port for client-side usage of the Web PubSub Service.
- resource_
group_ strname - The name of the Resource Group where the Web PubSub Service should exist. Changing this forces a new Web PubSub Service 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 for server-side usage of the Web PubSub Service.
- service_
mode str - The service mode of this Web PubSub Service. Defaults to
Default
. Possible values areDefault
andServerless
. - sku
Socketio
Sku Args - The SKU to use for this Web PubSub Service. Possible values are
Free_F1
,Standard_S1
,Premium_P1
, andPremium_P2
. - Mapping[str, str]
- A mapping of tags which should be assigned to the Web PubSub Service.
- tls_
client_ boolcert_ enabled Whether the service should request a client certificate during a TLS handshake. Defaults to
false
.Note:
tls_client_cert_enabled
cannot be set totrue
whensku
isFree_F1
.
- aad
Auth BooleanEnabled - Whether Azure Active Directory authentication is enabled. Defaults to
true
. - external
Ip String - The publicly accessible IP address of the Web PubSub Service.
- hostname String
- The FQDN of the Web PubSub Service.
- identity Property Map
- An
identity
block as defined below. - live
Trace BooleanConnectivity Logs Enabled - Whether the connectivity log category for live trace is enabled. Defaults to
true
. - live
Trace BooleanEnabled - Whether the live trace tool is enabled. Defaults to
true
. - live
Trace BooleanHttp Request Logs Enabled - Whether the HTTP request log category for live trace is enabled. Defaults to
true
. - live
Trace BooleanMessaging Logs Enabled - Whether the messaging log category for live trace is enabled. Defaults to
true
. - local
Auth BooleanEnabled - Whether local authentication using an access key is enabled. Defaults to
true
. - location String
- The Azure Region where the Web PubSub Service should exist. Changing this forces a new Web PubSub Service to be created.
- name String
- The name which should be used for this Web PubSub Service. Changing this forces a new Web PubSub Service 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 StringAccess Whether public network access is enabled. Defaults to
Enabled
. Possible values areEnabled
andDisabled
.Note:
public_network_access
cannot be set toDisabled
whensku
isFree_F1
.- public
Port Number - The publicly accessible port for client-side usage of the Web PubSub Service.
- resource
Group StringName - The name of the Resource Group where the Web PubSub Service should exist. Changing this forces a new Web PubSub Service 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 for server-side usage of the Web PubSub Service.
- service
Mode String - The service mode of this Web PubSub Service. Defaults to
Default
. Possible values areDefault
andServerless
. - sku Property Map
- The SKU to use for this Web PubSub Service. Possible values are
Free_F1
,Standard_S1
,Premium_P1
, andPremium_P2
. - Map<String>
- A mapping of tags which should be assigned to the Web PubSub Service.
- tls
Client BooleanCert Enabled Whether the service should request a client certificate during a TLS handshake. Defaults to
false
.Note:
tls_client_cert_enabled
cannot be set totrue
whensku
isFree_F1
.
Supporting Types
SocketioIdentity, SocketioIdentityArgs
- Type string
- The type of Managed Identity for this Web PubSub Service. Possible Values are
SystemAssigned
andUserAssigned
. - Identity
Ids List<string> Specifies a list of User Assigned Managed Identity IDs for this Web PubSub Service.
Note:
identity_ids
is required whentype
isUserAssigned
.- Principal
Id string - Tenant
Id string
- Type string
- The type of Managed Identity for this Web PubSub Service. Possible Values are
SystemAssigned
andUserAssigned
. - Identity
Ids []string Specifies a list of User Assigned Managed Identity IDs for this Web PubSub Service.
Note:
identity_ids
is required whentype
isUserAssigned
.- Principal
Id string - Tenant
Id string
- type String
- The type of Managed Identity for this Web PubSub Service. Possible Values are
SystemAssigned
andUserAssigned
. - identity
Ids List<String> Specifies a list of User Assigned Managed Identity IDs for this Web PubSub Service.
Note:
identity_ids
is required whentype
isUserAssigned
.- principal
Id String - tenant
Id String
- type string
- The type of Managed Identity for this Web PubSub Service. Possible Values are
SystemAssigned
andUserAssigned
. - identity
Ids string[] Specifies a list of User Assigned Managed Identity IDs for this Web PubSub Service.
Note:
identity_ids
is required whentype
isUserAssigned
.- principal
Id string - tenant
Id string
- type str
- The type of Managed Identity for this Web PubSub Service. Possible Values are
SystemAssigned
andUserAssigned
. - identity_
ids Sequence[str] Specifies a list of User Assigned Managed Identity IDs for this Web PubSub Service.
Note:
identity_ids
is required whentype
isUserAssigned
.- principal_
id str - tenant_
id str
- type String
- The type of Managed Identity for this Web PubSub Service. Possible Values are
SystemAssigned
andUserAssigned
. - identity
Ids List<String> Specifies a list of User Assigned Managed Identity IDs for this Web PubSub Service.
Note:
identity_ids
is required whentype
isUserAssigned
.- principal
Id String - tenant
Id String
SocketioSku, SocketioSkuArgs
- Name string
- The name which should be used for this Web PubSub Service. Changing this forces a new Web PubSub Service to be created.
- Capacity int
The number of units associated with this Web PubSub Service. Defaults to
1
. Possible values are1
,2
,3
,4
,5
,6
,7
,8
,9
,10
,20
,30
,40
,50
,60
,70
,80
,90
,100
,200
,300
,400
,500
,600
,700
,800
,900
and1000
.Note: The valid range depends on which
sku
is used. ForFree_F1
only1
is supported, forStandard_S1
andPremium_P1
1
through100
are supported, and forPremium_P2
the minimum capacity is100
.
- Name string
- The name which should be used for this Web PubSub Service. Changing this forces a new Web PubSub Service to be created.
- Capacity int
The number of units associated with this Web PubSub Service. Defaults to
1
. Possible values are1
,2
,3
,4
,5
,6
,7
,8
,9
,10
,20
,30
,40
,50
,60
,70
,80
,90
,100
,200
,300
,400
,500
,600
,700
,800
,900
and1000
.Note: The valid range depends on which
sku
is used. ForFree_F1
only1
is supported, forStandard_S1
andPremium_P1
1
through100
are supported, and forPremium_P2
the minimum capacity is100
.
- name String
- The name which should be used for this Web PubSub Service. Changing this forces a new Web PubSub Service to be created.
- capacity Integer
The number of units associated with this Web PubSub Service. Defaults to
1
. Possible values are1
,2
,3
,4
,5
,6
,7
,8
,9
,10
,20
,30
,40
,50
,60
,70
,80
,90
,100
,200
,300
,400
,500
,600
,700
,800
,900
and1000
.Note: The valid range depends on which
sku
is used. ForFree_F1
only1
is supported, forStandard_S1
andPremium_P1
1
through100
are supported, and forPremium_P2
the minimum capacity is100
.
- name string
- The name which should be used for this Web PubSub Service. Changing this forces a new Web PubSub Service to be created.
- capacity number
The number of units associated with this Web PubSub Service. Defaults to
1
. Possible values are1
,2
,3
,4
,5
,6
,7
,8
,9
,10
,20
,30
,40
,50
,60
,70
,80
,90
,100
,200
,300
,400
,500
,600
,700
,800
,900
and1000
.Note: The valid range depends on which
sku
is used. ForFree_F1
only1
is supported, forStandard_S1
andPremium_P1
1
through100
are supported, and forPremium_P2
the minimum capacity is100
.
- name str
- The name which should be used for this Web PubSub Service. Changing this forces a new Web PubSub Service to be created.
- capacity int
The number of units associated with this Web PubSub Service. Defaults to
1
. Possible values are1
,2
,3
,4
,5
,6
,7
,8
,9
,10
,20
,30
,40
,50
,60
,70
,80
,90
,100
,200
,300
,400
,500
,600
,700
,800
,900
and1000
.Note: The valid range depends on which
sku
is used. ForFree_F1
only1
is supported, forStandard_S1
andPremium_P1
1
through100
are supported, and forPremium_P2
the minimum capacity is100
.
- name String
- The name which should be used for this Web PubSub Service. Changing this forces a new Web PubSub Service to be created.
- capacity Number
The number of units associated with this Web PubSub Service. Defaults to
1
. Possible values are1
,2
,3
,4
,5
,6
,7
,8
,9
,10
,20
,30
,40
,50
,60
,70
,80
,90
,100
,200
,300
,400
,500
,600
,700
,800
,900
and1000
.Note: The valid range depends on which
sku
is used. ForFree_F1
only1
is supported, forStandard_S1
andPremium_P1
1
through100
are supported, and forPremium_P2
the minimum capacity is100
.
Import
Web PubSub Service for Socket.IOs can be imported using the resource id
, e.g.
$ pulumi import azure:webpubsub/socketio:Socketio 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
azurerm
Terraform Provider.