Class VirtualServiceTrafficRuleTargetDetails
Traffic router target for an ingress gateway.
Inherited Members
Namespace: Oci.ServicemeshService.Models
Assembly: OCI.DotNetSDK.Servicemesh.dll
Syntax
public class VirtualServiceTrafficRuleTargetDetails : TrafficRuleTargetDetails
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
[Required(ErrorMessage = "VirtualServiceId is required.")]
[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. |
Remarks
Required
Weight
Declaration
[JsonProperty(PropertyName = "weight")]
public int? Weight { get; set; }
Property Value
Type | Description |
---|---|
int? | Weight of traffic target. |