Skip to main content

portal_configs

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

Overview

Nameportal_configs
TypeResource
Idazure.api_management.portal_configs

Fields

The following fields are returned by SELECT queries:

The developer portal configuration.

NameDatatypeDescription
propertiesobjectThe developer portal configuration contract properties.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, serviceName, portalConfigIdGet the developer portal configuration.
list_by_serviceselectresourceGroupName, serviceName, subscriptionIdLists the developer portal configurations.
create_or_updateinsertsubscriptionId, resourceGroupName, serviceName, portalConfigId, If-MatchCreate or update the developer portal configuration.
updateupdatesubscriptionId, resourceGroupName, serviceName, portalConfigId, If-MatchUpdate the developer portal configuration.

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
If-MatchstringETag of the Entity. ETag should match the current entity state from the header response of the GET request or it should be * for unconditional update.
portalConfigIdstringPortal configuration identifier.
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
serviceNamestringThe name of the API Management service.
subscriptionIdstringThe ID of the target subscription.

SELECT examples

Get the developer portal configuration.

SELECT
properties
FROM azure.api_management.portal_configs
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND serviceName = '{{ serviceName }}' -- required
AND portalConfigId = '{{ portalConfigId }}' -- required
;

INSERT examples

Create or update the developer portal configuration.

INSERT INTO azure.api_management.portal_configs (
data__properties,
subscriptionId,
resourceGroupName,
serviceName,
portalConfigId,
If-Match
)
SELECT
'{{ properties }}',
'{{ subscriptionId }}',
'{{ resourceGroupName }}',
'{{ serviceName }}',
'{{ portalConfigId }}',
'{{ If-Match }}'
RETURNING
properties
;

UPDATE examples

Update the developer portal configuration.

UPDATE azure.api_management.portal_configs
SET
data__properties = '{{ properties }}'
WHERE
subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND serviceName = '{{ serviceName }}' --required
AND portalConfigId = '{{ portalConfigId }}' --required
AND If-Match = '{{ If-Match }}' --required
RETURNING
properties;