阿里云弹性伸缩DeleteNotificationConfiguration

调用DeleteNotificationConfiguration删除一条弹性伸缩事件及资源变化通知。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

请求参数

名称 类型 是否必选 示例值 描述
NotificationArn String acs:ess:cn-hangzhou:123456:cloudmonitor

通知对象标识符。格式为acs:ess:{region}:{account-id}:{resource-relative-id},其中:

  • region为伸缩组所在地域的ID。
  • account-id为您账号的ID。
  • resource-relative-id为通知方式。
ScalingGroupId String AG6CQdPU😯KdwLjgZcJ****

伸缩组的ID。

Action String DeleteNotificationConfiguration

系统规定参数。取值:DeleteNotificationConfiguration。

返回数据

名称 类型 示例值 描述
RequestId String 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E

请求ID。

示例

请求示例


http://ess.aliyuncs.com/?Action=DeleteNotificationConfiguration
&ScalingGroupId=AG6CQdPU8OKdwLjgZcJ****
&NotificationArn=acs:ess:cn-hangzhou:123456:cloudmonitor
&<公共请求参数>

正常返回示例

XML 格式

<DeleteNotificationConfigurationResponse>
      <RequestId>473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E</RequestId>
</DeleteNotificationConfigurationResponse>

JSON 格式

{
	"RequestId":"473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E"
}

错误码

访问错误中心查看更多错误码。

HttpCode

错误码

错误信息

描述

400

NotificationConfigurationNotExist

The specified notificationConfiguration not exist for the scalingGroup.

当前伸缩组不存在指定的伸缩事件及资源变化通知。

404

InvalidScalingGroupId.NotFound

The specified scaling group does not exist.

指定的伸缩组不存在。

原创文章,作者:网友投稿,如若转载,请注明出处:https://www.cloudads.cn/archives/33372.html

发表评论

登录后才能评论