import os
from gcore import Gcore
client = Gcore(
api_key=os.environ.get("GCORE_API_KEY"), # This is the default and can be omitted
)
console = client.cloud.instances.get_console(
instance_id="instance_id",
project_id=0,
region_id=0,
)
print(console.remote_console)
import os
from gcore import Gcore
client = Gcore(
api_key=os.environ.get("GCORE_API_KEY"), # This is the default and can be omitted
)
console = client.cloud.instances.get_console(
instance_id="instance_id",
project_id=0,
region_id=0,
)
print(console.remote_console)