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>
預設值: None

應用程式類型。 可能的值包括:'Jupyter'、'JupyterLab'、'SSH'、'TensorBoard'、'VSCode'、'Grafana'、'Custom'

port
int
預設值: None

作業容器中所需的本機埠。 選擇性。 如果未指定,計算提供者會挑選隨機埠。

properties
dict[str, str]
預設值: None

一些可能的金鑰包括:

  • 命令:選擇性。 當 Type 為 Custom 時適用。
  • logDir:選擇性。 當 Type 為 TensorBoard 時適用。
  • sshPublicKeys:選擇性。 當類型為 SSH 時適用。