Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace VirtualService

This resource represents a customer-managed service in the Service Mesh. Each virtual service declares multiple running versions of the service and maps to a group of instances/pods running a specific version of the actual service.

Properties

compartmentId

compartmentId: string

The OCID of the compartment.

Optional defaultRoutingPolicy

defaultRoutingPolicy: model.DefaultVirtualServiceRoutingPolicy

Optional definedTags

definedTags: undefined | object

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

Optional description

description: undefined | string

Description of the resource. It can be changed after creation. Avoid entering confidential information.

Example: {@code This is my new resource}

Optional freeformTags

freeformTags: undefined | object

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

Optional hosts

hosts: Array<string>

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.

id

id: string

Unique identifier that is immutable on creation.

Optional lifecycleDetails

lifecycleDetails: undefined | string

A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in a Failed state.

lifecycleState

lifecycleState: LifecycleState

The current state of the Resource.

meshId

meshId: string

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

Optional mtls

mtls: model.MutualTransportLayerSecurity

name

name: string

A user-friendly name. The name has to be unique within the same service mesh and cannot be changed after creation. Avoid entering confidential information.

Example: {@code My unique resource name}

Optional systemTags

systemTags: undefined | object

Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {@code {"orcl-cloud": {"free-tier-retained": "true"}}}

timeCreated

timeCreated: Date

The time when this resource was created in an RFC3339 formatted datetime string.

timeUpdated

timeUpdated: Date

The time when this resource was updated in an RFC3339 formatted datetime string.

Functions

getDeserializedJsonObj

getJsonObj