custom_domains
Creates, updates, deletes, gets or lists a custom_domains
resource.
Overview
Name | custom_domains |
Type | Resource |
Id | azure.web_pubsub.custom_domains |
Fields
- vw_custom_domains
- custom_domains
Name | Datatype | Description |
---|---|---|
name | text | field from the properties object |
custom_certificate | text | field from the properties object |
domain_name | text | field from the properties object |
provisioning_state | text | field from the properties object |
resourceGroupName | text | field from the properties object |
resourceName | text | field from the properties object |
subscriptionId | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
properties | object | Properties of a custom domain. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | name, resourceGroupName, resourceName, subscriptionId | Get a custom domain. |
list | SELECT | resourceGroupName, resourceName, subscriptionId | List all custom domains. |
create_or_update | INSERT | name, resourceGroupName, resourceName, subscriptionId, data__properties | Create or update a custom domain. |
delete | DELETE | name, resourceGroupName, resourceName, subscriptionId | Delete a custom domain. |
SELECT
examples
List all custom domains.
- vw_custom_domains
- 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 }}';
SELECT
properties
FROM azure.web_pubsub.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.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.web_pubsub.custom_domains (
name,
resourceGroupName,
resourceName,
subscriptionId,
data__properties,
properties
)
SELECT
'{{ name }}',
'{{ resourceGroupName }}',
'{{ resourceName }}',
'{{ subscriptionId }}',
'{{ data__properties }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: provisioningState
value: []
- name: domainName
value: string
- name: customCertificate
value:
- name: id
value: string
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 }}';