다음을 통해 공유


NotificationRecipientUserOperationsExtensions.CreateOrUpdate Method

Definition

Adds the API Management User to the list of Recipients for the Notification.

public static Microsoft.Azure.Management.ApiManagement.Models.RecipientUserContract CreateOrUpdate (this Microsoft.Azure.Management.ApiManagement.INotificationRecipientUserOperations operations, string resourceGroupName, string serviceName, string notificationName, string userId);
static member CreateOrUpdate : Microsoft.Azure.Management.ApiManagement.INotificationRecipientUserOperations * string * string * string * string -> Microsoft.Azure.Management.ApiManagement.Models.RecipientUserContract
<Extension()>
Public Function CreateOrUpdate (operations As INotificationRecipientUserOperations, resourceGroupName As String, serviceName As String, notificationName As String, userId As String) As RecipientUserContract

Parameters

operations
INotificationRecipientUserOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

serviceName
String

The name of the API Management service.

notificationName
String

Notification Name Identifier. Possible values include: 'RequestPublisherNotificationMessage', 'PurchasePublisherNotificationMessage', 'NewApplicationNotificationMessage', 'BCC', 'NewIssuePublisherNotificationMessage', 'AccountClosedPublisher', 'QuotaLimitApproachingPublisherNotificationMessage'

userId
String

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

Returns

Applies to