TagApiLink interface

Interface representing a TagApiLink.

Method Details

Adds an API to the specified tag via link.

function createOrUpdate(resourceGroupName: string, serviceName: string, tagId: string, apiLinkId: string, parameters: TagApiLinkContract, options?: TagApiLinkCreateOrUpdateOptionalParams): Promise<TagApiLinkContract>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

serviceName

string

The name of the API Management service.

tagId

string

Tag identifier. Must be unique in the current API Management service instance.

apiLinkId

string

Tag-API link identifier. Must be unique in the current API Management service instance.

parameters
TagApiLinkContract

Create or update parameters.

options
TagApiLinkCreateOrUpdateOptionalParams

The options parameters.

Returns

Deletes the specified API from the specified tag.

function delete(resourceGroupName: string, serviceName: string, tagId: string, apiLinkId: string, options?: TagApiLinkDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

serviceName

string

The name of the API Management service.

tagId

string

Tag identifier. Must be unique in the current API Management service instance.

apiLinkId

string

Tag-API link identifier. Must be unique in the current API Management service instance.

options
TagApiLinkDeleteOptionalParams

The options parameters.

Returns

Promise<void>

Gets the API link for the tag.

function get(resourceGroupName: string, serviceName: string, tagId: string, apiLinkId: string, options?: TagApiLinkGetOptionalParams): Promise<TagApiLinkGetResponse>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

serviceName

string

The name of the API Management service.

tagId

string

Tag identifier. Must be unique in the current API Management service instance.

apiLinkId

string

Tag-API link identifier. Must be unique in the current API Management service instance.

options
TagApiLinkGetOptionalParams

The options parameters.

Returns

Lists a collection of the API links associated with a tag.

function listByProduct(resourceGroupName: string, serviceName: string, tagId: string, options?: TagApiLinkListByProductOptionalParams): PagedAsyncIterableIterator<TagApiLinkContract, TagApiLinkContract[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

serviceName

string

The name of the API Management service.

tagId

string

Tag identifier. Must be unique in the current API Management service instance.

options
TagApiLinkListByProductOptionalParams

The options parameters.

Returns