此内容没有您所选择的语言版本。
16.7. Removing a Resource from a Collection
To remove a resource, you must retrieve it from the collection that contains it and call the
delete
method on the resource.
Example 16.10. Removing a Resource from a Collection
Deleting a cluster named DemoCluster from the clusters collection:
cl = api.clusters.get("DemoCluster") cl.delete()
cl = api.clusters.get("DemoCluster")
cl.delete()
22632%2C+Console+Developer+Guide-322-09-2014+17%3A11%3A35Report a bug