Share via


GroupUsers Interface

Implements

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

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

Type representing GroupUsers.

Method Summary

Modifier and Type Method and Description
abstract rx.Observable<java.lang.Boolean> checkEntityExistsAsync(String resourceGroupName, String serviceName, String groupId, String userId)

Checks that user entity specified by identifier is associated with the group entity.

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

Remove existing user from existing group.

abstract rx.Observable<GroupUserContract> listAsync(String resourceGroupName, String serviceName, String groupId)

Lists a collection of user entities associated with the group.

Method Details

checkEntityExistsAsync

public abstract Observable<Boolean> checkEntityExistsAsync(String resourceGroupName, String serviceName, String groupId, String userId)

Checks that user entity specified by identifier is associated with the group entity.

Parameters:

resourceGroupName - The name of the resource group.
serviceName - The name of the API Management service.
groupId - Group identifier. Must be unique in the current API Management service instance.
userId - User 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 groupId, String userId)

Remove existing user from existing group.

Parameters:

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

Returns:

the observable for the request

listAsync

public abstract Observable<GroupUserContract> listAsync(String resourceGroupName, String serviceName, String groupId)

Lists a collection of user entities associated with the group.

Parameters:

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

Returns:

the observable for the request

Applies to