Source code for linode_api4.objects.object_storage
from linode_api4.objects import Base, DerivedBase, Image, Property, Region
[docs]class ObjectStorageCluster(Base):
"""
A cluster where Object Storage is available.
"""
api_endpoint = '/object-storage/clusters/{id}'
properties = {
'id': Property(identifier=True),
'region': Property(slug_relationship=Region),
'status': Property(),
'domain': Property(),
'static_site_domain': Property(),
}
[docs]class ObjectStorageKeys(Base):
"""
A keypair that allows third-party applications to access Linode Object Storage.
"""
api_endpoint = '/object-storage/keys/{id}'
properties = {
'id': Property(identifier=True),
'label': Property(mutable=True),
'access_key': Property(),
'secret_key': Property(),
}