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 Summary
FieldsModifier and TypeFieldDescriptionThe App Protocol.The Name.The Node Port.the OData type of the object as returned by the serviceThe Port.The Protocol.The Target Port. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal com.microsoft.graph.serializer.AdditionalDataManagervoidsetRawObject(com.microsoft.graph.serializer.ISerializer serializer, com.google.gson.JsonObject json) Sets the raw JSON object
-
Field Details
-
oDataType
the OData type of the object as returned by the service -
appProtocol
@SerializedName(value="appProtocol", alternate="AppProtocol") @Expose @Nullable public String appProtocolThe App Protocol. The application protocol for this port. -
name
The Name. The name of this port within the service. -
nodePort
The Node Port. The port on each node on which this service is exposed when the type is either NodePort or LoadBalancer. -
port
The Port. The port that this service exposes. -
protocol
@SerializedName(value="protocol", alternate="Protocol") @Expose @Nullable public ContainerPortProtocol protocolThe Protocol. The protocol name. Possible values are: udp, tcp, sctp, unknownFutureValue. -
targetPort
@SerializedName(value="targetPort", alternate="TargetPort") @Expose @Nullable public String targetPortThe 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:
additionalDataManagerin interfacecom.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:
setRawObjectin interfacecom.microsoft.graph.serializer.IJsonBackedObject- Parameters:
serializer- the serializerjson- the JSON object to set this object to
-