msticpy/nbtools/azure_ml_tools.py
def _get_vm_fqdn() -> str:
    """Get the FQDN of the host."""
    az_region = _get_vm_metadata().get("compute", {}).get("location")
    return ".".join(
        [
            socket.gethostname(),
            az_region,
            "instances.azureml.ms",
        ]
        if az_region
        else ""
    )
Get the FQDN of the host.
Get the FQDN of the host.
Get the FQDN of the host .
def _get_vm_fqdn() -> str:
    az_region = _get_vm_metadata().get("compute", {}).get("location")
    return ".".join(
        [
            socket.gethostname(),
            az_region,
            "instances.azureml.ms",
        ]
        if az_region
        else ""
    )
def _get_vm_fqdn ( ) -> str : az_region = _get_vm_metadata ( ) . get ( "compute" , { } ) . get ( "location" ) return "." . join ( [ socket . gethostname ( ) , az_region , "instances.azureml.ms" , ] if az_region else "" )
Get the FQDN of the host.
Get the FQDN of the host .
"""Get the FQDN of the host."""