Skip to content

Commit a4dddb0

Browse files
authored
Expose public ip in AmlComputeNodeInfo (#35965)
* expose public ip in aml compute node AmlComputeNodeInfo should expose the attribute "public_ip_address", otherwise is not possible to connect through ssh with only the information provided in the class * Update CHANGELOG.md
1 parent 7068b4b commit a4dddb0

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

sdk/ml/azure-ai-ml/CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
### Features Added
66

7+
Expose `public_ip_address` in `AmlComputeNodeInfo`, to get the public ip address with the ssh port when calling `ml_client.compute.list_nodes`
8+
79
### Bugs Fixed
810
- InputTypes exported in constants module
911

sdk/ml/azure-ai-ml/azure/ai/ml/entities/_compute/_aml_compute_node_info.py

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ class AmlComputeNodeInfo:
1515
def __init__(self) -> None:
1616
self.node_id = None
1717
self.private_ip_address = None
18+
self.public_ip_address = None
1819
self.port = None
1920
self.node_state = None
2021
self.run_id: Optional[str] = None

0 commit comments

Comments
 (0)