ApplicationEndpointConfiguration 类

表示服务的配置信息。

类 ApplicationEndpointConfiguration 构造函数。

继承
azureml._base_sdk_common.abstract_run_config_element._AbstractRunConfigElement
ApplicationEndpointConfiguration

构造函数

ApplicationEndpointConfiguration(type=None, port=None, properties=None)

参数

名称 说明
type
str 或 <xref:_restclient.models.ApplicationEndpointType>

应用程序类型。 可能的值包括: "Jupyter"、"JupyterLab"、"SSH"、"TensorBoard"、"VSCode"、"Grafana"、"Custom"

默认值: None
port
int

作业容器中所需的本地端口。 可选。 如果未指定,则计算提供程序将选择随机端口。

默认值: None
properties

所有可能的键为:

  • 命令:可选。 当类型为自定义时应用。
  • logDir:可选。 当类型为 TensorBoard 时应用。
  • sshPublicKeys:可选。 当类型为 SSH 时应用。
默认值: None