Skip to main content

signalrs

Creates, updates, deletes, gets or lists a signalrs resource.

Overview

Namesignalrs
TypeResource
Idazure.signalr.signalrs

Fields

NameDatatypeDescription
application_firewalltextfield from the properties object
corstextfield from the properties object
disable_aad_authtextfield from the properties object
disable_local_authtextfield from the properties object
external_iptextfield from the properties object
featurestextfield from the properties object
host_nametextfield from the properties object
host_name_prefixtextfield from the properties object
identitytextA class represent managed identities used for request and response
kindtextThe kind of the service
live_trace_configurationtextfield from the properties object
locationtextThe geo-location where the resource lives
network_ac_lstextfield from the properties object
private_endpoint_connectionstextfield from the properties object
provisioning_statetextfield from the properties object
public_network_accesstextfield from the properties object
public_porttextfield from the properties object
region_endpoint_enabledtextfield from the properties object
resourceGroupNametextfield from the properties object
resourceNametextfield from the properties object
resource_log_configurationtextfield from the properties object
resource_stoppedtextfield from the properties object
server_porttextfield from the properties object
serverlesstextfield from the properties object
shared_private_link_resourcestextfield from the properties object
skutextThe billing information of the resource.
subscriptionIdtextfield from the properties object
tagstextResource tags.
tlstextfield from the properties object
upstreamtextfield from the properties object
versiontextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTresourceGroupName, resourceName, subscriptionIdGet the resource and its properties.
list_by_resource_groupSELECTresourceGroupName, subscriptionIdHandles requests to list all resources in a resource group.
list_by_subscriptionSELECTsubscriptionIdHandles requests to list all resources in a subscription.
create_or_updateINSERTresourceGroupName, resourceName, subscriptionIdCreate or update a resource.
deleteDELETEresourceGroupName, resourceName, subscriptionIdOperation to delete a resource.
updateUPDATEresourceGroupName, resourceName, subscriptionIdOperation to update an exiting resource.
check_name_availabilityEXEClocation, subscriptionId, data__name, data__typeChecks that the resource name is valid and is not already in use.
regenerate_keyEXECresourceGroupName, resourceName, subscriptionIdRegenerate the access key for the resource. PrimaryKey and SecondaryKey cannot be regenerated at the same time.
restartEXECresourceGroupName, resourceName, subscriptionIdOperation to restart a resource.

SELECT examples

Handles requests to list all resources in a subscription.

SELECT
application_firewall,
cors,
disable_aad_auth,
disable_local_auth,
external_ip,
features,
host_name,
host_name_prefix,
identity,
kind,
live_trace_configuration,
location,
network_ac_ls,
private_endpoint_connections,
provisioning_state,
public_network_access,
public_port,
region_endpoint_enabled,
resourceGroupName,
resourceName,
resource_log_configuration,
resource_stopped,
server_port,
serverless,
shared_private_link_resources,
sku,
subscriptionId,
tags,
tls,
upstream,
version
FROM azure.signalr.vw_signalrs
WHERE subscriptionId = '{{ subscriptionId }}';

INSERT example

Use the following StackQL query and manifest file to create a new signalrs resource.

/*+ create */
INSERT INTO azure.signalr.signalrs (
resourceGroupName,
resourceName,
subscriptionId,
tags,
location,
sku,
properties,
kind,
identity
)
SELECT
'{{ resourceGroupName }}',
'{{ resourceName }}',
'{{ subscriptionId }}',
'{{ tags }}',
'{{ location }}',
'{{ sku }}',
'{{ properties }}',
'{{ kind }}',
'{{ identity }}'
;

UPDATE example

Updates a signalrs resource.

/*+ update */
UPDATE azure.signalr.signalrs
SET
tags = '{{ tags }}',
location = '{{ location }}',
sku = '{{ sku }}',
properties = '{{ properties }}',
kind = '{{ kind }}',
identity = '{{ identity }}'
WHERE
resourceGroupName = '{{ resourceGroupName }}'
AND resourceName = '{{ resourceName }}'
AND subscriptionId = '{{ subscriptionId }}';

DELETE example

Deletes the specified signalrs resource.

/*+ delete */
DELETE FROM azure.signalr.signalrs
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND resourceName = '{{ resourceName }}'
AND subscriptionId = '{{ subscriptionId }}';