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

NameDatatypeDescription
corstextfield from the properties object
csptextfield from the properties object
delegationtextfield from the properties object
enable_basic_authtextfield from the properties object
portalConfigIdtextfield from the properties object
resourceGroupNametextfield from the properties object
serviceNametextfield from the properties object
signintextfield from the properties object
signuptextfield from the properties object
subscriptionIdtextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTportalConfigId, resourceGroupName, serviceName, subscriptionIdGet the developer portal configuration.
list_by_serviceSELECTresourceGroupName, serviceName, subscriptionIdLists the developer portal configurations.
create_or_updateINSERTIf-Match, portalConfigId, resourceGroupName, serviceName, subscriptionIdCreate or update the developer portal configuration.
updateUPDATEIf-Match, portalConfigId, resourceGroupName, serviceName, subscriptionIdUpdate the developer portal configuration.

SELECT examples

Lists the developer portal configurations.

SELECT
cors,
csp,
delegation,
enable_basic_auth,
portalConfigId,
resourceGroupName,
serviceName,
signin,
signup,
subscriptionId
FROM azure.api_management.vw_portal_configs
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND serviceName = '{{ serviceName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure.api_management.portal_configs (
If-Match,
portalConfigId,
resourceGroupName,
serviceName,
subscriptionId,
properties
)
SELECT
'{{ If-Match }}',
'{{ portalConfigId }}',
'{{ resourceGroupName }}',
'{{ serviceName }}',
'{{ subscriptionId }}',
'{{ properties }}'
;

UPDATE example

Updates a portal_configs resource.

/*+ update */
UPDATE azure.api_management.portal_configs
SET
properties = '{{ properties }}'
WHERE
If-Match = '{{ If-Match }}'
AND portalConfigId = '{{ portalConfigId }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND serviceName = '{{ serviceName }}'
AND subscriptionId = '{{ subscriptionId }}';