forked from linode/linode_api4-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathimage.py
More file actions
26 lines (22 loc) · 748 Bytes
/
Copy pathimage.py
File metadata and controls
26 lines (22 loc) · 748 Bytes
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
from linode_api4.objects import Base, Property
class Image(Base):
"""
An Image is something a Linode Instance or Disk can be deployed from.
"""
api_endpoint = "/images/{id}"
properties = {
"id": Property(identifier=True),
"label": Property(mutable=True),
"description": Property(mutable=True),
"eol": Property(is_datetime=True),
"expiry": Property(is_datetime=True),
"status": Property(),
"created": Property(is_datetime=True),
"created_by": Property(),
"updated": Property(is_datetime=True),
"type": Property(),
"is_public": Property(),
"vendor": Property(),
"size": Property(),
"deprecated": Property(),
}