UpdateVirtualServiceDetails

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

Bases: object

The information to be updated.

Methods

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

Attributes

default_routing_policy Gets the default_routing_policy of this UpdateVirtualServiceDetails.
defined_tags Gets the defined_tags of this UpdateVirtualServiceDetails.
description Gets the description of this UpdateVirtualServiceDetails.
freeform_tags Gets the freeform_tags of this UpdateVirtualServiceDetails.
hosts Gets the hosts of this UpdateVirtualServiceDetails.
mtls Gets the mtls of this UpdateVirtualServiceDetails.
__init__(**kwargs)

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

Parameters:
  • description (str) – The value to assign to the description property of this UpdateVirtualServiceDetails.
  • default_routing_policy (oci.service_mesh.models.DefaultVirtualServiceRoutingPolicy) – The value to assign to the default_routing_policy property of this UpdateVirtualServiceDetails.
  • hosts (list[str]) – The value to assign to the hosts property of this UpdateVirtualServiceDetails.
  • mtls (oci.service_mesh.models.VirtualServiceMutualTransportLayerSecurityDetails) – The value to assign to the mtls property of this UpdateVirtualServiceDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateVirtualServiceDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateVirtualServiceDetails.
default_routing_policy

Gets the default_routing_policy of this UpdateVirtualServiceDetails.

Returns:The default_routing_policy of this UpdateVirtualServiceDetails.
Return type:oci.service_mesh.models.DefaultVirtualServiceRoutingPolicy
defined_tags

Gets the defined_tags of this UpdateVirtualServiceDetails. 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 UpdateVirtualServiceDetails.
Return type:dict(str, dict(str, object))
description

Gets the description of this UpdateVirtualServiceDetails. 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 UpdateVirtualServiceDetails.
Return type:str
freeform_tags

Gets the freeform_tags of this UpdateVirtualServiceDetails. 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 UpdateVirtualServiceDetails.
Return type:dict(str, str)
hosts

Gets the hosts of this UpdateVirtualServiceDetails. The DNS hostnames of the virtual service that is used by its callers. Wildcard hostnames are supported in the prefix form. Examples of valid hostnames are “www.example.com”, “.example.com”, “.com”. Can be omitted if the virtual service will only have TCP virtual deployments.

Returns:The hosts of this UpdateVirtualServiceDetails.
Return type:list[str]
mtls

Gets the mtls of this UpdateVirtualServiceDetails.

Returns:The mtls of this UpdateVirtualServiceDetails.
Return type:oci.service_mesh.models.VirtualServiceMutualTransportLayerSecurityDetails