Compartilhar via


ArmMachineLearningModelFactory.ServiceTagDestination Method

Definition

Initializes a new instance of ServiceTagDestination.

public static Azure.ResourceManager.MachineLearning.Models.ServiceTagDestination ServiceTagDestination (Azure.ResourceManager.MachineLearning.Models.NetworkingRuleAction? action = default, System.Collections.Generic.IEnumerable<string> addressPrefixes = default, string portRanges = default, string protocol = default, string serviceTag = default);
static member ServiceTagDestination : Nullable<Azure.ResourceManager.MachineLearning.Models.NetworkingRuleAction> * seq<string> * string * string * string -> Azure.ResourceManager.MachineLearning.Models.ServiceTagDestination
Public Shared Function ServiceTagDestination (Optional action As Nullable(Of NetworkingRuleAction) = Nothing, Optional addressPrefixes As IEnumerable(Of String) = Nothing, Optional portRanges As String = Nothing, Optional protocol As String = Nothing, Optional serviceTag As String = Nothing) As ServiceTagDestination

Parameters

action
Nullable<NetworkingRuleAction>

The action enum for networking rule.

addressPrefixes
IEnumerable<String>

Optional, if provided, the ServiceTag property will be ignored.

portRanges
String
protocol
String
serviceTag
String

Returns

A new ServiceTagDestination instance for mocking.

Applies to