Cmdlets for Couchbase

Build 24.0.8963

N1QLPort Parameter (Connect-Couchbase Cmdlet)

The port or URL for connecting to the Couchbase N1QL Endpoint.

Syntax

Connect-Couchbase -N1QLPort string

Data Type

cstr

Default Value

""

Remarks

This port is used for submitting queries when CouchbaseService is set to N1QL. Any requests to manage indices will also go through this port. It defaults to 8093 when not using SSL, and 18093 when using SSL. See UseSSL.

This option can be set one of two ways:

  • As a port number like "1234". With this setting the cmdlet will send N1QL queries to the endpoint http://Server:N1QLPort/query/service. (or https:// if Server is https:// or UseSSL is enabled).
  • As a full URL like "http://couchbase.example:1234/proxy". With this setting the cmdlet send N1QL queries using the endpoint you specify. For example, if you use that URL then N1QL requests will go to http://couchbase.example:1234/proxy/query/serivce. Server and UseSSL are ignored for N1QL requests.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.8963