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 资源 ID。

private_endpoint_resource_id
str
默认值: None

专用终结点的 ARM 资源 ID。

private_endpoint_connection_resource_id
str
必需

专用终结点连接的 ARM 资源 ID。

private_endpoint_resource_id
str
必需

专用终结点的 ARM 资源 ID。

方法

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 将提示输入凭据。

返回

如果成功,则为 None;否则将引发错误。

返回类型

get_details

获取专用终结点的详细信息。

get_details(auth=None)

参数

auth
ServicePrincipalAuthenticationInteractiveLoginAuthentication
默认值: None

身份验证对象。 有关更多详细信息,请参阅 https://aka.ms/aml-notebook-auth。如果为 None,则将使用默认的 Azure CLI 凭据,或者 API 将提示输入凭据。

返回

字典格式的专用终结点详细信息。

返回类型