Share via


ProductGroups Interface

Implements

com.microsoft.azure.arm.collection.SupportsCreating<Blank> com.microsoft.azure.arm.model.HasInner<com.microsoft.azure.management.apimanagement.v2019_01_01.implementation.ProductGroupsInner>

public interface ProductGroups
extends com.microsoft.azure.arm.collection.SupportsCreating<Blank>, com.microsoft.azure.arm.model.HasInner<com.microsoft.azure.management.apimanagement.v2019_01_01.implementation.ProductGroupsInner>

Type representing ProductGroups.

Method Summary

Modifier and Type Method and Description
abstract rx.Completable checkEntityExistsAsync(String resourceGroupName, String serviceName, String productId, String groupId)

Checks that Group entity specified by identifier is associated with the Product entity.

abstract rx.Completable deleteAsync(String resourceGroupName, String serviceName, String productId, String groupId)

Deletes the association between the specified group and product.

abstract rx.Observable<ProductGroupContract> listByProductAsync(String resourceGroupName, String serviceName, String productId)

Lists the collection of developer groups associated with the specified product.

Method Details

checkEntityExistsAsync

public abstract Completable checkEntityExistsAsync(String resourceGroupName, String serviceName, String productId, String groupId)

Checks that Group entity specified by identifier is associated with the Product entity.

Parameters:

resourceGroupName - The name of the resource group.
serviceName - The name of the API Management service.
productId - Product identifier. Must be unique in the current API Management service instance.
groupId - Group identifier. Must be unique in the current API Management service instance.

Returns:

the observable for the request

deleteAsync

public abstract Completable deleteAsync(String resourceGroupName, String serviceName, String productId, String groupId)

Deletes the association between the specified group and product.

Parameters:

resourceGroupName - The name of the resource group.
serviceName - The name of the API Management service.
productId - Product identifier. Must be unique in the current API Management service instance.
groupId - Group identifier. Must be unique in the current API Management service instance.

Returns:

the observable for the request

listByProductAsync

public abstract Observable<ProductGroupContract> listByProductAsync(String resourceGroupName, String serviceName, String productId)

Lists the collection of developer groups associated with the specified product.

Parameters:

resourceGroupName - The name of the resource group.
serviceName - The name of the API Management service.
productId - Product identifier. Must be unique in the current API Management service instance.

Returns:

the observable for the request

Applies to