Class NamedPort
The named port. For example: <"http", 80>.
Inheritance
System.Object
NamedPort
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Compute.v1.Data
Assembly: Google.Apis.Compute.v1.dll
Syntax
public class NamedPort : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Name
The name for this named port. The name must be 1-63 characters long, and comply with RFC1035.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Port
The port number, which can be a value between 1 and 65535.
Declaration
[JsonProperty("port")]
public virtual int? Port { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |