다음을 통해 공유


ArmAppPlatformModelFactory.AppPlatformServiceRequiredTraffic Method

Definition

Initializes a new instance of AppPlatformServiceRequiredTraffic.

public static Azure.ResourceManager.AppPlatform.Models.AppPlatformServiceRequiredTraffic AppPlatformServiceRequiredTraffic (string protocol = default, int? port = default, System.Collections.Generic.IEnumerable<System.Net.IPAddress> ips = default, System.Collections.Generic.IEnumerable<string> fqdns = default, Azure.ResourceManager.AppPlatform.Models.AppPlatformServiceTrafficDirection? direction = default);
static member AppPlatformServiceRequiredTraffic : string * Nullable<int> * seq<System.Net.IPAddress> * seq<string> * Nullable<Azure.ResourceManager.AppPlatform.Models.AppPlatformServiceTrafficDirection> -> Azure.ResourceManager.AppPlatform.Models.AppPlatformServiceRequiredTraffic
Public Shared Function AppPlatformServiceRequiredTraffic (Optional protocol As String = Nothing, Optional port As Nullable(Of Integer) = Nothing, Optional ips As IEnumerable(Of IPAddress) = Nothing, Optional fqdns As IEnumerable(Of String) = Nothing, Optional direction As Nullable(Of AppPlatformServiceTrafficDirection) = Nothing) As AppPlatformServiceRequiredTraffic

Parameters

protocol
String

The protocol of required traffic.

port
Nullable<Int32>

The port of required traffic.

ips
IEnumerable<IPAddress>

The ip list of required traffic.

fqdns
IEnumerable<String>

The FQDN list of required traffic.

direction
Nullable<AppPlatformServiceTrafficDirection>

The direction of required traffic.

Returns

A new AppPlatformServiceRequiredTraffic instance for mocking.

Applies to