Freigeben über


ArmAppPlatformModelFactory.AppPlatformServiceRequiredTraffic Methode

Definition

Initialisiert eine neue instance von 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

Parameter

protocol
String

Das Protokoll des erforderlichen Datenverkehrs.

port
Nullable<Int32>

Der Port des erforderlichen Datenverkehrs.

ips
IEnumerable<IPAddress>

Die IP-Liste des erforderlichen Datenverkehrs.

fqdns
IEnumerable<String>

Die FQDN-Liste des erforderlichen Datenverkehrs.

direction
Nullable<AppPlatformServiceTrafficDirection>

Die Richtung des erforderlichen Verkehrs.

Gibt zurück

Eine neue AppPlatformServiceRequiredTraffic instance zum Mocking.

Gilt für: