Share via


ServiceBackendPortV1 Class

Definition

Represents a service backend port configuration in Kubernetes.

[YamlDotNet.Serialization.YamlSerializable]
public sealed class ServiceBackendPortV1
[<YamlDotNet.Serialization.YamlSerializable>]
type ServiceBackendPortV1 = class
Public NotInheritable Class ServiceBackendPortV1
Inheritance
ServiceBackendPortV1
Attributes
YamlDotNet.Serialization.YamlSerializableAttribute

Remarks

This class defines the port information for a Kubernetes service, which can be used in configurations like ingress services or other Kubernetes networking components. The port may be specified by name or number, enabling flexibility for different scenarios.

Constructors

ServiceBackendPortV1()

Properties

Name

Gets or sets the name of the backend port. This is used to specify the name of the port when referring to it in a service configuration.

Number

Represents the numeric port value for the service backend. Used to specify the numeric port on the service to which traffic is directed.

Applies to