dataplatform

package module
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 24, 2023 License: Apache-2.0 Imports: 26 Imported by: 0

README

Go API client for dataplatform

Managed Stackable Data Platform by IONOS Cloud provides a preconfigured Kubernetes cluster with pre-installed and managed Stackable operators. After the provision of these Stackable operators, the customer can interact with them directly and build his desired application on top of the Stackable platform.

The Managed Stackable Data Platform by IONOS Cloud can be configured through the IONOS Cloud API in addition or as an alternative to the "Data Center Designer" (DCD).

Getting Started

To get your DataPlatformCluster up and running, the following steps needs to be performed.

IONOS Cloud Account

The first step is the creation of a IONOS Cloud account if not already existing.

To register a new account visit cloud.ionos.com.

Virtual Data Center (VDC)

The Managed Stackable Data Platform needs a virtual data center (VDC) hosting the cluster. This could either be a VDC that already exists, especially if you want to connect the managed data platform to other services already running within your VDC. Otherwise, if you want to place the Managed Stackable Data Platform in a new VDC or you have not yet created a VDC, you need to do so.

A new VDC can be created via the IONOS Cloud API, the IONOS Cloud CLI (ionosctl), or the DCD Web interface. For more information, see the official documentation

Get a authentication token

To interact with this API a user specific authentication token is needed. This token can be generated using the IONOS Cloud CLI the following way:

ionosctl token generate

For more information see

Create a new DataPlatformCluster

Before using the Managed Stackable Data Platform, a new DataPlatformCluster must be created.

To create a cluster, use the Create DataPlatformCluster API endpoint.

The provisioning of the cluster might take some time. To check the current provisioning status, you can query the cluster by calling the Get Endpoint with the cluster ID that was presented to you in the response of the create cluster call.

Add a DataPlatformNodePool

To deploy and run a Stackable service, the cluster must have enough computational resources. The node pool that is provisioned along with the cluster is reserved for the Stackable operators. You may create further node pools with resources tailored to your use-case.

To create a new node pool use the Create DataPlatformNodepool endpoint.

Receive Kubeconfig

Once the DataPlatformCluster is created, the kubeconfig can be accessed by the API. The kubeconfig allows the interaction with the provided cluster as with any regular Kubernetes cluster.

The kubeconfig can be downloaded with the Get Kubeconfig endpoint using the cluster ID of the created DataPlatformCluster.

Create Stackable Service

To create the desired application, the Stackable service needs to be provided, using the received kubeconfig and deploy a Stackable service

Authorization

All endpoints are secured, so only an authenticated user can access them. As Authentication mechanism the default IONOS Cloud authentication mechanism is used. A detailed description can be found here.

Basic Auth

The basic auth scheme uses the IONOS Cloud user credentials in form of a Basic Authentication Header accordingly to RFC7617

API Key as Bearer Token

The Bearer auth token used at the API Gateway is a user-related token created with the IONOS Cloud CLI. (See the documentation for details) For every request to be authenticated, the token is passed as 'Authorization Bearer' header along with the request.

Permissions and Access Roles

Currently, an admin can see and manipulate all resources in a contract. A normal authenticated user can only see and manipulate resources he created.

Components

The Managed Stackable Data Platform by IONOS Cloud consists of two components. The concept of a DataPlatformClusters and the backing DataPlatformNodePools the cluster is build on.

DataPlatformCluster

A DataPlatformCluster is the virtual instance of the customer services and operations running the managed services like Stackable operators. A DataPlatformCluster is a Kubernetes Cluster in the VDC of the customer. Therefore, it's possible to integrate the cluster with other resources as VLANs e.g. to shape the data center in the customer's need and integrate the cluster within the topology the customer wants to build.

In addition to the Kubernetes cluster, a small node pool is provided which is exclusively used to run the Stackable operators.

DataPlatformNodePool

A DataPlatformNodePool represents the physical machines a DataPlatformCluster is build on top. All nodes within a node pool are identical in setup. The nodes of a pool are provisioned into virtual data centers at a location of your choice and you can freely specify the properties of all the nodes at once before creation.

Nodes in node pools provisioned by the Managed Stackable Data Platform Cloud API are read-only in the customer's VDC and can only be modified or deleted via the API.

References

Overview

The IONOS Cloud SDK for GO provides you with access to the IONOS Cloud API. The client library supports both simple and complex requests. It is designed for developers who are building applications in GO . The SDK for GO wraps the IONOS Cloud API. All API operations are performed over SSL and authenticated using your IONOS Cloud portal credentials. The API can be accessed within an instance running in IONOS Cloud or directly over the Internet from any application that can send an HTTPS request and receive an HTTPS response.

Installing

Use go get to retrieve the SDK to add it to your GOPATH workspace, or project's Go module dependencies.
go get github.com/ionos-cloud/sdk-go-bundle/products/dataplatform.git

To update the SDK use go get -u to retrieve the latest version of the SDK.

go get -u github.com/ionos-cloud/sdk-go-bundle/products/dataplatform.git
Go Modules

If you are using Go modules, your go get will default to the latest tagged release version of the SDK. To get a specific release version of the SDK use @ in your go get command.

To get the latest SDK repository, use @latest.

go get github.com/ionos-cloud/sdk-go-bundle/products/dataplatform@latest

Environment Variables

Environment Variable Description
IONOS_USERNAME Specify the username used to login, to authenticate against the IONOS Cloud API
IONOS_PASSWORD Specify the password used to login, to authenticate against the IONOS Cloud API
IONOS_TOKEN Specify the token used to login, if a token is being used instead of username and password
IONOS_API_URL Specify the API URL. It will overwrite the API endpoint default value api.ionos.com. Note: the host URL does not contain the /cloudapi/v6 path, so it should not be included in the IONOS_API_URL environment variable
IONOS_LOG_LEVEL Specify the Log Level used to log messages. Possible values: Off, Debug, Trace
IONOS_PINNED_CERT Specify the SHA-256 public fingerprint here, enables certificate pinning

⚠️ Note: To overwrite the api endpoint - api.ionos.com, the environment variable $IONOS_API_URL can be set, and used with NewConfigurationFromEnv() function.

Examples

Examples for creating resources using the Go SDK can be found here

Authentication

Basic Authentication
  • Type: HTTP basic authentication

Example

import (
	"context"
	"fmt"
	"github.com/ionos-cloud/sdk-go-bundle/shared"
	dataplatform "github.com/ionos-cloud/sdk-go-bundle/products/dataplatform"
	"log"
)

func basicAuthExample() error {
	cfg := shared.NewConfiguration("username_here", "pwd_here", "", "")
	cfg.LogLevel = Trace
	apiClient := dataplatform.NewAPIClient(cfg)
	return nil
}
Token Authentication

There are 2 ways to generate your token:

Generate token using sdk for auth:
    import (
        "context"
        "fmt"
        "github.com/ionos-cloud/sdk-go-bundle/products/auth"
        "github.com/ionos-cloud/sdk-go-bundle/shared"
        dataplatform "github.com/ionos-cloud/sdk-go-bundle/products/dataplatform"
        "log"
    )

    func TokenAuthExample() error {
        //note: to use NewConfigurationFromEnv(), you need to previously set IONOS_USERNAME and IONOS_PASSWORD as env variables
        authClient := auth.NewAPIClient(authApi.NewConfigurationFromEnv())
        jwt, _, err := auth.TokensApi.TokensGenerate(context.Background()).Execute()
        if err != nil {
            return fmt.Errorf("error occurred while generating token (%w)", err)
        }
        if !jwt.HasToken() {
            return fmt.Errorf("could not generate token")
        }
        cfg := shared.NewConfiguration("", "", *jwt.GetToken(), "")
        cfg.LogLevel = Trace
        apiClient := dataplatform.NewAPIClient(cfg)
        return nil
    }
Generate token using ionosctl:

Install ionosctl as explained here Run commands to login and generate your token.

    ionosctl login
    ionosctl token generate
    export IONOS_TOKEN="insert_here_token_saved_from_generate_command"

Save the generated token and use it to authenticate:

    import (
        "context"
        "fmt"
        "github.com/ionos-cloud/sdk-go-bundle/products/auth"
         dataplatform "github.com/ionos-cloud/sdk-go-bundle/products/dataplatform"
        "log"
    )

    func TokenAuthExample() error {
        //note: to use NewConfigurationFromEnv(), you need to previously set IONOS_TOKEN as env variables
        authClient := auth.NewAPIClient(authApi.NewConfigurationFromEnv())
        cfg.LogLevel = Trace
        apiClient := dataplatform.NewAPIClient(cfg)
        return nil
    }

Certificate pinning:

You can enable certificate pinning if you want to bypass the normal certificate checking procedure, by doing the following:

Set env variable IONOS_PINNED_CERT=<insert_sha256_public_fingerprint_here>

You can get the sha256 fingerprint most easily from the browser by inspecting the certificate.

Depth

Many of the List or Get operations will accept an optional depth argument. Setting this to a value between 0 and 5 affects the amount of data that is returned. The details returned vary depending on the resource being queried, but it generally follows this pattern. By default, the SDK sets the depth argument to the maximum value.

Depth Description
0 Only direct properties are included. Children are not included.
1 Direct properties and children's references are returned.
2 Direct properties and children's properties are returned.
3 Direct properties, children's properties, and descendants' references are returned.
4 Direct properties, children's properties, and descendants' properties are returned.
5 Returns all available properties.
Changing the base URL

Base URL for the HTTP operation can be changed by using the following function:

requestProperties.SetURL("https://api.ionos.com/cloudapi/v6")

Debugging

You can inject any logger that implements Printf as a logger instead of using the default sdk logger. There are log levels that you can set: Off, Debug and Trace. Off - does not show any logs Debug - regular logs, no sensitive information Trace - we recommend you only set this field for debugging purposes. Disable it in your production environments because it can log sensitive data. It logs the full request and response without encryption, even for an HTTPS call. Verbose request and response logging can also significantly impact your application's performance.

package main

    import (
        dataplatform "github.com/ionos-cloud/sdk-go-bundle/products/dataplatform"
        "github.com/ionos-cloud/sdk-go-bundle/shared"
        "github.com/sirupsen/logrus"
    )

func main() {
    // create your configuration. replace username, password, token and url with correct values, or use NewConfigurationFromEnv()
    // if you have set your env variables as explained above
    cfg := shared.NewConfiguration("username", "password", "token", "hostUrl")
    // enable request and response logging. this is the most verbose loglevel
    shared.SdkLogLevel = Trace
    // inject your own logger that implements Printf
    shared.SdkLogger = logrus.New()
    // create you api client with the configuration
    apiClient := dataplatform.NewAPIClient(cfg)
}

Documentation for API Endpoints

All URIs are relative to https://api.ionos.com/dataplatform

API Endpoints table
Class Method HTTP request Description
DataPlatformClusterApi ClustersDelete Delete /clusters/{clusterId} Delete a DataPlatformCluster
DataPlatformClusterApi ClustersFindById Get /clusters/{clusterId} Retrieve a DataPlatformCluster
DataPlatformClusterApi ClustersGet Get /clusters List the DataPlatformClusters
DataPlatformClusterApi ClustersKubeconfigFindByClusterId Get /clusters/{clusterId}/kubeconfig Read the Kubeconfig
DataPlatformClusterApi ClustersPatch Patch /clusters/{clusterId} Partially Modify a DataPlatformCluster
DataPlatformClusterApi ClustersPost Post /clusters Create a DataPlatformCluster
DataPlatformMetaDataApi VersionsGet Get /versions Managed Stackable Data Platform API Versions
DataPlatformNodePoolApi ClustersNodepoolsDelete Delete /clusters/{clusterId}/nodepools/{nodepoolId} Remove a DataPlatformNodePool from a DataPlatformCluster
DataPlatformNodePoolApi ClustersNodepoolsFindById Get /clusters/{clusterId}/nodepools/{nodepoolId} Retrieve a DataPlatformNodePool
DataPlatformNodePoolApi ClustersNodepoolsGet Get /clusters/{clusterId}/nodepools List the DataPlatformNodePools of a DataPlatformCluster
DataPlatformNodePoolApi ClustersNodepoolsPatch Patch /clusters/{clusterId}/nodepools/{nodepoolId} Partially Modify a DataPlatformNodePool
DataPlatformNodePoolApi ClustersNodepoolsPost Post /clusters/{clusterId}/nodepools Create a DataPlatformNodePool for a distinct DataPlatformCluster

Documentation For Models

All URIs are relative to https://api.ionos.com/dataplatform

API models list

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

Documentation

Index

Constants

View Source
const (
	RequestStatusQueued  = "QUEUED"
	RequestStatusRunning = "RUNNING"
	RequestStatusFailed  = "FAILED"
	RequestStatusDone    = "DONE"

	Version = "products/dataplatform/v0.1.1"
)

Variables

This section is empty.

Functions

func AddPinnedCert

func AddPinnedCert(transport *http.Transport, pkFingerprint string)

AddPinnedCert - enables pinning of the sha256 public fingerprint to the http client's transport

func CacheExpires

func CacheExpires(r *http.Response) time.Time

CacheExpires helper function to determine remaining time before repeating a request.

Types

type APIClient

type APIClient struct {
	DataPlatformClusterApi *DataPlatformClusterApiService

	DataPlatformMetaDataApi *DataPlatformMetaDataApiService

	DataPlatformNodePoolApi *DataPlatformNodePoolApiService
	// contains filtered or unexported fields
}

APIClient manages communication with the IONOS Cloud - Managed Stackable Data Platform API API v0.0.8 In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(cfg *shared.Configuration) *APIClient

NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.

func (*APIClient) GetConfig

func (c *APIClient) GetConfig() *shared.Configuration

Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior

type ApiClustersDeleteRequest added in v0.1.1

type ApiClustersDeleteRequest struct {
	ApiService *DataPlatformClusterApiService
	// contains filtered or unexported fields
}

func (ApiClustersDeleteRequest) Execute added in v0.1.1

type ApiClustersFindByIdRequest added in v0.1.1

type ApiClustersFindByIdRequest struct {
	ApiService *DataPlatformClusterApiService
	// contains filtered or unexported fields
}

func (ApiClustersFindByIdRequest) Execute added in v0.1.1

type ApiClustersGetRequest added in v0.1.1

type ApiClustersGetRequest struct {
	ApiService *DataPlatformClusterApiService
	// contains filtered or unexported fields
}

func (ApiClustersGetRequest) Execute added in v0.1.1

