Class KubernetesServicePort

java.lang.Object
com.microsoft.graph.security.models.KubernetesServicePort
All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject

public class KubernetesServicePort extends Object implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Kubernetes Service Port.
  • Field Details

    • oDataType

      @SerializedName("@odata.type") @Expose @Nullable public String oDataType
      the OData type of the object as returned by the service
    • appProtocol

      @SerializedName(value="appProtocol", alternate="AppProtocol") @Expose @Nullable public String appProtocol
      The App Protocol. The application protocol for this port.
    • name

      @SerializedName(value="name", alternate="Name") @Expose @Nullable public String name
      The Name. The name of this port within the service.
    • nodePort

      @SerializedName(value="nodePort", alternate="NodePort") @Expose @Nullable public Integer nodePort
      The Node Port. The port on each node on which this service is exposed when the type is either NodePort or LoadBalancer.
    • port

      @SerializedName(value="port", alternate="Port") @Expose @Nullable public Integer port
      The Port. The port that this service exposes.
    • protocol

      @SerializedName(value="protocol", alternate="Protocol") @Expose @Nullable public ContainerPortProtocol protocol
      The Protocol. The protocol name. Possible values are: udp, tcp, sctp, unknownFutureValue.
    • targetPort

      @SerializedName(value="targetPort", alternate="TargetPort") @Expose @Nullable public String targetPort
      The Target Port. The name or number of the port to access on the pods targeted by the service. The port number must be in the range 1 to 65535. The name must be an IANASVCNAME.
  • Constructor Details

    • KubernetesServicePort

      public KubernetesServicePort()
  • Method Details

    • additionalDataManager

      @Nonnull public final com.microsoft.graph.serializer.AdditionalDataManager additionalDataManager()
      Specified by:
      additionalDataManager in interface com.microsoft.graph.serializer.IJsonBackedObject
    • setRawObject

      public void setRawObject(@Nonnull com.microsoft.graph.serializer.ISerializer serializer, @Nonnull com.google.gson.JsonObject json)
      Sets the raw JSON object
      Specified by:
      setRawObject in interface com.microsoft.graph.serializer.IJsonBackedObject
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to