Skip to content

Commit c083eab

Browse files
authored
Update network settings docs (#34848)
* doc network settings * pylint * pylint
1 parent 5e297c0 commit c083eab

File tree

1 file changed

+4
-3
lines changed
  • sdk/ml/azure-ai-ml/azure/ai/ml/entities/_compute

1 file changed

+4
-3
lines changed

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

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -213,12 +213,13 @@ def _load_from_dict(cls, data: Dict, context: Dict, **kwargs: Any) -> "Compute":
213213

214214

215215
class NetworkSettings:
216-
"""Network settings for a compute resource.
216+
"""Network settings for a compute resource. If the workspace and VNet are in different resource groups,
217+
please provide the full URI for subnet and leave vnet_name as None.
217218
218219
:param vnet_name: The virtual network name.
219-
:type vnet_name: str
220+
:type vnet_name: Optional[str]
220221
:param subnet: The subnet name.
221-
:type subnet: str
222+
:type subnet: Optional[str]
222223
223224
.. admonition:: Example:
224225

0 commit comments

Comments
 (0)