Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
contego / home / tvault / .virtenv / lib / python2.7 / site-packages / cinderclient / v2 / cgsnapshots.pyc
Size: Mime:
ó
³EYc@sldZddlmZddlmZddlmZdejfd„ƒYZdejfd„ƒYZ	dS(	s$cgsnapshot interface (v2 extension).iÿÿÿÿ(tbase(tutilst
CgsnapshotcBs)eZdZd„Zd„Zd„ZRS(s0A cgsnapshot is snapshot of a consistency group.cCsd|jS(Ns<cgsnapshot: %s>(tid(tself((sP/home/tvault/.virtenv/lib/python2.7/site-packages/cinderclient/v2/cgsnapshots.pyt__repr__scCs|jj|ƒS(sDelete this cgsnapshot.(tmanagertdelete(R((sP/home/tvault/.virtenv/lib/python2.7/site-packages/cinderclient/v2/cgsnapshots.pyRscKs|jj||S(s3Update the name or description for this cgsnapshot.(Rtupdate(Rtkwargs((sP/home/tvault/.virtenv/lib/python2.7/site-packages/cinderclient/v2/cgsnapshots.pyR s(t__name__t
__module__t__doc__RRR(((sP/home/tvault/.virtenv/lib/python2.7/site-packages/cinderclient/v2/cgsnapshots.pyRs		tCgsnapshotManagercBs_eZdZeZddddd„Zd„Zedd„Z	d„Z
d„Zdd„ZRS(s%Manage :class:`Cgsnapshot` resources.cCsJii|d6|d6|d6|d6|d6dd6d6}|jd	|dƒS(
s]Creates a cgsnapshot.

        :param consistencygroup: Name or uuid of a consistency group
        :param name: Name of the cgsnapshot
        :param description: Description of the cgsnapshot
        :param user_id: User id derived from context
        :param project_id: Project id derived from context
        :rtype: :class:`Cgsnapshot`
       tconsistencygroup_idtnametdescriptiontuser_idt
project_idtcreatingtstatust
cgsnapshots/cgsnapshots(t_create(RRRRRRtbody((sP/home/tvault/.virtenv/lib/python2.7/site-packages/cinderclient/v2/cgsnapshots.pytcreate)s

cCs|jd|dƒS(s~Get a cgsnapshot.

        :param cgsnapshot_id: The ID of the cgsnapshot to get.
        :rtype: :class:`Cgsnapshot`
        s/cgsnapshots/%sR(t_get(Rt
cgsnapshot_id((sP/home/tvault/.virtenv/lib/python2.7/site-packages/cinderclient/v2/cgsnapshots.pytget@scCs>tj|ƒ}d}|r$d}n|jd||fdƒS(sLLists all cgsnapshots.

        :rtype: list of :class:`Cgsnapshot`
        ts/details/cgsnapshots%s%stcgsnapshots(Rtbuild_query_paramt_list(Rtdetailedtsearch_optstquery_stringtdetail((sP/home/tvault/.virtenv/lib/python2.7/site-packages/cinderclient/v2/cgsnapshots.pytlistHs	cCs|jdtj|ƒƒS(s\Delete a cgsnapshot.

        :param cgsnapshot: The :class:`Cgsnapshot` to delete.
        s/cgsnapshots/%s(t_deleteRtgetid(RR((sP/home/tvault/.virtenv/lib/python2.7/site-packages/cinderclient/v2/cgsnapshots.pyRVscKs4|s
dSi|d6}|jdtj|ƒ|ƒS(sxUpdate the name or description for a cgsnapshot.

        :param cgsnapshot: The :class:`Cgsnapshot` to update.
        NRs/cgsnapshots/%s(t_updateRR&(RRR	R((sP/home/tvault/.virtenv/lib/python2.7/site-packages/cinderclient/v2/cgsnapshots.pyR]s
cKsji||6}|jd||dtj|ƒ}|jjj|d|ƒ\}}tj||f|ƒS(s'Perform a cgsnapshot "action."
        tmodify_body_for_actions/cgsnapshots/%s/actionR(t	run_hooksRR&tapitclienttposttcommon_baset
TupleWithMeta(RtactionRtinfoR	Rturltresp((sP/home/tvault/.virtenv/lib/python2.7/site-packages/cinderclient/v2/cgsnapshots.pyt_actionis

!N(
R
RRRtresource_classtNoneRRtTrueR$RRR3(((sP/home/tvault/.virtenv/lib/python2.7/site-packages/cinderclient/v2/cgsnapshots.pyR
%s			N(
Rtcinderclient.apiclientRR-tcinderclientRtResourceRtManagerWithFindR
(((sP/home/tvault/.virtenv/lib/python2.7/site-packages/cinderclient/v2/cgsnapshots.pyt<module>s