Show / Hide Table of Contents

Class CreateVirtualServiceRouteTableDetails

The information about the new VirtualServiceRouteTable.

Inheritance
object
CreateVirtualServiceRouteTableDetails
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 CreateVirtualServiceRouteTableDetails

Properties

CompartmentId

Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type Description
string

The OCID of the compartment.

Remarks

Required

DefinedTags

Declaration
[JsonProperty(PropertyName = "definedTags")]
public Dictionary<string, Dictionary<string, object>> DefinedTags { get; set; }
Property Value
Type Description
Dictionary<string, Dictionary<string, object>>

Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace": {"bar-key": "value"}}

Description

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

Description of the resource. It can be changed after creation. Avoid entering confidential information.
Example: This is my new resource

FreeformTags

Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
Type Description
Dictionary<string, string>

Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

Name

Declaration
[Required(ErrorMessage = "Name is required.")]
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
Property Value
Type Description
string

A user-friendly name. The name must be unique within the same virtual service and cannot be changed after creation. Avoid entering confidential information.
Example: My unique resource name

Remarks

Required

Priority

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

The priority of the route table. Lower value means higher priority. The routes are declared based on the priority.

RouteRules

Declaration
[Required(ErrorMessage = "RouteRules is required.")]
[JsonProperty(PropertyName = "routeRules")]
public List<VirtualServiceTrafficRouteRuleDetails> RouteRules { get; set; }
Property Value
Type Description
List<VirtualServiceTrafficRouteRuleDetails>

The route rules for the virtual service.

Remarks

Required

VirtualServiceId

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

The OCID of the service mesh in which this access policy is created.

Remarks

Required

In this article
Back to top