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

The following fields are returned by SELECT queries:

Success. The response describes the corresponding Spring Cloud Gateway custom domain.

NameDatatypeDescription
propertiesobjectThe properties of custom domain for Spring Cloud Gateway

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, serviceName, gatewayName, domainNameGet the Spring Cloud Gateway custom domain.
listselectsubscriptionId, resourceGroupName, serviceName, gatewayNameHandle requests to list all Spring Cloud Gateway custom domains.
create_or_updateinsertsubscriptionId, resourceGroupName, serviceName, gatewayName, domainNameCreate or update the Spring Cloud Gateway custom domain.
deletedeletesubscriptionId, resourceGroupName, serviceName, gatewayName, domainNameDelete the Spring Cloud Gateway custom domain.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
domainNamestringThe name of the Spring Cloud Gateway custom domain.
gatewayNamestringThe name of Spring Cloud Gateway.
resourceGroupNamestringThe name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serviceNamestringThe name of the Service resource.
subscriptionIdstringGets subscription ID which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

SELECT examples

Get the Spring Cloud Gateway custom domain.

SELECT
properties
FROM azure.spring_apps.gateway_custom_domains
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND serviceName = '{{ serviceName }}' -- required
AND gatewayName = '{{ gatewayName }}' -- required
AND domainName = '{{ domainName }}' -- required
;

INSERT examples

Create or update the Spring Cloud Gateway custom domain.

INSERT INTO azure.spring_apps.gateway_custom_domains (
data__properties,
subscriptionId,
resourceGroupName,
serviceName,
gatewayName,
domainName
)
SELECT
'{{ properties }}',
'{{ subscriptionId }}',
'{{ resourceGroupName }}',
'{{ serviceName }}',
'{{ gatewayName }}',
'{{ domainName }}'
RETURNING
properties
;

DELETE examples

Delete the Spring Cloud Gateway custom domain.

DELETE FROM azure.spring_apps.gateway_custom_domains
WHERE subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND serviceName = '{{ serviceName }}' --required
AND gatewayName = '{{ gatewayName }}' --required
AND domainName = '{{ domainName }}' --required
;