func (ApiClustersGetRequest) Name added in v0.1.1

type ApiClustersKubeconfigFindByClusterIdRequest added in v0.1.1

type ApiClustersKubeconfigFindByClusterIdRequest struct {
	ApiService *DataPlatformClusterApiService
	// contains filtered or unexported fields
}

func (ApiClustersKubeconfigFindByClusterIdRequest) Execute added in v0.1.1

type ApiClustersNodepoolsDeleteRequest added in v0.1.1

type ApiClustersNodepoolsDeleteRequest struct {
	ApiService *DataPlatformNodePoolApiService
	// contains filtered or unexported fields
}

func (ApiClustersNodepoolsDeleteRequest) Execute added in v0.1.1

type ApiClustersNodepoolsFindByIdRequest added in v0.1.1

type ApiClustersNodepoolsFindByIdRequest struct {
	ApiService *DataPlatformNodePoolApiService
	// contains filtered or unexported fields
}

func (ApiClustersNodepoolsFindByIdRequest) Execute added in v0.1.1

type ApiClustersNodepoolsGetRequest added in v0.1.1

type ApiClustersNodepoolsGetRequest struct {
	ApiService *DataPlatformNodePoolApiService
	// contains filtered or unexported fields
}

func (ApiClustersNodepoolsGetRequest) Execute added in v0.1.1

type ApiClustersNodepoolsPatchRequest added in v0.1.1

type ApiClustersNodepoolsPatchRequest struct {
	ApiService *DataPlatformNodePoolApiService
	// contains filtered or unexported fields
}

func (ApiClustersNodepoolsPatchRequest) Execute added in v0.1.1

func (ApiClustersNodepoolsPatchRequest) PatchNodePoolRequest added in v0.1.1

func (r ApiClustersNodepoolsPatchRequest) PatchNodePoolRequest(patchNodePoolRequest PatchNodePoolRequest) ApiClustersNodepoolsPatchRequest

type ApiClustersNodepoolsPostRequest added in v0.1.1

type ApiClustersNodepoolsPostRequest struct {
	ApiService *DataPlatformNodePoolApiService
	// contains filtered or unexported fields
}

func (ApiClustersNodepoolsPostRequest) CreateNodePoolRequest added in v0.1.1

func (r ApiClustersNodepoolsPostRequest) CreateNodePoolRequest(createNodePoolRequest CreateNodePoolRequest) ApiClustersNodepoolsPostRequest

func (ApiClustersNodepoolsPostRequest) Execute added in v0.1.1

type ApiClustersPatchRequest added in v0.1.1

type ApiClustersPatchRequest struct {
	ApiService *DataPlatformClusterApiService
	// contains filtered or unexported fields
}

func (ApiClustersPatchRequest) Execute added in v0.1.1

func (ApiClustersPatchRequest) PatchClusterRequest added in v0.1.1

func (r ApiClustersPatchRequest) PatchClusterRequest(patchClusterRequest PatchClusterRequest) ApiClustersPatchRequest

type ApiClustersPostRequest added in v0.1.1

type ApiClustersPostRequest struct {
	ApiService *DataPlatformClusterApiService
	// contains filtered or unexported fields
}

func (ApiClustersPostRequest) CreateClusterRequest added in v0.1.1

func (r ApiClustersPostRequest) CreateClusterRequest(createClusterRequest CreateClusterRequest) ApiClustersPostRequest

func (ApiClustersPostRequest) Execute added in v0.1.1

type ApiVersionsGetRequest

type ApiVersionsGetRequest struct {
	ApiService *DataPlatformMetaDataApiService
	// contains filtered or unexported fields
}

func (ApiVersionsGetRequest) Execute

type AvailabilityZone

type AvailabilityZone string

AvailabilityZone The availability zone of the virtual data center region where the node pool resources should be provisioned.

const (
	AVAILABILITYZONE_AUTO   AvailabilityZone = "AUTO"
	AVAILABILITYZONE_ZONE_1 AvailabilityZone = "ZONE_1"
	AVAILABILITYZONE_ZONE_2 AvailabilityZone = "ZONE_2"
)

List of AvailabilityZone

func (AvailabilityZone) Ptr

Ptr returns reference to AvailabilityZone value

func (*AvailabilityZone) UnmarshalJSON

func (v *AvailabilityZone) UnmarshalJSON(src []byte) error

type Cluster

type Cluster struct {
	// The name of your cluster. Must be 63 characters or less and must begin and end with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between.
	Name *string `json:"name,omitempty"`
	// The version of the data platform.
	DataPlatformVersion *string `json:"dataPlatformVersion,omitempty"`
	// The UUID of the virtual data center (VDC) the cluster is provisioned.
	DatacenterId      *string            `json:"datacenterId,omitempty"`
	MaintenanceWindow *MaintenanceWindow `json:"maintenanceWindow,omitempty"`
}

Cluster A DataPlatformCluster

func NewCluster

func NewCluster() *Cluster

NewCluster instantiates a new Cluster 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

func NewClusterWithDefaults

func NewClusterWithDefaults() *Cluster

NewClusterWithDefaults instantiates a new Cluster 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

func (*Cluster) GetDataPlatformVersion

func (o *Cluster) GetDataPlatformVersion() *string

GetDataPlatformVersion returns the DataPlatformVersion field value If the value is explicit nil, the zero value for string will be returned

func (*Cluster) GetDataPlatformVersionOk

func (o *Cluster) GetDataPlatformVersionOk() (*string, bool)

GetDataPlatformVersionOk returns a tuple with the DataPlatformVersion field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Cluster) GetDatacenterId

func (o *Cluster) GetDatacenterId() *string

GetDatacenterId returns the DatacenterId field value If the value is explicit nil, the zero value for string will be returned

func (*Cluster) GetDatacenterIdOk

func (o *Cluster) GetDatacenterIdOk() (*string, bool)

GetDatacenterIdOk returns a tuple with the DatacenterId field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Cluster) GetMaintenanceWindow

func (o *Cluster) GetMaintenanceWindow() *MaintenanceWindow

GetMaintenanceWindow returns the MaintenanceWindow field value If the value is explicit nil, the zero value for MaintenanceWindow will be returned

func (*Cluster) GetMaintenanceWindowOk

func (o *Cluster) GetMaintenanceWindowOk() (*MaintenanceWindow, bool)

GetMaintenanceWindowOk returns a tuple with the MaintenanceWindow field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Cluster) GetName

func (o *Cluster) GetName() *string

GetName returns the Name field value If the value is explicit nil, the zero value for string will be returned

func (*Cluster) GetNameOk

func (o *Cluster) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Cluster) HasDataPlatformVersion

func (o *Cluster) HasDataPlatformVersion() bool

HasDataPlatformVersion returns a boolean if a field has been set.

func (*Cluster) HasDatacenterId

func (o *Cluster) HasDatacenterId() bool

HasDatacenterId returns a boolean if a field has been set.

func (*Cluster) HasMaintenanceWindow

func (o *Cluster) HasMaintenanceWindow() bool

HasMaintenanceWindow returns a boolean if a field has been set.

func (*Cluster) HasName

func (o *Cluster) HasName() bool

HasName returns a boolean if a field has been set.

func (Cluster) MarshalJSON

func (o Cluster) MarshalJSON() ([]byte, error)

func (*Cluster) SetDataPlatformVersion

func (o *Cluster) SetDataPlatformVersion(v string)

SetDataPlatformVersion sets field value

func (*Cluster) SetDatacenterId

func (o *Cluster) SetDatacenterId(v string)

SetDatacenterId sets field value

func (*Cluster) SetMaintenanceWindow

func (o *Cluster) SetMaintenanceWindow(v MaintenanceWindow)

SetMaintenanceWindow sets field value

func (*Cluster) SetName

func (o *Cluster) SetName(v string)

SetName sets field value

type ClusterListResponseData

type ClusterListResponseData struct {
	// The ID of a list of resources.
	Id    *string                `json:"id,omitempty"`
	Type  *string                `json:"type,omitempty"`
	Href  *string                `json:"href,omitempty"`
	Items *[]ClusterResponseData `json:"items"`
}

ClusterListResponseData Data of a cluster list

func NewClusterListResponseData

func NewClusterListResponseData(items []ClusterResponseData) *ClusterListResponseData

NewClusterListResponseData instantiates a new ClusterListResponseData 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

func NewClusterListResponseDataWithDefaults

func NewClusterListResponseDataWithDefaults() *ClusterListResponseData

NewClusterListResponseDataWithDefaults instantiates a new ClusterListResponseData 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

func (*ClusterListResponseData) GetHref

func (o *ClusterListResponseData) GetHref() *string

GetHref returns the Href field value If the value is explicit nil, the zero value for string will be returned

func (*ClusterListResponseData) GetHrefOk

func (o *ClusterListResponseData) GetHrefOk() (*string, bool)

GetHrefOk returns a tuple with the Href field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ClusterListResponseData) GetId

func (o *ClusterListResponseData) GetId() *string

GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned

func (*ClusterListResponseData) GetIdOk

func (o *ClusterListResponseData) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ClusterListResponseData) GetItems

GetItems returns the Items field value If the value is explicit nil, the zero value for []ClusterResponseData will be returned

func (*ClusterListResponseData) GetItemsOk

func (o *ClusterListResponseData) GetItemsOk() (*[]ClusterResponseData, bool)

GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ClusterListResponseData) GetType

func (o *ClusterListResponseData) GetType() *string

GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned

func (*ClusterListResponseData) GetTypeOk

func (o *ClusterListResponseData) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ClusterListResponseData) HasHref

func (o *ClusterListResponseData) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*ClusterListResponseData) HasId

func (o *ClusterListResponseData) HasId() bool

HasId returns a boolean if a field has been set.

func (*ClusterListResponseData) HasItems

func (o *ClusterListResponseData) HasItems() bool

HasItems returns a boolean if a field has been set.

func (*ClusterListResponseData) HasType

func (o *ClusterListResponseData) HasType() bool

HasType returns a boolean if a field has been set.

func (ClusterListResponseData) MarshalJSON

func (o ClusterListResponseData) MarshalJSON() ([]byte, error)

func (*ClusterListResponseData) SetHref

func (o *ClusterListResponseData) SetHref(v string)

SetHref sets field value

func (*ClusterListResponseData) SetId

func (o *ClusterListResponseData) SetId(v string)

SetId sets field value

func (*ClusterListResponseData) SetItems

SetItems sets field value

func (*ClusterListResponseData) SetType

func (o *ClusterListResponseData) SetType(v string)

SetType sets field value

type ClusterResponseData

type ClusterResponseData struct {
	// The unique ID of the resource. Must conform to the UUID format.
	Id *string `json:"id"`
	// The type of the resource.
	Type *string `json:"type,omitempty"`
	// URL to the object representation (absolute path).
	Href       *string   `json:"href,omitempty"`
	Metadata   *Metadata `json:"metadata"`
	Properties *Cluster  `json:"properties"`
}

ClusterResponseData Data of a cluster

func NewClusterResponseData

func NewClusterResponseData(id string, metadata Metadata, properties Cluster) *ClusterResponseData

NewClusterResponseData instantiates a new ClusterResponseData 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

func NewClusterResponseDataWithDefaults

func NewClusterResponseDataWithDefaults() *ClusterResponseData

NewClusterResponseDataWithDefaults instantiates a new ClusterResponseData 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

func (*ClusterResponseData) GetHref

func (o *ClusterResponseData) GetHref() *string

GetHref returns the Href field value If the value is explicit nil, the zero value for string will be returned

func (*ClusterResponseData) GetHrefOk

func (o *ClusterResponseData) GetHrefOk() (*string, bool)

GetHrefOk returns a tuple with the Href field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ClusterResponseData) GetId

func (o *ClusterResponseData) GetId() *string

GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned

func (*ClusterResponseData) GetIdOk

func (o *ClusterResponseData) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ClusterResponseData) GetMetadata

func (o *ClusterResponseData) GetMetadata() *Metadata

GetMetadata returns the Metadata field value If the value is explicit nil, the zero value for Metadata will be returned

func (*ClusterResponseData) GetMetadataOk

func (o *ClusterResponseData) GetMetadataOk() (*Metadata, bool)

GetMetadataOk returns a tuple with the Metadata field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ClusterResponseData) GetProperties

func (o *ClusterResponseData) GetProperties() *Cluster

GetProperties returns the Properties field value If the value is explicit nil, the zero value for Cluster will be returned

func (*ClusterResponseData) GetPropertiesOk

func (o *ClusterResponseData) GetPropertiesOk() (*Cluster, bool)

GetPropertiesOk returns a tuple with the Properties field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ClusterResponseData) GetType

func (o *ClusterResponseData) GetType() *string

GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned

func (*ClusterResponseData) GetTypeOk

func (o *ClusterResponseData) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ClusterResponseData) HasHref

func (o *ClusterResponseData) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*ClusterResponseData) HasId

func (o *ClusterResponseData) HasId() bool

HasId returns a boolean if a field has been set.

func (*ClusterResponseData) HasMetadata

func (o *ClusterResponseData) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*ClusterResponseData) HasProperties

func (o *ClusterResponseData) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (*ClusterResponseData) HasType

func (o *ClusterResponseData) HasType() bool

HasType returns a boolean if a field has been set.

func (ClusterResponseData) MarshalJSON

func (o ClusterResponseData) MarshalJSON() ([]byte, error)

func (*ClusterResponseData) SetHref

func (o *ClusterResponseData) SetHref(v string)

SetHref sets field value

func (*ClusterResponseData) SetId

func (o *ClusterResponseData) SetId(v string)

SetId sets field value

func (*ClusterResponseData) SetMetadata

func (o *ClusterResponseData) SetMetadata(v Metadata)

SetMetadata sets field value

func (*ClusterResponseData) SetProperties

func (o *ClusterResponseData) SetProperties(v Cluster)

SetProperties sets field value

func (*ClusterResponseData) SetType

func (o *ClusterResponseData) SetType(v string)

SetType sets field value

type CreateClusterProperties

type CreateClusterProperties struct {
	// The name of your cluster. Must be 63 characters or less and must begin and end with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between.
	Name *string `json:"name"`
	// The version of the data platform.
	DataPlatformVersion *string `json:"dataPlatformVersion,omitempty"`
	// The UUID of the virtual data center (VDC) the cluster is provisioned.
	DatacenterId      *string            `json:"datacenterId"`
	MaintenanceWindow *MaintenanceWindow `json:"maintenanceWindow,omitempty"`
}

