NsgCidr Class

Definition

A rule for allowing inbound (INGRESS) IP packets

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Oracle.Models.NsgCidrTypeConverter))]
public class NsgCidr : Microsoft.Azure.PowerShell.Cmdlets.Oracle.Models.INsgCidr
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Oracle.Models.NsgCidrTypeConverter))>]
type NsgCidr = class
    interface INsgCidr
    interface IJsonSerializable
Public Class NsgCidr
Implements INsgCidr
Inheritance
NsgCidr
Attributes
Implements

Constructors

Name Description
NsgCidr()

Creates an new NsgCidr instance.

Properties

Name Description
DestinationPortRangeMax

The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value.

DestinationPortRangeMin

The minimum port number, which must not be greater than the maximum port number.

Source

Conceptually, this is the range of IP addresses that a packet coming into the instance can come from.

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of NsgCidr.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of NsgCidr.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Oracle.Models.INsgCidr.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of NsgCidr into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to