Show / Hide Table of Contents

Class VirtualServiceTrafficRuleTarget

Traffic router target for an ingress gateway.

Inheritance
object
TrafficRuleTarget
VirtualServiceTrafficRuleTarget
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 VirtualServiceTrafficRuleTarget : TrafficRuleTarget

Properties

Port

Declaration
[JsonProperty(PropertyName = "port")]
public int? Port { get; set; }
Property Value
Type Description
int?

The port on the virtual service to target. Mandatory if the virtual deployments are listening on multiple ports.

VirtualServiceId

Declaration
[JsonProperty(PropertyName = "virtualServiceId")]
public string VirtualServiceId { get; set; }
Property Value
Type Description
string

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

Weight

Declaration
[JsonProperty(PropertyName = "weight")]
public int? Weight { get; set; }
Property Value
Type Description
int?

Weight of traffic target.

In this article
Back to top