CreateClusterProperties struct for CreateClusterProperties

func NewCreateClusterProperties

func NewCreateClusterProperties(name string, datacenterId string) *CreateClusterProperties

NewCreateClusterProperties instantiates a new CreateClusterProperties 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

func NewCreateClusterPropertiesWithDefaults

func NewCreateClusterPropertiesWithDefaults() *CreateClusterProperties

NewCreateClusterPropertiesWithDefaults instantiates a new CreateClusterProperties 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

func (*CreateClusterProperties) GetDataPlatformVersion

func (o *CreateClusterProperties) GetDataPlatformVersion() *string

GetDataPlatformVersion returns the DataPlatformVersion field value If the value is explicit nil, the zero value for string will be returned

func (*CreateClusterProperties) GetDataPlatformVersionOk

func (o *CreateClusterProperties) GetDataPlatformVersionOk() (*string, bool)

GetDataPlatformVersionOk returns a tuple with the DataPlatformVersion field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CreateClusterProperties) GetDatacenterId

func (o *CreateClusterProperties) GetDatacenterId() *string

GetDatacenterId returns the DatacenterId field value If the value is explicit nil, the zero value for string will be returned

func (*CreateClusterProperties) GetDatacenterIdOk

func (o *CreateClusterProperties) GetDatacenterIdOk() (*string, bool)

GetDatacenterIdOk returns a tuple with the DatacenterId field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CreateClusterProperties) GetMaintenanceWindow

func (o *CreateClusterProperties) GetMaintenanceWindow() *MaintenanceWindow

GetMaintenanceWindow returns the MaintenanceWindow field value If the value is explicit nil, the zero value for MaintenanceWindow will be returned

func (*CreateClusterProperties) GetMaintenanceWindowOk

func (o *CreateClusterProperties) GetMaintenanceWindowOk() (*MaintenanceWindow, bool)

GetMaintenanceWindowOk returns a tuple with the MaintenanceWindow field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CreateClusterProperties) GetName

func (o *CreateClusterProperties) GetName() *string

GetName returns the Name field value If the value is explicit nil, the zero value for string will be returned

func (*CreateClusterProperties) GetNameOk

func (o *CreateClusterProperties) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CreateClusterProperties) HasDataPlatformVersion

func (o *CreateClusterProperties) HasDataPlatformVersion() bool

HasDataPlatformVersion returns a boolean if a field has been set.

func (*CreateClusterProperties) HasDatacenterId

func (o *CreateClusterProperties) HasDatacenterId() bool

HasDatacenterId returns a boolean if a field has been set.

func (*CreateClusterProperties) HasMaintenanceWindow

func (o *CreateClusterProperties) HasMaintenanceWindow() bool

HasMaintenanceWindow returns a boolean if a field has been set.

func (*CreateClusterProperties) HasName

func (o *CreateClusterProperties) HasName() bool

HasName returns a boolean if a field has been set.

func (CreateClusterProperties) MarshalJSON

func (o CreateClusterProperties) MarshalJSON() ([]byte, error)

func (*CreateClusterProperties) SetDataPlatformVersion

func (o *CreateClusterProperties) SetDataPlatformVersion(v string)

SetDataPlatformVersion sets field value

func (*CreateClusterProperties) SetDatacenterId

func (o *CreateClusterProperties) SetDatacenterId(v string)

SetDatacenterId sets field value

func (*CreateClusterProperties) SetMaintenanceWindow

func (o *CreateClusterProperties) SetMaintenanceWindow(v MaintenanceWindow)

SetMaintenanceWindow sets field value

func (*CreateClusterProperties) SetName

func (o *CreateClusterProperties) SetName(v string)

SetName sets field value

type CreateClusterRequest

type CreateClusterRequest struct {
	Properties *CreateClusterProperties `json:"properties"`
}

CreateClusterRequest Data to create a new DataPlatformCluster

func NewCreateClusterRequest

func NewCreateClusterRequest(properties CreateClusterProperties) *CreateClusterRequest

NewCreateClusterRequest instantiates a new CreateClusterRequest 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

func NewCreateClusterRequestWithDefaults

func NewCreateClusterRequestWithDefaults() *CreateClusterRequest

NewCreateClusterRequestWithDefaults instantiates a new CreateClusterRequest 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

func (*CreateClusterRequest) GetProperties

func (o *CreateClusterRequest) GetProperties() *CreateClusterProperties

GetProperties returns the Properties field value If the value is explicit nil, the zero value for CreateClusterProperties will be returned

func (*CreateClusterRequest) GetPropertiesOk

func (o *CreateClusterRequest) GetPropertiesOk() (*CreateClusterProperties, bool)

GetPropertiesOk returns a tuple with the Properties field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CreateClusterRequest) HasProperties

func (o *CreateClusterRequest) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (CreateClusterRequest) MarshalJSON

func (o CreateClusterRequest) MarshalJSON() ([]byte, error)

func (*CreateClusterRequest) SetProperties

func (o *CreateClusterRequest) SetProperties(v CreateClusterProperties)

SetProperties sets field value

type CreateNodePoolProperties

type CreateNodePoolProperties struct {
	// The name of your node pool. Must be 63 characters or less and must begin and end with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between.
	Name *string `json:"name"`
	// The number of nodes that make up the node pool.
	NodeCount *int32 `json:"nodeCount"`
	// A valid CPU family name or `AUTO` if the platform shall choose the best fitting option. Available CPU architectures can be retrieved from the data center resource.
	CpuFamily *string `json:"cpuFamily,omitempty"`
	// The number of CPU cores per node.
	CoresCount *int32 `json:"coresCount,omitempty"`
	// The RAM size for one node in MB. Must be set in multiples of 1024 MB, with a minimum size is of 2048 MB.
	RamSize          *int32            `json:"ramSize,omitempty"`
	AvailabilityZone *AvailabilityZone `json:"availabilityZone,omitempty"`
	StorageType      *StorageType      `json:"storageType,omitempty"`
	// The size of the volume in GB. The size must be greater than 10 GB.
	StorageSize       *int32             `json:"storageSize,omitempty"`
	MaintenanceWindow *MaintenanceWindow `json:"maintenanceWindow,omitempty"`
	// Key-value pairs attached to the node pool resource as [Kubernetes labels](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/)
	Labels *map[string]interface{} `json:"labels,omitempty"`
	// Key-value pairs attached to node pool resource as [Kubernetes annotations](https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/)
	Annotations *map[string]interface{} `json:"annotations,omitempty"`
}

CreateNodePoolProperties struct for CreateNodePoolProperties

func NewCreateNodePoolProperties

func NewCreateNodePoolProperties(name string, nodeCount int32) *CreateNodePoolProperties

NewCreateNodePoolProperties instantiates a new CreateNodePoolProperties 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

func NewCreateNodePoolPropertiesWithDefaults

func NewCreateNodePoolPropertiesWithDefaults() *CreateNodePoolProperties

NewCreateNodePoolPropertiesWithDefaults instantiates a new CreateNodePoolProperties 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

func (*CreateNodePoolProperties) GetAnnotations

func (o *CreateNodePoolProperties) GetAnnotations() *map[string]interface{}

GetAnnotations returns the Annotations field value If the value is explicit nil, the zero value for map[string]interface{} will be returned

func (*CreateNodePoolProperties) GetAnnotationsOk

func (o *CreateNodePoolProperties) GetAnnotationsOk() (*map[string]interface{}, bool)

GetAnnotationsOk returns a tuple with the Annotations field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CreateNodePoolProperties) GetAvailabilityZone

func (o *CreateNodePoolProperties) GetAvailabilityZone() *AvailabilityZone

GetAvailabilityZone returns the AvailabilityZone field value If the value is explicit nil, the zero value for AvailabilityZone will be returned

func (*CreateNodePoolProperties) GetAvailabilityZoneOk

func (o *CreateNodePoolProperties) GetAvailabilityZoneOk() (*AvailabilityZone, bool)

GetAvailabilityZoneOk returns a tuple with the AvailabilityZone field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CreateNodePoolProperties) GetCoresCount

func (o *CreateNodePoolProperties) GetCoresCount() *int32

GetCoresCount returns the CoresCount field value If the value is explicit nil, the zero value for int32 will be returned

func (*CreateNodePoolProperties) GetCoresCountOk

func (o *CreateNodePoolProperties) GetCoresCountOk() (*int32, bool)

GetCoresCountOk returns a tuple with the CoresCount field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CreateNodePoolProperties) GetCpuFamily

func (o *CreateNodePoolProperties) GetCpuFamily() *string

GetCpuFamily returns the CpuFamily field value If the value is explicit nil, the zero value for string will be returned

func (*CreateNodePoolProperties) GetCpuFamilyOk

func (o *CreateNodePoolProperties) GetCpuFamilyOk() (*string, bool)

GetCpuFamilyOk returns a tuple with the CpuFamily field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CreateNodePoolProperties) GetLabels

func (o *CreateNodePoolProperties) GetLabels() *map[string]interface{}

GetLabels returns the Labels field value If the value is explicit nil, the zero value for map[string]interface{} will be returned

func (*CreateNodePoolProperties) GetLabelsOk

func (o *CreateNodePoolProperties) GetLabelsOk() (*map[string]interface{}, bool)

GetLabelsOk returns a tuple with the Labels field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CreateNodePoolProperties) GetMaintenanceWindow

func (o *CreateNodePoolProperties) GetMaintenanceWindow() *MaintenanceWindow

GetMaintenanceWindow returns the MaintenanceWindow field value If the value is explicit nil, the zero value for MaintenanceWindow will be returned

func (*CreateNodePoolProperties) GetMaintenanceWindowOk

func (o *CreateNodePoolProperties) GetMaintenanceWindowOk() (*MaintenanceWindow, bool)

GetMaintenanceWindowOk returns a tuple with the MaintenanceWindow field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CreateNodePoolProperties) GetName

func (o *CreateNodePoolProperties) GetName() *string

GetName returns the Name field value If the value is explicit nil, the zero value for string will be returned

func (*CreateNodePoolProperties) GetNameOk

func (o *CreateNodePoolProperties) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CreateNodePoolProperties) GetNodeCount

func (o *CreateNodePoolProperties) GetNodeCount() *int32

GetNodeCount returns the NodeCount field value If the value is explicit nil, the zero value for int32 will be returned

func (*CreateNodePoolProperties) GetNodeCountOk

func (o *CreateNodePoolProperties) GetNodeCountOk() (*int32, bool)

GetNodeCountOk returns a tuple with the NodeCount field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CreateNodePoolProperties) GetRamSize

func (o *CreateNodePoolProperties) GetRamSize() *int32

GetRamSize returns the RamSize field value If the value is explicit nil, the zero value for int32 will be returned

func (*CreateNodePoolProperties) GetRamSizeOk

func (o *CreateNodePoolProperties) GetRamSizeOk() (*int32, bool)

GetRamSizeOk returns a tuple with the RamSize field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CreateNodePoolProperties) GetStorageSize

func (o *CreateNodePoolProperties) GetStorageSize() *int32

GetStorageSize returns the StorageSize field value If the value is explicit nil, the zero value for int32 will be returned

func (*CreateNodePoolProperties) GetStorageSizeOk

func (o *CreateNodePoolProperties) GetStorageSizeOk() (*int32, bool)

GetStorageSizeOk returns a tuple with the StorageSize field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CreateNodePoolProperties) GetStorageType

func (o *CreateNodePoolProperties) GetStorageType() *StorageType

GetStorageType returns the StorageType field value If the value is explicit nil, the zero value for StorageType will be returned

func (*CreateNodePoolProperties) GetStorageTypeOk

func (o *CreateNodePoolProperties) GetStorageTypeOk() (*StorageType, bool)

GetStorageTypeOk returns a tuple with the StorageType field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CreateNodePoolProperties) HasAnnotations

func (o *CreateNodePoolProperties) HasAnnotations() bool

HasAnnotations returns a boolean if a field has been set.

func (*CreateNodePoolProperties) HasAvailabilityZone

func (o *CreateNodePoolProperties) HasAvailabilityZone() bool

HasAvailabilityZone returns a boolean if a field has been set.

func (*CreateNodePoolProperties) HasCoresCount

func (o *CreateNodePoolProperties) HasCoresCount() bool

HasCoresCount returns a boolean if a field has been set.

func (*CreateNodePoolProperties) HasCpuFamily

func (o *CreateNodePoolProperties) HasCpuFamily() bool

HasCpuFamily returns a boolean if a field has been set.

func (*CreateNodePoolProperties) HasLabels

func (o *CreateNodePoolProperties) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*CreateNodePoolProperties) HasMaintenanceWindow

func (o *CreateNodePoolProperties) HasMaintenanceWindow() bool

HasMaintenanceWindow returns a boolean if a field has been set.

func (*CreateNodePoolProperties) HasName

func (o *CreateNodePoolProperties) HasName() bool

HasName returns a boolean if a field has been set.

func (*CreateNodePoolProperties) HasNodeCount

func (o *CreateNodePoolProperties) HasNodeCount() bool

HasNodeCount returns a boolean if a field has been set.

func (*CreateNodePoolProperties) HasRamSize

func (o *CreateNodePoolProperties) HasRamSize() bool

HasRamSize returns a boolean if a field has been set.

func (*CreateNodePoolProperties) HasStorageSize

func (o *CreateNodePoolProperties) HasStorageSize() bool

HasStorageSize returns a boolean if a field has been set.

func (*CreateNodePoolProperties) HasStorageType

func (o *CreateNodePoolProperties) HasStorageType() bool

HasStorageType returns a boolean if a field has been set.

func (CreateNodePoolProperties) MarshalJSON

func (o CreateNodePoolProperties) MarshalJSON() ([]byte, error)

func (*CreateNodePoolProperties) SetAnnotations

func (o *CreateNodePoolProperties) SetAnnotations(v map[string]interface{})

SetAnnotations sets field value

func (*CreateNodePoolProperties) SetAvailabilityZone

func (o *CreateNodePoolProperties) SetAvailabilityZone(v AvailabilityZone)

SetAvailabilityZone sets field value

func (*CreateNodePoolProperties) SetCoresCount

func (o *CreateNodePoolProperties) SetCoresCount(v int32)

SetCoresCount sets field value

func (*CreateNodePoolProperties) SetCpuFamily

func (o *CreateNodePoolProperties) SetCpuFamily(v string)

SetCpuFamily sets field value

