Show / Hide Table of Contents

Class ExternalServiceAccessPolicyTargetDetails

External service target that internal virtual services direct traffic to.

Inheritance
object
AccessPolicyTargetDetails
ExternalServiceAccessPolicyTargetDetails
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.ServicemeshService.Models
Assembly: OCI.DotNetSDK.Servicemesh.dll
Syntax
public class ExternalServiceAccessPolicyTargetDetails : AccessPolicyTargetDetails

Properties

Hostnames

Declaration
[JsonProperty(PropertyName = "hostnames")]
public List<string> Hostnames { get; set; }
Property Value
Type Description
List<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.

IpAddresses

Declaration
[JsonProperty(PropertyName = "ipAddresses")]
public List<string> IpAddresses { get; set; }
Property Value
Type Description
List<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.

Ports

Declaration
[JsonProperty(PropertyName = "ports")]
public List<int> Ports { get; set; }
Property Value
Type Description
List<int>

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

Protocol

Declaration
[JsonProperty(PropertyName = "protocol")]
[JsonConverter(typeof(StringEnumConverter))]
public ExternalServiceAccessPolicyTargetDetails.ProtocolEnum? Protocol { get; set; }
Property Value
Type Description
ExternalServiceAccessPolicyTargetDetails.ProtocolEnum?

Protocol of the external service

In this article
Back to top