Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 492 Bytes

cloud.md

File metadata and controls

28 lines (20 loc) · 492 Bytes

Cloud

This documentation provides details about the data that can be faked for Cloud infrastructure.

To retrieve data about Cloud infrastructure you can do the following:

from socfaker import SocFaker

sc = SocFaker()

print(sc.cloud.id)
print(sc.cloud.zone)
print(sc.cloud.instance_id)
print(sc.cloud.name)
print(sc.cloud.size)
print(sc.cloud.provider)
print(sc.cloud.region)

Cloud Class

.. automodule:: socfaker.cloud
   :members:
   :undoc-members: