PortCondition Class

Definition

Port condition that needs to be matched.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ManagedNetworkFabric.Models.PortConditionTypeConverter))]
public class PortCondition : Microsoft.Azure.PowerShell.Cmdlets.ManagedNetworkFabric.Models.IPortCondition
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ManagedNetworkFabric.Models.PortConditionTypeConverter))>]
type PortCondition = class
    interface IPortCondition
    interface IJsonSerializable
Public Class PortCondition
Implements IPortCondition
Inheritance
PortCondition
Attributes
Implements

Constructors

Name Description
PortCondition()

Creates an new PortCondition instance.

Properties

Name Description
Layer4Protocol

Layer4 protocol type that needs to be matched.

Port

List of the Ports that need to be matched.

PortGroupName

List of the port Group Names that need to be matched.

PortType

Port type that needs to be matched.

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of PortCondition.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of PortCondition.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ManagedNetworkFabric.Models.IPortCondition.

FromJsonString(String)

Creates a new instance of PortCondition, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of PortCondition into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to