func (*CreateNodePoolProperties) SetLabels

func (o *CreateNodePoolProperties) SetLabels(v map[string]interface{})

SetLabels sets field value

func (*CreateNodePoolProperties) SetMaintenanceWindow

func (o *CreateNodePoolProperties) SetMaintenanceWindow(v MaintenanceWindow)

SetMaintenanceWindow sets field value

func (*CreateNodePoolProperties) SetName

func (o *CreateNodePoolProperties) SetName(v string)

SetName sets field value

func (*CreateNodePoolProperties) SetNodeCount

func (o *CreateNodePoolProperties) SetNodeCount(v int32)

SetNodeCount sets field value

func (*CreateNodePoolProperties) SetRamSize

func (o *CreateNodePoolProperties) SetRamSize(v int32)

SetRamSize sets field value

func (*CreateNodePoolProperties) SetStorageSize

func (o *CreateNodePoolProperties) SetStorageSize(v int32)

SetStorageSize sets field value

func (*CreateNodePoolProperties) SetStorageType

func (o *CreateNodePoolProperties) SetStorageType(v StorageType)

SetStorageType sets field value

type CreateNodePoolRequest

type CreateNodePoolRequest struct {
	Properties *CreateNodePoolProperties `json:"properties"`
}

CreateNodePoolRequest Data to create a new node pool for a DataPlatformNodePool

func NewCreateNodePoolRequest

func NewCreateNodePoolRequest(properties CreateNodePoolProperties) *CreateNodePoolRequest

NewCreateNodePoolRequest instantiates a new CreateNodePoolRequest 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

func NewCreateNodePoolRequestWithDefaults

func NewCreateNodePoolRequestWithDefaults() *CreateNodePoolRequest

NewCreateNodePoolRequestWithDefaults instantiates a new CreateNodePoolRequest 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

func (*CreateNodePoolRequest) GetProperties

func (o *CreateNodePoolRequest) GetProperties() *CreateNodePoolProperties

GetProperties returns the Properties field value If the value is explicit nil, the zero value for CreateNodePoolProperties will be returned

func (*CreateNodePoolRequest) GetPropertiesOk

func (o *CreateNodePoolRequest) GetPropertiesOk() (*CreateNodePoolProperties, bool)

GetPropertiesOk returns a tuple with the Properties field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CreateNodePoolRequest) HasProperties

func (o *CreateNodePoolRequest) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (CreateNodePoolRequest) MarshalJSON

func (o CreateNodePoolRequest) MarshalJSON() ([]byte, error)

func (*CreateNodePoolRequest) SetProperties

func (o *CreateNodePoolRequest) SetProperties(v CreateNodePoolProperties)

SetProperties sets field value

type DataPlatformClusterApiService

type DataPlatformClusterApiService service

DataPlatformClusterApiService DataPlatformClusterApi service

func (*DataPlatformClusterApiService) ClustersDelete added in v0.1.1

  • ClustersDelete Delete a DataPlatformCluster
  • Deletes the specified DataPlatformCluster by its distinct cluster ID.

The ID can be found in the response when a cluster is created or when you GET a list of all DataPlatformClusters.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param clusterId The unique ID of the cluster. Must conform to the UUID format.
  • @return ApiClustersDeleteRequest

func (*DataPlatformClusterApiService) ClustersDeleteExecute added in v0.1.1

* Execute executes the request * @return ClusterResponseData

func (*DataPlatformClusterApiService) ClustersFindById added in v0.1.1

  • ClustersFindById Retrieve a DataPlatformCluster
  • Retrieve the specified DataPlatformCluster by its distinct ID.

The cluster ID can be found in the response when a cluster is created or when you GET a list of all DataPlatformClusters.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param clusterId The unique ID of the cluster. Must conform to the UUID format.
  • @return ApiClustersFindByIdRequest

func (*DataPlatformClusterApiService) ClustersFindByIdExecute added in v0.1.1

* Execute executes the request * @return ClusterResponseData

func (*DataPlatformClusterApiService) ClustersGet added in v0.1.1

  • ClustersGet List the DataPlatformClusters
  • List all available DataPlatformClusters that can be accessed by the user.

The user might filter the request for the name of the DataPlatformCluster. If no cluster is available matching the request, the list will be empty.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @return ApiClustersGetRequest

func (*DataPlatformClusterApiService) ClustersGetExecute added in v0.1.1

* Execute executes the request * @return ClusterListResponseData

func (*DataPlatformClusterApiService) ClustersKubeconfigFindByClusterId added in v0.1.1

func (a *DataPlatformClusterApiService) ClustersKubeconfigFindByClusterId(ctx _context.Context, clusterId string) ApiClustersKubeconfigFindByClusterIdRequest
  • ClustersKubeconfigFindByClusterId Read the Kubeconfig
  • Retrieves the Kubernetes configuration file (kubeconfig)

for the specified DataPlatformCluster by its cluster ID.

The ID can be found in the response when a cluster is created or when you GET a list of all DataPlatformClusters.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param clusterId The unique ID of the cluster. Must conform to the UUID format.
  • @return ApiClustersKubeconfigFindByClusterIdRequest

func (*DataPlatformClusterApiService) ClustersKubeconfigFindByClusterIdExecute added in v0.1.1

func (a *DataPlatformClusterApiService) ClustersKubeconfigFindByClusterIdExecute(r ApiClustersKubeconfigFindByClusterIdRequest) (map[string]interface{}, *shared.APIResponse, error)

* Execute executes the request * @return map[string]interface{}

func (*DataPlatformClusterApiService) ClustersPatch added in v0.1.1

  • ClustersPatch Partially Modify a DataPlatformCluster
  • Modifies the specified DataPlatformCluster by its distinct cluster ID.

The fields in the request body are applied to the cluster. Note that the application to the cluster itself is performed asynchronously. You can check the sync state by querying the cluster with the GET method.

The ID can be found in the response when a cluster is created or when you GET a list of all DataPlatformClusters.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param clusterId The unique ID of the cluster. Must conform to the UUID format.
  • @return ApiClustersPatchRequest

func (*DataPlatformClusterApiService) ClustersPatchExecute added in v0.1.1

* Execute executes the request * @return ClusterResponseData

func (*DataPlatformClusterApiService) ClustersPost added in v0.1.1

  • ClustersPost Create a DataPlatformCluster
  • Creates a new DataPlatformCluster.

The cluster will be provisioned in the data center matching the provided `datacenterID`. Therefore the data center must be created upfront and must be accessible by the user issuing the request.

To create a new virtual data center (VDC) [see](https://api.ionos.com/docs/cloud/v6/#Data-centers-post-datacenters).

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @return ApiClustersPostRequest

func (*DataPlatformClusterApiService) ClustersPostExecute added in v0.1.1

* Execute executes the request * @return ClusterResponseData

type DataPlatformMetaDataApiService

type DataPlatformMetaDataApiService service

DataPlatformMetaDataApiService DataPlatformMetaDataApi service

func (*DataPlatformMetaDataApiService) VersionsGet

* VersionsGet Managed Stackable Data Platform API Versions * Retrieves all available versions of the Managed Stackable Data Platform. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiVersionsGetRequest

func (*DataPlatformMetaDataApiService) VersionsGetExecute

* Execute executes the request * @return []string

type DataPlatformNodePoolApiService

type DataPlatformNodePoolApiService service

DataPlatformNodePoolApiService DataPlatformNodePoolApi service

func (*DataPlatformNodePoolApiService) ClustersNodepoolsDelete added in v0.1.1

func (a *DataPlatformNodePoolApiService) ClustersNodepoolsDelete(ctx _context.Context, clusterId string, nodepoolId string) ApiClustersNodepoolsDeleteRequest
  • ClustersNodepoolsDelete Remove a DataPlatformNodePool from a DataPlatformCluster
  • Removes the specified node pool from the specified DataPlatformCluster and deletes the node pool afterwards.

The cluster ID can be found in the response when a cluster is created or when you GET a list of all DataPlatformClusters.

The node pool ID can be found in the response when a node pool is created or when you GET a list of all node pools assigned to a specific DataPlatformCluster.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param clusterId The unique ID of the cluster. Must conform to the UUID format.
  • @param nodepoolId The unique ID of the node pool. Must conform to the UUID format.
  • @return ApiClustersNodepoolsDeleteRequest

func (*DataPlatformNodePoolApiService) ClustersNodepoolsDeleteExecute added in v0.1.1

* Execute executes the request * @return NodePoolResponseData

func (*DataPlatformNodePoolApiService) ClustersNodepoolsFindById added in v0.1.1

func (a *DataPlatformNodePoolApiService) ClustersNodepoolsFindById(ctx _context.Context, clusterId string, nodepoolId string) ApiClustersNodepoolsFindByIdRequest
  • ClustersNodepoolsFindById Retrieve a DataPlatformNodePool
  • Retrieve a node pool belonging to a Kubernetes cluster running Stackable by using its ID.

The cluster ID can be found in the response when a cluster is created or when you GET a list of all DataPlatformClusters.

The node pool ID can be found in the response when a node pool is created or when you GET a list of all node pools assigned to a specific DataPlatformCluster.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param clusterId The unique ID of the cluster. Must conform to the UUID format.
  • @param nodepoolId The unique ID of the node pool. Must conform to the UUID format.
  • @return ApiClustersNodepoolsFindByIdRequest

func (*DataPlatformNodePoolApiService) ClustersNodepoolsFindByIdExecute added in v0.1.1

* Execute executes the request * @return NodePoolResponseData

func (*DataPlatformNodePoolApiService) ClustersNodepoolsGet added in v0.1.1

  • ClustersNodepoolsGet List the DataPlatformNodePools of a DataPlatformCluster
  • List all node pools assigned to the specified DataPlatformCluster by its ID.

The cluster ID can be found in the response when a cluster is created or when you GET a list of all DataPlatformClusters.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param clusterId The unique ID of the cluster. Must conform to the UUID format.
  • @return ApiClustersNodepoolsGetRequest

func (*DataPlatformNodePoolApiService) ClustersNodepoolsGetExecute added in v0.1.1

* Execute executes the request * @return NodePoolListResponseData

func (*DataPlatformNodePoolApiService) ClustersNodepoolsPatch added in v0.1.1

func (a *DataPlatformNodePoolApiService) ClustersNodepoolsPatch(ctx _context.Context, clusterId string, nodepoolId string) ApiClustersNodepoolsPatchRequest
  • ClustersNodepoolsPatch Partially Modify a DataPlatformNodePool
  • Modifies the specified node pool of a DataPlatformCluster.

Update selected attributes of a node pool belonging to a Kubernetes cluster running Stackable.

The fields in the request body are applied to the cluster. Note that the application to the node pool itself is performed asynchronously. You can check the sync state by querying the node pool with the GET method.

The cluster ID can be found in the response when a cluster is created or when you GET a list of all DataPlatformClusters.

The node pool ID can be found in the response when a node pool is created or when you GET a list of all node pools assigned to a specific DataPlatformCluster.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param clusterId The unique ID of the cluster. Must conform to the UUID format.
  • @param nodepoolId The unique ID of the node pool. Must conform to the UUID format.
  • @return ApiClustersNodepoolsPatchRequest

func (*DataPlatformNodePoolApiService) ClustersNodepoolsPatchExecute added in v0.1.1

* Execute executes the request * @return NodePoolResponseData

func (*DataPlatformNodePoolApiService) ClustersNodepoolsPost added in v0.1.1

  • ClustersNodepoolsPost Create a DataPlatformNodePool for a distinct DataPlatformCluster
  • Creates a new node pool and assigns the node pool resources exclusively to the defined managed cluster.

The cluster ID can be found in the response when a cluster is created or when you GET a list of all DataPlatformClusters.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param clusterId The unique ID of the cluster. Must conform to the UUID format.
  • @return ApiClustersNodepoolsPostRequest

func (*DataPlatformNodePoolApiService) ClustersNodepoolsPostExecute added in v0.1.1

* Execute executes the request * @return NodePoolResponseData

type ErrorMessage

type ErrorMessage struct {
	// Internal error code
	ErrorCode *string `json:"errorCode,omitempty"`
	// A human readable explanation of the problem.
	Message *string `json:"message,omitempty"`
}

ErrorMessage struct for ErrorMessage

func NewErrorMessage

func NewErrorMessage() *ErrorMessage

NewErrorMessage instantiates a new ErrorMessage 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

func NewErrorMessageWithDefaults

func NewErrorMessageWithDefaults() *ErrorMessage

NewErrorMessageWithDefaults instantiates a new ErrorMessage 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

func (*ErrorMessage) GetErrorCode

func (o *ErrorMessage) GetErrorCode() *string

GetErrorCode returns the ErrorCode field value If the value is explicit nil, the zero value for string will be returned

func (*ErrorMessage) GetErrorCodeOk

func (o *ErrorMessage) GetErrorCodeOk() (*string, bool)

GetErrorCodeOk returns a tuple with the ErrorCode field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ErrorMessage) GetMessage

func (o *ErrorMessage) GetMessage() *string

GetMessage returns the Message field value If the value is explicit nil, the zero value for string will be returned

func (*ErrorMessage) GetMessageOk

func (o *ErrorMessage) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ErrorMessage) HasErrorCode

func (o *ErrorMessage) HasErrorCode() bool

HasErrorCode returns a boolean if a field has been set.

func (*ErrorMessage) HasMessage

func (o *ErrorMessage) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (ErrorMessage) MarshalJSON

func (o ErrorMessage) MarshalJSON() ([]byte, error)

func (*ErrorMessage) SetErrorCode

func (o *ErrorMessage) SetErrorCode(v string)

SetErrorCode sets field value

func (*ErrorMessage) SetMessage

func (o *ErrorMessage) SetMessage(v string)

SetMessage sets field value

type ErrorResponse

type ErrorResponse struct {
	// HTTP status code of the operation as specified by [RFC 7231](https://datatracker.ietf.org/doc/html/rfc7231#section-6)
	HttpStatus *int32          `json:"httpStatus,omitempty"`
	Messages   *[]ErrorMessage `json:"messages,omitempty"`
}

ErrorResponse struct for ErrorResponse

func NewErrorResponse

func NewErrorResponse() *ErrorResponse

NewErrorResponse instantiates a new ErrorResponse 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

func NewErrorResponseWithDefaults

func NewErrorResponseWithDefaults() *ErrorResponse

NewErrorResponseWithDefaults instantiates a new ErrorResponse 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

func (*ErrorResponse) GetHttpStatus

