Lab Services — Agent
4 min
get_agent_configuration_automation_id
sync(automation_id: UUID, client: AuthenticatedClient | Client, apiversion: str | Unset = UNSET) -> AgentConfigurationResponse | ProblemDetails | NoneParameter | Type | Default |
|---|---|---|
automation_id | UUID | required |
client | AuthenticatedClient | Client | required |
apiversion | str | Unset | UNSET |
Returns: AgentConfigurationResponse | ProblemDetails | None
Raises:
Exception | Condition |
|---|---|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. | |
TimeoutException | If the request takes longer than Client.timeout. |
post_agent_heartbeat
sync(client: AuthenticatedClient | Client, body: AgentHeartbeatRequest | Unset = UNSET, apiversion: str | Unset = UNSET) -> AgentExpectationsResponse | ProblemDetails | NoneParameter | Type | Default |
|---|---|---|
client | AuthenticatedClient | Client | required |
body | AgentHeartbeatRequest | Unset | UNSET |
apiversion | str | Unset | UNSET |
Returns: AgentExpectationsResponse | ProblemDetails | None
Raises:
Exception | Condition |
|---|---|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. | |
TimeoutException | If the request takes longer than Client.timeout. |