共用方式為


ServiceTagDestination 類別

代表服務標籤輸出規則的類別。

繼承
azure.ai.ml.entities._workspace.networking.OutboundRule
ServiceTagDestination

建構函式

ServiceTagDestination(*, name: str, service_tag: str, protocol: str, port_ranges: str, **kwargs)

參數

name
str
必要

輸出規則的名稱。

service_tag
str
必要

Azure 服務的服務標籤會對應至其服務端點的預先定義 IP 位址。

protocol
str
必要

允許的傳輸通訊協定可以是所有支援通訊協定的 「TCP」、「UDP」、「ICMP」 或 「*」。

port_ranges
str
必要

單一端口和/或埠範圍的逗號分隔清單,例如 「80,1024-65535」。 流量應該允許這些埠範圍。

變數

type
str

輸出規則的類型。 設定為此類別的 「ServiceTag」。