Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace VirtualServiceTrafficRuleTarget

Traffic router target for an ingress gateway.

Properties

Optional port

port: undefined | number

The port on the virtual service to target. Mandatory if the virtual deployments are listening on multiple ports. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

Const type

type: string = "VIRTUAL_SERVICE"

Optional virtualServiceId

virtualServiceId: undefined | string

The OCID of the virtual service where the request will be routed.

Optional weight

weight: undefined | number

Weight of traffic target. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

Methods

getDeserializedJsonObj

getJsonObj