Skip to main content

client_application_product_link

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

Overview

Nameclient_application_product_link
TypeResource
Idazure.api_management.client_application_product_link

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
namestringThe name of the resource.
productIdstringThe unique resource identifier of the Product. Required.
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresource_group_name, service_name, client_application_id, client_application_product_link_id, subscription_idGets the product link for the client application.
list_by_client_applicationsselectresource_group_name, service_name, client_application_id, subscription_id$top, $skipLists a collection of product links associated with the specified client application.
createinsertresource_group_name, service_name, client_application_id, client_application_product_link_id, subscription_idAdds an Product to the specified Client Application via link.
deletedeleteresource_group_name, service_name, client_application_id, client_application_product_link_id, subscription_idDeletes the specified Product from the specified client application.

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
client_application_idstringClient Application identifier. Must be unique in the current API Management service instance. Required.
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
service_namestringThe name of the API Management service. Required.
subscription_idstring
$skipintegerNumber of records to skip. Default value is None.
$topintegerNumber of records to return. Default value is None.

SELECT examples

Gets the product link for the client application.

SELECT
id,
name,
productId,
systemData,
type
FROM azure.api_management.client_application_product_link
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND service_name = '{{ service_name }}' -- required
AND client_application_id = '{{ client_application_id }}' -- required
AND client_application_product_link_id = '{{ client_application_product_link_id }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;

INSERT examples

Adds an Product to the specified Client Application via link.

INSERT INTO azure.api_management.client_application_product_link (
properties,
resource_group_name,
service_name,
client_application_id,
client_application_product_link_id,
subscription_id
)
SELECT
'{{ properties }}',
'{{ resource_group_name }}',
'{{ service_name }}',
'{{ client_application_id }}',
'{{ client_application_product_link_id }}',
'{{ subscription_id }}'
RETURNING
id,
name,
properties,
systemData,
type
;

DELETE examples

Deletes the specified Product from the specified client application.

DELETE FROM azure.api_management.client_application_product_link
WHERE resource_group_name = '{{ resource_group_name }}' --required
AND service_name = '{{ service_name }}' --required
AND client_application_id = '{{ client_application_id }}' --required
AND client_application_product_link_id = '{{ client_application_product_link_id }}' --required
AND subscription_id = '{{ subscription_id }}' --required
;