Skip to content
Merged
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 modules/python/clients/aks_machine_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

_ARM_BASE = "https://management.azure.com"
_ARM_SCOPE = "https://management.azure.com/.default"
_AGENTPOOL_API_VERSION = "2024-06-02-preview"
_AGENTPOOL_API_VERSION = "2025-06-02-preview"
_MACHINE_API_VERSION = "2025-06-02-preview"
_POLL_INTERVAL_SECONDS = 10
# Per-request HTTP timeout is capped so that a single slow PUT/GET cannot
Expand Down
2 changes: 1 addition & 1 deletion modules/python/tests/test_aks_machine_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def test_create_machine_agentpool_success(self, mock_make_request, _mock_wait):

mock_make_request.assert_called_once()
call_args = mock_make_request.call_args
self.assertEqual(call_args.args[0], "PUT")
self.assertTrue(call_args.args[1].endswith("api-version=2025-06-02-preview"))
self.assertEqual(call_args.kwargs["data"], {"properties": {"mode": "Machines"}})
Comment thread
karenychen marked this conversation as resolved.
Resolved
metadata_keys = {
call.args[0] for call in self.mock_operation.add_metadata.call_args_list
Expand Down
Loading