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

NotificationOperationsExtensions.CreateOrUpdate 方法

定义

创建或更新 API 管理发布者通知。

public static Microsoft.Azure.Management.ApiManagement.Models.NotificationContract CreateOrUpdate (this Microsoft.Azure.Management.ApiManagement.INotificationOperations operations, string resourceGroupName, string serviceName, string notificationName, string ifMatch = default);
static member CreateOrUpdate : Microsoft.Azure.Management.ApiManagement.INotificationOperations * string * string * string * string -> Microsoft.Azure.Management.ApiManagement.Models.NotificationContract
<Extension()>
Public Function CreateOrUpdate (operations As INotificationOperations, resourceGroupName As String, serviceName As String, notificationName As String, Optional ifMatch As String = Nothing) As NotificationContract

参数

operations
INotificationOperations

此扩展方法的操作组。

resourceGroupName
String

资源组的名称。

serviceName
String

API 管理服务的名称。

notificationName
String

通知名称标识符。 可能的值包括:“RequestPublisherNotificationMessage”、“PurchasePublisherNotificationMessage”、“NewApplicationNotificationMessage”、“BCC”、“NewIssuePublisherNotificationMessage”、“AccountClosedPublisher”、“QuotaLimitApproachingPublisherNotificationMessage”

ifMatch
String

实体的 ETag。 创建实体时不需要,但在更新实体时是必需的。

返回

适用于