Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 1.52 KB

File metadata and controls

30 lines (23 loc) · 1.52 KB

V1GRPCAction

GRPCAction specifies an action involving a GRPC service.

Properties

Name Type Description Notes
mode str mode specifies the connection mode for the gRPC health probe. Set to "TLS" to use TLS without certificate verification. Set to "Plaintext" to use a plaintext (insecure) connection explicitly. If not specified, the probe uses a plaintext (insecure) connection. [optional]
port int Port number of the gRPC service. Number must be in the range 1 to 65535.
service str Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If this is not specified, the default behavior is defined by gRPC. [optional]

Example

from kubernetes.client.models.v1_grpc_action import V1GRPCAction

# TODO update the JSON string below
json = "{}"
# create an instance of V1GRPCAction from a JSON string
v1_grpc_action_instance = V1GRPCAction.from_json(json)
# print the JSON string representation of the object
print(V1GRPCAction.to_json())

# convert the object into a dict
v1_grpc_action_dict = v1_grpc_action_instance.to_dict()
# create an instance of V1GRPCAction from a dict
v1_grpc_action_from_dict = V1GRPCAction.from_dict(v1_grpc_action_dict)

[Back to Model list] [Back to API list] [Back to README]