Skip to main content

api_products

Creates, updates, deletes, gets or lists an api_products resource.

Overview

Nameapi_products
TypeResource
Idazure.api_management.api_products

Fields

The following fields are returned by SELECT queries:

The operation returns a collection of products which have the Api entity.

NameDatatypeDescription
propertiesobjectProduct entity contract properties.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_by_apisselectresourceGroupName, serviceName, apiId, subscriptionId$filter, $top, $skipLists all Products, which the API is part of.

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
apiIdstringAPI identifier. Must be unique in the current API Management service instance.
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
serviceNamestringThe name of the API Management service.
subscriptionIdstringThe ID of the target subscription.
$filterstring| Field | Usage | Supported operators | Supported functions |</br>|-------------|-------------|-------------|-------------|</br>| displayName | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |</br>
$skipinteger (int32)Number of records to skip.
$topinteger (int32)Number of records to return.

SELECT examples

Lists all Products, which the API is part of.

SELECT
properties
FROM azure.api_management.api_products
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND serviceName = '{{ serviceName }}' -- required
AND apiId = '{{ apiId }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
AND $filter = '{{ $filter }}'
AND $top = '{{ $top }}'
AND $skip = '{{ $skip }}'
;