Notification interface
表示通知的接口。
方法
| create |
创建或更新 API 管理发布者通知。 |
| get(string, string, string, Notification |
获取由通知标识符指定的通知的详细信息。 |
| list |
列出服务实例中定义的属性集合。 |
方法详细信息
createOrUpdate(string, string, string, NotificationCreateOrUpdateOptionalParams)
创建或更新 API 管理发布者通知。
function createOrUpdate(resourceGroupName: string, serviceName: string, notificationName: string, options?: NotificationCreateOrUpdateOptionalParams): Promise<NotificationContract>
参数
- resourceGroupName
-
string
资源组的名称。 名称不区分大小写。
- serviceName
-
string
API 管理服务的名称。
- notificationName
-
string
通知名称标识符。
选项参数。
返回
Promise<NotificationContract>
get(string, string, string, NotificationGetOptionalParams)
获取由通知标识符指定的通知的详细信息。
function get(resourceGroupName: string, serviceName: string, notificationName: string, options?: NotificationGetOptionalParams): Promise<NotificationContract>
参数
- resourceGroupName
-
string
资源组的名称。 名称不区分大小写。
- serviceName
-
string
API 管理服务的名称。
- notificationName
-
string
通知名称标识符。
- options
- NotificationGetOptionalParams
选项参数。
返回
Promise<NotificationContract>
listByService(string, string, NotificationListByServiceOptionalParams)
列出服务实例中定义的属性集合。
function listByService(resourceGroupName: string, serviceName: string, options?: NotificationListByServiceOptionalParams): PagedAsyncIterableIterator<NotificationContract, NotificationContract[], PageSettings>
参数
- resourceGroupName
-
string
资源组的名称。 名称不区分大小写。
- serviceName
-
string
API 管理服务的名称。
选项参数。