-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
ContainerGroupPort.cs
34 lines (29 loc) · 1.15 KB
/
ContainerGroupPort.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
namespace Azure.ResourceManager.ContainerInstance.Models
{
/// <summary> The port exposed on the container group. </summary>
public partial class ContainerGroupPort
{
/// <summary> Initializes a new instance of ContainerGroupPort. </summary>
/// <param name="port"> The port number. </param>
public ContainerGroupPort(int port)
{
Port = port;
}
/// <summary> Initializes a new instance of ContainerGroupPort. </summary>
/// <param name="protocol"> The protocol associated with the port. </param>
/// <param name="port"> The port number. </param>
internal ContainerGroupPort(ContainerGroupNetworkProtocol? protocol, int port)
{
Protocol = protocol;
Port = port;
}
/// <summary> The protocol associated with the port. </summary>
public ContainerGroupNetworkProtocol? Protocol { get; set; }
/// <summary> The port number. </summary>
public int Port { get; set; }
}
}