Skip to content

Commit

Permalink
Update network settings docs (#34848)
Browse files Browse the repository at this point in the history
* doc network settings

* pylint

* pylint
  • Loading branch information
nemanjarajic authored Mar 21, 2024
1 parent 5e297c0 commit c083eab
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions sdk/ml/azure-ai-ml/azure/ai/ml/entities/_compute/compute.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,12 +213,13 @@ def _load_from_dict(cls, data: Dict, context: Dict, **kwargs: Any) -> "Compute":


class NetworkSettings:
"""Network settings for a compute resource.
"""Network settings for a compute resource. If the workspace and VNet are in different resource groups,
please provide the full URI for subnet and leave vnet_name as None.
:param vnet_name: The virtual network name.
:type vnet_name: str
:type vnet_name: Optional[str]
:param subnet: The subnet name.
:type subnet: str
:type subnet: Optional[str]
.. admonition:: Example:
Expand Down

0 comments on commit c083eab

Please sign in to comment.