func (o *ErrorResponse) GetHttpStatus() *int32

GetHttpStatus returns the HttpStatus field value If the value is explicit nil, the zero value for int32 will be returned

func (*ErrorResponse) GetHttpStatusOk

func (o *ErrorResponse) GetHttpStatusOk() (*int32, bool)

GetHttpStatusOk returns a tuple with the HttpStatus field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ErrorResponse) GetMessages

func (o *ErrorResponse) GetMessages() *[]ErrorMessage

GetMessages returns the Messages field value If the value is explicit nil, the zero value for []ErrorMessage will be returned

func (*ErrorResponse) GetMessagesOk

func (o *ErrorResponse) GetMessagesOk() (*[]ErrorMessage, bool)

GetMessagesOk returns a tuple with the Messages field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ErrorResponse) HasHttpStatus

func (o *ErrorResponse) HasHttpStatus() bool

HasHttpStatus returns a boolean if a field has been set.

func (*ErrorResponse) HasMessages

func (o *ErrorResponse) HasMessages() bool

HasMessages returns a boolean if a field has been set.

func (ErrorResponse) MarshalJSON

func (o ErrorResponse) MarshalJSON() ([]byte, error)

func (*ErrorResponse) SetHttpStatus

func (o *ErrorResponse) SetHttpStatus(v int32)

SetHttpStatus sets field value

func (*ErrorResponse) SetMessages

func (o *ErrorResponse) SetMessages(v []ErrorMessage)

SetMessages sets field value

type IonosTime

type IonosTime struct {
	time.Time
}

func (*IonosTime) UnmarshalJSON

func (t *IonosTime) UnmarshalJSON(data []byte) error

type MaintenanceWindow

type MaintenanceWindow struct {
	// Time at which the maintenance should start. Must conform to the 'HH:MM:SS' 24-hour format.
	Time         *string `json:"time"`
	DayOfTheWeek *string `json:"dayOfTheWeek"`
}

MaintenanceWindow Starting time of a weekly 4 hour-long window, during which maintenance might occur in hh:mm:ss format

func NewMaintenanceWindow

func NewMaintenanceWindow(time string, dayOfTheWeek string) *MaintenanceWindow

NewMaintenanceWindow instantiates a new MaintenanceWindow 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

func NewMaintenanceWindowWithDefaults

func NewMaintenanceWindowWithDefaults() *MaintenanceWindow

NewMaintenanceWindowWithDefaults instantiates a new MaintenanceWindow 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

func (*MaintenanceWindow) GetDayOfTheWeek

func (o *MaintenanceWindow) GetDayOfTheWeek() *string

GetDayOfTheWeek returns the DayOfTheWeek field value If the value is explicit nil, the zero value for string will be returned

func (*MaintenanceWindow) GetDayOfTheWeekOk

func (o *MaintenanceWindow) GetDayOfTheWeekOk() (*string, bool)

GetDayOfTheWeekOk returns a tuple with the DayOfTheWeek field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*MaintenanceWindow) GetTime

func (o *MaintenanceWindow) GetTime() *string

GetTime returns the Time field value If the value is explicit nil, the zero value for string will be returned

func (*MaintenanceWindow) GetTimeOk

func (o *MaintenanceWindow) GetTimeOk() (*string, bool)

GetTimeOk returns a tuple with the Time field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*MaintenanceWindow) HasDayOfTheWeek

func (o *MaintenanceWindow) HasDayOfTheWeek() bool

HasDayOfTheWeek returns a boolean if a field has been set.

func (*MaintenanceWindow) HasTime

func (o *MaintenanceWindow) HasTime() bool

HasTime returns a boolean if a field has been set.

func (MaintenanceWindow) MarshalJSON

func (o MaintenanceWindow) MarshalJSON() ([]byte, error)

func (*MaintenanceWindow) SetDayOfTheWeek

func (o *MaintenanceWindow) SetDayOfTheWeek(v string)

SetDayOfTheWeek sets field value

func (*MaintenanceWindow) SetTime

func (o *MaintenanceWindow) SetTime(v string)

SetTime sets field value

type Metadata

type Metadata struct {
	// The Entity Tag of the resource as defined in http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.11
	ETag *string `json:"ETag,omitempty"`
	// The time the resource was created, ISO 8601 timestamp (UTC).
	CreatedDate *IonosTime `json:"createdDate,omitempty"`
	// The user that created the resource
	CreatedBy *string `json:"createdBy,omitempty"`
	// The ID of the user that created the resource
	CreatedByUserId *string `json:"createdByUserId,omitempty"`
	// The creators contractNumber
	CreatedInContractNumber *string `json:"createdInContractNumber,omitempty"`
	// The last time the resource was modified, ISO 8601 timestamp (UTC).
	LastModifiedDate *IonosTime `json:"lastModifiedDate,omitempty"`
	// The user that last modified the resource
	LastModifiedBy *string `json:"lastModifiedBy,omitempty"`
	// The ID of the user that last modified the resource
	LastModifiedByUserId *string `json:"lastModifiedByUserId,omitempty"`
	// The version of the data platform.
	CurrentDataPlatformVersion *string `json:"currentDataPlatformVersion,omitempty"`
	// The current data platform revision of a resource. This internal revision is used to roll out non-breaking internal changes. This attribute is read-only.
	CurrentDataPlatformRevision *int64 `json:"currentDataPlatformRevision,omitempty"`
	// List of available upgrades for this cluster
	AvailableUpgradeVersions *[]string `json:"availableUpgradeVersions,omitempty"`
	// State of the resource. *AVAILABLE* There are no pending modification requests for this item; *BUSY* There is at least one modification request pending and all following requests will be queued; *DEPLOYING* Resource state DEPLOYING - the resource is being created; *FAILED* Resource state FAILED - creation of the resource failed; *UPDATING* Resource state UPDATING - the resource is being updated; *FAILED_UPDATING* Resource state FAILED_UPDATING - an update to the resource was not successful; *DESTROYING* Resource state DESTROYING - the resource is being deleted; *FAILED_DESTROYING* Resource state FAILED_DESTROYING - deletion of the resource was not successful; *TERMINATED* Resource state TERMINATED - the resource was deleted.
	State *string `json:"state,omitempty"`
}

Metadata Metadata of the resource

func NewMetadata

func NewMetadata() *Metadata

NewMetadata instantiates a new Metadata 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

func NewMetadataWithDefaults

func NewMetadataWithDefaults() *Metadata

NewMetadataWithDefaults instantiates a new Metadata 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

func (*Metadata) GetAvailableUpgradeVersions

func (o *Metadata) GetAvailableUpgradeVersions() *[]string

GetAvailableUpgradeVersions returns the AvailableUpgradeVersions field value If the value is explicit nil, the zero value for []string will be returned

func (*Metadata) GetAvailableUpgradeVersionsOk

func (o *Metadata) GetAvailableUpgradeVersionsOk() (*[]string, bool)

GetAvailableUpgradeVersionsOk returns a tuple with the AvailableUpgradeVersions field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Metadata) GetCreatedBy

func (o *Metadata) GetCreatedBy() *string

GetCreatedBy returns the CreatedBy field value If the value is explicit nil, the zero value for string will be returned

func (*Metadata) GetCreatedByOk

func (o *Metadata) GetCreatedByOk() (*string, bool)

GetCreatedByOk returns a tuple with the CreatedBy field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Metadata) GetCreatedByUserId

func (o *Metadata) GetCreatedByUserId() *string

GetCreatedByUserId returns the CreatedByUserId field value If the value is explicit nil, the zero value for string will be returned

func (*Metadata) GetCreatedByUserIdOk

func (o *Metadata) GetCreatedByUserIdOk() (*string, bool)

GetCreatedByUserIdOk returns a tuple with the CreatedByUserId field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Metadata) GetCreatedDate

func (o *Metadata) GetCreatedDate() *time.Time

GetCreatedDate returns the CreatedDate field value If the value is explicit nil, the zero value for time.Time will be returned

func (*Metadata) GetCreatedDateOk

func (o *Metadata) GetCreatedDateOk() (*time.Time, bool)

GetCreatedDateOk returns a tuple with the CreatedDate field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Metadata) GetCreatedInContractNumber

func (o *Metadata) GetCreatedInContractNumber() *string

GetCreatedInContractNumber returns the CreatedInContractNumber field value If the value is explicit nil, the zero value for string will be returned

func (*Metadata) GetCreatedInContractNumberOk

func (o *Metadata) GetCreatedInContractNumberOk() (*string, bool)

GetCreatedInContractNumberOk returns a tuple with the CreatedInContractNumber field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Metadata) GetCurrentDataPlatformRevision

func (o *Metadata) GetCurrentDataPlatformRevision() *int64

GetCurrentDataPlatformRevision returns the CurrentDataPlatformRevision field value If the value is explicit nil, the zero value for int64 will be returned

func (*Metadata) GetCurrentDataPlatformRevisionOk

func (o *Metadata) GetCurrentDataPlatformRevisionOk() (*int64, bool)

GetCurrentDataPlatformRevisionOk returns a tuple with the CurrentDataPlatformRevision field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Metadata) GetCurrentDataPlatformVersion

func (o *Metadata) GetCurrentDataPlatformVersion() *string

GetCurrentDataPlatformVersion returns the CurrentDataPlatformVersion field value If the value is explicit nil, the zero value for string will be returned

func (*Metadata) GetCurrentDataPlatformVersionOk

func (o *Metadata) GetCurrentDataPlatformVersionOk() (*string, bool)

GetCurrentDataPlatformVersionOk returns a tuple with the CurrentDataPlatformVersion field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Metadata) GetETag

func (o *Metadata) GetETag() *string

GetETag returns the ETag field value If the value is explicit nil, the zero value for string will be returned

func (*Metadata) GetETagOk

func (o *Metadata) GetETagOk() (*string, bool)

GetETagOk returns a tuple with the ETag field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Metadata) GetLastModifiedBy

func (o *Metadata) GetLastModifiedBy() *string

GetLastModifiedBy returns the LastModifiedBy field value If the value is explicit nil, the zero value for string will be returned

func (*Metadata) GetLastModifiedByOk

func (o *Metadata) GetLastModifiedByOk() (*string, bool)

GetLastModifiedByOk returns a tuple with the LastModifiedBy field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Metadata) GetLastModifiedByUserId

func (o *Metadata) GetLastModifiedByUserId() *string

GetLastModifiedByUserId returns the LastModifiedByUserId field value If the value is explicit nil, the zero value for string will be returned

func (*Metadata) GetLastModifiedByUserIdOk

func (o *Metadata) GetLastModifiedByUserIdOk() (*string, bool)

GetLastModifiedByUserIdOk returns a tuple with the LastModifiedByUserId field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Metadata) GetLastModifiedDate

func (o *Metadata) GetLastModifiedDate() *time.Time

GetLastModifiedDate returns the LastModifiedDate field value If the value is explicit nil, the zero value for time.Time will be returned

func (*Metadata) GetLastModifiedDateOk

func (o *Metadata) GetLastModifiedDateOk() (*time.Time, bool)

GetLastModifiedDateOk returns a tuple with the LastModifiedDate field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Metadata) GetState

func (o *Metadata) GetState() *string

GetState returns the State field value If the value is explicit nil, the zero value for string will be returned

func (*Metadata) GetStateOk

func (o *Metadata) GetStateOk() (*string, bool)

GetStateOk returns a tuple with the State field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Metadata) HasAvailableUpgradeVersions

func (o *Metadata) HasAvailableUpgradeVersions() bool

HasAvailableUpgradeVersions returns a boolean if a field has been set.

func (*Metadata) HasCreatedBy

func (o *Metadata) HasCreatedBy() bool

HasCreatedBy returns a boolean if a field has been set.

func (*Metadata) HasCreatedByUserId

func (o *Metadata) HasCreatedByUserId() bool

HasCreatedByUserId returns a boolean if a field has been set.

func (*Metadata) HasCreatedDate

func (o *Metadata) HasCreatedDate() bool

HasCreatedDate returns a boolean if a field has been set.

func (*Metadata) HasCreatedInContractNumber

func (o *Metadata) HasCreatedInContractNumber() bool

HasCreatedInContractNumber returns a boolean if a field has been set.

func (*Metadata) HasCurrentDataPlatformRevision

func (o *Metadata) HasCurrentDataPlatformRevision() bool

HasCurrentDataPlatformRevision returns a boolean if a field has been set.

func (*Metadata) HasCurrentDataPlatformVersion

func (o *Metadata) HasCurrentDataPlatformVersion() bool

HasCurrentDataPlatformVersion returns a boolean if a field has been set.

func (*Metadata) HasETag

func (o *Metadata) HasETag() bool

HasETag returns a boolean if a field has been set.

func (*Metadata) HasLastModifiedBy

func (o *Metadata) HasLastModifiedBy() bool

HasLastModifiedBy returns a boolean if a field has been set.

func (*Metadata) HasLastModifiedByUserId

func (o *Metadata) HasLastModifiedByUserId() bool

HasLastModifiedByUserId returns a boolean if a field has been set.

func (*Metadata) HasLastModifiedDate

func (o *Metadata) HasLastModifiedDate() bool

HasLastModifiedDate returns a boolean if a field has been set.

func (*Metadata) HasState

func (o *Metadata) HasState() bool

HasState returns a boolean if a field has been set.

func (Metadata) MarshalJSON

func (o Metadata) MarshalJSON() ([]byte, error)

func (*Metadata) SetAvailableUpgradeVersions

func (o *Metadata) SetAvailableUpgradeVersions(v []string)

SetAvailableUpgradeVersions sets field value

func (*Metadata) SetCreatedBy

func (o *Metadata) SetCreatedBy(v string)

SetCreatedBy sets field value

func (*Metadata) SetCreatedByUserId

func (o *Metadata) SetCreatedByUserId(v string)

SetCreatedByUserId sets field value

func (*Metadata) SetCreatedDate

func (o *Metadata) SetCreatedDate(v time.Time)

SetCreatedDate sets field value

func (*Metadata) SetCreatedInContractNumber

func (o *Metadata) SetCreatedInContractNumber(v string)

SetCreatedInContractNumber sets field value

func (*Metadata) SetCurrentDataPlatformRevision

func (o *Metadata) SetCurrentDataPlatformRevision(v int64)

SetCurrentDataPlatformRevision sets field value

func (*Metadata) SetCurrentDataPlatformVersion

func (o *Metadata) SetCurrentDataPlatformVersion(v string)

