Show / Hide Table of Contents

Class VirtualDeploymentTrafficRuleTarget

Traffic router target for a virtual service version.

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

Properties

Port

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

Port on virtual deployment to target. If port is missing, the rule will target all ports on the virtual deployment.

VirtualDeploymentId

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

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

Weight

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

Weight of traffic target.

Remarks

Required

In this article
Back to top