GKE Hub v1beta1 API - Class ResourceOptions (2.0.0-beta07)

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

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

ResourceOptions represent options for Kubernetes resource generation.

Inheritance

object > ResourceOptions

Namespace

Google.Cloud.GkeHub.V1Beta1

Assembly

Google.Cloud.GkeHub.V1Beta1.dll

Constructors

ResourceOptions()

public ResourceOptions()

ResourceOptions(ResourceOptions)

public ResourceOptions(ResourceOptions other)
Parameter
Name Description
other ResourceOptions

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
Type Description
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
Type Description
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
Type Description
bool