资源编排服务 RFS-列举资源栈事件:请求示例

时间:2024-04-22 15:17:30

请求示例

  • 通过filter获取指定event_type和resource_name的资源栈事件

    GET https://{endpoint}/v1/ba2b9930c977f71edaeaa3a5e96a8ff1/stacks/my_hello_world_stack/events?filter=event_type==LOG,resource_name==my_hello_world_resource
  • 通过field选择返回resource_key、resource_name和event_type三个属性,其中event_type为自动补选

    GET https://{endpoint}/v1/ba2b9930c977f71edaeaa3a5e96a8ff1/stacks/my_hello_world_stack/events?field=resource_key,resource_name
  • 通过deployment_id获取指定部署的资源栈事件

    GET https://{endpoint}/v1/ba2b9930c977f71edaeaa3a5e96a8ff1/stacks/my_hello_world_stack/events?deployment_id=81edbb3e-00d9-42fd-94c8-59c7525d0f28
support.huaweicloud.com/api-aos/ListStackEvents.html