Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion services/iaas/oas_commit
Original file line number Diff line number Diff line change
@@ -1 +1 @@
bead0331c9760ab4d2ff87614ae3ad156bc46758
1ef13af286c597a542944e008dfa79351a89175a
11 changes: 3 additions & 8 deletions services/iaas/src/stackit/iaas/models/server_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,9 @@ class ServerAgent(BaseModel):

provisioned: Optional[StrictBool] = Field(
default=None,
description="Configure the STACKIT server agent provisioning during the first boot of the server. When `false`, the agent is not installed. When `true`, the agent is installed. Setting it to `true` when booting from an image requires an image that supports the agent; otherwise, the request is rejected. If omitted when booting from an image, the image default (`provisionByDefault`) applies.",
description="Configure the STACKIT server agent provisioning during the first boot of the server. Only works when booting from an images that supports the STACKIT server agent. When `false` the agent IS NOT installed. When `true` the agent IS installed. When its not set the result depend on the used image and its default provisioning setting.",
)
vm_monitoring: Optional[StrictBool] = Field(
default=None,
description="Configuration property that controls whether active virtual machine monitoring is enabled for a server instance. When `true` it allows the platform to collect metrics, monitor system health, and track guest-level performance on the VM. It operates as a dependent option - meaning `vmMonitoring` cannot be active unless the main server agent is also enabled.",
alias="vmMonitoring",
)
__properties: ClassVar[List[str]] = ["provisioned", "vmMonitoring"]
__properties: ClassVar[List[str]] = ["provisioned"]

model_config = ConfigDict(
validate_by_name=True,
Expand Down Expand Up @@ -87,5 +82,5 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
if not isinstance(obj, dict):
return cls.model_validate(obj)

_obj = cls.model_validate({"provisioned": obj.get("provisioned"), "vmMonitoring": obj.get("vmMonitoring")})
_obj = cls.model_validate({"provisioned": obj.get("provisioned")})
return _obj
Loading