CreateVirtualServiceRouteTableDetails

class oci.service_mesh.models.CreateVirtualServiceRouteTableDetails(**kwargs)

Bases: object

The information about the new VirtualServiceRouteTable.

Methods

__init__(**kwargs) Initializes a new CreateVirtualServiceRouteTableDetails object with values from keyword arguments.

Attributes

compartment_id [Required] Gets the compartment_id of this CreateVirtualServiceRouteTableDetails.
defined_tags Gets the defined_tags of this CreateVirtualServiceRouteTableDetails.
description Gets the description of this CreateVirtualServiceRouteTableDetails.
freeform_tags Gets the freeform_tags of this CreateVirtualServiceRouteTableDetails.
name [Required] Gets the name of this CreateVirtualServiceRouteTableDetails.
priority Gets the priority of this CreateVirtualServiceRouteTableDetails.
route_rules [Required] Gets the route_rules of this CreateVirtualServiceRouteTableDetails.
virtual_service_id [Required] Gets the virtual_service_id of this CreateVirtualServiceRouteTableDetails.
__init__(**kwargs)

Initializes a new CreateVirtualServiceRouteTableDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • virtual_service_id (str) – The value to assign to the virtual_service_id property of this CreateVirtualServiceRouteTableDetails.
  • name (str) – The value to assign to the name property of this CreateVirtualServiceRouteTableDetails.
  • description (str) – The value to assign to the description property of this CreateVirtualServiceRouteTableDetails.
  • priority (int) – The value to assign to the priority property of this CreateVirtualServiceRouteTableDetails.
  • route_rules (list[oci.service_mesh.models.VirtualServiceTrafficRouteRuleDetails]) – The value to assign to the route_rules property of this CreateVirtualServiceRouteTableDetails.
  • compartment_id (str) – The value to assign to the compartment_id property of this CreateVirtualServiceRouteTableDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateVirtualServiceRouteTableDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateVirtualServiceRouteTableDetails.
compartment_id

[Required] Gets the compartment_id of this CreateVirtualServiceRouteTableDetails. The OCID of the compartment.

Returns:The compartment_id of this CreateVirtualServiceRouteTableDetails.
Return type:str
defined_tags

Gets the defined_tags of this CreateVirtualServiceRouteTableDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}

Returns:The defined_tags of this CreateVirtualServiceRouteTableDetails.
Return type:dict(str, dict(str, object))
description

Gets the description of this CreateVirtualServiceRouteTableDetails. Description of the resource. It can be changed after creation. Avoid entering confidential information.

Example: This is my new resource

Returns:The description of this CreateVirtualServiceRouteTableDetails.
Return type:str
freeform_tags

Gets the freeform_tags of this CreateVirtualServiceRouteTableDetails. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}

Returns:The freeform_tags of this CreateVirtualServiceRouteTableDetails.
Return type:dict(str, str)
name

[Required] Gets the name of this CreateVirtualServiceRouteTableDetails. 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

Returns:The name of this CreateVirtualServiceRouteTableDetails.
Return type:str
priority

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

Returns:The priority of this CreateVirtualServiceRouteTableDetails.
Return type:int
route_rules

[Required] Gets the route_rules of this CreateVirtualServiceRouteTableDetails. The route rules for the virtual service.

Returns:The route_rules of this CreateVirtualServiceRouteTableDetails.
Return type:list[oci.service_mesh.models.VirtualServiceTrafficRouteRuleDetails]
virtual_service_id

[Required] Gets the virtual_service_id of this CreateVirtualServiceRouteTableDetails. The OCID of the service mesh in which this access policy is created.

Returns:The virtual_service_id of this CreateVirtualServiceRouteTableDetails.
Return type:str