/usr/lib/python2.6/site-packages/openstack/telemetry/v2
NameSizeModeActions
alarm.py37570644editdlrm
alarm.pyc27170644editdlrm
alarm_change.py20670644editdlrm
alarm_change.pyc17070644editdlrm
capability.py14040644editdlrm
capability.pyc14750644editdlrm
meter.py16110644editdlrm
meter.pyc10640644editdlrm
resource.py20880644editdlrm
resource.pyc12070644editdlrm
sample.py29350644editdlrm
sample.pyc23390644editdlrm
statistics.py30980644editdlrm
statistics.pyc20140644editdlrm
_proxy.py125120644editdlrm
_proxy.pyc140690644editdlrm
__init__.py00644editdlrm
__init__.pyc1560644editdlrm
Edit: /usr/lib/python2.6/site-packages/openstack/telemetry/v2/_proxy.pyc (14069B)
5 Wc @sddklZddklZddklZddklZddklZ ddkl Z ddkl Z ddkl Z d eifd YZd S( i(tproxy(talarm(t alarm_change(t capability(tmeter(tresource(tsample(t statisticstProxycBseZdZdZedZedZdZdZdZ edZ dZ ed Z d Z ed Zd Zed ZdZdZdZedZdZedZdZRS(sE.. caution:: This API is a work in progress and is subject to change.cKs|iti|S(szCreate a new alarm from attributes :param dict attrs: Keyword arguments which will be used to create a :class:`~openstack.telemetry.v2.alarm.Alarm`, comprised of the properties on the Alarm class. :returns: The results of alarm creation :rtype: :class:`~openstack.telemetry.v2.alarm.Alarm` (t_createt_alarmtAlarm(tselftattrs((sC/tmp/pip-build-wCUybK/openstacksdk/openstack/telemetry/v2/_proxy.pyt create_alarms cCs|iti|d|dS(sDelete an alarm :param alarm: The value can be either the ID of an alarm or a :class:`~openstack.telemetry.v2.alarm.Alarm` instance. :param bool ignore_missing: When set to ``False`` :class:`~openstack.exceptions.ResourceNotFound` will be raised when the alarm does not exist. When set to ``True``, no exception will be set when attempting to delete a nonexistent alarm. :returns: ``None`` tignore_missingN(t_deleteR R (R RR((sC/tmp/pip-build-wCUybK/openstacksdk/openstack/telemetry/v2/_proxy.pyt delete_alarm&s cCs|iti|d|S(sFind a single alarm :param name_or_id: The name or ID of a alarm. :param bool ignore_missing: When set to ``False`` :class:`~openstack.exceptions.ResourceNotFound` will be raised when the resource does not exist. When set to ``True``, None will be returned when attempting to find a nonexistent resource. :returns: One :class:`~openstack.telemetry.v2.alarm.Alarm` or None R(t_findR R (R t name_or_idR((sC/tmp/pip-build-wCUybK/openstacksdk/openstack/telemetry/v2/_proxy.pyt find_alarm5s cCs|iti|S(s]Get a single alarm :param alarm: The value can be the ID of an alarm or a :class:`~openstack.telemetry.v2.alarm.Alarm` instance. :returns: One :class:`~openstack.telemetry.v2.alarm.Alarm` :raises: :class:`~openstack.exceptions.ResourceNotFound` when no resource can be found. (t_getR R (R R((sC/tmp/pip-build-wCUybK/openstacksdk/openstack/telemetry/v2/_proxy.pyt get_alarmCs cKs|itidt|S(s!Return a generator of alarms :param kwargs \*\*query: Optional query parameters to be sent to limit the resources being returned. :returns: A generator of alarm objects :rtype: :class:`~openstack.telemetry.v2.alarm.Alarm` t paginated(t_listR R tFalse(R tquery((sC/tmp/pip-build-wCUybK/openstacksdk/openstack/telemetry/v2/_proxy.pytalarmsOs cKs|iti||S(siUpdate a alarm :param alarm: Either the id of a alarm or a :class:`~openstack.telemetry.v2.alarm.Alarm` instance. :attrs kwargs: The attributes to update on the alarm represented by ``value``. :returns: The updated alarm :rtype: :class:`~openstack.telemetry.v2.alarm.Alarm` (t_updateR R (R RR ((sC/tmp/pip-build-wCUybK/openstacksdk/openstack/telemetry/v2/_proxy.pyt update_alarmZs cCs|iti|d|S(sFind a single alarm change :param name_or_id: The name or ID of a alarm change. :param bool ignore_missing: When set to ``False`` :class:`~openstack.exceptions.ResourceNotFound` will be raised when the resource does not exist. When set to ``True``, None will be returned when attempting to find a nonexistent resource. :returns: One :class:`~openstack.telemetry.v2.alarm_change.AlarmChange` or None R(Rt _alarm_changet AlarmChange(R RR((sC/tmp/pip-build-wCUybK/openstacksdk/openstack/telemetry/v2/_proxy.pytfind_alarm_changegs cKs;tii|i}|itidtdh|d6|S(srReturn a generator of alarm changes :param alarm: Alarm resource or id for alarm. :param kwargs \*\*query: Optional query parameters to be sent to limit the resources being returned. :returns: A generator of alarm change objects :rtype: :class:`~openstack.telemetry.v2.alarm_change.AlarmChange` Rt path_argstalarm_id(R R tfrom_idtidRRRR(R RRR"((sC/tmp/pip-build-wCUybK/openstacksdk/openstack/telemetry/v2/_proxy.pyt alarm_changesvs cCs|iti|d|S(s Find a single capability :param name_or_id: The name or ID of a capability. :param bool ignore_missing: When set to ``False`` :class:`~openstack.exceptions.ResourceNotFound` will be raised when the resource does not exist. When set to ``True``, None will be returned when attempting to find a nonexistent resource. :returns: One :class:`~openstack.telemetry.v2.capability.Capability` or None R(RRt Capability(R RR((sC/tmp/pip-build-wCUybK/openstacksdk/openstack/telemetry/v2/_proxy.pytfind_capabilitys cKs|itidt|S(s6Return a generator of capabilities :param kwargs \*\*query: Optional query parameters to be sent to limit the resources being returned. :returns: A generator of capability objects :rtype: :class:`~openstack.telemetry.v2.capability.Capability` R(RRR&R(R R((sC/tmp/pip-build-wCUybK/openstacksdk/openstack/telemetry/v2/_proxy.pyt capabilitiess cCs|iti|d|S(sFind a single meter :param name_or_id: The name or ID of a meter. :param bool ignore_missing: When set to ``False`` :class:`~openstack.exceptions.ResourceNotFound` will be raised when the resource does not exist. When set to ``True``, None will be returned when attempting to find a nonexistent resource. :returns: One :class:`~openstack.telemetry.v2.meter.Meter` or None R(Rt_metertMeter(R RR((sC/tmp/pip-build-wCUybK/openstacksdk/openstack/telemetry/v2/_proxy.pyt find_meters cKs|itidt|S(s!Return a generator of meters :param kwargs \*\*query: Optional query parameters to be sent to limit the resources being returned. :returns: A generator of meter objects :rtype: :class:`~openstack.telemetry.v2.meter.Meter` R(RR)R*R(R R((sC/tmp/pip-build-wCUybK/openstacksdk/openstack/telemetry/v2/_proxy.pytmeterss cCs|iti|d|S(sFind a single resource :param name_or_id: The name or ID of a resource. :param bool ignore_missing: When set to ``False`` :class:`~openstack.exceptions.ResourceNotFound` will be raised when the resource does not exist. When set to ``True``, None will be returned when attempting to find a nonexistent resource. :returns: One :class:`~openstack.telemetry.v2.resource.Resource` or None R(Rt _resourcetResource(R RR((sC/tmp/pip-build-wCUybK/openstacksdk/openstack/telemetry/v2/_proxy.pyt find_resources cCs|iti|S(sGet a single resource :param resource: The value can be the ID of a resource or a :class:`~openstack.telemetry.v2.resource.Resource` instance. :returns: One :class:`~openstack.telemetry.v2.resource.Resource` :raises: :class:`~openstack.exceptions.ResourceNotFound` when no resource can be found. (RR-R.(R R((sC/tmp/pip-build-wCUybK/openstacksdk/openstack/telemetry/v2/_proxy.pyt get_resources cKs|itidt|S(s-Return a generator of resources :param kwargs \*\*query: Optional query parameters to be sent to limit the resources being returned. :returns: A generator of resource objects :rtype: :class:`~openstack.telemetry.v2.resource.Resource` R(RR-R.R(R R((sC/tmp/pip-build-wCUybK/openstacksdk/openstack/telemetry/v2/_proxy.pyt resourcess cKs|iti|S(sCreate a new sample from attributes :param dict attrs: Keyword arguments which will be used to create a :class:`~openstack.telemetry.v2.sample.Sample`, comprised of the properties on the Sample class. :returns: The results of sample creation :rtype: :class:`~openstack.telemetry.v2.sample.Sample` (R RtSample(R R ((sC/tmp/pip-build-wCUybK/openstacksdk/openstack/telemetry/v2/_proxy.pyt create_samples cCs|iti|d|S(sFind a single sample :param name_or_id: The name or ID of a sample. :param bool ignore_missing: When set to ``False`` :class:`~openstack.exceptions.ResourceNotFound` will be raised when the resource does not exist. When set to ``True``, None will be returned when attempting to find a nonexistent resource. :returns: One :class:`~openstack.telemetry.v2.sample.Sample` or None R(RRR2(R RR((sC/tmp/pip-build-wCUybK/openstacksdk/openstack/telemetry/v2/_proxy.pyt find_samples cKs;tii|i}|itidtdh|d6|S(s_Return a generator of samples :param value: Meter resource or name for a meter. :param kwargs \*\*query: Optional query parameters to be sent to limit the resources being returned. :returns: A generator of sample objects :rtype: :class:`~openstack.telemetry.v2.sample.Sample` RR!t counter_name(R)R*t from_nametnameRRR2R(R RRt meter_name((sC/tmp/pip-build-wCUybK/openstacksdk/openstack/telemetry/v2/_proxy.pytsampless cCs|iti|d|S(s Find a single statistics :param name_or_id: The name or ID of a statistics. :param bool ignore_missing: When set to ``False`` :class:`~openstack.exceptions.ResourceNotFound` will be raised when the resource does not exist. When set to ``True``, None will be returned when attempting to find a nonexistent resource. :returns: One :class:`~openstack.telemetry.v2.statistics.Statistics` or None R(RRt Statistics(R RR((sC/tmp/pip-build-wCUybK/openstacksdk/openstack/telemetry/v2/_proxy.pytfind_statisticss cKs;tii|i}|itidtdh|d6|S(snReturn a generator of statistics :param meter: Meter resource or name for a meter. :param kwargs \*\*query: Optional query parameters to be sent to limit the resources being returned. :returns: A generator of statistics objects :rtype: :class:`~openstack.telemetry.v2.statistics.Statistics` RR!R8(R)R*R6R7RRR:R(R RRR8((sC/tmp/pip-build-wCUybK/openstacksdk/openstack/telemetry/v2/_proxy.pyRs (t__name__t __module__t__doc__RtTrueRRRRRR R%R'R(R+R,R/R0R1R3R4R9R;R(((sC/tmp/pip-build-wCUybK/openstacksdk/openstack/telemetry/v2/_proxy.pyRs*          N(t openstackRtopenstack.telemetry.v2RR RRRRR)RR-RRt BaseProxyR(((sC/tmp/pip-build-wCUybK/openstacksdk/openstack/telemetry/v2/_proxy.pyt s