Skip to main content

api_portal_custom_domains

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

Overview

Nameapi_portal_custom_domains
TypeResource
Idazure.spring_apps.api_portal_custom_domains

Fields

NameDatatypeDescription
apiPortalNametextfield from the properties object
domainNametextfield 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
getSELECTapiPortalName, domainName, resourceGroupName, serviceName, subscriptionIdGet the API portal custom domain.
listSELECTapiPortalName, resourceGroupName, serviceName, subscriptionIdHandle requests to list all API portal custom domains.
create_or_updateINSERTapiPortalName, domainName, resourceGroupName, serviceName, subscriptionIdCreate or update the API portal custom domain.
deleteDELETEapiPortalName, domainName, resourceGroupName, serviceName, subscriptionIdDelete the API portal custom domain.

SELECT examples

Handle requests to list all API portal custom domains.

SELECT
apiPortalName,
domainName,
resourceGroupName,
serviceName,
subscriptionId,
thumbprint
FROM azure.spring_apps.vw_api_portal_custom_domains
WHERE apiPortalName = '{{ apiPortalName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND serviceName = '{{ serviceName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

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

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

DELETE example

Deletes the specified api_portal_custom_domains resource.

/*+ delete */
DELETE FROM azure.spring_apps.api_portal_custom_domains
WHERE apiPortalName = '{{ apiPortalName }}'
AND domainName = '{{ domainName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND serviceName = '{{ serviceName }}'
AND subscriptionId = '{{ subscriptionId }}';