PrivateEndPoint 類別

定義私人端點,以管理與 Azure ML 工作區相關聯的私人端點連線。

初始化 PrivateEndPoint。

繼承
builtins.object
PrivateEndPoint

建構函式

PrivateEndPoint(private_endpoint_connection_resource_id=None, private_endpoint_resource_id=None)

參數

private_endpoint_connection_resource_id
str
預設值: None

私人端點連線的 ARM 資源識別碼。

private_endpoint_resource_id
str
預設值: None

私人端點的 ARM 資源識別碼。

private_endpoint_connection_resource_id
str
必要

私人端點連線的 ARM 資源識別碼。

private_endpoint_resource_id
str
必要

私人端點的 ARM 資源識別碼。

方法

delete

刪除工作區的私人端點連線。

注意

此函式已被取代,請使用 Workspace.delete_private_endpoint_connection

get_details

取得私人端點的詳細資料。

delete

刪除工作區的私人端點連線。

注意

此函式已被取代,請使用 Workspace.delete_private_endpoint_connection

delete(auth=None)

參數

auth
ServicePrincipalAuthenticationInteractiveLoginAuthentication
預設值: None

驗證物件。 如需詳細資訊, https://aka.ms/aml-notebook-auth 請參閱 。如果為 None,則會使用預設的 Azure CLI 認證,否則 API 會提示輸入認證。

傳回

如果成功,則無;否則,會擲回錯誤。

傳回類型

get_details

取得私人端點的詳細資料。

get_details(auth=None)

參數

auth
ServicePrincipalAuthenticationInteractiveLoginAuthentication
預設值: None

驗證物件。 如需詳細資訊, https://aka.ms/aml-notebook-auth 請參閱 。如果為 None,則會使用預設的 Azure CLI 認證,否則 API 會提示輸入認證。

傳回

字典格式的私人端點詳細資料。

傳回類型