Skip to main content

gateway_custom_domains

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

Overview

Namegateway_custom_domains
TypeResource
Idazure_extras.app_platform.gateway_custom_domains

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource Id for the resource.
namestringThe name of the resource.
systemDataobjectMetadata pertaining to creation and last modification of the resource.
thumbprintstringThe thumbprint of bound certificate.
typestringThe type of the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresource_group_name, service_name, gateway_name, domain_name, subscription_idGet the Spring Cloud Gateway custom domain.
listselectresource_group_name, service_name, gateway_name, subscription_idHandle requests to list all Spring Cloud Gateway custom domains.
create_or_updateinsertresource_group_name, service_name, gateway_name, domain_name, subscription_idCreate or update the Spring Cloud Gateway custom domain.
create_or_updatereplaceresource_group_name, service_name, gateway_name, domain_name, subscription_idCreate or update the Spring Cloud Gateway custom domain.
deletedeleteresource_group_name, service_name, gateway_name, domain_name, subscription_idDelete 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
domain_namestringThe name of the Spring Cloud Gateway custom domain. Required.
gateway_namestringThe name of Spring Cloud Gateway. Required.
resource_group_namestringThe name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. Required.
service_namestringThe name of the Service resource. Required.
subscription_idstring

SELECT examples

Get the Spring Cloud Gateway custom domain.

SELECT
id,
name,
systemData,
thumbprint,
type
FROM azure_extras.app_platform.gateway_custom_domains
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND service_name = '{{ service_name }}' -- required
AND gateway_name = '{{ gateway_name }}' -- required
AND domain_name = '{{ domain_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;

INSERT examples

Create or update the Spring Cloud Gateway custom domain.

INSERT INTO azure_extras.app_platform.gateway_custom_domains (
properties,
resource_group_name,
service_name,
gateway_name,
domain_name,
subscription_id
)
SELECT
'{{ properties }}',
'{{ resource_group_name }}',
'{{ service_name }}',
'{{ gateway_name }}',
'{{ domain_name }}',
'{{ subscription_id }}'
RETURNING
id,
name,
properties,
systemData,
type
;

REPLACE examples

Create or update the Spring Cloud Gateway custom domain.

REPLACE azure_extras.app_platform.gateway_custom_domains
SET
properties = '{{ properties }}'
WHERE
resource_group_name = '{{ resource_group_name }}' --required
AND service_name = '{{ service_name }}' --required
AND gateway_name = '{{ gateway_name }}' --required
AND domain_name = '{{ domain_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
RETURNING
id,
name,
properties,
systemData,
type;

DELETE examples

Delete the Spring Cloud Gateway custom domain.

DELETE FROM azure_extras.app_platform.gateway_custom_domains
WHERE resource_group_name = '{{ resource_group_name }}' --required
AND service_name = '{{ service_name }}' --required
AND gateway_name = '{{ gateway_name }}' --required
AND domain_name = '{{ domain_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
;