ProductGroupLink interface
Interface representing a ProductGroupLink.
Methods
| create |
Adds a group to the specified product via link. |
| delete(string, string, string, string, Product |
Deletes the specified group from the specified product. |
| get(string, string, string, string, Product |
Gets the group link for the product. |
| list |
Lists a collection of the group links associated with a product. |
Method Details
createOrUpdate(string, string, string, string, ProductGroupLinkContract, ProductGroupLinkCreateOrUpdateOptionalParams)
Adds a group to the specified product via link.
function createOrUpdate(resourceGroupName: string, serviceName: string, productId: string, groupLinkId: string, parameters: ProductGroupLinkContract, options?: ProductGroupLinkCreateOrUpdateOptionalParams): 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.
- 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.
The options parameters.
Returns
Promise<ProductGroupLinkContract>
delete(string, string, string, string, ProductGroupLinkDeleteOptionalParams)
Deletes the specified group from the specified product.
function delete(resourceGroupName: string, serviceName: string, productId: string, groupLinkId: string, options?: ProductGroupLinkDeleteOptionalParams): 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.
- 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.
The options parameters.
Returns
Promise<void>
get(string, string, string, string, ProductGroupLinkGetOptionalParams)
Gets the group link for the product.
function get(resourceGroupName: string, serviceName: string, productId: string, groupLinkId: string, options?: ProductGroupLinkGetOptionalParams): Promise<ProductGroupLinkGetResponse>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- serviceName
-
string
The name of the API Management service.
- 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.
The options parameters.
Returns
Promise<ProductGroupLinkGetResponse>
listByProduct(string, string, string, ProductGroupLinkListByProductOptionalParams)
Lists a collection of the group links associated with a product.
function listByProduct(resourceGroupName: string, serviceName: string, productId: string, options?: ProductGroupLinkListByProductOptionalParams): 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.
- productId
-
string
Product identifier. Must be unique in the current API Management service instance.
The options parameters.