Skip to main content

dev_tool_portals

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

Overview

Namedev_tool_portals
TypeResource
Idazure_extras.app_platform.dev_tool_portals

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource Id for the resource.
namestringThe name of the resource.
componentsarrayCollection of components belong to Dev Tool Portal.
featuresobjectSettings for Dev Tool Portal.
provisioningStatestringState of the Dev Tool Portal. Known values are: "Creating", "Updating", "Succeeded", "Failed", "Deleting", and "Canceled".
publicbooleanIndicates whether the resource exposes public endpoint.
ssoPropertiesobjectSingle sign-on related configuration.
systemDataobjectMetadata pertaining to creation and last modification of the resource.
typestringThe type of the resource.
urlstringURL of the resource, exposed when 'public' is true.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresource_group_name, service_name, dev_tool_portal_name, subscription_idGet the Application Live and its properties.
listselectresource_group_name, service_name, subscription_idHandles requests to list all resources in a Service.
create_or_updateinsertresource_group_name, service_name, dev_tool_portal_name, subscription_idCreate the default Dev Tool Portal or update the existing Dev Tool Portal.
create_or_updatereplaceresource_group_name, service_name, dev_tool_portal_name, subscription_idCreate the default Dev Tool Portal or update the existing Dev Tool Portal.
deletedeleteresource_group_name, service_name, dev_tool_portal_name, subscription_idDisable 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
dev_tool_portal_namestringThe name of Dev Tool Portal. 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 Application Live and its properties.

SELECT
id,
name,
components,
features,
provisioningState,
public,
ssoProperties,
systemData,
type,
url
FROM azure_extras.app_platform.dev_tool_portals
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND service_name = '{{ service_name }}' -- required
AND dev_tool_portal_name = '{{ dev_tool_portal_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;

INSERT examples

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

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

REPLACE examples

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

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

DELETE examples

Disable the default Dev Tool Portal.

DELETE FROM azure_extras.app_platform.dev_tool_portals
WHERE resource_group_name = '{{ resource_group_name }}' --required
AND service_name = '{{ service_name }}' --required
AND dev_tool_portal_name = '{{ dev_tool_portal_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
;