TypedObjectReferenceV1 Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a reference to a Kubernetes object with a specified kind and API group.
[YamlDotNet.Serialization.YamlSerializable]
public sealed class TypedObjectReferenceV1
[<YamlDotNet.Serialization.YamlSerializable>]
type TypedObjectReferenceV1 = class
Public NotInheritable Class TypedObjectReferenceV1
- Inheritance
-
TypedObjectReferenceV1
- Attributes
-
YamlDotNet.Serialization.YamlSerializableAttribute
Remarks
This class is typically used to define a reference to another resource in the Kubernetes API. It includes information about the object's kind, name, namespace, and API group.
Constructors
| TypedObjectReferenceV1() |
Properties
| ApiGroup |
Gets or sets the API group for the referenced resource. This typically specifies the group under which the Kubernetes resource is classified, for example, "apps", "core", or other custom API groups. |
| Kind |
Represents the type of the Kubernetes resource referenced. This property denotes the kind of the resource (e.g., Pod, Service, Deployment) being referred to, allowing identification of the specific resource type. |
| Name |
Gets or sets the name of the Kubernetes resource. |
| Namespace |
Gets or sets the namespace in which the Kubernetes object resides. |