product_wikis
Creates, updates, deletes, gets or lists a product_wikis
resource.
Overview
Name | product_wikis |
Type | Resource |
Id | azure.api_management.product_wikis |
Fields
The following fields are returned by SELECT
queries:
- get
- list
The response body contains the specified Wiki entity.
Name | Datatype | Description |
---|---|---|
properties | object | Wiki details. |
The response body contains the specified Wiki entity.
Name | Datatype | Description |
---|---|---|
properties | object | Wiki details. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | resourceGroupName , serviceName , productId , subscriptionId | Gets the details of the Wiki for a Product specified by its identifier. | |
list | select | resourceGroupName , serviceName , productId , subscriptionId | $filter , $top , $skip | Gets the details of the Wiki for a Product specified by its identifier. |
create_or_update | insert | resourceGroupName , serviceName , productId , subscriptionId | If-Match | Creates a new Wiki for a Product or updates an existing one. |
update | update | resourceGroupName , serviceName , productId , If-Match , subscriptionId | Updates the details of the Wiki for a Product specified by its identifier. | |
delete | delete | resourceGroupName , serviceName , productId , If-Match , subscriptionId | Deletes the specified Wiki from a Product. |
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.
Name | Datatype | Description |
---|---|---|
If-Match | string | ETag 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. |
productId | string | Product identifier. Must be unique in the current API Management service instance. |
resourceGroupName | string | The name of the resource group. The name is case insensitive. |
serviceName | string | The name of the API Management service. |
subscriptionId | string | The ID of the target subscription. |
$filter | string | | Field | Usage | Supported operators | Supported functions |</br>|-------------|-------------|-------------|-------------|</br>| name | filter | eq | contains |</br> |
$skip | integer (int32) | Number of records to skip. |
$top | integer (int32) | Number of records to return. |
If-Match | string | ETag of the Entity. Not required when creating an entity, but required when updating an entity. |
SELECT
examples
- get
- list
Gets the details of the Wiki for a Product specified by its identifier.
SELECT
properties
FROM azure.api_management.product_wikis
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND serviceName = '{{ serviceName }}' -- required
AND productId = '{{ productId }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
;
Gets the details of the Wiki for a Product specified by its identifier.
SELECT
properties
FROM azure.api_management.product_wikis
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND serviceName = '{{ serviceName }}' -- required
AND productId = '{{ productId }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
AND $filter = '{{ $filter }}'
AND $top = '{{ $top }}'
AND $skip = '{{ $skip }}'
;
INSERT
examples
- create_or_update
- Manifest
Creates a new Wiki for a Product or updates an existing one.
INSERT INTO azure.api_management.product_wikis (
data__properties,
resourceGroupName,
serviceName,
productId,
subscriptionId,
If-Match
)
SELECT
'{{ properties }}',
'{{ resourceGroupName }}',
'{{ serviceName }}',
'{{ productId }}',
'{{ subscriptionId }}',
'{{ If-Match }}'
RETURNING
properties
;
# Description fields are for documentation purposes
- name: product_wikis
props:
- name: resourceGroupName
value: string
description: Required parameter for the product_wikis resource.
- name: serviceName
value: string
description: Required parameter for the product_wikis resource.
- name: productId
value: string
description: Required parameter for the product_wikis resource.
- name: subscriptionId
value: string
description: Required parameter for the product_wikis resource.
- name: properties
value: object
description: |
Wiki details.
- name: If-Match
value: string
description: ETag of the Entity. Not required when creating an entity, but required when updating an entity.
UPDATE
examples
- update
Updates the details of the Wiki for a Product specified by its identifier.
UPDATE azure.api_management.product_wikis
SET
data__properties = '{{ properties }}'
WHERE
resourceGroupName = '{{ resourceGroupName }}' --required
AND serviceName = '{{ serviceName }}' --required
AND productId = '{{ productId }}' --required
AND If-Match = '{{ If-Match }}' --required
AND subscriptionId = '{{ subscriptionId }}' --required
RETURNING
properties;
DELETE
examples
- delete
Deletes the specified Wiki from a Product.
DELETE FROM azure.api_management.product_wikis
WHERE resourceGroupName = '{{ resourceGroupName }}' --required
AND serviceName = '{{ serviceName }}' --required
AND productId = '{{ productId }}' --required
AND If-Match = '{{ If-Match }}' --required
AND subscriptionId = '{{ subscriptionId }}' --required
;