Show / Hide Table of Contents

Class VirtualDeployment

This resource represents a customer-managed virtual service deployment in the Service Mesh.

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

Properties

AccessLogging

Declaration
[JsonProperty(PropertyName = "accessLogging")]
public AccessLoggingConfiguration AccessLogging { get; set; }
Property Value
Type Description
AccessLoggingConfiguration

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"}

Id

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

Unique identifier that is immutable on creation.

Remarks

Required

LifecycleDetails

Declaration
[JsonProperty(PropertyName = "lifecycleDetails")]
public string LifecycleDetails { get; set; }
Property Value
Type Description
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

Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public VirtualDeployment.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type Description
VirtualDeployment.LifecycleStateEnum?

The current state of the Resource.

Remarks

Required

Listeners

Declaration
[JsonProperty(PropertyName = "listeners")]
public List<VirtualDeploymentListener> Listeners { get; set; }
Property Value
Type Description
List<VirtualDeploymentListener>

The listeners for the virtual deployment

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

ServiceDiscovery

Declaration
[JsonProperty(PropertyName = "serviceDiscovery")]
public ServiceDiscoveryConfiguration ServiceDiscovery { get; set; }
Property Value
Type Description
ServiceDiscoveryConfiguration

SystemTags

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

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

TimeCreated

Declaration
[Required(ErrorMessage = "TimeCreated is required.")]
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type Description
DateTime?

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

Remarks

Required

TimeUpdated

Declaration
[Required(ErrorMessage = "TimeUpdated is required.")]
[JsonProperty(PropertyName = "timeUpdated")]
public DateTime? TimeUpdated { get; set; }
Property Value
Type Description
DateTime?

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

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 virtual service in which this virtual deployment is created.

Remarks

Required

In this article
Back to top