mirror of
https://github.com/microsoft/onefuzz.git
synced 2025-06-20 05:23:44 +00:00
enable using ephemeral disks by default (#461)
This commit is contained in:
@ -586,6 +586,7 @@ class AutoScaleConfig(BaseModel):
|
||||
region: Optional[Region]
|
||||
scaleset_size: int # Individual scaleset size
|
||||
spot_instances: bool = Field(default=False)
|
||||
ephemeral_os_disks: bool = Field(default=False)
|
||||
vm_sku: str
|
||||
|
||||
@validator("scaleset_size", allow_reuse=True)
|
||||
@ -654,6 +655,7 @@ class Scaleset(BaseModel):
|
||||
region: Region
|
||||
size: int
|
||||
spot_instances: bool
|
||||
ephemeral_os_disks: bool = Field(default=False)
|
||||
needs_config_update: bool = Field(default=False)
|
||||
error: Optional[Error]
|
||||
nodes: Optional[List[ScalesetNodeState]]
|
||||
|
@ -176,6 +176,7 @@ class ScalesetCreate(BaseRequest):
|
||||
region: Optional[Region]
|
||||
size: int
|
||||
spot_instances: bool
|
||||
ephemeral_os_disks: bool
|
||||
tags: Dict[str, str]
|
||||
|
||||
@validator("size", allow_reuse=True)
|
||||
|
Reference in New Issue
Block a user