File: SoftLayer_Notification_Occurrence_Event.py

package info (click to toggle)
python-softlayer 6.2.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 7,508 kB
  • sloc: python: 57,195; makefile: 133; xml: 97; sh: 59
file content (31 lines) | stat: -rw-r--r-- 962 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
getObject = {
    'endDate': '2019-03-18T17:00:00-06:00',
    'id': 1234,
    'lastImpactedUserCount': 417756,
    'modifyDate': '2019-03-12T15:32:48-06:00',
    'recoveryTime': None,
    'startDate': '2019-03-18T16:00:00-06:00',
    'subject': 'Public Website Maintenance',
    'summary': 'Blah Blah Blah',
    'systemTicketId': 76057381,
    'acknowledgedFlag': False,
    'attachments': [],
    'impactedResources': [{
        'resourceType': 'Server',
        'resourceTableId': 12345,
        'hostname': 'test',
        'privateIp': '10.0.0.1',
        'filterLable': 'Server'
    }],
    'notificationOccurrenceEventType': {'keyName': 'PLANNED'},
    'statusCode': {'keyName': 'PUBLISHED', 'name': 'Published'},
    'updates': [{
        'contents': 'More Blah Blah',
        'createDate': '2019-03-12T13:07:22-06:00',
        'endDate': None, 'startDate': '2019-03-12T13:07:22-06:00'
    }]
}

getAllObjects = [getObject]

acknowledgeNotification = True