Share via


WorkspaceProductGroupLink interface

Interface representing a WorkspaceProductGroupLink.

Method Details

Adds a group to the specified product via link.

function createOrUpdate(resourceGroupName: string, serviceName: string, workspaceId: string, productId: string, groupLinkId: string, parameters: ProductGroupLinkContract, options?: WorkspaceProductGroupLinkCreateOrUpdateOptionalParams): Promise<ProductGroupLinkContract>

Parameters

resourceGroupName

string

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

serviceName

string

The name of the API Management service.

workspaceId

string

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

productId

string

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

groupLinkId

string

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

parameters
ProductGroupLinkContract

Create or update parameters.

Returns

Deletes the specified group from the specified product.

function delete(resourceGroupName: string, serviceName: string, workspaceId: string, productId: string, groupLinkId: string, options?: WorkspaceProductGroupLinkDeleteOptionalParams): 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.

workspaceId

string

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

productId

string

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

groupLinkId

string

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

options
WorkspaceProductGroupLinkDeleteOptionalParams

The options parameters.

Returns

Promise<void>

Gets the group link for the product.

function get(resourceGroupName: string, serviceName: string, workspaceId: string, productId: string, groupLinkId: string, options?: WorkspaceProductGroupLinkGetOptionalParams): Promise<WorkspaceProductGroupLinkGetResponse>

Parameters

resourceGroupName

string

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

serviceName

string

The name of the API Management service.

workspaceId

string

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

productId

string

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

groupLinkId

string

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

options
WorkspaceProductGroupLinkGetOptionalParams

The options parameters.

Returns

Lists a collection of the group links associated with a product.

function listByProduct(resourceGroupName: string, serviceName: string, workspaceId: string, productId: string, options?: WorkspaceProductGroupLinkListByProductOptionalParams): PagedAsyncIterableIterator<ProductGroupLinkContract, ProductGroupLinkContract[], PageSettings>

Parameters

resourceGroupName

string

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

serviceName

string

The name of the API Management service.

workspaceId

string

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

productId

string

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

Returns