SetCurrentDataPlatformVersion sets field value

func (*Metadata) SetETag

func (o *Metadata) SetETag(v string)

SetETag sets field value

func (*Metadata) SetLastModifiedBy

func (o *Metadata) SetLastModifiedBy(v string)

SetLastModifiedBy sets field value

func (*Metadata) SetLastModifiedByUserId

func (o *Metadata) SetLastModifiedByUserId(v string)

SetLastModifiedByUserId sets field value

func (*Metadata) SetLastModifiedDate

func (o *Metadata) SetLastModifiedDate(v time.Time)

SetLastModifiedDate sets field value

func (*Metadata) SetState

func (o *Metadata) SetState(v string)

SetState sets field value

type NodePool

type NodePool struct {
	// The name of your node pool. Must be 63 characters or less and must begin and end with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between.
	Name *string `json:"name,omitempty"`
	// The version of the data platform.
	DataPlatformVersion *string `json:"dataPlatformVersion,omitempty"`
	// The UUID of the virtual data center (VDC) the cluster is provisioned.
	DatacenterId *string `json:"datacenterId,omitempty"`
	// The number of nodes that make up the node pool.
	NodeCount *int32 `json:"nodeCount,omitempty"`
	// A valid CPU family name or `AUTO` if the platform shall choose the best fitting option. Available CPU architectures can be retrieved from the data center resource.
	CpuFamily *string `json:"cpuFamily,omitempty"`
	// The number of CPU cores per node.
	CoresCount *int32 `json:"coresCount,omitempty"`
	// The RAM size for one node in MB. Must be set in multiples of 1024 MB, with a minimum size is of 2048 MB.
	RamSize          *int32            `json:"ramSize,omitempty"`
	AvailabilityZone *AvailabilityZone `json:"availabilityZone,omitempty"`
	StorageType      *StorageType      `json:"storageType,omitempty"`
	// The size of the volume in GB. The size must be greater than 10 GB.
	StorageSize       *int32             `json:"storageSize,omitempty"`
	MaintenanceWindow *MaintenanceWindow `json:"maintenanceWindow,omitempty"`
	// Key-value pairs attached to the node pool resource as [Kubernetes labels](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/)
	Labels *map[string]interface{} `json:"labels,omitempty"`
	// Key-value pairs attached to node pool resource as [Kubernetes annotations](https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/)
	Annotations *map[string]interface{} `json:"annotations,omitempty"`
}

NodePool A DataPlatformNodePool of a DataPlatformCluster

func NewNodePool

func NewNodePool() *NodePool

NewNodePool instantiates a new NodePool 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

func NewNodePoolWithDefaults

func NewNodePoolWithDefaults() *NodePool

NewNodePoolWithDefaults instantiates a new NodePool 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

func (*NodePool) GetAnnotations

func (o *NodePool) GetAnnotations() *map[string]interface{}

GetAnnotations returns the Annotations field value If the value is explicit nil, the zero value for map[string]interface{} will be returned

func (*NodePool) GetAnnotationsOk

func (o *NodePool) GetAnnotationsOk() (*map[string]interface{}, bool)

GetAnnotationsOk returns a tuple with the Annotations field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*NodePool) GetAvailabilityZone

func (o *NodePool) GetAvailabilityZone() *AvailabilityZone

GetAvailabilityZone returns the AvailabilityZone field value If the value is explicit nil, the zero value for AvailabilityZone will be returned

func (*NodePool) GetAvailabilityZoneOk

func (o *NodePool) GetAvailabilityZoneOk() (*AvailabilityZone, bool)

GetAvailabilityZoneOk returns a tuple with the AvailabilityZone field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*NodePool) GetCoresCount

func (o *NodePool) GetCoresCount() *int32

GetCoresCount returns the CoresCount field value If the value is explicit nil, the zero value for int32 will be returned

func (*NodePool) GetCoresCountOk

func (o *NodePool) GetCoresCountOk() (*int32, bool)

GetCoresCountOk returns a tuple with the CoresCount field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*NodePool) GetCpuFamily

func (o *NodePool) GetCpuFamily() *string

GetCpuFamily returns the CpuFamily field value If the value is explicit nil, the zero value for string will be returned

func (*NodePool) GetCpuFamilyOk

func (o *NodePool) GetCpuFamilyOk() (*string, bool)

GetCpuFamilyOk returns a tuple with the CpuFamily field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*NodePool) GetDataPlatformVersion

func (o *NodePool) GetDataPlatformVersion() *string

GetDataPlatformVersion returns the DataPlatformVersion field value If the value is explicit nil, the zero value for string will be returned

func (*NodePool) GetDataPlatformVersionOk

func (o *NodePool) GetDataPlatformVersionOk() (*string, bool)

GetDataPlatformVersionOk returns a tuple with the DataPlatformVersion field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*NodePool) GetDatacenterId

func (o *NodePool) GetDatacenterId() *string

GetDatacenterId returns the DatacenterId field value If the value is explicit nil, the zero value for string will be returned

func (*NodePool) GetDatacenterIdOk

func (o *NodePool) GetDatacenterIdOk() (*string, bool)

GetDatacenterIdOk returns a tuple with the DatacenterId field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*NodePool) GetLabels

func (o *NodePool) GetLabels() *map[string]interface{}

GetLabels returns the Labels field value If the value is explicit nil, the zero value for map[string]interface{} will be returned

func (*NodePool) GetLabelsOk

func (o *NodePool) GetLabelsOk() (*map[string]interface{}, bool)

GetLabelsOk returns a tuple with the Labels field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*NodePool) GetMaintenanceWindow

func (o *NodePool) GetMaintenanceWindow() *MaintenanceWindow

GetMaintenanceWindow returns the MaintenanceWindow field value If the value is explicit nil, the zero value for MaintenanceWindow will be returned

func (*NodePool) GetMaintenanceWindowOk

func (o *NodePool) GetMaintenanceWindowOk() (*MaintenanceWindow, bool)

GetMaintenanceWindowOk returns a tuple with the MaintenanceWindow field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*NodePool) GetName

func (o *NodePool) GetName() *string

GetName returns the Name field value If the value is explicit nil, the zero value for string will be returned

func (*NodePool) GetNameOk

func (o *NodePool) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*NodePool) GetNodeCount

func (o *NodePool) GetNodeCount() *int32

GetNodeCount returns the NodeCount field value If the value is explicit nil, the zero value for int32 will be returned

func (*NodePool) GetNodeCountOk

func (o *NodePool) GetNodeCountOk() (*int32, bool)

GetNodeCountOk returns a tuple with the NodeCount field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*NodePool) GetRamSize

func (o *NodePool) GetRamSize() *int32

GetRamSize returns the RamSize field value If the value is explicit nil, the zero value for int32 will be returned

func (*NodePool) GetRamSizeOk

func (o *NodePool) GetRamSizeOk() (*int32, bool)

GetRamSizeOk returns a tuple with the RamSize field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*NodePool) GetStorageSize

func (o *NodePool) GetStorageSize() *int32

GetStorageSize returns the StorageSize field value If the value is explicit nil, the zero value for int32 will be returned

func (*NodePool) GetStorageSizeOk

func (o *NodePool) GetStorageSizeOk() (*int32, bool)

GetStorageSizeOk returns a tuple with the StorageSize field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*NodePool) GetStorageType

func (o *NodePool) GetStorageType() *StorageType

GetStorageType returns the StorageType field value If the value is explicit nil, the zero value for StorageType will be returned

func (*NodePool) GetStorageTypeOk

func (o *NodePool) GetStorageTypeOk() (*StorageType, bool)

GetStorageTypeOk returns a tuple with the StorageType field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*NodePool) HasAnnotations

func (o *NodePool) HasAnnotations() bool

HasAnnotations returns a boolean if a field has been set.

func (*NodePool) HasAvailabilityZone

func (o *NodePool) HasAvailabilityZone() bool

HasAvailabilityZone returns a boolean if a field has been set.

func (*NodePool) HasCoresCount

func (o *NodePool) HasCoresCount() bool

HasCoresCount returns a boolean if a field has been set.

func (*NodePool) HasCpuFamily

func (o *NodePool) HasCpuFamily() bool

HasCpuFamily returns a boolean if a field has been set.

func (*NodePool) HasDataPlatformVersion

func (o *NodePool) HasDataPlatformVersion() bool

HasDataPlatformVersion returns a boolean if a field has been set.

func (*NodePool) HasDatacenterId

func (o *NodePool) HasDatacenterId() bool

HasDatacenterId returns a boolean if a field has been set.

func (*NodePool) HasLabels

func (o *NodePool) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*NodePool) HasMaintenanceWindow

func (o *NodePool) HasMaintenanceWindow() bool

HasMaintenanceWindow returns a boolean if a field has been set.

func (*NodePool) HasName

func (o *NodePool) HasName() bool

HasName returns a boolean if a field has been set.

func (*NodePool) HasNodeCount

func (o *NodePool) HasNodeCount() bool

HasNodeCount returns a boolean if a field has been set.

func (*NodePool) HasRamSize

func (o *NodePool) HasRamSize() bool

HasRamSize returns a boolean if a field has been set.

func (*NodePool) HasStorageSize

func (o *NodePool) HasStorageSize() bool

HasStorageSize returns a boolean if a field has been set.

func (*NodePool) HasStorageType

func (o *NodePool) HasStorageType() bool

HasStorageType returns a boolean if a field has been set.

func (NodePool) MarshalJSON

func (o NodePool) MarshalJSON() ([]byte, error)

func (*NodePool) SetAnnotations

func (o *NodePool) SetAnnotations(v map[string]interface{})

SetAnnotations sets field value

func (*NodePool) SetAvailabilityZone

func (o *NodePool) SetAvailabilityZone(v AvailabilityZone)

SetAvailabilityZone sets field value

func (*NodePool) SetCoresCount

func (o *NodePool) SetCoresCount(v int32)

SetCoresCount sets field value

func (*NodePool) SetCpuFamily

func (o *NodePool) SetCpuFamily(v string)

SetCpuFamily sets field value

func (*NodePool) SetDataPlatformVersion

func (o *NodePool) SetDataPlatformVersion(v string)

SetDataPlatformVersion sets field value

func (*NodePool) SetDatacenterId

func (o *NodePool) SetDatacenterId(v string)

SetDatacenterId sets field value

func (*NodePool) SetLabels

func (o *NodePool) SetLabels(v map[string]interface{})

SetLabels sets field value

func (*NodePool) SetMaintenanceWindow

func (o *NodePool) SetMaintenanceWindow(v MaintenanceWindow)

SetMaintenanceWindow sets field value

func (*NodePool) SetName

func (o *NodePool) SetName(v string)

SetName sets field value

func (*NodePool) SetNodeCount

func (o *NodePool) SetNodeCount(v int32)

SetNodeCount sets field value

func (*NodePool) SetRamSize

func (o *NodePool) SetRamSize(v int32)

SetRamSize sets field value

func (*NodePool) SetStorageSize

func (o *NodePool) SetStorageSize(v int32)

SetStorageSize sets field value

func (*NodePool) SetStorageType

func (o *NodePool) SetStorageType(v StorageType)

SetStorageType sets field value

type NodePoolListResponseData

type NodePoolListResponseData struct {
	// The ID of a list of resources.
	Id    *string                 `json:"id,omitempty"`
	Type  *string                 `json:"type,omitempty"`
	Href  *string                 `json:"href,omitempty"`
	Items *[]NodePoolResponseData `json:"items"`
}

NodePoolListResponseData Data of a node pool list

func NewNodePoolListResponseData

func NewNodePoolListResponseData(items []NodePoolResponseData) *NodePoolListResponseData

NewNodePoolListResponseData instantiates a new NodePoolListResponseData 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

func NewNodePoolListResponseDataWithDefaults

func NewNodePoolListResponseDataWithDefaults() *NodePoolListResponseData

NewNodePoolListResponseDataWithDefaults instantiates a new NodePoolListResponseData 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

func (*NodePoolListResponseData) GetHref

func (o *NodePoolListResponseData) GetHref() *string

GetHref returns the Href field value If the value is explicit nil, the zero value for string will be returned

func (*NodePoolListResponseData) GetHrefOk

func (o *NodePoolListResponseData) GetHrefOk() (*string, bool)

GetHrefOk returns a tuple with the Href field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*NodePoolListResponseData) GetId

func (o *NodePoolListResponseData) GetId() *string

GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned

func (*NodePoolListResponseData) GetIdOk

func (o *NodePoolListResponseData) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*NodePoolListResponseData) GetItems

GetItems returns the Items field value If the value is explicit nil, the zero value for []NodePoolResponseData will be returned

func (*NodePoolListResponseData) GetItemsOk

func (o *NodePoolListResponseData) GetItemsOk() (*[]NodePoolResponseData, bool)

GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*NodePoolListResponseData) GetType

func (o *NodePoolListResponseData) GetType() *string

GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned

func (*NodePoolListResponseData) GetTypeOk

func (o *NodePoolListResponseData) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*NodePoolListResponseData) HasHref

func (o *NodePoolListResponseData) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*NodePoolListResponseData) HasId

func (o *NodePoolListResponseData) HasId() bool

HasId returns a boolean if a field has been set.

func (*NodePoolListResponseData) HasItems

func (o *NodePoolListResponseData) HasItems() bool

HasItems returns a boolean if a field has been set.

func (*NodePoolListResponseData) HasType

func (o *NodePoolListResponseData) HasType() bool

HasType returns a boolean if a field has been set.

func (NodePoolListResponseData) MarshalJSON

func (o NodePoolListResponseData) MarshalJSON() ([]byte, error)

func (*NodePoolListResponseData) SetHref

func (o *NodePoolListResponseData) SetHref(v string)

SetHref sets field value

func (*NodePoolListResponseData) SetId

func (o *NodePoolListResponseData) SetId(v string)

SetId sets field value

func (*NodePoolListResponseData) SetItems

SetItems sets field value

func (*NodePoolListResponseData) SetType

func (o *NodePoolListResponseData) SetType(v string)

SetType sets field value

type NodePoolResponseData

type NodePoolResponseData struct {
	// The unique ID of the resource. Must conform to the UUID format.
	Id *string `json:"id"`
	// The type of the resource.
	Type *string `json:"type,omitempty"`
	// URL to the object representation (absolute path).
	Href       *string   `json:"href,omitempty"`
	Metadata   *Metadata `json:"metadata"`
	Properties *NodePool `json:"properties"`
}

