Class KubernetesResource
KubernetesResource contains the YAML manifests and configuration for Membership Kubernetes resources in the cluster. After CreateMembership or UpdateMembership, these resources should be re-applied in the cluster.
Implements
Inherited Members
Namespace: Google.Apis.GKEHub.v1alpha2.Data
Assembly: Google.Apis.GKEHub.v1alpha2.dll
Syntax
public class KubernetesResource : IDirectResponseSchema
Properties
ConnectResources
Output only. The Kubernetes resources for installing the GKE Connect agent. This field is only populated in the Membership returned from a successful long-running operation from CreateMembership or UpdateMembership. It is not populated during normal GetMembership or ListMemberships requests. To get the resource manifest after the initial registration, the caller should make a UpdateMembership call with an empty field mask.
Declaration
[JsonProperty("connectResources")]
public virtual IList<ResourceManifest> ConnectResources { get; set; }
Property Value
Type | Description |
---|---|
IList<ResourceManifest> |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
MembershipCrManifest
Input only. The YAML representation of the Membership CR. This field is ignored for GKE clusters where Hub can read the CR directly. Callers should provide the CR that is currently present in the cluster during Create or Update, or leave this field empty if none exists. The CR manifest is used to validate the cluster has not been registered with another Membership.
Declaration
[JsonProperty("membershipCrManifest")]
public virtual string MembershipCrManifest { get; set; }
Property Value
Type | Description |
---|---|
string |
MembershipResources
Output only. Additional Kubernetes resources that need to be applied to the cluster after Membership creation, and after every update. This field is only populated in the Membership returned from a successful long-running operation from CreateMembership or UpdateMembership. It is not populated during normal GetMembership or ListMemberships requests. To get the resource manifest after the initial registration, the caller should make a UpdateMembership call with an empty field mask.
Declaration
[JsonProperty("membershipResources")]
public virtual IList<ResourceManifest> MembershipResources { get; set; }
Property Value
Type | Description |
---|---|
IList<ResourceManifest> |
ResourceOptions
Optional. Options for Kubernetes resource generation.
Declaration
[JsonProperty("resourceOptions")]
public virtual ResourceOptions ResourceOptions { get; set; }
Property Value
Type | Description |
---|---|
ResourceOptions |