WorkspaceOutboundRuleOperations 類別

WorkspaceOutboundRuleOperations。

您不應該直接具現化此類別。 相反地,您應該建立 MLClient 實例,為您具現化它,並將它附加為屬性。

繼承
builtins.object
WorkspaceOutboundRuleOperations

建構函式

WorkspaceOutboundRuleOperations(operation_scope: OperationScope, service_client: AzureMachineLearningWorkspaces, all_operations: OperationsContainer, credentials: TokenCredential = None, **kwargs: Dict)

參數

operation_scope
service_client
all_operations
credentials
預設值: None

方法

begin_create

建立工作區 OutboundRule。

begin_remove

移除工作區 OutboundRule。

begin_update

更新工作區 OutboundRule。

get

依名稱取得工作區 OutboundRule。

list

列出工作區輸出Rules。

begin_create

建立工作區 OutboundRule。

begin_create(workspace_name: str, rule: OutboundRule, **kwargs) -> LROPoller[OutboundRule]

參數

workspace_name
str
必要

工作區的名稱。

rule
OutboundRule
必要

OutboundRule 定義 (FqdnDestination、PrivateEndpointDestination 或 ServiceTagDestination) 。

傳回

會傳回 OutboundRule 的 LROPoller 實例。

傳回類型

begin_remove

移除工作區 OutboundRule。

begin_remove(workspace_name: str, outbound_rule_name: str, **kwargs) -> LROPoller[None]

參數

workspace_name
str
必要

工作區的名稱。

outbound_rule_name
str
必要

要移除的輸出規則名稱。

傳回

可反覆運算的 OutboundRule。

傳回類型

begin_update

更新工作區 OutboundRule。

begin_update(workspace_name: str, rule: OutboundRule, **kwargs) -> LROPoller[OutboundRule]

參數

workspace_name
str
必要

工作區的名稱。

rule
OutboundRule
必要

OutboundRule 定義 (FqdnDestination、PrivateEndpointDestination 或 ServiceTagDestination) 。

傳回

會傳回 OutboundRule 的 LROPoller 實例。

傳回類型

get

依名稱取得工作區 OutboundRule。

get(workspace_name: str, outbound_rule_name: str, **kwargs) -> OutboundRule

參數

workspace_name
str
必要

工作區的名稱。

outbound_rule_name
str
必要

輸出規則的名稱。

傳回

具有工作區所提供名稱的 OutboundRule。

傳回類型

list

列出工作區輸出Rules。

list(workspace_name: str, **kwargs) -> Iterable[OutboundRule]

參數

workspace_name
str
必要

工作區的名稱。

傳回

可反覆運算的 OutboundRule。

傳回類型