ContainerGroupPort Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The port exposed on the container group.
public class ContainerGroupPort : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ContainerInstance.Models.ContainerGroupPort>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ContainerInstance.Models.ContainerGroupPort>
type ContainerGroupPort = class
interface IJsonModel<ContainerGroupPort>
interface IPersistableModel<ContainerGroupPort>
Public Class ContainerGroupPort
Implements IJsonModel(Of ContainerGroupPort), IPersistableModel(Of ContainerGroupPort)
- Inheritance
-
ContainerGroupPort
- Implements
Constructors
ContainerGroupPort(Int32) |
Initializes a new instance of ContainerGroupPort. |
Properties
Port |
The port number. |
Protocol |
The protocol associated with the port. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
Explicit Interface Implementations
IJsonModel<ContainerGroupPort>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<ContainerGroupPort>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<ContainerGroupPort>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<ContainerGroupPort>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<ContainerGroupPort>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |
Applies to
Azure SDK for .NET