Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace ExternalServiceAccessPolicyTargetDetails

External service target that internal virtual services direct traffic to.

Properties

Optional hostnames

hostnames: Array<string>

The hostnames of the external service. Only applicable for HTTP and HTTPS protocols. Wildcard hostnames are supported in the prefix form. Examples of valid hostnames are "www.example.com\", ".example.com", ".com", "*". Hostname "*" can be used to allow all hosts.

Optional ipAddresses

ipAddresses: Array<string>

The ipAddresses of the external service in CIDR notation. Only applicable for TCP protocol. All requests matching the given CIDR notation will pass through. In case a wildcard CIDR "0.0.0.0/0" is provided, the same port cannot be used for a virtual service communication.

Optional ports

ports: Array<number>

Ports exposed by an external service. If left empty all ports will be allowed.

Optional protocol

protocol: Protocol

Protocol of the external service

Const type

type: string = "EXTERNAL_SERVICE"

Methods

getDeserializedJsonObj

getJsonObj