Skip to main content

product_wikis

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

Overview

Nameproduct_wikis
TypeResource
Idazure.api_management.product_wikis

Fields

NameDatatypeDescription
documentstextfield from the properties object
productIdtextfield from the properties object
resourceGroupNametextfield from the properties object
serviceNametextfield from the properties object
subscriptionIdtextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTproductId, resourceGroupName, serviceName, subscriptionIdGets the details of the Wiki for a Product specified by its identifier.
listSELECTproductId, resourceGroupName, serviceName, subscriptionIdGets the details of the Wiki for a Product specified by its identifier.
create_or_updateINSERTproductId, resourceGroupName, serviceName, subscriptionIdCreates a new Wiki for a Product or updates an existing one.
deleteDELETEIf-Match, productId, resourceGroupName, serviceName, subscriptionIdDeletes the specified Wiki from a Product.
updateUPDATEIf-Match, productId, resourceGroupName, serviceName, subscriptionIdUpdates the details of the Wiki for a Product specified by its identifier.

SELECT examples

Gets the details of the Wiki for a Product specified by its identifier.

SELECT
documents,
productId,
resourceGroupName,
serviceName,
subscriptionId
FROM azure.api_management.vw_product_wikis
WHERE productId = '{{ productId }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND serviceName = '{{ serviceName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure.api_management.product_wikis (
productId,
resourceGroupName,
serviceName,
subscriptionId,
properties
)
SELECT
'{{ productId }}',
'{{ resourceGroupName }}',
'{{ serviceName }}',
'{{ subscriptionId }}',
'{{ properties }}'
;

UPDATE example

Updates a product_wikis resource.

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

DELETE example

Deletes the specified product_wikis resource.

/*+ delete */
DELETE FROM azure.api_management.product_wikis
WHERE If-Match = '{{ If-Match }}'
AND productId = '{{ productId }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND serviceName = '{{ serviceName }}'
AND subscriptionId = '{{ subscriptionId }}';