Freigeben über


ApplicationEndpointConfiguration Klasse

Stellt Konfigurationsinformationen für den Dienst dar.

Class ApplicationEndpointConfiguration-Konstruktor.

Konstruktor

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

Parameter

Name Beschreibung
type
str oder <xref:_restclient.models.ApplicationEndpointType>

Anwendungstyp. Mögliche Werte sind: 'Jupyter', 'JupyterLab', 'SSH', 'TensorBoard', 'VSCode', 'Grafana', 'Custom'

Standardwert: None
port
int

Der lokale Port, der im Auftragscontainer erforderlich ist. Wahlfrei. Der Computeanbieter wählt einen zufälligen Port aus, wenn er nicht angegeben ist.

Standardwert: None
properties

Einige mögliche Schlüssel sind:

  • Befehl: optional. Gilt, wenn "Type" benutzerdefiniert ist.
  • logDir: optional. Gilt, wenn Type TensorBoard ist.
  • sshPublicKeys: optional. Gilt, wenn Type SSH ist.
Standardwert: None