Re: List disk offerings cmd

2015-10-15 Thread Wei ZHOU
Patrick, My mistake. There is not a way to enable/disable a service/disk offering (yes for network offerings). It might be useful for some users. You can create a ticket on JIRA. -Wei 2015-10-15 15:40 GMT+02:00 Patrick Dube : > Thanks Wei. But is there actually a way to disable/enable disk offe

Re: List disk offerings cmd

2015-10-15 Thread Patrick Dube
Thanks Wei. But is there actually a way to disable/enable disk offerings? There seems to be nothing via the API. If there isn't, I will create an issue and work on it. Cheers, Patrick On Thu, Oct 15, 2015 at 2:40 AM Wei ZHOU wrote: > Hi Patrick, > > If you remove/expunge a resource (instance,

Re: List disk offerings cmd

2015-10-14 Thread Wei ZHOU
Hi Patrick, If you remove/expunge a resource (instance,volume,offering, tempalte, etc), it means the resource will not be used any more. Hence, cloudstack will not list this kind of resources in the API response. If you want to disable offering temporarily, you can disable/enable it. If the offer

Re: List disk offerings cmd

2015-10-14 Thread Patrick Dube
Thanks ilya. Yeah, I can still see them in the db, but I was wondering if they weren't exposed for a specific reason. I think it would be useful to either be able to see deleted disk/service offerings or to be able to disable them, like with network offerings, and filter them that way. Opinions? C

Re: List disk offerings cmd

2015-10-14 Thread ilya
Patrick As you may know, nothing is deleted in cloudstack db (for the most part), hence records are still accessible via direct db query. I'm not aware of any API call that would show Deleted disk offerings, though, but should not be too hard to implement.. Regards ilya On 10/14/15 10:41 AM, Pa

List disk offerings cmd

2015-10-14 Thread Patrick Dube
Is there any way to list all disk offerings (via the API), even those that were deleted? If not, is there any particular reason why? Thanks, Patrick