ApplicationEndpointConfiguration 类

表示服务的配置信息。

类 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