Skip to main content

dev_tool_portals

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

Overview

Namedev_tool_portals
TypeResource
Idazure.spring_apps.dev_tool_portals

Fields

The following fields are returned by SELECT queries:

Success. The response describes the corresponding Dev Tool Portal.

NameDatatypeDescription
propertiesobjectDev Tool Portal properties payload

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, serviceName, devToolPortalNameGet the Application Live and its properties.
listselectsubscriptionId, resourceGroupName, serviceNameHandles requests to list all resources in a Service.
create_or_updateinsertsubscriptionId, resourceGroupName, serviceName, devToolPortalNameCreate the default Dev Tool Portal or update the existing Dev Tool Portal.
deletedeletesubscriptionId, resourceGroupName, serviceName, devToolPortalNameDisable the default Dev Tool Portal.

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
devToolPortalNamestringThe name of Dev Tool Portal.
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 Application Live and its properties.

SELECT
properties
FROM azure.spring_apps.dev_tool_portals
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND serviceName = '{{ serviceName }}' -- required
AND devToolPortalName = '{{ devToolPortalName }}' -- required
;

INSERT examples

Create the default Dev Tool Portal or update the existing Dev Tool Portal.

INSERT INTO azure.spring_apps.dev_tool_portals (
data__properties,
subscriptionId,
resourceGroupName,
serviceName,
devToolPortalName
)
SELECT
'{{ properties }}',
'{{ subscriptionId }}',
'{{ resourceGroupName }}',
'{{ serviceName }}',
'{{ devToolPortalName }}'
RETURNING
properties
;

DELETE examples

Disable the default Dev Tool Portal.

DELETE FROM azure.spring_apps.dev_tool_portals
WHERE subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND serviceName = '{{ serviceName }}' --required
AND devToolPortalName = '{{ devToolPortalName }}' --required
;