Skip to main content

gateway_custom_domains

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

Overview

Namegateway_custom_domains
TypeResource
Idazure.spring_apps.gateway_custom_domains

Fields

NameDatatypeDescription
domainNametextfield from the properties object
gatewayNametextfield from the properties object
resourceGroupNametextfield from the properties object
serviceNametextfield from the properties object
subscriptionIdtextfield from the properties object
thumbprinttextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTdomainName, gatewayName, resourceGroupName, serviceName, subscriptionIdGet the Spring Cloud Gateway custom domain.
listSELECTgatewayName, resourceGroupName, serviceName, subscriptionIdHandle requests to list all Spring Cloud Gateway custom domains.
create_or_updateINSERTdomainName, gatewayName, resourceGroupName, serviceName, subscriptionIdCreate or update the Spring Cloud Gateway custom domain.
deleteDELETEdomainName, gatewayName, resourceGroupName, serviceName, subscriptionIdDelete the Spring Cloud Gateway custom domain.

SELECT examples

Handle requests to list all Spring Cloud 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 }}';

INSERT example

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

/*+ create */
INSERT INTO azure.spring_apps.gateway_custom_domains (
domainName,
gatewayName,
resourceGroupName,
serviceName,
subscriptionId,
properties
)
SELECT
'{{ domainName }}',
'{{ gatewayName }}',
'{{ resourceGroupName }}',
'{{ serviceName }}',
'{{ subscriptionId }}',
'{{ properties }}'
;

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 }}';