WorkspaceOutboundRuleOperations Classe

WorkspaceOutboundRuleOperations.

Non è consigliabile creare direttamente un'istanza di questa classe. È invece necessario creare un'istanza di MLClient per crearne un'istanza per l'utente e allegarla come attributo.

Ereditarietà
builtins.object
WorkspaceOutboundRuleOperations

Costruttore

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

Parametri

operation_scope
service_client
all_operations
credentials
valore predefinito: None

Metodi

begin_create

Creare un'area di lavoro OutboundRule.

begin_remove

Rimuovere un'area di lavoro OutboundRule.

begin_update

Aggiornare un'area di lavoro OutboundRule.

get

Ottenere un'area di lavoro OutboundRule in base al nome.

list

Elencare aree di lavoro in uscitaRules.

begin_create

Creare un'area di lavoro OutboundRule.

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

Parametri

workspace_name
str
Necessario

Nome dell'area di lavoro.

rule
OutboundRule
Necessario

Definizione OutboundRule (FqdnDestination, PrivateEndpointDestination o ServiceTagDestination).

Restituisce

Istanza di LROPoller che restituisce outboundRule.

Tipo restituito

begin_remove

Rimuovere un'area di lavoro OutboundRule.

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

Parametri

workspace_name
str
Necessario

Nome dell'area di lavoro.

outbound_rule_name
str
Necessario

Nome della regola in uscita da rimuovere.

Restituisce

Iterabile di OutboundRule.

Tipo restituito

begin_update

Aggiornare un'area di lavoro OutboundRule.

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

Parametri

workspace_name
str
Necessario

Nome dell'area di lavoro.

rule
OutboundRule
Necessario

Definizione OutboundRule (FqdnDestination, PrivateEndpointDestination o ServiceTagDestination).

Restituisce

Istanza di LROPoller che restituisce outboundRule.

Tipo restituito

get

Ottenere un'area di lavoro OutboundRule in base al nome.

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

Parametri

workspace_name
str
Necessario

Nome dell'area di lavoro.

outbound_rule_name
str
Necessario

Nome della regola in uscita.

Restituisce

OutboundRule con il nome specificato per l'area di lavoro.

Tipo restituito

list

Elencare aree di lavoro in uscitaRules.

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

Parametri

workspace_name
str
Necessario

Nome dell'area di lavoro.

Restituisce

Iterabile di OutboundRule.

Tipo restituito