GKE Hub v1 API - Class ResourceOptions (2.2.0)

public sealed class ResourceOptions : IMessage<ResourceOptions>, IEquatable<ResourceOptions>, IDeepCloneable<ResourceOptions>, IBufferMessage, IMessage

Reference documentation and code samples for the GKE Hub v1 API class ResourceOptions.

ResourceOptions represent options for Kubernetes resource generation.

Inheritance

object > ResourceOptions

Namespace

Google.Cloud.GkeHub.V1

Assembly

Google.Cloud.GkeHub.V1.dll

Constructors

ResourceOptions()

public ResourceOptions()

ResourceOptions(ResourceOptions)

public ResourceOptions(ResourceOptions other)
Parameter
NameDescription
otherResourceOptions

Properties

ConnectVersion

public string ConnectVersion { get; set; }

Optional. The Connect agent version to use for connect_resources. Defaults to the latest GKE Connect version. The version must be a currently supported version, obsolete versions will be rejected.

Property Value
TypeDescription
string

K8SVersion

public string K8SVersion { get; set; }

Optional. Major version of the Kubernetes cluster. This is only used to determine which version to use for the CustomResourceDefinition resources, apiextensions/v1beta1 orapiextensions/v1.

Property Value
TypeDescription
string

V1Beta1Crd

public bool V1Beta1Crd { get; set; }

Optional. Use apiextensions/v1beta1 instead of apiextensions/v1 for CustomResourceDefinition resources. This option should be set for clusters with Kubernetes apiserver versions <1.16.

Property Value
TypeDescription
bool