NodePoolResponseData Data of a node pool

func NewNodePoolResponseData

func NewNodePoolResponseData(id string, metadata Metadata, properties NodePool) *NodePoolResponseData

NewNodePoolResponseData instantiates a new NodePoolResponseData 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

func NewNodePoolResponseDataWithDefaults

func NewNodePoolResponseDataWithDefaults() *NodePoolResponseData

NewNodePoolResponseDataWithDefaults instantiates a new NodePoolResponseData 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

func (*NodePoolResponseData) GetHref

func (o *NodePoolResponseData) GetHref() *string

GetHref returns the Href field value If the value is explicit nil, the zero value for string will be returned

func (*NodePoolResponseData) GetHrefOk

func (o *NodePoolResponseData) GetHrefOk() (*string, bool)

GetHrefOk returns a tuple with the Href field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*NodePoolResponseData) GetId

func (o *NodePoolResponseData) GetId() *string

GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned

func (*NodePoolResponseData) GetIdOk

func (o *NodePoolResponseData) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*NodePoolResponseData) GetMetadata

func (o *NodePoolResponseData) GetMetadata() *Metadata

GetMetadata returns the Metadata field value If the value is explicit nil, the zero value for Metadata will be returned

func (*NodePoolResponseData) GetMetadataOk

func (o *NodePoolResponseData) GetMetadataOk() (*Metadata, bool)

GetMetadataOk returns a tuple with the Metadata field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*NodePoolResponseData) GetProperties

func (o *NodePoolResponseData) GetProperties() *NodePool

GetProperties returns the Properties field value If the value is explicit nil, the zero value for NodePool will be returned

func (*NodePoolResponseData) GetPropertiesOk

func (o *NodePoolResponseData) GetPropertiesOk() (*NodePool, bool)

GetPropertiesOk returns a tuple with the Properties field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*NodePoolResponseData) GetType

func (o *NodePoolResponseData) GetType() *string

GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned

func (*NodePoolResponseData) GetTypeOk

func (o *NodePoolResponseData) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*NodePoolResponseData) HasHref

func (o *NodePoolResponseData) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*NodePoolResponseData) HasId

func (o *NodePoolResponseData) HasId() bool

HasId returns a boolean if a field has been set.

func (*NodePoolResponseData) HasMetadata

func (o *NodePoolResponseData) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*NodePoolResponseData) HasProperties

func (o *NodePoolResponseData) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (*NodePoolResponseData) HasType

func (o *NodePoolResponseData) HasType() bool

HasType returns a boolean if a field has been set.

func (NodePoolResponseData) MarshalJSON

func (o NodePoolResponseData) MarshalJSON() ([]byte, error)

func (*NodePoolResponseData) SetHref

func (o *NodePoolResponseData) SetHref(v string)

SetHref sets field value

func (*NodePoolResponseData) SetId

func (o *NodePoolResponseData) SetId(v string)

SetId sets field value

func (*NodePoolResponseData) SetMetadata

func (o *NodePoolResponseData) SetMetadata(v Metadata)

SetMetadata sets field value

func (*NodePoolResponseData) SetProperties

func (o *NodePoolResponseData) SetProperties(v NodePool)

SetProperties sets field value

func (*NodePoolResponseData) SetType

func (o *NodePoolResponseData) SetType(v string)

SetType sets field value

type NullableAvailabilityZone

type NullableAvailabilityZone struct {
	// contains filtered or unexported fields
}

func NewNullableAvailabilityZone

func NewNullableAvailabilityZone(val *AvailabilityZone) *NullableAvailabilityZone

func (NullableAvailabilityZone) Get

func (NullableAvailabilityZone) IsSet

func (v NullableAvailabilityZone) IsSet() bool

func (NullableAvailabilityZone) MarshalJSON

func (v NullableAvailabilityZone) MarshalJSON() ([]byte, error)

func (*NullableAvailabilityZone) Set

func (*NullableAvailabilityZone) UnmarshalJSON

func (v *NullableAvailabilityZone) UnmarshalJSON(src []byte) error

func (*NullableAvailabilityZone) Unset

func (v *NullableAvailabilityZone) Unset()

type NullableCluster

type NullableCluster struct {
	// contains filtered or unexported fields
}

func NewNullableCluster

func NewNullableCluster(val *Cluster) *NullableCluster

func (NullableCluster) Get

func (v NullableCluster) Get() *Cluster

func (NullableCluster) IsSet

func (v NullableCluster) IsSet() bool

func (NullableCluster) MarshalJSON

func (v NullableCluster) MarshalJSON() ([]byte, error)

func (*NullableCluster) Set

func (v *NullableCluster) Set(val *Cluster)

func (*NullableCluster) UnmarshalJSON

func (v *NullableCluster) UnmarshalJSON(src []byte) error

func (*NullableCluster) Unset

func (v *NullableCluster) Unset()

type NullableClusterListResponseData

type NullableClusterListResponseData struct {
	// contains filtered or unexported fields
}

func (NullableClusterListResponseData) Get

func (NullableClusterListResponseData) IsSet

func (NullableClusterListResponseData) MarshalJSON

func (v NullableClusterListResponseData) MarshalJSON() ([]byte, error)

func (*NullableClusterListResponseData) Set

func (*NullableClusterListResponseData) UnmarshalJSON

func (v *NullableClusterListResponseData) UnmarshalJSON(src []byte) error

func (*NullableClusterListResponseData) Unset

type NullableClusterResponseData

type NullableClusterResponseData struct {
	// contains filtered or unexported fields
}

func NewNullableClusterResponseData

func NewNullableClusterResponseData(val *ClusterResponseData) *NullableClusterResponseData

func (NullableClusterResponseData) Get

func (NullableClusterResponseData) IsSet

func (NullableClusterResponseData) MarshalJSON

func (v NullableClusterResponseData) MarshalJSON() ([]byte, error)

func (*NullableClusterResponseData) Set

func (*NullableClusterResponseData) UnmarshalJSON

func (v *NullableClusterResponseData) UnmarshalJSON(src []byte) error

func (*NullableClusterResponseData) Unset

func (v *NullableClusterResponseData) Unset()

type NullableCreateClusterProperties

type NullableCreateClusterProperties struct {
	// contains filtered or unexported fields
}

func (NullableCreateClusterProperties) Get

func (NullableCreateClusterProperties) IsSet

func (NullableCreateClusterProperties) MarshalJSON

func (v NullableCreateClusterProperties) MarshalJSON() ([]byte, error)

func (*NullableCreateClusterProperties) Set

func (*NullableCreateClusterProperties) UnmarshalJSON

func (v *NullableCreateClusterProperties) UnmarshalJSON(src []byte) error

func (*NullableCreateClusterProperties) Unset

type NullableCreateClusterRequest

type NullableCreateClusterRequest struct {
	// contains filtered or unexported fields
}

func NewNullableCreateClusterRequest

func NewNullableCreateClusterRequest(val *CreateClusterRequest) *NullableCreateClusterRequest

func (NullableCreateClusterRequest) Get

func (NullableCreateClusterRequest) IsSet

func (NullableCreateClusterRequest) MarshalJSON

func (v NullableCreateClusterRequest) MarshalJSON() ([]byte, error)

func (*NullableCreateClusterRequest) Set

func (*NullableCreateClusterRequest) UnmarshalJSON

func (v *NullableCreateClusterRequest) UnmarshalJSON(src []byte) error

func (*NullableCreateClusterRequest) Unset

func (v *NullableCreateClusterRequest) Unset()

type NullableCreateNodePoolProperties

type NullableCreateNodePoolProperties struct {
	// contains filtered or unexported fields
}

func (NullableCreateNodePoolProperties) Get

func (NullableCreateNodePoolProperties) IsSet

func (NullableCreateNodePoolProperties) MarshalJSON

func (v NullableCreateNodePoolProperties) MarshalJSON() ([]byte, error)

func (*NullableCreateNodePoolProperties) Set

func (*NullableCreateNodePoolProperties) UnmarshalJSON

func (v *NullableCreateNodePoolProperties) UnmarshalJSON(src []byte) error

func (*NullableCreateNodePoolProperties) Unset

type NullableCreateNodePoolRequest

type NullableCreateNodePoolRequest struct {
	// contains filtered or unexported fields
}

func (NullableCreateNodePoolRequest) Get

func (NullableCreateNodePoolRequest) IsSet

func (NullableCreateNodePoolRequest) MarshalJSON

func (v NullableCreateNodePoolRequest) MarshalJSON() ([]byte, error)

func (*NullableCreateNodePoolRequest) Set

func (*NullableCreateNodePoolRequest) UnmarshalJSON

func (v *NullableCreateNodePoolRequest) UnmarshalJSON(src []byte) error

func (*NullableCreateNodePoolRequest) Unset

func (v *NullableCreateNodePoolRequest) Unset()

type NullableErrorMessage

type NullableErrorMessage struct {
	// contains filtered or unexported fields
}

func NewNullableErrorMessage

func NewNullableErrorMessage(val *ErrorMessage) *NullableErrorMessage

func (NullableErrorMessage) Get

func (NullableErrorMessage) IsSet

func (v NullableErrorMessage) IsSet() bool

func (NullableErrorMessage) MarshalJSON

func (v NullableErrorMessage) MarshalJSON() ([]byte, error)

func (*NullableErrorMessage) Set

func (v *NullableErrorMessage) Set(val *ErrorMessage)

func (*NullableErrorMessage) UnmarshalJSON

func (v *NullableErrorMessage) UnmarshalJSON(src []byte) error

func (*NullableErrorMessage) Unset

func (v *NullableErrorMessage) Unset()

type NullableErrorResponse

type NullableErrorResponse struct {
	// contains filtered or unexported fields
}

func NewNullableErrorResponse

func NewNullableErrorResponse(val *ErrorResponse) *NullableErrorResponse

func (NullableErrorResponse) Get

func (NullableErrorResponse) IsSet

func (v NullableErrorResponse) IsSet() bool

func (NullableErrorResponse) MarshalJSON

func (v NullableErrorResponse) MarshalJSON() ([]byte, error)

func (*NullableErrorResponse) Set

func (v *NullableErrorResponse) Set(val *ErrorResponse)

func (*NullableErrorResponse) UnmarshalJSON

func (v *NullableErrorResponse) UnmarshalJSON(src []byte) error

func (*NullableErrorResponse) Unset

func (v *NullableErrorResponse) Unset()

type NullableMaintenanceWindow

type NullableMaintenanceWindow struct {
	// contains filtered or unexported fields
}

func NewNullableMaintenanceWindow

func NewNullableMaintenanceWindow(val *MaintenanceWindow) *NullableMaintenanceWindow

func (NullableMaintenanceWindow) Get

func (NullableMaintenanceWindow) IsSet

func (v NullableMaintenanceWindow) IsSet() bool

func (NullableMaintenanceWindow) MarshalJSON

func (v NullableMaintenanceWindow) MarshalJSON() ([]byte, error)

func (*NullableMaintenanceWindow) Set

func (*NullableMaintenanceWindow) UnmarshalJSON

func (v *NullableMaintenanceWindow) UnmarshalJSON(src []byte) error

func (*NullableMaintenanceWindow) Unset

func (v *NullableMaintenanceWindow) Unset()

type NullableMetadata

type NullableMetadata struct {
	// contains filtered or unexported fields
}

func NewNullableMetadata

func NewNullableMetadata(val *Metadata) *NullableMetadata

func (NullableMetadata) Get

func (v NullableMetadata) Get() *Metadata

func (NullableMetadata) IsSet

func (v NullableMetadata) IsSet() bool

func (NullableMetadata) MarshalJSON

func (v NullableMetadata) MarshalJSON() ([]byte, error)

func (*NullableMetadata) Set

func (v *NullableMetadata) Set(val *Metadata)

func (*NullableMetadata) UnmarshalJSON

func (v *NullableMetadata) UnmarshalJSON(src []byte) error

func (*NullableMetadata) Unset

func (v *NullableMetadata) Unset()

type NullableNodePool

type NullableNodePool struct {
	// contains filtered or unexported fields
}

func NewNullableNodePool

func NewNullableNodePool(val *NodePool) *NullableNodePool

func (NullableNodePool) Get

func (v NullableNodePool) Get() *NodePool

func (NullableNodePool) IsSet

func (v NullableNodePool) IsSet() bool

func (NullableNodePool) MarshalJSON

func (v NullableNodePool) MarshalJSON() ([]byte, error)

func (*NullableNodePool) Set

func (v *NullableNodePool) Set(val *NodePool)

func (*NullableNodePool) UnmarshalJSON

func (v *NullableNodePool) UnmarshalJSON(src []byte) error

func (*NullableNodePool) Unset

func (v *NullableNodePool) Unset()

type NullableNodePoolListResponseData

type NullableNodePoolListResponseData struct {
	// contains filtered or unexported fields
}

func (NullableNodePoolListResponseData) Get

func (NullableNodePoolListResponseData) IsSet

func (NullableNodePoolListResponseData) MarshalJSON

func (v NullableNodePoolListResponseData) MarshalJSON() ([]byte, error)

func (*NullableNodePoolListResponseData) Set

func (*NullableNodePoolListResponseData) UnmarshalJSON

func (v *NullableNodePoolListResponseData) UnmarshalJSON(src []byte) error

func (*NullableNodePoolListResponseData) Unset

type NullableNodePoolResponseData

type NullableNodePoolResponseData struct {
	// contains filtered or unexported fields
}

func NewNullableNodePoolResponseData

func NewNullableNodePoolResponseData(val *NodePoolResponseData) *NullableNodePoolResponseData

func (NullableNodePoolResponseData) Get

func (NullableNodePoolResponseData) IsSet

func (NullableNodePoolResponseData) MarshalJSON

func (v NullableNodePoolResponseData) MarshalJSON() ([]byte, error)

func (*NullableNodePoolResponseData) Set

func (*NullableNodePoolResponseData) UnmarshalJSON

func (v *NullableNodePoolResponseData) UnmarshalJSON(src []byte) error

func (*NullableNodePoolResponseData) Unset

func (v *NullableNodePoolResponseData) Unset()

type NullablePatchClusterProperties

type NullablePatchClusterProperties struct {
	// contains filtered or unexported fields
}

func (NullablePatchClusterProperties) Get

func (NullablePatchClusterProperties) IsSet

func (NullablePatchClusterProperties) MarshalJSON

func (v NullablePatchClusterProperties) MarshalJSON() ([]byte, error)

