Skip to content

Commit e7ee45b

Browse files
Generate iaas
1 parent 11cdfdc commit e7ee45b

2 files changed

Lines changed: 4 additions & 9 deletions

File tree

‎services/iaas/oas_commit‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
bead0331c9760ab4d2ff87614ae3ad156bc46758
1+
1ef13af286c597a542944e008dfa79351a89175a

‎services/iaas/src/stackit/iaas/models/server_agent.py‎

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,9 @@ class ServerAgent(BaseModel):
3030

3131
provisioned: Optional[StrictBool] = Field(
3232
default=None,
33-
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.",
33+
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.",
3434
)
35-
vm_monitoring: Optional[StrictBool] = Field(
36-
default=None,
37-
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.",
38-
alias="vmMonitoring",
39-
)
40-
__properties: ClassVar[List[str]] = ["provisioned", "vmMonitoring"]
35+
__properties: ClassVar[List[str]] = ["provisioned"]
4136

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

90-
_obj = cls.model_validate({"provisioned": obj.get("provisioned"), "vmMonitoring": obj.get("vmMonitoring")})
85+
_obj = cls.model_validate({"provisioned": obj.get("provisioned")})
9186
return _obj

0 commit comments

Comments
 (0)