Class: module:model/CreatePreviewEndpointRequest

module:model/CreatePreviewEndpointRequest(routeType)

new module:model/CreatePreviewEndpointRequest(routeType)

Constructs a new CreatePreviewEndpointRequest.
Parameters:
Name Type Description
routeType String RouteType is one of 'static' or 'fork'. If you choose a route of type 'static', this preview endpoint will route traffic to the Host / Port specified. If you choose a route of type 'fork', this preview endpoint will route traffic to a forked entity as specified in forkOf.
Source:

Members

(inner) forkOf :module:model/ForkOf

Type:
Source:

(inner) host :String

Host is the host-name of a service within Kubernetes of the form `service-name.namespace.svc`. Only required when RouteType is 'static'
Type:
  • String
Source:

(inner) name :String

Name of this endpoint. If not specified, a name will be generated automatically.
Type:
  • String
Source:

(inner) port :Number

Port is the port on the above host that the preview will point to. Only required when RouteType is 'static'
Type:
  • Number
Source:

(inner) protocol :String

Protocol of the endpoint that we will be connecting to for this preview URL. One of 'http', 'https', or 'grpc'. If not specified, the default is 'http'.
Type:
  • String
Source:

(inner) routeType :String

RouteType is one of 'static' or 'fork'. If you choose a route of type 'static', this preview endpoint will route traffic to the Host / Port specified. If you choose a route of type 'fork', this preview endpoint will route traffic to a forked entity as specified in forkOf.
Type:
  • String
Source: