Skip to main content

AppProfileStatusEnum

The AppProfileStatusEnum is used to categorize the possible statuses for a compute profile.

class AppProfileStatusEnum(enum.Enum):
Pending = "pending"
Ready = "ready"

# Initialize profile
data = AppProfile(
uid='1488ac82-8e38-11ee-84c0-a3b1666a7dea',
profile_id='my.profile',
name='Dashboard (2 CPU, 2 GB RAM)',
instance_name='t3.small',
cpu=2.0,
gpu=0,
memory=2.0,
built_in=True,
status=AppProfileStatusEnum.Ready,
disable=False
)

# Create profile
edge.compute.create_app_profile('my.profile', data)

Values

AppProfileStatusEnum.Pending

The compute profile status is pending.

AppProfileStatusEnum.Ready

The compute profile status is ready.