gateway_custom_domains
Creates, updates, deletes, gets or lists a gateway_custom_domains
resource.
Overview
Name | gateway_custom_domains |
Type | Resource |
Id | azure.spring_apps.gateway_custom_domains |
Fields
- vw_gateway_custom_domains
- gateway_custom_domains
Name | Datatype | Description |
---|---|---|
domainName | text | field from the properties object |
gatewayName | text | field from the properties object |
resourceGroupName | text | field from the properties object |
serviceName | text | field from the properties object |
subscriptionId | text | field from the properties object |
thumbprint | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
properties | object | The properties of custom domain for Spring Cloud Gateway |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | domainName, gatewayName, resourceGroupName, serviceName, subscriptionId | Get the Spring Cloud Gateway custom domain. |
list | SELECT | gatewayName, resourceGroupName, serviceName, subscriptionId | Handle requests to list all Spring Cloud Gateway custom domains. |
create_or_update | INSERT | domainName, gatewayName, resourceGroupName, serviceName, subscriptionId | Create or update the Spring Cloud Gateway custom domain. |
delete | DELETE | domainName, gatewayName, resourceGroupName, serviceName, subscriptionId | Delete the Spring Cloud Gateway custom domain. |
SELECT
examples
Handle requests to list all Spring Cloud Gateway custom domains.
- vw_gateway_custom_domains
- gateway_custom_domains
SELECT
domainName,
gatewayName,
resourceGroupName,
serviceName,
subscriptionId,
thumbprint
FROM azure.spring_apps.vw_gateway_custom_domains
WHERE gatewayName = '{{ gatewayName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND serviceName = '{{ serviceName }}'
AND subscriptionId = '{{ subscriptionId }}';
SELECT
properties
FROM azure.spring_apps.gateway_custom_domains
WHERE gatewayName = '{{ gatewayName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND serviceName = '{{ serviceName }}'
AND subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new gateway_custom_domains
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.spring_apps.gateway_custom_domains (
domainName,
gatewayName,
resourceGroupName,
serviceName,
subscriptionId,
properties
)
SELECT
'{{ domainName }}',
'{{ gatewayName }}',
'{{ resourceGroupName }}',
'{{ serviceName }}',
'{{ subscriptionId }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: thumbprint
value: string
DELETE
example
Deletes the specified gateway_custom_domains
resource.
/*+ delete */
DELETE FROM azure.spring_apps.gateway_custom_domains
WHERE domainName = '{{ domainName }}'
AND gatewayName = '{{ gatewayName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND serviceName = '{{ serviceName }}'
AND subscriptionId = '{{ subscriptionId }}';