func (*NullablePatchClusterProperties) Set

func (*NullablePatchClusterProperties) UnmarshalJSON

func (v *NullablePatchClusterProperties) UnmarshalJSON(src []byte) error

func (*NullablePatchClusterProperties) Unset

func (v *NullablePatchClusterProperties) Unset()

type NullablePatchClusterRequest

type NullablePatchClusterRequest struct {
	// contains filtered or unexported fields
}

func NewNullablePatchClusterRequest

func NewNullablePatchClusterRequest(val *PatchClusterRequest) *NullablePatchClusterRequest

func (NullablePatchClusterRequest) Get

func (NullablePatchClusterRequest) IsSet

func (NullablePatchClusterRequest) MarshalJSON

func (v NullablePatchClusterRequest) MarshalJSON() ([]byte, error)

func (*NullablePatchClusterRequest) Set

func (*NullablePatchClusterRequest) UnmarshalJSON

func (v *NullablePatchClusterRequest) UnmarshalJSON(src []byte) error

func (*NullablePatchClusterRequest) Unset

func (v *NullablePatchClusterRequest) Unset()

type NullablePatchNodePoolProperties

type NullablePatchNodePoolProperties struct {
	// contains filtered or unexported fields
}

func (NullablePatchNodePoolProperties) Get

func (NullablePatchNodePoolProperties) IsSet

func (NullablePatchNodePoolProperties) MarshalJSON

func (v NullablePatchNodePoolProperties) MarshalJSON() ([]byte, error)

func (*NullablePatchNodePoolProperties) Set

func (*NullablePatchNodePoolProperties) UnmarshalJSON

func (v *NullablePatchNodePoolProperties) UnmarshalJSON(src []byte) error

func (*NullablePatchNodePoolProperties) Unset

type NullablePatchNodePoolRequest

type NullablePatchNodePoolRequest struct {
	// contains filtered or unexported fields
}

func NewNullablePatchNodePoolRequest

func NewNullablePatchNodePoolRequest(val *PatchNodePoolRequest) *NullablePatchNodePoolRequest

func (NullablePatchNodePoolRequest) Get

func (NullablePatchNodePoolRequest) IsSet

func (NullablePatchNodePoolRequest) MarshalJSON

func (v NullablePatchNodePoolRequest) MarshalJSON() ([]byte, error)

func (*NullablePatchNodePoolRequest) Set

func (*NullablePatchNodePoolRequest) UnmarshalJSON

func (v *NullablePatchNodePoolRequest) UnmarshalJSON(src []byte) error

func (*NullablePatchNodePoolRequest) Unset

func (v *NullablePatchNodePoolRequest) Unset()

type NullableStorageType

type NullableStorageType struct {
	// contains filtered or unexported fields
}

func NewNullableStorageType

func NewNullableStorageType(val *StorageType) *NullableStorageType

func (NullableStorageType) Get

func (NullableStorageType) IsSet

func (v NullableStorageType) IsSet() bool

func (NullableStorageType) MarshalJSON

func (v NullableStorageType) MarshalJSON() ([]byte, error)

func (*NullableStorageType) Set

func (v *NullableStorageType) Set(val *StorageType)

func (*NullableStorageType) UnmarshalJSON

func (v *NullableStorageType) UnmarshalJSON(src []byte) error

func (*NullableStorageType) Unset

func (v *NullableStorageType) Unset()

type PatchClusterProperties

type PatchClusterProperties struct {
	// The name of your cluster. Must be 63 characters or less and must begin and end with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between.
	Name *string `json:"name,omitempty"`
	// The version of the data platform.
	DataPlatformVersion *string            `json:"dataPlatformVersion,omitempty"`
	MaintenanceWindow   *MaintenanceWindow `json:"maintenanceWindow,omitempty"`
}

PatchClusterProperties struct for PatchClusterProperties

func NewPatchClusterProperties

func NewPatchClusterProperties() *PatchClusterProperties

NewPatchClusterProperties instantiates a new PatchClusterProperties 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

func NewPatchClusterPropertiesWithDefaults

func NewPatchClusterPropertiesWithDefaults() *PatchClusterProperties

NewPatchClusterPropertiesWithDefaults instantiates a new PatchClusterProperties 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

func (*PatchClusterProperties) GetDataPlatformVersion

func (o *PatchClusterProperties) GetDataPlatformVersion() *string

GetDataPlatformVersion returns the DataPlatformVersion field value If the value is explicit nil, the zero value for string will be returned

func (*PatchClusterProperties) GetDataPlatformVersionOk

func (o *PatchClusterProperties) GetDataPlatformVersionOk() (*string, bool)

GetDataPlatformVersionOk returns a tuple with the DataPlatformVersion field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PatchClusterProperties) GetMaintenanceWindow

func (o *PatchClusterProperties) GetMaintenanceWindow() *MaintenanceWindow

GetMaintenanceWindow returns the MaintenanceWindow field value If the value is explicit nil, the zero value for MaintenanceWindow will be returned

func (*PatchClusterProperties) GetMaintenanceWindowOk

func (o *PatchClusterProperties) GetMaintenanceWindowOk() (*MaintenanceWindow, bool)

GetMaintenanceWindowOk returns a tuple with the MaintenanceWindow field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PatchClusterProperties) GetName

func (o *PatchClusterProperties) GetName() *string

GetName returns the Name field value If the value is explicit nil, the zero value for string will be returned

func (*PatchClusterProperties) GetNameOk

func (o *PatchClusterProperties) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PatchClusterProperties) HasDataPlatformVersion

func (o *PatchClusterProperties) HasDataPlatformVersion() bool

HasDataPlatformVersion returns a boolean if a field has been set.

func (*PatchClusterProperties) HasMaintenanceWindow

func (o *PatchClusterProperties) HasMaintenanceWindow() bool

HasMaintenanceWindow returns a boolean if a field has been set.

func (*PatchClusterProperties) HasName

func (o *PatchClusterProperties) HasName() bool

HasName returns a boolean if a field has been set.

func (PatchClusterProperties) MarshalJSON

func (o PatchClusterProperties) MarshalJSON() ([]byte, error)

func (*PatchClusterProperties) SetDataPlatformVersion

func (o *PatchClusterProperties) SetDataPlatformVersion(v string)

SetDataPlatformVersion sets field value

func (*PatchClusterProperties) SetMaintenanceWindow

func (o *PatchClusterProperties) SetMaintenanceWindow(v MaintenanceWindow)

SetMaintenanceWindow sets field value

func (*PatchClusterProperties) SetName

func (o *PatchClusterProperties) SetName(v string)

SetName sets field value

type PatchClusterRequest

type PatchClusterRequest struct {
	Properties *PatchClusterProperties `json:"properties"`
}

PatchClusterRequest Data to update selected properties of a DataPlatformCluster

func NewPatchClusterRequest

func NewPatchClusterRequest(properties PatchClusterProperties) *PatchClusterRequest

NewPatchClusterRequest instantiates a new PatchClusterRequest 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

func NewPatchClusterRequestWithDefaults

func NewPatchClusterRequestWithDefaults() *PatchClusterRequest

NewPatchClusterRequestWithDefaults instantiates a new PatchClusterRequest 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

func (*PatchClusterRequest) GetProperties

func (o *PatchClusterRequest) GetProperties() *PatchClusterProperties

GetProperties returns the Properties field value If the value is explicit nil, the zero value for PatchClusterProperties will be returned

func (*PatchClusterRequest) GetPropertiesOk

func (o *PatchClusterRequest) GetPropertiesOk() (*PatchClusterProperties, bool)

GetPropertiesOk returns a tuple with the Properties field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PatchClusterRequest) HasProperties

func (o *PatchClusterRequest) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (PatchClusterRequest) MarshalJSON

func (o PatchClusterRequest) MarshalJSON() ([]byte, error)

func (*PatchClusterRequest) SetProperties

func (o *PatchClusterRequest) SetProperties(v PatchClusterProperties)

SetProperties sets field value

type PatchNodePoolProperties

type PatchNodePoolProperties struct {
	// The number of nodes that make up the node pool.
	NodeCount         *int32             `json:"nodeCount,omitempty"`
	MaintenanceWindow *MaintenanceWindow `json:"maintenanceWindow,omitempty"`
	// Key-value pairs attached to the node pool resource as [Kubernetes labels](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/)
	Labels *map[string]interface{} `json:"labels,omitempty"`
	// Key-value pairs attached to node pool resource as [Kubernetes annotations](https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/)
	Annotations *map[string]interface{} `json:"annotations,omitempty"`
}

PatchNodePoolProperties struct for PatchNodePoolProperties

func NewPatchNodePoolProperties

func NewPatchNodePoolProperties() *PatchNodePoolProperties

NewPatchNodePoolProperties instantiates a new PatchNodePoolProperties 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

func NewPatchNodePoolPropertiesWithDefaults

func NewPatchNodePoolPropertiesWithDefaults() *PatchNodePoolProperties

NewPatchNodePoolPropertiesWithDefaults instantiates a new PatchNodePoolProperties 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

func (*PatchNodePoolProperties) GetAnnotations

func (o *PatchNodePoolProperties) GetAnnotations() *map[string]interface{}

GetAnnotations returns the Annotations field value If the value is explicit nil, the zero value for map[string]interface{} will be returned

func (*PatchNodePoolProperties) GetAnnotationsOk

func (o *PatchNodePoolProperties) GetAnnotationsOk() (*map[string]interface{}, bool)

GetAnnotationsOk returns a tuple with the Annotations field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PatchNodePoolProperties) GetLabels

func (o *PatchNodePoolProperties) GetLabels() *map[string]interface{}

GetLabels returns the Labels field value If the value is explicit nil, the zero value for map[string]interface{} will be returned

func (*PatchNodePoolProperties) GetLabelsOk

func (o *PatchNodePoolProperties) GetLabelsOk() (*map[string]interface{}, bool)

GetLabelsOk returns a tuple with the Labels field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PatchNodePoolProperties) GetMaintenanceWindow

func (o *PatchNodePoolProperties) GetMaintenanceWindow() *MaintenanceWindow

GetMaintenanceWindow returns the MaintenanceWindow field value If the value is explicit nil, the zero value for MaintenanceWindow will be returned

func (*PatchNodePoolProperties) GetMaintenanceWindowOk

func (o *PatchNodePoolProperties) GetMaintenanceWindowOk() (*MaintenanceWindow, bool)

GetMaintenanceWindowOk returns a tuple with the MaintenanceWindow field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PatchNodePoolProperties) GetNodeCount

func (o *PatchNodePoolProperties) GetNodeCount() *int32

GetNodeCount returns the NodeCount field value If the value is explicit nil, the zero value for int32 will be returned

func (*PatchNodePoolProperties) GetNodeCountOk

func (o *PatchNodePoolProperties) GetNodeCountOk() (*int32, bool)

GetNodeCountOk returns a tuple with the NodeCount field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PatchNodePoolProperties) HasAnnotations

func (o *PatchNodePoolProperties) HasAnnotations() bool

HasAnnotations returns a boolean if a field has been set.

func (*PatchNodePoolProperties) HasLabels

func (o *PatchNodePoolProperties) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*PatchNodePoolProperties) HasMaintenanceWindow

func (o *PatchNodePoolProperties) HasMaintenanceWindow() bool

HasMaintenanceWindow returns a boolean if a field has been set.

func (*PatchNodePoolProperties) HasNodeCount

func (o *PatchNodePoolProperties) HasNodeCount() bool

HasNodeCount returns a boolean if a field has been set.

func (PatchNodePoolProperties) MarshalJSON

func (o PatchNodePoolProperties) MarshalJSON() ([]byte, error)

func (*PatchNodePoolProperties) SetAnnotations

func (o *PatchNodePoolProperties) SetAnnotations(v map[string]interface{})

SetAnnotations sets field value

func (*PatchNodePoolProperties) SetLabels

func (o *PatchNodePoolProperties) SetLabels(v map[string]interface{})

SetLabels sets field value

func (*PatchNodePoolProperties) SetMaintenanceWindow

func (o *PatchNodePoolProperties) SetMaintenanceWindow(v MaintenanceWindow)

SetMaintenanceWindow sets field value

func (*PatchNodePoolProperties) SetNodeCount

func (o *PatchNodePoolProperties) SetNodeCount(v int32)

SetNodeCount sets field value

type PatchNodePoolRequest

type PatchNodePoolRequest struct {
	Properties *PatchNodePoolProperties `json:"properties"`
}

PatchNodePoolRequest Data to update selected properties of a node pool for a DataPlatformNodePool.

func NewPatchNodePoolRequest

func NewPatchNodePoolRequest(properties PatchNodePoolProperties) *PatchNodePoolRequest

NewPatchNodePoolRequest instantiates a new PatchNodePoolRequest 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

func NewPatchNodePoolRequestWithDefaults

func NewPatchNodePoolRequestWithDefaults() *PatchNodePoolRequest

NewPatchNodePoolRequestWithDefaults instantiates a new PatchNodePoolRequest 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

func (*PatchNodePoolRequest) GetProperties

func (o *PatchNodePoolRequest) GetProperties() *PatchNodePoolProperties

GetProperties returns the Properties field value If the value is explicit nil, the zero value for PatchNodePoolProperties will be returned

func (*PatchNodePoolRequest) GetPropertiesOk

func (o *PatchNodePoolRequest) GetPropertiesOk() (*PatchNodePoolProperties, bool)

GetPropertiesOk returns a tuple with the Properties field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PatchNodePoolRequest) HasProperties

func (o *PatchNodePoolRequest) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (PatchNodePoolRequest) MarshalJSON

func (o PatchNodePoolRequest) MarshalJSON() ([]byte, error)

func (*PatchNodePoolRequest) SetProperties

func (o *PatchNodePoolRequest) SetProperties(v PatchNodePoolProperties)

SetProperties sets field value

type StorageType

type StorageType string

StorageType The type of hardware for the volume.

const (
	STORAGETYPE_HDD StorageType = "HDD"
	STORAGETYPE_SSD StorageType = "SSD"
)

List of StorageType

func (StorageType) Ptr

func (v StorageType) Ptr() *StorageType

Ptr returns reference to StorageType value

func (*StorageType) UnmarshalJSON

func (v *StorageType) UnmarshalJSON(src []byte) error

type TLSDial

type TLSDial func(ctx context.Context, network, addr string) (net.Conn, error)

TLSDial can be assigned to a http.Transport's DialTLS field.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL