Class V1VirtualService
Namespace: Neon.Kube.Resources.Istio
Assembly: Neon.Kube.Resources.dll
Syntax
[KubernetesEntity(Group = "networking.istio.io", Kind = "VirtualService", ApiVersion = "v1beta1", PluralName = "virtualservices")]
[Ignore]
public class V1VirtualService
Constructors
V1VirtualService()
Initializes a new instance of the V1VirtualService class.
Declaration
public V1VirtualService()
Fields
KubeApiVersion
The API version this Kubernetes type belongs to.
Declaration
public const string KubeApiVersion = "v1beta1"
Field Value
Type | Description |
---|---|
string |
KubeGroup
The Group this Kubernetes type belongs to.
Declaration
public const string KubeGroup = "networking.istio.io"
Field Value
Type | Description |
---|---|
string |
KubeKind
The Kubernetes named schema this object is based on.
Declaration
public const string KubeKind = "VirtualService"
Field Value
Type | Description |
---|---|
string |
KubePlural
The plural name of the entity.
Declaration
public const string KubePlural = "virtualservices"
Field Value
Type | Description |
---|---|
string |
Properties
ApiVersion
Gets or sets APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
Declaration
[JsonProperty(PropertyName = "apiVersion")]
public string ApiVersion { get; set; }
Property Value
Type | Description |
---|---|
string |
Kind
Gets or sets kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
Declaration
[JsonProperty(PropertyName = "kind")]
public string Kind { get; set; }
Property Value
Type | Description |
---|---|
string |
Metadata
Gets or sets standard object metadata.
Declaration
[JsonProperty(PropertyName = "metadata")]
public V1ObjectMeta Metadata { get; set; }
Property Value
Type | Description |
---|---|
V1ObjectMeta |
Spec
Gets or sets specification of the desired behavior of the V1VirtualService.
Declaration
[JsonProperty(PropertyName = "spec")]
public V1VirtualServiceSpec Spec { get; set; }
Property Value
Type | Description |
---|---|
V1VirtualServiceSpec |
Methods
Validate()
Validate the object.
Declaration
public virtual void Validate()
Exceptions
Type | Condition |
---|---|
ValidationException | Thrown if validation fails. |