%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /lib/python2.7/site-packages/salt/states/
Upload File :
Create Path :
Current File : //lib/python2.7/site-packages/salt/states/pagerduty.pyo

�
���^c@@s8dZddlmZmZmZd�Zd�ZdS(u�
Create an Event in PagerDuty
============================

.. versionadded:: 2014.1.0

This state is useful for creating events on the PagerDuty service during state
runs.

.. code-block:: yaml

    server-warning-message:
      pagerduty.create_event:
        - name: 'This is a server warning message'
        - details: 'This is a much more detailed message'
        - service_key: 9abcd123456789efabcde362783cdbaf
        - profile: my-pagerduty-account
i(tabsolute_importtprint_functiontunicode_literalscC@sdtkrdStS(uD
    Only load if the pygerduty module is available in __salt__
    upagerduty.create_eventu	pagerduty(t__salt__tFalse(((s9/usr/lib/python2.7/site-packages/salt/states/pagerduty.pyt__virtual__sc	C@s�i|d6id6dd6dd6}tdrCdj|�|d<|Stdd	|d
|d|d|�t|d<d
j|�|d<|S(u�
    Create an event on the PagerDuty service

    .. code-block:: yaml

        server-warning-message:
          pagerduty.create_event:
            - name: 'This is a server warning message'
            - details: 'This is a much more detailed message'
            - service_key: 9abcd123456789efabcde362783cdbaf
            - profile: my-pagerduty-account

    The following parameters are required:

    name
        This is a short description of the event.

    details
        This can be a more detailed description of the event.

    service_key
        This key can be found by using pagerduty.list_services.

    profile
        This refers to the configuration profile to use to connect to the
        PagerDuty service.
    unameuchangesuresultuucommentutestuNeed to create event: {0}upagerduty.create_eventtdescriptiontdetailstservice_keytprofileuCreated event: {0}N(tNonet__opts__tformatRtTrue(tnameRRR	tret((s9/usr/lib/python2.7/site-packages/salt/states/pagerduty.pytcreate_event s




N(t__doc__t
__future__RRRRR(((s9/usr/lib/python2.7/site-packages/salt/states/pagerduty.pyt<module>s	

Zerion Mini Shell 1.0