Class CreateVirtualServiceDetails
The information about the new VirtualService.
Inherited Members
Namespace: Oci.ServicemeshService.Models
Assembly: OCI.DotNetSDK.Servicemesh.dll
Syntax
public class CreateVirtualServiceDetails
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
DefaultRoutingPolicy
Declaration
[JsonProperty(PropertyName = "defaultRoutingPolicy")]
public DefaultVirtualServiceRoutingPolicy DefaultRoutingPolicy { get; set; }
Property Value
Type | Description |
---|---|
DefaultVirtualServiceRoutingPolicy |
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.
|
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"} |
Hosts
Declaration
[JsonProperty(PropertyName = "hosts")]
public List<string> Hosts { get; set; }
Property Value
Type | Description |
---|---|
List<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. |
MeshId
Declaration
[Required(ErrorMessage = "MeshId is required.")]
[JsonProperty(PropertyName = "meshId")]
public string MeshId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the service mesh in which this virtual service is created. |
Remarks
Required
Mtls
Declaration
[JsonProperty(PropertyName = "mtls")]
public VirtualServiceMutualTransportLayerSecurityDetails Mtls { get; set; }
Property Value
Type | Description |
---|---|
VirtualServiceMutualTransportLayerSecurityDetails |
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 has to be unique within the same service mesh and cannot be changed after creation.
Avoid entering confidential information.
|
Remarks
Required