Class VirtualDeploymentTrafficRuleTargetDetails
Traffic router target for a virtual service version.
Inherited Members
Namespace: Oci.ServicemeshService.Models
Assembly: OCI.DotNetSDK.Servicemesh.dll
Syntax
public class VirtualDeploymentTrafficRuleTargetDetails : TrafficRuleTargetDetails
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
[Required(ErrorMessage = "VirtualDeploymentId is required.")]
[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. |
Remarks
Required
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