Sdílet prostřednictvím


ArmMachineLearningModelFactory.ManagedNetworkSettings Method

Definition

Initializes a new instance of ManagedNetworkSettings.

public static Azure.ResourceManager.MachineLearning.Models.ManagedNetworkSettings ManagedNetworkSettings (Azure.ResourceManager.MachineLearning.Models.IsolationMode? isolationMode = default, string networkId = default, System.Collections.Generic.IDictionary<string,Azure.ResourceManager.MachineLearning.Models.MachineLearningOutboundRule> outboundRules = default, Azure.ResourceManager.MachineLearning.Models.ManagedNetworkProvisionStatus status = default);
static member ManagedNetworkSettings : Nullable<Azure.ResourceManager.MachineLearning.Models.IsolationMode> * string * System.Collections.Generic.IDictionary<string, Azure.ResourceManager.MachineLearning.Models.MachineLearningOutboundRule> * Azure.ResourceManager.MachineLearning.Models.ManagedNetworkProvisionStatus -> Azure.ResourceManager.MachineLearning.Models.ManagedNetworkSettings
Public Shared Function ManagedNetworkSettings (Optional isolationMode As Nullable(Of IsolationMode) = Nothing, Optional networkId As String = Nothing, Optional outboundRules As IDictionary(Of String, MachineLearningOutboundRule) = Nothing, Optional status As ManagedNetworkProvisionStatus = Nothing) As ManagedNetworkSettings

Parameters

isolationMode
Nullable<IsolationMode>

Isolation mode for the managed network of a machine learning workspace.

networkId
String
outboundRules
IDictionary<String,MachineLearningOutboundRule>

Dictionary of <OutboundRule> Please note MachineLearningOutboundRule is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include FqdnOutboundRule, PrivateEndpointOutboundRule and ServiceTagOutboundRule.

status
ManagedNetworkProvisionStatus

Status of the Provisioning for the managed network of a machine learning workspace.

Returns

A new ManagedNetworkSettings instance for mocking.

Applies to