rest-endpoint

Configures the REST endpoint.

Command Mode

Exec > Global Configuration

Syntax

rest-endpoint { ips ip_address | port port_number | replicas replica_count | tracing-service-name service_name} 

certificate-name certificate_name

Specify the alias name for the certificate.

http-connection-limit max_inbound_https_connections

Specify the maximum number of allowed inbound HTTPS connections.

Must be an integer.

Default Value: 200.

http-idle-connection-timeout-on-server-seconds connection_timeout

Specify the server side idle connection timeout period in seconds.

Must be an integer.

Default Value: 60.

inbound-request-timeout-ms inbound_requests_timeout

Specify the timeout period for inbound requests in milliseconds.

Must be an integer.

Default Value: 2000.

ips ip_address

Specify the IP addresses for the REST service.

outbound-request-timeout-ms outbound_requests_timeout

Specify the timeout period for outbound requests in milliseconds.

Must be an integer.

Default Value: 200.

port port_number

Specify port number of the REST service.

Must be an integer.

replicas replica_count

Specify the replica count.

Must be an integer.

Default Value: 1.

repository repository_name

Specify to override the Helm repository.

tracing-service-name tracing_service_name

Specify the tracing service name for REST endpoint.

Must be a string.

uri-scheme uri_scheme

Specify the URI scheme.

Must be one of the following:

  • http

  • https

Default Value: http.

Usage Guidelines

Use this command to configure the REST endpoint.

Example

The following command configures the REST endpoint tracing service name as nPcf-pcf-rest-ep:
rest-endpoint tracing-service-name nPcf-pcf-rest-ep