Class ExternalServiceAccessPolicyTarget
External service target that internal virtual services direct traffic to.
Inherited Members
Namespace: Oci.ServicemeshService.Models
Assembly: OCI.DotNetSDK.Servicemesh.dll
Syntax
public class ExternalServiceAccessPolicyTarget : AccessPolicyTarget
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(ResponseEnumConverter))]
public ExternalServiceAccessPolicyTarget.ProtocolEnum? Protocol { get; set; }
Property Value
Type | Description |
---|---|
ExternalServiceAccessPolicyTarget.ProtocolEnum? | Protocol of the external service |