Skip to main content

custom_domains

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

Overview

Namecustom_domains
TypeResource
Idazure.web_pubsub.custom_domains

Fields

NameDatatypeDescription
nametextfield from the properties object
custom_certificatetextfield from the properties object
domain_nametextfield from the properties object
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
resourceNametextfield from the properties object
subscriptionIdtextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTname, resourceGroupName, resourceName, subscriptionIdGet a custom domain.
listSELECTresourceGroupName, resourceName, subscriptionIdList all custom domains.
create_or_updateINSERTname, resourceGroupName, resourceName, subscriptionId, data__propertiesCreate or update a custom domain.
deleteDELETEname, resourceGroupName, resourceName, subscriptionIdDelete a custom domain.

SELECT examples

List all custom domains.

SELECT
name,
custom_certificate,
domain_name,
provisioning_state,
resourceGroupName,
resourceName,
subscriptionId
FROM azure.web_pubsub.vw_custom_domains
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND resourceName = '{{ resourceName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure.web_pubsub.custom_domains (
name,
resourceGroupName,
resourceName,
subscriptionId,
data__properties,
properties
)
SELECT
'{{ name }}',
'{{ resourceGroupName }}',
'{{ resourceName }}',
'{{ subscriptionId }}',
'{{ data__properties }}',
'{{ properties }}'
;

DELETE example

Deletes the specified custom_domains resource.

/*+ delete */
DELETE FROM azure.web_pubsub.custom_domains
WHERE name = '{{ name }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND resourceName = '{{ resourceName }}'
AND subscriptionId = '{{ subscriptionId }}';