AWS SDK Version 4 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

A set of one or more port numbers that can be opened on the container, and the supported network protocol.

Part of: ContainerPortConfiguration

Inheritance Hierarchy

System.Object
  Amazon.GameLift.Model.ContainerPortRange

Namespace: Amazon.GameLift.Model
Assembly: AWSSDK.GameLift.dll
Version: 3.x.y.z

Syntax

C#
public class ContainerPortRange

The ContainerPortRange type exposes the following members

Constructors

NameDescription
Public Method ContainerPortRange()

Properties

NameTypeDescription
Public Property FromPort System.Nullable<System.Int32>

Gets and sets the property FromPort.

A starting value for the range of allowed port numbers.

Public Property Protocol Amazon.GameLift.IpProtocol

Gets and sets the property Protocol.

The network protocol that these ports support.

Public Property ToPort System.Nullable<System.Int32>

Gets and sets the property ToPort.

An ending value for the range of allowed port numbers. Port numbers are end-inclusive. This value must be equal to or greater than FromPort.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.7.2 and newer