资源编排服务 RFS-删除资源栈实例:请求示例

时间:2024-11-04 14:51:26

请求示例

  • 通过Domain Ids Signed URL传递成员账户信息,且指定删除资源栈实例在region间串行进行

    POST https://{endpoint}/v1/stack-sets/my_hello_world_stack_set/stack-instances/deletion
    
    {
      "stack_set_id" : "1b15e005-bdbb-4bd7-8f9a-a09b6774b4b4",
      "deployment_targets" : {
        "regions" : [ "cn-north-7" ],
        "domain_ids_uri" : "https://your-bucket.cn-north-7.myhuaweicloud.com/my-domain-ids.csv"
      },
      "operation_preferences" : {
        "region_concurrency_type" : "SEQUENTIAL"
      }
    }
  • 通过Domain Ids Array传递成员账户信息,且指定删除资源栈实例在region间并行进行

    POST https://{endpoint}/v1/stack-sets/my_hello_world_stack_set/stack-instances/deletion
    
    {
      "stack_set_id" : "1b15e005-bdbb-4bd7-8f9a-a09b6774b4b4",
      "deployment_targets" : {
        "regions" : [ "cn-north-7" ],
        "domain_ids" : [ "0e0bc7572c0dfb74efa6c60ecd7b1dbf" ]
      },
      "operation_preferences" : {
        "region_concurrency_type" : "PARALLEL"
      }
    }
support.huaweicloud.com/api-aos/DeleteStackInstance.html