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.
Implements
IMessageResourceOptions, IEquatableResourceOptions, IDeepCloneableResourceOptions, IBufferMessage, IMessageNamespace
Google.Cloud.GkeHub.V1Assembly
Google.Cloud.GkeHub.V1.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 |