Skip to content

Latest commit

 

History

History
134 lines (73 loc) · 5.17 KB

PutLkeClusterRequest.md

File metadata and controls

134 lines (73 loc) · 5.17 KB

PutLkeClusterRequest

Properties

Name Type Description Notes
ControlPlane Pointer to PutLkeClusterRequestControlPlane [optional]
K8sVersion Pointer to string The desired Kubernetes version for this Kubernetes cluster in the format of <major>.<minor>. New and recycled Nodes in this cluster will be installed with the latest available patch for the Cluster's Kubernetes version. When upgrading the Kubernetes version, only the next latest minor version following the current version can be deployed. For example, a cluster with Kubernetes version 1.19 can be upgraded to version 1.20, but not directly to 1.21. The Kubernetes version of a cluster can not be downgraded. [optional]
Label Pointer to string This Kubernetes cluster's unique label for display purposes only. Labels have the following constraints: - UTF-8 characters will be returned by the API using escape sequences of their Unicode code points. For example, the Japanese character is 3 bytes in UTF-8 (`0xE382AB`). Its Unicode code point is 2 bytes (`0x30AB`). APIv4 supports this character and the API will return it as the escape sequence using six 1 byte characters which represent 2 bytes of Unicode code point (`"\u30ab"`). - 4 byte UTF-8 characters are not supported. - If the label is entirely composed of UTF-8 characters, the API response will return the code points using up to 193 1 byte characters. [optional]
Tags Pointer to []string An array of tags applied to the Kubernetes cluster. Tags are for organizational purposes only. To delete a tag, exclude it from your `tags` array. [optional]

Methods

NewPutLkeClusterRequest

func NewPutLkeClusterRequest() *PutLkeClusterRequest

NewPutLkeClusterRequest instantiates a new PutLkeClusterRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

NewPutLkeClusterRequestWithDefaults

func NewPutLkeClusterRequestWithDefaults() *PutLkeClusterRequest

NewPutLkeClusterRequestWithDefaults instantiates a new PutLkeClusterRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

GetControlPlane

func (o *PutLkeClusterRequest) GetControlPlane() PutLkeClusterRequestControlPlane

GetControlPlane returns the ControlPlane field if non-nil, zero value otherwise.

GetControlPlaneOk

func (o *PutLkeClusterRequest) GetControlPlaneOk() (*PutLkeClusterRequestControlPlane, bool)

GetControlPlaneOk returns a tuple with the ControlPlane field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetControlPlane

func (o *PutLkeClusterRequest) SetControlPlane(v PutLkeClusterRequestControlPlane)

SetControlPlane sets ControlPlane field to given value.

HasControlPlane

func (o *PutLkeClusterRequest) HasControlPlane() bool

HasControlPlane returns a boolean if a field has been set.

GetK8sVersion

func (o *PutLkeClusterRequest) GetK8sVersion() string

GetK8sVersion returns the K8sVersion field if non-nil, zero value otherwise.

GetK8sVersionOk

func (o *PutLkeClusterRequest) GetK8sVersionOk() (*string, bool)

GetK8sVersionOk returns a tuple with the K8sVersion field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetK8sVersion

func (o *PutLkeClusterRequest) SetK8sVersion(v string)

SetK8sVersion sets K8sVersion field to given value.

HasK8sVersion

func (o *PutLkeClusterRequest) HasK8sVersion() bool

HasK8sVersion returns a boolean if a field has been set.

GetLabel

func (o *PutLkeClusterRequest) GetLabel() string

GetLabel returns the Label field if non-nil, zero value otherwise.

GetLabelOk

func (o *PutLkeClusterRequest) GetLabelOk() (*string, bool)

GetLabelOk returns a tuple with the Label field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetLabel

func (o *PutLkeClusterRequest) SetLabel(v string)

SetLabel sets Label field to given value.

HasLabel

func (o *PutLkeClusterRequest) HasLabel() bool

HasLabel returns a boolean if a field has been set.

GetTags

func (o *PutLkeClusterRequest) GetTags() []string

GetTags returns the Tags field if non-nil, zero value otherwise.

GetTagsOk

func (o *PutLkeClusterRequest) GetTagsOk() (*[]string, bool)

GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetTags

func (o *PutLkeClusterRequest) SetTags(v []string)

SetTags sets Tags field to given value.

HasTags

func (o *PutLkeClusterRequest) HasTags() bool

HasTags returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]