你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

NotificationRecipientUsers Interface

Implements

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

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

Type representing NotificationRecipientUsers.

Method Summary

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

Determine if the Notification Recipient User is subscribed to the notification.

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

Removes the API Management user from the list of Notification.

abstract rx.Observable<RecipientUserCollection> listByNotificationAsync(String resourceGroupName, String serviceName, NotificationName notificationName)

Gets the list of the Notification Recipient User subscribed to the notification.

Method Details

checkEntityExistsAsync

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

Determine if the Notification Recipient User is subscribed to the notification.

Parameters:

resourceGroupName - The name of the resource group.
serviceName - The name of the API Management service.
notificationName - Notification Name Identifier. Possible values include: 'RequestPublisherNotificationMessage', 'PurchasePublisherNotificationMessage', 'NewApplicationNotificationMessage', 'BCC', 'NewIssuePublisherNotificationMessage', 'AccountClosedPublisher', 'QuotaLimitApproachingPublisherNotificationMessage'
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, NotificationName notificationName, String userId)

Removes the API Management user from the list of Notification.

Parameters:

resourceGroupName - The name of the resource group.
serviceName - The name of the API Management service.
notificationName - Notification Name Identifier. Possible values include: 'RequestPublisherNotificationMessage', 'PurchasePublisherNotificationMessage', 'NewApplicationNotificationMessage', 'BCC', 'NewIssuePublisherNotificationMessage', 'AccountClosedPublisher', 'QuotaLimitApproachingPublisherNotificationMessage'
userId - User identifier. Must be unique in the current API Management service instance.

Returns:

the observable for the request

listByNotificationAsync

public abstract Observable<RecipientUserCollection> listByNotificationAsync(String resourceGroupName, String serviceName, NotificationName notificationName)

Gets the list of the Notification Recipient User subscribed to the notification.

Parameters:

resourceGroupName - The name of the resource group.
serviceName - The name of the API Management service.
notificationName - Notification Name Identifier. Possible values include: 'RequestPublisherNotificationMessage', 'PurchasePublisherNotificationMessage', 'NewApplicationNotificationMessage', 'BCC', 'NewIssuePublisherNotificationMessage', 'AccountClosedPublisher', 'QuotaLimitApproachingPublisherNotificationMessage'

Returns:

the observable for the request

Applies to