arrow-left

Only this pageAll pages
triangle-exclamation
Couldn't generate the PDF for 233 pages, generation stopped at 100.
Extend with 50 more pages.
1 of 100

Cloud API Go SDK

Loading...

Loading...

API

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Models

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Introduction

ApplicationLoadBalancerEntities

hashtag
Properties

Name
Type
Description
Notes

Forwardingrules

Pointer to

hashtag
Methods

hashtag
NewApplicationLoadBalancerEntities

func NewApplicationLoadBalancerEntities() *ApplicationLoadBalancerEntities

NewApplicationLoadBalancerEntities instantiates a new ApplicationLoadBalancerEntities 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

hashtag
NewApplicationLoadBalancerEntitiesWithDefaults

func NewApplicationLoadBalancerEntitiesWithDefaults() *ApplicationLoadBalancerEntities

NewApplicationLoadBalancerEntitiesWithDefaults instantiates a new ApplicationLoadBalancerEntities 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

hashtag
GetForwardingrules

func (o *ApplicationLoadBalancerEntities) GetForwardingrules() ApplicationLoadBalancerForwardingRules

GetForwardingrules returns the Forwardingrules field if non-nil, zero value otherwise.

hashtag
GetForwardingrulesOk

func (o *ApplicationLoadBalancerEntities) GetForwardingrulesOk() (*ApplicationLoadBalancerForwardingRules, bool)

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

hashtag
SetForwardingrules

func (o *ApplicationLoadBalancerEntities) SetForwardingrules(v ApplicationLoadBalancerForwardingRules)

SetForwardingrules sets Forwardingrules field to given value.

hashtag
HasForwardingrules

func (o *ApplicationLoadBalancerEntities) HasForwardingrules() bool

HasForwardingrules returns a boolean if a field has been set.

DefaultApi

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

Method
HTTP request
Description

[optional]

ApplicationLoadBalancerForwardingRules
hashtag
ApiInfoGet

Get API information

hashtag
Example

hashtag
Path Parameters

hashtag
Other Parameters

Other parameters are passed through a pointer to a apiApiInfoGetRequest struct via the builder pattern

Name
Type
Description
Notes

pretty

bool

Controls whether the response is pretty-printed (with indentations and new lines).

[default to true]

depth

int32

Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

[default to 0]

xContractNumber

int32

Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

hashtag
Return type

Info

hashtag
HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

ApiInfoGet

Get /

Get API information

Changelog

hashtag
6.2.0 (August, 2024)

hashtag
Changes

  • renamed LanPost and LanPropertiesPost to Lan and LanProperties

hashtag
Features:

  • Add ImagesLabelsDelete, ImagesLabelsFindByKey, ImagesLabelsGet, ImagesLabelsPost, ImagesLabelsPut

  • New parameters on NetworkLoadBalancerProperties: CentralLogging

hashtag
6.1.10 (December, 2023)

hashtag
Features:

  • Add proxyProtocol parameter for ALB and NLB targets

hashtag
Fixes:

  • Allow setting Host and Scheme when creating a client with a serverUrl (@maxbischoff)

hashtag
Enhancements

  • Remove usage of deprecated ioutil package (@avorima)

hashtag
Documentation

  • Move docs for Url with context to api_doc.mustache

hashtag
6.1.9 (September, 2023)

hashtag
Features:

  • Support injecting x-contract-number header through environment variable.

hashtag
6.1.8 (July, 2023)

hashtag
Features:

Added support for IPv6:

  • New parameter on DatacenterProperties: Ipv6CidrBlock

  • New parameter on LanProperties and LanPropertiesPost: Ipv6CidrBlock

More details about IPv6 configuration can be found .

hashtag
Fixes:

  • Go client backoff now respects context cancellation

Full Changelog: https://github.com/ionos-cloud/sdk-go/compare/v6.1.7...v6.1.8

hashtag
6.1.7 (June, 2023)

hashtag
Features:

  • New licenceType supported: RHEL

hashtag
6.1.5 (March, 2023)

hashtag
Features:

  • Added generic functions for utility package

hashtag
Fixes:

  • Removed swagger

hashtag
Updated:

  • Library dependencies

hashtag
6.1.4 (January 26th, 2022)

hashtag
Features:

  • Added placementGroupId and vnet parameters.

hashtag
Fixes:

  • Allow multiple values to be set for the same filter key

hashtag
6.1.3 (August 30th, 2022)

hashtag
Fixes:

  • Fix return type of NewGenericOpenAPIError

hashtag
6.1.2 (August 4th, 2022)

hashtag
Fixes :

  • Changed from manageDbaas to manageDBaaS field in model_group_properties.go : provides privilege for a group to manage DBaaS related functionality. Admin users already have it enabled by default.

  • Issue #26

hashtag
6.1.1 (July 14th, 2022)

hashtag
Features :

  • Added manageDbaas field in model_group_properties.go : provides privilege for a group to manage DBaaS related functionality. Admin users already here this enabled by default.

  • Added deleteVolumes to DatacentersServersDelete function: If true, all attached storage volumes will also be deleted.

hashtag
6.1.0 (June 16th, 2022)

hashtag
Enhancements:

  • added Application Load Balancer and Target Group, 18 new models and 2 new apis

hashtag
v6.0.1 (January, 2022)

hashtag
Enhancements:

  • new parameter on KubernetesClusterProperties, KubernetesClusterPropertiesForPost: public

  • new parameter on KubernetesNodePoolProperties, KubernetesNodePoolPropertiesForPost: gatewayIp

  • allow fields that are explicitly nullable to be sent with null values

hashtag
v6.0.0 (December, 2021)

hashtag
Enhancements:

  • changed structure ApiK8sNodepoolsPostRequest, changed name of kubernetesNodePool field from KubernetesNodePool to KubernetesNodePoolForPost

  • changed structure ApiK8sNodepoolsPutRequest, changed type of KubernetesNodePoolForPut

hashtag
Fixes:

  • fixed sporadic EOF error seen from server

  • fixed overwriting https with http for host endpoint that starts with http. It now allows user to enter a url that starts with http

hashtag
v6.0.0-beta.9 (November, 2021)

hashtag
Enhancements:

  • added support for maxResults query parameter on GET requests

hashtag
Features:

  • renamed Apis services: LansApi to LANsApi

  • renamed BackupUnitProperties to BackupUnit on BackupunitsPatch method

hashtag
Documentation:

  • updated descriptions

hashtag
v6.0.0-beta.8 (October, 2021)

hashtag
Enhancements:

  • improved code in sync with Sonar Cloud requirements:

    • added global constant FilterQueryParam

    • renamed global constant FORMAT_STRING

hashtag
v6.0.0-beta.7 (October, 2021)

hashtag
Enhancements:

  • added support for filter query parameters on GET requests: Filter()

  • added support for overwriting the host-url value via IONOS_API_URL environment variable

  • added

hashtag
v6.0.0-beta.6 (September, 2021)

hashtag
Features:

  • added Offset, Limit and Links to IpBlocks

  • removed Public parameter from KubernetesClusterProperties

  • removed GatewayIp parameter from KubernetesNodePoolProperties

hashtag
v6.0.0-beta.5 (September, 2021)

hashtag
Features:

  • added imageAlias to VolumeProperties

  • added Offset, Limit and Links to User

  • removed gatewayIp parameter from KubernetesClusterProperties

ContractResourcesApi

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

Method
HTTP request
Description

ApplicationLoadBalancerForwardingRulePut

hashtag
Properties

Name
Type
Description
Notes

BackupUnitSSO

hashtag
Properties

Name
Type
Description
Notes

CreateSnapshot

hashtag
Properties

Name
Type
Description
Notes
var result Info = ApiInfoGet(ctx)
                      .Pretty(pretty)
                      .Depth(depth)
                      .XContractNumber(xContractNumber)
                      .Execute()
package main

import (
    "context"
    "fmt"
    "os"

    ionoscloud "github.com/ionos-cloud/sdk-go/v6"
)

func main() {
    pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
    depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
    xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)

    configuration := ionoscloud.NewConfiguration()
    apiClient := ionoscloud.NewAPIClient(configuration)
    resource, resp, err := apiClient.DefaultApi.ApiInfoGet(context.Background()).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
    if err != nil {
        fmt.Fprintf(os.Stderr, "Error when calling `DefaultApi.ApiInfoGet``: %v\n", err)
        fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
    }
    // response from `ApiInfoGet`: Info
    fmt.Fprintf(os.Stdout, "Response from `DefaultApi.ApiInfoGet`: %v\n", resp)
}

,
LoggingFormat
  • New parameters on ApplicationBalancerProperties: CentralLogging, LoggingFormat

  • New parameter on TargetGroupProperties: ProtocolVersion

  • New parameter on ServerProperties: Hostname

  • New parameters on NicProperties: Dhcpv6, Ipv6CidrBlock and Ipv6Ips

    Added bootOrder to model_volume_properties : Determines whether the volume will be used as a boot volume. Set to `NONE`, the volume will not be used as boot volume. Set to `PRIMARY`, the volume will be used as boot volume and all other volumes must be set to `NONE`. Set to `AUTO` or `null` requires all volumes to be set to `AUTO` or `null`; this will use the legacy behavior, which is to use the volume as a boot volume only if there are no other volumes or cdrom devices. | [optional] [default to 'AUTO'] |

  • Logger interface with log levels for the sdk. Allows user to inject it's own logger that implements Printf. More information herearrow-up-right

  • Added helper function HttpNotFound in response.go

  • updated oauth import

  • depth parameter:

    • new method SetDepth on configuration that allows setting a value for the depth parameter on all the API calls for the client

    • changed the default value of depth parameter from 10 to 0

    • this affects the amount of data that is returned on GET methods. If there is a need to change the value, please do it with caution and only if it is needed.

  • field from
    kubernetesNodePoolForPut
    to
    kubernetesNodePool
    added Password field to UserPropertiesPut to allow user password update
    to
    FormatStringErr
    gofmt
    check's results

    added GatewayIp parameter from KubernetesNodePoolProperties

    herearrow-up-right

    [optional] [readonly]

    hashtag
    Methods

    hashtag
    NewBackupUnitSSO

    func NewBackupUnitSSO() *BackupUnitSSO

    NewBackupUnitSSO instantiates a new BackupUnitSSO 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

    hashtag
    NewBackupUnitSSOWithDefaults

    func NewBackupUnitSSOWithDefaults() *BackupUnitSSO

    NewBackupUnitSSOWithDefaults instantiates a new BackupUnitSSO 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

    hashtag
    GetSsoUrl

    func (o *BackupUnitSSO) GetSsoUrl() string

    GetSsoUrl returns the SsoUrl field if non-nil, zero value otherwise.

    hashtag
    GetSsoUrlOk

    func (o *BackupUnitSSO) GetSsoUrlOk() (*string, bool)

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

    hashtag
    SetSsoUrl

    func (o *BackupUnitSSO) SetSsoUrl(v string)

    SetSsoUrl sets SsoUrl field to given value.

    hashtag
    HasSsoUrl

    func (o *BackupUnitSSO) HasSsoUrl() bool

    HasSsoUrl returns a boolean if a field has been set.

    SsoUrl

    Pointer to string

    The backup unit single sign on url

    [optional]

    hashtag
    Methods

    hashtag
    NewCreateSnapshot

    func NewCreateSnapshot() *CreateSnapshot

    NewCreateSnapshot instantiates a new CreateSnapshot 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

    hashtag
    NewCreateSnapshotWithDefaults

    func NewCreateSnapshotWithDefaults() *CreateSnapshot

    NewCreateSnapshotWithDefaults instantiates a new CreateSnapshot 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

    hashtag
    GetProperties

    func (o *CreateSnapshot) GetProperties() CreateSnapshotProperties

    GetProperties returns the Properties field if non-nil, zero value otherwise.

    hashtag
    GetPropertiesOk

    func (o *CreateSnapshot) GetPropertiesOk() (*CreateSnapshotProperties, bool)

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

    hashtag
    SetProperties

    func (o *CreateSnapshot) SetProperties(v CreateSnapshotProperties)

    SetProperties sets Properties field to given value.

    hashtag
    HasProperties

    func (o *CreateSnapshot) HasProperties() bool

    HasProperties returns a boolean if a field has been set.

    Properties

    Pointer to CreateSnapshotProperties

    hashtag
    ContractsGet

    Get Contract Information

    hashtag
    Example

    hashtag
    Path Parameters

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiContractsGetRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    hashtag
    Return type

    Contracts

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    ContractsGet

    Get /contracts

    Get Contract Information

    [optional] [readonly]

    Type

    Pointer to

    The type of object that has been created.

    [optional]

    Href

    Pointer to string

    The URL to the object representation (absolute path).

    [optional] [readonly]

    Properties

    hashtag
    Methods

    hashtag
    NewApplicationLoadBalancerForwardingRulePut

    func NewApplicationLoadBalancerForwardingRulePut(properties ApplicationLoadBalancerForwardingRuleProperties, ) *ApplicationLoadBalancerForwardingRulePut

    NewApplicationLoadBalancerForwardingRulePut instantiates a new ApplicationLoadBalancerForwardingRulePut 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

    hashtag
    NewApplicationLoadBalancerForwardingRulePutWithDefaults

    func NewApplicationLoadBalancerForwardingRulePutWithDefaults() *ApplicationLoadBalancerForwardingRulePut

    NewApplicationLoadBalancerForwardingRulePutWithDefaults instantiates a new ApplicationLoadBalancerForwardingRulePut 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

    hashtag
    GetId

    func (o *ApplicationLoadBalancerForwardingRulePut) GetId() string

    GetId returns the Id field if non-nil, zero value otherwise.

    hashtag
    GetIdOk

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

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

    hashtag
    SetId

    func (o *ApplicationLoadBalancerForwardingRulePut) SetId(v string)

    SetId sets Id field to given value.

    hashtag
    HasId

    func (o *ApplicationLoadBalancerForwardingRulePut) HasId() bool

    HasId returns a boolean if a field has been set.

    hashtag
    GetType

    func (o *ApplicationLoadBalancerForwardingRulePut) GetType() Type

    GetType returns the Type field if non-nil, zero value otherwise.

    hashtag
    GetTypeOk

    func (o *ApplicationLoadBalancerForwardingRulePut) GetTypeOk() (*Type, bool)

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

    hashtag
    SetType

    func (o *ApplicationLoadBalancerForwardingRulePut) SetType(v Type)

    SetType sets Type field to given value.

    hashtag
    HasType

    func (o *ApplicationLoadBalancerForwardingRulePut) HasType() bool

    HasType returns a boolean if a field has been set.

    hashtag
    GetHref

    func (o *ApplicationLoadBalancerForwardingRulePut) GetHref() string

    GetHref returns the Href field if non-nil, zero value otherwise.

    hashtag
    GetHrefOk

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

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

    hashtag
    SetHref

    func (o *ApplicationLoadBalancerForwardingRulePut) SetHref(v string)

    SetHref sets Href field to given value.

    hashtag
    HasHref

    func (o *ApplicationLoadBalancerForwardingRulePut) HasHref() bool

    HasHref returns a boolean if a field has been set.

    hashtag
    GetProperties

    func (o *ApplicationLoadBalancerForwardingRulePut) GetProperties() ApplicationLoadBalancerForwardingRuleProperties

    GetProperties returns the Properties field if non-nil, zero value otherwise.

    hashtag
    GetPropertiesOk

    func (o *ApplicationLoadBalancerForwardingRulePut) GetPropertiesOk() (*ApplicationLoadBalancerForwardingRuleProperties, bool)

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

    hashtag
    SetProperties

    func (o *ApplicationLoadBalancerForwardingRulePut) SetProperties(v ApplicationLoadBalancerForwardingRuleProperties)

    SetProperties sets Properties field to given value.

    Id

    Pointer to string

    The resource's unique identifier.

    ApplicationLoadBalancerHttpRuleCondition

    hashtag
    Properties

    Name
    Type
    Description
    Notes

    Type

    string

    hashtag
    Methods

    hashtag
    NewApplicationLoadBalancerHttpRuleCondition

    func NewApplicationLoadBalancerHttpRuleCondition(type_ string, condition string, ) *ApplicationLoadBalancerHttpRuleCondition

    NewApplicationLoadBalancerHttpRuleCondition instantiates a new ApplicationLoadBalancerHttpRuleCondition 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

    hashtag
    NewApplicationLoadBalancerHttpRuleConditionWithDefaults

    func NewApplicationLoadBalancerHttpRuleConditionWithDefaults() *ApplicationLoadBalancerHttpRuleCondition

    NewApplicationLoadBalancerHttpRuleConditionWithDefaults instantiates a new ApplicationLoadBalancerHttpRuleCondition 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

    hashtag
    GetType

    func (o *ApplicationLoadBalancerHttpRuleCondition) GetType() string

    GetType returns the Type field if non-nil, zero value otherwise.

    hashtag
    GetTypeOk

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

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

    hashtag
    SetType

    func (o *ApplicationLoadBalancerHttpRuleCondition) SetType(v string)

    SetType sets Type field to given value.

    hashtag
    GetCondition

    func (o *ApplicationLoadBalancerHttpRuleCondition) GetCondition() string

    GetCondition returns the Condition field if non-nil, zero value otherwise.

    hashtag
    GetConditionOk

    func (o *ApplicationLoadBalancerHttpRuleCondition) GetConditionOk() (*string, bool)

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

    hashtag
    SetCondition

    func (o *ApplicationLoadBalancerHttpRuleCondition) SetCondition(v string)

    SetCondition sets Condition field to given value.

    hashtag
    GetNegate

    func (o *ApplicationLoadBalancerHttpRuleCondition) GetNegate() bool

    GetNegate returns the Negate field if non-nil, zero value otherwise.

    hashtag
    GetNegateOk

    func (o *ApplicationLoadBalancerHttpRuleCondition) GetNegateOk() (*bool, bool)

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

    hashtag
    SetNegate

    func (o *ApplicationLoadBalancerHttpRuleCondition) SetNegate(v bool)

    SetNegate sets Negate field to given value.

    hashtag
    HasNegate

    func (o *ApplicationLoadBalancerHttpRuleCondition) HasNegate() bool

    HasNegate returns a boolean if a field has been set.

    hashtag
    GetKey

    func (o *ApplicationLoadBalancerHttpRuleCondition) GetKey() string

    GetKey returns the Key field if non-nil, zero value otherwise.

    hashtag
    GetKeyOk

    func (o *ApplicationLoadBalancerHttpRuleCondition) GetKeyOk() (*string, bool)

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

    hashtag
    SetKey

    func (o *ApplicationLoadBalancerHttpRuleCondition) SetKey(v string)

    SetKey sets Key field to given value.

    hashtag
    HasKey

    func (o *ApplicationLoadBalancerHttpRuleCondition) HasKey() bool

    HasKey returns a boolean if a field has been set.

    hashtag
    GetValue

    func (o *ApplicationLoadBalancerHttpRuleCondition) GetValue() string

    GetValue returns the Value field if non-nil, zero value otherwise.

    hashtag
    GetValueOk

    func (o *ApplicationLoadBalancerHttpRuleCondition) GetValueOk() (*string, bool)

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

    hashtag
    SetValue

    func (o *ApplicationLoadBalancerHttpRuleCondition) SetValue(v string)

    SetValue sets Value field to given value.

    hashtag
    HasValue

    func (o *ApplicationLoadBalancerHttpRuleCondition) HasValue() bool

    HasValue returns a boolean if a field has been set.

    ApplicationLoadBalancerForwardingRule

    hashtag
    Properties

    Name
    Type
    Description
    Notes

    Id

    Pointer to string

    hashtag
    Methods

    hashtag
    NewApplicationLoadBalancerForwardingRule

    func NewApplicationLoadBalancerForwardingRule(properties ApplicationLoadBalancerForwardingRuleProperties, ) *ApplicationLoadBalancerForwardingRule

    NewApplicationLoadBalancerForwardingRule instantiates a new ApplicationLoadBalancerForwardingRule 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

    hashtag
    NewApplicationLoadBalancerForwardingRuleWithDefaults

    func NewApplicationLoadBalancerForwardingRuleWithDefaults() *ApplicationLoadBalancerForwardingRule

    NewApplicationLoadBalancerForwardingRuleWithDefaults instantiates a new ApplicationLoadBalancerForwardingRule 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

    hashtag
    GetId

    func (o *ApplicationLoadBalancerForwardingRule) GetId() string

    GetId returns the Id field if non-nil, zero value otherwise.

    hashtag
    GetIdOk

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

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

    hashtag
    SetId

    func (o *ApplicationLoadBalancerForwardingRule) SetId(v string)

    SetId sets Id field to given value.

    hashtag
    HasId

    func (o *ApplicationLoadBalancerForwardingRule) HasId() bool

    HasId returns a boolean if a field has been set.

    hashtag
    GetType

    func (o *ApplicationLoadBalancerForwardingRule) GetType() Type

    GetType returns the Type field if non-nil, zero value otherwise.

    hashtag
    GetTypeOk

    func (o *ApplicationLoadBalancerForwardingRule) GetTypeOk() (*Type, bool)

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

    hashtag
    SetType

    func (o *ApplicationLoadBalancerForwardingRule) SetType(v Type)

    SetType sets Type field to given value.

    hashtag
    HasType

    func (o *ApplicationLoadBalancerForwardingRule) HasType() bool

    HasType returns a boolean if a field has been set.

    hashtag
    GetHref

    func (o *ApplicationLoadBalancerForwardingRule) GetHref() string

    GetHref returns the Href field if non-nil, zero value otherwise.

    hashtag
    GetHrefOk

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

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

    hashtag
    SetHref

    func (o *ApplicationLoadBalancerForwardingRule) SetHref(v string)

    SetHref sets Href field to given value.

    hashtag
    HasHref

    func (o *ApplicationLoadBalancerForwardingRule) HasHref() bool

    HasHref returns a boolean if a field has been set.

    hashtag
    GetMetadata

    func (o *ApplicationLoadBalancerForwardingRule) GetMetadata() DatacenterElementMetadata

    GetMetadata returns the Metadata field if non-nil, zero value otherwise.

    hashtag
    GetMetadataOk

    func (o *ApplicationLoadBalancerForwardingRule) GetMetadataOk() (*DatacenterElementMetadata, bool)

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

    hashtag
    SetMetadata

    func (o *ApplicationLoadBalancerForwardingRule) SetMetadata(v DatacenterElementMetadata)

    SetMetadata sets Metadata field to given value.

    hashtag
    HasMetadata

    func (o *ApplicationLoadBalancerForwardingRule) HasMetadata() bool

    HasMetadata returns a boolean if a field has been set.

    hashtag
    GetProperties

    func (o *ApplicationLoadBalancerForwardingRule) GetProperties() ApplicationLoadBalancerForwardingRuleProperties

    GetProperties returns the Properties field if non-nil, zero value otherwise.

    hashtag
    GetPropertiesOk

    func (o *ApplicationLoadBalancerForwardingRule) GetPropertiesOk() (*ApplicationLoadBalancerForwardingRuleProperties, bool)

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

    hashtag
    SetProperties

    func (o *ApplicationLoadBalancerForwardingRule) SetProperties(v ApplicationLoadBalancerForwardingRuleProperties)

    SetProperties sets Properties field to given value.

    Contract

    hashtag
    Properties

    Name
    Type
    Description
    Notes

    Type

    Pointer to

    hashtag
    Methods

    hashtag
    NewContract

    func NewContract(properties ContractProperties, ) *Contract

    NewContract instantiates a new Contract 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

    hashtag
    NewContractWithDefaults

    func NewContractWithDefaults() *Contract

    NewContractWithDefaults instantiates a new Contract 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

    hashtag
    GetType

    func (o *Contract) GetType() Type

    GetType returns the Type field if non-nil, zero value otherwise.

    hashtag
    GetTypeOk

    func (o *Contract) GetTypeOk() (*Type, bool)

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

    hashtag
    SetType

    func (o *Contract) SetType(v Type)

    SetType sets Type field to given value.

    hashtag
    HasType

    func (o *Contract) HasType() bool

    HasType returns a boolean if a field has been set.

    hashtag
    GetProperties

    func (o *Contract) GetProperties() ContractProperties

    GetProperties returns the Properties field if non-nil, zero value otherwise.

    hashtag
    GetPropertiesOk

    func (o *Contract) GetPropertiesOk() (*ContractProperties, bool)

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

    hashtag
    SetProperties

    func (o *Contract) SetProperties(v ContractProperties)

    SetProperties sets Properties field to given value.

    DatacenterPut

    hashtag
    Properties

    Name
    Type
    Description
    Notes

    Properties

    hashtag
    Methods

    hashtag
    NewDatacenterPut

    func NewDatacenterPut(properties DatacenterPropertiesPut, ) *DatacenterPut

    NewDatacenterPut instantiates a new DatacenterPut 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

    hashtag
    NewDatacenterPutWithDefaults

    func NewDatacenterPutWithDefaults() *DatacenterPut

    NewDatacenterPutWithDefaults instantiates a new DatacenterPut 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

    hashtag
    GetProperties

    func (o *DatacenterPut) GetProperties() DatacenterPropertiesPut

    GetProperties returns the Properties field if non-nil, zero value otherwise.

    hashtag
    GetPropertiesOk

    func (o *DatacenterPut) GetPropertiesOk() (*DatacenterPropertiesPut, bool)

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

    hashtag
    SetProperties

    func (o *DatacenterPut) SetProperties(v DatacenterPropertiesPut)

    SetProperties sets Properties field to given value.

    hashtag
    GetEntities

    func (o *DatacenterPut) GetEntities() DataCenterEntities

    GetEntities returns the Entities field if non-nil, zero value otherwise.

    hashtag
    GetEntitiesOk

    func (o *DatacenterPut) GetEntitiesOk() (*DataCenterEntities, bool)

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

    hashtag
    SetEntities

    func (o *DatacenterPut) SetEntities(v DataCenterEntities)

    SetEntities sets Entities field to given value.

    hashtag
    HasEntities

    func (o *DatacenterPut) HasEntities() bool

    HasEntities returns a boolean if a field has been set.

    ErrorMessage

    hashtag
    Properties

    Name
    Type
    Description
    Notes

    ErrorCode

    Pointer to string

    hashtag
    Methods

    hashtag
    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

    hashtag
    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

    hashtag
    GetErrorCode

    func (o *ErrorMessage) GetErrorCode() string

    GetErrorCode returns the ErrorCode field if non-nil, zero value otherwise.

    hashtag
    GetErrorCodeOk

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

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

    hashtag
    SetErrorCode

    func (o *ErrorMessage) SetErrorCode(v string)

    SetErrorCode sets ErrorCode field to given value.

    hashtag
    HasErrorCode

    func (o *ErrorMessage) HasErrorCode() bool

    HasErrorCode returns a boolean if a field has been set.

    hashtag
    GetMessage

    func (o *ErrorMessage) GetMessage() string

    GetMessage returns the Message field if non-nil, zero value otherwise.

    hashtag
    GetMessageOk

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

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

    hashtag
    SetMessage

    func (o *ErrorMessage) SetMessage(v string)

    SetMessage sets Message field to given value.

    hashtag
    HasMessage

    func (o *ErrorMessage) HasMessage() bool

    HasMessage returns a boolean if a field has been set.

    DatacenterPost

    hashtag
    Properties

    Name
    Type
    Description
    Notes

    Properties

    hashtag
    Methods

    hashtag
    NewDatacenterPost

    func NewDatacenterPost(properties DatacenterPropertiesPost, ) *DatacenterPost

    NewDatacenterPost instantiates a new DatacenterPost 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

    hashtag
    NewDatacenterPostWithDefaults

    func NewDatacenterPostWithDefaults() *DatacenterPost

    NewDatacenterPostWithDefaults instantiates a new DatacenterPost 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

    hashtag
    GetProperties

    func (o *DatacenterPost) GetProperties() DatacenterPropertiesPost

    GetProperties returns the Properties field if non-nil, zero value otherwise.

    hashtag
    GetPropertiesOk

    func (o *DatacenterPost) GetPropertiesOk() (*DatacenterPropertiesPost, bool)

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

    hashtag
    SetProperties

    func (o *DatacenterPost) SetProperties(v DatacenterPropertiesPost)

    SetProperties sets Properties field to given value.

    hashtag
    GetEntities

    func (o *DatacenterPost) GetEntities() DataCenterEntities

    GetEntities returns the Entities field if non-nil, zero value otherwise.

    hashtag
    GetEntitiesOk

    func (o *DatacenterPost) GetEntitiesOk() (*DataCenterEntities, bool)

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

    hashtag
    SetEntities

    func (o *DatacenterPost) SetEntities(v DataCenterEntities)

    SetEntities sets Entities field to given value.

    hashtag
    HasEntities

    func (o *DatacenterPost) HasEntities() bool

    HasEntities returns a boolean if a field has been set.

    ApplicationLoadBalancer

    hashtag
    Properties

    Name
    Type
    Description
    Notes

    BackupUnitProperties

    hashtag
    Properties

    Name
    Type
    Description
    Notes

    ConnectableDatacenter

    hashtag
    Properties

    Name
    Type
    Description
    Notes

    CreateSnapshotProperties

    hashtag
    Properties

    Name
    Type
    Description
    Notes

    GroupShareProperties

    hashtag
    Properties

    Name
    Type
    Description
    Notes
    var result Contracts = ContractsGet(ctx)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.ContractResourcesApi.ContractsGet(context.Background()).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `ContractResourcesApi.ContractsGet``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `ContractsGet`: Contracts
        fmt.Fprintf(os.Stdout, "Response from `ContractResourcesApi.ContractsGet`: %v\n", resp)
    }

    The HTTP rule condition type.

    Condition

    string

    The matching rule for the HTTP rule condition attribute; this parameter is mandatory for 'HEADER', 'PATH', 'QUERY', 'METHOD', 'HOST', and 'COOKIE' types. It must be 'null' if the type is 'SOURCE_IP'.

    Negate

    Pointer to bool

    Specifies whether the condition should be negated; the default value is 'FALSE'.

    [optional]

    Key

    Pointer to string

    The key can only be set when the HTTP rule condition type is 'COOKIES', 'HEADER', or 'QUERY'. For the type 'PATH', 'METHOD', 'HOST', or 'SOURCE_IP' the value must be 'null'.

    [optional]

    Value

    Pointer to string

    This parameter is mandatory for the conditions 'CONTAINS', 'EQUALS', 'MATCHES', 'STARTS_WITH', 'ENDS_WITH', or if the type is 'SOURCE_IP'. Specify a valid CIDR. If the condition is 'EXISTS', the value must be 'null'.

    [optional]

    The resource's unique identifier.

    [optional] [readonly]

    Type

    Pointer to Type

    The type of object that has been created.

    [optional]

    Href

    Pointer to string

    The URL to the object representation (absolute path).

    [optional] [readonly]

    Metadata

    Pointer to DatacenterElementMetadata

    [optional]

    Properties

    ApplicationLoadBalancerForwardingRuleProperties

    Application internal error code.

    [optional] [readonly]

    Message

    Pointer to string

    A human-readable message.

    [optional] [readonly]

    Type
    ApplicationLoadBalancerForwardingRuleProperties

    The type of the resource.

    [optional]

    Properties

    ContractProperties

    Type

    Entities

    Pointer to DataCenterEntities

    [optional]

    DatacenterPropertiesPut

    Entities

    Pointer to DataCenterEntities

    [optional]

    DatacenterPropertiesPost

    Password

    Pointer to string

    The password associated with that resource.

    [optional]

    Email

    Pointer to string

    The email associated with the backup unit. Bear in mind that this email does not be the same email as of the user.

    [optional]

    hashtag
    Methods

    hashtag
    NewBackupUnitProperties

    func NewBackupUnitProperties(name string, ) *BackupUnitProperties

    NewBackupUnitProperties instantiates a new BackupUnitProperties 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

    hashtag
    NewBackupUnitPropertiesWithDefaults

    func NewBackupUnitPropertiesWithDefaults() *BackupUnitProperties

    NewBackupUnitPropertiesWithDefaults instantiates a new BackupUnitProperties 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

    hashtag
    GetName

    func (o *BackupUnitProperties) GetName() string

    GetName returns the Name field if non-nil, zero value otherwise.

    hashtag
    GetNameOk

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

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

    hashtag
    SetName

    func (o *BackupUnitProperties) SetName(v string)

    SetName sets Name field to given value.

    hashtag
    GetPassword

    func (o *BackupUnitProperties) GetPassword() string

    GetPassword returns the Password field if non-nil, zero value otherwise.

    hashtag
    GetPasswordOk

    func (o *BackupUnitProperties) GetPasswordOk() (*string, bool)

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

    hashtag
    SetPassword

    func (o *BackupUnitProperties) SetPassword(v string)

    SetPassword sets Password field to given value.

    hashtag
    HasPassword

    func (o *BackupUnitProperties) HasPassword() bool

    HasPassword returns a boolean if a field has been set.

    hashtag
    GetEmail

    func (o *BackupUnitProperties) GetEmail() string

    GetEmail returns the Email field if non-nil, zero value otherwise.

    hashtag
    GetEmailOk

    func (o *BackupUnitProperties) GetEmailOk() (*string, bool)

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

    hashtag
    SetEmail

    func (o *BackupUnitProperties) SetEmail(v string)

    SetEmail sets Email field to given value.

    hashtag
    HasEmail

    func (o *BackupUnitProperties) HasEmail() bool

    HasEmail returns a boolean if a field has been set.

    Name

    string

    The name of the resource (alphanumeric characters only).

    [optional]

    Name

    Pointer to string

    Name of the virtual data center that can be connected to the Cross Connect.

    [optional]

    Location

    Pointer to string

    Location of the virtual data center that can be connected to the Cross Connect.

    [optional]

    hashtag
    Methods

    hashtag
    NewConnectableDatacenter

    func NewConnectableDatacenter() *ConnectableDatacenter

    NewConnectableDatacenter instantiates a new ConnectableDatacenter 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

    hashtag
    NewConnectableDatacenterWithDefaults

    func NewConnectableDatacenterWithDefaults() *ConnectableDatacenter

    NewConnectableDatacenterWithDefaults instantiates a new ConnectableDatacenter 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

    hashtag
    GetId

    func (o *ConnectableDatacenter) GetId() string

    GetId returns the Id field if non-nil, zero value otherwise.

    hashtag
    GetIdOk

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

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

    hashtag
    SetId

    func (o *ConnectableDatacenter) SetId(v string)

    SetId sets Id field to given value.

    hashtag
    HasId

    func (o *ConnectableDatacenter) HasId() bool

    HasId returns a boolean if a field has been set.

    hashtag
    GetName

    func (o *ConnectableDatacenter) GetName() string

    GetName returns the Name field if non-nil, zero value otherwise.

    hashtag
    GetNameOk

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

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

    hashtag
    SetName

    func (o *ConnectableDatacenter) SetName(v string)

    SetName sets Name field to given value.

    hashtag
    HasName

    func (o *ConnectableDatacenter) HasName() bool

    HasName returns a boolean if a field has been set.

    hashtag
    GetLocation

    func (o *ConnectableDatacenter) GetLocation() string

    GetLocation returns the Location field if non-nil, zero value otherwise.

    hashtag
    GetLocationOk

    func (o *ConnectableDatacenter) GetLocationOk() (*string, bool)

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

    hashtag
    SetLocation

    func (o *ConnectableDatacenter) SetLocation(v string)

    SetLocation sets Location field to given value.

    hashtag
    HasLocation

    func (o *ConnectableDatacenter) HasLocation() bool

    HasLocation returns a boolean if a field has been set.

    Id

    Pointer to string

    Identifier of the virtual data center that can be connected to the Cross Connect.

    [optional]

    Description

    Pointer to string

    The description of the snapshot

    [optional]

    SecAuthProtection

    Pointer to bool

    Flag representing if extra protection is enabled on snapshot e.g. Two Factor protection etc.

    [optional]

    LicenceType

    Pointer to string

    OS type of this Snapshot

    [optional]

    hashtag
    Methods

    hashtag
    NewCreateSnapshotProperties

    func NewCreateSnapshotProperties() *CreateSnapshotProperties

    NewCreateSnapshotProperties instantiates a new CreateSnapshotProperties 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

    hashtag
    NewCreateSnapshotPropertiesWithDefaults

    func NewCreateSnapshotPropertiesWithDefaults() *CreateSnapshotProperties

    NewCreateSnapshotPropertiesWithDefaults instantiates a new CreateSnapshotProperties 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

    hashtag
    GetName

    func (o *CreateSnapshotProperties) GetName() string

    GetName returns the Name field if non-nil, zero value otherwise.

    hashtag
    GetNameOk

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

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

    hashtag
    SetName

    func (o *CreateSnapshotProperties) SetName(v string)

    SetName sets Name field to given value.

    hashtag
    HasName

    func (o *CreateSnapshotProperties) HasName() bool

    HasName returns a boolean if a field has been set.

    hashtag
    GetDescription

    func (o *CreateSnapshotProperties) GetDescription() string

    GetDescription returns the Description field if non-nil, zero value otherwise.

    hashtag
    GetDescriptionOk

    func (o *CreateSnapshotProperties) GetDescriptionOk() (*string, bool)

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

    hashtag
    SetDescription

    func (o *CreateSnapshotProperties) SetDescription(v string)

    SetDescription sets Description field to given value.

    hashtag
    HasDescription

    func (o *CreateSnapshotProperties) HasDescription() bool

    HasDescription returns a boolean if a field has been set.

    hashtag
    GetSecAuthProtection

    func (o *CreateSnapshotProperties) GetSecAuthProtection() bool

    GetSecAuthProtection returns the SecAuthProtection field if non-nil, zero value otherwise.

    hashtag
    GetSecAuthProtectionOk

    func (o *CreateSnapshotProperties) GetSecAuthProtectionOk() (*bool, bool)

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

    hashtag
    SetSecAuthProtection

    func (o *CreateSnapshotProperties) SetSecAuthProtection(v bool)

    SetSecAuthProtection sets SecAuthProtection field to given value.

    hashtag
    HasSecAuthProtection

    func (o *CreateSnapshotProperties) HasSecAuthProtection() bool

    HasSecAuthProtection returns a boolean if a field has been set.

    hashtag
    GetLicenceType

    func (o *CreateSnapshotProperties) GetLicenceType() string

    GetLicenceType returns the LicenceType field if non-nil, zero value otherwise.

    hashtag
    GetLicenceTypeOk

    func (o *CreateSnapshotProperties) GetLicenceTypeOk() (*string, bool)

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

    hashtag
    SetLicenceType

    func (o *CreateSnapshotProperties) SetLicenceType(v string)

    SetLicenceType sets LicenceType field to given value.

    hashtag
    HasLicenceType

    func (o *CreateSnapshotProperties) HasLicenceType() bool

    HasLicenceType returns a boolean if a field has been set.

    Name

    Pointer to string

    The name of the snapshot

    [optional]

    SharePrivilege

    Pointer to bool

    share privilege on a resource

    [optional]

    hashtag
    Methods

    hashtag
    NewGroupShareProperties

    func NewGroupShareProperties() *GroupShareProperties

    NewGroupShareProperties instantiates a new GroupShareProperties 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

    hashtag
    NewGroupSharePropertiesWithDefaults

    func NewGroupSharePropertiesWithDefaults() *GroupShareProperties

    NewGroupSharePropertiesWithDefaults instantiates a new GroupShareProperties 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

    hashtag
    GetEditPrivilege

    func (o *GroupShareProperties) GetEditPrivilege() bool

    GetEditPrivilege returns the EditPrivilege field if non-nil, zero value otherwise.

    hashtag
    GetEditPrivilegeOk

    func (o *GroupShareProperties) GetEditPrivilegeOk() (*bool, bool)

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

    hashtag
    SetEditPrivilege

    func (o *GroupShareProperties) SetEditPrivilege(v bool)

    SetEditPrivilege sets EditPrivilege field to given value.

    hashtag
    HasEditPrivilege

    func (o *GroupShareProperties) HasEditPrivilege() bool

    HasEditPrivilege returns a boolean if a field has been set.

    hashtag
    GetSharePrivilege

    func (o *GroupShareProperties) GetSharePrivilege() bool

    GetSharePrivilege returns the SharePrivilege field if non-nil, zero value otherwise.

    hashtag
    GetSharePrivilegeOk

    func (o *GroupShareProperties) GetSharePrivilegeOk() (*bool, bool)

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

    hashtag
    SetSharePrivilege

    func (o *GroupShareProperties) SetSharePrivilege(v bool)

    SetSharePrivilege sets SharePrivilege field to given value.

    hashtag
    HasSharePrivilege

    func (o *GroupShareProperties) HasSharePrivilege() bool

    HasSharePrivilege returns a boolean if a field has been set.

    EditPrivilege

    Pointer to bool

    edit privilege on a resource

    [optional] [readonly]

    Type

    Pointer to

    The type of object that has been created.

    [optional]

    Href

    Pointer to string

    The URL to the object representation (absolute path).

    [optional] [readonly]

    Metadata

    Pointer to

    [optional]

    Properties

    Entities

    Pointer to

    [optional]

    hashtag
    Methods

    hashtag
    NewApplicationLoadBalancer

    func NewApplicationLoadBalancer(properties ApplicationLoadBalancerProperties, ) *ApplicationLoadBalancer

    NewApplicationLoadBalancer instantiates a new ApplicationLoadBalancer 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

    hashtag
    NewApplicationLoadBalancerWithDefaults

    func NewApplicationLoadBalancerWithDefaults() *ApplicationLoadBalancer

    NewApplicationLoadBalancerWithDefaults instantiates a new ApplicationLoadBalancer 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

    hashtag
    GetId

    func (o *ApplicationLoadBalancer) GetId() string

    GetId returns the Id field if non-nil, zero value otherwise.

    hashtag
    GetIdOk

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

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

    hashtag
    SetId

    func (o *ApplicationLoadBalancer) SetId(v string)

    SetId sets Id field to given value.

    hashtag
    HasId

    func (o *ApplicationLoadBalancer) HasId() bool

    HasId returns a boolean if a field has been set.

    hashtag
    GetType

    func (o *ApplicationLoadBalancer) GetType() Type

    GetType returns the Type field if non-nil, zero value otherwise.

    hashtag
    GetTypeOk

    func (o *ApplicationLoadBalancer) GetTypeOk() (*Type, bool)

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

    hashtag
    SetType

    func (o *ApplicationLoadBalancer) SetType(v Type)

    SetType sets Type field to given value.

    hashtag
    HasType

    func (o *ApplicationLoadBalancer) HasType() bool

    HasType returns a boolean if a field has been set.

    hashtag
    GetHref

    func (o *ApplicationLoadBalancer) GetHref() string

    GetHref returns the Href field if non-nil, zero value otherwise.

    hashtag
    GetHrefOk

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

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

    hashtag
    SetHref

    func (o *ApplicationLoadBalancer) SetHref(v string)

    SetHref sets Href field to given value.

    hashtag
    HasHref

    func (o *ApplicationLoadBalancer) HasHref() bool

    HasHref returns a boolean if a field has been set.

    hashtag
    GetMetadata

    func (o *ApplicationLoadBalancer) GetMetadata() DatacenterElementMetadata

    GetMetadata returns the Metadata field if non-nil, zero value otherwise.

    hashtag
    GetMetadataOk

    func (o *ApplicationLoadBalancer) GetMetadataOk() (*DatacenterElementMetadata, bool)

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

    hashtag
    SetMetadata

    func (o *ApplicationLoadBalancer) SetMetadata(v DatacenterElementMetadata)

    SetMetadata sets Metadata field to given value.

    hashtag
    HasMetadata

    func (o *ApplicationLoadBalancer) HasMetadata() bool

    HasMetadata returns a boolean if a field has been set.

    hashtag
    GetProperties

    func (o *ApplicationLoadBalancer) GetProperties() ApplicationLoadBalancerProperties

    GetProperties returns the Properties field if non-nil, zero value otherwise.

    hashtag
    GetPropertiesOk

    func (o *ApplicationLoadBalancer) GetPropertiesOk() (*ApplicationLoadBalancerProperties, bool)

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

    hashtag
    SetProperties

    func (o *ApplicationLoadBalancer) SetProperties(v ApplicationLoadBalancerProperties)

    SetProperties sets Properties field to given value.

    hashtag
    GetEntities

    func (o *ApplicationLoadBalancer) GetEntities() ApplicationLoadBalancerEntities

    GetEntities returns the Entities field if non-nil, zero value otherwise.

    hashtag
    GetEntitiesOk

    func (o *ApplicationLoadBalancer) GetEntitiesOk() (*ApplicationLoadBalancerEntities, bool)

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

    hashtag
    SetEntities

    func (o *ApplicationLoadBalancer) SetEntities(v ApplicationLoadBalancerEntities)

    SetEntities sets Entities field to given value.

    hashtag
    HasEntities

    func (o *ApplicationLoadBalancer) HasEntities() bool

    HasEntities returns a boolean if a field has been set.

    Id

    Pointer to string

    The resource's unique identifier.

    ApplicationLoadBalancerForwardingRules

    hashtag
    Properties

    Name
    Type
    Description
    Notes

    Id

    Pointer to string

    hashtag
    Methods

    hashtag
    NewApplicationLoadBalancerForwardingRules

    func NewApplicationLoadBalancerForwardingRules() *ApplicationLoadBalancerForwardingRules

    NewApplicationLoadBalancerForwardingRules instantiates a new ApplicationLoadBalancerForwardingRules 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

    hashtag
    NewApplicationLoadBalancerForwardingRulesWithDefaults

    func NewApplicationLoadBalancerForwardingRulesWithDefaults() *ApplicationLoadBalancerForwardingRules

    NewApplicationLoadBalancerForwardingRulesWithDefaults instantiates a new ApplicationLoadBalancerForwardingRules 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

    hashtag
    GetId

    func (o *ApplicationLoadBalancerForwardingRules) GetId() string

    GetId returns the Id field if non-nil, zero value otherwise.

    hashtag
    GetIdOk

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

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

    hashtag
    SetId

    func (o *ApplicationLoadBalancerForwardingRules) SetId(v string)

    SetId sets Id field to given value.

    hashtag
    HasId

    func (o *ApplicationLoadBalancerForwardingRules) HasId() bool

    HasId returns a boolean if a field has been set.

    hashtag
    GetType

    func (o *ApplicationLoadBalancerForwardingRules) GetType() Type

    GetType returns the Type field if non-nil, zero value otherwise.

    hashtag
    GetTypeOk

    func (o *ApplicationLoadBalancerForwardingRules) GetTypeOk() (*Type, bool)

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

    hashtag
    SetType

    func (o *ApplicationLoadBalancerForwardingRules) SetType(v Type)

    SetType sets Type field to given value.

    hashtag
    HasType

    func (o *ApplicationLoadBalancerForwardingRules) HasType() bool

    HasType returns a boolean if a field has been set.

    hashtag
    GetHref

    func (o *ApplicationLoadBalancerForwardingRules) GetHref() string

    GetHref returns the Href field if non-nil, zero value otherwise.

    hashtag
    GetHrefOk

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

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

    hashtag
    SetHref

    func (o *ApplicationLoadBalancerForwardingRules) SetHref(v string)

    SetHref sets Href field to given value.

    hashtag
    HasHref

    func (o *ApplicationLoadBalancerForwardingRules) HasHref() bool

    HasHref returns a boolean if a field has been set.

    hashtag
    GetItems

    func (o *ApplicationLoadBalancerForwardingRules) GetItems() []ApplicationLoadBalancerForwardingRule

    GetItems returns the Items field if non-nil, zero value otherwise.

    hashtag
    GetItemsOk

    func (o *ApplicationLoadBalancerForwardingRules) GetItemsOk() (*[]ApplicationLoadBalancerForwardingRule, bool)

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

    hashtag
    SetItems

    func (o *ApplicationLoadBalancerForwardingRules) SetItems(v []ApplicationLoadBalancerForwardingRule)

    SetItems sets Items field to given value.

    hashtag
    HasItems

    func (o *ApplicationLoadBalancerForwardingRules) HasItems() bool

    HasItems returns a boolean if a field has been set.

    hashtag
    GetOffset

    func (o *ApplicationLoadBalancerForwardingRules) GetOffset() float32

    GetOffset returns the Offset field if non-nil, zero value otherwise.

    hashtag
    GetOffsetOk

    func (o *ApplicationLoadBalancerForwardingRules) GetOffsetOk() (*float32, bool)

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

    hashtag
    SetOffset

    func (o *ApplicationLoadBalancerForwardingRules) SetOffset(v float32)

    SetOffset sets Offset field to given value.

    hashtag
    HasOffset

    func (o *ApplicationLoadBalancerForwardingRules) HasOffset() bool

    HasOffset returns a boolean if a field has been set.

    hashtag
    GetLimit

    func (o *ApplicationLoadBalancerForwardingRules) GetLimit() float32

    GetLimit returns the Limit field if non-nil, zero value otherwise.

    hashtag
    GetLimitOk

    func (o *ApplicationLoadBalancerForwardingRules) GetLimitOk() (*float32, bool)

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

    hashtag
    SetLimit

    func (o *ApplicationLoadBalancerForwardingRules) SetLimit(v float32)

    SetLimit sets Limit field to given value.

    hashtag
    HasLimit

    func (o *ApplicationLoadBalancerForwardingRules) HasLimit() bool

    HasLimit returns a boolean if a field has been set.

    hashtag
    GetLinks

    func (o *ApplicationLoadBalancerForwardingRules) GetLinks() PaginationLinks

    GetLinks returns the Links field if non-nil, zero value otherwise.

    hashtag
    GetLinksOk

    func (o *ApplicationLoadBalancerForwardingRules) GetLinksOk() (*PaginationLinks, bool)

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

    hashtag
    SetLinks

    func (o *ApplicationLoadBalancerForwardingRules) SetLinks(v PaginationLinks)

    SetLinks sets Links field to given value.

    hashtag
    HasLinks

    func (o *ApplicationLoadBalancerForwardingRules) HasLinks() bool

    HasLinks returns a boolean if a field has been set.

    ContractProperties

    hashtag
    Properties

    Name
    Type
    Description
    Notes

    ContractNumber

    Pointer to int64

    hashtag
    Methods

    hashtag
    NewContractProperties

    func NewContractProperties() *ContractProperties

    NewContractProperties instantiates a new ContractProperties 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

    hashtag
    NewContractPropertiesWithDefaults

    func NewContractPropertiesWithDefaults() *ContractProperties

    NewContractPropertiesWithDefaults instantiates a new ContractProperties 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

    hashtag
    GetContractNumber

    func (o *ContractProperties) GetContractNumber() int64

    GetContractNumber returns the ContractNumber field if non-nil, zero value otherwise.

    hashtag
    GetContractNumberOk

    func (o *ContractProperties) GetContractNumberOk() (*int64, bool)

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

    hashtag
    SetContractNumber

    func (o *ContractProperties) SetContractNumber(v int64)

    SetContractNumber sets ContractNumber field to given value.

    hashtag
    HasContractNumber

    func (o *ContractProperties) HasContractNumber() bool

    HasContractNumber returns a boolean if a field has been set.

    hashtag
    GetOwner

    func (o *ContractProperties) GetOwner() string

    GetOwner returns the Owner field if non-nil, zero value otherwise.

    hashtag
    GetOwnerOk

    func (o *ContractProperties) GetOwnerOk() (*string, bool)

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

    hashtag
    SetOwner

    func (o *ContractProperties) SetOwner(v string)

    SetOwner sets Owner field to given value.

    hashtag
    HasOwner

    func (o *ContractProperties) HasOwner() bool

    HasOwner returns a boolean if a field has been set.

    hashtag
    GetStatus

    func (o *ContractProperties) GetStatus() string

    GetStatus returns the Status field if non-nil, zero value otherwise.

    hashtag
    GetStatusOk

    func (o *ContractProperties) GetStatusOk() (*string, bool)

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

    hashtag
    SetStatus

    func (o *ContractProperties) SetStatus(v string)

    SetStatus sets Status field to given value.

    hashtag
    HasStatus

    func (o *ContractProperties) HasStatus() bool

    HasStatus returns a boolean if a field has been set.

    hashtag
    GetRegDomain

    func (o *ContractProperties) GetRegDomain() string

    GetRegDomain returns the RegDomain field if non-nil, zero value otherwise.

    hashtag
    GetRegDomainOk

    func (o *ContractProperties) GetRegDomainOk() (*string, bool)

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

    hashtag
    SetRegDomain

    func (o *ContractProperties) SetRegDomain(v string)

    SetRegDomain sets RegDomain field to given value.

    hashtag
    HasRegDomain

    func (o *ContractProperties) HasRegDomain() bool

    HasRegDomain returns a boolean if a field has been set.

    hashtag
    GetResourceLimits

    func (o *ContractProperties) GetResourceLimits() ResourceLimits

    GetResourceLimits returns the ResourceLimits field if non-nil, zero value otherwise.

    hashtag
    GetResourceLimitsOk

    func (o *ContractProperties) GetResourceLimitsOk() (*ResourceLimits, bool)

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

    hashtag
    SetResourceLimits

    func (o *ContractProperties) SetResourceLimits(v ResourceLimits)

    SetResourceLimits sets ResourceLimits field to given value.

    hashtag
    HasResourceLimits

    func (o *ContractProperties) HasResourceLimits() bool

    HasResourceLimits returns a boolean if a field has been set.

    Contracts

    hashtag
    Properties

    Name
    Type
    Description
    Notes

    Id

    Pointer to string

    hashtag
    Methods

    hashtag
    NewContracts

    func NewContracts() *Contracts

    NewContracts instantiates a new Contracts 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

    hashtag
    NewContractsWithDefaults

    func NewContractsWithDefaults() *Contracts

    NewContractsWithDefaults instantiates a new Contracts 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

    hashtag
    GetId

    func (o *Contracts) GetId() string

    GetId returns the Id field if non-nil, zero value otherwise.

    hashtag
    GetIdOk

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

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

    hashtag
    SetId

    func (o *Contracts) SetId(v string)

    SetId sets Id field to given value.

    hashtag
    HasId

    func (o *Contracts) HasId() bool

    HasId returns a boolean if a field has been set.

    hashtag
    GetType

    func (o *Contracts) GetType() Type

    GetType returns the Type field if non-nil, zero value otherwise.

    hashtag
    GetTypeOk

    func (o *Contracts) GetTypeOk() (*Type, bool)

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

    hashtag
    SetType

    func (o *Contracts) SetType(v Type)

    SetType sets Type field to given value.

    hashtag
    HasType

    func (o *Contracts) HasType() bool

    HasType returns a boolean if a field has been set.

    hashtag
    GetHref

    func (o *Contracts) GetHref() string

    GetHref returns the Href field if non-nil, zero value otherwise.

    hashtag
    GetHrefOk

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

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

    hashtag
    SetHref

    func (o *Contracts) SetHref(v string)

    SetHref sets Href field to given value.

    hashtag
    HasHref

    func (o *Contracts) HasHref() bool

    HasHref returns a boolean if a field has been set.

    hashtag
    GetItems

    func (o *Contracts) GetItems() []Contract

    GetItems returns the Items field if non-nil, zero value otherwise.

    hashtag
    GetItemsOk

    func (o *Contracts) GetItemsOk() (*[]Contract, bool)

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

    hashtag
    SetItems

    func (o *Contracts) SetItems(v []Contract)

    SetItems sets Items field to given value.

    hashtag
    HasItems

    func (o *Contracts) HasItems() bool

    HasItems returns a boolean if a field has been set.

    FlowLogProperties

    hashtag
    Properties

    Name
    Type
    Description
    Notes

    Name

    string

    hashtag
    Methods

    hashtag
    NewFlowLogProperties

    func NewFlowLogProperties(name string, action string, direction string, bucket string, ) *FlowLogProperties

    NewFlowLogProperties instantiates a new FlowLogProperties 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

    hashtag
    NewFlowLogPropertiesWithDefaults

    func NewFlowLogPropertiesWithDefaults() *FlowLogProperties

    NewFlowLogPropertiesWithDefaults instantiates a new FlowLogProperties 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

    hashtag
    GetName

    func (o *FlowLogProperties) GetName() string

    GetName returns the Name field if non-nil, zero value otherwise.

    hashtag
    GetNameOk

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

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

    hashtag
    SetName

    func (o *FlowLogProperties) SetName(v string)

    SetName sets Name field to given value.

    hashtag
    GetAction

    func (o *FlowLogProperties) GetAction() string

    GetAction returns the Action field if non-nil, zero value otherwise.

    hashtag
    GetActionOk

    func (o *FlowLogProperties) GetActionOk() (*string, bool)

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

    hashtag
    SetAction

    func (o *FlowLogProperties) SetAction(v string)

    SetAction sets Action field to given value.

    hashtag
    GetDirection

    func (o *FlowLogProperties) GetDirection() string

    GetDirection returns the Direction field if non-nil, zero value otherwise.

    hashtag
    GetDirectionOk

    func (o *FlowLogProperties) GetDirectionOk() (*string, bool)

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

    hashtag
    SetDirection

    func (o *FlowLogProperties) SetDirection(v string)

    SetDirection sets Direction field to given value.

    hashtag
    GetBucket

    func (o *FlowLogProperties) GetBucket() string

    GetBucket returns the Bucket field if non-nil, zero value otherwise.

    hashtag
    GetBucketOk

    func (o *FlowLogProperties) GetBucketOk() (*string, bool)

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

    hashtag
    SetBucket

    func (o *FlowLogProperties) SetBucket(v string)

    SetBucket sets Bucket field to given value.

    Error

    hashtag
    Properties

    Name
    Type
    Description
    Notes

    HttpStatus

    Pointer to int32

    hashtag
    Methods

    hashtag
    NewError

    func NewError() *Error

    NewError instantiates a new Error 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

    hashtag
    NewErrorWithDefaults

    func NewErrorWithDefaults() *Error

    NewErrorWithDefaults instantiates a new Error 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

    hashtag
    GetHttpStatus

    func (o *Error) GetHttpStatus() int32

    GetHttpStatus returns the HttpStatus field if non-nil, zero value otherwise.

    hashtag
    GetHttpStatusOk

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

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

    hashtag
    SetHttpStatus

    func (o *Error) SetHttpStatus(v int32)

    SetHttpStatus sets HttpStatus field to given value.

    hashtag
    HasHttpStatus

    func (o *Error) HasHttpStatus() bool

    HasHttpStatus returns a boolean if a field has been set.

    hashtag
    GetMessages

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

    GetMessages returns the Messages field if non-nil, zero value otherwise.

    hashtag
    GetMessagesOk

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

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

    hashtag
    SetMessages

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

    SetMessages sets Messages field to given value.

    hashtag
    HasMessages

    func (o *Error) HasMessages() bool

    HasMessages returns a boolean if a field has been set.

    KubernetesClusterEntities

    hashtag
    Properties

    Name
    Type
    Description
    Notes

    Nodepools

    Pointer to

    hashtag
    Methods

    hashtag
    NewKubernetesClusterEntities

    func NewKubernetesClusterEntities() *KubernetesClusterEntities

    NewKubernetesClusterEntities instantiates a new KubernetesClusterEntities 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

    hashtag
    NewKubernetesClusterEntitiesWithDefaults

    func NewKubernetesClusterEntitiesWithDefaults() *KubernetesClusterEntities

    NewKubernetesClusterEntitiesWithDefaults instantiates a new KubernetesClusterEntities 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

    hashtag
    GetNodepools

    func (o *KubernetesClusterEntities) GetNodepools() KubernetesNodePools

    GetNodepools returns the Nodepools field if non-nil, zero value otherwise.

    hashtag
    GetNodepoolsOk

    func (o *KubernetesClusterEntities) GetNodepoolsOk() (*KubernetesNodePools, bool)

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

    hashtag
    SetNodepools

    func (o *KubernetesClusterEntities) SetNodepools(v KubernetesNodePools)

    SetNodepools sets Nodepools field to given value.

    hashtag
    HasNodepools

    func (o *KubernetesClusterEntities) HasNodepools() bool

    HasNodepools returns a boolean if a field has been set.

    TemplatesApi

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

    Method
    HTTP request
    Description

    ApplicationLoadBalancerPut

    hashtag
    Properties

    Name
    Type
    Description
    Notes

    BackupUnit

    hashtag
    Properties

    Name
    Type
    Description
    Notes

    BackupUnits

    hashtag
    Properties

    Name
    Type
    Description
    Notes

    CpuArchitectureProperties

    hashtag
    Properties

    Name
    Type
    Description
    Notes

    Datacenter

    hashtag
    Properties

    Name
    Type
    Description
    Notes

    FirewallRule

    hashtag
    Properties

    Name
    Type
    Description
    Notes

    Group

    hashtag
    Properties

    Name
    Type
    Description
    Notes

    GroupShare

    hashtag
    Properties

    Name
    Type
    Description
    Notes

    GroupUsers

    hashtag
    Properties

    Name
    Type
    Description
    Notes

    FlowLog

    hashtag
    Properties

    Name
    Type
    Description
    Notes

    IpBlockProperties

    hashtag
    Properties

    Name
    Type
    Description
    Notes

    Info

    hashtag
    Properties

    Name
    Type
    Description
    Notes

    Groups

    hashtag
    Properties

    Name
    Type
    Description
    Notes

    IpBlock

    hashtag
    Properties

    Name
    Type
    Description
    Notes

    IPFailover

    hashtag
    Properties

    Name
    Type
    Description
    Notes

    KubernetesAutoScaling

    hashtag
    Properties

    Name
    Type
    Description
    Notes

    The resource's unique identifier.

    [optional] [readonly]

    Type

    Pointer to Type

    The type of object that has been created.

    [optional]

    Href

    Pointer to string

    The URL to the object representation (absolute path).

    [optional] [readonly]

    Items

    Pointer to []ApplicationLoadBalancerForwardingRule

    Array of items in the collection.

    [optional] [readonly]

    Offset

    Pointer to float32

    The offset (if specified in the request).

    [optional]

    Limit

    Pointer to float32

    The limit (if specified in the request).

    [optional]

    Links

    Pointer to PaginationLinks

    [optional]

    The contract number.

    [optional] [readonly]

    Owner

    Pointer to string

    The contract owner's user name.

    [optional] [readonly]

    Status

    Pointer to string

    The contract status.

    [optional] [readonly]

    RegDomain

    Pointer to string

    The registration domain of the contract.

    [optional] [readonly]

    ResourceLimits

    Pointer to ResourceLimits

    [optional]

    The resource's unique identifier.

    [optional] [readonly]

    Type

    Pointer to Type

    The type of object that has been created.

    [optional]

    Href

    Pointer to string

    The URL to the object representation (absolute path).

    [optional] [readonly]

    Items

    Pointer to []Contract

    Array of items in the collection.

    [optional] [readonly]

    The resource name.

    Action

    string

    Specifies the traffic action pattern.

    Direction

    string

    Specifies the traffic direction pattern.

    Bucket

    string

    The bucket name of an existing IONOS Cloud Object storage bucket.

    HTTP status code of the operation.

    [optional] [readonly]

    Messages

    Pointer to []ErrorMessage

    [optional]

    Type
    DatacenterElementMetadata
    ApplicationLoadBalancerProperties
    ApplicationLoadBalancerEntities

    [optional]

    KubernetesNodePools

    [optional]

    MaxCores

    Pointer to int32

    The maximum number of cores available.

    [optional]

    MaxRam

    Pointer to int32

    The maximum RAM size in MB.

    [optional]

    Vendor

    Pointer to string

    A valid CPU vendor name.

    [optional]

    hashtag
    Methods

    hashtag
    NewCpuArchitectureProperties

    func NewCpuArchitectureProperties() *CpuArchitectureProperties

    NewCpuArchitectureProperties instantiates a new CpuArchitectureProperties 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

    hashtag
    NewCpuArchitecturePropertiesWithDefaults

    func NewCpuArchitecturePropertiesWithDefaults() *CpuArchitectureProperties

    NewCpuArchitecturePropertiesWithDefaults instantiates a new CpuArchitectureProperties 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

    hashtag
    GetCpuFamily

    func (o *CpuArchitectureProperties) GetCpuFamily() string

    GetCpuFamily returns the CpuFamily field if non-nil, zero value otherwise.

    hashtag
    GetCpuFamilyOk

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

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

    hashtag
    SetCpuFamily

    func (o *CpuArchitectureProperties) SetCpuFamily(v string)

    SetCpuFamily sets CpuFamily field to given value.

    hashtag
    HasCpuFamily

    func (o *CpuArchitectureProperties) HasCpuFamily() bool

    HasCpuFamily returns a boolean if a field has been set.

    hashtag
    GetMaxCores

    func (o *CpuArchitectureProperties) GetMaxCores() int32

    GetMaxCores returns the MaxCores field if non-nil, zero value otherwise.

    hashtag
    GetMaxCoresOk

    func (o *CpuArchitectureProperties) GetMaxCoresOk() (*int32, bool)

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

    hashtag
    SetMaxCores

    func (o *CpuArchitectureProperties) SetMaxCores(v int32)

    SetMaxCores sets MaxCores field to given value.

    hashtag
    HasMaxCores

    func (o *CpuArchitectureProperties) HasMaxCores() bool

    HasMaxCores returns a boolean if a field has been set.

    hashtag
    GetMaxRam

    func (o *CpuArchitectureProperties) GetMaxRam() int32

    GetMaxRam returns the MaxRam field if non-nil, zero value otherwise.

    hashtag
    GetMaxRamOk

    func (o *CpuArchitectureProperties) GetMaxRamOk() (*int32, bool)

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

    hashtag
    SetMaxRam

    func (o *CpuArchitectureProperties) SetMaxRam(v int32)

    SetMaxRam sets MaxRam field to given value.

    hashtag
    HasMaxRam

    func (o *CpuArchitectureProperties) HasMaxRam() bool

    HasMaxRam returns a boolean if a field has been set.

    hashtag
    GetVendor

    func (o *CpuArchitectureProperties) GetVendor() string

    GetVendor returns the Vendor field if non-nil, zero value otherwise.

    hashtag
    GetVendorOk

    func (o *CpuArchitectureProperties) GetVendorOk() (*string, bool)

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

    hashtag
    SetVendor

    func (o *CpuArchitectureProperties) SetVendor(v string)

    SetVendor sets Vendor field to given value.

    hashtag
    HasVendor

    func (o *CpuArchitectureProperties) HasVendor() bool

    HasVendor returns a boolean if a field has been set.

    CpuFamily

    Pointer to string

    A valid CPU family name.

    [optional] [readonly]

    Name

    Pointer to string

    The API name.

    [optional] [readonly]

    Version

    Pointer to string

    The API version.

    [optional] [readonly]

    hashtag
    Methods

    hashtag
    NewInfo

    func NewInfo() *Info

    NewInfo instantiates a new Info 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

    hashtag
    NewInfoWithDefaults

    func NewInfoWithDefaults() *Info

    NewInfoWithDefaults instantiates a new Info 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

    hashtag
    GetHref

    func (o *Info) GetHref() string

    GetHref returns the Href field if non-nil, zero value otherwise.

    hashtag
    GetHrefOk

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

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

    hashtag
    SetHref

    func (o *Info) SetHref(v string)

    SetHref sets Href field to given value.

    hashtag
    HasHref

    func (o *Info) HasHref() bool

    HasHref returns a boolean if a field has been set.

    hashtag
    GetName

    func (o *Info) GetName() string

    GetName returns the Name field if non-nil, zero value otherwise.

    hashtag
    GetNameOk

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

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

    hashtag
    SetName

    func (o *Info) SetName(v string)

    SetName sets Name field to given value.

    hashtag
    HasName

    func (o *Info) HasName() bool

    HasName returns a boolean if a field has been set.

    hashtag
    GetVersion

    func (o *Info) GetVersion() string

    GetVersion returns the Version field if non-nil, zero value otherwise.

    hashtag
    GetVersionOk

    func (o *Info) GetVersionOk() (*string, bool)

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

    hashtag
    SetVersion

    func (o *Info) SetVersion(v string)

    SetVersion sets Version field to given value.

    hashtag
    HasVersion

    func (o *Info) HasVersion() bool

    HasVersion returns a boolean if a field has been set.

    Href

    Pointer to string

    The API entry point.

    [optional]

    NicUuid

    Pointer to string

    [optional]

    hashtag
    Methods

    hashtag
    NewIPFailover

    func NewIPFailover() *IPFailover

    NewIPFailover instantiates a new IPFailover 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

    hashtag
    NewIPFailoverWithDefaults

    func NewIPFailoverWithDefaults() *IPFailover

    NewIPFailoverWithDefaults instantiates a new IPFailover 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

    hashtag
    GetIp

    func (o *IPFailover) GetIp() string

    GetIp returns the Ip field if non-nil, zero value otherwise.

    hashtag
    GetIpOk

    func (o *IPFailover) GetIpOk() (*string, bool)

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

    hashtag
    SetIp

    func (o *IPFailover) SetIp(v string)

    SetIp sets Ip field to given value.

    hashtag
    HasIp

    func (o *IPFailover) HasIp() bool

    HasIp returns a boolean if a field has been set.

    hashtag
    GetNicUuid

    func (o *IPFailover) GetNicUuid() string

    GetNicUuid returns the NicUuid field if non-nil, zero value otherwise.

    hashtag
    GetNicUuidOk

    func (o *IPFailover) GetNicUuidOk() (*string, bool)

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

    hashtag
    SetNicUuid

    func (o *IPFailover) SetNicUuid(v string)

    SetNicUuid sets NicUuid field to given value.

    hashtag
    HasNicUuid

    func (o *IPFailover) HasNicUuid() bool

    HasNicUuid returns a boolean if a field has been set.

    Ip

    Pointer to string

    MaxNodeCount

    int32

    The maximum number of worker nodes that the managed node pool can scale in. Must be >= minNodeCount and must be >= nodeCount. Required if autoScaling is specified.

    hashtag
    Methods

    hashtag
    NewKubernetesAutoScaling

    func NewKubernetesAutoScaling(minNodeCount int32, maxNodeCount int32, ) *KubernetesAutoScaling

    NewKubernetesAutoScaling instantiates a new KubernetesAutoScaling 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

    hashtag
    NewKubernetesAutoScalingWithDefaults

    func NewKubernetesAutoScalingWithDefaults() *KubernetesAutoScaling

    NewKubernetesAutoScalingWithDefaults instantiates a new KubernetesAutoScaling 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

    hashtag
    GetMinNodeCount

    func (o *KubernetesAutoScaling) GetMinNodeCount() int32

    GetMinNodeCount returns the MinNodeCount field if non-nil, zero value otherwise.

    hashtag
    GetMinNodeCountOk

    func (o *KubernetesAutoScaling) GetMinNodeCountOk() (*int32, bool)

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

    hashtag
    SetMinNodeCount

    func (o *KubernetesAutoScaling) SetMinNodeCount(v int32)

    SetMinNodeCount sets MinNodeCount field to given value.

    hashtag
    GetMaxNodeCount

    func (o *KubernetesAutoScaling) GetMaxNodeCount() int32

    GetMaxNodeCount returns the MaxNodeCount field if non-nil, zero value otherwise.

    hashtag
    GetMaxNodeCountOk

    func (o *KubernetesAutoScaling) GetMaxNodeCountOk() (*int32, bool)

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

    hashtag
    SetMaxNodeCount

    func (o *KubernetesAutoScaling) SetMaxNodeCount(v int32)

    SetMaxNodeCount sets MaxNodeCount field to given value.

    MinNodeCount

    int32

    The minimum number of working nodes that the managed node pool can scale must be >= 1 and >= nodeCount. Required if autoScaling is specified.

    hashtag
    TemplatesFindById

    Get Cubes Template by ID

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    templateId

    string

    The unique template ID.

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiTemplatesFindByIdRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    hashtag
    Return type

    Template

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    TemplatesGet

    Get Cubes Templates

    hashtag
    Example

    hashtag
    Path Parameters

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiTemplatesGetRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    hashtag
    Return type

    Templates

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    TemplatesFindById

    Get /templates/{templateId}

    Get Cubes Template by ID

    TemplatesGet

    Get /templates

    Get Cubes Templates

    var result Template = TemplatesFindById(ctx, templateId)
                          .Depth(depth)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        templateId := "templateId_example" // string | The unique template ID.
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.TemplatesApi.TemplatesFindById(context.Background(), templateId).Depth(depth).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `TemplatesApi.TemplatesFindById``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `TemplatesFindById`: Template
        fmt.Fprintf(os.Stdout, "Response from `TemplatesApi.TemplatesFindById`: %v\n", resp)
    }
    var result Templates = TemplatesGet(ctx)
                          .Depth(depth)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.TemplatesApi.TemplatesGet(context.Background()).Depth(depth).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `TemplatesApi.TemplatesGet``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `TemplatesGet`: Templates
        fmt.Fprintf(os.Stdout, "Response from `TemplatesApi.TemplatesGet`: %v\n", resp)
    }

    [optional] [readonly]

    Type

    Pointer to

    The type of object that has been created.

    [optional]

    Href

    Pointer to string

    The URL to the object representation (absolute path).

    [optional] [readonly]

    Properties

    hashtag
    Methods

    hashtag
    NewApplicationLoadBalancerPut

    func NewApplicationLoadBalancerPut(properties ApplicationLoadBalancerProperties, ) *ApplicationLoadBalancerPut

    NewApplicationLoadBalancerPut instantiates a new ApplicationLoadBalancerPut 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

    hashtag
    NewApplicationLoadBalancerPutWithDefaults

    func NewApplicationLoadBalancerPutWithDefaults() *ApplicationLoadBalancerPut

    NewApplicationLoadBalancerPutWithDefaults instantiates a new ApplicationLoadBalancerPut 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

    hashtag
    GetId

    func (o *ApplicationLoadBalancerPut) GetId() string

    GetId returns the Id field if non-nil, zero value otherwise.

    hashtag
    GetIdOk

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

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

    hashtag
    SetId

    func (o *ApplicationLoadBalancerPut) SetId(v string)

    SetId sets Id field to given value.

    hashtag
    HasId

    func (o *ApplicationLoadBalancerPut) HasId() bool

    HasId returns a boolean if a field has been set.

    hashtag
    GetType

    func (o *ApplicationLoadBalancerPut) GetType() Type

    GetType returns the Type field if non-nil, zero value otherwise.

    hashtag
    GetTypeOk

    func (o *ApplicationLoadBalancerPut) GetTypeOk() (*Type, bool)

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

    hashtag
    SetType

    func (o *ApplicationLoadBalancerPut) SetType(v Type)

    SetType sets Type field to given value.

    hashtag
    HasType

    func (o *ApplicationLoadBalancerPut) HasType() bool

    HasType returns a boolean if a field has been set.

    hashtag
    GetHref

    func (o *ApplicationLoadBalancerPut) GetHref() string

    GetHref returns the Href field if non-nil, zero value otherwise.

    hashtag
    GetHrefOk

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

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

    hashtag
    SetHref

    func (o *ApplicationLoadBalancerPut) SetHref(v string)

    SetHref sets Href field to given value.

    hashtag
    HasHref

    func (o *ApplicationLoadBalancerPut) HasHref() bool

    HasHref returns a boolean if a field has been set.

    hashtag
    GetProperties

    func (o *ApplicationLoadBalancerPut) GetProperties() ApplicationLoadBalancerProperties

    GetProperties returns the Properties field if non-nil, zero value otherwise.

    hashtag
    GetPropertiesOk

    func (o *ApplicationLoadBalancerPut) GetPropertiesOk() (*ApplicationLoadBalancerProperties, bool)

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

    hashtag
    SetProperties

    func (o *ApplicationLoadBalancerPut) SetProperties(v ApplicationLoadBalancerProperties)

    SetProperties sets Properties field to given value.

    Id

    Pointer to string

    The resource's unique identifier.

    [optional] [readonly]

    Type

    Pointer to string

    The type of object that has been created.

    [optional] [readonly]

    Href

    Pointer to string

    URL to the object representation (absolute path).

    [optional] [readonly]

    Metadata

    Pointer to

    [optional]

    Properties

    hashtag
    Methods

    hashtag
    NewBackupUnit

    func NewBackupUnit(properties BackupUnitProperties, ) *BackupUnit

    NewBackupUnit instantiates a new BackupUnit 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

    hashtag
    NewBackupUnitWithDefaults

    func NewBackupUnitWithDefaults() *BackupUnit

    NewBackupUnitWithDefaults instantiates a new BackupUnit 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

    hashtag
    GetId

    func (o *BackupUnit) GetId() string

    GetId returns the Id field if non-nil, zero value otherwise.

    hashtag
    GetIdOk

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

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

    hashtag
    SetId

    func (o *BackupUnit) SetId(v string)

    SetId sets Id field to given value.

    hashtag
    HasId

    func (o *BackupUnit) HasId() bool

    HasId returns a boolean if a field has been set.

    hashtag
    GetType

    func (o *BackupUnit) GetType() string

    GetType returns the Type field if non-nil, zero value otherwise.

    hashtag
    GetTypeOk

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

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

    hashtag
    SetType

    func (o *BackupUnit) SetType(v string)

    SetType sets Type field to given value.

    hashtag
    HasType

    func (o *BackupUnit) HasType() bool

    HasType returns a boolean if a field has been set.

    hashtag
    GetHref

    func (o *BackupUnit) GetHref() string

    GetHref returns the Href field if non-nil, zero value otherwise.

    hashtag
    GetHrefOk

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

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

    hashtag
    SetHref

    func (o *BackupUnit) SetHref(v string)

    SetHref sets Href field to given value.

    hashtag
    HasHref

    func (o *BackupUnit) HasHref() bool

    HasHref returns a boolean if a field has been set.

    hashtag
    GetMetadata

    func (o *BackupUnit) GetMetadata() DatacenterElementMetadata

    GetMetadata returns the Metadata field if non-nil, zero value otherwise.

    hashtag
    GetMetadataOk

    func (o *BackupUnit) GetMetadataOk() (*DatacenterElementMetadata, bool)

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

    hashtag
    SetMetadata

    func (o *BackupUnit) SetMetadata(v DatacenterElementMetadata)

    SetMetadata sets Metadata field to given value.

    hashtag
    HasMetadata

    func (o *BackupUnit) HasMetadata() bool

    HasMetadata returns a boolean if a field has been set.

    hashtag
    GetProperties

    func (o *BackupUnit) GetProperties() BackupUnitProperties

    GetProperties returns the Properties field if non-nil, zero value otherwise.

    hashtag
    GetPropertiesOk

    func (o *BackupUnit) GetPropertiesOk() (*BackupUnitProperties, bool)

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

    hashtag
    SetProperties

    func (o *BackupUnit) SetProperties(v BackupUnitProperties)

    SetProperties sets Properties field to given value.

    Id

    Pointer to string

    The resource's unique identifier.

    [optional] [readonly]

    Type

    Pointer to string

    The type of object that has been created.

    [optional] [readonly]

    Href

    Pointer to string

    URL to the object representation (absolute path).

    [optional] [readonly]

    Items

    Pointer to

    Array of items in the collection.

    [optional] [readonly]

    hashtag
    Methods

    hashtag
    NewBackupUnits

    func NewBackupUnits() *BackupUnits

    NewBackupUnits instantiates a new BackupUnits 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

    hashtag
    NewBackupUnitsWithDefaults

    func NewBackupUnitsWithDefaults() *BackupUnits

    NewBackupUnitsWithDefaults instantiates a new BackupUnits 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

    hashtag
    GetId

    func (o *BackupUnits) GetId() string

    GetId returns the Id field if non-nil, zero value otherwise.

    hashtag
    GetIdOk

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

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

    hashtag
    SetId

    func (o *BackupUnits) SetId(v string)

    SetId sets Id field to given value.

    hashtag
    HasId

    func (o *BackupUnits) HasId() bool

    HasId returns a boolean if a field has been set.

    hashtag
    GetType

    func (o *BackupUnits) GetType() string

    GetType returns the Type field if non-nil, zero value otherwise.

    hashtag
    GetTypeOk

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

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

    hashtag
    SetType

    func (o *BackupUnits) SetType(v string)

    SetType sets Type field to given value.

    hashtag
    HasType

    func (o *BackupUnits) HasType() bool

    HasType returns a boolean if a field has been set.

    hashtag
    GetHref

    func (o *BackupUnits) GetHref() string

    GetHref returns the Href field if non-nil, zero value otherwise.

    hashtag
    GetHrefOk

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

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

    hashtag
    SetHref

    func (o *BackupUnits) SetHref(v string)

    SetHref sets Href field to given value.

    hashtag
    HasHref

    func (o *BackupUnits) HasHref() bool

    HasHref returns a boolean if a field has been set.

    hashtag
    GetItems

    func (o *BackupUnits) GetItems() []BackupUnit

    GetItems returns the Items field if non-nil, zero value otherwise.

    hashtag
    GetItemsOk

    func (o *BackupUnits) GetItemsOk() (*[]BackupUnit, bool)

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

    hashtag
    SetItems

    func (o *BackupUnits) SetItems(v []BackupUnit)

    SetItems sets Items field to given value.

    hashtag
    HasItems

    func (o *BackupUnits) HasItems() bool

    HasItems returns a boolean if a field has been set.

    Id

    Pointer to string

    The resource's unique identifier.

    [optional] [readonly]

    Type

    Pointer to

    The type of object that has been created.

    [optional]

    Href

    Pointer to string

    URL to the object representation (absolute path).

    [optional] [readonly]

    Metadata

    Pointer to

    [optional]

    Properties

    Entities

    Pointer to

    [optional]

    hashtag
    Methods

    hashtag
    NewDatacenter

    func NewDatacenter(properties DatacenterProperties, ) *Datacenter

    NewDatacenter instantiates a new Datacenter 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

    hashtag
    NewDatacenterWithDefaults

    func NewDatacenterWithDefaults() *Datacenter

    NewDatacenterWithDefaults instantiates a new Datacenter 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

    hashtag
    GetId

    func (o *Datacenter) GetId() string

    GetId returns the Id field if non-nil, zero value otherwise.

    hashtag
    GetIdOk

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

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

    hashtag
    SetId

    func (o *Datacenter) SetId(v string)

    SetId sets Id field to given value.

    hashtag
    HasId

    func (o *Datacenter) HasId() bool

    HasId returns a boolean if a field has been set.

    hashtag
    GetType

    func (o *Datacenter) GetType() Type

    GetType returns the Type field if non-nil, zero value otherwise.

    hashtag
    GetTypeOk

    func (o *Datacenter) GetTypeOk() (*Type, bool)

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

    hashtag
    SetType

    func (o *Datacenter) SetType(v Type)

    SetType sets Type field to given value.

    hashtag
    HasType

    func (o *Datacenter) HasType() bool

    HasType returns a boolean if a field has been set.

    hashtag
    GetHref

    func (o *Datacenter) GetHref() string

    GetHref returns the Href field if non-nil, zero value otherwise.

    hashtag
    GetHrefOk

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

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

    hashtag
    SetHref

    func (o *Datacenter) SetHref(v string)

    SetHref sets Href field to given value.

    hashtag
    HasHref

    func (o *Datacenter) HasHref() bool

    HasHref returns a boolean if a field has been set.

    hashtag
    GetMetadata

    func (o *Datacenter) GetMetadata() DatacenterElementMetadata

    GetMetadata returns the Metadata field if non-nil, zero value otherwise.

    hashtag
    GetMetadataOk

    func (o *Datacenter) GetMetadataOk() (*DatacenterElementMetadata, bool)

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

    hashtag
    SetMetadata

    func (o *Datacenter) SetMetadata(v DatacenterElementMetadata)

    SetMetadata sets Metadata field to given value.

    hashtag
    HasMetadata

    func (o *Datacenter) HasMetadata() bool

    HasMetadata returns a boolean if a field has been set.

    hashtag
    GetProperties

    func (o *Datacenter) GetProperties() DatacenterProperties

    GetProperties returns the Properties field if non-nil, zero value otherwise.

    hashtag
    GetPropertiesOk

    func (o *Datacenter) GetPropertiesOk() (*DatacenterProperties, bool)

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

    hashtag
    SetProperties

    func (o *Datacenter) SetProperties(v DatacenterProperties)

    SetProperties sets Properties field to given value.

    hashtag
    GetEntities

    func (o *Datacenter) GetEntities() DataCenterEntities

    GetEntities returns the Entities field if non-nil, zero value otherwise.

    hashtag
    GetEntitiesOk

    func (o *Datacenter) GetEntitiesOk() (*DataCenterEntities, bool)

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

    hashtag
    SetEntities

    func (o *Datacenter) SetEntities(v DataCenterEntities)

    SetEntities sets Entities field to given value.

    hashtag
    HasEntities

    func (o *Datacenter) HasEntities() bool

    HasEntities returns a boolean if a field has been set.

    Id

    Pointer to string

    The resource's unique identifier.

    [optional] [readonly]

    Type

    Pointer to

    The type of object that has been created.

    [optional]

    Href

    Pointer to string

    URL to the object representation (absolute path).

    [optional] [readonly]

    Metadata

    Pointer to

    [optional]

    Properties

    hashtag
    Methods

    hashtag
    NewFirewallRule

    func NewFirewallRule(properties FirewallruleProperties, ) *FirewallRule

    NewFirewallRule instantiates a new FirewallRule 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

    hashtag
    NewFirewallRuleWithDefaults

    func NewFirewallRuleWithDefaults() *FirewallRule

    NewFirewallRuleWithDefaults instantiates a new FirewallRule 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

    hashtag
    GetId

    func (o *FirewallRule) GetId() string

    GetId returns the Id field if non-nil, zero value otherwise.

    hashtag
    GetIdOk

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

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

    hashtag
    SetId

    func (o *FirewallRule) SetId(v string)

    SetId sets Id field to given value.

    hashtag
    HasId

    func (o *FirewallRule) HasId() bool

    HasId returns a boolean if a field has been set.

    hashtag
    GetType

    func (o *FirewallRule) GetType() Type

    GetType returns the Type field if non-nil, zero value otherwise.

    hashtag
    GetTypeOk

    func (o *FirewallRule) GetTypeOk() (*Type, bool)

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

    hashtag
    SetType

    func (o *FirewallRule) SetType(v Type)

    SetType sets Type field to given value.

    hashtag
    HasType

    func (o *FirewallRule) HasType() bool

    HasType returns a boolean if a field has been set.

    hashtag
    GetHref

    func (o *FirewallRule) GetHref() string

    GetHref returns the Href field if non-nil, zero value otherwise.

    hashtag
    GetHrefOk

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

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

    hashtag
    SetHref

    func (o *FirewallRule) SetHref(v string)

    SetHref sets Href field to given value.

    hashtag
    HasHref

    func (o *FirewallRule) HasHref() bool

    HasHref returns a boolean if a field has been set.

    hashtag
    GetMetadata

    func (o *FirewallRule) GetMetadata() DatacenterElementMetadata

    GetMetadata returns the Metadata field if non-nil, zero value otherwise.

    hashtag
    GetMetadataOk

    func (o *FirewallRule) GetMetadataOk() (*DatacenterElementMetadata, bool)

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

    hashtag
    SetMetadata

    func (o *FirewallRule) SetMetadata(v DatacenterElementMetadata)

    SetMetadata sets Metadata field to given value.

    hashtag
    HasMetadata

    func (o *FirewallRule) HasMetadata() bool

    HasMetadata returns a boolean if a field has been set.

    hashtag
    GetProperties

    func (o *FirewallRule) GetProperties() FirewallruleProperties

    GetProperties returns the Properties field if non-nil, zero value otherwise.

    hashtag
    GetPropertiesOk

    func (o *FirewallRule) GetPropertiesOk() (*FirewallruleProperties, bool)

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

    hashtag
    SetProperties

    func (o *FirewallRule) SetProperties(v FirewallruleProperties)

    SetProperties sets Properties field to given value.

    Id

    Pointer to string

    The resource's unique identifier.

    [optional] [readonly]

    Type

    Pointer to

    The type of the resource.

    [optional]

    Href

    Pointer to string

    URL to the object representation (absolute path).

    [optional] [readonly]

    Properties

    Entities

    Pointer to

    [optional]

    hashtag
    Methods

    hashtag
    NewGroup

    func NewGroup(properties GroupProperties, ) *Group

    NewGroup instantiates a new Group 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

    hashtag
    NewGroupWithDefaults

    func NewGroupWithDefaults() *Group

    NewGroupWithDefaults instantiates a new Group 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

    hashtag
    GetId

    func (o *Group) GetId() string

    GetId returns the Id field if non-nil, zero value otherwise.

    hashtag
    GetIdOk

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

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

    hashtag
    SetId

    func (o *Group) SetId(v string)

    SetId sets Id field to given value.

    hashtag
    HasId

    func (o *Group) HasId() bool

    HasId returns a boolean if a field has been set.

    hashtag
    GetType

    func (o *Group) GetType() Type

    GetType returns the Type field if non-nil, zero value otherwise.

    hashtag
    GetTypeOk

    func (o *Group) GetTypeOk() (*Type, bool)

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

    hashtag
    SetType

    func (o *Group) SetType(v Type)

    SetType sets Type field to given value.

    hashtag
    HasType

    func (o *Group) HasType() bool

    HasType returns a boolean if a field has been set.

    hashtag
    GetHref

    func (o *Group) GetHref() string

    GetHref returns the Href field if non-nil, zero value otherwise.

    hashtag
    GetHrefOk

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

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

    hashtag
    SetHref

    func (o *Group) SetHref(v string)

    SetHref sets Href field to given value.

    hashtag
    HasHref

    func (o *Group) HasHref() bool

    HasHref returns a boolean if a field has been set.

    hashtag
    GetProperties

    func (o *Group) GetProperties() GroupProperties

    GetProperties returns the Properties field if non-nil, zero value otherwise.

    hashtag
    GetPropertiesOk

    func (o *Group) GetPropertiesOk() (*GroupProperties, bool)

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

    hashtag
    SetProperties

    func (o *Group) SetProperties(v GroupProperties)

    SetProperties sets Properties field to given value.

    hashtag
    GetEntities

    func (o *Group) GetEntities() GroupEntities

    GetEntities returns the Entities field if non-nil, zero value otherwise.

    hashtag
    GetEntitiesOk

    func (o *Group) GetEntitiesOk() (*GroupEntities, bool)

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

    hashtag
    SetEntities

    func (o *Group) SetEntities(v GroupEntities)

    SetEntities sets Entities field to given value.

    hashtag
    HasEntities

    func (o *Group) HasEntities() bool

    HasEntities returns a boolean if a field has been set.

    Id

    Pointer to string

    The resource's unique identifier.

    [optional] [readonly]

    Type

    Pointer to

    resource as generic type

    [optional]

    Href

    Pointer to string

    URL to the object representation (absolute path).

    [optional] [readonly]

    Properties

    hashtag
    Methods

    hashtag
    NewGroupShare

    func NewGroupShare(properties GroupShareProperties, ) *GroupShare

    NewGroupShare instantiates a new GroupShare 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

    hashtag
    NewGroupShareWithDefaults

    func NewGroupShareWithDefaults() *GroupShare

    NewGroupShareWithDefaults instantiates a new GroupShare 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

    hashtag
    GetId

    func (o *GroupShare) GetId() string

    GetId returns the Id field if non-nil, zero value otherwise.

    hashtag
    GetIdOk

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

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

    hashtag
    SetId

    func (o *GroupShare) SetId(v string)

    SetId sets Id field to given value.

    hashtag
    HasId

    func (o *GroupShare) HasId() bool

    HasId returns a boolean if a field has been set.

    hashtag
    GetType

    func (o *GroupShare) GetType() Type

    GetType returns the Type field if non-nil, zero value otherwise.

    hashtag
    GetTypeOk

    func (o *GroupShare) GetTypeOk() (*Type, bool)

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

    hashtag
    SetType

    func (o *GroupShare) SetType(v Type)

    SetType sets Type field to given value.

    hashtag
    HasType

    func (o *GroupShare) HasType() bool

    HasType returns a boolean if a field has been set.

    hashtag
    GetHref

    func (o *GroupShare) GetHref() string

    GetHref returns the Href field if non-nil, zero value otherwise.

    hashtag
    GetHrefOk

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

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

    hashtag
    SetHref

    func (o *GroupShare) SetHref(v string)

    SetHref sets Href field to given value.

    hashtag
    HasHref

    func (o *GroupShare) HasHref() bool

    HasHref returns a boolean if a field has been set.

    hashtag
    GetProperties

    func (o *GroupShare) GetProperties() GroupShareProperties

    GetProperties returns the Properties field if non-nil, zero value otherwise.

    hashtag
    GetPropertiesOk

    func (o *GroupShare) GetPropertiesOk() (*GroupShareProperties, bool)

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

    hashtag
    SetProperties

    func (o *GroupShare) SetProperties(v GroupShareProperties)

    SetProperties sets Properties field to given value.

    Id

    Pointer to string

    The resource's unique identifier.

    [optional] [readonly]

    Type

    Pointer to

    The type of the resource.

    [optional]

    Href

    Pointer to string

    URL to the object representation (absolute path).

    [optional] [readonly]

    Items

    Pointer to

    Array of items in the collection.

    [optional] [readonly]

    hashtag
    Methods

    hashtag
    NewGroupUsers

    func NewGroupUsers() *GroupUsers

    NewGroupUsers instantiates a new GroupUsers 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

    hashtag
    NewGroupUsersWithDefaults

    func NewGroupUsersWithDefaults() *GroupUsers

    NewGroupUsersWithDefaults instantiates a new GroupUsers 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

    hashtag
    GetId

    func (o *GroupUsers) GetId() string

    GetId returns the Id field if non-nil, zero value otherwise.

    hashtag
    GetIdOk

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

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

    hashtag
    SetId

    func (o *GroupUsers) SetId(v string)

    SetId sets Id field to given value.

    hashtag
    HasId

    func (o *GroupUsers) HasId() bool

    HasId returns a boolean if a field has been set.

    hashtag
    GetType

    func (o *GroupUsers) GetType() Type

    GetType returns the Type field if non-nil, zero value otherwise.

    hashtag
    GetTypeOk

    func (o *GroupUsers) GetTypeOk() (*Type, bool)

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

    hashtag
    SetType

    func (o *GroupUsers) SetType(v Type)

    SetType sets Type field to given value.

    hashtag
    HasType

    func (o *GroupUsers) HasType() bool

    HasType returns a boolean if a field has been set.

    hashtag
    GetHref

    func (o *GroupUsers) GetHref() string

    GetHref returns the Href field if non-nil, zero value otherwise.

    hashtag
    GetHrefOk

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

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

    hashtag
    SetHref

    func (o *GroupUsers) SetHref(v string)

    SetHref sets Href field to given value.

    hashtag
    HasHref

    func (o *GroupUsers) HasHref() bool

    HasHref returns a boolean if a field has been set.

    hashtag
    GetItems

    func (o *GroupUsers) GetItems() []Group

    GetItems returns the Items field if non-nil, zero value otherwise.

    hashtag
    GetItemsOk

    func (o *GroupUsers) GetItemsOk() (*[]Group, bool)

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

    hashtag
    SetItems

    func (o *GroupUsers) SetItems(v []Group)

    SetItems sets Items field to given value.

    hashtag
    HasItems

    func (o *GroupUsers) HasItems() bool

    HasItems returns a boolean if a field has been set.

    Id

    Pointer to string

    The resource's unique identifier.

    [optional] [readonly]

    Type

    Pointer to

    The type of object that has been created.

    [optional]

    Href

    Pointer to string

    The URL to the object representation (absolute path).

    [optional] [readonly]

    Metadata

    Pointer to

    [optional]

    Properties

    hashtag
    Methods

    hashtag
    NewFlowLog

    func NewFlowLog(properties FlowLogProperties, ) *FlowLog

    NewFlowLog instantiates a new FlowLog 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

    hashtag
    NewFlowLogWithDefaults

    func NewFlowLogWithDefaults() *FlowLog

    NewFlowLogWithDefaults instantiates a new FlowLog 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

    hashtag
    GetId

    func (o *FlowLog) GetId() string

    GetId returns the Id field if non-nil, zero value otherwise.

    hashtag
    GetIdOk

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

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

    hashtag
    SetId

    func (o *FlowLog) SetId(v string)

    SetId sets Id field to given value.

    hashtag
    HasId

    func (o *FlowLog) HasId() bool

    HasId returns a boolean if a field has been set.

    hashtag
    GetType

    func (o *FlowLog) GetType() Type

    GetType returns the Type field if non-nil, zero value otherwise.

    hashtag
    GetTypeOk

    func (o *FlowLog) GetTypeOk() (*Type, bool)

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

    hashtag
    SetType

    func (o *FlowLog) SetType(v Type)

    SetType sets Type field to given value.

    hashtag
    HasType

    func (o *FlowLog) HasType() bool

    HasType returns a boolean if a field has been set.

    hashtag
    GetHref

    func (o *FlowLog) GetHref() string

    GetHref returns the Href field if non-nil, zero value otherwise.

    hashtag
    GetHrefOk

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

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

    hashtag
    SetHref

    func (o *FlowLog) SetHref(v string)

    SetHref sets Href field to given value.

    hashtag
    HasHref

    func (o *FlowLog) HasHref() bool

    HasHref returns a boolean if a field has been set.

    hashtag
    GetMetadata

    func (o *FlowLog) GetMetadata() DatacenterElementMetadata

    GetMetadata returns the Metadata field if non-nil, zero value otherwise.

    hashtag
    GetMetadataOk

    func (o *FlowLog) GetMetadataOk() (*DatacenterElementMetadata, bool)

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

    hashtag
    SetMetadata

    func (o *FlowLog) SetMetadata(v DatacenterElementMetadata)

    SetMetadata sets Metadata field to given value.

    hashtag
    HasMetadata

    func (o *FlowLog) HasMetadata() bool

    HasMetadata returns a boolean if a field has been set.

    hashtag
    GetProperties

    func (o *FlowLog) GetProperties() FlowLogProperties

    GetProperties returns the Properties field if non-nil, zero value otherwise.

    hashtag
    GetPropertiesOk

    func (o *FlowLog) GetPropertiesOk() (*FlowLogProperties, bool)

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

    hashtag
    SetProperties

    func (o *FlowLog) SetProperties(v FlowLogProperties)

    SetProperties sets Properties field to given value.

    Id

    Pointer to string

    The resource's unique identifier.

    [optional] [readonly]

    Location

    string

    Location of that IP block. Property cannot be modified after it is created (disallowed in update requests).

    Size

    int32

    The size of the IP block.

    Name

    Pointer to string

    The name of the resource.

    [optional]

    IpConsumers

    Pointer to

    Read-Only attribute. Lists consumption detail for an individual IP

    [optional] [readonly]

    hashtag
    Methods

    hashtag
    NewIpBlockProperties

    func NewIpBlockProperties(location string, size int32, ) *IpBlockProperties

    NewIpBlockProperties instantiates a new IpBlockProperties 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

    hashtag
    NewIpBlockPropertiesWithDefaults

    func NewIpBlockPropertiesWithDefaults() *IpBlockProperties

    NewIpBlockPropertiesWithDefaults instantiates a new IpBlockProperties 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

    hashtag
    GetIps

    func (o *IpBlockProperties) GetIps() []string

    GetIps returns the Ips field if non-nil, zero value otherwise.

    hashtag
    GetIpsOk

    func (o *IpBlockProperties) GetIpsOk() (*[]string, bool)

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

    hashtag
    SetIps

    func (o *IpBlockProperties) SetIps(v []string)

    SetIps sets Ips field to given value.

    hashtag
    HasIps

    func (o *IpBlockProperties) HasIps() bool

    HasIps returns a boolean if a field has been set.

    hashtag
    GetLocation

    func (o *IpBlockProperties) GetLocation() string

    GetLocation returns the Location field if non-nil, zero value otherwise.

    hashtag
    GetLocationOk

    func (o *IpBlockProperties) GetLocationOk() (*string, bool)

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

    hashtag
    SetLocation

    func (o *IpBlockProperties) SetLocation(v string)

    SetLocation sets Location field to given value.

    hashtag
    GetSize

    func (o *IpBlockProperties) GetSize() int32

    GetSize returns the Size field if non-nil, zero value otherwise.

    hashtag
    GetSizeOk

    func (o *IpBlockProperties) GetSizeOk() (*int32, bool)

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

    hashtag
    SetSize

    func (o *IpBlockProperties) SetSize(v int32)

    SetSize sets Size field to given value.

    hashtag
    GetName

    func (o *IpBlockProperties) GetName() string

    GetName returns the Name field if non-nil, zero value otherwise.

    hashtag
    GetNameOk

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

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

    hashtag
    SetName

    func (o *IpBlockProperties) SetName(v string)

    SetName sets Name field to given value.

    hashtag
    HasName

    func (o *IpBlockProperties) HasName() bool

    HasName returns a boolean if a field has been set.

    hashtag
    GetIpConsumers

    func (o *IpBlockProperties) GetIpConsumers() []IpConsumer

    GetIpConsumers returns the IpConsumers field if non-nil, zero value otherwise.

    hashtag
    GetIpConsumersOk

    func (o *IpBlockProperties) GetIpConsumersOk() (*[]IpConsumer, bool)

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

    hashtag
    SetIpConsumers

    func (o *IpBlockProperties) SetIpConsumers(v []IpConsumer)

    SetIpConsumers sets IpConsumers field to given value.

    hashtag
    HasIpConsumers

    func (o *IpBlockProperties) HasIpConsumers() bool

    HasIpConsumers returns a boolean if a field has been set.

    Ips

    Pointer to []string

    Collection of IPs, associated with the IP Block.

    [optional] [readonly]

    Type

    Pointer to

    The type of the resource.

    [optional]

    Href

    Pointer to string

    URL to the object representation (absolute path).

    [optional] [readonly]

    Items

    Pointer to

    Array of items in the collection.

    [optional] [readonly]

    hashtag
    Methods

    hashtag
    NewGroups

    func NewGroups() *Groups

    NewGroups instantiates a new Groups 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

    hashtag
    NewGroupsWithDefaults

    func NewGroupsWithDefaults() *Groups

    NewGroupsWithDefaults instantiates a new Groups 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

    hashtag
    GetId

    func (o *Groups) GetId() string

    GetId returns the Id field if non-nil, zero value otherwise.

    hashtag
    GetIdOk

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

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

    hashtag
    SetId

    func (o *Groups) SetId(v string)

    SetId sets Id field to given value.

    hashtag
    HasId

    func (o *Groups) HasId() bool

    HasId returns a boolean if a field has been set.

    hashtag
    GetType

    func (o *Groups) GetType() Type

    GetType returns the Type field if non-nil, zero value otherwise.

    hashtag
    GetTypeOk

    func (o *Groups) GetTypeOk() (*Type, bool)

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

    hashtag
    SetType

    func (o *Groups) SetType(v Type)

    SetType sets Type field to given value.

    hashtag
    HasType

    func (o *Groups) HasType() bool

    HasType returns a boolean if a field has been set.

    hashtag
    GetHref

    func (o *Groups) GetHref() string

    GetHref returns the Href field if non-nil, zero value otherwise.

    hashtag
    GetHrefOk

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

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

    hashtag
    SetHref

    func (o *Groups) SetHref(v string)

    SetHref sets Href field to given value.

    hashtag
    HasHref

    func (o *Groups) HasHref() bool

    HasHref returns a boolean if a field has been set.

    hashtag
    GetItems

    func (o *Groups) GetItems() []Group

    GetItems returns the Items field if non-nil, zero value otherwise.

    hashtag
    GetItemsOk

    func (o *Groups) GetItemsOk() (*[]Group, bool)

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

    hashtag
    SetItems

    func (o *Groups) SetItems(v []Group)

    SetItems sets Items field to given value.

    hashtag
    HasItems

    func (o *Groups) HasItems() bool

    HasItems returns a boolean if a field has been set.

    Id

    Pointer to string

    The resource's unique identifier.

    [optional] [readonly]

    Type

    Pointer to

    The type of object that has been created.

    [optional]

    Href

    Pointer to string

    URL to the object representation (absolute path).

    [optional] [readonly]

    Metadata

    Pointer to

    [optional]

    Properties

    hashtag
    Methods

    hashtag
    NewIpBlock

    func NewIpBlock(properties IpBlockProperties, ) *IpBlock

    NewIpBlock instantiates a new IpBlock 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

    hashtag
    NewIpBlockWithDefaults

    func NewIpBlockWithDefaults() *IpBlock

    NewIpBlockWithDefaults instantiates a new IpBlock 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

    hashtag
    GetId

    func (o *IpBlock) GetId() string

    GetId returns the Id field if non-nil, zero value otherwise.

    hashtag
    GetIdOk

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

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

    hashtag
    SetId

    func (o *IpBlock) SetId(v string)

    SetId sets Id field to given value.

    hashtag
    HasId

    func (o *IpBlock) HasId() bool

    HasId returns a boolean if a field has been set.

    hashtag
    GetType

    func (o *IpBlock) GetType() Type

    GetType returns the Type field if non-nil, zero value otherwise.

    hashtag
    GetTypeOk

    func (o *IpBlock) GetTypeOk() (*Type, bool)

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

    hashtag
    SetType

    func (o *IpBlock) SetType(v Type)

    SetType sets Type field to given value.

    hashtag
    HasType

    func (o *IpBlock) HasType() bool

    HasType returns a boolean if a field has been set.

    hashtag
    GetHref

    func (o *IpBlock) GetHref() string

    GetHref returns the Href field if non-nil, zero value otherwise.

    hashtag
    GetHrefOk

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

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

    hashtag
    SetHref

    func (o *IpBlock) SetHref(v string)

    SetHref sets Href field to given value.

    hashtag
    HasHref

    func (o *IpBlock) HasHref() bool

    HasHref returns a boolean if a field has been set.

    hashtag
    GetMetadata

    func (o *IpBlock) GetMetadata() DatacenterElementMetadata

    GetMetadata returns the Metadata field if non-nil, zero value otherwise.

    hashtag
    GetMetadataOk

    func (o *IpBlock) GetMetadataOk() (*DatacenterElementMetadata, bool)

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

    hashtag
    SetMetadata

    func (o *IpBlock) SetMetadata(v DatacenterElementMetadata)

    SetMetadata sets Metadata field to given value.

    hashtag
    HasMetadata

    func (o *IpBlock) HasMetadata() bool

    HasMetadata returns a boolean if a field has been set.

    hashtag
    GetProperties

    func (o *IpBlock) GetProperties() IpBlockProperties

    GetProperties returns the Properties field if non-nil, zero value otherwise.

    hashtag
    GetPropertiesOk

    func (o *IpBlock) GetPropertiesOk() (*IpBlockProperties, bool)

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

    hashtag
    SetProperties

    func (o *IpBlock) SetProperties(v IpBlockProperties)

    SetProperties sets Properties field to given value.

    Id

    Pointer to string

    The resource's unique identifier.

    ApplicationLoadBalancerProperties

    hashtag
    Properties

    Name
    Type
    Description
    Notes

    Name

    string

    hashtag
    Methods

    hashtag
    NewApplicationLoadBalancerProperties

    func NewApplicationLoadBalancerProperties(name string, listenerLan int32, targetLan int32, ) *ApplicationLoadBalancerProperties

    NewApplicationLoadBalancerProperties instantiates a new ApplicationLoadBalancerProperties 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

    hashtag
    NewApplicationLoadBalancerPropertiesWithDefaults

    func NewApplicationLoadBalancerPropertiesWithDefaults() *ApplicationLoadBalancerProperties

    NewApplicationLoadBalancerPropertiesWithDefaults instantiates a new ApplicationLoadBalancerProperties 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

    hashtag
    GetName

    func (o *ApplicationLoadBalancerProperties) GetName() string

    GetName returns the Name field if non-nil, zero value otherwise.

    hashtag
    GetNameOk

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

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

    hashtag
    SetName

    func (o *ApplicationLoadBalancerProperties) SetName(v string)

    SetName sets Name field to given value.

    hashtag
    GetListenerLan

    func (o *ApplicationLoadBalancerProperties) GetListenerLan() int32

    GetListenerLan returns the ListenerLan field if non-nil, zero value otherwise.

    hashtag
    GetListenerLanOk

    func (o *ApplicationLoadBalancerProperties) GetListenerLanOk() (*int32, bool)

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

    hashtag
    SetListenerLan

    func (o *ApplicationLoadBalancerProperties) SetListenerLan(v int32)

    SetListenerLan sets ListenerLan field to given value.

    hashtag
    GetIps

    func (o *ApplicationLoadBalancerProperties) GetIps() []string

    GetIps returns the Ips field if non-nil, zero value otherwise.

    hashtag
    GetIpsOk

    func (o *ApplicationLoadBalancerProperties) GetIpsOk() (*[]string, bool)

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

    hashtag
    SetIps

    func (o *ApplicationLoadBalancerProperties) SetIps(v []string)

    SetIps sets Ips field to given value.

    hashtag
    HasIps

    func (o *ApplicationLoadBalancerProperties) HasIps() bool

    HasIps returns a boolean if a field has been set.

    hashtag
    GetTargetLan

    func (o *ApplicationLoadBalancerProperties) GetTargetLan() int32

    GetTargetLan returns the TargetLan field if non-nil, zero value otherwise.

    hashtag
    GetTargetLanOk

    func (o *ApplicationLoadBalancerProperties) GetTargetLanOk() (*int32, bool)

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

    hashtag
    SetTargetLan

    func (o *ApplicationLoadBalancerProperties) SetTargetLan(v int32)

    SetTargetLan sets TargetLan field to given value.

    hashtag
    GetLbPrivateIps

    func (o *ApplicationLoadBalancerProperties) GetLbPrivateIps() []string

    GetLbPrivateIps returns the LbPrivateIps field if non-nil, zero value otherwise.

    hashtag
    GetLbPrivateIpsOk

    func (o *ApplicationLoadBalancerProperties) GetLbPrivateIpsOk() (*[]string, bool)

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

    hashtag
    SetLbPrivateIps

    func (o *ApplicationLoadBalancerProperties) SetLbPrivateIps(v []string)

    SetLbPrivateIps sets LbPrivateIps field to given value.

    hashtag
    HasLbPrivateIps

    func (o *ApplicationLoadBalancerProperties) HasLbPrivateIps() bool

    HasLbPrivateIps returns a boolean if a field has been set.

    hashtag
    GetCentralLogging

    func (o *ApplicationLoadBalancerProperties) GetCentralLogging() bool

    GetCentralLogging returns the CentralLogging field if non-nil, zero value otherwise.

    hashtag
    GetCentralLoggingOk

    func (o *ApplicationLoadBalancerProperties) GetCentralLoggingOk() (*bool, bool)

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

    hashtag
    SetCentralLogging

    func (o *ApplicationLoadBalancerProperties) SetCentralLogging(v bool)

    SetCentralLogging sets CentralLogging field to given value.

    hashtag
    HasCentralLogging

    func (o *ApplicationLoadBalancerProperties) HasCentralLogging() bool

    HasCentralLogging returns a boolean if a field has been set.

    hashtag
    GetLoggingFormat

    func (o *ApplicationLoadBalancerProperties) GetLoggingFormat() string

    GetLoggingFormat returns the LoggingFormat field if non-nil, zero value otherwise.

    hashtag
    GetLoggingFormatOk

    func (o *ApplicationLoadBalancerProperties) GetLoggingFormatOk() (*string, bool)

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

    hashtag
    SetLoggingFormat

    func (o *ApplicationLoadBalancerProperties) SetLoggingFormat(v string)

    SetLoggingFormat sets LoggingFormat field to given value.

    hashtag
    HasLoggingFormat

    func (o *ApplicationLoadBalancerProperties) HasLoggingFormat() bool

    HasLoggingFormat returns a boolean if a field has been set.

    ApplicationLoadBalancerForwardingRuleProperties

    hashtag
    Properties

    Name
    Type
    Description
    Notes

    Name

    string

    hashtag
    Methods

    hashtag
    NewApplicationLoadBalancerForwardingRuleProperties

    func NewApplicationLoadBalancerForwardingRuleProperties(name string, protocol string, listenerIp string, listenerPort int32, ) *ApplicationLoadBalancerForwardingRuleProperties

    NewApplicationLoadBalancerForwardingRuleProperties instantiates a new ApplicationLoadBalancerForwardingRuleProperties 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

    hashtag
    NewApplicationLoadBalancerForwardingRulePropertiesWithDefaults

    func NewApplicationLoadBalancerForwardingRulePropertiesWithDefaults() *ApplicationLoadBalancerForwardingRuleProperties

    NewApplicationLoadBalancerForwardingRulePropertiesWithDefaults instantiates a new ApplicationLoadBalancerForwardingRuleProperties 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

    hashtag
    GetName

    func (o *ApplicationLoadBalancerForwardingRuleProperties) GetName() string

    GetName returns the Name field if non-nil, zero value otherwise.

    hashtag
    GetNameOk

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

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

    hashtag
    SetName

    func (o *ApplicationLoadBalancerForwardingRuleProperties) SetName(v string)

    SetName sets Name field to given value.

    hashtag
    GetProtocol

    func (o *ApplicationLoadBalancerForwardingRuleProperties) GetProtocol() string

    GetProtocol returns the Protocol field if non-nil, zero value otherwise.

    hashtag
    GetProtocolOk

    func (o *ApplicationLoadBalancerForwardingRuleProperties) GetProtocolOk() (*string, bool)

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

    hashtag
    SetProtocol

    func (o *ApplicationLoadBalancerForwardingRuleProperties) SetProtocol(v string)

    SetProtocol sets Protocol field to given value.

    hashtag
    GetListenerIp

    func (o *ApplicationLoadBalancerForwardingRuleProperties) GetListenerIp() string

    GetListenerIp returns the ListenerIp field if non-nil, zero value otherwise.

    hashtag
    GetListenerIpOk

    func (o *ApplicationLoadBalancerForwardingRuleProperties) GetListenerIpOk() (*string, bool)

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

    hashtag
    SetListenerIp

    func (o *ApplicationLoadBalancerForwardingRuleProperties) SetListenerIp(v string)

    SetListenerIp sets ListenerIp field to given value.

    hashtag
    GetListenerPort

    func (o *ApplicationLoadBalancerForwardingRuleProperties) GetListenerPort() int32

    GetListenerPort returns the ListenerPort field if non-nil, zero value otherwise.

    hashtag
    GetListenerPortOk

    func (o *ApplicationLoadBalancerForwardingRuleProperties) GetListenerPortOk() (*int32, bool)

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

    hashtag
    SetListenerPort

    func (o *ApplicationLoadBalancerForwardingRuleProperties) SetListenerPort(v int32)

    SetListenerPort sets ListenerPort field to given value.

    hashtag
    GetClientTimeout

    func (o *ApplicationLoadBalancerForwardingRuleProperties) GetClientTimeout() int32

    GetClientTimeout returns the ClientTimeout field if non-nil, zero value otherwise.

    hashtag
    GetClientTimeoutOk

    func (o *ApplicationLoadBalancerForwardingRuleProperties) GetClientTimeoutOk() (*int32, bool)

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

    hashtag
    SetClientTimeout

    func (o *ApplicationLoadBalancerForwardingRuleProperties) SetClientTimeout(v int32)

    SetClientTimeout sets ClientTimeout field to given value.

    hashtag
    HasClientTimeout

    func (o *ApplicationLoadBalancerForwardingRuleProperties) HasClientTimeout() bool

    HasClientTimeout returns a boolean if a field has been set.

    hashtag
    GetServerCertificates

    func (o *ApplicationLoadBalancerForwardingRuleProperties) GetServerCertificates() []string

    GetServerCertificates returns the ServerCertificates field if non-nil, zero value otherwise.

    hashtag
    GetServerCertificatesOk

    func (o *ApplicationLoadBalancerForwardingRuleProperties) GetServerCertificatesOk() (*[]string, bool)

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

    hashtag
    SetServerCertificates

    func (o *ApplicationLoadBalancerForwardingRuleProperties) SetServerCertificates(v []string)

    SetServerCertificates sets ServerCertificates field to given value.

    hashtag
    HasServerCertificates

    func (o *ApplicationLoadBalancerForwardingRuleProperties) HasServerCertificates() bool

    HasServerCertificates returns a boolean if a field has been set.

    hashtag
    GetHttpRules

    func (o *ApplicationLoadBalancerForwardingRuleProperties) GetHttpRules() []ApplicationLoadBalancerHttpRule

    GetHttpRules returns the HttpRules field if non-nil, zero value otherwise.

    hashtag
    GetHttpRulesOk

    func (o *ApplicationLoadBalancerForwardingRuleProperties) GetHttpRulesOk() (*[]ApplicationLoadBalancerHttpRule, bool)

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

    hashtag
    SetHttpRules

    func (o *ApplicationLoadBalancerForwardingRuleProperties) SetHttpRules(v []ApplicationLoadBalancerHttpRule)

    SetHttpRules sets HttpRules field to given value.

    hashtag
    HasHttpRules

    func (o *ApplicationLoadBalancerForwardingRuleProperties) HasHttpRules() bool

    HasHttpRules returns a boolean if a field has been set.

    GroupShares

    hashtag
    Properties

    Name
    Type
    Description
    Notes

    Id

    Pointer to string

    hashtag
    Methods

    hashtag
    NewGroupShares

    func NewGroupShares() *GroupShares

    NewGroupShares instantiates a new GroupShares 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

    hashtag
    NewGroupSharesWithDefaults

    func NewGroupSharesWithDefaults() *GroupShares

    NewGroupSharesWithDefaults instantiates a new GroupShares 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

    hashtag
    GetId

    func (o *GroupShares) GetId() string

    GetId returns the Id field if non-nil, zero value otherwise.

    hashtag
    GetIdOk

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

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

    hashtag
    SetId

    func (o *GroupShares) SetId(v string)

    SetId sets Id field to given value.

    hashtag
    HasId

    func (o *GroupShares) HasId() bool

    HasId returns a boolean if a field has been set.

    hashtag
    GetType

    func (o *GroupShares) GetType() Type

    GetType returns the Type field if non-nil, zero value otherwise.

    hashtag
    GetTypeOk

    func (o *GroupShares) GetTypeOk() (*Type, bool)

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

    hashtag
    SetType

    func (o *GroupShares) SetType(v Type)

    SetType sets Type field to given value.

    hashtag
    HasType

    func (o *GroupShares) HasType() bool

    HasType returns a boolean if a field has been set.

    hashtag
    GetHref

    func (o *GroupShares) GetHref() string

    GetHref returns the Href field if non-nil, zero value otherwise.

    hashtag
    GetHrefOk

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

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

    hashtag
    SetHref

    func (o *GroupShares) SetHref(v string)

    SetHref sets Href field to given value.

    hashtag
    HasHref

    func (o *GroupShares) HasHref() bool

    HasHref returns a boolean if a field has been set.

    hashtag
    GetItems

    func (o *GroupShares) GetItems() []GroupShare

    GetItems returns the Items field if non-nil, zero value otherwise.

    hashtag
    GetItemsOk

    func (o *GroupShares) GetItemsOk() (*[]GroupShare, bool)

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

    hashtag
    SetItems

    func (o *GroupShares) SetItems(v []GroupShare)

    SetItems sets Items field to given value.

    hashtag
    HasItems

    func (o *GroupShares) HasItems() bool

    HasItems returns a boolean if a field has been set.

    FlowLogPut

    hashtag
    Properties

    Name
    Type
    Description
    Notes

    Id

    Pointer to string

    hashtag
    Methods

    hashtag
    NewFlowLogPut

    func NewFlowLogPut(properties FlowLogProperties, ) *FlowLogPut

    NewFlowLogPut instantiates a new FlowLogPut 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

    hashtag
    NewFlowLogPutWithDefaults

    func NewFlowLogPutWithDefaults() *FlowLogPut

    NewFlowLogPutWithDefaults instantiates a new FlowLogPut 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

    hashtag
    GetId

    func (o *FlowLogPut) GetId() string

    GetId returns the Id field if non-nil, zero value otherwise.

    hashtag
    GetIdOk

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

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

    hashtag
    SetId

    func (o *FlowLogPut) SetId(v string)

    SetId sets Id field to given value.

    hashtag
    HasId

    func (o *FlowLogPut) HasId() bool

    HasId returns a boolean if a field has been set.

    hashtag
    GetType

    func (o *FlowLogPut) GetType() Type

    GetType returns the Type field if non-nil, zero value otherwise.

    hashtag
    GetTypeOk

    func (o *FlowLogPut) GetTypeOk() (*Type, bool)

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

    hashtag
    SetType

    func (o *FlowLogPut) SetType(v Type)

    SetType sets Type field to given value.

    hashtag
    HasType

    func (o *FlowLogPut) HasType() bool

    HasType returns a boolean if a field has been set.

    hashtag
    GetHref

    func (o *FlowLogPut) GetHref() string

    GetHref returns the Href field if non-nil, zero value otherwise.

    hashtag
    GetHrefOk

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

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

    hashtag
    SetHref

    func (o *FlowLogPut) SetHref(v string)

    SetHref sets Href field to given value.

    hashtag
    HasHref

    func (o *FlowLogPut) HasHref() bool

    HasHref returns a boolean if a field has been set.

    hashtag
    GetProperties

    func (o *FlowLogPut) GetProperties() FlowLogProperties

    GetProperties returns the Properties field if non-nil, zero value otherwise.

    hashtag
    GetPropertiesOk

    func (o *FlowLogPut) GetPropertiesOk() (*FlowLogProperties, bool)

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

    hashtag
    SetProperties

    func (o *FlowLogPut) SetProperties(v FlowLogProperties)

    SetProperties sets Properties field to given value.

    GroupEntities

    hashtag
    Properties

    Name
    Type
    Description
    Notes

    Users

    Pointer to

    hashtag
    Methods

    hashtag
    NewGroupEntities

    func NewGroupEntities() *GroupEntities

    NewGroupEntities instantiates a new GroupEntities 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

    hashtag
    NewGroupEntitiesWithDefaults

    func NewGroupEntitiesWithDefaults() *GroupEntities

    NewGroupEntitiesWithDefaults instantiates a new GroupEntities 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

    hashtag
    GetUsers

    func (o *GroupEntities) GetUsers() GroupMembers

    GetUsers returns the Users field if non-nil, zero value otherwise.

    hashtag
    GetUsersOk

    func (o *GroupEntities) GetUsersOk() (*GroupMembers, bool)

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

    hashtag
    SetUsers

    func (o *GroupEntities) SetUsers(v GroupMembers)

    SetUsers sets Users field to given value.

    hashtag
    HasUsers

    func (o *GroupEntities) HasUsers() bool

    HasUsers returns a boolean if a field has been set.

    hashtag
    GetResources

    func (o *GroupEntities) GetResources() ResourceGroups

    GetResources returns the Resources field if non-nil, zero value otherwise.

    hashtag
    GetResourcesOk

    func (o *GroupEntities) GetResourcesOk() (*ResourceGroups, bool)

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

    hashtag
    SetResources

    func (o *GroupEntities) SetResources(v ResourceGroups)

    SetResources sets Resources field to given value.

    hashtag
    HasResources

    func (o *GroupEntities) HasResources() bool

    HasResources returns a boolean if a field has been set.

    ApplicationLoadBalancerHttpRule

    hashtag
    Properties

    Name
    Type
    Description
    Notes

    ApplicationLoadBalancers

    hashtag
    Properties

    Name
    Type
    Description
    Notes

    Cdroms

    hashtag
    Properties

    Name
    Type
    Description
    Notes

    DatacenterPropertiesPost

    hashtag
    Properties

    Name
    Type
    Description
    Notes

    GroupMembers

    hashtag
    Properties

    Name
    Type
    Description
    Notes

    Image

    hashtag
    Properties

    Name
    Type
    Description
    Notes

    KubernetesClusterPropertiesForPut

    hashtag
    Properties

    Name
    Type
    Description
    Notes

    KubernetesCluster

    hashtag
    Properties

    Name
    Type
    Description
    Notes

    The Application Load Balancer name.

    ListenerLan

    int32

    The ID of the listening (inbound) LAN.

    Ips

    Pointer to []string

    Collection of the Application Load Balancer IP addresses. (Inbound and outbound) IPs of the 'listenerLan' are customer-reserved public IPs for the public load balancers, and private IPs for the private load balancers.

    [optional]

    TargetLan

    int32

    The ID of the balanced private target LAN (outbound).

    LbPrivateIps

    Pointer to []string

    Collection of private IP addresses with the subnet mask of the Application Load Balancer. IPs must contain valid a subnet mask. If no IP is provided, the system will generate an IP with /24 subnet.

    [optional]

    CentralLogging

    Pointer to bool

    Turn logging on and off for this product. Default value is 'false'.

    [optional]

    LoggingFormat

    Pointer to string

    Specifies the format of the logs.

    [optional]

    The name of the Application Load Balancer forwarding rule.

    Protocol

    string

    The balancing protocol.

    ListenerIp

    string

    The listening (inbound) IP.

    ListenerPort

    int32

    The listening (inbound) port number; the valid range is 1 to 65535.

    ClientTimeout

    Pointer to int32

    The maximum time in milliseconds to wait for the client to acknowledge or send data; default is 50,000 (50 seconds).

    [optional]

    ServerCertificates

    Pointer to []string

    Array of items in the collection.

    [optional]

    HttpRules

    Pointer to []ApplicationLoadBalancerHttpRule

    An array of items in the collection. The original order of rules is preserved during processing, except that rules of the 'FORWARD' type are processed after the rules with other defined actions. The relative order of the 'FORWARD' type rules is also preserved during the processing.

    [optional]

    The resource's unique identifier.

    [optional] [readonly]

    Type

    Pointer to Type

    Share representing groups and resource relationship

    [optional]

    Href

    Pointer to string

    URL to the object representation (absolute path).

    [optional] [readonly]

    Items

    Pointer to []GroupShare

    Array of items in the collection.

    [optional] [readonly]

    The resource's unique identifier.

    [optional] [readonly]

    Type

    Pointer to Type

    The type of object that has been created.

    [optional]

    Href

    Pointer to string

    URL to the object representation (absolute path).

    [optional] [readonly]

    Properties

    FlowLogProperties

    Type
    ApplicationLoadBalancerProperties
    DatacenterElementMetadata
    BackupUnitProperties
    []BackupUnit
    Type
    DatacenterElementMetadata
    DatacenterProperties
    DataCenterEntities
    Type
    DatacenterElementMetadata
    FirewallruleProperties
    Type
    GroupProperties
    GroupEntities
    Type
    GroupShareProperties
    Type
    []Group
    Type
    DatacenterElementMetadata
    FlowLogProperties
    []IpConsumer
    Type
    []Group
    Type
    DatacenterElementMetadata
    IpBlockProperties

    [optional]

    Resources

    Pointer to ResourceGroups

    [optional]

    GroupMembers

    Type

    string

    The HTTP rule type.

    TargetGroup

    Pointer to string

    The ID of the target group; this parameter is mandatory and is valid only for 'FORWARD' actions.

    [optional]

    DropQuery

    Pointer to bool

    Indicates whether the query part of the URI should be dropped and is valid only for 'REDIRECT' actions. Default value is 'FALSE', the redirect URI does not contain any query parameters.

    [optional]

    Location

    Pointer to string

    The location for the redirection; this parameter is mandatory and valid only for 'REDIRECT' actions.

    [optional]

    StatusCode

    Pointer to int32

    The status code is for 'REDIRECT' and 'STATIC' actions only. If the HTTP rule is 'REDIRECT' the valid values are: 301, 302, 303, 307, 308; default value is '301'. If the HTTP rule is 'STATIC' the valid values are from the range 200-599; default value is '503'.

    [optional]

    ResponseMessage

    Pointer to string

    The response message of the request; this parameter is mandatory for 'STATIC' actions.

    [optional]

    ContentType

    Pointer to string

    Specifies the content type and is valid only for 'STATIC' actions.

    [optional]

    Conditions

    Pointer to

    An array of items in the collection. The action will be executed only if each condition is met; the rule will always be applied if no conditions are set.

    [optional]

    hashtag
    Methods

    hashtag
    NewApplicationLoadBalancerHttpRule

    func NewApplicationLoadBalancerHttpRule(name string, type_ string, ) *ApplicationLoadBalancerHttpRule

    NewApplicationLoadBalancerHttpRule instantiates a new ApplicationLoadBalancerHttpRule 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

    hashtag
    NewApplicationLoadBalancerHttpRuleWithDefaults

    func NewApplicationLoadBalancerHttpRuleWithDefaults() *ApplicationLoadBalancerHttpRule

    NewApplicationLoadBalancerHttpRuleWithDefaults instantiates a new ApplicationLoadBalancerHttpRule 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

    hashtag
    GetName

    func (o *ApplicationLoadBalancerHttpRule) GetName() string

    GetName returns the Name field if non-nil, zero value otherwise.

    hashtag
    GetNameOk

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

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

    hashtag
    SetName

    func (o *ApplicationLoadBalancerHttpRule) SetName(v string)

    SetName sets Name field to given value.

    hashtag
    GetType

    func (o *ApplicationLoadBalancerHttpRule) GetType() string

    GetType returns the Type field if non-nil, zero value otherwise.

    hashtag
    GetTypeOk

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

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

    hashtag
    SetType

    func (o *ApplicationLoadBalancerHttpRule) SetType(v string)

    SetType sets Type field to given value.

    hashtag
    GetTargetGroup

    func (o *ApplicationLoadBalancerHttpRule) GetTargetGroup() string

    GetTargetGroup returns the TargetGroup field if non-nil, zero value otherwise.

    hashtag
    GetTargetGroupOk

    func (o *ApplicationLoadBalancerHttpRule) GetTargetGroupOk() (*string, bool)

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

    hashtag
    SetTargetGroup

    func (o *ApplicationLoadBalancerHttpRule) SetTargetGroup(v string)

    SetTargetGroup sets TargetGroup field to given value.

    hashtag
    HasTargetGroup

    func (o *ApplicationLoadBalancerHttpRule) HasTargetGroup() bool

    HasTargetGroup returns a boolean if a field has been set.

    hashtag
    GetDropQuery

    func (o *ApplicationLoadBalancerHttpRule) GetDropQuery() bool

    GetDropQuery returns the DropQuery field if non-nil, zero value otherwise.

    hashtag
    GetDropQueryOk

    func (o *ApplicationLoadBalancerHttpRule) GetDropQueryOk() (*bool, bool)

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

    hashtag
    SetDropQuery

    func (o *ApplicationLoadBalancerHttpRule) SetDropQuery(v bool)

    SetDropQuery sets DropQuery field to given value.

    hashtag
    HasDropQuery

    func (o *ApplicationLoadBalancerHttpRule) HasDropQuery() bool

    HasDropQuery returns a boolean if a field has been set.

    hashtag
    GetLocation

    func (o *ApplicationLoadBalancerHttpRule) GetLocation() string

    GetLocation returns the Location field if non-nil, zero value otherwise.

    hashtag
    GetLocationOk

    func (o *ApplicationLoadBalancerHttpRule) GetLocationOk() (*string, bool)

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

    hashtag
    SetLocation

    func (o *ApplicationLoadBalancerHttpRule) SetLocation(v string)

    SetLocation sets Location field to given value.

    hashtag
    HasLocation

    func (o *ApplicationLoadBalancerHttpRule) HasLocation() bool

    HasLocation returns a boolean if a field has been set.

    hashtag
    GetStatusCode

    func (o *ApplicationLoadBalancerHttpRule) GetStatusCode() int32

    GetStatusCode returns the StatusCode field if non-nil, zero value otherwise.

    hashtag
    GetStatusCodeOk

    func (o *ApplicationLoadBalancerHttpRule) GetStatusCodeOk() (*int32, bool)

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

    hashtag
    SetStatusCode

    func (o *ApplicationLoadBalancerHttpRule) SetStatusCode(v int32)

    SetStatusCode sets StatusCode field to given value.

    hashtag
    HasStatusCode

    func (o *ApplicationLoadBalancerHttpRule) HasStatusCode() bool

    HasStatusCode returns a boolean if a field has been set.

    hashtag
    GetResponseMessage

    func (o *ApplicationLoadBalancerHttpRule) GetResponseMessage() string

    GetResponseMessage returns the ResponseMessage field if non-nil, zero value otherwise.

    hashtag
    GetResponseMessageOk

    func (o *ApplicationLoadBalancerHttpRule) GetResponseMessageOk() (*string, bool)

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

    hashtag
    SetResponseMessage

    func (o *ApplicationLoadBalancerHttpRule) SetResponseMessage(v string)

    SetResponseMessage sets ResponseMessage field to given value.

    hashtag
    HasResponseMessage

    func (o *ApplicationLoadBalancerHttpRule) HasResponseMessage() bool

    HasResponseMessage returns a boolean if a field has been set.

    hashtag
    GetContentType

    func (o *ApplicationLoadBalancerHttpRule) GetContentType() string

    GetContentType returns the ContentType field if non-nil, zero value otherwise.

    hashtag
    GetContentTypeOk

    func (o *ApplicationLoadBalancerHttpRule) GetContentTypeOk() (*string, bool)

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

    hashtag
    SetContentType

    func (o *ApplicationLoadBalancerHttpRule) SetContentType(v string)

    SetContentType sets ContentType field to given value.

    hashtag
    HasContentType

    func (o *ApplicationLoadBalancerHttpRule) HasContentType() bool

    HasContentType returns a boolean if a field has been set.

    hashtag
    GetConditions

    func (o *ApplicationLoadBalancerHttpRule) GetConditions() []ApplicationLoadBalancerHttpRuleCondition

    GetConditions returns the Conditions field if non-nil, zero value otherwise.

    hashtag
    GetConditionsOk

    func (o *ApplicationLoadBalancerHttpRule) GetConditionsOk() (*[]ApplicationLoadBalancerHttpRuleCondition, bool)

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

    hashtag
    SetConditions

    func (o *ApplicationLoadBalancerHttpRule) SetConditions(v []ApplicationLoadBalancerHttpRuleCondition)

    SetConditions sets Conditions field to given value.

    hashtag
    HasConditions

    func (o *ApplicationLoadBalancerHttpRule) HasConditions() bool

    HasConditions returns a boolean if a field has been set.

    Name

    string

    The unique name of the Application Load Balancer HTTP rule.

    [optional] [readonly]

    Type

    Pointer to

    The type of object that has been created.

    [optional]

    Href

    Pointer to string

    The URL to the object representation (absolute path).

    [optional] [readonly]

    Items

    Pointer to

    Array of items in the collection.

    [optional] [readonly]

    Offset

    Pointer to float32

    The offset (if specified in the request).

    [optional]

    Limit

    Pointer to float32

    The limit (if specified in the request).

    [optional]

    Links

    Pointer to

    [optional]

    hashtag
    Methods

    hashtag
    NewApplicationLoadBalancers

    func NewApplicationLoadBalancers() *ApplicationLoadBalancers

    NewApplicationLoadBalancers instantiates a new ApplicationLoadBalancers 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

    hashtag
    NewApplicationLoadBalancersWithDefaults

    func NewApplicationLoadBalancersWithDefaults() *ApplicationLoadBalancers

    NewApplicationLoadBalancersWithDefaults instantiates a new ApplicationLoadBalancers 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

    hashtag
    GetId

    func (o *ApplicationLoadBalancers) GetId() string

    GetId returns the Id field if non-nil, zero value otherwise.

    hashtag
    GetIdOk

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

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

    hashtag
    SetId

    func (o *ApplicationLoadBalancers) SetId(v string)

    SetId sets Id field to given value.

    hashtag
    HasId

    func (o *ApplicationLoadBalancers) HasId() bool

    HasId returns a boolean if a field has been set.

    hashtag
    GetType

    func (o *ApplicationLoadBalancers) GetType() Type

    GetType returns the Type field if non-nil, zero value otherwise.

    hashtag
    GetTypeOk

    func (o *ApplicationLoadBalancers) GetTypeOk() (*Type, bool)

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

    hashtag
    SetType

    func (o *ApplicationLoadBalancers) SetType(v Type)

    SetType sets Type field to given value.

    hashtag
    HasType

    func (o *ApplicationLoadBalancers) HasType() bool

    HasType returns a boolean if a field has been set.

    hashtag
    GetHref

    func (o *ApplicationLoadBalancers) GetHref() string

    GetHref returns the Href field if non-nil, zero value otherwise.

    hashtag
    GetHrefOk

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

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

    hashtag
    SetHref

    func (o *ApplicationLoadBalancers) SetHref(v string)

    SetHref sets Href field to given value.

    hashtag
    HasHref

    func (o *ApplicationLoadBalancers) HasHref() bool

    HasHref returns a boolean if a field has been set.

    hashtag
    GetItems

    func (o *ApplicationLoadBalancers) GetItems() []ApplicationLoadBalancer

    GetItems returns the Items field if non-nil, zero value otherwise.

    hashtag
    GetItemsOk

    func (o *ApplicationLoadBalancers) GetItemsOk() (*[]ApplicationLoadBalancer, bool)

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

    hashtag
    SetItems

    func (o *ApplicationLoadBalancers) SetItems(v []ApplicationLoadBalancer)

    SetItems sets Items field to given value.

    hashtag
    HasItems

    func (o *ApplicationLoadBalancers) HasItems() bool

    HasItems returns a boolean if a field has been set.

    hashtag
    GetOffset

    func (o *ApplicationLoadBalancers) GetOffset() float32

    GetOffset returns the Offset field if non-nil, zero value otherwise.

    hashtag
    GetOffsetOk

    func (o *ApplicationLoadBalancers) GetOffsetOk() (*float32, bool)

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

    hashtag
    SetOffset

    func (o *ApplicationLoadBalancers) SetOffset(v float32)

    SetOffset sets Offset field to given value.

    hashtag
    HasOffset

    func (o *ApplicationLoadBalancers) HasOffset() bool

    HasOffset returns a boolean if a field has been set.

    hashtag
    GetLimit

    func (o *ApplicationLoadBalancers) GetLimit() float32

    GetLimit returns the Limit field if non-nil, zero value otherwise.

    hashtag
    GetLimitOk

    func (o *ApplicationLoadBalancers) GetLimitOk() (*float32, bool)

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

    hashtag
    SetLimit

    func (o *ApplicationLoadBalancers) SetLimit(v float32)

    SetLimit sets Limit field to given value.

    hashtag
    HasLimit

    func (o *ApplicationLoadBalancers) HasLimit() bool

    HasLimit returns a boolean if a field has been set.

    hashtag
    GetLinks

    func (o *ApplicationLoadBalancers) GetLinks() PaginationLinks

    GetLinks returns the Links field if non-nil, zero value otherwise.

    hashtag
    GetLinksOk

    func (o *ApplicationLoadBalancers) GetLinksOk() (*PaginationLinks, bool)

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

    hashtag
    SetLinks

    func (o *ApplicationLoadBalancers) SetLinks(v PaginationLinks)

    SetLinks sets Links field to given value.

    hashtag
    HasLinks

    func (o *ApplicationLoadBalancers) HasLinks() bool

    HasLinks returns a boolean if a field has been set.

    Id

    Pointer to string

    The resource's unique identifier.

    [optional] [readonly]

    Type

    Pointer to

    The type of object that has been created.

    [optional]

    Href

    Pointer to string

    URL to the object representation (absolute path).

    [optional] [readonly]

    Items

    Pointer to

    Array of items in the collection.

    [optional]

    Offset

    Pointer to float32

    The offset (if specified in the request).

    [optional]

    Limit

    Pointer to float32

    The limit (if specified in the request).

    [optional]

    Links

    Pointer to

    [optional]

    hashtag
    Methods

    hashtag
    NewCdroms

    func NewCdroms() *Cdroms

    NewCdroms instantiates a new Cdroms 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

    hashtag
    NewCdromsWithDefaults

    func NewCdromsWithDefaults() *Cdroms

    NewCdromsWithDefaults instantiates a new Cdroms 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

    hashtag
    GetId

    func (o *Cdroms) GetId() string

    GetId returns the Id field if non-nil, zero value otherwise.

    hashtag
    GetIdOk

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

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

    hashtag
    SetId

    func (o *Cdroms) SetId(v string)

    SetId sets Id field to given value.

    hashtag
    HasId

    func (o *Cdroms) HasId() bool

    HasId returns a boolean if a field has been set.

    hashtag
    GetType

    func (o *Cdroms) GetType() Type

    GetType returns the Type field if non-nil, zero value otherwise.

    hashtag
    GetTypeOk

    func (o *Cdroms) GetTypeOk() (*Type, bool)

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

    hashtag
    SetType

    func (o *Cdroms) SetType(v Type)

    SetType sets Type field to given value.

    hashtag
    HasType

    func (o *Cdroms) HasType() bool

    HasType returns a boolean if a field has been set.

    hashtag
    GetHref

    func (o *Cdroms) GetHref() string

    GetHref returns the Href field if non-nil, zero value otherwise.

    hashtag
    GetHrefOk

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

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

    hashtag
    SetHref

    func (o *Cdroms) SetHref(v string)

    SetHref sets Href field to given value.

    hashtag
    HasHref

    func (o *Cdroms) HasHref() bool

    HasHref returns a boolean if a field has been set.

    hashtag
    GetItems

    func (o *Cdroms) GetItems() []Image

    GetItems returns the Items field if non-nil, zero value otherwise.

    hashtag
    GetItemsOk

    func (o *Cdroms) GetItemsOk() (*[]Image, bool)

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

    hashtag
    SetItems

    func (o *Cdroms) SetItems(v []Image)

    SetItems sets Items field to given value.

    hashtag
    HasItems

    func (o *Cdroms) HasItems() bool

    HasItems returns a boolean if a field has been set.

    hashtag
    GetOffset

    func (o *Cdroms) GetOffset() float32

    GetOffset returns the Offset field if non-nil, zero value otherwise.

    hashtag
    GetOffsetOk

    func (o *Cdroms) GetOffsetOk() (*float32, bool)

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

    hashtag
    SetOffset

    func (o *Cdroms) SetOffset(v float32)

    SetOffset sets Offset field to given value.

    hashtag
    HasOffset

    func (o *Cdroms) HasOffset() bool

    HasOffset returns a boolean if a field has been set.

    hashtag
    GetLimit

    func (o *Cdroms) GetLimit() float32

    GetLimit returns the Limit field if non-nil, zero value otherwise.

    hashtag
    GetLimitOk

    func (o *Cdroms) GetLimitOk() (*float32, bool)

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

    hashtag
    SetLimit

    func (o *Cdroms) SetLimit(v float32)

    SetLimit sets Limit field to given value.

    hashtag
    HasLimit

    func (o *Cdroms) HasLimit() bool

    HasLimit returns a boolean if a field has been set.

    hashtag
    GetLinks

    func (o *Cdroms) GetLinks() PaginationLinks

    GetLinks returns the Links field if non-nil, zero value otherwise.

    hashtag
    GetLinksOk

    func (o *Cdroms) GetLinksOk() (*PaginationLinks, bool)

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

    hashtag
    SetLinks

    func (o *Cdroms) SetLinks(v PaginationLinks)

    SetLinks sets Links field to given value.

    hashtag
    HasLinks

    func (o *Cdroms) HasLinks() bool

    HasLinks returns a boolean if a field has been set.

    Id

    Pointer to string

    The resource's unique identifier.

    [optional]

    Description

    Pointer to string

    A description for the datacenter, such as staging, production.

    [optional]

    Location

    string

    The physical location where the datacenter will be created. This will be where all of your servers live. Property cannot be modified after datacenter creation (disallowed in update requests).

    Version

    Pointer to int32

    The version of the data center; incremented with every change.

    [optional] [readonly]

    Features

    Pointer to []string

    List of features supported by the location where this data center is provisioned.

    [optional] [readonly]

    SecAuthProtection

    Pointer to bool

    Boolean value representing if the data center requires extra protection, such as two-step verification.

    [optional]

    CpuArchitecture

    Pointer to

    Array of features and CPU families available in a location

    [optional] [readonly]

    CreateDefaultSecurityGroup

    Pointer to bool

    If true, a default security group, with predefined rules, will be created for the datacenter. Default value is false.

    [optional]

    hashtag
    Methods

    hashtag
    NewDatacenterPropertiesPost

    func NewDatacenterPropertiesPost(location string, ) *DatacenterPropertiesPost

    NewDatacenterPropertiesPost instantiates a new DatacenterPropertiesPost 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

    hashtag
    NewDatacenterPropertiesPostWithDefaults

    func NewDatacenterPropertiesPostWithDefaults() *DatacenterPropertiesPost

    NewDatacenterPropertiesPostWithDefaults instantiates a new DatacenterPropertiesPost 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

    hashtag
    GetName

    func (o *DatacenterPropertiesPost) GetName() string

    GetName returns the Name field if non-nil, zero value otherwise.

    hashtag
    GetNameOk

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

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

    hashtag
    SetName

    func (o *DatacenterPropertiesPost) SetName(v string)

    SetName sets Name field to given value.

    hashtag
    HasName

    func (o *DatacenterPropertiesPost) HasName() bool

    HasName returns a boolean if a field has been set.

    hashtag
    GetDescription

    func (o *DatacenterPropertiesPost) GetDescription() string

    GetDescription returns the Description field if non-nil, zero value otherwise.

    hashtag
    GetDescriptionOk

    func (o *DatacenterPropertiesPost) GetDescriptionOk() (*string, bool)

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

    hashtag
    SetDescription

    func (o *DatacenterPropertiesPost) SetDescription(v string)

    SetDescription sets Description field to given value.

    hashtag
    HasDescription

    func (o *DatacenterPropertiesPost) HasDescription() bool

    HasDescription returns a boolean if a field has been set.

    hashtag
    GetLocation

    func (o *DatacenterPropertiesPost) GetLocation() string

    GetLocation returns the Location field if non-nil, zero value otherwise.

    hashtag
    GetLocationOk

    func (o *DatacenterPropertiesPost) GetLocationOk() (*string, bool)

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

    hashtag
    SetLocation

    func (o *DatacenterPropertiesPost) SetLocation(v string)

    SetLocation sets Location field to given value.

    hashtag
    GetVersion

    func (o *DatacenterPropertiesPost) GetVersion() int32

    GetVersion returns the Version field if non-nil, zero value otherwise.

    hashtag
    GetVersionOk

    func (o *DatacenterPropertiesPost) GetVersionOk() (*int32, bool)

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

    hashtag
    SetVersion

    func (o *DatacenterPropertiesPost) SetVersion(v int32)

    SetVersion sets Version field to given value.

    hashtag
    HasVersion

    func (o *DatacenterPropertiesPost) HasVersion() bool

    HasVersion returns a boolean if a field has been set.

    hashtag
    GetFeatures

    func (o *DatacenterPropertiesPost) GetFeatures() []string

    GetFeatures returns the Features field if non-nil, zero value otherwise.

    hashtag
    GetFeaturesOk

    func (o *DatacenterPropertiesPost) GetFeaturesOk() (*[]string, bool)

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

    hashtag
    SetFeatures

    func (o *DatacenterPropertiesPost) SetFeatures(v []string)

    SetFeatures sets Features field to given value.

    hashtag
    HasFeatures

    func (o *DatacenterPropertiesPost) HasFeatures() bool

    HasFeatures returns a boolean if a field has been set.

    hashtag
    GetSecAuthProtection

    func (o *DatacenterPropertiesPost) GetSecAuthProtection() bool

    GetSecAuthProtection returns the SecAuthProtection field if non-nil, zero value otherwise.

    hashtag
    GetSecAuthProtectionOk

    func (o *DatacenterPropertiesPost) GetSecAuthProtectionOk() (*bool, bool)

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

    hashtag
    SetSecAuthProtection

    func (o *DatacenterPropertiesPost) SetSecAuthProtection(v bool)

    SetSecAuthProtection sets SecAuthProtection field to given value.

    hashtag
    HasSecAuthProtection

    func (o *DatacenterPropertiesPost) HasSecAuthProtection() bool

    HasSecAuthProtection returns a boolean if a field has been set.

    hashtag
    GetCpuArchitecture

    func (o *DatacenterPropertiesPost) GetCpuArchitecture() []CpuArchitectureProperties

    GetCpuArchitecture returns the CpuArchitecture field if non-nil, zero value otherwise.

    hashtag
    GetCpuArchitectureOk

    func (o *DatacenterPropertiesPost) GetCpuArchitectureOk() (*[]CpuArchitectureProperties, bool)

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

    hashtag
    SetCpuArchitecture

    func (o *DatacenterPropertiesPost) SetCpuArchitecture(v []CpuArchitectureProperties)

    SetCpuArchitecture sets CpuArchitecture field to given value.

    hashtag
    HasCpuArchitecture

    func (o *DatacenterPropertiesPost) HasCpuArchitecture() bool

    HasCpuArchitecture returns a boolean if a field has been set.

    hashtag
    GetCreateDefaultSecurityGroup

    func (o *DatacenterPropertiesPost) GetCreateDefaultSecurityGroup() bool

    GetCreateDefaultSecurityGroup returns the CreateDefaultSecurityGroup field if non-nil, zero value otherwise.

    hashtag
    GetCreateDefaultSecurityGroupOk

    func (o *DatacenterPropertiesPost) GetCreateDefaultSecurityGroupOk() (*bool, bool)

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

    hashtag
    SetCreateDefaultSecurityGroup

    func (o *DatacenterPropertiesPost) SetCreateDefaultSecurityGroup(v bool)

    SetCreateDefaultSecurityGroup sets CreateDefaultSecurityGroup field to given value.

    hashtag
    HasCreateDefaultSecurityGroup

    func (o *DatacenterPropertiesPost) HasCreateDefaultSecurityGroup() bool

    HasCreateDefaultSecurityGroup returns a boolean if a field has been set.

    Name

    Pointer to string

    The name of the resource.

    [optional] [readonly]

    Type

    Pointer to

    The type of object that has been created.

    [optional]

    Href

    Pointer to string

    URL to the object representation (absolute path).

    [optional] [readonly]

    Items

    Pointer to

    Array of items in the collection.

    [optional] [readonly]

    hashtag
    Methods

    hashtag
    NewGroupMembers

    func NewGroupMembers() *GroupMembers

    NewGroupMembers instantiates a new GroupMembers 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

    hashtag
    NewGroupMembersWithDefaults

    func NewGroupMembersWithDefaults() *GroupMembers

    NewGroupMembersWithDefaults instantiates a new GroupMembers 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

    hashtag
    GetId

    func (o *GroupMembers) GetId() string

    GetId returns the Id field if non-nil, zero value otherwise.

    hashtag
    GetIdOk

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

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

    hashtag
    SetId

    func (o *GroupMembers) SetId(v string)

    SetId sets Id field to given value.

    hashtag
    HasId

    func (o *GroupMembers) HasId() bool

    HasId returns a boolean if a field has been set.

    hashtag
    GetType

    func (o *GroupMembers) GetType() Type

    GetType returns the Type field if non-nil, zero value otherwise.

    hashtag
    GetTypeOk

    func (o *GroupMembers) GetTypeOk() (*Type, bool)

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

    hashtag
    SetType

    func (o *GroupMembers) SetType(v Type)

    SetType sets Type field to given value.

    hashtag
    HasType

    func (o *GroupMembers) HasType() bool

    HasType returns a boolean if a field has been set.

    hashtag
    GetHref

    func (o *GroupMembers) GetHref() string

    GetHref returns the Href field if non-nil, zero value otherwise.

    hashtag
    GetHrefOk

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

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

    hashtag
    SetHref

    func (o *GroupMembers) SetHref(v string)

    SetHref sets Href field to given value.

    hashtag
    HasHref

    func (o *GroupMembers) HasHref() bool

    HasHref returns a boolean if a field has been set.

    hashtag
    GetItems

    func (o *GroupMembers) GetItems() []User

    GetItems returns the Items field if non-nil, zero value otherwise.

    hashtag
    GetItemsOk

    func (o *GroupMembers) GetItemsOk() (*[]User, bool)

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

    hashtag
    SetItems

    func (o *GroupMembers) SetItems(v []User)

    SetItems sets Items field to given value.

    hashtag
    HasItems

    func (o *GroupMembers) HasItems() bool

    HasItems returns a boolean if a field has been set.

    Id

    Pointer to string

    The resource's unique identifier.

    [optional] [readonly]

    Type

    Pointer to

    The type of object that has been created.

    [optional]

    Href

    Pointer to string

    URL to the object representation (absolute path).

    [optional] [readonly]

    Metadata

    Pointer to

    [optional]

    Properties

    hashtag
    Methods

    hashtag
    NewImage

    func NewImage(properties ImageProperties, ) *Image

    NewImage instantiates a new Image 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

    hashtag
    NewImageWithDefaults

    func NewImageWithDefaults() *Image

    NewImageWithDefaults instantiates a new Image 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

    hashtag
    GetId

    func (o *Image) GetId() string

    GetId returns the Id field if non-nil, zero value otherwise.

    hashtag
    GetIdOk

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

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

    hashtag
    SetId

    func (o *Image) SetId(v string)

    SetId sets Id field to given value.

    hashtag
    HasId

    func (o *Image) HasId() bool

    HasId returns a boolean if a field has been set.

    hashtag
    GetType

    func (o *Image) GetType() Type

    GetType returns the Type field if non-nil, zero value otherwise.

    hashtag
    GetTypeOk

    func (o *Image) GetTypeOk() (*Type, bool)

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

    hashtag
    SetType

    func (o *Image) SetType(v Type)

    SetType sets Type field to given value.

    hashtag
    HasType

    func (o *Image) HasType() bool

    HasType returns a boolean if a field has been set.

    hashtag
    GetHref

    func (o *Image) GetHref() string

    GetHref returns the Href field if non-nil, zero value otherwise.

    hashtag
    GetHrefOk

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

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

    hashtag
    SetHref

    func (o *Image) SetHref(v string)

    SetHref sets Href field to given value.

    hashtag
    HasHref

    func (o *Image) HasHref() bool

    HasHref returns a boolean if a field has been set.

    hashtag
    GetMetadata

    func (o *Image) GetMetadata() DatacenterElementMetadata

    GetMetadata returns the Metadata field if non-nil, zero value otherwise.

    hashtag
    GetMetadataOk

    func (o *Image) GetMetadataOk() (*DatacenterElementMetadata, bool)

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

    hashtag
    SetMetadata

    func (o *Image) SetMetadata(v DatacenterElementMetadata)

    SetMetadata sets Metadata field to given value.

    hashtag
    HasMetadata

    func (o *Image) HasMetadata() bool

    HasMetadata returns a boolean if a field has been set.

    hashtag
    GetProperties

    func (o *Image) GetProperties() ImageProperties

    GetProperties returns the Properties field if non-nil, zero value otherwise.

    hashtag
    GetPropertiesOk

    func (o *Image) GetPropertiesOk() (*ImageProperties, bool)

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

    hashtag
    SetProperties

    func (o *Image) SetProperties(v ImageProperties)

    SetProperties sets Properties field to given value.

    Id

    Pointer to string

    The resource's unique identifier.

    K8sVersion

    Pointer to string

    The Kubernetes version that the cluster is running. This limits which Kubernetes versions can run in a cluster's node pools. Also, not all Kubernetes versions are suitable upgrade targets for all earlier versions.

    [optional]

    MaintenanceWindow

    Pointer to

    [optional]

    ApiSubnetAllowList

    Pointer to []string

    Access to the K8s API server is restricted to these CIDRs. Intra-cluster traffic is not affected by this restriction. If no AllowList is specified, access is not limited. If an IP is specified without a subnet mask, the default value is 32 for IPv4 and 128 for IPv6.

    [optional]

    S3Buckets

    Pointer to

    List of Object storage buckets configured for K8s usage. At the moment, it contains only one bucket that is used to store K8s API audit logs.

    [optional]

    hashtag
    Methods

    hashtag
    NewKubernetesClusterPropertiesForPut

    func NewKubernetesClusterPropertiesForPut(name string, ) *KubernetesClusterPropertiesForPut

    NewKubernetesClusterPropertiesForPut instantiates a new KubernetesClusterPropertiesForPut 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

    hashtag
    NewKubernetesClusterPropertiesForPutWithDefaults

    func NewKubernetesClusterPropertiesForPutWithDefaults() *KubernetesClusterPropertiesForPut

    NewKubernetesClusterPropertiesForPutWithDefaults instantiates a new KubernetesClusterPropertiesForPut 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

    hashtag
    GetName

    func (o *KubernetesClusterPropertiesForPut) GetName() string

    GetName returns the Name field if non-nil, zero value otherwise.

    hashtag
    GetNameOk

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

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

    hashtag
    SetName

    func (o *KubernetesClusterPropertiesForPut) SetName(v string)

    SetName sets Name field to given value.

    hashtag
    GetK8sVersion

    func (o *KubernetesClusterPropertiesForPut) GetK8sVersion() string

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

    hashtag
    GetK8sVersionOk

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

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

    hashtag
    SetK8sVersion

    func (o *KubernetesClusterPropertiesForPut) SetK8sVersion(v string)

    SetK8sVersion sets K8sVersion field to given value.

    hashtag
    HasK8sVersion

    func (o *KubernetesClusterPropertiesForPut) HasK8sVersion() bool

    HasK8sVersion returns a boolean if a field has been set.

    hashtag
    GetMaintenanceWindow

    func (o *KubernetesClusterPropertiesForPut) GetMaintenanceWindow() KubernetesMaintenanceWindow

    GetMaintenanceWindow returns the MaintenanceWindow field if non-nil, zero value otherwise.

    hashtag
    GetMaintenanceWindowOk

    func (o *KubernetesClusterPropertiesForPut) GetMaintenanceWindowOk() (*KubernetesMaintenanceWindow, bool)

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

    hashtag
    SetMaintenanceWindow

    func (o *KubernetesClusterPropertiesForPut) SetMaintenanceWindow(v KubernetesMaintenanceWindow)

    SetMaintenanceWindow sets MaintenanceWindow field to given value.

    hashtag
    HasMaintenanceWindow

    func (o *KubernetesClusterPropertiesForPut) HasMaintenanceWindow() bool

    HasMaintenanceWindow returns a boolean if a field has been set.

    hashtag
    GetApiSubnetAllowList

    func (o *KubernetesClusterPropertiesForPut) GetApiSubnetAllowList() []string

    GetApiSubnetAllowList returns the ApiSubnetAllowList field if non-nil, zero value otherwise.

    hashtag
    GetApiSubnetAllowListOk

    func (o *KubernetesClusterPropertiesForPut) GetApiSubnetAllowListOk() (*[]string, bool)

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

    hashtag
    SetApiSubnetAllowList

    func (o *KubernetesClusterPropertiesForPut) SetApiSubnetAllowList(v []string)

    SetApiSubnetAllowList sets ApiSubnetAllowList field to given value.

    hashtag
    HasApiSubnetAllowList

    func (o *KubernetesClusterPropertiesForPut) HasApiSubnetAllowList() bool

    HasApiSubnetAllowList returns a boolean if a field has been set.

    hashtag
    GetS3Buckets

    func (o *KubernetesClusterPropertiesForPut) GetS3Buckets() []S3Bucket

    GetS3Buckets returns the S3Buckets field if non-nil, zero value otherwise.

    hashtag
    GetS3BucketsOk

    func (o *KubernetesClusterPropertiesForPut) GetS3BucketsOk() (*[]S3Bucket, bool)

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

    hashtag
    SetS3Buckets

    func (o *KubernetesClusterPropertiesForPut) SetS3Buckets(v []S3Bucket)

    SetS3Buckets sets S3Buckets field to given value.

    hashtag
    HasS3Buckets

    func (o *KubernetesClusterPropertiesForPut) HasS3Buckets() bool

    HasS3Buckets returns a boolean if a field has been set.

    Name

    string

    A Kubernetes cluster name. Valid Kubernetes cluster name must be 63 characters or less and must be empty or begin and end with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between.

    [optional] [readonly]

    Type

    Pointer to string

    The object type.

    [optional] [readonly]

    Href

    Pointer to string

    The URL to the object representation (absolute path).

    [optional] [readonly]

    Metadata

    Pointer to

    [optional]

    Properties

    Entities

    Pointer to

    [optional]

    hashtag
    Methods

    hashtag
    NewKubernetesCluster

    func NewKubernetesCluster(properties KubernetesClusterProperties, ) *KubernetesCluster

    NewKubernetesCluster instantiates a new KubernetesCluster 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

    hashtag
    NewKubernetesClusterWithDefaults

    func NewKubernetesClusterWithDefaults() *KubernetesCluster

    NewKubernetesClusterWithDefaults instantiates a new KubernetesCluster 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

    hashtag
    GetId

    func (o *KubernetesCluster) GetId() string

    GetId returns the Id field if non-nil, zero value otherwise.

    hashtag
    GetIdOk

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

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

    hashtag
    SetId

    func (o *KubernetesCluster) SetId(v string)

    SetId sets Id field to given value.

    hashtag
    HasId

    func (o *KubernetesCluster) HasId() bool

    HasId returns a boolean if a field has been set.

    hashtag
    GetType

    func (o *KubernetesCluster) GetType() string

    GetType returns the Type field if non-nil, zero value otherwise.

    hashtag
    GetTypeOk

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

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

    hashtag
    SetType

    func (o *KubernetesCluster) SetType(v string)

    SetType sets Type field to given value.

    hashtag
    HasType

    func (o *KubernetesCluster) HasType() bool

    HasType returns a boolean if a field has been set.

    hashtag
    GetHref

    func (o *KubernetesCluster) GetHref() string

    GetHref returns the Href field if non-nil, zero value otherwise.

    hashtag
    GetHrefOk

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

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

    hashtag
    SetHref

    func (o *KubernetesCluster) SetHref(v string)

    SetHref sets Href field to given value.

    hashtag
    HasHref

    func (o *KubernetesCluster) HasHref() bool

    HasHref returns a boolean if a field has been set.

    hashtag
    GetMetadata

    func (o *KubernetesCluster) GetMetadata() DatacenterElementMetadata

    GetMetadata returns the Metadata field if non-nil, zero value otherwise.

    hashtag
    GetMetadataOk

    func (o *KubernetesCluster) GetMetadataOk() (*DatacenterElementMetadata, bool)

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

    hashtag
    SetMetadata

    func (o *KubernetesCluster) SetMetadata(v DatacenterElementMetadata)

    SetMetadata sets Metadata field to given value.

    hashtag
    HasMetadata

    func (o *KubernetesCluster) HasMetadata() bool

    HasMetadata returns a boolean if a field has been set.

    hashtag
    GetProperties

    func (o *KubernetesCluster) GetProperties() KubernetesClusterProperties

    GetProperties returns the Properties field if non-nil, zero value otherwise.

    hashtag
    GetPropertiesOk

    func (o *KubernetesCluster) GetPropertiesOk() (*KubernetesClusterProperties, bool)

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

    hashtag
    SetProperties

    func (o *KubernetesCluster) SetProperties(v KubernetesClusterProperties)

    SetProperties sets Properties field to given value.

    hashtag
    GetEntities

    func (o *KubernetesCluster) GetEntities() KubernetesClusterEntities

    GetEntities returns the Entities field if non-nil, zero value otherwise.

    hashtag
    GetEntitiesOk

    func (o *KubernetesCluster) GetEntitiesOk() (*KubernetesClusterEntities, bool)

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

    hashtag
    SetEntities

    func (o *KubernetesCluster) SetEntities(v KubernetesClusterEntities)

    SetEntities sets Entities field to given value.

    hashtag
    HasEntities

    func (o *KubernetesCluster) HasEntities() bool

    HasEntities returns a boolean if a field has been set.

    Id

    Pointer to string

    The resource unique identifier.

    AttachedVolumes

    hashtag
    Properties

    Name
    Type
    Description
    Notes

    Id

    Pointer to string

    hashtag
    Methods

    hashtag
    NewAttachedVolumes

    func NewAttachedVolumes() *AttachedVolumes

    NewAttachedVolumes instantiates a new AttachedVolumes 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

    hashtag
    NewAttachedVolumesWithDefaults

    func NewAttachedVolumesWithDefaults() *AttachedVolumes

    NewAttachedVolumesWithDefaults instantiates a new AttachedVolumes 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

    hashtag
    GetId

    func (o *AttachedVolumes) GetId() string

    GetId returns the Id field if non-nil, zero value otherwise.

    hashtag
    GetIdOk

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

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

    hashtag
    SetId

    func (o *AttachedVolumes) SetId(v string)

    SetId sets Id field to given value.

    hashtag
    HasId

    func (o *AttachedVolumes) HasId() bool

    HasId returns a boolean if a field has been set.

    hashtag
    GetType

    func (o *AttachedVolumes) GetType() Type

    GetType returns the Type field if non-nil, zero value otherwise.

    hashtag
    GetTypeOk

    func (o *AttachedVolumes) GetTypeOk() (*Type, bool)

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

    hashtag
    SetType

    func (o *AttachedVolumes) SetType(v Type)

    SetType sets Type field to given value.

    hashtag
    HasType

    func (o *AttachedVolumes) HasType() bool

    HasType returns a boolean if a field has been set.

    hashtag
    GetHref

    func (o *AttachedVolumes) GetHref() string

    GetHref returns the Href field if non-nil, zero value otherwise.

    hashtag
    GetHrefOk

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

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

    hashtag
    SetHref

    func (o *AttachedVolumes) SetHref(v string)

    SetHref sets Href field to given value.

    hashtag
    HasHref

    func (o *AttachedVolumes) HasHref() bool

    HasHref returns a boolean if a field has been set.

    hashtag
    GetItems

    func (o *AttachedVolumes) GetItems() []Volume

    GetItems returns the Items field if non-nil, zero value otherwise.

    hashtag
    GetItemsOk

    func (o *AttachedVolumes) GetItemsOk() (*[]Volume, bool)

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

    hashtag
    SetItems

    func (o *AttachedVolumes) SetItems(v []Volume)

    SetItems sets Items field to given value.

    hashtag
    HasItems

    func (o *AttachedVolumes) HasItems() bool

    HasItems returns a boolean if a field has been set.

    hashtag
    GetOffset

    func (o *AttachedVolumes) GetOffset() float32

    GetOffset returns the Offset field if non-nil, zero value otherwise.

    hashtag
    GetOffsetOk

    func (o *AttachedVolumes) GetOffsetOk() (*float32, bool)

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

    hashtag
    SetOffset

    func (o *AttachedVolumes) SetOffset(v float32)

    SetOffset sets Offset field to given value.

    hashtag
    HasOffset

    func (o *AttachedVolumes) HasOffset() bool

    HasOffset returns a boolean if a field has been set.

    hashtag
    GetLimit

    func (o *AttachedVolumes) GetLimit() float32

    GetLimit returns the Limit field if non-nil, zero value otherwise.

    hashtag
    GetLimitOk

    func (o *AttachedVolumes) GetLimitOk() (*float32, bool)

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

    hashtag
    SetLimit

    func (o *AttachedVolumes) SetLimit(v float32)

    SetLimit sets Limit field to given value.

    hashtag
    HasLimit

    func (o *AttachedVolumes) HasLimit() bool

    HasLimit returns a boolean if a field has been set.

    hashtag
    GetLinks

    func (o *AttachedVolumes) GetLinks() PaginationLinks

    GetLinks returns the Links field if non-nil, zero value otherwise.

    hashtag
    GetLinksOk

    func (o *AttachedVolumes) GetLinksOk() (*PaginationLinks, bool)

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

    hashtag
    SetLinks

    func (o *AttachedVolumes) SetLinks(v PaginationLinks)

    SetLinks sets Links field to given value.

    hashtag
    HasLinks

    func (o *AttachedVolumes) HasLinks() bool

    HasLinks returns a boolean if a field has been set.

    DatacenterElementMetadata

    hashtag
    Properties

    Name
    Type
    Description
    Notes

    Etag

    Pointer to string

    hashtag
    Methods

    hashtag
    NewDatacenterElementMetadata

    func NewDatacenterElementMetadata() *DatacenterElementMetadata

    NewDatacenterElementMetadata instantiates a new DatacenterElementMetadata 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

    hashtag
    NewDatacenterElementMetadataWithDefaults

    func NewDatacenterElementMetadataWithDefaults() *DatacenterElementMetadata

    NewDatacenterElementMetadataWithDefaults instantiates a new DatacenterElementMetadata 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

    hashtag
    GetEtag

    func (o *DatacenterElementMetadata) GetEtag() string

    GetEtag returns the Etag field if non-nil, zero value otherwise.

    hashtag
    GetEtagOk

    func (o *DatacenterElementMetadata) GetEtagOk() (*string, bool)

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

    hashtag
    SetEtag

    func (o *DatacenterElementMetadata) SetEtag(v string)

    SetEtag sets Etag field to given value.

    hashtag
    HasEtag

    func (o *DatacenterElementMetadata) HasEtag() bool

    HasEtag returns a boolean if a field has been set.

    hashtag
    GetCreatedDate

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

    GetCreatedDate returns the CreatedDate field if non-nil, zero value otherwise.

    hashtag
    GetCreatedDateOk

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

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

    hashtag
    SetCreatedDate

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

    SetCreatedDate sets CreatedDate field to given value.

    hashtag
    HasCreatedDate

    func (o *DatacenterElementMetadata) HasCreatedDate() bool

    HasCreatedDate returns a boolean if a field has been set.

    hashtag
    GetCreatedBy

    func (o *DatacenterElementMetadata) GetCreatedBy() string

    GetCreatedBy returns the CreatedBy field if non-nil, zero value otherwise.

    hashtag
    GetCreatedByOk

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

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

    hashtag
    SetCreatedBy

    func (o *DatacenterElementMetadata) SetCreatedBy(v string)

    SetCreatedBy sets CreatedBy field to given value.

    hashtag
    HasCreatedBy

    func (o *DatacenterElementMetadata) HasCreatedBy() bool

    HasCreatedBy returns a boolean if a field has been set.

    hashtag
    GetCreatedByUserId

    func (o *DatacenterElementMetadata) GetCreatedByUserId() string

    GetCreatedByUserId returns the CreatedByUserId field if non-nil, zero value otherwise.

    hashtag
    GetCreatedByUserIdOk

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

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

    hashtag
    SetCreatedByUserId

    func (o *DatacenterElementMetadata) SetCreatedByUserId(v string)

    SetCreatedByUserId sets CreatedByUserId field to given value.

    hashtag
    HasCreatedByUserId

    func (o *DatacenterElementMetadata) HasCreatedByUserId() bool

    HasCreatedByUserId returns a boolean if a field has been set.

    hashtag
    GetLastModifiedDate

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

    GetLastModifiedDate returns the LastModifiedDate field if non-nil, zero value otherwise.

    hashtag
    GetLastModifiedDateOk

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

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

    hashtag
    SetLastModifiedDate

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

    SetLastModifiedDate sets LastModifiedDate field to given value.

    hashtag
    HasLastModifiedDate

    func (o *DatacenterElementMetadata) HasLastModifiedDate() bool

    HasLastModifiedDate returns a boolean if a field has been set.

    hashtag
    GetLastModifiedBy

    func (o *DatacenterElementMetadata) GetLastModifiedBy() string

    GetLastModifiedBy returns the LastModifiedBy field if non-nil, zero value otherwise.

    hashtag
    GetLastModifiedByOk

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

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

    hashtag
    SetLastModifiedBy

    func (o *DatacenterElementMetadata) SetLastModifiedBy(v string)

    SetLastModifiedBy sets LastModifiedBy field to given value.

    hashtag
    HasLastModifiedBy

    func (o *DatacenterElementMetadata) HasLastModifiedBy() bool

    HasLastModifiedBy returns a boolean if a field has been set.

    hashtag
    GetLastModifiedByUserId

    func (o *DatacenterElementMetadata) GetLastModifiedByUserId() string

    GetLastModifiedByUserId returns the LastModifiedByUserId field if non-nil, zero value otherwise.

    hashtag
    GetLastModifiedByUserIdOk

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

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

    hashtag
    SetLastModifiedByUserId

    func (o *DatacenterElementMetadata) SetLastModifiedByUserId(v string)

    SetLastModifiedByUserId sets LastModifiedByUserId field to given value.

    hashtag
    HasLastModifiedByUserId

    func (o *DatacenterElementMetadata) HasLastModifiedByUserId() bool

    HasLastModifiedByUserId returns a boolean if a field has been set.

    hashtag
    GetState

    func (o *DatacenterElementMetadata) GetState() string

    GetState returns the State field if non-nil, zero value otherwise.

    hashtag
    GetStateOk

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

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

    hashtag
    SetState

    func (o *DatacenterElementMetadata) SetState(v string)

    SetState sets State field to given value.

    hashtag
    HasState

    func (o *DatacenterElementMetadata) HasState() bool

    HasState returns a boolean if a field has been set.

    FirewallRules

    hashtag
    Properties

    Name
    Type
    Description
    Notes

    Id

    Pointer to string

    hashtag
    Methods

    hashtag
    NewFirewallRules

    func NewFirewallRules() *FirewallRules

    NewFirewallRules instantiates a new FirewallRules 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

    hashtag
    NewFirewallRulesWithDefaults

    func NewFirewallRulesWithDefaults() *FirewallRules

    NewFirewallRulesWithDefaults instantiates a new FirewallRules 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

    hashtag
    GetId

    func (o *FirewallRules) GetId() string

    GetId returns the Id field if non-nil, zero value otherwise.

    hashtag
    GetIdOk

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

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

    hashtag
    SetId

    func (o *FirewallRules) SetId(v string)

    SetId sets Id field to given value.

    hashtag
    HasId

    func (o *FirewallRules) HasId() bool

    HasId returns a boolean if a field has been set.

    hashtag
    GetType

    func (o *FirewallRules) GetType() Type

    GetType returns the Type field if non-nil, zero value otherwise.

    hashtag
    GetTypeOk

    func (o *FirewallRules) GetTypeOk() (*Type, bool)

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

    hashtag
    SetType

    func (o *FirewallRules) SetType(v Type)

    SetType sets Type field to given value.

    hashtag
    HasType

    func (o *FirewallRules) HasType() bool

    HasType returns a boolean if a field has been set.

    hashtag
    GetHref

    func (o *FirewallRules) GetHref() string

    GetHref returns the Href field if non-nil, zero value otherwise.

    hashtag
    GetHrefOk

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

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

    hashtag
    SetHref

    func (o *FirewallRules) SetHref(v string)

    SetHref sets Href field to given value.

    hashtag
    HasHref

    func (o *FirewallRules) HasHref() bool

    HasHref returns a boolean if a field has been set.

    hashtag
    GetItems

    func (o *FirewallRules) GetItems() []FirewallRule

    GetItems returns the Items field if non-nil, zero value otherwise.

    hashtag
    GetItemsOk

    func (o *FirewallRules) GetItemsOk() (*[]FirewallRule, bool)

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

    hashtag
    SetItems

    func (o *FirewallRules) SetItems(v []FirewallRule)

    SetItems sets Items field to given value.

    hashtag
    HasItems

    func (o *FirewallRules) HasItems() bool

    HasItems returns a boolean if a field has been set.

    hashtag
    GetOffset

    func (o *FirewallRules) GetOffset() float32

    GetOffset returns the Offset field if non-nil, zero value otherwise.

    hashtag
    GetOffsetOk

    func (o *FirewallRules) GetOffsetOk() (*float32, bool)

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

    hashtag
    SetOffset

    func (o *FirewallRules) SetOffset(v float32)

    SetOffset sets Offset field to given value.

    hashtag
    HasOffset

    func (o *FirewallRules) HasOffset() bool

    HasOffset returns a boolean if a field has been set.

    hashtag
    GetLimit

    func (o *FirewallRules) GetLimit() float32

    GetLimit returns the Limit field if non-nil, zero value otherwise.

    hashtag
    GetLimitOk

    func (o *FirewallRules) GetLimitOk() (*float32, bool)

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

    hashtag
    SetLimit

    func (o *FirewallRules) SetLimit(v float32)

    SetLimit sets Limit field to given value.

    hashtag
    HasLimit

    func (o *FirewallRules) HasLimit() bool

    HasLimit returns a boolean if a field has been set.

    hashtag
    GetLinks

    func (o *FirewallRules) GetLinks() PaginationLinks

    GetLinks returns the Links field if non-nil, zero value otherwise.

    hashtag
    GetLinksOk

    func (o *FirewallRules) GetLinksOk() (*PaginationLinks, bool)

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

    hashtag
    SetLinks

    func (o *FirewallRules) SetLinks(v PaginationLinks)

    SetLinks sets Links field to given value.

    hashtag
    HasLinks

    func (o *FirewallRules) HasLinks() bool

    HasLinks returns a boolean if a field has been set.

    FlowLogs

    hashtag
    Properties

    Name
    Type
    Description
    Notes

    Id

    Pointer to string

    hashtag
    Methods

    hashtag
    NewFlowLogs

    func NewFlowLogs() *FlowLogs

    NewFlowLogs instantiates a new FlowLogs 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

    hashtag
    NewFlowLogsWithDefaults

    func NewFlowLogsWithDefaults() *FlowLogs

    NewFlowLogsWithDefaults instantiates a new FlowLogs 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

    hashtag
    GetId

    func (o *FlowLogs) GetId() string

    GetId returns the Id field if non-nil, zero value otherwise.

    hashtag
    GetIdOk

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

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

    hashtag
    SetId

    func (o *FlowLogs) SetId(v string)

    SetId sets Id field to given value.

    hashtag
    HasId

    func (o *FlowLogs) HasId() bool

    HasId returns a boolean if a field has been set.

    hashtag
    GetType

    func (o *FlowLogs) GetType() Type

    GetType returns the Type field if non-nil, zero value otherwise.

    hashtag
    GetTypeOk

    func (o *FlowLogs) GetTypeOk() (*Type, bool)

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

    hashtag
    SetType

    func (o *FlowLogs) SetType(v Type)

    SetType sets Type field to given value.

    hashtag
    HasType

    func (o *FlowLogs) HasType() bool

    HasType returns a boolean if a field has been set.

    hashtag
    GetHref

    func (o *FlowLogs) GetHref() string

    GetHref returns the Href field if non-nil, zero value otherwise.

    hashtag
    GetHrefOk

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

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

    hashtag
    SetHref

    func (o *FlowLogs) SetHref(v string)

    SetHref sets Href field to given value.

    hashtag
    HasHref

    func (o *FlowLogs) HasHref() bool

    HasHref returns a boolean if a field has been set.

    hashtag
    GetItems

    func (o *FlowLogs) GetItems() []FlowLog

    GetItems returns the Items field if non-nil, zero value otherwise.

    hashtag
    GetItemsOk

    func (o *FlowLogs) GetItemsOk() (*[]FlowLog, bool)

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

    hashtag
    SetItems

    func (o *FlowLogs) SetItems(v []FlowLog)

    SetItems sets Items field to given value.

    hashtag
    HasItems

    func (o *FlowLogs) HasItems() bool

    HasItems returns a boolean if a field has been set.

    hashtag
    GetOffset

    func (o *FlowLogs) GetOffset() float32

    GetOffset returns the Offset field if non-nil, zero value otherwise.

    hashtag
    GetOffsetOk

    func (o *FlowLogs) GetOffsetOk() (*float32, bool)

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

    hashtag
    SetOffset

    func (o *FlowLogs) SetOffset(v float32)

    SetOffset sets Offset field to given value.

    hashtag
    HasOffset

    func (o *FlowLogs) HasOffset() bool

    HasOffset returns a boolean if a field has been set.

    hashtag
    GetLimit

    func (o *FlowLogs) GetLimit() float32

    GetLimit returns the Limit field if non-nil, zero value otherwise.

    hashtag
    GetLimitOk

    func (o *FlowLogs) GetLimitOk() (*float32, bool)

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

    hashtag
    SetLimit

    func (o *FlowLogs) SetLimit(v float32)

    SetLimit sets Limit field to given value.

    hashtag
    HasLimit

    func (o *FlowLogs) HasLimit() bool

    HasLimit returns a boolean if a field has been set.

    hashtag
    GetLinks

    func (o *FlowLogs) GetLinks() PaginationLinks

    GetLinks returns the Links field if non-nil, zero value otherwise.

    hashtag
    GetLinksOk

    func (o *FlowLogs) GetLinksOk() (*PaginationLinks, bool)

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

    hashtag
    SetLinks

    func (o *FlowLogs) SetLinks(v PaginationLinks)

    SetLinks sets Links field to given value.

    hashtag
    HasLinks

    func (o *FlowLogs) HasLinks() bool

    HasLinks returns a boolean if a field has been set.

    KubernetesClusterForPut

    hashtag
    Properties

    Name
    Type
    Description
    Notes

    Id

    Pointer to string

    hashtag
    Methods

    hashtag
    NewKubernetesClusterForPut

    func NewKubernetesClusterForPut(properties KubernetesClusterPropertiesForPut, ) *KubernetesClusterForPut

    NewKubernetesClusterForPut instantiates a new KubernetesClusterForPut 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

    hashtag
    NewKubernetesClusterForPutWithDefaults

    func NewKubernetesClusterForPutWithDefaults() *KubernetesClusterForPut

    NewKubernetesClusterForPutWithDefaults instantiates a new KubernetesClusterForPut 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

    hashtag
    GetId

    func (o *KubernetesClusterForPut) GetId() string

    GetId returns the Id field if non-nil, zero value otherwise.

    hashtag
    GetIdOk

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

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

    hashtag
    SetId

    func (o *KubernetesClusterForPut) SetId(v string)

    SetId sets Id field to given value.

    hashtag
    HasId

    func (o *KubernetesClusterForPut) HasId() bool

    HasId returns a boolean if a field has been set.

    hashtag
    GetType

    func (o *KubernetesClusterForPut) GetType() string

    GetType returns the Type field if non-nil, zero value otherwise.

    hashtag
    GetTypeOk

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

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

    hashtag
    SetType

    func (o *KubernetesClusterForPut) SetType(v string)

    SetType sets Type field to given value.

    hashtag
    HasType

    func (o *KubernetesClusterForPut) HasType() bool

    HasType returns a boolean if a field has been set.

    hashtag
    GetHref

    func (o *KubernetesClusterForPut) GetHref() string

    GetHref returns the Href field if non-nil, zero value otherwise.

    hashtag
    GetHrefOk

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

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

    hashtag
    SetHref

    func (o *KubernetesClusterForPut) SetHref(v string)

    SetHref sets Href field to given value.

    hashtag
    HasHref

    func (o *KubernetesClusterForPut) HasHref() bool

    HasHref returns a boolean if a field has been set.

    hashtag
    GetMetadata

    func (o *KubernetesClusterForPut) GetMetadata() DatacenterElementMetadata

    GetMetadata returns the Metadata field if non-nil, zero value otherwise.

    hashtag
    GetMetadataOk

    func (o *KubernetesClusterForPut) GetMetadataOk() (*DatacenterElementMetadata, bool)

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

    hashtag
    SetMetadata

    func (o *KubernetesClusterForPut) SetMetadata(v DatacenterElementMetadata)

    SetMetadata sets Metadata field to given value.

    hashtag
    HasMetadata

    func (o *KubernetesClusterForPut) HasMetadata() bool

    HasMetadata returns a boolean if a field has been set.

    hashtag
    GetProperties

    func (o *KubernetesClusterForPut) GetProperties() KubernetesClusterPropertiesForPut

    GetProperties returns the Properties field if non-nil, zero value otherwise.

    hashtag
    GetPropertiesOk

    func (o *KubernetesClusterForPut) GetPropertiesOk() (*KubernetesClusterPropertiesForPut, bool)

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

    hashtag
    SetProperties

    func (o *KubernetesClusterForPut) SetProperties(v KubernetesClusterPropertiesForPut)

    SetProperties sets Properties field to given value.

    hashtag
    GetEntities

    func (o *KubernetesClusterForPut) GetEntities() KubernetesClusterEntities

    GetEntities returns the Entities field if non-nil, zero value otherwise.

    hashtag
    GetEntitiesOk

    func (o *KubernetesClusterForPut) GetEntitiesOk() (*KubernetesClusterEntities, bool)

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

    hashtag
    SetEntities

    func (o *KubernetesClusterForPut) SetEntities(v KubernetesClusterEntities)

    SetEntities sets Entities field to given value.

    hashtag
    HasEntities

    func (o *KubernetesClusterForPut) HasEntities() bool

    HasEntities returns a boolean if a field has been set.

    Datacenters

    hashtag
    Properties

    Name
    Type
    Description
    Notes

    DatacenterProperties

    hashtag
    Properties

    Name
    Type
    Description
    Notes

    IpConsumer

    hashtag
    Properties

    Name
    Type
    Description
    Notes

    KubernetesClusterForPost

    hashtag
    Properties

    Name
    Type
    Description
    Notes

    The resource's unique identifier.

    [optional] [readonly]

    Type

    Pointer to Type

    The type of object that has been created.

    [optional]

    Href

    Pointer to string

    The URL to the object representation (absolute path).

    [optional] [readonly]

    Items

    Pointer to []Volume

    Array of items in the collection.

    [optional]

    Offset

    Pointer to float32

    The offset (if specified in the request).

    [optional]

    Limit

    Pointer to float32

    The limit (if specified in the request).

    [optional]

    Links

    Pointer to PaginationLinks

    [optional]

    Resource's Entity Tag as defined in http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.11 Entity Tag is also added as an 'ETag response header to requests which don't use 'depth' parameter.

    [optional] [readonly]

    CreatedDate

    Pointer to time.Timearrow-up-right

    The last time the resource was created.

    [optional] [readonly]

    CreatedBy

    Pointer to string

    The user who created the resource.

    [optional] [readonly]

    CreatedByUserId

    Pointer to string

    The unique ID of the user who created the resource.

    [optional] [readonly]

    LastModifiedDate

    Pointer to time.Timearrow-up-right

    The last time the resource was modified.

    [optional] [readonly]

    LastModifiedBy

    Pointer to string

    The user who last modified the resource.

    [optional] [readonly]

    LastModifiedByUserId

    Pointer to string

    The unique ID of the user who last modified the resource.

    [optional] [readonly]

    State

    Pointer to string

    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; INACTIVE Resource has been de-provisioned; DEPLOYING Resource state DEPLOYING - relevant for Kubernetes cluster/nodepool; ACTIVE Resource state ACTIVE - relevant for Kubernetes cluster/nodepool; FAILED Resource state FAILED - relevant for Kubernetes cluster/nodepool; SUSPENDED Resource state SUSPENDED - relevant for Kubernetes cluster/nodepool; FAILED_SUSPENDED Resource state FAILED_SUSPENDED - relevant for Kubernetes cluster; UPDATING Resource state UPDATING - relevant for Kubernetes cluster/nodepool; FAILED_UPDATING Resource state FAILED_UPDATING - relevant for Kubernetes cluster/nodepool; DESTROYING Resource state DESTROYING - relevant for Kubernetes cluster; FAILED_DESTROYING Resource state FAILED_DESTROYING - relevant for Kubernetes cluster/nodepool; TERMINATED Resource state TERMINATED - relevant for Kubernetes cluster/nodepool; HIBERNATING Resource state HIBERNATING - relevant for Kubernetes cluster/nodepool; FAILED_HIBERNATING Resource state FAILED_HIBERNATING - relevant for Kubernetes cluster/nodepool; MAINTENANCE Resource state MAINTENANCE - relevant for Kubernetes cluster/nodepool; FAILED_HIBERNATING Resource state FAILED_HIBERNATING - relevant for Kubernetes cluster/nodepool.

    [optional] [readonly]

    The resource's unique identifier.

    [optional] [readonly]

    Type

    Pointer to Type

    The type of object that has been created.

    [optional]

    Href

    Pointer to string

    URL to the object representation (absolute path).

    [optional] [readonly]

    Items

    Pointer to []FirewallRule

    Array of items in the collection.

    [optional] [readonly]

    Offset

    Pointer to float32

    The offset (if specified in the request).

    [optional]

    Limit

    Pointer to float32

    The limit (if specified in the request).

    [optional]

    Links

    Pointer to PaginationLinks

    [optional]

    The resource's unique identifier.

    [optional] [readonly]

    Type

    Pointer to Type

    The type of object that has been created.

    [optional]

    Href

    Pointer to string

    The URL to the object representation (absolute path).

    [optional] [readonly]

    Items

    Pointer to []FlowLog

    Array of items in the collection.

    [optional] [readonly]

    Offset

    Pointer to float32

    The offset (if specified in the request).

    [optional]

    Limit

    Pointer to float32

    The limit (if specified in the request).

    [optional]

    Links

    Pointer to PaginationLinks

    [optional]

    The resource's unique identifier.

    [optional] [readonly]

    Type

    Pointer to string

    The type of object.

    [optional] [readonly]

    Href

    Pointer to string

    URL to the object representation (absolute path).

    [optional] [readonly]

    Metadata

    Pointer to DatacenterElementMetadata

    [optional]

    Properties

    KubernetesClusterPropertiesForPut

    Entities

    Pointer to KubernetesClusterEntities

    [optional]

    []ApplicationLoadBalancerHttpRuleCondition
    Type
    []ApplicationLoadBalancer
    PaginationLinks
    Type
    []Image
    PaginationLinks
    []CpuArchitectureProperties
    Type
    []User
    Type
    DatacenterElementMetadata
    ImageProperties
    KubernetesMaintenanceWindow
    []S3Bucket
    DatacenterElementMetadata
    KubernetesClusterProperties
    KubernetesClusterEntities

    [optional]

    Mac

    Pointer to string

    [optional]

    NicId

    Pointer to string

    [optional]

    ServerId

    Pointer to string

    [optional]

    ServerName

    Pointer to string

    [optional]

    DatacenterId

    Pointer to string

    [optional]

    DatacenterName

    Pointer to string

    [optional]

    K8sNodePoolUuid

    Pointer to string

    [optional]

    K8sClusterUuid

    Pointer to string

    [optional]

    hashtag
    Methods

    hashtag
    NewIpConsumer

    func NewIpConsumer() *IpConsumer

    NewIpConsumer instantiates a new IpConsumer 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

    hashtag
    NewIpConsumerWithDefaults

    func NewIpConsumerWithDefaults() *IpConsumer

    NewIpConsumerWithDefaults instantiates a new IpConsumer 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

    hashtag
    GetIp

    func (o *IpConsumer) GetIp() string

    GetIp returns the Ip field if non-nil, zero value otherwise.

    hashtag
    GetIpOk

    func (o *IpConsumer) GetIpOk() (*string, bool)

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

    hashtag
    SetIp

    func (o *IpConsumer) SetIp(v string)

    SetIp sets Ip field to given value.

    hashtag
    HasIp

    func (o *IpConsumer) HasIp() bool

    HasIp returns a boolean if a field has been set.

    hashtag
    GetMac

    func (o *IpConsumer) GetMac() string

    GetMac returns the Mac field if non-nil, zero value otherwise.

    hashtag
    GetMacOk

    func (o *IpConsumer) GetMacOk() (*string, bool)

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

    hashtag
    SetMac

    func (o *IpConsumer) SetMac(v string)

    SetMac sets Mac field to given value.

    hashtag
    HasMac

    func (o *IpConsumer) HasMac() bool

    HasMac returns a boolean if a field has been set.

    hashtag
    GetNicId

    func (o *IpConsumer) GetNicId() string

    GetNicId returns the NicId field if non-nil, zero value otherwise.

    hashtag
    GetNicIdOk

    func (o *IpConsumer) GetNicIdOk() (*string, bool)

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

    hashtag
    SetNicId

    func (o *IpConsumer) SetNicId(v string)

    SetNicId sets NicId field to given value.

    hashtag
    HasNicId

    func (o *IpConsumer) HasNicId() bool

    HasNicId returns a boolean if a field has been set.

    hashtag
    GetServerId

    func (o *IpConsumer) GetServerId() string

    GetServerId returns the ServerId field if non-nil, zero value otherwise.

    hashtag
    GetServerIdOk

    func (o *IpConsumer) GetServerIdOk() (*string, bool)

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

    hashtag
    SetServerId

    func (o *IpConsumer) SetServerId(v string)

    SetServerId sets ServerId field to given value.

    hashtag
    HasServerId

    func (o *IpConsumer) HasServerId() bool

    HasServerId returns a boolean if a field has been set.

    hashtag
    GetServerName

    func (o *IpConsumer) GetServerName() string

    GetServerName returns the ServerName field if non-nil, zero value otherwise.

    hashtag
    GetServerNameOk

    func (o *IpConsumer) GetServerNameOk() (*string, bool)

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

    hashtag
    SetServerName

    func (o *IpConsumer) SetServerName(v string)

    SetServerName sets ServerName field to given value.

    hashtag
    HasServerName

    func (o *IpConsumer) HasServerName() bool

    HasServerName returns a boolean if a field has been set.

    hashtag
    GetDatacenterId

    func (o *IpConsumer) GetDatacenterId() string

    GetDatacenterId returns the DatacenterId field if non-nil, zero value otherwise.

    hashtag
    GetDatacenterIdOk

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

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

    hashtag
    SetDatacenterId

    func (o *IpConsumer) SetDatacenterId(v string)

    SetDatacenterId sets DatacenterId field to given value.

    hashtag
    HasDatacenterId

    func (o *IpConsumer) HasDatacenterId() bool

    HasDatacenterId returns a boolean if a field has been set.

    hashtag
    GetDatacenterName

    func (o *IpConsumer) GetDatacenterName() string

    GetDatacenterName returns the DatacenterName field if non-nil, zero value otherwise.

    hashtag
    GetDatacenterNameOk

    func (o *IpConsumer) GetDatacenterNameOk() (*string, bool)

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

    hashtag
    SetDatacenterName

    func (o *IpConsumer) SetDatacenterName(v string)

    SetDatacenterName sets DatacenterName field to given value.

    hashtag
    HasDatacenterName

    func (o *IpConsumer) HasDatacenterName() bool

    HasDatacenterName returns a boolean if a field has been set.

    hashtag
    GetK8sNodePoolUuid

    func (o *IpConsumer) GetK8sNodePoolUuid() string

    GetK8sNodePoolUuid returns the K8sNodePoolUuid field if non-nil, zero value otherwise.

    hashtag
    GetK8sNodePoolUuidOk

    func (o *IpConsumer) GetK8sNodePoolUuidOk() (*string, bool)

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

    hashtag
    SetK8sNodePoolUuid

    func (o *IpConsumer) SetK8sNodePoolUuid(v string)

    SetK8sNodePoolUuid sets K8sNodePoolUuid field to given value.

    hashtag
    HasK8sNodePoolUuid

    func (o *IpConsumer) HasK8sNodePoolUuid() bool

    HasK8sNodePoolUuid returns a boolean if a field has been set.

    hashtag
    GetK8sClusterUuid

    func (o *IpConsumer) GetK8sClusterUuid() string

    GetK8sClusterUuid returns the K8sClusterUuid field if non-nil, zero value otherwise.

    hashtag
    GetK8sClusterUuidOk

    func (o *IpConsumer) GetK8sClusterUuidOk() (*string, bool)

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

    hashtag
    SetK8sClusterUuid

    func (o *IpConsumer) SetK8sClusterUuid(v string)

    SetK8sClusterUuid sets K8sClusterUuid field to given value.

    hashtag
    HasK8sClusterUuid

    func (o *IpConsumer) HasK8sClusterUuid() bool

    HasK8sClusterUuid returns a boolean if a field has been set.

    Ip

    Pointer to string

    [optional] [readonly]

    Type

    Pointer to

    The type of object that has been created.

    [optional]

    Href

    Pointer to string

    URL to the object representation (absolute path).

    [optional] [readonly]

    Items

    Pointer to

    Array of items in the collection.

    [optional] [readonly]

    Offset

    Pointer to float32

    The offset (if specified in the request).

    [optional]

    Limit

    Pointer to float32

    The limit (if specified in the request).

    [optional]

    Links

    Pointer to

    [optional]

    hashtag
    Methods

    hashtag
    NewDatacenters

    func NewDatacenters() *Datacenters

    NewDatacenters instantiates a new Datacenters 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

    hashtag
    NewDatacentersWithDefaults

    func NewDatacentersWithDefaults() *Datacenters

    NewDatacentersWithDefaults instantiates a new Datacenters 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

    hashtag
    GetId

    func (o *Datacenters) GetId() string

    GetId returns the Id field if non-nil, zero value otherwise.

    hashtag
    GetIdOk

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

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

    hashtag
    SetId

    func (o *Datacenters) SetId(v string)

    SetId sets Id field to given value.

    hashtag
    HasId

    func (o *Datacenters) HasId() bool

    HasId returns a boolean if a field has been set.

    hashtag
    GetType

    func (o *Datacenters) GetType() Type

    GetType returns the Type field if non-nil, zero value otherwise.

    hashtag
    GetTypeOk

    func (o *Datacenters) GetTypeOk() (*Type, bool)

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

    hashtag
    SetType

    func (o *Datacenters) SetType(v Type)

    SetType sets Type field to given value.

    hashtag
    HasType

    func (o *Datacenters) HasType() bool

    HasType returns a boolean if a field has been set.

    hashtag
    GetHref

    func (o *Datacenters) GetHref() string

    GetHref returns the Href field if non-nil, zero value otherwise.

    hashtag
    GetHrefOk

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

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

    hashtag
    SetHref

    func (o *Datacenters) SetHref(v string)

    SetHref sets Href field to given value.

    hashtag
    HasHref

    func (o *Datacenters) HasHref() bool

    HasHref returns a boolean if a field has been set.

    hashtag
    GetItems

    func (o *Datacenters) GetItems() []Datacenter

    GetItems returns the Items field if non-nil, zero value otherwise.

    hashtag
    GetItemsOk

    func (o *Datacenters) GetItemsOk() (*[]Datacenter, bool)

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

    hashtag
    SetItems

    func (o *Datacenters) SetItems(v []Datacenter)

    SetItems sets Items field to given value.

    hashtag
    HasItems

    func (o *Datacenters) HasItems() bool

    HasItems returns a boolean if a field has been set.

    hashtag
    GetOffset

    func (o *Datacenters) GetOffset() float32

    GetOffset returns the Offset field if non-nil, zero value otherwise.

    hashtag
    GetOffsetOk

    func (o *Datacenters) GetOffsetOk() (*float32, bool)

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

    hashtag
    SetOffset

    func (o *Datacenters) SetOffset(v float32)

    SetOffset sets Offset field to given value.

    hashtag
    HasOffset

    func (o *Datacenters) HasOffset() bool

    HasOffset returns a boolean if a field has been set.

    hashtag
    GetLimit

    func (o *Datacenters) GetLimit() float32

    GetLimit returns the Limit field if non-nil, zero value otherwise.

    hashtag
    GetLimitOk

    func (o *Datacenters) GetLimitOk() (*float32, bool)

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

    hashtag
    SetLimit

    func (o *Datacenters) SetLimit(v float32)

    SetLimit sets Limit field to given value.

    hashtag
    HasLimit

    func (o *Datacenters) HasLimit() bool

    HasLimit returns a boolean if a field has been set.

    hashtag
    GetLinks

    func (o *Datacenters) GetLinks() PaginationLinks

    GetLinks returns the Links field if non-nil, zero value otherwise.

    hashtag
    GetLinksOk

    func (o *Datacenters) GetLinksOk() (*PaginationLinks, bool)

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

    hashtag
    SetLinks

    func (o *Datacenters) SetLinks(v PaginationLinks)

    SetLinks sets Links field to given value.

    hashtag
    HasLinks

    func (o *Datacenters) HasLinks() bool

    HasLinks returns a boolean if a field has been set.

    Id

    Pointer to string

    The resource's unique identifier.

    [optional]

    Description

    Pointer to string

    A description for the datacenter, such as staging, production.

    [optional]

    Location

    string

    The physical location where the datacenter will be created. This will be where all of your servers live. Property cannot be modified after datacenter creation (disallowed in update requests).

    Version

    Pointer to int32

    The version of the data center; incremented with every change.

    [optional] [readonly]

    Features

    Pointer to []string

    List of features supported by the location where this data center is provisioned.

    [optional] [readonly]

    SecAuthProtection

    Pointer to bool

    Boolean value representing if the data center requires extra protection, such as two-step verification.

    [optional]

    CpuArchitecture

    Pointer to

    Array of features and CPU families available in a location

    [optional] [readonly]

    Ipv6CidrBlock

    Pointer to NullableString

    This value is either 'null' or contains an automatically-assigned /56 IPv6 CIDR block if IPv6 is enabled on this virtual data center. It can neither be changed nor removed.

    [optional] [readonly]

    DefaultSecurityGroupId

    Pointer to string

    Optional property to define the default security group of the datacenter.

    [optional]

    hashtag
    Methods

    hashtag
    NewDatacenterProperties

    func NewDatacenterProperties(location string, ) *DatacenterProperties

    NewDatacenterProperties instantiates a new DatacenterProperties 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

    hashtag
    NewDatacenterPropertiesWithDefaults

    func NewDatacenterPropertiesWithDefaults() *DatacenterProperties

    NewDatacenterPropertiesWithDefaults instantiates a new DatacenterProperties 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

    hashtag
    GetName

    func (o *DatacenterProperties) GetName() string

    GetName returns the Name field if non-nil, zero value otherwise.

    hashtag
    GetNameOk

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

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

    hashtag
    SetName

    func (o *DatacenterProperties) SetName(v string)

    SetName sets Name field to given value.

    hashtag
    HasName

    func (o *DatacenterProperties) HasName() bool

    HasName returns a boolean if a field has been set.

    hashtag
    GetDescription

    func (o *DatacenterProperties) GetDescription() string

    GetDescription returns the Description field if non-nil, zero value otherwise.

    hashtag
    GetDescriptionOk

    func (o *DatacenterProperties) GetDescriptionOk() (*string, bool)

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

    hashtag
    SetDescription

    func (o *DatacenterProperties) SetDescription(v string)

    SetDescription sets Description field to given value.

    hashtag
    HasDescription

    func (o *DatacenterProperties) HasDescription() bool

    HasDescription returns a boolean if a field has been set.

    hashtag
    GetLocation

    func (o *DatacenterProperties) GetLocation() string

    GetLocation returns the Location field if non-nil, zero value otherwise.

    hashtag
    GetLocationOk

    func (o *DatacenterProperties) GetLocationOk() (*string, bool)

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

    hashtag
    SetLocation

    func (o *DatacenterProperties) SetLocation(v string)

    SetLocation sets Location field to given value.

    hashtag
    GetVersion

    func (o *DatacenterProperties) GetVersion() int32

    GetVersion returns the Version field if non-nil, zero value otherwise.

    hashtag
    GetVersionOk

    func (o *DatacenterProperties) GetVersionOk() (*int32, bool)

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

    hashtag
    SetVersion

    func (o *DatacenterProperties) SetVersion(v int32)

    SetVersion sets Version field to given value.

    hashtag
    HasVersion

    func (o *DatacenterProperties) HasVersion() bool

    HasVersion returns a boolean if a field has been set.

    hashtag
    GetFeatures

    func (o *DatacenterProperties) GetFeatures() []string

    GetFeatures returns the Features field if non-nil, zero value otherwise.

    hashtag
    GetFeaturesOk

    func (o *DatacenterProperties) GetFeaturesOk() (*[]string, bool)

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

    hashtag
    SetFeatures

    func (o *DatacenterProperties) SetFeatures(v []string)

    SetFeatures sets Features field to given value.

    hashtag
    HasFeatures

    func (o *DatacenterProperties) HasFeatures() bool

    HasFeatures returns a boolean if a field has been set.

    hashtag
    GetSecAuthProtection

    func (o *DatacenterProperties) GetSecAuthProtection() bool

    GetSecAuthProtection returns the SecAuthProtection field if non-nil, zero value otherwise.

    hashtag
    GetSecAuthProtectionOk

    func (o *DatacenterProperties) GetSecAuthProtectionOk() (*bool, bool)

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

    hashtag
    SetSecAuthProtection

    func (o *DatacenterProperties) SetSecAuthProtection(v bool)

    SetSecAuthProtection sets SecAuthProtection field to given value.

    hashtag
    HasSecAuthProtection

    func (o *DatacenterProperties) HasSecAuthProtection() bool

    HasSecAuthProtection returns a boolean if a field has been set.

    hashtag
    GetCpuArchitecture

    func (o *DatacenterProperties) GetCpuArchitecture() []CpuArchitectureProperties

    GetCpuArchitecture returns the CpuArchitecture field if non-nil, zero value otherwise.

    hashtag
    GetCpuArchitectureOk

    func (o *DatacenterProperties) GetCpuArchitectureOk() (*[]CpuArchitectureProperties, bool)

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

    hashtag
    SetCpuArchitecture

    func (o *DatacenterProperties) SetCpuArchitecture(v []CpuArchitectureProperties)

    SetCpuArchitecture sets CpuArchitecture field to given value.

    hashtag
    HasCpuArchitecture

    func (o *DatacenterProperties) HasCpuArchitecture() bool

    HasCpuArchitecture returns a boolean if a field has been set.

    hashtag
    GetIpv6CidrBlock

    func (o *DatacenterProperties) GetIpv6CidrBlock() string

    GetIpv6CidrBlock returns the Ipv6CidrBlock field if non-nil, zero value otherwise.

    hashtag
    GetIpv6CidrBlockOk

    func (o *DatacenterProperties) GetIpv6CidrBlockOk() (*string, bool)

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

    hashtag
    SetIpv6CidrBlock

    func (o *DatacenterProperties) SetIpv6CidrBlock(v string)

    SetIpv6CidrBlock sets Ipv6CidrBlock field to given value.

    hashtag
    HasIpv6CidrBlock

    func (o *DatacenterProperties) HasIpv6CidrBlock() bool

    HasIpv6CidrBlock returns a boolean if a field has been set.

    hashtag
    SetIpv6CidrBlockNil

    func (o *DatacenterProperties) SetIpv6CidrBlockNil()

    SetIpv6CidrBlockNil sets the value for Ipv6CidrBlock to be marshalled as an explicit nil Alternatively Ipv6CidrBlock can be set directly to the address &Nilstring, which is a sentinel value that is checked when marshalling.

    hashtag
    UnsetIpv6CidrBlock

    func (o *DatacenterProperties) UnsetIpv6CidrBlock()

    hashtag
    GetDefaultSecurityGroupId

    func (o *DatacenterProperties) GetDefaultSecurityGroupId() string

    GetDefaultSecurityGroupId returns the DefaultSecurityGroupId field if non-nil, zero value otherwise.

    hashtag
    GetDefaultSecurityGroupIdOk

    func (o *DatacenterProperties) GetDefaultSecurityGroupIdOk() (*string, bool)

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

    hashtag
    SetDefaultSecurityGroupId

    func (o *DatacenterProperties) SetDefaultSecurityGroupId(v string)

    SetDefaultSecurityGroupId sets DefaultSecurityGroupId field to given value.

    hashtag
    HasDefaultSecurityGroupId

    func (o *DatacenterProperties) HasDefaultSecurityGroupId() bool

    HasDefaultSecurityGroupId returns a boolean if a field has been set.

    Name

    Pointer to string

    The name of the resource.

    [optional] [readonly]

    Type

    Pointer to string

    The object type.

    [optional] [readonly]

    Href

    Pointer to string

    The URL to the object representation (absolute path).

    [optional] [readonly]

    Metadata

    Pointer to

    [optional]

    Properties

    Entities

    Pointer to

    [optional]

    hashtag
    Methods

    hashtag
    NewKubernetesClusterForPost

    func NewKubernetesClusterForPost(properties KubernetesClusterPropertiesForPost, ) *KubernetesClusterForPost

    NewKubernetesClusterForPost instantiates a new KubernetesClusterForPost 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

    hashtag
    NewKubernetesClusterForPostWithDefaults

    func NewKubernetesClusterForPostWithDefaults() *KubernetesClusterForPost

    NewKubernetesClusterForPostWithDefaults instantiates a new KubernetesClusterForPost 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

    hashtag
    GetId

    func (o *KubernetesClusterForPost) GetId() string

    GetId returns the Id field if non-nil, zero value otherwise.

    hashtag
    GetIdOk

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

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

    hashtag
    SetId

    func (o *KubernetesClusterForPost) SetId(v string)

    SetId sets Id field to given value.

    hashtag
    HasId

    func (o *KubernetesClusterForPost) HasId() bool

    HasId returns a boolean if a field has been set.

    hashtag
    GetType

    func (o *KubernetesClusterForPost) GetType() string

    GetType returns the Type field if non-nil, zero value otherwise.

    hashtag
    GetTypeOk

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

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

    hashtag
    SetType

    func (o *KubernetesClusterForPost) SetType(v string)

    SetType sets Type field to given value.

    hashtag
    HasType

    func (o *KubernetesClusterForPost) HasType() bool

    HasType returns a boolean if a field has been set.

    hashtag
    GetHref

    func (o *KubernetesClusterForPost) GetHref() string

    GetHref returns the Href field if non-nil, zero value otherwise.

    hashtag
    GetHrefOk

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

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

    hashtag
    SetHref

    func (o *KubernetesClusterForPost) SetHref(v string)

    SetHref sets Href field to given value.

    hashtag
    HasHref

    func (o *KubernetesClusterForPost) HasHref() bool

    HasHref returns a boolean if a field has been set.

    hashtag
    GetMetadata

    func (o *KubernetesClusterForPost) GetMetadata() DatacenterElementMetadata

    GetMetadata returns the Metadata field if non-nil, zero value otherwise.

    hashtag
    GetMetadataOk

    func (o *KubernetesClusterForPost) GetMetadataOk() (*DatacenterElementMetadata, bool)

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

    hashtag
    SetMetadata

    func (o *KubernetesClusterForPost) SetMetadata(v DatacenterElementMetadata)

    SetMetadata sets Metadata field to given value.

    hashtag
    HasMetadata

    func (o *KubernetesClusterForPost) HasMetadata() bool

    HasMetadata returns a boolean if a field has been set.

    hashtag
    GetProperties

    func (o *KubernetesClusterForPost) GetProperties() KubernetesClusterPropertiesForPost

    GetProperties returns the Properties field if non-nil, zero value otherwise.

    hashtag
    GetPropertiesOk

    func (o *KubernetesClusterForPost) GetPropertiesOk() (*KubernetesClusterPropertiesForPost, bool)

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

    hashtag
    SetProperties

    func (o *KubernetesClusterForPost) SetProperties(v KubernetesClusterPropertiesForPost)

    SetProperties sets Properties field to given value.

    hashtag
    GetEntities

    func (o *KubernetesClusterForPost) GetEntities() KubernetesClusterEntities

    GetEntities returns the Entities field if non-nil, zero value otherwise.

    hashtag
    GetEntitiesOk

    func (o *KubernetesClusterForPost) GetEntitiesOk() (*KubernetesClusterEntities, bool)

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

    hashtag
    SetEntities

    func (o *KubernetesClusterForPost) SetEntities(v KubernetesClusterEntities)

    SetEntities sets Entities field to given value.

    hashtag
    HasEntities

    func (o *KubernetesClusterForPost) HasEntities() bool

    HasEntities returns a boolean if a field has been set.

    Id

    Pointer to string

    The resource unique identifier.

    LocationsApi

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

    Method
    HTTP request
    Description

    Get /locations/{regionId}

    Get Locations within a Region

    Get /locations/{regionId}/{locationId}

    Get Location by ID

    hashtag
    LocationsFindByRegionId

    Get Locations within a Region

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiLocationsFindByRegionIdRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    LocationsFindByRegionIdAndId

    Get Location by ID

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiLocationsFindByRegionIdAndIdRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    LocationsGet

    Get Locations

    hashtag
    Example

    hashtag
    Path Parameters

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiLocationsGetRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    BalancedNics

    hashtag
    Properties

    Name
    Type
    Description
    Notes

    Id

    Pointer to string

    hashtag
    Methods

    hashtag
    NewBalancedNics

    func NewBalancedNics() *BalancedNics

    NewBalancedNics instantiates a new BalancedNics 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

    hashtag
    NewBalancedNicsWithDefaults

    func NewBalancedNicsWithDefaults() *BalancedNics

    NewBalancedNicsWithDefaults instantiates a new BalancedNics 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

    hashtag
    GetId

    func (o *BalancedNics) GetId() string

    GetId returns the Id field if non-nil, zero value otherwise.

    hashtag
    GetIdOk

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

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

    hashtag
    SetId

    func (o *BalancedNics) SetId(v string)

    SetId sets Id field to given value.

    hashtag
    HasId

    func (o *BalancedNics) HasId() bool

    HasId returns a boolean if a field has been set.

    hashtag
    GetType

    func (o *BalancedNics) GetType() Type

    GetType returns the Type field if non-nil, zero value otherwise.

    hashtag
    GetTypeOk

    func (o *BalancedNics) GetTypeOk() (*Type, bool)

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

    hashtag
    SetType

    func (o *BalancedNics) SetType(v Type)

    SetType sets Type field to given value.

    hashtag
    HasType

    func (o *BalancedNics) HasType() bool

    HasType returns a boolean if a field has been set.

    hashtag
    GetHref

    func (o *BalancedNics) GetHref() string

    GetHref returns the Href field if non-nil, zero value otherwise.

    hashtag
    GetHrefOk

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

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

    hashtag
    SetHref

    func (o *BalancedNics) SetHref(v string)

    SetHref sets Href field to given value.

    hashtag
    HasHref

    func (o *BalancedNics) HasHref() bool

    HasHref returns a boolean if a field has been set.

    hashtag
    GetItems

    func (o *BalancedNics) GetItems() []Nic

    GetItems returns the Items field if non-nil, zero value otherwise.

    hashtag
    GetItemsOk

    func (o *BalancedNics) GetItemsOk() (*[]Nic, bool)

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

    hashtag
    SetItems

    func (o *BalancedNics) SetItems(v []Nic)

    SetItems sets Items field to given value.

    hashtag
    HasItems

    func (o *BalancedNics) HasItems() bool

    HasItems returns a boolean if a field has been set.

    hashtag
    GetOffset

    func (o *BalancedNics) GetOffset() float32

    GetOffset returns the Offset field if non-nil, zero value otherwise.

    hashtag
    GetOffsetOk

    func (o *BalancedNics) GetOffsetOk() (*float32, bool)

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

    hashtag
    SetOffset

    func (o *BalancedNics) SetOffset(v float32)

    SetOffset sets Offset field to given value.

    hashtag
    HasOffset

    func (o *BalancedNics) HasOffset() bool

    HasOffset returns a boolean if a field has been set.

    hashtag
    GetLimit

    func (o *BalancedNics) GetLimit() float32

    GetLimit returns the Limit field if non-nil, zero value otherwise.

    hashtag
    GetLimitOk

    func (o *BalancedNics) GetLimitOk() (*float32, bool)

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

    hashtag
    SetLimit

    func (o *BalancedNics) SetLimit(v float32)

    SetLimit sets Limit field to given value.

    hashtag
    HasLimit

    func (o *BalancedNics) HasLimit() bool

    HasLimit returns a boolean if a field has been set.

    hashtag
    GetLinks

    func (o *BalancedNics) GetLinks() PaginationLinks

    GetLinks returns the Links field if non-nil, zero value otherwise.

    hashtag
    GetLinksOk

    func (o *BalancedNics) GetLinksOk() (*PaginationLinks, bool)

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

    hashtag
    SetLinks

    func (o *BalancedNics) SetLinks(v PaginationLinks)

    SetLinks sets Links field to given value.

    hashtag
    HasLinks

    func (o *BalancedNics) HasLinks() bool

    HasLinks returns a boolean if a field has been set.

    IpBlocks

    hashtag
    Properties

    Name
    Type
    Description
    Notes

    Id

    Pointer to string

    hashtag
    Methods

    hashtag
    NewIpBlocks

    func NewIpBlocks() *IpBlocks

    NewIpBlocks instantiates a new IpBlocks 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

    hashtag
    NewIpBlocksWithDefaults

    func NewIpBlocksWithDefaults() *IpBlocks

    NewIpBlocksWithDefaults instantiates a new IpBlocks 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

    hashtag
    GetId

    func (o *IpBlocks) GetId() string

    GetId returns the Id field if non-nil, zero value otherwise.

    hashtag
    GetIdOk

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

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

    hashtag
    SetId

    func (o *IpBlocks) SetId(v string)

    SetId sets Id field to given value.

    hashtag
    HasId

    func (o *IpBlocks) HasId() bool

    HasId returns a boolean if a field has been set.

    hashtag
    GetType

    func (o *IpBlocks) GetType() Type

    GetType returns the Type field if non-nil, zero value otherwise.

    hashtag
    GetTypeOk

    func (o *IpBlocks) GetTypeOk() (*Type, bool)

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

    hashtag
    SetType

    func (o *IpBlocks) SetType(v Type)

    SetType sets Type field to given value.

    hashtag
    HasType

    func (o *IpBlocks) HasType() bool

    HasType returns a boolean if a field has been set.

    hashtag
    GetHref

    func (o *IpBlocks) GetHref() string

    GetHref returns the Href field if non-nil, zero value otherwise.

    hashtag
    GetHrefOk

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

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

    hashtag
    SetHref

    func (o *IpBlocks) SetHref(v string)

    SetHref sets Href field to given value.

    hashtag
    HasHref

    func (o *IpBlocks) HasHref() bool

    HasHref returns a boolean if a field has been set.

    hashtag
    GetItems

    func (o *IpBlocks) GetItems() []IpBlock

    GetItems returns the Items field if non-nil, zero value otherwise.

    hashtag
    GetItemsOk

    func (o *IpBlocks) GetItemsOk() (*[]IpBlock, bool)

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

    hashtag
    SetItems

    func (o *IpBlocks) SetItems(v []IpBlock)

    SetItems sets Items field to given value.

    hashtag
    HasItems

    func (o *IpBlocks) HasItems() bool

    HasItems returns a boolean if a field has been set.

    hashtag
    GetOffset

    func (o *IpBlocks) GetOffset() float32

    GetOffset returns the Offset field if non-nil, zero value otherwise.

    hashtag
    GetOffsetOk

    func (o *IpBlocks) GetOffsetOk() (*float32, bool)

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

    hashtag
    SetOffset

    func (o *IpBlocks) SetOffset(v float32)

    SetOffset sets Offset field to given value.

    hashtag
    HasOffset

    func (o *IpBlocks) HasOffset() bool

    HasOffset returns a boolean if a field has been set.

    hashtag
    GetLimit

    func (o *IpBlocks) GetLimit() float32

    GetLimit returns the Limit field if non-nil, zero value otherwise.

    hashtag
    GetLimitOk

    func (o *IpBlocks) GetLimitOk() (*float32, bool)

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

    hashtag
    SetLimit

    func (o *IpBlocks) SetLimit(v float32)

    SetLimit sets Limit field to given value.

    hashtag
    HasLimit

    func (o *IpBlocks) HasLimit() bool

    HasLimit returns a boolean if a field has been set.

    hashtag
    GetLinks

    func (o *IpBlocks) GetLinks() PaginationLinks

    GetLinks returns the Links field if non-nil, zero value otherwise.

    hashtag
    GetLinksOk

    func (o *IpBlocks) GetLinksOk() (*PaginationLinks, bool)

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

    hashtag
    SetLinks

    func (o *IpBlocks) SetLinks(v PaginationLinks)

    SetLinks sets Links field to given value.

    hashtag
    HasLinks

    func (o *IpBlocks) HasLinks() bool

    HasLinks returns a boolean if a field has been set.

    KubernetesClusterPropertiesForPost

    hashtag
    Properties

    Name
    Type
    Description
    Notes

    Images

    hashtag
    Properties

    Name
    Type
    Description
    Notes

    The resource's unique identifier.

    [optional] [readonly]

    Type

    Pointer to Type

    The type of object that has been created.

    [optional]

    Href

    Pointer to string

    URL to the object representation (absolute path).

    [optional] [readonly]

    Items

    Pointer to []Nic

    Array of items in the collection.

    [optional] [readonly]

    Offset

    Pointer to float32

    The offset (if specified in the request).

    [optional]

    Limit

    Pointer to float32

    The limit (if specified in the request).

    [optional]

    Links

    Pointer to PaginationLinks

    [optional]

    The resource's unique identifier.

    [optional] [readonly]

    Type

    Pointer to Type

    The type of object that has been created.

    [optional]

    Href

    Pointer to string

    URL to the object representation (absolute path).

    [optional] [readonly]

    Items

    Pointer to []IpBlock

    Array of items in the collection.

    [optional] [readonly]

    Offset

    Pointer to float32

    The offset, specified in the request (if not is specified, 0 is used by default).

    [optional]

    Limit

    Pointer to float32

    The limit, specified in the request (if not specified, the endpoint's default pagination limit is used).

    [optional]

    Links

    Pointer to PaginationLinks

    [optional]

    Type
    []Datacenter
    PaginationLinks
    []CpuArchitectureProperties
    DatacenterElementMetadata
    KubernetesClusterPropertiesForPost
    KubernetesClusterEntities

    Get /locations

    Get Locations

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    regionId

    string

    The unique ID of the region.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    regionId

    string

    The unique ID of the region.

    locationId

    string

    The unique ID of the location.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    Locations
    Location
    Locations
    LocationsFindByRegionId
    LocationsFindByRegionIdAndId
    LocationsGet

    var result Locations = LocationsFindByRegionId(ctx, regionId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        regionId := "regionId_example" // string | The unique ID of the region.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.LocationsApi.LocationsFindByRegionId(context.Background(), regionId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `LocationsApi.LocationsFindByRegionId``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `LocationsFindByRegionId`: Locations
        fmt.Fprintf(os.Stdout, "Response from `LocationsApi.LocationsFindByRegionId`: %v\n", resp)
    }
    var result Location = LocationsFindByRegionIdAndId(ctx, regionId, locationId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        regionId := "regionId_example" // string | The unique ID of the region.
        locationId := "locationId_example" // string | The unique ID of the location.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.LocationsApi.LocationsFindByRegionIdAndId(context.Background(), regionId, locationId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `LocationsApi.LocationsFindByRegionIdAndId``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `LocationsFindByRegionIdAndId`: Location
        fmt.Fprintf(os.Stdout, "Response from `LocationsApi.LocationsFindByRegionIdAndId`: %v\n", resp)
    }
    var result Locations = LocationsGet(ctx)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.LocationsApi.LocationsGet(context.Background()).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `LocationsApi.LocationsGet``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `LocationsGet`: Locations
        fmt.Fprintf(os.Stdout, "Response from `LocationsApi.LocationsGet`: %v\n", resp)
    }

    K8sVersion

    Pointer to string

    The Kubernetes version that the cluster is running. This limits which Kubernetes versions can run in a cluster's node pools. Also, not all Kubernetes versions are suitable upgrade targets for all earlier versions.

    [optional]

    MaintenanceWindow

    Pointer to

    [optional]

    Public

    Pointer to bool

    The indicator whether the cluster is public or private. Note that the status FALSE is still in the beta phase.

    [optional] [default to true]

    Location

    Pointer to string

    This attribute is mandatory if the cluster is private and optional if the cluster is public. The location must be enabled for your contract, or you must have a data center at that location. This property is not adjustable.

    [optional]

    NatGatewayIp

    Pointer to string

    The nat gateway IP of the cluster if the cluster is private. This property is immutable. Must be a reserved IP in the same location as the cluster's location. This attribute is mandatory if the cluster is private.

    [optional]

    NodeSubnet

    Pointer to string

    The node subnet of the cluster, if the cluster is private. This property is optional and immutable. Must be a valid CIDR notation for an IPv4 network prefix of 16 bits length.

    [optional]

    ApiSubnetAllowList

    Pointer to []string

    Access to the K8s API server is restricted to these CIDRs. Intra-cluster traffic is not affected by this restriction. If no AllowList is specified, access is not limited. If an IP is specified without a subnet mask, the default value is 32 for IPv4 and 128 for IPv6.

    [optional]

    S3Buckets

    Pointer to

    List of Object storage buckets configured for K8s usage. At the moment, it contains only one bucket that is used to store K8s API audit logs.

    [optional]

    hashtag
    Methods

    hashtag
    NewKubernetesClusterPropertiesForPost

    func NewKubernetesClusterPropertiesForPost(name string, ) *KubernetesClusterPropertiesForPost

    NewKubernetesClusterPropertiesForPost instantiates a new KubernetesClusterPropertiesForPost 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

    hashtag
    NewKubernetesClusterPropertiesForPostWithDefaults

    func NewKubernetesClusterPropertiesForPostWithDefaults() *KubernetesClusterPropertiesForPost

    NewKubernetesClusterPropertiesForPostWithDefaults instantiates a new KubernetesClusterPropertiesForPost 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

    hashtag
    GetName

    func (o *KubernetesClusterPropertiesForPost) GetName() string

    GetName returns the Name field if non-nil, zero value otherwise.

    hashtag
    GetNameOk

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

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

    hashtag
    SetName

    func (o *KubernetesClusterPropertiesForPost) SetName(v string)

    SetName sets Name field to given value.

    hashtag
    GetK8sVersion

    func (o *KubernetesClusterPropertiesForPost) GetK8sVersion() string

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

    hashtag
    GetK8sVersionOk

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

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

    hashtag
    SetK8sVersion

    func (o *KubernetesClusterPropertiesForPost) SetK8sVersion(v string)

    SetK8sVersion sets K8sVersion field to given value.

    hashtag
    HasK8sVersion

    func (o *KubernetesClusterPropertiesForPost) HasK8sVersion() bool

    HasK8sVersion returns a boolean if a field has been set.

    hashtag
    GetMaintenanceWindow

    func (o *KubernetesClusterPropertiesForPost) GetMaintenanceWindow() KubernetesMaintenanceWindow

    GetMaintenanceWindow returns the MaintenanceWindow field if non-nil, zero value otherwise.

    hashtag
    GetMaintenanceWindowOk

    func (o *KubernetesClusterPropertiesForPost) GetMaintenanceWindowOk() (*KubernetesMaintenanceWindow, bool)

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

    hashtag
    SetMaintenanceWindow

    func (o *KubernetesClusterPropertiesForPost) SetMaintenanceWindow(v KubernetesMaintenanceWindow)

    SetMaintenanceWindow sets MaintenanceWindow field to given value.

    hashtag
    HasMaintenanceWindow

    func (o *KubernetesClusterPropertiesForPost) HasMaintenanceWindow() bool

    HasMaintenanceWindow returns a boolean if a field has been set.

    hashtag
    GetPublic

    func (o *KubernetesClusterPropertiesForPost) GetPublic() bool

    GetPublic returns the Public field if non-nil, zero value otherwise.

    hashtag
    GetPublicOk

    func (o *KubernetesClusterPropertiesForPost) GetPublicOk() (*bool, bool)

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

    hashtag
    SetPublic

    func (o *KubernetesClusterPropertiesForPost) SetPublic(v bool)

    SetPublic sets Public field to given value.

    hashtag
    HasPublic

    func (o *KubernetesClusterPropertiesForPost) HasPublic() bool

    HasPublic returns a boolean if a field has been set.

    hashtag
    GetLocation

    func (o *KubernetesClusterPropertiesForPost) GetLocation() string

    GetLocation returns the Location field if non-nil, zero value otherwise.

    hashtag
    GetLocationOk

    func (o *KubernetesClusterPropertiesForPost) GetLocationOk() (*string, bool)

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

    hashtag
    SetLocation

    func (o *KubernetesClusterPropertiesForPost) SetLocation(v string)

    SetLocation sets Location field to given value.

    hashtag
    HasLocation

    func (o *KubernetesClusterPropertiesForPost) HasLocation() bool

    HasLocation returns a boolean if a field has been set.

    hashtag
    GetNatGatewayIp

    func (o *KubernetesClusterPropertiesForPost) GetNatGatewayIp() string

    GetNatGatewayIp returns the NatGatewayIp field if non-nil, zero value otherwise.

    hashtag
    GetNatGatewayIpOk

    func (o *KubernetesClusterPropertiesForPost) GetNatGatewayIpOk() (*string, bool)

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

    hashtag
    SetNatGatewayIp

    func (o *KubernetesClusterPropertiesForPost) SetNatGatewayIp(v string)

    SetNatGatewayIp sets NatGatewayIp field to given value.

    hashtag
    HasNatGatewayIp

    func (o *KubernetesClusterPropertiesForPost) HasNatGatewayIp() bool

    HasNatGatewayIp returns a boolean if a field has been set.

    hashtag
    GetNodeSubnet

    func (o *KubernetesClusterPropertiesForPost) GetNodeSubnet() string

    GetNodeSubnet returns the NodeSubnet field if non-nil, zero value otherwise.

    hashtag
    GetNodeSubnetOk

    func (o *KubernetesClusterPropertiesForPost) GetNodeSubnetOk() (*string, bool)

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

    hashtag
    SetNodeSubnet

    func (o *KubernetesClusterPropertiesForPost) SetNodeSubnet(v string)

    SetNodeSubnet sets NodeSubnet field to given value.

    hashtag
    HasNodeSubnet

    func (o *KubernetesClusterPropertiesForPost) HasNodeSubnet() bool

    HasNodeSubnet returns a boolean if a field has been set.

    hashtag
    GetApiSubnetAllowList

    func (o *KubernetesClusterPropertiesForPost) GetApiSubnetAllowList() []string

    GetApiSubnetAllowList returns the ApiSubnetAllowList field if non-nil, zero value otherwise.

    hashtag
    GetApiSubnetAllowListOk

    func (o *KubernetesClusterPropertiesForPost) GetApiSubnetAllowListOk() (*[]string, bool)

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

    hashtag
    SetApiSubnetAllowList

    func (o *KubernetesClusterPropertiesForPost) SetApiSubnetAllowList(v []string)

    SetApiSubnetAllowList sets ApiSubnetAllowList field to given value.

    hashtag
    HasApiSubnetAllowList

    func (o *KubernetesClusterPropertiesForPost) HasApiSubnetAllowList() bool

    HasApiSubnetAllowList returns a boolean if a field has been set.

    hashtag
    GetS3Buckets

    func (o *KubernetesClusterPropertiesForPost) GetS3Buckets() []S3Bucket

    GetS3Buckets returns the S3Buckets field if non-nil, zero value otherwise.

    hashtag
    GetS3BucketsOk

    func (o *KubernetesClusterPropertiesForPost) GetS3BucketsOk() (*[]S3Bucket, bool)

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

    hashtag
    SetS3Buckets

    func (o *KubernetesClusterPropertiesForPost) SetS3Buckets(v []S3Bucket)

    SetS3Buckets sets S3Buckets field to given value.

    hashtag
    HasS3Buckets

    func (o *KubernetesClusterPropertiesForPost) HasS3Buckets() bool

    HasS3Buckets returns a boolean if a field has been set.

    Name

    string

    A Kubernetes cluster name. Valid Kubernetes cluster name must be 63 characters or less and must be empty or begin and end with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between.

    [optional] [readonly]

    Type

    Pointer to

    The type of object that has been created.

    [optional]

    Href

    Pointer to string

    The URL to the object representation (absolute path).

    [optional] [readonly]

    Items

    Pointer to

    Array of items in the collection.

    [optional] [readonly]

    hashtag
    Methods

    hashtag
    NewImages

    func NewImages() *Images

    NewImages instantiates a new Images 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

    hashtag
    NewImagesWithDefaults

    func NewImagesWithDefaults() *Images

    NewImagesWithDefaults instantiates a new Images 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

    hashtag
    GetId

    func (o *Images) GetId() string

    GetId returns the Id field if non-nil, zero value otherwise.

    hashtag
    GetIdOk

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

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

    hashtag
    SetId

    func (o *Images) SetId(v string)

    SetId sets Id field to given value.

    hashtag
    HasId

    func (o *Images) HasId() bool

    HasId returns a boolean if a field has been set.

    hashtag
    GetType

    func (o *Images) GetType() Type

    GetType returns the Type field if non-nil, zero value otherwise.

    hashtag
    GetTypeOk

    func (o *Images) GetTypeOk() (*Type, bool)

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

    hashtag
    SetType

    func (o *Images) SetType(v Type)

    SetType sets Type field to given value.

    hashtag
    HasType

    func (o *Images) HasType() bool

    HasType returns a boolean if a field has been set.

    hashtag
    GetHref

    func (o *Images) GetHref() string

    GetHref returns the Href field if non-nil, zero value otherwise.

    hashtag
    GetHrefOk

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

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

    hashtag
    SetHref

    func (o *Images) SetHref(v string)

    SetHref sets Href field to given value.

    hashtag
    HasHref

    func (o *Images) HasHref() bool

    HasHref returns a boolean if a field has been set.

    hashtag
    GetItems

    func (o *Images) GetItems() []Image

    GetItems returns the Items field if non-nil, zero value otherwise.

    hashtag
    GetItemsOk

    func (o *Images) GetItemsOk() (*[]Image, bool)

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

    hashtag
    SetItems

    func (o *Images) SetItems(v []Image)

    SetItems sets Items field to given value.

    hashtag
    HasItems

    func (o *Images) HasItems() bool

    HasItems returns a boolean if a field has been set.

    Id

    Pointer to string

    The resource's unique identifier.

    FirewallruleProperties

    hashtag
    Properties

    Name
    Type
    Description
    Notes

    KubernetesClusterProperties

    hashtag
    Properties

    Name
    Type
    Description
    Notes

    DataCenterEntities

    hashtag
    Properties

    Name
    Type
    Description
    Notes
    KubernetesMaintenanceWindow
    []S3Bucket
    Type
    []Image

    [optional]

    Protocol

    Pointer to string

    The protocol for the rule. Property cannot be modified after it is created (disallowed in update requests).

    [optional]

    SourceMac

    Pointer to NullableString

    Only traffic originating from the respective MAC address is allowed. Valid format: aa:bb:cc:dd:ee:ff. Value null allows traffic from any MAC address.

    [optional]

    IpVersion

    Pointer to NullableString

    The IP version for this rule. If sourceIp or targetIp are specified, you can omit this value - the IP version will then be deduced from the IP address(es) used; if you specify it anyway, it must match the specified IP address(es). If neither sourceIp nor targetIp are specified, this rule allows traffic only for the specified IP version. If neither sourceIp, targetIp nor ipVersion are specified, this rule will only allow IPv4 traffic.

    [optional]

    SourceIp

    Pointer to NullableString

    Only traffic originating from the respective IP address (or CIDR block) is allowed. Value null allows traffic from any IP address (according to the selected ipVersion).

    [optional]

    TargetIp

    Pointer to NullableString

    If the target NIC has multiple IP addresses, only the traffic directed to the respective IP address (or CIDR block) of the NIC is allowed. Value null allows traffic to any target IP address (according to the selected ipVersion).

    [optional]

    IcmpCode

    Pointer to NullableInt32

    Defines the allowed code (from 0 to 254) if protocol ICMP or ICMPv6 is chosen. Value null allows all codes.

    [optional]

    IcmpType

    Pointer to NullableInt32

    Defines the allowed type (from 0 to 254) if the protocol ICMP or ICMPv6 is chosen. Value null allows all types.

    [optional]

    PortRangeStart

    Pointer to int32

    Defines the start range of the allowed port (from 1 to 65535) if protocol TCP or UDP is chosen. Leave portRangeStart and portRangeEnd value null to allow all ports.

    [optional]

    PortRangeEnd

    Pointer to int32

    Defines the end range of the allowed port (from 1 to 65535) if the protocol TCP or UDP is chosen. Leave portRangeStart and portRangeEnd null to allow all ports.

    [optional]

    Type

    Pointer to string

    The type of the firewall rule. If not specified, the default INGRESS value is used.

    [optional]

    hashtag
    Methods

    hashtag
    NewFirewallruleProperties

    func NewFirewallruleProperties() *FirewallruleProperties

    NewFirewallruleProperties instantiates a new FirewallruleProperties 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

    hashtag
    NewFirewallrulePropertiesWithDefaults

    func NewFirewallrulePropertiesWithDefaults() *FirewallruleProperties

    NewFirewallrulePropertiesWithDefaults instantiates a new FirewallruleProperties 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

    hashtag
    GetName

    func (o *FirewallruleProperties) GetName() string

    GetName returns the Name field if non-nil, zero value otherwise.

    hashtag
    GetNameOk

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

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

    hashtag
    SetName

    func (o *FirewallruleProperties) SetName(v string)

    SetName sets Name field to given value.

    hashtag
    HasName

    func (o *FirewallruleProperties) HasName() bool

    HasName returns a boolean if a field has been set.

    hashtag
    GetProtocol

    func (o *FirewallruleProperties) GetProtocol() string

    GetProtocol returns the Protocol field if non-nil, zero value otherwise.

    hashtag
    GetProtocolOk

    func (o *FirewallruleProperties) GetProtocolOk() (*string, bool)

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

    hashtag
    SetProtocol

    func (o *FirewallruleProperties) SetProtocol(v string)

    SetProtocol sets Protocol field to given value.

    hashtag
    HasProtocol

    func (o *FirewallruleProperties) HasProtocol() bool

    HasProtocol returns a boolean if a field has been set.

    hashtag
    GetSourceMac

    func (o *FirewallruleProperties) GetSourceMac() string

    GetSourceMac returns the SourceMac field if non-nil, zero value otherwise.

    hashtag
    GetSourceMacOk

    func (o *FirewallruleProperties) GetSourceMacOk() (*string, bool)

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

    hashtag
    SetSourceMac

    func (o *FirewallruleProperties) SetSourceMac(v string)

    SetSourceMac sets SourceMac field to given value.

    hashtag
    HasSourceMac

    func (o *FirewallruleProperties) HasSourceMac() bool

    HasSourceMac returns a boolean if a field has been set.

    hashtag
    SetSourceMacNil

    func (o *FirewallruleProperties) SetSourceMacNil()

    SetSourceMacNil sets the value for SourceMac to be marshalled as an explicit nil Alternatively SourceMac can be set directly to the address &Nilstring, which is a sentinel value that is checked when marshalling.

    hashtag
    UnsetSourceMac

    func (o *FirewallruleProperties) UnsetSourceMac()

    hashtag
    GetIpVersion

    func (o *FirewallruleProperties) GetIpVersion() string

    GetIpVersion returns the IpVersion field if non-nil, zero value otherwise.

    hashtag
    GetIpVersionOk

    func (o *FirewallruleProperties) GetIpVersionOk() (*string, bool)

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

    hashtag
    SetIpVersion

    func (o *FirewallruleProperties) SetIpVersion(v string)

    SetIpVersion sets IpVersion field to given value.

    hashtag
    HasIpVersion

    func (o *FirewallruleProperties) HasIpVersion() bool

    HasIpVersion returns a boolean if a field has been set.

    hashtag
    SetIpVersionNil

    func (o *FirewallruleProperties) SetIpVersionNil()

    SetIpVersionNil sets the value for IpVersion to be marshalled as an explicit nil Alternatively IpVersion can be set directly to the address &Nilstring, which is a sentinel value that is checked when marshalling.

    hashtag
    UnsetIpVersion

    func (o *FirewallruleProperties) UnsetIpVersion()

    hashtag
    GetSourceIp

    func (o *FirewallruleProperties) GetSourceIp() string

    GetSourceIp returns the SourceIp field if non-nil, zero value otherwise.

    hashtag
    GetSourceIpOk

    func (o *FirewallruleProperties) GetSourceIpOk() (*string, bool)

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

    hashtag
    SetSourceIp

    func (o *FirewallruleProperties) SetSourceIp(v string)

    SetSourceIp sets SourceIp field to given value.

    hashtag
    HasSourceIp

    func (o *FirewallruleProperties) HasSourceIp() bool

    HasSourceIp returns a boolean if a field has been set.

    hashtag
    SetSourceIpNil

    func (o *FirewallruleProperties) SetSourceIpNil()

    SetSourceIpNil sets the value for SourceIp to be marshalled as an explicit nil Alternatively SourceIp can be set directly to the address &Nilstring, which is a sentinel value that is checked when marshalling.

    hashtag
    UnsetSourceIp

    func (o *FirewallruleProperties) UnsetSourceIp()

    hashtag
    GetTargetIp

    func (o *FirewallruleProperties) GetTargetIp() string

    GetTargetIp returns the TargetIp field if non-nil, zero value otherwise.

    hashtag
    GetTargetIpOk

    func (o *FirewallruleProperties) GetTargetIpOk() (*string, bool)

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

    hashtag
    SetTargetIp

    func (o *FirewallruleProperties) SetTargetIp(v string)

    SetTargetIp sets TargetIp field to given value.

    hashtag
    HasTargetIp

    func (o *FirewallruleProperties) HasTargetIp() bool

    HasTargetIp returns a boolean if a field has been set.

    hashtag
    SetTargetIpNil

    func (o *FirewallruleProperties) SetTargetIpNil()

    SetTargetIpNil sets the value for TargetIp to be marshalled as an explicit nil Alternatively TargetIp can be set directly to the address &Nilstring, which is a sentinel value that is checked when marshalling.

    hashtag
    UnsetTargetIp

    func (o *FirewallruleProperties) UnsetTargetIp()

    hashtag
    GetIcmpCode

    func (o *FirewallruleProperties) GetIcmpCode() int32

    GetIcmpCode returns the IcmpCode field if non-nil, zero value otherwise.

    hashtag
    GetIcmpCodeOk

    func (o *FirewallruleProperties) GetIcmpCodeOk() (*int32, bool)

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

    hashtag
    SetIcmpCode

    func (o *FirewallruleProperties) SetIcmpCode(v int32)

    SetIcmpCode sets IcmpCode field to given value.

    hashtag
    HasIcmpCode

    func (o *FirewallruleProperties) HasIcmpCode() bool

    HasIcmpCode returns a boolean if a field has been set.

    hashtag
    SetIcmpCodeNil

    func (o *FirewallruleProperties) SetIcmpCodeNil()

    SetIcmpCodeNil sets the value for IcmpCode to be marshalled as an explicit nil Alternatively IcmpCode can be set directly to the address &Nilint32, which is a sentinel value that is checked when marshalling.

    hashtag
    UnsetIcmpCode

    func (o *FirewallruleProperties) UnsetIcmpCode()

    hashtag
    GetIcmpType

    func (o *FirewallruleProperties) GetIcmpType() int32

    GetIcmpType returns the IcmpType field if non-nil, zero value otherwise.

    hashtag
    GetIcmpTypeOk

    func (o *FirewallruleProperties) GetIcmpTypeOk() (*int32, bool)

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

    hashtag
    SetIcmpType

    func (o *FirewallruleProperties) SetIcmpType(v int32)

    SetIcmpType sets IcmpType field to given value.

    hashtag
    HasIcmpType

    func (o *FirewallruleProperties) HasIcmpType() bool

    HasIcmpType returns a boolean if a field has been set.

    hashtag
    SetIcmpTypeNil

    func (o *FirewallruleProperties) SetIcmpTypeNil()

    SetIcmpTypeNil sets the value for IcmpType to be marshalled as an explicit nil Alternatively IcmpType can be set directly to the address &Nilint32, which is a sentinel value that is checked when marshalling.

    hashtag
    UnsetIcmpType

    func (o *FirewallruleProperties) UnsetIcmpType()

    hashtag
    GetPortRangeStart

    func (o *FirewallruleProperties) GetPortRangeStart() int32

    GetPortRangeStart returns the PortRangeStart field if non-nil, zero value otherwise.

    hashtag
    GetPortRangeStartOk

    func (o *FirewallruleProperties) GetPortRangeStartOk() (*int32, bool)

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

    hashtag
    SetPortRangeStart

    func (o *FirewallruleProperties) SetPortRangeStart(v int32)

    SetPortRangeStart sets PortRangeStart field to given value.

    hashtag
    HasPortRangeStart

    func (o *FirewallruleProperties) HasPortRangeStart() bool

    HasPortRangeStart returns a boolean if a field has been set.

    hashtag
    GetPortRangeEnd

    func (o *FirewallruleProperties) GetPortRangeEnd() int32

    GetPortRangeEnd returns the PortRangeEnd field if non-nil, zero value otherwise.

    hashtag
    GetPortRangeEndOk

    func (o *FirewallruleProperties) GetPortRangeEndOk() (*int32, bool)

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

    hashtag
    SetPortRangeEnd

    func (o *FirewallruleProperties) SetPortRangeEnd(v int32)

    SetPortRangeEnd sets PortRangeEnd field to given value.

    hashtag
    HasPortRangeEnd

    func (o *FirewallruleProperties) HasPortRangeEnd() bool

    HasPortRangeEnd returns a boolean if a field has been set.

    hashtag
    GetType

    func (o *FirewallruleProperties) GetType() string

    GetType returns the Type field if non-nil, zero value otherwise.

    hashtag
    GetTypeOk

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

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

    hashtag
    SetType

    func (o *FirewallruleProperties) SetType(v string)

    SetType sets Type field to given value.

    hashtag
    HasType

    func (o *FirewallruleProperties) HasType() bool

    HasType returns a boolean if a field has been set.

    Name

    Pointer to string

    The name of the resource.

    K8sVersion

    Pointer to string

    The Kubernetes version the cluster is running. This imposes restrictions on what Kubernetes versions can be run in a cluster's nodepools. Additionally, not all Kubernetes versions are viable upgrade targets for all prior versions.

    [optional]

    MaintenanceWindow

    Pointer to

    [optional]

    AvailableUpgradeVersions

    Pointer to []string

    List of available versions for upgrading the cluster

    [optional]

    ViableNodePoolVersions

    Pointer to []string

    List of versions that may be used for node pools under this cluster

    [optional]

    Public

    Pointer to bool

    The indicator if the cluster is public or private. Be aware that setting it to false is currently in beta phase.

    [optional] [default to true]

    Location

    Pointer to string

    The location of the cluster if the cluster is private. This property is immutable. The location must be enabled for your contract or you must have a Datacenter within that location. This attribute is mandatory if the cluster is private.

    [optional]

    NatGatewayIp

    Pointer to string

    The nat gateway IP of the cluster if the cluster is private. This property is immutable. Must be a reserved IP in the same location as the cluster's location. This attribute is mandatory if the cluster is private.

    [optional]

    NodeSubnet

    Pointer to string

    The node subnet of the cluster, if the cluster is private. This property is optional and immutable. Must be a valid CIDR notation for an IPv4 network prefix of 16 bits length.

    [optional]

    ApiSubnetAllowList

    Pointer to []string

    Access to the K8s API server is restricted to these CIDRs. Traffic, internal to the cluster, is not affected by this restriction. If no allowlist is specified, access is not restricted. If an IP without subnet mask is provided, the default value is used: 32 for IPv4 and 128 for IPv6.

    [optional]

    S3Buckets

    Pointer to

    List of Object storage buckets configured for K8s usage. For now it contains only one bucket used to store K8s API audit logs

    [optional]

    hashtag
    Methods

    hashtag
    NewKubernetesClusterProperties

    func NewKubernetesClusterProperties(name string, ) *KubernetesClusterProperties

    NewKubernetesClusterProperties instantiates a new KubernetesClusterProperties 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

    hashtag
    NewKubernetesClusterPropertiesWithDefaults

    func NewKubernetesClusterPropertiesWithDefaults() *KubernetesClusterProperties

    NewKubernetesClusterPropertiesWithDefaults instantiates a new KubernetesClusterProperties 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

    hashtag
    GetName

    func (o *KubernetesClusterProperties) GetName() string

    GetName returns the Name field if non-nil, zero value otherwise.

    hashtag
    GetNameOk

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

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

    hashtag
    SetName

    func (o *KubernetesClusterProperties) SetName(v string)

    SetName sets Name field to given value.

    hashtag
    GetK8sVersion

    func (o *KubernetesClusterProperties) GetK8sVersion() string

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

    hashtag
    GetK8sVersionOk

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

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

    hashtag
    SetK8sVersion

    func (o *KubernetesClusterProperties) SetK8sVersion(v string)

    SetK8sVersion sets K8sVersion field to given value.

    hashtag
    HasK8sVersion

    func (o *KubernetesClusterProperties) HasK8sVersion() bool

    HasK8sVersion returns a boolean if a field has been set.

    hashtag
    GetMaintenanceWindow

    func (o *KubernetesClusterProperties) GetMaintenanceWindow() KubernetesMaintenanceWindow

    GetMaintenanceWindow returns the MaintenanceWindow field if non-nil, zero value otherwise.

    hashtag
    GetMaintenanceWindowOk

    func (o *KubernetesClusterProperties) GetMaintenanceWindowOk() (*KubernetesMaintenanceWindow, bool)

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

    hashtag
    SetMaintenanceWindow

    func (o *KubernetesClusterProperties) SetMaintenanceWindow(v KubernetesMaintenanceWindow)

    SetMaintenanceWindow sets MaintenanceWindow field to given value.

    hashtag
    HasMaintenanceWindow

    func (o *KubernetesClusterProperties) HasMaintenanceWindow() bool

    HasMaintenanceWindow returns a boolean if a field has been set.

    hashtag
    GetAvailableUpgradeVersions

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

    GetAvailableUpgradeVersions returns the AvailableUpgradeVersions field if non-nil, zero value otherwise.

    hashtag
    GetAvailableUpgradeVersionsOk

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

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

    hashtag
    SetAvailableUpgradeVersions

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

    SetAvailableUpgradeVersions sets AvailableUpgradeVersions field to given value.

    hashtag
    HasAvailableUpgradeVersions

    func (o *KubernetesClusterProperties) HasAvailableUpgradeVersions() bool

    HasAvailableUpgradeVersions returns a boolean if a field has been set.

    hashtag
    GetViableNodePoolVersions

    func (o *KubernetesClusterProperties) GetViableNodePoolVersions() []string

    GetViableNodePoolVersions returns the ViableNodePoolVersions field if non-nil, zero value otherwise.

    hashtag
    GetViableNodePoolVersionsOk

    func (o *KubernetesClusterProperties) GetViableNodePoolVersionsOk() (*[]string, bool)

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

    hashtag
    SetViableNodePoolVersions

    func (o *KubernetesClusterProperties) SetViableNodePoolVersions(v []string)

    SetViableNodePoolVersions sets ViableNodePoolVersions field to given value.

    hashtag
    HasViableNodePoolVersions

    func (o *KubernetesClusterProperties) HasViableNodePoolVersions() bool

    HasViableNodePoolVersions returns a boolean if a field has been set.

    hashtag
    GetPublic

    func (o *KubernetesClusterProperties) GetPublic() bool

    GetPublic returns the Public field if non-nil, zero value otherwise.

    hashtag
    GetPublicOk

    func (o *KubernetesClusterProperties) GetPublicOk() (*bool, bool)

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

    hashtag
    SetPublic

    func (o *KubernetesClusterProperties) SetPublic(v bool)

    SetPublic sets Public field to given value.

    hashtag
    HasPublic

    func (o *KubernetesClusterProperties) HasPublic() bool

    HasPublic returns a boolean if a field has been set.

    hashtag
    GetLocation

    func (o *KubernetesClusterProperties) GetLocation() string

    GetLocation returns the Location field if non-nil, zero value otherwise.

    hashtag
    GetLocationOk

    func (o *KubernetesClusterProperties) GetLocationOk() (*string, bool)

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

    hashtag
    SetLocation

    func (o *KubernetesClusterProperties) SetLocation(v string)

    SetLocation sets Location field to given value.

    hashtag
    HasLocation

    func (o *KubernetesClusterProperties) HasLocation() bool

    HasLocation returns a boolean if a field has been set.

    hashtag
    GetNatGatewayIp

    func (o *KubernetesClusterProperties) GetNatGatewayIp() string

    GetNatGatewayIp returns the NatGatewayIp field if non-nil, zero value otherwise.

    hashtag
    GetNatGatewayIpOk

    func (o *KubernetesClusterProperties) GetNatGatewayIpOk() (*string, bool)

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

    hashtag
    SetNatGatewayIp

    func (o *KubernetesClusterProperties) SetNatGatewayIp(v string)

    SetNatGatewayIp sets NatGatewayIp field to given value.

    hashtag
    HasNatGatewayIp

    func (o *KubernetesClusterProperties) HasNatGatewayIp() bool

    HasNatGatewayIp returns a boolean if a field has been set.

    hashtag
    GetNodeSubnet

    func (o *KubernetesClusterProperties) GetNodeSubnet() string

    GetNodeSubnet returns the NodeSubnet field if non-nil, zero value otherwise.

    hashtag
    GetNodeSubnetOk

    func (o *KubernetesClusterProperties) GetNodeSubnetOk() (*string, bool)

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

    hashtag
    SetNodeSubnet

    func (o *KubernetesClusterProperties) SetNodeSubnet(v string)

    SetNodeSubnet sets NodeSubnet field to given value.

    hashtag
    HasNodeSubnet

    func (o *KubernetesClusterProperties) HasNodeSubnet() bool

    HasNodeSubnet returns a boolean if a field has been set.

    hashtag
    GetApiSubnetAllowList

    func (o *KubernetesClusterProperties) GetApiSubnetAllowList() []string

    GetApiSubnetAllowList returns the ApiSubnetAllowList field if non-nil, zero value otherwise.

    hashtag
    GetApiSubnetAllowListOk

    func (o *KubernetesClusterProperties) GetApiSubnetAllowListOk() (*[]string, bool)

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

    hashtag
    SetApiSubnetAllowList

    func (o *KubernetesClusterProperties) SetApiSubnetAllowList(v []string)

    SetApiSubnetAllowList sets ApiSubnetAllowList field to given value.

    hashtag
    HasApiSubnetAllowList

    func (o *KubernetesClusterProperties) HasApiSubnetAllowList() bool

    HasApiSubnetAllowList returns a boolean if a field has been set.

    hashtag
    GetS3Buckets

    func (o *KubernetesClusterProperties) GetS3Buckets() []S3Bucket

    GetS3Buckets returns the S3Buckets field if non-nil, zero value otherwise.

    hashtag
    GetS3BucketsOk

    func (o *KubernetesClusterProperties) GetS3BucketsOk() (*[]S3Bucket, bool)

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

    hashtag
    SetS3Buckets

    func (o *KubernetesClusterProperties) SetS3Buckets(v []S3Bucket)

    SetS3Buckets sets S3Buckets field to given value.

    hashtag
    HasS3Buckets

    func (o *KubernetesClusterProperties) HasS3Buckets() bool

    HasS3Buckets returns a boolean if a field has been set.

    Name

    string

    A Kubernetes cluster name. Valid Kubernetes cluster name must be 63 characters or less and must be empty or begin and end with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between.

    [optional]

    Volumes

    Pointer to

    [optional]

    Loadbalancers

    Pointer to

    [optional]

    Lans

    Pointer to

    [optional]

    Networkloadbalancers

    Pointer to

    [optional]

    Natgateways

    Pointer to

    [optional]

    Securitygroups

    Pointer to

    [optional]

    hashtag
    Methods

    hashtag
    NewDataCenterEntities

    func NewDataCenterEntities() *DataCenterEntities

    NewDataCenterEntities instantiates a new DataCenterEntities 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

    hashtag
    NewDataCenterEntitiesWithDefaults

    func NewDataCenterEntitiesWithDefaults() *DataCenterEntities

    NewDataCenterEntitiesWithDefaults instantiates a new DataCenterEntities 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

    hashtag
    GetServers

    func (o *DataCenterEntities) GetServers() Servers

    GetServers returns the Servers field if non-nil, zero value otherwise.

    hashtag
    GetServersOk

    func (o *DataCenterEntities) GetServersOk() (*Servers, bool)

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

    hashtag
    SetServers

    func (o *DataCenterEntities) SetServers(v Servers)

    SetServers sets Servers field to given value.

    hashtag
    HasServers

    func (o *DataCenterEntities) HasServers() bool

    HasServers returns a boolean if a field has been set.

    hashtag
    GetVolumes

    func (o *DataCenterEntities) GetVolumes() Volumes

    GetVolumes returns the Volumes field if non-nil, zero value otherwise.

    hashtag
    GetVolumesOk

    func (o *DataCenterEntities) GetVolumesOk() (*Volumes, bool)

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

    hashtag
    SetVolumes

    func (o *DataCenterEntities) SetVolumes(v Volumes)

    SetVolumes sets Volumes field to given value.

    hashtag
    HasVolumes

    func (o *DataCenterEntities) HasVolumes() bool

    HasVolumes returns a boolean if a field has been set.

    hashtag
    GetLoadbalancers

    func (o *DataCenterEntities) GetLoadbalancers() Loadbalancers

    GetLoadbalancers returns the Loadbalancers field if non-nil, zero value otherwise.

    hashtag
    GetLoadbalancersOk

    func (o *DataCenterEntities) GetLoadbalancersOk() (*Loadbalancers, bool)

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

    hashtag
    SetLoadbalancers

    func (o *DataCenterEntities) SetLoadbalancers(v Loadbalancers)

    SetLoadbalancers sets Loadbalancers field to given value.

    hashtag
    HasLoadbalancers

    func (o *DataCenterEntities) HasLoadbalancers() bool

    HasLoadbalancers returns a boolean if a field has been set.

    hashtag
    GetLans

    func (o *DataCenterEntities) GetLans() Lans

    GetLans returns the Lans field if non-nil, zero value otherwise.

    hashtag
    GetLansOk

    func (o *DataCenterEntities) GetLansOk() (*Lans, bool)

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

    hashtag
    SetLans

    func (o *DataCenterEntities) SetLans(v Lans)

    SetLans sets Lans field to given value.

    hashtag
    HasLans

    func (o *DataCenterEntities) HasLans() bool

    HasLans returns a boolean if a field has been set.

    hashtag
    GetNetworkloadbalancers

    func (o *DataCenterEntities) GetNetworkloadbalancers() NetworkLoadBalancers

    GetNetworkloadbalancers returns the Networkloadbalancers field if non-nil, zero value otherwise.

    hashtag
    GetNetworkloadbalancersOk

    func (o *DataCenterEntities) GetNetworkloadbalancersOk() (*NetworkLoadBalancers, bool)

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

    hashtag
    SetNetworkloadbalancers

    func (o *DataCenterEntities) SetNetworkloadbalancers(v NetworkLoadBalancers)

    SetNetworkloadbalancers sets Networkloadbalancers field to given value.

    hashtag
    HasNetworkloadbalancers

    func (o *DataCenterEntities) HasNetworkloadbalancers() bool

    HasNetworkloadbalancers returns a boolean if a field has been set.

    hashtag
    GetNatgateways

    func (o *DataCenterEntities) GetNatgateways() NatGateways

    GetNatgateways returns the Natgateways field if non-nil, zero value otherwise.

    hashtag
    GetNatgatewaysOk

    func (o *DataCenterEntities) GetNatgatewaysOk() (*NatGateways, bool)

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

    hashtag
    SetNatgateways

    func (o *DataCenterEntities) SetNatgateways(v NatGateways)

    SetNatgateways sets Natgateways field to given value.

    hashtag
    HasNatgateways

    func (o *DataCenterEntities) HasNatgateways() bool

    HasNatgateways returns a boolean if a field has been set.

    hashtag
    GetSecuritygroups

    func (o *DataCenterEntities) GetSecuritygroups() SecurityGroups

    GetSecuritygroups returns the Securitygroups field if non-nil, zero value otherwise.

    hashtag
    GetSecuritygroupsOk

    func (o *DataCenterEntities) GetSecuritygroupsOk() (*SecurityGroups, bool)

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

    hashtag
    SetSecuritygroups

    func (o *DataCenterEntities) SetSecuritygroups(v SecurityGroups)

    SetSecuritygroups sets Securitygroups field to given value.

    hashtag
    HasSecuritygroups

    func (o *DataCenterEntities) HasSecuritygroups() bool

    HasSecuritygroups returns a boolean if a field has been set.

    Servers

    Pointer to Servers

    RequestsApi

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

    Method
    HTTP request
    Description

    Get /requests/{requestId}

    Retrieve requests

    Get /requests

    List requests

    hashtag
    RequestsFindById

    Retrieve requests

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiRequestsFindByIdRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    RequestsGet

    List requests

    hashtag
    Example

    hashtag
    Path Parameters

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiRequestsGetRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    RequestsStatusGet

    Retrieve request status

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiRequestsStatusGetRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    KubernetesMaintenanceWindow
    []S3Bucket
    Volumes
    Loadbalancers
    Lans
    NetworkLoadBalancers
    NatGateways
    SecurityGroups

    filterStatus

    string

    Filter the list by request status [QUEUED, RUNNING, DONE, FAILED]. Filter is not affected by the depth query parameter.

    filterCreatedAfter

    string

    Filter the list to only include the requests created after the date, specified in the yyyy-MM-dd HH:mm:ss format. Filter is not affected by the depth query parameter.

    filterCreatedBefore

    string

    Filter the list to only include the requests created before the date, specified in the yyyy-MM-dd HH:mm:ss format. Filter is not affected by the depth query parameter.

    filterCreatedDate

    string

    Filter the list to only include the requests that contain the createdDate, specified in the yyyy-MM-dd HH:mm:ss format. The value is not case-sensitive, and the filter requires that the depth query parameter value is greater than zero.

    filterCreatedBy

    string

    Filter the list to only include the requests that contain the createdBy, specified in the yyyy-MM-dd HH:mm:ss format. The value is not case-sensitive, and the filter requires that the depth query parameter value is greater than zero.

    filterEtag

    string

    Filter the list to only include the requests that contain the specified etag. The value is not case-sensitive, and the filter requires that the depth query parameter value is greater than zero.

    filterRequestStatus

    string

    Filter the list to only include the requests that contain the specified requestStatus. The value is not case-sensitive, and the filter requires that the depth query parameter value is greater than zero.

    filterMethod

    string

    Filter the list to only include the requests that contain the specified method. The value is not case-sensitive, and the filter requires that the depth query parameter value is greater than zero.

    filterHeaders

    string

    Filter the list to only include the requests that contain the specified headers. The value is not case-sensitive, and the filter requires that the depth query parameter value is greater than zero.

    filterBody

    string

    Filter the list to only include the requests that contain the specified body. The value is not case-sensitive, and the filter requires that the depth query parameter value is greater than zero.

    filterUrl

    string

    Filter the list to only include the requests that contain the specified URL. The value is not case-sensitive, and the filter requires that the depth query parameter value is greater than zero.

    offset

    int32

    The first element (from the complete list of the elements) to include in the response (used together with <b><i>limit</i></b> for pagination).

    [default to 0]

    limit

    int32

    The maximum number of elements to return (use together with offset for pagination).

    [default to 1000]

    Get /requests/{requestId}/status

    Retrieve request status

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    requestId

    string

    The unique ID of the request.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    requestId

    string

    The unique ID of the request.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    Request
    Requests
    RequestStatus
    RequestsFindById
    RequestsGet
    RequestsStatusGet

    var result Request = RequestsFindById(ctx, requestId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        requestId := "requestId_example" // string | The unique ID of the request.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.RequestsApi.RequestsFindById(context.Background(), requestId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `RequestsApi.RequestsFindById``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `RequestsFindById`: Request
        fmt.Fprintf(os.Stdout, "Response from `RequestsApi.RequestsFindById`: %v\n", resp)
    }
    var result Requests = RequestsGet(ctx)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .FilterStatus(filterStatus)
                          .FilterCreatedAfter(filterCreatedAfter)
                          .FilterCreatedBefore(filterCreatedBefore)
                          .FilterCreatedDate(filterCreatedDate)
                          .FilterCreatedBy(filterCreatedBy)
                          .FilterEtag(filterEtag)
                          .FilterRequestStatus(filterRequestStatus)
                          .FilterMethod(filterMethod)
                          .FilterHeaders(filterHeaders)
                          .FilterBody(filterBody)
                          .FilterUrl(filterUrl)
                          .Offset(offset)
                          .Limit(limit)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
        filterStatus := "filterStatus_example" // string | Filter the list by request status [QUEUED, RUNNING, DONE, FAILED]. Filter is not affected by the depth query parameter. (optional)
        filterCreatedAfter := "filterCreatedAfter_example" // string | Filter the list to only include the requests created after the date, specified in the yyyy-MM-dd HH:mm:ss format. Filter is not affected by the depth query parameter. (optional)
        filterCreatedBefore := "filterCreatedBefore_example" // string | Filter the list to only include the requests created before the date, specified in the yyyy-MM-dd HH:mm:ss format. Filter is not affected by the depth query parameter. (optional)
        filterCreatedDate := "filterCreatedDate_example" // string | Filter the list to only include the requests that contain the createdDate, specified in the yyyy-MM-dd HH:mm:ss format. The value is not case-sensitive, and the filter requires that the depth query parameter value is greater than zero. (optional)
        filterCreatedBy := "filterCreatedBy_example" // string | Filter the list to only include the requests that contain the createdBy, specified in the yyyy-MM-dd HH:mm:ss format. The value is not case-sensitive, and the filter requires that the depth query parameter value is greater than zero. (optional)
        filterEtag := "filterEtag_example" // string | Filter the list to only include the requests that contain the specified etag. The value is not case-sensitive, and the filter requires that the depth query parameter value is greater than zero. (optional)
        filterRequestStatus := "filterRequestStatus_example" // string | Filter the list to only include the requests that contain the specified requestStatus. The value is not case-sensitive, and the filter requires that the depth query parameter value is greater than zero. (optional)
        filterMethod := "filterMethod_example" // string | Filter the list to only include the requests that contain the specified method. The value is not case-sensitive, and the filter requires that the depth query parameter value is greater than zero. (optional)
        filterHeaders := "filterHeaders_example" // string | Filter the list to only include the requests that contain the specified headers. The value is not case-sensitive, and the filter requires that the depth query parameter value is greater than zero. (optional)
        filterBody := "filterBody_example" // string | Filter the list to only include the requests that contain the specified body. The value is not case-sensitive, and the filter requires that the depth query parameter value is greater than zero. (optional)
        filterUrl := "filterUrl_example" // string | Filter the list to only include the requests that contain the specified URL. The value is not case-sensitive, and the filter requires that the depth query parameter value is greater than zero. (optional)
        offset := int32(56) // int32 | The first element (from the complete list of the elements) to include in the response (used together with <b><i>limit</i></b> for pagination). (optional) (default to 0)
        limit := int32(56) // int32 | The maximum number of elements to return (use together with offset for pagination). (optional) (default to 1000)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.RequestsApi.RequestsGet(context.Background()).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).FilterStatus(filterStatus).FilterCreatedAfter(filterCreatedAfter).FilterCreatedBefore(filterCreatedBefore).FilterCreatedDate(filterCreatedDate).FilterCreatedBy(filterCreatedBy).FilterEtag(filterEtag).FilterRequestStatus(filterRequestStatus).FilterMethod(filterMethod).FilterHeaders(filterHeaders).FilterBody(filterBody).FilterUrl(filterUrl).Offset(offset).Limit(limit).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `RequestsApi.RequestsGet``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `RequestsGet`: Requests
        fmt.Fprintf(os.Stdout, "Response from `RequestsApi.RequestsGet`: %v\n", resp)
    }
    var result RequestStatus = RequestsStatusGet(ctx, requestId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        requestId := "requestId_example" // string | The unique ID of the request.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.RequestsApi.RequestsStatusGet(context.Background(), requestId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `RequestsApi.RequestsStatusGet``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `RequestsStatusGet`: RequestStatus
        fmt.Fprintf(os.Stdout, "Response from `RequestsApi.RequestsStatusGet`: %v\n", resp)
    }

    DatacenterPropertiesPut

    hashtag
    Properties

    Name
    Type
    Description
    Notes

    Name

    Pointer to string

    hashtag
    Methods

    hashtag
    NewDatacenterPropertiesPut

    func NewDatacenterPropertiesPut() *DatacenterPropertiesPut

    NewDatacenterPropertiesPut instantiates a new DatacenterPropertiesPut 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

    hashtag
    NewDatacenterPropertiesPutWithDefaults

    func NewDatacenterPropertiesPutWithDefaults() *DatacenterPropertiesPut

    NewDatacenterPropertiesPutWithDefaults instantiates a new DatacenterPropertiesPut 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

    hashtag
    GetName

    func (o *DatacenterPropertiesPut) GetName() string

    GetName returns the Name field if non-nil, zero value otherwise.

    hashtag
    GetNameOk

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

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

    hashtag
    SetName

    func (o *DatacenterPropertiesPut) SetName(v string)

    SetName sets Name field to given value.

    hashtag
    HasName

    func (o *DatacenterPropertiesPut) HasName() bool

    HasName returns a boolean if a field has been set.

    hashtag
    GetDescription

    func (o *DatacenterPropertiesPut) GetDescription() string

    GetDescription returns the Description field if non-nil, zero value otherwise.

    hashtag
    GetDescriptionOk

    func (o *DatacenterPropertiesPut) GetDescriptionOk() (*string, bool)

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

    hashtag
    SetDescription

    func (o *DatacenterPropertiesPut) SetDescription(v string)

    SetDescription sets Description field to given value.

    hashtag
    HasDescription

    func (o *DatacenterPropertiesPut) HasDescription() bool

    HasDescription returns a boolean if a field has been set.

    hashtag
    GetLocation

    func (o *DatacenterPropertiesPut) GetLocation() string

    GetLocation returns the Location field if non-nil, zero value otherwise.

    hashtag
    GetLocationOk

    func (o *DatacenterPropertiesPut) GetLocationOk() (*string, bool)

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

    hashtag
    SetLocation

    func (o *DatacenterPropertiesPut) SetLocation(v string)

    SetLocation sets Location field to given value.

    hashtag
    HasLocation

    func (o *DatacenterPropertiesPut) HasLocation() bool

    HasLocation returns a boolean if a field has been set.

    hashtag
    GetVersion

    func (o *DatacenterPropertiesPut) GetVersion() int32

    GetVersion returns the Version field if non-nil, zero value otherwise.

    hashtag
    GetVersionOk

    func (o *DatacenterPropertiesPut) GetVersionOk() (*int32, bool)

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

    hashtag
    SetVersion

    func (o *DatacenterPropertiesPut) SetVersion(v int32)

    SetVersion sets Version field to given value.

    hashtag
    HasVersion

    func (o *DatacenterPropertiesPut) HasVersion() bool

    HasVersion returns a boolean if a field has been set.

    hashtag
    GetFeatures

    func (o *DatacenterPropertiesPut) GetFeatures() []string

    GetFeatures returns the Features field if non-nil, zero value otherwise.

    hashtag
    GetFeaturesOk

    func (o *DatacenterPropertiesPut) GetFeaturesOk() (*[]string, bool)

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

    hashtag
    SetFeatures

    func (o *DatacenterPropertiesPut) SetFeatures(v []string)

    SetFeatures sets Features field to given value.

    hashtag
    HasFeatures

    func (o *DatacenterPropertiesPut) HasFeatures() bool

    HasFeatures returns a boolean if a field has been set.

    hashtag
    GetSecAuthProtection

    func (o *DatacenterPropertiesPut) GetSecAuthProtection() bool

    GetSecAuthProtection returns the SecAuthProtection field if non-nil, zero value otherwise.

    hashtag
    GetSecAuthProtectionOk

    func (o *DatacenterPropertiesPut) GetSecAuthProtectionOk() (*bool, bool)

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

    hashtag
    SetSecAuthProtection

    func (o *DatacenterPropertiesPut) SetSecAuthProtection(v bool)

    SetSecAuthProtection sets SecAuthProtection field to given value.

    hashtag
    HasSecAuthProtection

    func (o *DatacenterPropertiesPut) HasSecAuthProtection() bool

    HasSecAuthProtection returns a boolean if a field has been set.

    hashtag
    GetCpuArchitecture

    func (o *DatacenterPropertiesPut) GetCpuArchitecture() []CpuArchitectureProperties

    GetCpuArchitecture returns the CpuArchitecture field if non-nil, zero value otherwise.

    hashtag
    GetCpuArchitectureOk

    func (o *DatacenterPropertiesPut) GetCpuArchitectureOk() (*[]CpuArchitectureProperties, bool)

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

    hashtag
    SetCpuArchitecture

    func (o *DatacenterPropertiesPut) SetCpuArchitecture(v []CpuArchitectureProperties)

    SetCpuArchitecture sets CpuArchitecture field to given value.

    hashtag
    HasCpuArchitecture

    func (o *DatacenterPropertiesPut) HasCpuArchitecture() bool

    HasCpuArchitecture returns a boolean if a field has been set.

    hashtag
    GetDefaultSecurityGroupId

    func (o *DatacenterPropertiesPut) GetDefaultSecurityGroupId() string

    GetDefaultSecurityGroupId returns the DefaultSecurityGroupId field if non-nil, zero value otherwise.

    hashtag
    GetDefaultSecurityGroupIdOk

    func (o *DatacenterPropertiesPut) GetDefaultSecurityGroupIdOk() (*string, bool)

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

    hashtag
    SetDefaultSecurityGroupId

    func (o *DatacenterPropertiesPut) SetDefaultSecurityGroupId(v string)

    SetDefaultSecurityGroupId sets DefaultSecurityGroupId field to given value.

    hashtag
    HasDefaultSecurityGroupId

    func (o *DatacenterPropertiesPut) HasDefaultSecurityGroupId() bool

    HasDefaultSecurityGroupId returns a boolean if a field has been set.

    hashtag
    GetCreateDefaultSecurityGroup

    func (o *DatacenterPropertiesPut) GetCreateDefaultSecurityGroup() bool

    GetCreateDefaultSecurityGroup returns the CreateDefaultSecurityGroup field if non-nil, zero value otherwise.

    hashtag
    GetCreateDefaultSecurityGroupOk

    func (o *DatacenterPropertiesPut) GetCreateDefaultSecurityGroupOk() (*bool, bool)

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

    hashtag
    SetCreateDefaultSecurityGroup

    func (o *DatacenterPropertiesPut) SetCreateDefaultSecurityGroup(v bool)

    SetCreateDefaultSecurityGroup sets CreateDefaultSecurityGroup field to given value.

    hashtag
    HasCreateDefaultSecurityGroup

    func (o *DatacenterPropertiesPut) HasCreateDefaultSecurityGroup() bool

    HasCreateDefaultSecurityGroup returns a boolean if a field has been set.

    The name of the resource.

    [optional]

    Description

    Pointer to string

    A description for the datacenter, such as staging, production.

    [optional]

    Location

    Pointer to string

    The physical location where the datacenter will be created. This will be where all of your servers live. Property cannot be modified after datacenter creation (disallowed in update requests).

    [optional]

    Version

    Pointer to int32

    The version of the data center; incremented with every change.

    [optional] [readonly]

    Features

    Pointer to []string

    List of features supported by the location where this data center is provisioned.

    [optional] [readonly]

    SecAuthProtection

    Pointer to bool

    Boolean value representing if the data center requires extra protection, such as two-step verification.

    [optional]

    CpuArchitecture

    Pointer to []CpuArchitectureProperties

    Array of features and CPU families available in a location

    [optional] [readonly]

    DefaultSecurityGroupId

    Pointer to string

    This will become the default security group for the datacenter, replacing the old one if already exists. This security group must already exists prior to this request. Provide this field only if the `createDefaultSecurityGroup` field is missing. You cannot provide both of them

    [optional]

    CreateDefaultSecurityGroup

    Pointer to bool

    If this field is set on true and this datacenter has no default security group then a default security group, with predefined rules, will be created for this datacenter. Default value is false. Provide this field only if the `defaultSecurityGroupId` field is missing. You cannot provide both of them

    [optional]

    SnapshotsApi

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

    Method
    HTTP request
    Description

    Delete /snapshots/{snapshotId}

    Delete snapshots

    Get /snapshots/{snapshotId}

    Retrieve snapshots by ID

    hashtag
    SnapshotsDelete

    Delete snapshots

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiSnapshotsDeleteRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    (empty response body)

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    SnapshotsFindById

    Retrieve snapshots by ID

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiSnapshotsFindByIdRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    SnapshotsGet

    List snapshots

    hashtag
    Example

    hashtag
    Path Parameters

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiSnapshotsGetRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    SnapshotsPatch

    Partially modify snapshots

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiSnapshotsPatchRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: application/json

    • Accept: application/json

    hashtag
    SnapshotsPut

    Modify a Snapshot by ID

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiSnapshotsPutRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: application/json

    • Accept: application/json

    PrivateCrossConnectsApi

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

    Method
    HTTP request
    Description

    Delete /pccs/{pccId}

    Delete Private Cross-Connects

    Get /pccs/{pccId}

    Retrieve a Cross Connect

    hashtag
    PccsDelete

    Delete Private Cross-Connects

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiPccsDeleteRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    (empty response body)

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    PccsFindById

    Retrieve a Cross Connect

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiPccsFindByIdRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    PccsGet

    List Private Cross-Connects

    hashtag
    Example

    hashtag
    Path Parameters

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiPccsGetRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    PccsPatch

    Partially modify a Private Cross-Connects

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiPccsPatchRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: application/json

    • Accept: application/json

    hashtag
    PccsPost

    Create a Cross Connect

    hashtag
    Example

    hashtag
    Path Parameters

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiPccsPostRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: application/json

    • Accept: application/json

    ImageProperties

    hashtag
    Properties

    Name
    Type
    Description
    Notes

    Name

    Pointer to string

    hashtag
    Methods

    hashtag
    NewImageProperties

    func NewImageProperties(licenceType string, ) *ImageProperties

    NewImageProperties instantiates a new ImageProperties 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

    hashtag
    NewImagePropertiesWithDefaults

    func NewImagePropertiesWithDefaults() *ImageProperties

    NewImagePropertiesWithDefaults instantiates a new ImageProperties 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

    hashtag
    GetName

    func (o *ImageProperties) GetName() string

    GetName returns the Name field if non-nil, zero value otherwise.

    hashtag
    GetNameOk

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

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

    hashtag
    SetName

    func (o *ImageProperties) SetName(v string)

    SetName sets Name field to given value.

    hashtag
    HasName

    func (o *ImageProperties) HasName() bool

    HasName returns a boolean if a field has been set.

    hashtag
    GetDescription

    func (o *ImageProperties) GetDescription() string

    GetDescription returns the Description field if non-nil, zero value otherwise.

    hashtag
    GetDescriptionOk

    func (o *ImageProperties) GetDescriptionOk() (*string, bool)

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

    hashtag
    SetDescription

    func (o *ImageProperties) SetDescription(v string)

    SetDescription sets Description field to given value.

    hashtag
    HasDescription

    func (o *ImageProperties) HasDescription() bool

    HasDescription returns a boolean if a field has been set.

    hashtag
    GetLocation

    func (o *ImageProperties) GetLocation() string

    GetLocation returns the Location field if non-nil, zero value otherwise.

    hashtag
    GetLocationOk

    func (o *ImageProperties) GetLocationOk() (*string, bool)

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

    hashtag
    SetLocation

    func (o *ImageProperties) SetLocation(v string)

    SetLocation sets Location field to given value.

    hashtag
    HasLocation

    func (o *ImageProperties) HasLocation() bool

    HasLocation returns a boolean if a field has been set.

    hashtag
    GetSize

    func (o *ImageProperties) GetSize() float32

    GetSize returns the Size field if non-nil, zero value otherwise.

    hashtag
    GetSizeOk

    func (o *ImageProperties) GetSizeOk() (*float32, bool)

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

    hashtag
    SetSize

    func (o *ImageProperties) SetSize(v float32)

    SetSize sets Size field to given value.

    hashtag
    HasSize

    func (o *ImageProperties) HasSize() bool

    HasSize returns a boolean if a field has been set.

    hashtag
    GetCpuHotPlug

    func (o *ImageProperties) GetCpuHotPlug() bool

    GetCpuHotPlug returns the CpuHotPlug field if non-nil, zero value otherwise.

    hashtag
    GetCpuHotPlugOk

    func (o *ImageProperties) GetCpuHotPlugOk() (*bool, bool)

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

    hashtag
    SetCpuHotPlug

    func (o *ImageProperties) SetCpuHotPlug(v bool)

    SetCpuHotPlug sets CpuHotPlug field to given value.

    hashtag
    HasCpuHotPlug

    func (o *ImageProperties) HasCpuHotPlug() bool

    HasCpuHotPlug returns a boolean if a field has been set.

    hashtag
    GetCpuHotUnplug

    func (o *ImageProperties) GetCpuHotUnplug() bool

    GetCpuHotUnplug returns the CpuHotUnplug field if non-nil, zero value otherwise.

    hashtag
    GetCpuHotUnplugOk

    func (o *ImageProperties) GetCpuHotUnplugOk() (*bool, bool)

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

    hashtag
    SetCpuHotUnplug

    func (o *ImageProperties) SetCpuHotUnplug(v bool)

    SetCpuHotUnplug sets CpuHotUnplug field to given value.

    hashtag
    HasCpuHotUnplug

    func (o *ImageProperties) HasCpuHotUnplug() bool

    HasCpuHotUnplug returns a boolean if a field has been set.

    hashtag
    GetRamHotPlug

    func (o *ImageProperties) GetRamHotPlug() bool

    GetRamHotPlug returns the RamHotPlug field if non-nil, zero value otherwise.

    hashtag
    GetRamHotPlugOk

    func (o *ImageProperties) GetRamHotPlugOk() (*bool, bool)

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

    hashtag
    SetRamHotPlug

    func (o *ImageProperties) SetRamHotPlug(v bool)

    SetRamHotPlug sets RamHotPlug field to given value.

    hashtag
    HasRamHotPlug

    func (o *ImageProperties) HasRamHotPlug() bool

    HasRamHotPlug returns a boolean if a field has been set.

    hashtag
    GetRamHotUnplug

    func (o *ImageProperties) GetRamHotUnplug() bool

    GetRamHotUnplug returns the RamHotUnplug field if non-nil, zero value otherwise.

    hashtag
    GetRamHotUnplugOk

    func (o *ImageProperties) GetRamHotUnplugOk() (*bool, bool)

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

    hashtag
    SetRamHotUnplug

    func (o *ImageProperties) SetRamHotUnplug(v bool)

    SetRamHotUnplug sets RamHotUnplug field to given value.

    hashtag
    HasRamHotUnplug

    func (o *ImageProperties) HasRamHotUnplug() bool

    HasRamHotUnplug returns a boolean if a field has been set.

    hashtag
    GetNicHotPlug

    func (o *ImageProperties) GetNicHotPlug() bool

    GetNicHotPlug returns the NicHotPlug field if non-nil, zero value otherwise.

    hashtag
    GetNicHotPlugOk

    func (o *ImageProperties) GetNicHotPlugOk() (*bool, bool)

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

    hashtag
    SetNicHotPlug

    func (o *ImageProperties) SetNicHotPlug(v bool)

    SetNicHotPlug sets NicHotPlug field to given value.

    hashtag
    HasNicHotPlug

    func (o *ImageProperties) HasNicHotPlug() bool

    HasNicHotPlug returns a boolean if a field has been set.

    hashtag
    GetNicHotUnplug

    func (o *ImageProperties) GetNicHotUnplug() bool

    GetNicHotUnplug returns the NicHotUnplug field if non-nil, zero value otherwise.

    hashtag
    GetNicHotUnplugOk

    func (o *ImageProperties) GetNicHotUnplugOk() (*bool, bool)

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

    hashtag
    SetNicHotUnplug

    func (o *ImageProperties) SetNicHotUnplug(v bool)

    SetNicHotUnplug sets NicHotUnplug field to given value.

    hashtag
    HasNicHotUnplug

    func (o *ImageProperties) HasNicHotUnplug() bool

    HasNicHotUnplug returns a boolean if a field has been set.

    hashtag
    GetDiscVirtioHotPlug

    func (o *ImageProperties) GetDiscVirtioHotPlug() bool

    GetDiscVirtioHotPlug returns the DiscVirtioHotPlug field if non-nil, zero value otherwise.

    hashtag
    GetDiscVirtioHotPlugOk

    func (o *ImageProperties) GetDiscVirtioHotPlugOk() (*bool, bool)

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

    hashtag
    SetDiscVirtioHotPlug

    func (o *ImageProperties) SetDiscVirtioHotPlug(v bool)

    SetDiscVirtioHotPlug sets DiscVirtioHotPlug field to given value.

    hashtag
    HasDiscVirtioHotPlug

    func (o *ImageProperties) HasDiscVirtioHotPlug() bool

    HasDiscVirtioHotPlug returns a boolean if a field has been set.

    hashtag
    GetDiscVirtioHotUnplug

    func (o *ImageProperties) GetDiscVirtioHotUnplug() bool

    GetDiscVirtioHotUnplug returns the DiscVirtioHotUnplug field if non-nil, zero value otherwise.

    hashtag
    GetDiscVirtioHotUnplugOk

    func (o *ImageProperties) GetDiscVirtioHotUnplugOk() (*bool, bool)

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

    hashtag
    SetDiscVirtioHotUnplug

    func (o *ImageProperties) SetDiscVirtioHotUnplug(v bool)

    SetDiscVirtioHotUnplug sets DiscVirtioHotUnplug field to given value.

    hashtag
    HasDiscVirtioHotUnplug

    func (o *ImageProperties) HasDiscVirtioHotUnplug() bool

    HasDiscVirtioHotUnplug returns a boolean if a field has been set.

    hashtag
    GetDiscScsiHotPlug

    func (o *ImageProperties) GetDiscScsiHotPlug() bool

    GetDiscScsiHotPlug returns the DiscScsiHotPlug field if non-nil, zero value otherwise.

    hashtag
    GetDiscScsiHotPlugOk

    func (o *ImageProperties) GetDiscScsiHotPlugOk() (*bool, bool)

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

    hashtag
    SetDiscScsiHotPlug

    func (o *ImageProperties) SetDiscScsiHotPlug(v bool)

    SetDiscScsiHotPlug sets DiscScsiHotPlug field to given value.

    hashtag
    HasDiscScsiHotPlug

    func (o *ImageProperties) HasDiscScsiHotPlug() bool

    HasDiscScsiHotPlug returns a boolean if a field has been set.

    hashtag
    GetDiscScsiHotUnplug

    func (o *ImageProperties) GetDiscScsiHotUnplug() bool

    GetDiscScsiHotUnplug returns the DiscScsiHotUnplug field if non-nil, zero value otherwise.

    hashtag
    GetDiscScsiHotUnplugOk

    func (o *ImageProperties) GetDiscScsiHotUnplugOk() (*bool, bool)

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

    hashtag
    SetDiscScsiHotUnplug

    func (o *ImageProperties) SetDiscScsiHotUnplug(v bool)

    SetDiscScsiHotUnplug sets DiscScsiHotUnplug field to given value.

    hashtag
    HasDiscScsiHotUnplug

    func (o *ImageProperties) HasDiscScsiHotUnplug() bool

    HasDiscScsiHotUnplug returns a boolean if a field has been set.

    hashtag
    GetExposeSerial

    func (o *ImageProperties) GetExposeSerial() bool

    GetExposeSerial returns the ExposeSerial field if non-nil, zero value otherwise.

    hashtag
    GetExposeSerialOk

    func (o *ImageProperties) GetExposeSerialOk() (*bool, bool)

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

    hashtag
    SetExposeSerial

    func (o *ImageProperties) SetExposeSerial(v bool)

    SetExposeSerial sets ExposeSerial field to given value.

    hashtag
    HasExposeSerial

    func (o *ImageProperties) HasExposeSerial() bool

    HasExposeSerial returns a boolean if a field has been set.

    hashtag
    GetLicenceType

    func (o *ImageProperties) GetLicenceType() string

    GetLicenceType returns the LicenceType field if non-nil, zero value otherwise.

    hashtag
    GetLicenceTypeOk

    func (o *ImageProperties) GetLicenceTypeOk() (*string, bool)

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

    hashtag
    SetLicenceType

    func (o *ImageProperties) SetLicenceType(v string)

    SetLicenceType sets LicenceType field to given value.

    hashtag
    GetImageType

    func (o *ImageProperties) GetImageType() string

    GetImageType returns the ImageType field if non-nil, zero value otherwise.

    hashtag
    GetImageTypeOk

    func (o *ImageProperties) GetImageTypeOk() (*string, bool)

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

    hashtag
    SetImageType

    func (o *ImageProperties) SetImageType(v string)

    SetImageType sets ImageType field to given value.

    hashtag
    HasImageType

    func (o *ImageProperties) HasImageType() bool

    HasImageType returns a boolean if a field has been set.

    hashtag
    GetPublic

    func (o *ImageProperties) GetPublic() bool

    GetPublic returns the Public field if non-nil, zero value otherwise.

    hashtag
    GetPublicOk

    func (o *ImageProperties) GetPublicOk() (*bool, bool)

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

    hashtag
    SetPublic

    func (o *ImageProperties) SetPublic(v bool)

    SetPublic sets Public field to given value.

    hashtag
    HasPublic

    func (o *ImageProperties) HasPublic() bool

    HasPublic returns a boolean if a field has been set.

    hashtag
    GetImageAliases

    func (o *ImageProperties) GetImageAliases() []string

    GetImageAliases returns the ImageAliases field if non-nil, zero value otherwise.

    hashtag
    GetImageAliasesOk

    func (o *ImageProperties) GetImageAliasesOk() (*[]string, bool)

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

    hashtag
    SetImageAliases

    func (o *ImageProperties) SetImageAliases(v []string)

    SetImageAliases sets ImageAliases field to given value.

    hashtag
    HasImageAliases

    func (o *ImageProperties) HasImageAliases() bool

    HasImageAliases returns a boolean if a field has been set.

    hashtag
    GetCloudInit

    func (o *ImageProperties) GetCloudInit() string

    GetCloudInit returns the CloudInit field if non-nil, zero value otherwise.

    hashtag
    GetCloudInitOk

    func (o *ImageProperties) GetCloudInitOk() (*string, bool)

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

    hashtag
    SetCloudInit

    func (o *ImageProperties) SetCloudInit(v string)

    SetCloudInit sets CloudInit field to given value.

    hashtag
    HasCloudInit

    func (o *ImageProperties) HasCloudInit() bool

    HasCloudInit returns a boolean if a field has been set.

    The resource name.

    [optional]

    Description

    Pointer to string

    Human-readable description.

    [optional]

    Location

    Pointer to string

    The location of this image/snapshot.

    [optional] [readonly]

    Size

    Pointer to float32

    The image size in GB.

    [optional] [readonly]

    CpuHotPlug

    Pointer to bool

    Hot-plug capable CPU (no reboot required).

    [optional]

    CpuHotUnplug

    Pointer to bool

    Hot-unplug capable CPU (no reboot required).

    [optional]

    RamHotPlug

    Pointer to bool

    Hot-plug capable RAM (no reboot required).

    [optional]

    RamHotUnplug

    Pointer to bool

    Hot-unplug capable RAM (no reboot required).

    [optional]

    NicHotPlug

    Pointer to bool

    Hot-plug capable NIC (no reboot required).

    [optional]

    NicHotUnplug

    Pointer to bool

    Hot-unplug capable NIC (no reboot required).

    [optional]

    DiscVirtioHotPlug

    Pointer to bool

    Hot-plug capable Virt-IO drive (no reboot required).

    [optional]

    DiscVirtioHotUnplug

    Pointer to bool

    Hot-unplug capable Virt-IO drive (no reboot required). Not supported with Windows VMs.

    [optional]

    DiscScsiHotPlug

    Pointer to bool

    Hot-plug capable SCSI drive (no reboot required).

    [optional]

    DiscScsiHotUnplug

    Pointer to bool

    Hot-unplug capable SCSI drive (no reboot required). Not supported with Windows VMs.

    [optional]

    ExposeSerial

    Pointer to bool

    If set to `true` will expose the serial id of the disk attached to the server. If set to `false` will not expose the serial id. Some operating systems or software solutions require the serial id to be exposed to work properly. Exposing the serial can influence licensed software (e.g. Windows) behavior

    [optional] [default to false]

    LicenceType

    string

    The OS type of this image.

    ImageType

    Pointer to string

    The image type.

    [optional] [readonly]

    Public

    Pointer to bool

    Indicates whether the image is part of a public repository.

    [optional] [readonly]

    ImageAliases

    Pointer to []string

    List of image aliases mapped for this image

    [optional] [readonly]

    CloudInit

    Pointer to string

    Cloud init compatibility.

    [optional]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    Get /snapshots

    List snapshots

    SnapshotsPatch

    Patch /snapshots/{snapshotId}

    Partially modify snapshots

    SnapshotsPut

    Put /snapshots/{snapshotId}

    Modify a Snapshot by ID

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    snapshotId

    string

    The unique ID of the snapshot.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    snapshotId

    string

    The unique ID of the snapshot.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    snapshotId

    string

    The unique ID of the snapshot.

    snapshot

    SnapshotProperties

    The properties of the snapshot to be updated.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    snapshotId

    string

    The unique ID of the snapshot.

    snapshot

    Snapshot

    The modified snapshot

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    Snapshot
    Snapshots
    Snapshot
    Snapshot
    SnapshotsDelete
    SnapshotsFindById
    SnapshotsGet

    [default to 0]

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    Get /pccs

    List Private Cross-Connects

    PccsPatch

    Patch /pccs/{pccId}

    Partially modify a Private Cross-Connects

    PccsPost

    Post /pccs

    Create a Cross Connect

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    pccId

    string

    The unique ID of the Cross Connect.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    pccId

    string

    The unique ID of the Cross Connect.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    pccId

    string

    The unique ID of the Cross Connect.

    pcc

    PrivateCrossConnectProperties

    The properties of the Cross Connect to be updated.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    pcc

    PrivateCrossConnect

    The Cross Connect to create.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    PrivateCrossConnect
    PrivateCrossConnects
    PrivateCrossConnect
    PrivateCrossConnect
    PccsDelete
    PccsFindById
    PccsGet

    [default to 0]

    [default to 0]

    var result  = SnapshotsDelete(ctx, snapshotId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        snapshotId := "snapshotId_example" // string | The unique ID of the snapshot.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resp, err := apiClient.SnapshotsApi.SnapshotsDelete(context.Background(), snapshotId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `SnapshotsApi.SnapshotsDelete``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
    }
    var result Snapshot = SnapshotsFindById(ctx, snapshotId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        snapshotId := "snapshotId_example" // string | The unique ID of the snapshot.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.SnapshotsApi.SnapshotsFindById(context.Background(), snapshotId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `SnapshotsApi.SnapshotsFindById``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `SnapshotsFindById`: Snapshot
        fmt.Fprintf(os.Stdout, "Response from `SnapshotsApi.SnapshotsFindById`: %v\n", resp)
    }
    var result Snapshots = SnapshotsGet(ctx)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.SnapshotsApi.SnapshotsGet(context.Background()).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `SnapshotsApi.SnapshotsGet``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `SnapshotsGet`: Snapshots
        fmt.Fprintf(os.Stdout, "Response from `SnapshotsApi.SnapshotsGet`: %v\n", resp)
    }
    var result Snapshot = SnapshotsPatch(ctx, snapshotId)
                          .Snapshot(snapshot)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        snapshotId := "snapshotId_example" // string | The unique ID of the snapshot.
        snapshot := *openapiclient.NewSnapshotProperties() // SnapshotProperties | The properties of the snapshot to be updated.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.SnapshotsApi.SnapshotsPatch(context.Background(), snapshotId).Snapshot(snapshot).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `SnapshotsApi.SnapshotsPatch``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `SnapshotsPatch`: Snapshot
        fmt.Fprintf(os.Stdout, "Response from `SnapshotsApi.SnapshotsPatch`: %v\n", resp)
    }
    var result Snapshot = SnapshotsPut(ctx, snapshotId)
                          .Snapshot(snapshot)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        snapshotId := "snapshotId_example" // string | The unique ID of the snapshot.
        snapshot := *openapiclient.NewSnapshot(*openapiclient.NewSnapshotProperties()) // Snapshot | The modified snapshot
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.SnapshotsApi.SnapshotsPut(context.Background(), snapshotId).Snapshot(snapshot).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `SnapshotsApi.SnapshotsPut``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `SnapshotsPut`: Snapshot
        fmt.Fprintf(os.Stdout, "Response from `SnapshotsApi.SnapshotsPut`: %v\n", resp)
    }
    var result  = PccsDelete(ctx, pccId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        pccId := "pccId_example" // string | The unique ID of the Cross Connect.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resp, err := apiClient.PrivateCrossConnectsApi.PccsDelete(context.Background(), pccId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `PrivateCrossConnectsApi.PccsDelete``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
    }
    var result PrivateCrossConnect = PccsFindById(ctx, pccId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        pccId := "pccId_example" // string | The unique ID of the Cross Connect.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.PrivateCrossConnectsApi.PccsFindById(context.Background(), pccId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `PrivateCrossConnectsApi.PccsFindById``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `PccsFindById`: PrivateCrossConnect
        fmt.Fprintf(os.Stdout, "Response from `PrivateCrossConnectsApi.PccsFindById`: %v\n", resp)
    }
    var result PrivateCrossConnects = PccsGet(ctx)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.PrivateCrossConnectsApi.PccsGet(context.Background()).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `PrivateCrossConnectsApi.PccsGet``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `PccsGet`: PrivateCrossConnects
        fmt.Fprintf(os.Stdout, "Response from `PrivateCrossConnectsApi.PccsGet`: %v\n", resp)
    }
    var result PrivateCrossConnect = PccsPatch(ctx, pccId)
                          .Pcc(pcc)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        pccId := "pccId_example" // string | The unique ID of the Cross Connect.
        pcc := *openapiclient.NewPrivateCrossConnectProperties() // PrivateCrossConnectProperties | The properties of the Cross Connect to be updated.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.PrivateCrossConnectsApi.PccsPatch(context.Background(), pccId).Pcc(pcc).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `PrivateCrossConnectsApi.PccsPatch``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `PccsPatch`: PrivateCrossConnect
        fmt.Fprintf(os.Stdout, "Response from `PrivateCrossConnectsApi.PccsPatch`: %v\n", resp)
    }
    var result PrivateCrossConnect = PccsPost(ctx)
                          .Pcc(pcc)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        pcc := *openapiclient.NewPrivateCrossConnect(*openapiclient.NewPrivateCrossConnectProperties()) // PrivateCrossConnect | The Cross Connect to create.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.PrivateCrossConnectsApi.PccsPost(context.Background()).Pcc(pcc).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `PrivateCrossConnectsApi.PccsPost``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `PccsPost`: PrivateCrossConnect
        fmt.Fprintf(os.Stdout, "Response from `PrivateCrossConnectsApi.PccsPost`: %v\n", resp)
    }

    ImagesApi

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

    Method
    HTTP request
    Description

    Delete /images/{imageId}

    Delete images

    Get /images/{imageId}

    Retrieve images

    hashtag
    ImagesDelete

    Delete images

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiImagesDeleteRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    (empty response body)

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    ImagesFindById

    Retrieve images

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiImagesFindByIdRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    ImagesGet

    List images

    hashtag
    Example

    hashtag
    Path Parameters

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiImagesGetRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    ImagesPatch

    Partially modify images

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiImagesPatchRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: application/json

    • Accept: application/json

    hashtag
    ImagesPut

    Modify an Image by ID

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiImagesPutRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: application/json

    • Accept: application/json

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    Get /images

    List images

    ImagesPatch

    Patch /images/{imageId}

    Partially modify images

    ImagesPut

    Put /images/{imageId}

    Modify an Image by ID

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    imageId

    string

    The unique ID of the image.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    imageId

    string

    The unique ID of the image.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    imageId

    string

    The unique ID of the image.

    image

    ImageProperties

    The image properties to be updated.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    imageId

    string

    The unique ID of the image.

    image

    Image

    The modified image

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    Image
    Images
    Image
    Image
    ImagesDelete
    ImagesFindById
    ImagesGet

    [default to 0]

    [default to 0]

    var result  = ImagesDelete(ctx, imageId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        imageId := "imageId_example" // string | The unique ID of the image.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resp, err := apiClient.ImagesApi.ImagesDelete(context.Background(), imageId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `ImagesApi.ImagesDelete``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
    }
    var result Image = ImagesFindById(ctx, imageId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        imageId := "imageId_example" // string | The unique ID of the image.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.ImagesApi.ImagesFindById(context.Background(), imageId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `ImagesApi.ImagesFindById``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `ImagesFindById`: Image
        fmt.Fprintf(os.Stdout, "Response from `ImagesApi.ImagesFindById`: %v\n", resp)
    }
    var result Images = ImagesGet(ctx)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.ImagesApi.ImagesGet(context.Background()).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `ImagesApi.ImagesGet``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `ImagesGet`: Images
        fmt.Fprintf(os.Stdout, "Response from `ImagesApi.ImagesGet`: %v\n", resp)
    }
    var result Image = ImagesPatch(ctx, imageId)
                          .Image(image)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        imageId := "imageId_example" // string | The unique ID of the image.
        image := *openapiclient.NewImageProperties("LINUX") // ImageProperties | The image properties to be updated.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.ImagesApi.ImagesPatch(context.Background(), imageId).Image(image).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `ImagesApi.ImagesPatch``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `ImagesPatch`: Image
        fmt.Fprintf(os.Stdout, "Response from `ImagesApi.ImagesPatch`: %v\n", resp)
    }
    var result Image = ImagesPut(ctx, imageId)
                          .Image(image)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        imageId := "imageId_example" // string | The unique ID of the image.
        image := *openapiclient.NewImage(*openapiclient.NewImageProperties("LINUX")) // Image | The modified image
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.ImagesApi.ImagesPut(context.Background(), imageId).Image(image).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `ImagesApi.ImagesPut``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `ImagesPut`: Image
        fmt.Fprintf(os.Stdout, "Response from `ImagesApi.ImagesPut`: %v\n", resp)
    }

    GroupProperties

    hashtag
    Properties

    Name
    Type
    Description
    Notes

    Name

    Pointer to string

    hashtag
    Methods

    hashtag
    NewGroupProperties

    func NewGroupProperties() *GroupProperties

    NewGroupProperties instantiates a new GroupProperties 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

    hashtag
    NewGroupPropertiesWithDefaults

    func NewGroupPropertiesWithDefaults() *GroupProperties

    NewGroupPropertiesWithDefaults instantiates a new GroupProperties 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

    hashtag
    GetName

    func (o *GroupProperties) GetName() string

    GetName returns the Name field if non-nil, zero value otherwise.

    hashtag
    GetNameOk

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

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

    hashtag
    SetName

    func (o *GroupProperties) SetName(v string)

    SetName sets Name field to given value.

    hashtag
    HasName

    func (o *GroupProperties) HasName() bool

    HasName returns a boolean if a field has been set.

    hashtag
    GetCreateDataCenter

    func (o *GroupProperties) GetCreateDataCenter() bool

    GetCreateDataCenter returns the CreateDataCenter field if non-nil, zero value otherwise.

    hashtag
    GetCreateDataCenterOk

    func (o *GroupProperties) GetCreateDataCenterOk() (*bool, bool)

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

    hashtag
    SetCreateDataCenter

    func (o *GroupProperties) SetCreateDataCenter(v bool)

    SetCreateDataCenter sets CreateDataCenter field to given value.

    hashtag
    HasCreateDataCenter

    func (o *GroupProperties) HasCreateDataCenter() bool

    HasCreateDataCenter returns a boolean if a field has been set.

    hashtag
    GetCreateSnapshot

    func (o *GroupProperties) GetCreateSnapshot() bool

    GetCreateSnapshot returns the CreateSnapshot field if non-nil, zero value otherwise.

    hashtag
    GetCreateSnapshotOk

    func (o *GroupProperties) GetCreateSnapshotOk() (*bool, bool)

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

    hashtag
    SetCreateSnapshot

    func (o *GroupProperties) SetCreateSnapshot(v bool)

    SetCreateSnapshot sets CreateSnapshot field to given value.

    hashtag
    HasCreateSnapshot

    func (o *GroupProperties) HasCreateSnapshot() bool

    HasCreateSnapshot returns a boolean if a field has been set.

    hashtag
    GetReserveIp

    func (o *GroupProperties) GetReserveIp() bool

    GetReserveIp returns the ReserveIp field if non-nil, zero value otherwise.

    hashtag
    GetReserveIpOk

    func (o *GroupProperties) GetReserveIpOk() (*bool, bool)

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

    hashtag
    SetReserveIp

    func (o *GroupProperties) SetReserveIp(v bool)

    SetReserveIp sets ReserveIp field to given value.

    hashtag
    HasReserveIp

    func (o *GroupProperties) HasReserveIp() bool

    HasReserveIp returns a boolean if a field has been set.

    hashtag
    GetAccessActivityLog

    func (o *GroupProperties) GetAccessActivityLog() bool

    GetAccessActivityLog returns the AccessActivityLog field if non-nil, zero value otherwise.

    hashtag
    GetAccessActivityLogOk

    func (o *GroupProperties) GetAccessActivityLogOk() (*bool, bool)

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

    hashtag
    SetAccessActivityLog

    func (o *GroupProperties) SetAccessActivityLog(v bool)

    SetAccessActivityLog sets AccessActivityLog field to given value.

    hashtag
    HasAccessActivityLog

    func (o *GroupProperties) HasAccessActivityLog() bool

    HasAccessActivityLog returns a boolean if a field has been set.

    hashtag
    GetCreatePcc

    func (o *GroupProperties) GetCreatePcc() bool

    GetCreatePcc returns the CreatePcc field if non-nil, zero value otherwise.

    hashtag
    GetCreatePccOk

    func (o *GroupProperties) GetCreatePccOk() (*bool, bool)

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

    hashtag
    SetCreatePcc

    func (o *GroupProperties) SetCreatePcc(v bool)

    SetCreatePcc sets CreatePcc field to given value.

    hashtag
    HasCreatePcc

    func (o *GroupProperties) HasCreatePcc() bool

    HasCreatePcc returns a boolean if a field has been set.

    hashtag
    GetS3Privilege

    func (o *GroupProperties) GetS3Privilege() bool

    GetS3Privilege returns the S3Privilege field if non-nil, zero value otherwise.

    hashtag
    GetS3PrivilegeOk

    func (o *GroupProperties) GetS3PrivilegeOk() (*bool, bool)

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

    hashtag
    SetS3Privilege

    func (o *GroupProperties) SetS3Privilege(v bool)

    SetS3Privilege sets S3Privilege field to given value.

    hashtag
    HasS3Privilege

    func (o *GroupProperties) HasS3Privilege() bool

    HasS3Privilege returns a boolean if a field has been set.

    hashtag
    GetCreateBackupUnit

    func (o *GroupProperties) GetCreateBackupUnit() bool

    GetCreateBackupUnit returns the CreateBackupUnit field if non-nil, zero value otherwise.

    hashtag
    GetCreateBackupUnitOk

    func (o *GroupProperties) GetCreateBackupUnitOk() (*bool, bool)

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

    hashtag
    SetCreateBackupUnit

    func (o *GroupProperties) SetCreateBackupUnit(v bool)

    SetCreateBackupUnit sets CreateBackupUnit field to given value.

    hashtag
    HasCreateBackupUnit

    func (o *GroupProperties) HasCreateBackupUnit() bool

    HasCreateBackupUnit returns a boolean if a field has been set.

    hashtag
    GetCreateInternetAccess

    func (o *GroupProperties) GetCreateInternetAccess() bool

    GetCreateInternetAccess returns the CreateInternetAccess field if non-nil, zero value otherwise.

    hashtag
    GetCreateInternetAccessOk

    func (o *GroupProperties) GetCreateInternetAccessOk() (*bool, bool)

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

    hashtag
    SetCreateInternetAccess

    func (o *GroupProperties) SetCreateInternetAccess(v bool)

    SetCreateInternetAccess sets CreateInternetAccess field to given value.

    hashtag
    HasCreateInternetAccess

    func (o *GroupProperties) HasCreateInternetAccess() bool

    HasCreateInternetAccess returns a boolean if a field has been set.

    hashtag
    GetCreateK8sCluster

    func (o *GroupProperties) GetCreateK8sCluster() bool

    GetCreateK8sCluster returns the CreateK8sCluster field if non-nil, zero value otherwise.

    hashtag
    GetCreateK8sClusterOk

    func (o *GroupProperties) GetCreateK8sClusterOk() (*bool, bool)

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

    hashtag
    SetCreateK8sCluster

    func (o *GroupProperties) SetCreateK8sCluster(v bool)

    SetCreateK8sCluster sets CreateK8sCluster field to given value.

    hashtag
    HasCreateK8sCluster

    func (o *GroupProperties) HasCreateK8sCluster() bool

    HasCreateK8sCluster returns a boolean if a field has been set.

    hashtag
    GetCreateFlowLog

    func (o *GroupProperties) GetCreateFlowLog() bool

    GetCreateFlowLog returns the CreateFlowLog field if non-nil, zero value otherwise.

    hashtag
    GetCreateFlowLogOk

    func (o *GroupProperties) GetCreateFlowLogOk() (*bool, bool)

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

    hashtag
    SetCreateFlowLog

    func (o *GroupProperties) SetCreateFlowLog(v bool)

    SetCreateFlowLog sets CreateFlowLog field to given value.

    hashtag
    HasCreateFlowLog

    func (o *GroupProperties) HasCreateFlowLog() bool

    HasCreateFlowLog returns a boolean if a field has been set.

    hashtag
    GetAccessAndManageMonitoring

    func (o *GroupProperties) GetAccessAndManageMonitoring() bool

    GetAccessAndManageMonitoring returns the AccessAndManageMonitoring field if non-nil, zero value otherwise.

    hashtag
    GetAccessAndManageMonitoringOk

    func (o *GroupProperties) GetAccessAndManageMonitoringOk() (*bool, bool)

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

    hashtag
    SetAccessAndManageMonitoring

    func (o *GroupProperties) SetAccessAndManageMonitoring(v bool)

    SetAccessAndManageMonitoring sets AccessAndManageMonitoring field to given value.

    hashtag
    HasAccessAndManageMonitoring

    func (o *GroupProperties) HasAccessAndManageMonitoring() bool

    HasAccessAndManageMonitoring returns a boolean if a field has been set.

    hashtag
    GetAccessAndManageCertificates

    func (o *GroupProperties) GetAccessAndManageCertificates() bool

    GetAccessAndManageCertificates returns the AccessAndManageCertificates field if non-nil, zero value otherwise.

    hashtag
    GetAccessAndManageCertificatesOk

    func (o *GroupProperties) GetAccessAndManageCertificatesOk() (*bool, bool)

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

    hashtag
    SetAccessAndManageCertificates

    func (o *GroupProperties) SetAccessAndManageCertificates(v bool)

    SetAccessAndManageCertificates sets AccessAndManageCertificates field to given value.

    hashtag
    HasAccessAndManageCertificates

    func (o *GroupProperties) HasAccessAndManageCertificates() bool

    HasAccessAndManageCertificates returns a boolean if a field has been set.

    hashtag
    GetManageDBaaS

    func (o *GroupProperties) GetManageDBaaS() bool

    GetManageDBaaS returns the ManageDBaaS field if non-nil, zero value otherwise.

    hashtag
    GetManageDBaaSOk

    func (o *GroupProperties) GetManageDBaaSOk() (*bool, bool)

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

    hashtag
    SetManageDBaaS

    func (o *GroupProperties) SetManageDBaaS(v bool)

    SetManageDBaaS sets ManageDBaaS field to given value.

    hashtag
    HasManageDBaaS

    func (o *GroupProperties) HasManageDBaaS() bool

    HasManageDBaaS returns a boolean if a field has been set.

    hashtag
    GetAccessAndManageDns

    func (o *GroupProperties) GetAccessAndManageDns() bool

    GetAccessAndManageDns returns the AccessAndManageDns field if non-nil, zero value otherwise.

    hashtag
    GetAccessAndManageDnsOk

    func (o *GroupProperties) GetAccessAndManageDnsOk() (*bool, bool)

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

    hashtag
    SetAccessAndManageDns

    func (o *GroupProperties) SetAccessAndManageDns(v bool)

    SetAccessAndManageDns sets AccessAndManageDns field to given value.

    hashtag
    HasAccessAndManageDns

    func (o *GroupProperties) HasAccessAndManageDns() bool

    HasAccessAndManageDns returns a boolean if a field has been set.

    hashtag
    GetManageRegistry

    func (o *GroupProperties) GetManageRegistry() bool

    GetManageRegistry returns the ManageRegistry field if non-nil, zero value otherwise.

    hashtag
    GetManageRegistryOk

    func (o *GroupProperties) GetManageRegistryOk() (*bool, bool)

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

    hashtag
    SetManageRegistry

    func (o *GroupProperties) SetManageRegistry(v bool)

    SetManageRegistry sets ManageRegistry field to given value.

    hashtag
    HasManageRegistry

    func (o *GroupProperties) HasManageRegistry() bool

    HasManageRegistry returns a boolean if a field has been set.

    hashtag
    GetManageDataplatform

    func (o *GroupProperties) GetManageDataplatform() bool

    GetManageDataplatform returns the ManageDataplatform field if non-nil, zero value otherwise.

    hashtag
    GetManageDataplatformOk

    func (o *GroupProperties) GetManageDataplatformOk() (*bool, bool)

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

    hashtag
    SetManageDataplatform

    func (o *GroupProperties) SetManageDataplatform(v bool)

    SetManageDataplatform sets ManageDataplatform field to given value.

    hashtag
    HasManageDataplatform

    func (o *GroupProperties) HasManageDataplatform() bool

    HasManageDataplatform returns a boolean if a field has been set.

    hashtag
    GetAccessAndManageLogging

    func (o *GroupProperties) GetAccessAndManageLogging() bool

    GetAccessAndManageLogging returns the AccessAndManageLogging field if non-nil, zero value otherwise.

    hashtag
    GetAccessAndManageLoggingOk

    func (o *GroupProperties) GetAccessAndManageLoggingOk() (*bool, bool)

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

    hashtag
    SetAccessAndManageLogging

    func (o *GroupProperties) SetAccessAndManageLogging(v bool)

    SetAccessAndManageLogging sets AccessAndManageLogging field to given value.

    hashtag
    HasAccessAndManageLogging

    func (o *GroupProperties) HasAccessAndManageLogging() bool

    HasAccessAndManageLogging returns a boolean if a field has been set.

    hashtag
    GetAccessAndManageCdn

    func (o *GroupProperties) GetAccessAndManageCdn() bool

    GetAccessAndManageCdn returns the AccessAndManageCdn field if non-nil, zero value otherwise.

    hashtag
    GetAccessAndManageCdnOk

    func (o *GroupProperties) GetAccessAndManageCdnOk() (*bool, bool)

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

    hashtag
    SetAccessAndManageCdn

    func (o *GroupProperties) SetAccessAndManageCdn(v bool)

    SetAccessAndManageCdn sets AccessAndManageCdn field to given value.

    hashtag
    HasAccessAndManageCdn

    func (o *GroupProperties) HasAccessAndManageCdn() bool

    HasAccessAndManageCdn returns a boolean if a field has been set.

    hashtag
    GetAccessAndManageVpn

    func (o *GroupProperties) GetAccessAndManageVpn() bool

    GetAccessAndManageVpn returns the AccessAndManageVpn field if non-nil, zero value otherwise.

    hashtag
    GetAccessAndManageVpnOk

    func (o *GroupProperties) GetAccessAndManageVpnOk() (*bool, bool)

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

    hashtag
    SetAccessAndManageVpn

    func (o *GroupProperties) SetAccessAndManageVpn(v bool)

    SetAccessAndManageVpn sets AccessAndManageVpn field to given value.

    hashtag
    HasAccessAndManageVpn

    func (o *GroupProperties) HasAccessAndManageVpn() bool

    HasAccessAndManageVpn returns a boolean if a field has been set.

    hashtag
    GetAccessAndManageApiGateway

    func (o *GroupProperties) GetAccessAndManageApiGateway() bool

    GetAccessAndManageApiGateway returns the AccessAndManageApiGateway field if non-nil, zero value otherwise.

    hashtag
    GetAccessAndManageApiGatewayOk

    func (o *GroupProperties) GetAccessAndManageApiGatewayOk() (*bool, bool)

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

    hashtag
    SetAccessAndManageApiGateway

    func (o *GroupProperties) SetAccessAndManageApiGateway(v bool)

    SetAccessAndManageApiGateway sets AccessAndManageApiGateway field to given value.

    hashtag
    HasAccessAndManageApiGateway

    func (o *GroupProperties) HasAccessAndManageApiGateway() bool

    HasAccessAndManageApiGateway returns a boolean if a field has been set.

    hashtag
    GetAccessAndManageKaas

    func (o *GroupProperties) GetAccessAndManageKaas() bool

    GetAccessAndManageKaas returns the AccessAndManageKaas field if non-nil, zero value otherwise.

    hashtag
    GetAccessAndManageKaasOk

    func (o *GroupProperties) GetAccessAndManageKaasOk() (*bool, bool)

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

    hashtag
    SetAccessAndManageKaas

    func (o *GroupProperties) SetAccessAndManageKaas(v bool)

    SetAccessAndManageKaas sets AccessAndManageKaas field to given value.

    hashtag
    HasAccessAndManageKaas

    func (o *GroupProperties) HasAccessAndManageKaas() bool

    HasAccessAndManageKaas returns a boolean if a field has been set.

    hashtag
    GetAccessAndManageNetworkFileStorage

    func (o *GroupProperties) GetAccessAndManageNetworkFileStorage() bool

    GetAccessAndManageNetworkFileStorage returns the AccessAndManageNetworkFileStorage field if non-nil, zero value otherwise.

    hashtag
    GetAccessAndManageNetworkFileStorageOk

    func (o *GroupProperties) GetAccessAndManageNetworkFileStorageOk() (*bool, bool)

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

    hashtag
    SetAccessAndManageNetworkFileStorage

    func (o *GroupProperties) SetAccessAndManageNetworkFileStorage(v bool)

    SetAccessAndManageNetworkFileStorage sets AccessAndManageNetworkFileStorage field to given value.

    hashtag
    HasAccessAndManageNetworkFileStorage

    func (o *GroupProperties) HasAccessAndManageNetworkFileStorage() bool

    HasAccessAndManageNetworkFileStorage returns a boolean if a field has been set.

    hashtag
    GetAccessAndManageAiModelHub

    func (o *GroupProperties) GetAccessAndManageAiModelHub() bool

    GetAccessAndManageAiModelHub returns the AccessAndManageAiModelHub field if non-nil, zero value otherwise.

    hashtag
    GetAccessAndManageAiModelHubOk

    func (o *GroupProperties) GetAccessAndManageAiModelHubOk() (*bool, bool)

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

    hashtag
    SetAccessAndManageAiModelHub

    func (o *GroupProperties) SetAccessAndManageAiModelHub(v bool)

    SetAccessAndManageAiModelHub sets AccessAndManageAiModelHub field to given value.

    hashtag
    HasAccessAndManageAiModelHub

    func (o *GroupProperties) HasAccessAndManageAiModelHub() bool

    HasAccessAndManageAiModelHub returns a boolean if a field has been set.

    hashtag
    GetAccessAndManageIamResources

    func (o *GroupProperties) GetAccessAndManageIamResources() bool

    GetAccessAndManageIamResources returns the AccessAndManageIamResources field if non-nil, zero value otherwise.

    hashtag
    GetAccessAndManageIamResourcesOk

    func (o *GroupProperties) GetAccessAndManageIamResourcesOk() (*bool, bool)

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

    hashtag
    SetAccessAndManageIamResources

    func (o *GroupProperties) SetAccessAndManageIamResources(v bool)

    SetAccessAndManageIamResources sets AccessAndManageIamResources field to given value.

    hashtag
    HasAccessAndManageIamResources

    func (o *GroupProperties) HasAccessAndManageIamResources() bool

    HasAccessAndManageIamResources returns a boolean if a field has been set.

    hashtag
    GetCreateNetworkSecurityGroups

    func (o *GroupProperties) GetCreateNetworkSecurityGroups() bool

    GetCreateNetworkSecurityGroups returns the CreateNetworkSecurityGroups field if non-nil, zero value otherwise.

    hashtag
    GetCreateNetworkSecurityGroupsOk

    func (o *GroupProperties) GetCreateNetworkSecurityGroupsOk() (*bool, bool)

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

    hashtag
    SetCreateNetworkSecurityGroups

    func (o *GroupProperties) SetCreateNetworkSecurityGroups(v bool)

    SetCreateNetworkSecurityGroups sets CreateNetworkSecurityGroups field to given value.

    hashtag
    HasCreateNetworkSecurityGroups

    func (o *GroupProperties) HasCreateNetworkSecurityGroups() bool

    HasCreateNetworkSecurityGroups returns a boolean if a field has been set.

    IPBlocksApi

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

    Method
    HTTP request
    Description

    UserS3KeysApi

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

    Method
    HTTP request
    Description

    The name of the resource.

    [optional]

    CreateDataCenter

    Pointer to bool

    Create data center privilege.

    [optional]

    CreateSnapshot

    Pointer to bool

    Create snapshot privilege.

    [optional]

    ReserveIp

    Pointer to bool

    Reserve IP block privilege.

    [optional]

    AccessActivityLog

    Pointer to bool

    Activity log access privilege.

    [optional]

    CreatePcc

    Pointer to bool

    User privilege to create a cross connect.

    [optional]

    S3Privilege

    Pointer to bool

    S3 privilege.

    [optional]

    CreateBackupUnit

    Pointer to bool

    Create backup unit privilege.

    [optional]

    CreateInternetAccess

    Pointer to bool

    Create internet access privilege.

    [optional]

    CreateK8sCluster

    Pointer to bool

    Create Kubernetes cluster privilege.

    [optional]

    CreateFlowLog

    Pointer to bool

    Create Flow Logs privilege.

    [optional]

    AccessAndManageMonitoring

    Pointer to bool

    Privilege for a group to access and manage monitoring related functionality (access metrics, CRUD on alarms, alarm-actions etc) using Monotoring-as-a-Service (MaaS).

    [optional]

    AccessAndManageCertificates

    Pointer to bool

    Privilege for a group to access and manage certificates.

    [optional]

    ManageDBaaS

    Pointer to bool

    Privilege for a group to manage DBaaS related functionality.

    [optional]

    AccessAndManageDns

    Pointer to bool

    Privilege for a group to access and manage dns records.

    [optional]

    ManageRegistry

    Pointer to bool

    Privilege for group accessing container registry related functionality.

    [optional]

    ManageDataplatform

    Pointer to bool

    Privilege for a group to access and manage the Data Platform.

    [optional]

    AccessAndManageLogging

    Pointer to bool

    Privilege for a group to access and manage Logs.

    [optional]

    AccessAndManageCdn

    Pointer to bool

    Privilege for a group to access and manage CDN.

    [optional]

    AccessAndManageVpn

    Pointer to bool

    Privilege for a group to access and manage VPN.

    [optional]

    AccessAndManageApiGateway

    Pointer to bool

    Privilege for a group to access and manage API Gateway.

    [optional]

    AccessAndManageKaas

    Pointer to bool

    Privilege for a group to access and manage KaaS.

    [optional]

    AccessAndManageNetworkFileStorage

    Pointer to bool

    Privilege for a group to access and manage Network File Storage.

    [optional]

    AccessAndManageAiModelHub

    Pointer to bool

    Privilege for a group to access and manage AI Model Hub.

    [optional]

    AccessAndManageIamResources

    Pointer to bool

    Privilege for a group to access and manage Password Policies.

    [optional]

    CreateNetworkSecurityGroups

    Pointer to bool

    Privilege for a group to access and manage Network Security Groups.

    [optional]

    List IP blocks

    Patch /ipblocks/{ipblockId}

    Partially modify IP blocks

    Post /ipblocks

    Reserve a IP Block

    Put /ipblocks/{ipblockId}

    Modify a IP Block by ID

    hashtag
    IpblocksDelete

    Delete IP blocks

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    ipblockId

    string

    The unique ID of the IP block.

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiIpblocksDeleteRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    hashtag
    Return type

    (empty response body)

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    IpblocksFindById

    Retrieve IP blocks

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    ipblockId

    string

    The unique ID of the IP block.

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiIpblocksFindByIdRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    hashtag
    Return type

    IpBlock

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    IpblocksGet

    List IP blocks

    hashtag
    Example

    hashtag
    Path Parameters

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiIpblocksGetRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    hashtag
    Return type

    IpBlocks

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    IpblocksPatch

    Partially modify IP blocks

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    ipblockId

    string

    The unique ID of the IP block.

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiIpblocksPatchRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    ipblock

    The properties of the IP block to be updated.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    hashtag
    Return type

    IpBlock

    hashtag
    HTTP request headers

    • Content-Type: application/json

    • Accept: application/json

    hashtag
    IpblocksPost

    Reserve a IP Block

    hashtag
    Example

    hashtag
    Path Parameters

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiIpblocksPostRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    ipblock

    The IP block to be reserved.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    hashtag
    Return type

    IpBlock

    hashtag
    HTTP request headers

    • Content-Type: application/json

    • Accept: application/json

    hashtag
    IpblocksPut

    Modify a IP Block by ID

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    ipblockId

    string

    The unique ID of the IP block.

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiIpblocksPutRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    ipblock

    The modified IP block.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    hashtag
    Return type

    IpBlock

    hashtag
    HTTP request headers

    • Content-Type: application/json

    • Accept: application/json

    IpblocksDelete

    Delete /ipblocks/{ipblockId}

    Delete IP blocks

    IpblocksFindById

    Get /ipblocks/{ipblockId}

    Retrieve IP blocks

    IpblocksGet

    Get /ipblocks

    List user Object storage keys

    Post /um/users/{userId}/s3keys

    Create user Object storage keys

    Put /um/users/{userId}/s3keys/{keyId}

    Modify a Object storage Key by Key ID

    Get /um/users/{userId}/s3ssourl

    Retrieve Object storage single sign-on URLs

    hashtag
    UmUsersS3keysDelete

    Delete Object storage keys

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    userId

    string

    The unique ID of the user.

    keyId

    string

    The unique ID of the Object storage key.

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiUmUsersS3keysDeleteRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    hashtag
    Return type

    (empty response body)

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    UmUsersS3keysFindByKeyId

    Retrieve user Object storage keys by key ID

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    userId

    string

    The unique ID of the user.

    keyId

    string

    The unique ID of the Object storage key.

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiUmUsersS3keysFindByKeyIdRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    hashtag
    Return type

    S3Key

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    UmUsersS3keysGet

    List user Object storage keys

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    userId

    string

    The unique ID of the user.

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiUmUsersS3keysGetRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    hashtag
    Return type

    S3Keys

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    UmUsersS3keysPost

    Create user Object storage keys

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    userId

    string

    The unique ID of the user.

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiUmUsersS3keysPostRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    hashtag
    Return type

    S3Key

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    UmUsersS3keysPut

    Modify a Object storage Key by Key ID

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    userId

    string

    The unique ID of the user.

    keyId

    string

    The unique ID of the Object storage key.

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiUmUsersS3keysPutRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    s3Key

    The modified Object storage key.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    hashtag
    Return type

    S3Key

    hashtag
    HTTP request headers

    • Content-Type: application/json

    • Accept: application/json

    hashtag
    UmUsersS3ssourlGet

    Retrieve Object storage single sign-on URLs

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    userId

    string

    The unique ID of the user.

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiUmUsersS3ssourlGetRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    hashtag
    Return type

    S3ObjectStorageSSO

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    UmUsersS3keysDelete

    Delete /um/users/{userId}/s3keys/{keyId}

    Delete Object storage keys

    UmUsersS3keysFindByKeyId

    Get /um/users/{userId}/s3keys/{keyId}

    Retrieve user Object storage keys by key ID

    UmUsersS3keysGet

    Get /um/users/{userId}/s3keys

    DataCentersApi

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

    Method
    HTTP request
    Description

    Delete /datacenters/{datacenterId}

    Delete data centers

    Get /datacenters/{datacenterId}

    Retrieve data centers

    hashtag
    DatacentersDelete

    Delete data centers

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersDeleteRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    (empty response body)

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    DatacentersFindById

    Retrieve data centers

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersFindByIdRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    DatacentersGet

    List your data centers

    hashtag
    Example

    hashtag
    Path Parameters

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersGetRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    DatacentersPatch

    Partially modify a Data Center by ID

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersPatchRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: application/json

    • Accept: application/json

    hashtag
    DatacentersPost

    Create a Data Center

    hashtag
    Example

    hashtag
    Path Parameters

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersPostRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: application/json

    • Accept: application/json

    hashtag
    DatacentersPut

    Modify a Data Center by ID

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersPutRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: application/json

    • Accept: application/json

    TargetGroupsApi

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

    Method
    HTTP request
    Description

    Delete /targetgroups/{targetGroupId}

    Delete a Target Group by ID

    Get /targetgroups/{targetGroupId}

    Get a Target Group by ID

    hashtag
    TargetGroupsDelete

    Delete a Target Group by ID

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiTargetGroupsDeleteRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    (empty response body)

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    TargetgroupsFindByTargetGroupId

    Get a Target Group by ID

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiTargetgroupsFindByTargetGroupIdRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    TargetgroupsGet

    Get Target Groups

    hashtag
    Example

    hashtag
    Path Parameters

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiTargetgroupsGetRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    TargetgroupsPatch

    Partially Modify a Target Group by ID

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiTargetgroupsPatchRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    TargetgroupsPost

    Create a Target Group

    hashtag
    Example

    hashtag
    Path Parameters

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiTargetgroupsPostRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: application/json

    • Accept: application/json

    hashtag
    TargetgroupsPut

    Modify a Target Group by ID

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiTargetgroupsPutRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: application/json

    • Accept: application/json

    var result  = IpblocksDelete(ctx, ipblockId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        ipblockId := "ipblockId_example" // string | The unique ID of the IP block.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resp, err := apiClient.IPBlocksApi.IpblocksDelete(context.Background(), ipblockId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `IPBlocksApi.IpblocksDelete``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
    }
    var result IpBlock = IpblocksFindById(ctx, ipblockId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        ipblockId := "ipblockId_example" // string | The unique ID of the IP block.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.IPBlocksApi.IpblocksFindById(context.Background(), ipblockId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `IPBlocksApi.IpblocksFindById``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `IpblocksFindById`: IpBlock
        fmt.Fprintf(os.Stdout, "Response from `IPBlocksApi.IpblocksFindById`: %v\n", resp)
    }
    var result IpBlocks = IpblocksGet(ctx)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Offset(offset)
                          .Limit(limit)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
        offset := int32(56) // int32 | The first element (from the complete list of the elements) to include in the response (used together with <b><i>limit</i></b> for pagination). (optional) (default to 0)
        limit := int32(56) // int32 | The maximum number of elements to return (use together with offset for pagination). (optional) (default to 100)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.IPBlocksApi.IpblocksGet(context.Background()).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Offset(offset).Limit(limit).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `IPBlocksApi.IpblocksGet``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `IpblocksGet`: IpBlocks
        fmt.Fprintf(os.Stdout, "Response from `IPBlocksApi.IpblocksGet`: %v\n", resp)
    }
    var result IpBlock = IpblocksPatch(ctx, ipblockId)
                          .Ipblock(ipblock)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        ipblockId := "ipblockId_example" // string | The unique ID of the IP block.
        ipblock := *openapiclient.NewIpBlockProperties("us/las", int32(5)) // IpBlockProperties | The properties of the IP block to be updated.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.IPBlocksApi.IpblocksPatch(context.Background(), ipblockId).Ipblock(ipblock).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `IPBlocksApi.IpblocksPatch``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `IpblocksPatch`: IpBlock
        fmt.Fprintf(os.Stdout, "Response from `IPBlocksApi.IpblocksPatch`: %v\n", resp)
    }
    var result IpBlock = IpblocksPost(ctx)
                          .Ipblock(ipblock)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        ipblock := *openapiclient.NewIpBlock(*openapiclient.NewIpBlockProperties("us/las", int32(5))) // IpBlock | The IP block to be reserved.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.IPBlocksApi.IpblocksPost(context.Background()).Ipblock(ipblock).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `IPBlocksApi.IpblocksPost``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `IpblocksPost`: IpBlock
        fmt.Fprintf(os.Stdout, "Response from `IPBlocksApi.IpblocksPost`: %v\n", resp)
    }
    var result IpBlock = IpblocksPut(ctx, ipblockId)
                          .Ipblock(ipblock)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        ipblockId := "ipblockId_example" // string | The unique ID of the IP block.
        ipblock := *openapiclient.NewIpBlock(*openapiclient.NewIpBlockProperties("us/las", int32(5))) // IpBlock | The modified IP block.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.IPBlocksApi.IpblocksPut(context.Background(), ipblockId).Ipblock(ipblock).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `IPBlocksApi.IpblocksPut``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `IpblocksPut`: IpBlock
        fmt.Fprintf(os.Stdout, "Response from `IPBlocksApi.IpblocksPut`: %v\n", resp)
    }
    var result  = UmUsersS3keysDelete(ctx, userId, keyId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        userId := "userId_example" // string | The unique ID of the user.
        keyId := "keyId_example" // string | The unique ID of the Object storage key.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resp, err := apiClient.UserS3KeysApi.UmUsersS3keysDelete(context.Background(), userId, keyId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `UserS3KeysApi.UmUsersS3keysDelete``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
    }
    var result S3Key = UmUsersS3keysFindByKeyId(ctx, userId, keyId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        userId := "userId_example" // string | The unique ID of the user.
        keyId := "keyId_example" // string | The unique ID of the Object storage key.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.UserS3KeysApi.UmUsersS3keysFindByKeyId(context.Background(), userId, keyId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `UserS3KeysApi.UmUsersS3keysFindByKeyId``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `UmUsersS3keysFindByKeyId`: S3Key
        fmt.Fprintf(os.Stdout, "Response from `UserS3KeysApi.UmUsersS3keysFindByKeyId`: %v\n", resp)
    }
    var result S3Keys = UmUsersS3keysGet(ctx, userId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        userId := "userId_example" // string | The unique ID of the user.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.UserS3KeysApi.UmUsersS3keysGet(context.Background(), userId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `UserS3KeysApi.UmUsersS3keysGet``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `UmUsersS3keysGet`: S3Keys
        fmt.Fprintf(os.Stdout, "Response from `UserS3KeysApi.UmUsersS3keysGet`: %v\n", resp)
    }
    var result S3Key = UmUsersS3keysPost(ctx, userId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        userId := "userId_example" // string | The unique ID of the user.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.UserS3KeysApi.UmUsersS3keysPost(context.Background(), userId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `UserS3KeysApi.UmUsersS3keysPost``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `UmUsersS3keysPost`: S3Key
        fmt.Fprintf(os.Stdout, "Response from `UserS3KeysApi.UmUsersS3keysPost`: %v\n", resp)
    }
    var result S3Key = UmUsersS3keysPut(ctx, userId, keyId)
                          .S3Key(s3Key)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        userId := "userId_example" // string | The unique ID of the user.
        keyId := "keyId_example" // string | The unique ID of the Object storage key.
        s3Key := *openapiclient.NewS3Key(*openapiclient.NewS3KeyProperties()) // S3Key | The modified Object storage key.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.UserS3KeysApi.UmUsersS3keysPut(context.Background(), userId, keyId).S3Key(s3Key).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `UserS3KeysApi.UmUsersS3keysPut``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `UmUsersS3keysPut`: S3Key
        fmt.Fprintf(os.Stdout, "Response from `UserS3KeysApi.UmUsersS3keysPut`: %v\n", resp)
    }
    var result S3ObjectStorageSSO = UmUsersS3ssourlGet(ctx, userId)
                          .Pretty(pretty)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        userId := "userId_example" // string | The unique ID of the user.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.UserS3KeysApi.UmUsersS3ssourlGet(context.Background(), userId).Pretty(pretty).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `UserS3KeysApi.UmUsersS3ssourlGet``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `UmUsersS3ssourlGet`: S3ObjectStorageSSO
        fmt.Fprintf(os.Stdout, "Response from `UserS3KeysApi.UmUsersS3ssourlGet`: %v\n", resp)
    }

    offset

    int32

    The first element (from the complete list of the elements) to include in the response (used together with <b><i>limit</i></b> for pagination).

    [default to 0]

    limit

    int32

    The maximum number of elements to return (use together with offset for pagination).

    [default to 100]

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    IpblocksPatch
    IpblocksPost
    IpblocksPut
    IpBlockProperties
    IpBlock
    IpBlock

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    UmUsersS3keysPost
    UmUsersS3keysPut
    UmUsersS3ssourlGet
    S3Key

    offset

    int32

    The first element (from the complete list of the elements) to include in the response (used together with <b><i>limit</i></b> for pagination).

    [default to 0]

    limit

    int32

    The maximum number of elements to return (use together with offset for pagination).

    [default to 1000]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    Get /datacenters

    List your data centers

    DatacentersPatch

    Patch /datacenters/{datacenterId}

    Partially modify a Data Center by ID

    DatacentersPost

    Post /datacenters

    Create a Data Center

    DatacentersPut

    Put /datacenters/{datacenterId}

    Modify a Data Center by ID

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    datacenter

    DatacenterPropertiesPut

    The properties of the data center to be updated.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    datacenter

    DatacenterPost

    The data center to create.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    datacenter

    DatacenterPut

    The modified data center.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    Datacenter
    Datacenters
    Datacenter
    Datacenter
    Datacenter
    DatacentersDelete
    DatacentersFindById
    DatacentersGet

    [default to 0]

    [default to 0]

    [default to 0]

    offset

    int32

    The first element (from the complete list of the elements) to include in the response (used together with <b><i>limit</i></b> for pagination).

    [default to 0]

    limit

    int32

    The maximum number of elements to return (used together with <b><i>offset</i></b> for pagination). It must not exceed <b><i>200</i></b>.

    [default to 100]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    Get /targetgroups

    Get Target Groups

    TargetgroupsPatch

    Patch /targetgroups/{targetGroupId}

    Partially Modify a Target Group by ID

    TargetgroupsPost

    Post /targetgroups

    Create a Target Group

    TargetgroupsPut

    Put /targetgroups/{targetGroupId}

    Modify a Target Group by ID

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    targetGroupId

    string

    The unique ID of the target group.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    targetGroupId

    string

    The unique ID of the target group.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    targetGroupId

    string

    The unique ID of the target group.

    targetGroupProperties

    TargetGroupProperties

    The target group properties to be updated.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    targetGroup

    TargetGroup

    The target group to create.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    targetGroupId

    string

    The unique ID of the target group.

    targetGroup

    TargetGroupPut

    The modified target group.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    TargetGroup
    TargetGroups
    TargetGroup
    TargetGroup
    TargetGroup
    TargetGroupsDelete
    TargetgroupsFindByTargetGroupId
    TargetgroupsGet

    [default to 0]

    [default to 0]

    [default to 0]

    var result  = DatacentersDelete(ctx, datacenterId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resp, err := apiClient.DataCentersApi.DatacentersDelete(context.Background(), datacenterId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `DataCentersApi.DatacentersDelete``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
    }
    var result Datacenter = DatacentersFindById(ctx, datacenterId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.DataCentersApi.DatacentersFindById(context.Background(), datacenterId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `DataCentersApi.DatacentersFindById``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersFindById`: Datacenter
        fmt.Fprintf(os.Stdout, "Response from `DataCentersApi.DatacentersFindById`: %v\n", resp)
    }
    var result Datacenters = DatacentersGet(ctx)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Offset(offset)
                          .Limit(limit)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
        offset := int32(56) // int32 | The first element (from the complete list of the elements) to include in the response (used together with <b><i>limit</i></b> for pagination). (optional) (default to 0)
        limit := int32(56) // int32 | The maximum number of elements to return (use together with offset for pagination). (optional) (default to 1000)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.DataCentersApi.DatacentersGet(context.Background()).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Offset(offset).Limit(limit).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `DataCentersApi.DatacentersGet``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersGet`: Datacenters
        fmt.Fprintf(os.Stdout, "Response from `DataCentersApi.DatacentersGet`: %v\n", resp)
    }
    var result Datacenter = DatacentersPatch(ctx, datacenterId)
                          .Datacenter(datacenter)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        datacenter := *openapiclient.NewDatacenterPropertiesPut() // DatacenterPropertiesPut | The properties of the data center to be updated.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.DataCentersApi.DatacentersPatch(context.Background(), datacenterId).Datacenter(datacenter).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `DataCentersApi.DatacentersPatch``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersPatch`: Datacenter
        fmt.Fprintf(os.Stdout, "Response from `DataCentersApi.DatacentersPatch`: %v\n", resp)
    }
    var result Datacenter = DatacentersPost(ctx)
                          .Datacenter(datacenter)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenter := *openapiclient.NewDatacenterPost(*openapiclient.NewDatacenterPropertiesPost("us/las")) // DatacenterPost | The data center to create.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.DataCentersApi.DatacentersPost(context.Background()).Datacenter(datacenter).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `DataCentersApi.DatacentersPost``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersPost`: Datacenter
        fmt.Fprintf(os.Stdout, "Response from `DataCentersApi.DatacentersPost`: %v\n", resp)
    }
    var result Datacenter = DatacentersPut(ctx, datacenterId)
                          .Datacenter(datacenter)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        datacenter := *openapiclient.NewDatacenterPut(*openapiclient.NewDatacenterPropertiesPut()) // DatacenterPut | The modified data center.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.DataCentersApi.DatacentersPut(context.Background(), datacenterId).Datacenter(datacenter).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `DataCentersApi.DatacentersPut``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersPut`: Datacenter
        fmt.Fprintf(os.Stdout, "Response from `DataCentersApi.DatacentersPut`: %v\n", resp)
    }
    var result  = TargetGroupsDelete(ctx, targetGroupId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        targetGroupId := "targetGroupId_example" // string | The unique ID of the target group.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resp, err := apiClient.TargetGroupsApi.TargetGroupsDelete(context.Background(), targetGroupId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `TargetGroupsApi.TargetGroupsDelete``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
    }
    var result TargetGroup = TargetgroupsFindByTargetGroupId(ctx, targetGroupId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        targetGroupId := "targetGroupId_example" // string | The unique ID of the target group.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.TargetGroupsApi.TargetgroupsFindByTargetGroupId(context.Background(), targetGroupId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `TargetGroupsApi.TargetgroupsFindByTargetGroupId``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `TargetgroupsFindByTargetGroupId`: TargetGroup
        fmt.Fprintf(os.Stdout, "Response from `TargetGroupsApi.TargetgroupsFindByTargetGroupId`: %v\n", resp)
    }
    var result TargetGroups = TargetgroupsGet(ctx)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Offset(offset)
                          .Limit(limit)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
        offset := int32(56) // int32 | The first element (from the complete list of the elements) to include in the response (used together with <b><i>limit</i></b> for pagination). (optional) (default to 0)
        limit := int32(56) // int32 | The maximum number of elements to return (used together with <b><i>offset</i></b> for pagination). It must not exceed <b><i>200</i></b>. (optional) (default to 100)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.TargetGroupsApi.TargetgroupsGet(context.Background()).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Offset(offset).Limit(limit).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `TargetGroupsApi.TargetgroupsGet``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `TargetgroupsGet`: TargetGroups
        fmt.Fprintf(os.Stdout, "Response from `TargetGroupsApi.TargetgroupsGet`: %v\n", resp)
    }
    var result TargetGroup = TargetgroupsPatch(ctx, targetGroupId)
                          .TargetGroupProperties(targetGroupProperties)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        targetGroupId := "targetGroupId_example" // string | The unique ID of the target group.
        targetGroupProperties := *openapiclient.NewTargetGroupProperties("My target group", "ROUND_ROBIN", "HTTP") // TargetGroupProperties | The target group properties to be updated.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.TargetGroupsApi.TargetgroupsPatch(context.Background(), targetGroupId).TargetGroupProperties(targetGroupProperties).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `TargetGroupsApi.TargetgroupsPatch``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `TargetgroupsPatch`: TargetGroup
        fmt.Fprintf(os.Stdout, "Response from `TargetGroupsApi.TargetgroupsPatch`: %v\n", resp)
    }
    var result TargetGroup = TargetgroupsPost(ctx)
                          .TargetGroup(targetGroup)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        targetGroup := *openapiclient.NewTargetGroup(*openapiclient.NewTargetGroupProperties("My target group", "ROUND_ROBIN", "HTTP")) // TargetGroup | The target group to create.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.TargetGroupsApi.TargetgroupsPost(context.Background()).TargetGroup(targetGroup).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `TargetGroupsApi.TargetgroupsPost``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `TargetgroupsPost`: TargetGroup
        fmt.Fprintf(os.Stdout, "Response from `TargetGroupsApi.TargetgroupsPost`: %v\n", resp)
    }
    var result TargetGroup = TargetgroupsPut(ctx, targetGroupId)
                          .TargetGroup(targetGroup)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        targetGroupId := "targetGroupId_example" // string | The unique ID of the target group.
        targetGroup := *openapiclient.NewTargetGroupPut(*openapiclient.NewTargetGroupProperties("My target group", "ROUND_ROBIN", "HTTP")) // TargetGroupPut | The modified target group.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.TargetGroupsApi.TargetgroupsPut(context.Background(), targetGroupId).TargetGroup(targetGroup).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `TargetGroupsApi.TargetgroupsPut``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `TargetgroupsPut`: TargetGroup
        fmt.Fprintf(os.Stdout, "Response from `TargetGroupsApi.TargetgroupsPut`: %v\n", resp)
    }

    BackupUnitsApi

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

    Method
    HTTP request
    Description

    Delete /backupunits/{backupunitId}

    Delete backup units

    Get /backupunits/{backupunitId}

    Retrieve backup units

    hashtag
    BackupunitsDelete

    Delete backup units

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiBackupunitsDeleteRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    (empty response body)

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    BackupunitsFindById

    Retrieve backup units

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiBackupunitsFindByIdRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    BackupunitsGet

    List backup units

    hashtag
    Example

    hashtag
    Path Parameters

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiBackupunitsGetRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    BackupunitsPatch

    Partially modify backup units

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiBackupunitsPatchRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: application/json

    • Accept: application/json

    hashtag
    BackupunitsPost

    Create backup units

    hashtag
    Example

    hashtag
    Path Parameters

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiBackupunitsPostRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: application/json

    • Accept: application/json

    hashtag
    BackupunitsPut

    Modify backup units

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiBackupunitsPutRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: application/json

    • Accept: application/json

    hashtag
    BackupunitsSsourlGet

    Retrieve BU single sign-on URLs

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiBackupunitsSsourlGetRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    Get /backupunits

    List backup units

    BackupunitsPatch

    Patch /backupunits/{backupunitId}

    Partially modify backup units

    BackupunitsPost

    Post /backupunits

    Create backup units

    BackupunitsPut

    Put /backupunits/{backupunitId}

    Modify backup units

    BackupunitsSsourlGet

    Get /backupunits/{backupunitId}/ssourl

    Retrieve BU single sign-on URLs

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    backupunitId

    string

    The unique ID of the backup unit.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    backupunitId

    string

    The unique ID of the backup unit.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    backupunitId

    string

    The unique ID of the backup unit.

    backupUnit

    BackupUnitProperties

    The properties of the backup unit to be updated.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    backupUnit

    BackupUnit

    The backup unit to create.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    backupunitId

    string

    The unique ID of the backup unit.

    backupUnit

    BackupUnit

    The modified backup unit.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    backupunitId

    string

    The unique ID of the backup unit.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    BackupUnit
    BackupUnits
    BackupUnit
    BackupUnit
    BackupUnit
    BackupUnitSSO
    BackupunitsDelete
    BackupunitsFindById
    BackupunitsGet

    [default to 0]

    [default to 0]

    [default to 0]

    var result  = BackupunitsDelete(ctx, backupunitId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        backupunitId := "backupunitId_example" // string | The unique ID of the backup unit.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resp, err := apiClient.BackupUnitsApi.BackupunitsDelete(context.Background(), backupunitId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `BackupUnitsApi.BackupunitsDelete``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
    }
    var result BackupUnit = BackupunitsFindById(ctx, backupunitId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        backupunitId := "backupunitId_example" // string | The unique ID of the backup unit.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.BackupUnitsApi.BackupunitsFindById(context.Background(), backupunitId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `BackupUnitsApi.BackupunitsFindById``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `BackupunitsFindById`: BackupUnit
        fmt.Fprintf(os.Stdout, "Response from `BackupUnitsApi.BackupunitsFindById`: %v\n", resp)
    }
    var result BackupUnits = BackupunitsGet(ctx)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.BackupUnitsApi.BackupunitsGet(context.Background()).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `BackupUnitsApi.BackupunitsGet``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `BackupunitsGet`: BackupUnits
        fmt.Fprintf(os.Stdout, "Response from `BackupUnitsApi.BackupunitsGet`: %v\n", resp)
    }
    var result BackupUnit = BackupunitsPatch(ctx, backupunitId)
                          .BackupUnit(backupUnit)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        backupunitId := "backupunitId_example" // string | The unique ID of the backup unit.
        backupUnit := *openapiclient.NewBackupUnitProperties("BackupUnitName") // BackupUnitProperties | The properties of the backup unit to be updated.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.BackupUnitsApi.BackupunitsPatch(context.Background(), backupunitId).BackupUnit(backupUnit).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `BackupUnitsApi.BackupunitsPatch``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `BackupunitsPatch`: BackupUnit
        fmt.Fprintf(os.Stdout, "Response from `BackupUnitsApi.BackupunitsPatch`: %v\n", resp)
    }
    var result BackupUnit = BackupunitsPost(ctx)
                          .BackupUnit(backupUnit)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        backupUnit := *openapiclient.NewBackupUnit(*openapiclient.NewBackupUnitProperties("BackupUnitName")) // BackupUnit | The backup unit to create.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.BackupUnitsApi.BackupunitsPost(context.Background()).BackupUnit(backupUnit).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `BackupUnitsApi.BackupunitsPost``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `BackupunitsPost`: BackupUnit
        fmt.Fprintf(os.Stdout, "Response from `BackupUnitsApi.BackupunitsPost`: %v\n", resp)
    }
    var result BackupUnit = BackupunitsPut(ctx, backupunitId)
                          .BackupUnit(backupUnit)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        backupunitId := "backupunitId_example" // string | The unique ID of the backup unit.
        backupUnit := *openapiclient.NewBackupUnit(*openapiclient.NewBackupUnitProperties("BackupUnitName")) // BackupUnit | The modified backup unit.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.BackupUnitsApi.BackupunitsPut(context.Background(), backupunitId).BackupUnit(backupUnit).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `BackupUnitsApi.BackupunitsPut``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `BackupunitsPut`: BackupUnit
        fmt.Fprintf(os.Stdout, "Response from `BackupUnitsApi.BackupunitsPut`: %v\n", resp)
    }
    var result BackupUnitSSO = BackupunitsSsourlGet(ctx, backupunitId)
                          .Pretty(pretty)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        backupunitId := "backupunitId_example" // string | The unique ID of the backup unit.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.BackupUnitsApi.BackupunitsSsourlGet(context.Background(), backupunitId).Pretty(pretty).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `BackupUnitsApi.BackupunitsSsourlGet``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `BackupunitsSsourlGet`: BackupUnitSSO
        fmt.Fprintf(os.Stdout, "Response from `BackupUnitsApi.BackupunitsSsourlGet`: %v\n", resp)
    }

    FlowLogsApi

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

    Method
    HTTP request
    Description

    Delete /datacenters/{datacenterId}/servers/{serverId}/nics/{nicId}/flowlogs/{flowlogId}

    Delete Flow Logs

    Get /datacenters/{datacenterId}/servers/{serverId}/nics/{nicId}/flowlogs/{flowlogId}

    Retrieve Flow Logs

    hashtag
    DatacentersServersNicsFlowlogsDelete

    Delete Flow Logs

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersServersNicsFlowlogsDeleteRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    (empty response body)

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    DatacentersServersNicsFlowlogsFindById

    Retrieve Flow Logs

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersServersNicsFlowlogsFindByIdRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    DatacentersServersNicsFlowlogsGet

    List Flow Logs

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersServersNicsFlowlogsGetRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    DatacentersServersNicsFlowlogsPatch

    Partially modify Flow Logs

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersServersNicsFlowlogsPatchRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: application/json

    • Accept: application/json

    hashtag
    DatacentersServersNicsFlowlogsPost

    Create a Flow Log

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersServersNicsFlowlogsPostRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: application/json

    • Accept: application/json

    hashtag
    DatacentersServersNicsFlowlogsPut

    Modify Flow Logs

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersServersNicsFlowlogsPutRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: application/json

    • Accept: application/json

    nicId

    string

    The unique ID of the NIC.

    flowlogId

    string

    The unique ID of the Flow Log.

    nicId

    string

    The unique ID of the NIC.

    flowlogId

    string

    The unique ID of the Flow Log.

    nicId

    string

    The unique ID of the NIC.

    limit

    int32

    The maximum number of elements to return (use together with offset for pagination).

    [default to 1000]

    nicId

    string

    The unique ID of the NIC.

    flowlogId

    string

    The unique ID of the Flow Log.

    nicId

    string

    The unique ID of the NIC.

    nicId

    string

    The unique ID of the NIC.

    flowlogId

    string

    The unique ID of the Flow Log.

    Get /datacenters/{datacenterId}/servers/{serverId}/nics/{nicId}/flowlogs

    List Flow Logs

    DatacentersServersNicsFlowlogsPatch

    Patch /datacenters/{datacenterId}/servers/{serverId}/nics/{nicId}/flowlogs/{flowlogId}

    Partially modify Flow Logs

    DatacentersServersNicsFlowlogsPost

    Post /datacenters/{datacenterId}/servers/{serverId}/nics/{nicId}/flowlogs

    Create a Flow Log

    DatacentersServersNicsFlowlogsPut

    Put /datacenters/{datacenterId}/servers/{serverId}/nics/{nicId}/flowlogs/{flowlogId}

    Modify Flow Logs

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    serverId

    string

    The unique ID of the server.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    serverId

    string

    The unique ID of the server.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    serverId

    string

    The unique ID of the server.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    offset

    int32

    The first element (from the complete list of the elements) to include in the response (used together with <b><i>limit</i></b> for pagination).

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    serverId

    string

    The unique ID of the server.

    flowlog

    FlowLogProperties

    The Flow Log record to be updated.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    serverId

    string

    The unique ID of the server.

    flowlog

    FlowLog

    The Flow Log to create.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    serverId

    string

    The unique ID of the server.

    flowlog

    FlowLogPut

    The modified Flow Log.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    FlowLog
    FlowLogs
    FlowLog
    FlowLog
    FlowLog
    DatacentersServersNicsFlowlogsDelete
    DatacentersServersNicsFlowlogsFindById
    DatacentersServersNicsFlowlogsGet

    [default to 0]

    [default to 0]

    [default to 0]

    [default to 0]

    var result  = DatacentersServersNicsFlowlogsDelete(ctx, datacenterId, serverId, nicId, flowlogId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        serverId := "serverId_example" // string | The unique ID of the server.
        nicId := "nicId_example" // string | The unique ID of the NIC.
        flowlogId := "flowlogId_example" // string | The unique ID of the Flow Log.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resp, err := apiClient.FlowLogsApi.DatacentersServersNicsFlowlogsDelete(context.Background(), datacenterId, serverId, nicId, flowlogId).Pretty(pretty).Depth(depth).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `FlowLogsApi.DatacentersServersNicsFlowlogsDelete``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
    }
    var result FlowLog = DatacentersServersNicsFlowlogsFindById(ctx, datacenterId, serverId, nicId, flowlogId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        serverId := "serverId_example" // string | The unique ID of the server.
        nicId := "nicId_example" // string | The unique ID of the NIC.
        flowlogId := "flowlogId_example" // string | The unique ID of the Flow Log.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.FlowLogsApi.DatacentersServersNicsFlowlogsFindById(context.Background(), datacenterId, serverId, nicId, flowlogId).Pretty(pretty).Depth(depth).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `FlowLogsApi.DatacentersServersNicsFlowlogsFindById``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersServersNicsFlowlogsFindById`: FlowLog
        fmt.Fprintf(os.Stdout, "Response from `FlowLogsApi.DatacentersServersNicsFlowlogsFindById`: %v\n", resp)
    }
    var result FlowLogs = DatacentersServersNicsFlowlogsGet(ctx, datacenterId, serverId, nicId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .Offset(offset)
                          .Limit(limit)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        serverId := "serverId_example" // string | The unique ID of the server.
        nicId := "nicId_example" // string | The unique ID of the NIC.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        offset := int32(56) // int32 | The first element (from the complete list of the elements) to include in the response (used together with <b><i>limit</i></b> for pagination). (optional) (default to 0)
        limit := int32(56) // int32 | The maximum number of elements to return (use together with offset for pagination). (optional) (default to 1000)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.FlowLogsApi.DatacentersServersNicsFlowlogsGet(context.Background(), datacenterId, serverId, nicId).Pretty(pretty).Depth(depth).Offset(offset).Limit(limit).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `FlowLogsApi.DatacentersServersNicsFlowlogsGet``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersServersNicsFlowlogsGet`: FlowLogs
        fmt.Fprintf(os.Stdout, "Response from `FlowLogsApi.DatacentersServersNicsFlowlogsGet`: %v\n", resp)
    }
    var result FlowLog = DatacentersServersNicsFlowlogsPatch(ctx, datacenterId, serverId, nicId, flowlogId)
                          .Flowlog(flowlog)
                          .Pretty(pretty)
                          .Depth(depth)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        serverId := "serverId_example" // string | The unique ID of the server.
        nicId := "nicId_example" // string | The unique ID of the NIC.
        flowlogId := "flowlogId_example" // string | The unique ID of the Flow Log.
        flowlog := *openapiclient.NewFlowLogProperties("My resource", "ACCEPTED", "INGRESS", "bucketName/key") // FlowLogProperties | The Flow Log record to be updated.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.FlowLogsApi.DatacentersServersNicsFlowlogsPatch(context.Background(), datacenterId, serverId, nicId, flowlogId).Flowlog(flowlog).Pretty(pretty).Depth(depth).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `FlowLogsApi.DatacentersServersNicsFlowlogsPatch``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersServersNicsFlowlogsPatch`: FlowLog
        fmt.Fprintf(os.Stdout, "Response from `FlowLogsApi.DatacentersServersNicsFlowlogsPatch`: %v\n", resp)
    }
    var result FlowLog = DatacentersServersNicsFlowlogsPost(ctx, datacenterId, serverId, nicId)
                          .Flowlog(flowlog)
                          .Pretty(pretty)
                          .Depth(depth)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        serverId := "serverId_example" // string | The unique ID of the server.
        nicId := "nicId_example" // string | The unique ID of the NIC.
        flowlog := *openapiclient.NewFlowLog(*openapiclient.NewFlowLogProperties("My resource", "ACCEPTED", "INGRESS", "bucketName/key")) // FlowLog | The Flow Log to create.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.FlowLogsApi.DatacentersServersNicsFlowlogsPost(context.Background(), datacenterId, serverId, nicId).Flowlog(flowlog).Pretty(pretty).Depth(depth).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `FlowLogsApi.DatacentersServersNicsFlowlogsPost``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersServersNicsFlowlogsPost`: FlowLog
        fmt.Fprintf(os.Stdout, "Response from `FlowLogsApi.DatacentersServersNicsFlowlogsPost`: %v\n", resp)
    }
    var result FlowLog = DatacentersServersNicsFlowlogsPut(ctx, datacenterId, serverId, nicId, flowlogId)
                          .Flowlog(flowlog)
                          .Pretty(pretty)
                          .Depth(depth)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        serverId := "serverId_example" // string | The unique ID of the server.
        nicId := "nicId_example" // string | The unique ID of the NIC.
        flowlogId := "flowlogId_example" // string | The unique ID of the Flow Log.
        flowlog := *openapiclient.NewFlowLogPut(*openapiclient.NewFlowLogProperties("My resource", "ACCEPTED", "INGRESS", "bucketName/key")) // FlowLogPut | The modified Flow Log.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.FlowLogsApi.DatacentersServersNicsFlowlogsPut(context.Background(), datacenterId, serverId, nicId, flowlogId).Flowlog(flowlog).Pretty(pretty).Depth(depth).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `FlowLogsApi.DatacentersServersNicsFlowlogsPut``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersServersNicsFlowlogsPut`: FlowLog
        fmt.Fprintf(os.Stdout, "Response from `FlowLogsApi.DatacentersServersNicsFlowlogsPut`: %v\n", resp)
    }

    NetworkInterfacesApi

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

    Method
    HTTP request
    Description

    Delete /datacenters/{datacenterId}/servers/{serverId}/nics/{nicId}

    Delete NICs

    Get /datacenters/{datacenterId}/servers/{serverId}/nics/{nicId}

    Retrieve NICs

    hashtag
    DatacentersServersNicsDelete

    Delete NICs

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersServersNicsDeleteRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    (empty response body)

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    DatacentersServersNicsFindById

    Retrieve NICs

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersServersNicsFindByIdRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    DatacentersServersNicsGet

    List NICs

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersServersNicsGetRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    DatacentersServersNicsPatch

    Partially modify NICs

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersServersNicsPatchRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: application/json

    • Accept: application/json

    hashtag
    DatacentersServersNicsPost

    Create a NIC

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersServersNicsPostRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: application/json

    • Accept: application/json

    hashtag
    DatacentersServersNicsPut

    Modify NICs

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersServersNicsPutRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: application/json

    • Accept: application/json

    FirewallRulesApi

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

    Method
    HTTP request
    Description

    Delete /datacenters/{datacenterId}/servers/{serverId}/nics/{nicId}/firewallrules/{firewallruleId}

    Delete firewall rules

    Get /datacenters/{datacenterId}/servers/{serverId}/nics/{nicId}/firewallrules/{firewallruleId}

    Retrieve firewall rules

    hashtag
    DatacentersServersNicsFirewallrulesDelete

    Delete firewall rules

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersServersNicsFirewallrulesDeleteRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    (empty response body)

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    DatacentersServersNicsFirewallrulesFindById

    Retrieve firewall rules

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersServersNicsFirewallrulesFindByIdRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    DatacentersServersNicsFirewallrulesGet

    List firewall rules

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersServersNicsFirewallrulesGetRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    DatacentersServersNicsFirewallrulesPatch

    Partially modify firewall rules

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersServersNicsFirewallrulesPatchRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: application/json

    • Accept: application/json

    hashtag
    DatacentersServersNicsFirewallrulesPost

    Create a Firewall Rule

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersServersNicsFirewallrulesPostRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: application/json

    • Accept: application/json

    hashtag
    DatacentersServersNicsFirewallrulesPut

    Modify a Firewall Rule

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersServersNicsFirewallrulesPutRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: application/json

    • Accept: application/json

    nicId

    string

    The unique ID of the NIC.

    nicId

    string

    The unique ID of the NIC.

    offset

    int32

    The first element (from the complete list of the elements) to include in the response (used together with <b><i>limit</i></b> for pagination).

    [default to 0]

    limit

    int32

    The maximum number of elements to return (use together with offset for pagination).

    [default to 1000]

    nicId

    string

    The unique ID of the NIC.

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    nicId

    string

    The unique ID of the NIC.

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    Get /datacenters/{datacenterId}/servers/{serverId}/nics

    List NICs

    DatacentersServersNicsPatch

    Patch /datacenters/{datacenterId}/servers/{serverId}/nics/{nicId}

    Partially modify NICs

    DatacentersServersNicsPost

    Post /datacenters/{datacenterId}/servers/{serverId}/nics

    Create a NIC

    DatacentersServersNicsPut

    Put /datacenters/{datacenterId}/servers/{serverId}/nics/{nicId}

    Modify NICs

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    serverId

    string

    The unique ID of the server.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    serverId

    string

    The unique ID of the server.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    serverId

    string

    The unique ID of the server.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    serverId

    string

    The unique ID of the server.

    nic

    NicProperties

    The properties of the NIC to be updated.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    serverId

    string

    The unique ID of the server.

    nic

    Nic

    The NIC to create.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    serverId

    string

    The unique ID of the server.

    nic

    NicPut

    The modified NIC

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    Nic
    Nics
    Nic
    Nic
    Nic
    DatacentersServersNicsDelete
    DatacentersServersNicsFindById
    DatacentersServersNicsGet

    [default to 0]

    [default to 0]

    [default to 0]

    nicId

    string

    The unique ID of the NIC.

    firewallruleId

    string

    The unique ID of the firewall rule.

    nicId

    string

    The unique ID of the NIC.

    firewallruleId

    string

    The unique ID of the firewall rule.

    nicId

    string

    The unique ID of the NIC.

    offset

    int32

    The first element (from the complete list of the elements) to include in the response (used together with <b><i>limit</i></b> for pagination).

    [default to 0]

    limit

    int32

    The maximum number of elements to return (use together with offset for pagination).

    [default to 1000]

    nicId

    string

    The unique ID of the NIC.

    firewallruleId

    string

    The unique ID of the firewall rule.

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    nicId

    string

    The unique ID of the NIC.

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    nicId

    string

    The unique ID of the NIC.

    firewallruleId

    string

    The unique ID of the firewall rule.

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    Get /datacenters/{datacenterId}/servers/{serverId}/nics/{nicId}/firewallrules

    List firewall rules

    DatacentersServersNicsFirewallrulesPatch

    Patch /datacenters/{datacenterId}/servers/{serverId}/nics/{nicId}/firewallrules/{firewallruleId}

    Partially modify firewall rules

    DatacentersServersNicsFirewallrulesPost

    Post /datacenters/{datacenterId}/servers/{serverId}/nics/{nicId}/firewallrules

    Create a Firewall Rule

    DatacentersServersNicsFirewallrulesPut

    Put /datacenters/{datacenterId}/servers/{serverId}/nics/{nicId}/firewallrules/{firewallruleId}

    Modify a Firewall Rule

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    serverId

    string

    The unique ID of the server.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    serverId

    string

    The unique ID of the server.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    serverId

    string

    The unique ID of the server.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    serverId

    string

    The unique ID of the server.

    firewallrule

    FirewallruleProperties

    The properties of the firewall rule to be updated.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    serverId

    string

    The unique ID of the server.

    firewallrule

    FirewallRule

    The firewall rule to create.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    serverId

    string

    The unique ID of the server.

    firewallrule

    FirewallRule

    The modified firewall rule.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    FirewallRule
    FirewallRules
    FirewallRule
    FirewallRule
    FirewallRule
    DatacentersServersNicsFirewallrulesDelete
    DatacentersServersNicsFirewallrulesFindById
    DatacentersServersNicsFirewallrulesGet

    [default to 0]

    [default to 0]

    [default to 0]

    var result  = DatacentersServersNicsDelete(ctx, datacenterId, serverId, nicId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        serverId := "serverId_example" // string | The unique ID of the server.
        nicId := "nicId_example" // string | The unique ID of the NIC.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resp, err := apiClient.NetworkInterfacesApi.DatacentersServersNicsDelete(context.Background(), datacenterId, serverId, nicId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `NetworkInterfacesApi.DatacentersServersNicsDelete``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
    }
    var result Nic = DatacentersServersNicsFindById(ctx, datacenterId, serverId, nicId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        serverId := "serverId_example" // string | The unique ID of the server.
        nicId := "nicId_example" // string | The unique ID of the NIC.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.NetworkInterfacesApi.DatacentersServersNicsFindById(context.Background(), datacenterId, serverId, nicId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `NetworkInterfacesApi.DatacentersServersNicsFindById``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersServersNicsFindById`: Nic
        fmt.Fprintf(os.Stdout, "Response from `NetworkInterfacesApi.DatacentersServersNicsFindById`: %v\n", resp)
    }
    var result Nics = DatacentersServersNicsGet(ctx, datacenterId, serverId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Offset(offset)
                          .Limit(limit)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        serverId := "serverId_example" // string | The unique ID of the server.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
        offset := int32(56) // int32 | The first element (from the complete list of the elements) to include in the response (used together with <b><i>limit</i></b> for pagination). (optional) (default to 0)
        limit := int32(56) // int32 | The maximum number of elements to return (use together with offset for pagination). (optional) (default to 1000)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.NetworkInterfacesApi.DatacentersServersNicsGet(context.Background(), datacenterId, serverId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Offset(offset).Limit(limit).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `NetworkInterfacesApi.DatacentersServersNicsGet``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersServersNicsGet`: Nics
        fmt.Fprintf(os.Stdout, "Response from `NetworkInterfacesApi.DatacentersServersNicsGet`: %v\n", resp)
    }
    var result Nic = DatacentersServersNicsPatch(ctx, datacenterId, serverId, nicId)
                          .Nic(nic)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        serverId := "serverId_example" // string | The unique ID of the server.
        nicId := "nicId_example" // string | The unique ID of the NIC.
        nic := *openapiclient.NewNicProperties(int32(2)) // NicProperties | The properties of the NIC to be updated.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.NetworkInterfacesApi.DatacentersServersNicsPatch(context.Background(), datacenterId, serverId, nicId).Nic(nic).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `NetworkInterfacesApi.DatacentersServersNicsPatch``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersServersNicsPatch`: Nic
        fmt.Fprintf(os.Stdout, "Response from `NetworkInterfacesApi.DatacentersServersNicsPatch`: %v\n", resp)
    }
    var result Nic = DatacentersServersNicsPost(ctx, datacenterId, serverId)
                          .Nic(nic)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        serverId := "serverId_example" // string | The unique ID of the server.
        nic := *openapiclient.NewNic(*openapiclient.NewNicProperties(int32(2))) // Nic | The NIC to create.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.NetworkInterfacesApi.DatacentersServersNicsPost(context.Background(), datacenterId, serverId).Nic(nic).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `NetworkInterfacesApi.DatacentersServersNicsPost``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersServersNicsPost`: Nic
        fmt.Fprintf(os.Stdout, "Response from `NetworkInterfacesApi.DatacentersServersNicsPost`: %v\n", resp)
    }
    var result Nic = DatacentersServersNicsPut(ctx, datacenterId, serverId, nicId)
                          .Nic(nic)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        serverId := "serverId_example" // string | The unique ID of the server.
        nicId := "nicId_example" // string | The unique ID of the NIC.
        nic := *openapiclient.NewNicPut(*openapiclient.NewNicProperties(int32(2))) // NicPut | The modified NIC
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.NetworkInterfacesApi.DatacentersServersNicsPut(context.Background(), datacenterId, serverId, nicId).Nic(nic).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `NetworkInterfacesApi.DatacentersServersNicsPut``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersServersNicsPut`: Nic
        fmt.Fprintf(os.Stdout, "Response from `NetworkInterfacesApi.DatacentersServersNicsPut`: %v\n", resp)
    }
    var result  = DatacentersServersNicsFirewallrulesDelete(ctx, datacenterId, serverId, nicId, firewallruleId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        serverId := "serverId_example" // string | The unique ID of the server.
        nicId := "nicId_example" // string | The unique ID of the NIC.
        firewallruleId := "firewallruleId_example" // string | The unique ID of the firewall rule.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resp, err := apiClient.FirewallRulesApi.DatacentersServersNicsFirewallrulesDelete(context.Background(), datacenterId, serverId, nicId, firewallruleId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `FirewallRulesApi.DatacentersServersNicsFirewallrulesDelete``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
    }
    var result FirewallRule = DatacentersServersNicsFirewallrulesFindById(ctx, datacenterId, serverId, nicId, firewallruleId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        serverId := "serverId_example" // string | The unique ID of the server.
        nicId := "nicId_example" // string | The unique ID of the NIC.
        firewallruleId := "firewallruleId_example" // string | The unique ID of the firewall rule.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.FirewallRulesApi.DatacentersServersNicsFirewallrulesFindById(context.Background(), datacenterId, serverId, nicId, firewallruleId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `FirewallRulesApi.DatacentersServersNicsFirewallrulesFindById``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersServersNicsFirewallrulesFindById`: FirewallRule
        fmt.Fprintf(os.Stdout, "Response from `FirewallRulesApi.DatacentersServersNicsFirewallrulesFindById`: %v\n", resp)
    }
    var result FirewallRules = DatacentersServersNicsFirewallrulesGet(ctx, datacenterId, serverId, nicId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Offset(offset)
                          .Limit(limit)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        serverId := "serverId_example" // string | The unique ID of the server.
        nicId := "nicId_example" // string | The unique ID of the NIC.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
        offset := int32(56) // int32 | The first element (from the complete list of the elements) to include in the response (used together with <b><i>limit</i></b> for pagination). (optional) (default to 0)
        limit := int32(56) // int32 | The maximum number of elements to return (use together with offset for pagination). (optional) (default to 1000)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.FirewallRulesApi.DatacentersServersNicsFirewallrulesGet(context.Background(), datacenterId, serverId, nicId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Offset(offset).Limit(limit).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `FirewallRulesApi.DatacentersServersNicsFirewallrulesGet``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersServersNicsFirewallrulesGet`: FirewallRules
        fmt.Fprintf(os.Stdout, "Response from `FirewallRulesApi.DatacentersServersNicsFirewallrulesGet`: %v\n", resp)
    }
    var result FirewallRule = DatacentersServersNicsFirewallrulesPatch(ctx, datacenterId, serverId, nicId, firewallruleId)
                          .Firewallrule(firewallrule)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        serverId := "serverId_example" // string | The unique ID of the server.
        nicId := "nicId_example" // string | The unique ID of the NIC.
        firewallruleId := "firewallruleId_example" // string | The unique ID of the firewall rule.
        firewallrule := *openapiclient.NewFirewallruleProperties() // FirewallruleProperties | The properties of the firewall rule to be updated.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.FirewallRulesApi.DatacentersServersNicsFirewallrulesPatch(context.Background(), datacenterId, serverId, nicId, firewallruleId).Firewallrule(firewallrule).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `FirewallRulesApi.DatacentersServersNicsFirewallrulesPatch``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersServersNicsFirewallrulesPatch`: FirewallRule
        fmt.Fprintf(os.Stdout, "Response from `FirewallRulesApi.DatacentersServersNicsFirewallrulesPatch`: %v\n", resp)
    }
    var result FirewallRule = DatacentersServersNicsFirewallrulesPost(ctx, datacenterId, serverId, nicId)
                          .Firewallrule(firewallrule)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        serverId := "serverId_example" // string | The unique ID of the server.
        nicId := "nicId_example" // string | The unique ID of the NIC.
        firewallrule := *openapiclient.NewFirewallRule(*openapiclient.NewFirewallruleProperties()) // FirewallRule | The firewall rule to create.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.FirewallRulesApi.DatacentersServersNicsFirewallrulesPost(context.Background(), datacenterId, serverId, nicId).Firewallrule(firewallrule).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `FirewallRulesApi.DatacentersServersNicsFirewallrulesPost``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersServersNicsFirewallrulesPost`: FirewallRule
        fmt.Fprintf(os.Stdout, "Response from `FirewallRulesApi.DatacentersServersNicsFirewallrulesPost`: %v\n", resp)
    }
    var result FirewallRule = DatacentersServersNicsFirewallrulesPut(ctx, datacenterId, serverId, nicId, firewallruleId)
                          .Firewallrule(firewallrule)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        serverId := "serverId_example" // string | The unique ID of the server.
        nicId := "nicId_example" // string | The unique ID of the NIC.
        firewallruleId := "firewallruleId_example" // string | The unique ID of the firewall rule.
        firewallrule := *openapiclient.NewFirewallRule(*openapiclient.NewFirewallruleProperties()) // FirewallRule | The modified firewall rule.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.FirewallRulesApi.DatacentersServersNicsFirewallrulesPut(context.Background(), datacenterId, serverId, nicId, firewallruleId).Firewallrule(firewallrule).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `FirewallRulesApi.DatacentersServersNicsFirewallrulesPut``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersServersNicsFirewallrulesPut`: FirewallRule
        fmt.Fprintf(os.Stdout, "Response from `FirewallRulesApi.DatacentersServersNicsFirewallrulesPut`: %v\n", resp)
    }

    VolumesApi

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

    Method
    HTTP request
    Description

    Post /datacenters/{datacenterId}/volumes/{volumeId}/create-snapshot

    Create volume snapshots

    Delete /datacenters/{datacenterId}/volumes/{volumeId}

    Delete volumes

    hashtag
    DatacentersVolumesCreateSnapshotPost

    Create volume snapshots

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersVolumesCreateSnapshotPostRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: application/json

    • Accept: application/json

    hashtag
    DatacentersVolumesDelete

    Delete volumes

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersVolumesDeleteRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    (empty response body)

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    DatacentersVolumesFindById

    Retrieve volumes

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersVolumesFindByIdRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    DatacentersVolumesGet

    List volumes

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersVolumesGetRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    DatacentersVolumesPatch

    Partially modify volumes

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersVolumesPatchRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: application/json

    • Accept: application/json

    hashtag
    DatacentersVolumesPost

    Create a Volume

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersVolumesPostRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: application/json

    • Accept: application/json

    hashtag
    DatacentersVolumesPut

    Modify a Volume by ID

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersVolumesPutRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: application/json

    • Accept: application/json

    hashtag
    DatacentersVolumesRestoreSnapshotPost

    Restore volume snapshots

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersVolumesRestoreSnapshotPostRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    (empty response body)

    hashtag
    HTTP request headers

    • Content-Type: application/json

    • Accept: application/json

    snapshot

    The payload of the snapshot.

    offset

    int32

    The first element (from the complete list of the elements) to include in the response (used together with <b><i>limit</i></b> for pagination).

    [default to 0]

    limit

    int32

    The maximum number of elements to return (use together with offset for pagination).

    [default to 1000]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    restoreSnapshot

    The payload used to restore a snapshot.

    Get /datacenters/{datacenterId}/volumes/{volumeId}

    Retrieve volumes

    DatacentersVolumesGet

    Get /datacenters/{datacenterId}/volumes

    List volumes

    DatacentersVolumesPatch

    Patch /datacenters/{datacenterId}/volumes/{volumeId}

    Partially modify volumes

    DatacentersVolumesPost

    Post /datacenters/{datacenterId}/volumes

    Create a Volume

    DatacentersVolumesPut

    Put /datacenters/{datacenterId}/volumes/{volumeId}

    Modify a Volume by ID

    DatacentersVolumesRestoreSnapshotPost

    Post /datacenters/{datacenterId}/volumes/{volumeId}/restore-snapshot

    Restore volume snapshots

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    volumeId

    string

    The unique ID of the volume.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    volumeId

    string

    The unique ID of the volume.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    volumeId

    string

    The unique ID of the volume.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    volumeId

    string

    The unique ID of the volume.

    volume

    VolumeProperties

    The properties of the volume to be updated.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    volume

    Volume

    The volume to create.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    volumeId

    string

    The unique ID of the volume.

    volume

    Volume

    The modified volume

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    volumeId

    string

    The unique ID of the volume.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    Snapshot
    Volume
    Volumes
    Volume
    Volume
    Volume
    DatacentersVolumesCreateSnapshotPost
    DatacentersVolumesDelete
    DatacentersVolumesFindById

    [default to 0]

    [default to 0]

    [default to 0]

    var result Snapshot = DatacentersVolumesCreateSnapshotPost(ctx, datacenterId, volumeId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Snapshot(snapshot)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        volumeId := "volumeId_example" // string | The unique ID of the volume.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
        snapshot := *openapiclient.NewCreateSnapshot() // CreateSnapshot | The payload of the snapshot. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.VolumesApi.DatacentersVolumesCreateSnapshotPost(context.Background(), datacenterId, volumeId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Snapshot(snapshot).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `VolumesApi.DatacentersVolumesCreateSnapshotPost``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersVolumesCreateSnapshotPost`: Snapshot
        fmt.Fprintf(os.Stdout, "Response from `VolumesApi.DatacentersVolumesCreateSnapshotPost`: %v\n", resp)
    }
    var result  = DatacentersVolumesDelete(ctx, datacenterId, volumeId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        volumeId := "volumeId_example" // string | The unique ID of the volume.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resp, err := apiClient.VolumesApi.DatacentersVolumesDelete(context.Background(), datacenterId, volumeId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `VolumesApi.DatacentersVolumesDelete``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
    }
    var result Volume = DatacentersVolumesFindById(ctx, datacenterId, volumeId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        volumeId := "volumeId_example" // string | The unique ID of the volume.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.VolumesApi.DatacentersVolumesFindById(context.Background(), datacenterId, volumeId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `VolumesApi.DatacentersVolumesFindById``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersVolumesFindById`: Volume
        fmt.Fprintf(os.Stdout, "Response from `VolumesApi.DatacentersVolumesFindById`: %v\n", resp)
    }
    var result Volumes = DatacentersVolumesGet(ctx, datacenterId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Offset(offset)
                          .Limit(limit)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
        offset := int32(56) // int32 | The first element (from the complete list of the elements) to include in the response (used together with <b><i>limit</i></b> for pagination). (optional) (default to 0)
        limit := int32(56) // int32 | The maximum number of elements to return (use together with offset for pagination). (optional) (default to 1000)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.VolumesApi.DatacentersVolumesGet(context.Background(), datacenterId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Offset(offset).Limit(limit).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `VolumesApi.DatacentersVolumesGet``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersVolumesGet`: Volumes
        fmt.Fprintf(os.Stdout, "Response from `VolumesApi.DatacentersVolumesGet`: %v\n", resp)
    }
    var result Volume = DatacentersVolumesPatch(ctx, datacenterId, volumeId)
                          .Volume(volume)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        volumeId := "volumeId_example" // string | The unique ID of the volume.
        volume := *openapiclient.NewVolumeProperties() // VolumeProperties | The properties of the volume to be updated.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.VolumesApi.DatacentersVolumesPatch(context.Background(), datacenterId, volumeId).Volume(volume).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `VolumesApi.DatacentersVolumesPatch``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersVolumesPatch`: Volume
        fmt.Fprintf(os.Stdout, "Response from `VolumesApi.DatacentersVolumesPatch`: %v\n", resp)
    }
    var result Volume = DatacentersVolumesPost(ctx, datacenterId)
                          .Volume(volume)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        volume := *openapiclient.NewVolume() // Volume | The volume to create.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.VolumesApi.DatacentersVolumesPost(context.Background(), datacenterId).Volume(volume).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `VolumesApi.DatacentersVolumesPost``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersVolumesPost`: Volume
        fmt.Fprintf(os.Stdout, "Response from `VolumesApi.DatacentersVolumesPost`: %v\n", resp)
    }
    var result Volume = DatacentersVolumesPut(ctx, datacenterId, volumeId)
                          .Volume(volume)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        volumeId := "volumeId_example" // string | The unique ID of the volume.
        volume := *openapiclient.NewVolume() // Volume | The modified volume
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.VolumesApi.DatacentersVolumesPut(context.Background(), datacenterId, volumeId).Volume(volume).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `VolumesApi.DatacentersVolumesPut``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersVolumesPut`: Volume
        fmt.Fprintf(os.Stdout, "Response from `VolumesApi.DatacentersVolumesPut`: %v\n", resp)
    }
    var result  = DatacentersVolumesRestoreSnapshotPost(ctx, datacenterId, volumeId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .RestoreSnapshot(restoreSnapshot)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        volumeId := "volumeId_example" // string | The unique ID of the volume.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
        restoreSnapshot := *openapiclient.NewRestoreSnapshot() // RestoreSnapshot | The payload used to restore a snapshot. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.VolumesApi.DatacentersVolumesRestoreSnapshotPost(context.Background(), datacenterId, volumeId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).RestoreSnapshot(restoreSnapshot).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `VolumesApi.DatacentersVolumesRestoreSnapshotPost``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
    }
    CreateSnapshot
    RestoreSnapshot

    LANsApi

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

    Method
    HTTP request
    Description

    Delete /datacenters/{datacenterId}/lans/{lanId}

    Delete LANs

    Get /datacenters/{datacenterId}/lans/{lanId}

    Retrieve LANs

    hashtag
    DatacentersLansDelete

    Delete LANs

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersLansDeleteRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    (empty response body)

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    DatacentersLansFindById

    Retrieve LANs

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersLansFindByIdRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    DatacentersLansGet

    List LANs

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersLansGetRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    DatacentersLansNicsFindById

    Retrieve attached NICs

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersLansNicsFindByIdRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    DatacentersLansNicsGet

    List LAN members

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersLansNicsGetRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    DatacentersLansNicsPost

    Attach NICs

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersLansNicsPostRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: application/json

    • Accept: application/json

    hashtag
    DatacentersLansPatch

    Partially modify LANs

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersLansPatchRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: application/json

    • Accept: application/json

    hashtag
    DatacentersLansPost

    Create LANs

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersLansPostRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: application/json

    • Accept: application/json

    hashtag
    DatacentersLansPut

    Modify LANs

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersLansPutRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: application/json

    • Accept: application/json

    offset

    int32

    The first element (from the complete list of the elements) to include in the response (used together with <b><i>limit</i></b> for pagination).

    [default to 0]

    limit

    int32

    The maximum number of elements to return (use together with offset for pagination).

    [default to 1000]

    nicId

    string

    The unique ID of the NIC.

    offset

    int32

    The first element (from the complete list of the elements) to include in the response (used together with <b><i>limit</i></b> for pagination).

    [default to 0]

    limit

    int32

    The maximum number of elements to return (use together with offset for pagination).

    [default to 1000]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    Get /datacenters/{datacenterId}/lans

    List LANs

    DatacentersLansNicsFindById

    Get /datacenters/{datacenterId}/lans/{lanId}/nics/{nicId}

    Retrieve attached NICs

    DatacentersLansNicsGet

    Get /datacenters/{datacenterId}/lans/{lanId}/nics

    List LAN members

    DatacentersLansNicsPost

    Post /datacenters/{datacenterId}/lans/{lanId}/nics

    Attach NICs

    DatacentersLansPatch

    Patch /datacenters/{datacenterId}/lans/{lanId}

    Partially modify LANs

    DatacentersLansPost

    Post /datacenters/{datacenterId}/lans

    Create LANs

    DatacentersLansPut

    Put /datacenters/{datacenterId}/lans/{lanId}

    Modify LANs

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    lanId

    string

    The unique ID of the LAN.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    lanId

    string

    The unique ID of the LAN.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    lanId

    string

    The unique ID of the LAN.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    lanId

    string

    The unique ID of the LAN.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    lanId

    string

    The unique ID of the LAN.

    nic

    Nic

    The NIC to be attached.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    lanId

    string

    The unique ID of the LAN.

    lan

    LanProperties

    The properties of the LAN to be updated.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    lan

    Lan

    The LAN to create.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    lanId

    string

    The unique ID of the LAN.

    lan

    Lan

    The modified LAN

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    Lan
    Lans
    Nic
    LanNics
    Nic
    Lan
    Lan
    Lan
    DatacentersLansDelete
    DatacentersLansFindById
    DatacentersLansGet

    [default to 0]

    [default to 0]

    [default to 0]

    [default to 0]

    var result  = DatacentersLansDelete(ctx, datacenterId, lanId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        lanId := "lanId_example" // string | The unique ID of the LAN.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resp, err := apiClient.LANsApi.DatacentersLansDelete(context.Background(), datacenterId, lanId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `LANsApi.DatacentersLansDelete``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
    }
    var result Lan = DatacentersLansFindById(ctx, datacenterId, lanId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        lanId := "lanId_example" // string | The unique ID of the LAN.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.LANsApi.DatacentersLansFindById(context.Background(), datacenterId, lanId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `LANsApi.DatacentersLansFindById``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersLansFindById`: Lan
        fmt.Fprintf(os.Stdout, "Response from `LANsApi.DatacentersLansFindById`: %v\n", resp)
    }
    var result Lans = DatacentersLansGet(ctx, datacenterId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Offset(offset)
                          .Limit(limit)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
        offset := int32(56) // int32 | The first element (from the complete list of the elements) to include in the response (used together with <b><i>limit</i></b> for pagination). (optional) (default to 0)
        limit := int32(56) // int32 | The maximum number of elements to return (use together with offset for pagination). (optional) (default to 1000)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.LANsApi.DatacentersLansGet(context.Background(), datacenterId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Offset(offset).Limit(limit).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `LANsApi.DatacentersLansGet``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersLansGet`: Lans
        fmt.Fprintf(os.Stdout, "Response from `LANsApi.DatacentersLansGet`: %v\n", resp)
    }
    var result Nic = DatacentersLansNicsFindById(ctx, datacenterId, lanId, nicId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        lanId := "lanId_example" // string | The unique ID of the LAN.
        nicId := "nicId_example" // string | The unique ID of the NIC.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.LANsApi.DatacentersLansNicsFindById(context.Background(), datacenterId, lanId, nicId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `LANsApi.DatacentersLansNicsFindById``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersLansNicsFindById`: Nic
        fmt.Fprintf(os.Stdout, "Response from `LANsApi.DatacentersLansNicsFindById`: %v\n", resp)
    }
    var result LanNics = DatacentersLansNicsGet(ctx, datacenterId, lanId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Offset(offset)
                          .Limit(limit)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        lanId := "lanId_example" // string | The unique ID of the LAN.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
        offset := int32(56) // int32 | The first element (from the complete list of the elements) to include in the response (used together with <b><i>limit</i></b> for pagination). (optional) (default to 0)
        limit := int32(56) // int32 | The maximum number of elements to return (use together with offset for pagination). (optional) (default to 1000)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.LANsApi.DatacentersLansNicsGet(context.Background(), datacenterId, lanId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Offset(offset).Limit(limit).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `LANsApi.DatacentersLansNicsGet``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersLansNicsGet`: LanNics
        fmt.Fprintf(os.Stdout, "Response from `LANsApi.DatacentersLansNicsGet`: %v\n", resp)
    }
    var result Nic = DatacentersLansNicsPost(ctx, datacenterId, lanId)
                          .Nic(nic)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        lanId := "lanId_example" // string | The unique ID of the LAN.
        nic := *openapiclient.NewNic(*openapiclient.NewNicProperties(int32(2))) // Nic | The NIC to be attached.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.LANsApi.DatacentersLansNicsPost(context.Background(), datacenterId, lanId).Nic(nic).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `LANsApi.DatacentersLansNicsPost``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersLansNicsPost`: Nic
        fmt.Fprintf(os.Stdout, "Response from `LANsApi.DatacentersLansNicsPost`: %v\n", resp)
    }
    var result Lan = DatacentersLansPatch(ctx, datacenterId, lanId)
                          .Lan(lan)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        lanId := "lanId_example" // string | The unique ID of the LAN.
        lan := *openapiclient.NewLanProperties() // LanProperties | The properties of the LAN to be updated.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.LANsApi.DatacentersLansPatch(context.Background(), datacenterId, lanId).Lan(lan).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `LANsApi.DatacentersLansPatch``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersLansPatch`: Lan
        fmt.Fprintf(os.Stdout, "Response from `LANsApi.DatacentersLansPatch`: %v\n", resp)
    }
    var result Lan = DatacentersLansPost(ctx, datacenterId)
                          .Lan(lan)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        lan := *openapiclient.NewLan(*openapiclient.NewLanProperties()) // Lan | The LAN to create.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.LANsApi.DatacentersLansPost(context.Background(), datacenterId).Lan(lan).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `LANsApi.DatacentersLansPost``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersLansPost`: Lan
        fmt.Fprintf(os.Stdout, "Response from `LANsApi.DatacentersLansPost`: %v\n", resp)
    }
    var result Lan = DatacentersLansPut(ctx, datacenterId, lanId)
                          .Lan(lan)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        lanId := "lanId_example" // string | The unique ID of the LAN.
        lan := *openapiclient.NewLan(*openapiclient.NewLanProperties()) // Lan | The modified LAN
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.LANsApi.DatacentersLansPut(context.Background(), datacenterId, lanId).Lan(lan).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `LANsApi.DatacentersLansPut``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersLansPut`: Lan
        fmt.Fprintf(os.Stdout, "Response from `LANsApi.DatacentersLansPut`: %v\n", resp)
    }

    LoadBalancersApi

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

    Method
    HTTP request
    Description

    Delete /datacenters/{datacenterId}/loadbalancers/{loadbalancerId}/balancednics/{nicId}

    Detach balanced NICs

    Get /datacenters/{datacenterId}/loadbalancers/{loadbalancerId}/balancednics/{nicId}

    Retrieve balanced NICs

    hashtag
    DatacentersLoadbalancersBalancednicsDelete

    Detach balanced NICs

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersLoadbalancersBalancednicsDeleteRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    (empty response body)

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    DatacentersLoadbalancersBalancednicsFindByNicId

    Retrieve balanced NICs

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersLoadbalancersBalancednicsFindByNicIdRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    DatacentersLoadbalancersBalancednicsGet

    List balanced NICs

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersLoadbalancersBalancednicsGetRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    DatacentersLoadbalancersBalancednicsPost

    Attach balanced NICs

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersLoadbalancersBalancednicsPostRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: application/json

    • Accept: application/json

    hashtag
    DatacentersLoadbalancersDelete

    Delete Load Balancers

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersLoadbalancersDeleteRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    (empty response body)

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    DatacentersLoadbalancersFindById

    Retrieve Load Balancers

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersLoadbalancersFindByIdRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    DatacentersLoadbalancersGet

    List Load Balancers

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersLoadbalancersGetRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    DatacentersLoadbalancersPatch

    Partially modify Load Balancers

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersLoadbalancersPatchRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: application/json

    • Accept: application/json

    hashtag
    DatacentersLoadbalancersPost

    Create a Load Balancer

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersLoadbalancersPostRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: application/json

    • Accept: application/json

    hashtag
    DatacentersLoadbalancersPut

    Modify a Load Balancer by ID

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersLoadbalancersPutRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: application/json

    • Accept: application/json

    nicId

    string

    The unique ID of the NIC.

    nicId

    string

    The unique ID of the NIC.

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    offset

    int32

    The first element (from the complete list of the elements) to include in the response (used together with <b><i>limit</i></b> for pagination).

    [default to 0]

    limit

    int32

    The maximum number of elements to return (use together with offset for pagination).

    [default to 1000]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    Get /datacenters/{datacenterId}/loadbalancers/{loadbalancerId}/balancednics

    List balanced NICs

    DatacentersLoadbalancersBalancednicsPost

    Post /datacenters/{datacenterId}/loadbalancers/{loadbalancerId}/balancednics

    Attach balanced NICs

    DatacentersLoadbalancersDelete

    Delete /datacenters/{datacenterId}/loadbalancers/{loadbalancerId}

    Delete Load Balancers

    DatacentersLoadbalancersFindById

    Get /datacenters/{datacenterId}/loadbalancers/{loadbalancerId}

    Retrieve Load Balancers

    DatacentersLoadbalancersGet

    Get /datacenters/{datacenterId}/loadbalancers

    List Load Balancers

    DatacentersLoadbalancersPatch

    Patch /datacenters/{datacenterId}/loadbalancers/{loadbalancerId}

    Partially modify Load Balancers

    DatacentersLoadbalancersPost

    Post /datacenters/{datacenterId}/loadbalancers

    Create a Load Balancer

    DatacentersLoadbalancersPut

    Put /datacenters/{datacenterId}/loadbalancers/{loadbalancerId}

    Modify a Load Balancer by ID

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    loadbalancerId

    string

    The unique ID of the Load Balancer.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    loadbalancerId

    string

    The unique ID of the Load Balancer.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    loadbalancerId

    string

    The unique ID of the Load Balancer.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    loadbalancerId

    string

    The unique ID of the Load Balancer.

    nic

    Nic

    The NIC to be attached.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    loadbalancerId

    string

    The unique ID of the Load Balancer.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    loadbalancerId

    string

    The unique ID of the Load Balancer.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    loadbalancerId

    string

    The unique ID of the Load Balancer.

    loadbalancer

    LoadbalancerProperties

    The properties of the Load Balancer to be updated.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    loadbalancer

    Loadbalancer

    The Load Balancer to create.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    loadbalancerId

    string

    The unique ID of the Load Balancer.

    loadbalancer

    Loadbalancer

    The modified Load Balancer.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    Nic
    BalancedNics
    Nic
    Loadbalancer
    Loadbalancers
    Loadbalancer
    Loadbalancer
    Loadbalancer
    DatacentersLoadbalancersBalancednicsDelete
    DatacentersLoadbalancersBalancednicsFindByNicId
    DatacentersLoadbalancersBalancednicsGet

    [default to 0]

    [default to 0]

    [default to 0]

    [default to 0]

    var result  = DatacentersLoadbalancersBalancednicsDelete(ctx, datacenterId, loadbalancerId, nicId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        loadbalancerId := "loadbalancerId_example" // string | The unique ID of the Load Balancer.
        nicId := "nicId_example" // string | The unique ID of the NIC.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resp, err := apiClient.LoadBalancersApi.DatacentersLoadbalancersBalancednicsDelete(context.Background(), datacenterId, loadbalancerId, nicId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `LoadBalancersApi.DatacentersLoadbalancersBalancednicsDelete``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
    }
    var result Nic = DatacentersLoadbalancersBalancednicsFindByNicId(ctx, datacenterId, loadbalancerId, nicId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        loadbalancerId := "loadbalancerId_example" // string | The unique ID of the Load Balancer.
        nicId := "nicId_example" // string | The unique ID of the NIC.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.LoadBalancersApi.DatacentersLoadbalancersBalancednicsFindByNicId(context.Background(), datacenterId, loadbalancerId, nicId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `LoadBalancersApi.DatacentersLoadbalancersBalancednicsFindByNicId``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersLoadbalancersBalancednicsFindByNicId`: Nic
        fmt.Fprintf(os.Stdout, "Response from `LoadBalancersApi.DatacentersLoadbalancersBalancednicsFindByNicId`: %v\n", resp)
    }
    var result BalancedNics = DatacentersLoadbalancersBalancednicsGet(ctx, datacenterId, loadbalancerId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        loadbalancerId := "loadbalancerId_example" // string | The unique ID of the Load Balancer.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.LoadBalancersApi.DatacentersLoadbalancersBalancednicsGet(context.Background(), datacenterId, loadbalancerId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `LoadBalancersApi.DatacentersLoadbalancersBalancednicsGet``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersLoadbalancersBalancednicsGet`: BalancedNics
        fmt.Fprintf(os.Stdout, "Response from `LoadBalancersApi.DatacentersLoadbalancersBalancednicsGet`: %v\n", resp)
    }
    var result Nic = DatacentersLoadbalancersBalancednicsPost(ctx, datacenterId, loadbalancerId)
                          .Nic(nic)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        loadbalancerId := "loadbalancerId_example" // string | The unique ID of the Load Balancer.
        nic := *openapiclient.NewNic(*openapiclient.NewNicProperties(int32(2))) // Nic | The NIC to be attached.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.LoadBalancersApi.DatacentersLoadbalancersBalancednicsPost(context.Background(), datacenterId, loadbalancerId).Nic(nic).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `LoadBalancersApi.DatacentersLoadbalancersBalancednicsPost``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersLoadbalancersBalancednicsPost`: Nic
        fmt.Fprintf(os.Stdout, "Response from `LoadBalancersApi.DatacentersLoadbalancersBalancednicsPost`: %v\n", resp)
    }
    var result  = DatacentersLoadbalancersDelete(ctx, datacenterId, loadbalancerId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        loadbalancerId := "loadbalancerId_example" // string | The unique ID of the Load Balancer.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resp, err := apiClient.LoadBalancersApi.DatacentersLoadbalancersDelete(context.Background(), datacenterId, loadbalancerId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `LoadBalancersApi.DatacentersLoadbalancersDelete``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
    }
    var result Loadbalancer = DatacentersLoadbalancersFindById(ctx, datacenterId, loadbalancerId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        loadbalancerId := "loadbalancerId_example" // string | The unique ID of the Load Balancer.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.LoadBalancersApi.DatacentersLoadbalancersFindById(context.Background(), datacenterId, loadbalancerId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `LoadBalancersApi.DatacentersLoadbalancersFindById``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersLoadbalancersFindById`: Loadbalancer
        fmt.Fprintf(os.Stdout, "Response from `LoadBalancersApi.DatacentersLoadbalancersFindById`: %v\n", resp)
    }
    var result Loadbalancers = DatacentersLoadbalancersGet(ctx, datacenterId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Offset(offset)
                          .Limit(limit)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
        offset := int32(56) // int32 | The first element (from the complete list of the elements) to include in the response (used together with <b><i>limit</i></b> for pagination). (optional) (default to 0)
        limit := int32(56) // int32 | The maximum number of elements to return (use together with offset for pagination). (optional) (default to 1000)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.LoadBalancersApi.DatacentersLoadbalancersGet(context.Background(), datacenterId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Offset(offset).Limit(limit).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `LoadBalancersApi.DatacentersLoadbalancersGet``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersLoadbalancersGet`: Loadbalancers
        fmt.Fprintf(os.Stdout, "Response from `LoadBalancersApi.DatacentersLoadbalancersGet`: %v\n", resp)
    }
    var result Loadbalancer = DatacentersLoadbalancersPatch(ctx, datacenterId, loadbalancerId)
                          .Loadbalancer(loadbalancer)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        loadbalancerId := "loadbalancerId_example" // string | The unique ID of the Load Balancer.
        loadbalancer := *openapiclient.NewLoadbalancerProperties() // LoadbalancerProperties | The properties of the Load Balancer to be updated.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.LoadBalancersApi.DatacentersLoadbalancersPatch(context.Background(), datacenterId, loadbalancerId).Loadbalancer(loadbalancer).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `LoadBalancersApi.DatacentersLoadbalancersPatch``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersLoadbalancersPatch`: Loadbalancer
        fmt.Fprintf(os.Stdout, "Response from `LoadBalancersApi.DatacentersLoadbalancersPatch`: %v\n", resp)
    }
    var result Loadbalancer = DatacentersLoadbalancersPost(ctx, datacenterId)
                          .Loadbalancer(loadbalancer)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        loadbalancer := *openapiclient.NewLoadbalancer(*openapiclient.NewLoadbalancerProperties()) // Loadbalancer | The Load Balancer to create.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.LoadBalancersApi.DatacentersLoadbalancersPost(context.Background(), datacenterId).Loadbalancer(loadbalancer).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `LoadBalancersApi.DatacentersLoadbalancersPost``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersLoadbalancersPost`: Loadbalancer
        fmt.Fprintf(os.Stdout, "Response from `LoadBalancersApi.DatacentersLoadbalancersPost`: %v\n", resp)
    }
    var result Loadbalancer = DatacentersLoadbalancersPut(ctx, datacenterId, loadbalancerId)
                          .Loadbalancer(loadbalancer)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        loadbalancerId := "loadbalancerId_example" // string | The unique ID of the Load Balancer.
        loadbalancer := *openapiclient.NewLoadbalancer(*openapiclient.NewLoadbalancerProperties()) // Loadbalancer | The modified Load Balancer.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.LoadBalancersApi.DatacentersLoadbalancersPut(context.Background(), datacenterId, loadbalancerId).Loadbalancer(loadbalancer).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `LoadBalancersApi.DatacentersLoadbalancersPut``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersLoadbalancersPut`: Loadbalancer
        fmt.Fprintf(os.Stdout, "Response from `LoadBalancersApi.DatacentersLoadbalancersPut`: %v\n", resp)
    }

    SecurityGroupsApi

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

    Method
    HTTP request
    Description

    Delete /datacenters/{datacenterId}/securitygroups/{securityGroupId}

    Delete a Security Group

    Get /datacenters/{datacenterId}/securitygroups/{securityGroupId}

    Retrieve a Security Group

    hashtag
    DatacentersSecuritygroupsDelete

    Delete a Security Group

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersSecuritygroupsDeleteRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    (empty response body)

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    DatacentersSecuritygroupsFindById

    Retrieve a Security Group

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersSecuritygroupsFindByIdRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    DatacentersSecuritygroupsFirewallrulesDelete

    Remove a Firewall Rule from a Security Group

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersSecuritygroupsFirewallrulesDeleteRequest struct via the builder pattern

    hashtag
    Return type

    (empty response body)

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    DatacentersSecuritygroupsFirewallrulesPost

    Create Firewall rule to a Security Group

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersSecuritygroupsFirewallrulesPostRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: application/json

    • Accept: application/json

    hashtag
    DatacentersSecuritygroupsGet

    List Security Groups

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersSecuritygroupsGetRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    DatacentersSecuritygroupsPatch

    Partially modify Security Group

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersSecuritygroupsPatchRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: application/json

    • Accept: application/json

    hashtag
    DatacentersSecuritygroupsPost

    Create a Security Group

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersSecuritygroupsPostRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: application/json

    • Accept: application/json

    hashtag
    DatacentersSecuritygroupsPut

    Modify Security Group

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersSecuritygroupsPutRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: application/json

    • Accept: application/json

    hashtag
    DatacentersSecuritygroupsRulesFindById

    Retrieve security group rule by id

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersSecuritygroupsRulesFindByIdRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    DatacentersSecuritygroupsRulesGet

    List Security Group rules

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersSecuritygroupsRulesGetRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    DatacentersSecuritygroupsRulesPatch

    Partially modify Security Group Rules

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersSecuritygroupsRulesPatchRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: application/json

    • Accept: application/json

    hashtag
    DatacentersSecuritygroupsRulesPut

    Modify a Security Group Rule

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersSecuritygroupsRulesPutRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: application/json

    • Accept: application/json

    hashtag
    DatacentersServersNicsSecuritygroupsPut

    Attach a list of Security Groups to a NIC

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersServersNicsSecuritygroupsPutRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: application/json

    • Accept: application/json

    hashtag
    DatacentersServersSecuritygroupsPut

    Attach a list of Security Groups to a Server

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersServersSecuritygroupsPutRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: application/json

    • Accept: application/json

    ruleId

    string

    The unique ID of the firewall rule.

    limit

    int32

    The maximum number of elements to return (use together with offset for pagination).

    [default to 1000]

    ruleId

    string

    The unique ID of the Security Group rule.

    limit

    int32

    The maximum number of elements to return (use together with offset for pagination).

    [default to 1000]

    ruleId

    string

    The unique ID of the Security Group Rule.

    ruleId

    string

    The unique ID of the Security Group Rule.

    nicId

    string

    The unique ID of the server.

    Delete /datacenters/{datacenterId}/securitygroups/{securityGroupId}/rules/{ruleId}

    Remove a Firewall Rule from a Security Group

    DatacentersSecuritygroupsFirewallrulesPost

    Post /datacenters/{datacenterId}/securitygroups/{securityGroupId}/rules

    Create Firewall rule to a Security Group

    DatacentersSecuritygroupsGet

    Get /datacenters/{datacenterId}/securitygroups

    List Security Groups

    DatacentersSecuritygroupsPatch

    Patch /datacenters/{datacenterId}/securitygroups/{securityGroupId}

    Partially modify Security Group

    DatacentersSecuritygroupsPost

    Post /datacenters/{datacenterId}/securitygroups

    Create a Security Group

    DatacentersSecuritygroupsPut

    Put /datacenters/{datacenterId}/securitygroups/{securityGroupId}

    Modify Security Group

    DatacentersSecuritygroupsRulesFindById

    Get /datacenters/{datacenterId}/securitygroups/{securityGroupId}/rules/{ruleId}

    Retrieve security group rule by id

    DatacentersSecuritygroupsRulesGet

    Get /datacenters/{datacenterId}/securitygroups/{securityGroupId}/rules

    List Security Group rules

    DatacentersSecuritygroupsRulesPatch

    Patch /datacenters/{datacenterId}/securitygroups/{securityGroupId}/rules/{ruleId}

    Partially modify Security Group Rules

    DatacentersSecuritygroupsRulesPut

    Put /datacenters/{datacenterId}/securitygroups/{securityGroupId}/rules/{ruleId}

    Modify a Security Group Rule

    DatacentersServersNicsSecuritygroupsPut

    Put /datacenters/{datacenterId}/servers/{serverId}/nics/{nicId}/securitygroups

    Attach a list of Security Groups to a NIC

    DatacentersServersSecuritygroupsPut

    Put /datacenters/{datacenterId}/servers/{serverId}/securitygroups

    Attach a list of Security Groups to a Server

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    securityGroupId

    string

    The unique ID of the Security Group.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center

    securityGroupId

    string

    The unique ID of the security group.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center

    securityGroupId

    string

    The unique ID of the security group.

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center

    securityGroupId

    string

    The unique ID of the security group.

    firewallRule

    FirewallRule

    The firewall to be attached (or created and attached).

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    offset

    int32

    The first element (from the complete list of the elements) to include in the response (used together with <b><i>limit</i></b> for pagination).

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    securityGroupId

    string

    The unique ID of the Security Group.

    securityGroup

    SecurityGroupProperties

    The modified Security Group

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    securityGroup

    SecurityGroupRequest

    The security group to be created

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    securityGroupId

    string

    The unique ID of the Security Group.

    securityGroup

    SecurityGroupRequest

    The modified Security Group

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    securityGroupId

    string

    The unique ID of the Security Group.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    securityGroupId

    string

    The unique ID of the security group.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    offset

    int32

    The first element (from the complete list of the elements) to include in the response (used together with <b><i>limit</i></b> for pagination).

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    securityGroupId

    string

    The unique ID of the security group.

    rule

    FirewallruleProperties

    The properties of the Security Group Rule to be updated.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    securityGroupId

    string

    The unique ID of the security group.

    rule

    FirewallRule

    The modified Security Group Rule.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    serverId

    string

    The unique ID of the server.

    securitygroups

    ListOfIds

    The list of NIC attached Security Groups IDs.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    serverId

    string

    The unique ID of the server.

    securitygroups

    ListOfIds

    The list of server attached Security Groups IDs.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    SecurityGroup
    FirewallRule
    SecurityGroups
    SecurityGroup
    SecurityGroup
    SecurityGroup
    FirewallRule
    FirewallRules
    FirewallRule
    FirewallRule
    SecurityGroups
    SecurityGroups
    DatacentersSecuritygroupsDelete
    DatacentersSecuritygroupsFindById
    DatacentersSecuritygroupsFirewallrulesDelete

    [default to 0]

    [default to 0]

    [default to 0]

    [default to 0]

    [default to 0]

    [default to 0]

    [default to 0]

    [default to 0]

    [default to 0]

    var result  = DatacentersSecuritygroupsDelete(ctx, datacenterId, securityGroupId)
                          .Pretty(pretty)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        securityGroupId := "securityGroupId_example" // string | The unique ID of the Security Group.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resp, err := apiClient.SecurityGroupsApi.DatacentersSecuritygroupsDelete(context.Background(), datacenterId, securityGroupId).Pretty(pretty).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `SecurityGroupsApi.DatacentersSecuritygroupsDelete``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
    }
    var result SecurityGroup = DatacentersSecuritygroupsFindById(ctx, datacenterId, securityGroupId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center
        securityGroupId := "securityGroupId_example" // string | The unique ID of the security group.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects. GET /datacenters/[ID]   - depth=0: Only direct properties are included;              children (servers and other elements) are not included.   - depth=1: Direct properties and children references are included.   - depth=2: Direct properties and children properties are included.   - depth=3: Direct properties and children properties and children's children are included.   - depth=... and so on (optional) (default to 0)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.SecurityGroupsApi.DatacentersSecuritygroupsFindById(context.Background(), datacenterId, securityGroupId).Pretty(pretty).Depth(depth).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `SecurityGroupsApi.DatacentersSecuritygroupsFindById``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersSecuritygroupsFindById`: SecurityGroup
        fmt.Fprintf(os.Stdout, "Response from `SecurityGroupsApi.DatacentersSecuritygroupsFindById`: %v\n", resp)
    }
    var result  = DatacentersSecuritygroupsFirewallrulesDelete(ctx, datacenterId, securityGroupId, ruleId)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center
        securityGroupId := "securityGroupId_example" // string | The unique ID of the security group.
        ruleId := "ruleId_example" // string | The unique ID of the firewall rule.
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resp, err := apiClient.SecurityGroupsApi.DatacentersSecuritygroupsFirewallrulesDelete(context.Background(), datacenterId, securityGroupId, ruleId).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `SecurityGroupsApi.DatacentersSecuritygroupsFirewallrulesDelete``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
    }
    var result FirewallRule = DatacentersSecuritygroupsFirewallrulesPost(ctx, datacenterId, securityGroupId)
                          .FirewallRule(firewallRule)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center
        securityGroupId := "securityGroupId_example" // string | The unique ID of the security group.
        firewallRule := *openapiclient.NewFirewallRule(*openapiclient.NewFirewallruleProperties()) // FirewallRule | The firewall to be attached (or created and attached).
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.SecurityGroupsApi.DatacentersSecuritygroupsFirewallrulesPost(context.Background(), datacenterId, securityGroupId).FirewallRule(firewallRule).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `SecurityGroupsApi.DatacentersSecuritygroupsFirewallrulesPost``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersSecuritygroupsFirewallrulesPost`: FirewallRule
        fmt.Fprintf(os.Stdout, "Response from `SecurityGroupsApi.DatacentersSecuritygroupsFirewallrulesPost`: %v\n", resp)
    }
    var result SecurityGroups = DatacentersSecuritygroupsGet(ctx, datacenterId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .Offset(offset)
                          .Limit(limit)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects. GET /datacenters/[ID]   - depth=0: Only direct properties are included;              children (servers and other elements) are not included.   - depth=1: Direct properties and children references are included.   - depth=2: Direct properties and children properties are included.   - depth=3: Direct properties and children properties and children's children are included.   - depth=... and so on (optional) (default to 0)
        offset := int32(56) // int32 | The first element (from the complete list of the elements) to include in the response (used together with <b><i>limit</i></b> for pagination). (optional) (default to 0)
        limit := int32(56) // int32 | The maximum number of elements to return (use together with offset for pagination). (optional) (default to 1000)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.SecurityGroupsApi.DatacentersSecuritygroupsGet(context.Background(), datacenterId).Pretty(pretty).Depth(depth).Offset(offset).Limit(limit).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `SecurityGroupsApi.DatacentersSecuritygroupsGet``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersSecuritygroupsGet`: SecurityGroups
        fmt.Fprintf(os.Stdout, "Response from `SecurityGroupsApi.DatacentersSecuritygroupsGet`: %v\n", resp)
    }
    var result SecurityGroup = DatacentersSecuritygroupsPatch(ctx, datacenterId, securityGroupId)
                          .SecurityGroup(securityGroup)
                          .Pretty(pretty)
                          .Depth(depth)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        securityGroupId := "securityGroupId_example" // string | The unique ID of the Security Group.
        securityGroup := *openapiclient.NewSecurityGroupProperties("My security group") // SecurityGroupProperties | The modified Security Group
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects. GET /datacenters/[ID]   - depth=0: Only direct properties are included;              children (servers and other elements) are not included.   - depth=1: Direct properties and children references are included.   - depth=2: Direct properties and children properties are included.   - depth=3: Direct properties and children properties and children's children are included.   - depth=... and so on (optional) (default to 0)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.SecurityGroupsApi.DatacentersSecuritygroupsPatch(context.Background(), datacenterId, securityGroupId).SecurityGroup(securityGroup).Pretty(pretty).Depth(depth).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `SecurityGroupsApi.DatacentersSecuritygroupsPatch``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersSecuritygroupsPatch`: SecurityGroup
        fmt.Fprintf(os.Stdout, "Response from `SecurityGroupsApi.DatacentersSecuritygroupsPatch`: %v\n", resp)
    }
    var result SecurityGroup = DatacentersSecuritygroupsPost(ctx, datacenterId)
                          .SecurityGroup(securityGroup)
                          .Pretty(pretty)
                          .Depth(depth)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        securityGroup := *openapiclient.NewSecurityGroupRequest(*openapiclient.NewSecurityGroupProperties("My security group")) // SecurityGroupRequest | The security group to be created
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects. GET /datacenters/[ID]   - depth=0: Only direct properties are included;              children (servers and other elements) are not included.   - depth=1: Direct properties and children references are included.   - depth=2: Direct properties and children properties are included.   - depth=3: Direct properties and children properties and children's children are included.   - depth=... and so on (optional) (default to 0)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.SecurityGroupsApi.DatacentersSecuritygroupsPost(context.Background(), datacenterId).SecurityGroup(securityGroup).Pretty(pretty).Depth(depth).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `SecurityGroupsApi.DatacentersSecuritygroupsPost``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersSecuritygroupsPost`: SecurityGroup
        fmt.Fprintf(os.Stdout, "Response from `SecurityGroupsApi.DatacentersSecuritygroupsPost`: %v\n", resp)
    }
    var result SecurityGroup = DatacentersSecuritygroupsPut(ctx, datacenterId, securityGroupId)
                          .SecurityGroup(securityGroup)
                          .Pretty(pretty)
                          .Depth(depth)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        securityGroupId := "securityGroupId_example" // string | The unique ID of the Security Group.
        securityGroup := *openapiclient.NewSecurityGroupRequest(*openapiclient.NewSecurityGroupProperties("My security group")) // SecurityGroupRequest | The modified Security Group
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects. GET /datacenters/[ID]   - depth=0: Only direct properties are included;              children (servers and other elements) are not included.   - depth=1: Direct properties and children references are included.   - depth=2: Direct properties and children properties are included.   - depth=3: Direct properties and children properties and children's children are included.   - depth=... and so on (optional) (default to 0)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.SecurityGroupsApi.DatacentersSecuritygroupsPut(context.Background(), datacenterId, securityGroupId).SecurityGroup(securityGroup).Pretty(pretty).Depth(depth).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `SecurityGroupsApi.DatacentersSecuritygroupsPut``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersSecuritygroupsPut`: SecurityGroup
        fmt.Fprintf(os.Stdout, "Response from `SecurityGroupsApi.DatacentersSecuritygroupsPut`: %v\n", resp)
    }
    var result FirewallRule = DatacentersSecuritygroupsRulesFindById(ctx, datacenterId, securityGroupId, ruleId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        securityGroupId := "securityGroupId_example" // string | The unique ID of the Security Group.
        ruleId := "ruleId_example" // string | The unique ID of the Security Group rule.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects. GET /datacenters/[ID]   - depth=0: Only direct properties are included;              children (servers and other elements) are not included.   - depth=1: Direct properties and children references are included.   - depth=2: Direct properties and children properties are included.   - depth=3: Direct properties and children properties and children's children are included.   - depth=... and so on (optional) (default to 0)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.SecurityGroupsApi.DatacentersSecuritygroupsRulesFindById(context.Background(), datacenterId, securityGroupId, ruleId).Pretty(pretty).Depth(depth).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `SecurityGroupsApi.DatacentersSecuritygroupsRulesFindById``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersSecuritygroupsRulesFindById`: FirewallRule
        fmt.Fprintf(os.Stdout, "Response from `SecurityGroupsApi.DatacentersSecuritygroupsRulesFindById`: %v\n", resp)
    }
    var result FirewallRules = DatacentersSecuritygroupsRulesGet(ctx, datacenterId, securityGroupId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .Offset(offset)
                          .Limit(limit)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        securityGroupId := "securityGroupId_example" // string | The unique ID of the security group.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects. GET /datacenters/[ID]   - depth=0: Only direct properties are included;              children (servers and other elements) are not included.   - depth=1: Direct properties and children references are included.   - depth=2: Direct properties and children properties are included.   - depth=3: Direct properties and children properties and children's children are included.   - depth=... and so on (optional) (default to 0)
        offset := int32(56) // int32 | The first element (from the complete list of the elements) to include in the response (used together with <b><i>limit</i></b> for pagination). (optional) (default to 0)
        limit := int32(56) // int32 | The maximum number of elements to return (use together with offset for pagination). (optional) (default to 1000)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.SecurityGroupsApi.DatacentersSecuritygroupsRulesGet(context.Background(), datacenterId, securityGroupId).Pretty(pretty).Depth(depth).Offset(offset).Limit(limit).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `SecurityGroupsApi.DatacentersSecuritygroupsRulesGet``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersSecuritygroupsRulesGet`: FirewallRules
        fmt.Fprintf(os.Stdout, "Response from `SecurityGroupsApi.DatacentersSecuritygroupsRulesGet`: %v\n", resp)
    }
    var result FirewallRule = DatacentersSecuritygroupsRulesPatch(ctx, datacenterId, securityGroupId, ruleId)
                          .Rule(rule)
                          .Pretty(pretty)
                          .Depth(depth)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        securityGroupId := "securityGroupId_example" // string | The unique ID of the security group.
        ruleId := "ruleId_example" // string | The unique ID of the Security Group Rule.
        rule := *openapiclient.NewFirewallruleProperties() // FirewallruleProperties | The properties of the Security Group Rule to be updated.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects. GET /datacenters/[ID]   - depth=0: Only direct properties are included;              children (servers and other elements) are not included.   - depth=1: Direct properties and children references are included.   - depth=2: Direct properties and children properties are included.   - depth=3: Direct properties and children properties and children's children are included.   - depth=... and so on (optional) (default to 0)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.SecurityGroupsApi.DatacentersSecuritygroupsRulesPatch(context.Background(), datacenterId, securityGroupId, ruleId).Rule(rule).Pretty(pretty).Depth(depth).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `SecurityGroupsApi.DatacentersSecuritygroupsRulesPatch``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersSecuritygroupsRulesPatch`: FirewallRule
        fmt.Fprintf(os.Stdout, "Response from `SecurityGroupsApi.DatacentersSecuritygroupsRulesPatch`: %v\n", resp)
    }
    var result FirewallRule = DatacentersSecuritygroupsRulesPut(ctx, datacenterId, securityGroupId, ruleId)
                          .Rule(rule)
                          .Pretty(pretty)
                          .Depth(depth)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        securityGroupId := "securityGroupId_example" // string | The unique ID of the security group.
        ruleId := "ruleId_example" // string | The unique ID of the Security Group Rule.
        rule := *openapiclient.NewFirewallRule(*openapiclient.NewFirewallruleProperties()) // FirewallRule | The modified Security Group Rule.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects. GET /datacenters/[ID]   - depth=0: Only direct properties are included;              children (servers and other elements) are not included.   - depth=1: Direct properties and children references are included.   - depth=2: Direct properties and children properties are included.   - depth=3: Direct properties and children properties and children's children are included.   - depth=... and so on (optional) (default to 0)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.SecurityGroupsApi.DatacentersSecuritygroupsRulesPut(context.Background(), datacenterId, securityGroupId, ruleId).Rule(rule).Pretty(pretty).Depth(depth).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `SecurityGroupsApi.DatacentersSecuritygroupsRulesPut``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersSecuritygroupsRulesPut`: FirewallRule
        fmt.Fprintf(os.Stdout, "Response from `SecurityGroupsApi.DatacentersSecuritygroupsRulesPut`: %v\n", resp)
    }
    var result SecurityGroups = DatacentersServersNicsSecuritygroupsPut(ctx, datacenterId, serverId, nicId)
                          .Securitygroups(securitygroups)
                          .Pretty(pretty)
                          .Depth(depth)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        serverId := "serverId_example" // string | The unique ID of the server.
        nicId := "nicId_example" // string | The unique ID of the server.
        securitygroups := *openapiclient.NewListOfIds([]string{"15f67991-0f51-4efc-a8ad-ef1fb31a480c"}) // ListOfIds | The list of NIC attached Security Groups IDs.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects. GET /datacenters/[ID]   - depth=0: Only direct properties are included;              children (servers and other elements) are not included.   - depth=1: Direct properties and children references are included.   - depth=2: Direct properties and children properties are included.   - depth=3: Direct properties and children properties and children's children are included.   - depth=... and so on (optional) (default to 0)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.SecurityGroupsApi.DatacentersServersNicsSecuritygroupsPut(context.Background(), datacenterId, serverId, nicId).Securitygroups(securitygroups).Pretty(pretty).Depth(depth).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `SecurityGroupsApi.DatacentersServersNicsSecuritygroupsPut``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersServersNicsSecuritygroupsPut`: SecurityGroups
        fmt.Fprintf(os.Stdout, "Response from `SecurityGroupsApi.DatacentersServersNicsSecuritygroupsPut`: %v\n", resp)
    }
    var result SecurityGroups = DatacentersServersSecuritygroupsPut(ctx, datacenterId, serverId)
                          .Securitygroups(securitygroups)
                          .Pretty(pretty)
                          .Depth(depth)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        serverId := "serverId_example" // string | The unique ID of the server.
        securitygroups := *openapiclient.NewListOfIds([]string{"15f67991-0f51-4efc-a8ad-ef1fb31a480c"}) // ListOfIds | The list of server attached Security Groups IDs.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects. GET /datacenters/[ID]   - depth=0: Only direct properties are included;              children (servers and other elements) are not included.   - depth=1: Direct properties and children references are included.   - depth=2: Direct properties and children properties are included.   - depth=3: Direct properties and children properties and children's children are included.   - depth=... and so on (optional) (default to 0)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.SecurityGroupsApi.DatacentersServersSecuritygroupsPut(context.Background(), datacenterId, serverId).Securitygroups(securitygroups).Pretty(pretty).Depth(depth).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `SecurityGroupsApi.DatacentersServersSecuritygroupsPut``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersServersSecuritygroupsPut`: SecurityGroups
        fmt.Fprintf(os.Stdout, "Response from `SecurityGroupsApi.DatacentersServersSecuritygroupsPut`: %v\n", resp)
    }

    ApplicationLoadBalancersApi

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

    Method
    HTTP request
    Description

    Delete /datacenters/{datacenterId}/applicationloadbalancers/{applicationLoadBalancerId}

    Delete an Application Load Balancer by ID

    Get /datacenters/{datacenterId}/applicationloadbalancers/{applicationLoadBalancerId}

    Get an Application Load Balancer by ID

    hashtag
    DatacentersApplicationloadbalancersDelete

    Delete an Application Load Balancer by ID

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersApplicationloadbalancersDeleteRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    (empty response body)

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    DatacentersApplicationloadbalancersFindByApplicationLoadBalancerId

    Get an Application Load Balancer by ID

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersApplicationloadbalancersFindByApplicationLoadBalancerIdRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    DatacentersApplicationloadbalancersFlowlogsDelete

    Delete an ALB Flow Log by ID

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersApplicationloadbalancersFlowlogsDeleteRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    (empty response body)

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    DatacentersApplicationloadbalancersFlowlogsFindByFlowLogId

    Get an ALB Flow Log by ID

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersApplicationloadbalancersFlowlogsFindByFlowLogIdRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    DatacentersApplicationloadbalancersFlowlogsGet

    Get ALB Flow Logs

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersApplicationloadbalancersFlowlogsGetRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    DatacentersApplicationloadbalancersFlowlogsPatch

    Partially Modify an ALB Flow Log by ID

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersApplicationloadbalancersFlowlogsPatchRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    DatacentersApplicationloadbalancersFlowlogsPost

    Create an ALB Flow Log

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersApplicationloadbalancersFlowlogsPostRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: application/json

    • Accept: application/json

    hashtag
    DatacentersApplicationloadbalancersFlowlogsPut

    Modify an ALB Flow Log by ID

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersApplicationloadbalancersFlowlogsPutRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: application/json

    • Accept: application/json

    hashtag
    DatacentersApplicationloadbalancersForwardingrulesDelete

    Delete an ALB Forwarding Rule by ID

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersApplicationloadbalancersForwardingrulesDeleteRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    (empty response body)

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    DatacentersApplicationloadbalancersForwardingrulesFindByForwardingRuleId

    Get an ALB Forwarding Rule by ID

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersApplicationloadbalancersForwardingrulesFindByForwardingRuleIdRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    DatacentersApplicationloadbalancersForwardingrulesGet

    Get ALB Forwarding Rules

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersApplicationloadbalancersForwardingrulesGetRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    DatacentersApplicationloadbalancersForwardingrulesPatch

    Partially modify an ALB Forwarding Rule by ID

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersApplicationloadbalancersForwardingrulesPatchRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    DatacentersApplicationloadbalancersForwardingrulesPost

    Create an ALB Forwarding Rule

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersApplicationloadbalancersForwardingrulesPostRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: application/json

    • Accept: application/json

    hashtag
    DatacentersApplicationloadbalancersForwardingrulesPut

    Modify an ALB Forwarding Rule by ID

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersApplicationloadbalancersForwardingrulesPutRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: application/json

    • Accept: application/json

    hashtag
    DatacentersApplicationloadbalancersGet

    Get Application Load Balancers

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersApplicationloadbalancersGetRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    DatacentersApplicationloadbalancersPatch

    Partially Modify an Application Load Balancer by ID

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersApplicationloadbalancersPatchRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    DatacentersApplicationloadbalancersPost

    Create an Application Load Balancer

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersApplicationloadbalancersPostRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: application/json

    • Accept: application/json

    hashtag
    DatacentersApplicationloadbalancersPut

    Modify an Application Load Balancer by ID

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersApplicationloadbalancersPutRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: application/json

    • Accept: application/json

    KubernetesApi

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

    Method
    HTTP request
    Description

    flowLogId

    string

    The unique ID of the flow log.

    flowLogId

    string

    The unique ID of the flow log.

    flowLogId

    string

    The unique ID of the flow log.

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    flowLogId

    string

    The unique ID of the flow log.

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    forwardingRuleId

    string

    The unique ID of the forwarding rule.

    forwardingRuleId

    string

    The unique ID of the forwarding rule.

    forwardingRuleId

    string

    The unique ID of the forwarding rule.

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    forwardingRuleId

    string

    The unique ID of the forwarding rule.

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    offset

    int32

    The first element (from the complete list of the elements) to include in the response (used together with <b><i>limit</i></b> for pagination).

    [default to 0]

    limit

    int32

    The maximum number of elements to return (use together with offset for pagination).

    [default to 1000]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    Delete /datacenters/{datacenterId}/applicationloadbalancers/{applicationLoadBalancerId}/flowlogs/{flowLogId}

    Delete an ALB Flow Log by ID

    DatacentersApplicationloadbalancersFlowlogsFindByFlowLogId

    Get /datacenters/{datacenterId}/applicationloadbalancers/{applicationLoadBalancerId}/flowlogs/{flowLogId}

    Get an ALB Flow Log by ID

    DatacentersApplicationloadbalancersFlowlogsGet

    Get /datacenters/{datacenterId}/applicationloadbalancers/{applicationLoadBalancerId}/flowlogs

    Get ALB Flow Logs

    DatacentersApplicationloadbalancersFlowlogsPatch

    Patch /datacenters/{datacenterId}/applicationloadbalancers/{applicationLoadBalancerId}/flowlogs/{flowLogId}

    Partially Modify an ALB Flow Log by ID

    DatacentersApplicationloadbalancersFlowlogsPost

    Post /datacenters/{datacenterId}/applicationloadbalancers/{applicationLoadBalancerId}/flowlogs

    Create an ALB Flow Log

    DatacentersApplicationloadbalancersFlowlogsPut

    Put /datacenters/{datacenterId}/applicationloadbalancers/{applicationLoadBalancerId}/flowlogs/{flowLogId}

    Modify an ALB Flow Log by ID

    DatacentersApplicationloadbalancersForwardingrulesDelete

    Delete /datacenters/{datacenterId}/applicationloadbalancers/{applicationLoadBalancerId}/forwardingrules/{forwardingRuleId}

    Delete an ALB Forwarding Rule by ID

    DatacentersApplicationloadbalancersForwardingrulesFindByForwardingRuleId

    Get /datacenters/{datacenterId}/applicationloadbalancers/{applicationLoadBalancerId}/forwardingrules/{forwardingRuleId}

    Get an ALB Forwarding Rule by ID

    DatacentersApplicationloadbalancersForwardingrulesGet

    Get /datacenters/{datacenterId}/applicationloadbalancers/{applicationLoadBalancerId}/forwardingrules

    Get ALB Forwarding Rules

    DatacentersApplicationloadbalancersForwardingrulesPatch

    Patch /datacenters/{datacenterId}/applicationloadbalancers/{applicationLoadBalancerId}/forwardingrules/{forwardingRuleId}

    Partially modify an ALB Forwarding Rule by ID

    DatacentersApplicationloadbalancersForwardingrulesPost

    Post /datacenters/{datacenterId}/applicationloadbalancers/{applicationLoadBalancerId}/forwardingrules

    Create an ALB Forwarding Rule

    DatacentersApplicationloadbalancersForwardingrulesPut

    Put /datacenters/{datacenterId}/applicationloadbalancers/{applicationLoadBalancerId}/forwardingrules/{forwardingRuleId}

    Modify an ALB Forwarding Rule by ID

    DatacentersApplicationloadbalancersGet

    Get /datacenters/{datacenterId}/applicationloadbalancers

    Get Application Load Balancers

    DatacentersApplicationloadbalancersPatch

    Patch /datacenters/{datacenterId}/applicationloadbalancers/{applicationLoadBalancerId}

    Partially Modify an Application Load Balancer by ID

    DatacentersApplicationloadbalancersPost

    Post /datacenters/{datacenterId}/applicationloadbalancers

    Create an Application Load Balancer

    DatacentersApplicationloadbalancersPut

    Put /datacenters/{datacenterId}/applicationloadbalancers/{applicationLoadBalancerId}

    Modify an Application Load Balancer by ID

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    applicationLoadBalancerId

    string

    The unique ID of the Application Load Balancer.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    applicationLoadBalancerId

    string

    The unique ID of the Application Load Balancer.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    applicationLoadBalancerId

    string

    The unique ID of the Application Load Balancer.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    applicationLoadBalancerId

    string

    The unique ID of the Application Load Balancer.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    applicationLoadBalancerId

    string

    The unique ID of the Application Load Balancer.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    applicationLoadBalancerId

    string

    The unique ID of the Application Load Balancer.

    applicationLoadBalancerFlowLogProperties

    FlowLogProperties

    The properties of the ALB flow log to be updated.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    applicationLoadBalancerId

    string

    The unique ID of the Application Load Balancer.

    applicationLoadBalancerFlowLog

    FlowLog

    The flow log to create.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    applicationLoadBalancerId

    string

    The unique ID of the Application Load Balancer.

    applicationLoadBalancerFlowLog

    FlowLogPut

    The modified ALB flow log.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    applicationLoadBalancerId

    string

    The unique ID of the Application Load Balancer.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    applicationLoadBalancerId

    string

    The unique ID of the Application Load Balancer.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    applicationLoadBalancerId

    string

    The unique ID of the Application Load Balancer.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    applicationLoadBalancerId

    string

    The unique ID of the Application Load Balancer.

    applicationLoadBalancerForwardingRuleProperties

    ApplicationLoadBalancerForwardingRuleProperties

    The properties of the forwarding rule to be updated.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    applicationLoadBalancerId

    string

    The unique ID of the Application Load Balancer.

    applicationLoadBalancerForwardingRule

    ApplicationLoadBalancerForwardingRule

    The forwarding rule to create.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    applicationLoadBalancerId

    string

    The unique ID of the Application Load Balancer.

    applicationLoadBalancerForwardingRule

    ApplicationLoadBalancerForwardingRulePut

    The modified ALB forwarding rule.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    applicationLoadBalancerId

    string

    The unique ID of the Application Load Balancer.

    applicationLoadBalancerProperties

    ApplicationLoadBalancerProperties

    The Application Load Balancer properties to be updated.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    applicationLoadBalancer

    ApplicationLoadBalancer

    The Application Load Balancer to create.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    applicationLoadBalancerId

    string

    The unique ID of the Application Load Balancer.

    applicationLoadBalancer

    ApplicationLoadBalancerPut

    The modified Application Load Balancer.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    ApplicationLoadBalancer
    FlowLog
    FlowLogs
    FlowLog
    FlowLog
    FlowLog
    ApplicationLoadBalancerForwardingRule
    ApplicationLoadBalancerForwardingRules
    ApplicationLoadBalancerForwardingRule
    ApplicationLoadBalancerForwardingRule
    ApplicationLoadBalancerForwardingRule
    ApplicationLoadBalancers
    ApplicationLoadBalancer
    ApplicationLoadBalancer
    ApplicationLoadBalancer
    DatacentersApplicationloadbalancersDelete
    DatacentersApplicationloadbalancersFindByApplicationLoadBalancerId
    DatacentersApplicationloadbalancersFlowlogsDelete

    [default to 0]

    [default to 0]

    [default to 0]

    [default to 0]

    [default to 0]

    [default to 0]

    [default to 0]

    [default to 0]

    [default to 0]

    var result  = DatacentersApplicationloadbalancersDelete(ctx, datacenterId, applicationLoadBalancerId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        applicationLoadBalancerId := "applicationLoadBalancerId_example" // string | The unique ID of the Application Load Balancer.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resp, err := apiClient.ApplicationLoadBalancersApi.DatacentersApplicationloadbalancersDelete(context.Background(), datacenterId, applicationLoadBalancerId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `ApplicationLoadBalancersApi.DatacentersApplicationloadbalancersDelete``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
    }
    var result ApplicationLoadBalancer = DatacentersApplicationloadbalancersFindByApplicationLoadBalancerId(ctx, datacenterId, applicationLoadBalancerId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        applicationLoadBalancerId := "applicationLoadBalancerId_example" // string | The unique ID of the Application Load Balancer.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.ApplicationLoadBalancersApi.DatacentersApplicationloadbalancersFindByApplicationLoadBalancerId(context.Background(), datacenterId, applicationLoadBalancerId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `ApplicationLoadBalancersApi.DatacentersApplicationloadbalancersFindByApplicationLoadBalancerId``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersApplicationloadbalancersFindByApplicationLoadBalancerId`: ApplicationLoadBalancer
        fmt.Fprintf(os.Stdout, "Response from `ApplicationLoadBalancersApi.DatacentersApplicationloadbalancersFindByApplicationLoadBalancerId`: %v\n", resp)
    }
    var result  = DatacentersApplicationloadbalancersFlowlogsDelete(ctx, datacenterId, applicationLoadBalancerId, flowLogId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        applicationLoadBalancerId := "applicationLoadBalancerId_example" // string | The unique ID of the Application Load Balancer.
        flowLogId := "flowLogId_example" // string | The unique ID of the flow log.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resp, err := apiClient.ApplicationLoadBalancersApi.DatacentersApplicationloadbalancersFlowlogsDelete(context.Background(), datacenterId, applicationLoadBalancerId, flowLogId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `ApplicationLoadBalancersApi.DatacentersApplicationloadbalancersFlowlogsDelete``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
    }
    var result FlowLog = DatacentersApplicationloadbalancersFlowlogsFindByFlowLogId(ctx, datacenterId, applicationLoadBalancerId, flowLogId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        applicationLoadBalancerId := "applicationLoadBalancerId_example" // string | The unique ID of the Application Load Balancer.
        flowLogId := "flowLogId_example" // string | The unique ID of the flow log.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.ApplicationLoadBalancersApi.DatacentersApplicationloadbalancersFlowlogsFindByFlowLogId(context.Background(), datacenterId, applicationLoadBalancerId, flowLogId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `ApplicationLoadBalancersApi.DatacentersApplicationloadbalancersFlowlogsFindByFlowLogId``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersApplicationloadbalancersFlowlogsFindByFlowLogId`: FlowLog
        fmt.Fprintf(os.Stdout, "Response from `ApplicationLoadBalancersApi.DatacentersApplicationloadbalancersFlowlogsFindByFlowLogId`: %v\n", resp)
    }
    var result FlowLogs = DatacentersApplicationloadbalancersFlowlogsGet(ctx, datacenterId, applicationLoadBalancerId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        applicationLoadBalancerId := "applicationLoadBalancerId_example" // string | The unique ID of the Application Load Balancer.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.ApplicationLoadBalancersApi.DatacentersApplicationloadbalancersFlowlogsGet(context.Background(), datacenterId, applicationLoadBalancerId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `ApplicationLoadBalancersApi.DatacentersApplicationloadbalancersFlowlogsGet``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersApplicationloadbalancersFlowlogsGet`: FlowLogs
        fmt.Fprintf(os.Stdout, "Response from `ApplicationLoadBalancersApi.DatacentersApplicationloadbalancersFlowlogsGet`: %v\n", resp)
    }
    var result FlowLog = DatacentersApplicationloadbalancersFlowlogsPatch(ctx, datacenterId, applicationLoadBalancerId, flowLogId)
                          .ApplicationLoadBalancerFlowLogProperties(applicationLoadBalancerFlowLogProperties)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        applicationLoadBalancerId := "applicationLoadBalancerId_example" // string | The unique ID of the Application Load Balancer.
        flowLogId := "flowLogId_example" // string | The unique ID of the flow log.
        applicationLoadBalancerFlowLogProperties := *openapiclient.NewFlowLogProperties("My resource", "ACCEPTED", "INGRESS", "bucketName/key") // FlowLogProperties | The properties of the ALB flow log to be updated.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.ApplicationLoadBalancersApi.DatacentersApplicationloadbalancersFlowlogsPatch(context.Background(), datacenterId, applicationLoadBalancerId, flowLogId).ApplicationLoadBalancerFlowLogProperties(applicationLoadBalancerFlowLogProperties).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `ApplicationLoadBalancersApi.DatacentersApplicationloadbalancersFlowlogsPatch``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersApplicationloadbalancersFlowlogsPatch`: FlowLog
        fmt.Fprintf(os.Stdout, "Response from `ApplicationLoadBalancersApi.DatacentersApplicationloadbalancersFlowlogsPatch`: %v\n", resp)
    }
    var result FlowLog = DatacentersApplicationloadbalancersFlowlogsPost(ctx, datacenterId, applicationLoadBalancerId)
                          .ApplicationLoadBalancerFlowLog(applicationLoadBalancerFlowLog)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        applicationLoadBalancerId := "applicationLoadBalancerId_example" // string | The unique ID of the Application Load Balancer.
        applicationLoadBalancerFlowLog := *openapiclient.NewFlowLog(*openapiclient.NewFlowLogProperties("My resource", "ACCEPTED", "INGRESS", "bucketName/key")) // FlowLog | The flow log to create.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.ApplicationLoadBalancersApi.DatacentersApplicationloadbalancersFlowlogsPost(context.Background(), datacenterId, applicationLoadBalancerId).ApplicationLoadBalancerFlowLog(applicationLoadBalancerFlowLog).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `ApplicationLoadBalancersApi.DatacentersApplicationloadbalancersFlowlogsPost``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersApplicationloadbalancersFlowlogsPost`: FlowLog
        fmt.Fprintf(os.Stdout, "Response from `ApplicationLoadBalancersApi.DatacentersApplicationloadbalancersFlowlogsPost`: %v\n", resp)
    }
    var result FlowLog = DatacentersApplicationloadbalancersFlowlogsPut(ctx, datacenterId, applicationLoadBalancerId, flowLogId)
                          .ApplicationLoadBalancerFlowLog(applicationLoadBalancerFlowLog)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        applicationLoadBalancerId := "applicationLoadBalancerId_example" // string | The unique ID of the Application Load Balancer.
        flowLogId := "flowLogId_example" // string | The unique ID of the flow log.
        applicationLoadBalancerFlowLog := *openapiclient.NewFlowLogPut(*openapiclient.NewFlowLogProperties("My resource", "ACCEPTED", "INGRESS", "bucketName/key")) // FlowLogPut | The modified ALB flow log.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.ApplicationLoadBalancersApi.DatacentersApplicationloadbalancersFlowlogsPut(context.Background(), datacenterId, applicationLoadBalancerId, flowLogId).ApplicationLoadBalancerFlowLog(applicationLoadBalancerFlowLog).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `ApplicationLoadBalancersApi.DatacentersApplicationloadbalancersFlowlogsPut``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersApplicationloadbalancersFlowlogsPut`: FlowLog
        fmt.Fprintf(os.Stdout, "Response from `ApplicationLoadBalancersApi.DatacentersApplicationloadbalancersFlowlogsPut`: %v\n", resp)
    }
    var result  = DatacentersApplicationloadbalancersForwardingrulesDelete(ctx, datacenterId, applicationLoadBalancerId, forwardingRuleId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        applicationLoadBalancerId := "applicationLoadBalancerId_example" // string | The unique ID of the Application Load Balancer.
        forwardingRuleId := "forwardingRuleId_example" // string | The unique ID of the forwarding rule.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resp, err := apiClient.ApplicationLoadBalancersApi.DatacentersApplicationloadbalancersForwardingrulesDelete(context.Background(), datacenterId, applicationLoadBalancerId, forwardingRuleId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `ApplicationLoadBalancersApi.DatacentersApplicationloadbalancersForwardingrulesDelete``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
    }
    var result ApplicationLoadBalancerForwardingRule = DatacentersApplicationloadbalancersForwardingrulesFindByForwardingRuleId(ctx, datacenterId, applicationLoadBalancerId, forwardingRuleId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        applicationLoadBalancerId := "applicationLoadBalancerId_example" // string | The unique ID of the Application Load Balancer.
        forwardingRuleId := "forwardingRuleId_example" // string | The unique ID of the forwarding rule.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.ApplicationLoadBalancersApi.DatacentersApplicationloadbalancersForwardingrulesFindByForwardingRuleId(context.Background(), datacenterId, applicationLoadBalancerId, forwardingRuleId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `ApplicationLoadBalancersApi.DatacentersApplicationloadbalancersForwardingrulesFindByForwardingRuleId``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersApplicationloadbalancersForwardingrulesFindByForwardingRuleId`: ApplicationLoadBalancerForwardingRule
        fmt.Fprintf(os.Stdout, "Response from `ApplicationLoadBalancersApi.DatacentersApplicationloadbalancersForwardingrulesFindByForwardingRuleId`: %v\n", resp)
    }
    var result ApplicationLoadBalancerForwardingRules = DatacentersApplicationloadbalancersForwardingrulesGet(ctx, datacenterId, applicationLoadBalancerId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        applicationLoadBalancerId := "applicationLoadBalancerId_example" // string | The unique ID of the Application Load Balancer.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.ApplicationLoadBalancersApi.DatacentersApplicationloadbalancersForwardingrulesGet(context.Background(), datacenterId, applicationLoadBalancerId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `ApplicationLoadBalancersApi.DatacentersApplicationloadbalancersForwardingrulesGet``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersApplicationloadbalancersForwardingrulesGet`: ApplicationLoadBalancerForwardingRules
        fmt.Fprintf(os.Stdout, "Response from `ApplicationLoadBalancersApi.DatacentersApplicationloadbalancersForwardingrulesGet`: %v\n", resp)
    }
    var result ApplicationLoadBalancerForwardingRule = DatacentersApplicationloadbalancersForwardingrulesPatch(ctx, datacenterId, applicationLoadBalancerId, forwardingRuleId)
                          .ApplicationLoadBalancerForwardingRuleProperties(applicationLoadBalancerForwardingRuleProperties)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        applicationLoadBalancerId := "applicationLoadBalancerId_example" // string | The unique ID of the Application Load Balancer.
        forwardingRuleId := "forwardingRuleId_example" // string | The unique ID of the forwarding rule.
        applicationLoadBalancerForwardingRuleProperties := *openapiclient.NewApplicationLoadBalancerForwardingRuleProperties("My Application Load Balancer forwarding rule", "HTTP", "81.173.1.2", int32(8080)) // ApplicationLoadBalancerForwardingRuleProperties | The properties of the forwarding rule to be updated.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.ApplicationLoadBalancersApi.DatacentersApplicationloadbalancersForwardingrulesPatch(context.Background(), datacenterId, applicationLoadBalancerId, forwardingRuleId).ApplicationLoadBalancerForwardingRuleProperties(applicationLoadBalancerForwardingRuleProperties).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `ApplicationLoadBalancersApi.DatacentersApplicationloadbalancersForwardingrulesPatch``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersApplicationloadbalancersForwardingrulesPatch`: ApplicationLoadBalancerForwardingRule
        fmt.Fprintf(os.Stdout, "Response from `ApplicationLoadBalancersApi.DatacentersApplicationloadbalancersForwardingrulesPatch`: %v\n", resp)
    }
    var result ApplicationLoadBalancerForwardingRule = DatacentersApplicationloadbalancersForwardingrulesPost(ctx, datacenterId, applicationLoadBalancerId)
                          .ApplicationLoadBalancerForwardingRule(applicationLoadBalancerForwardingRule)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        applicationLoadBalancerId := "applicationLoadBalancerId_example" // string | The unique ID of the Application Load Balancer.
        applicationLoadBalancerForwardingRule := *openapiclient.NewApplicationLoadBalancerForwardingRule(*openapiclient.NewApplicationLoadBalancerForwardingRuleProperties("My Application Load Balancer forwarding rule", "HTTP", "81.173.1.2", int32(8080))) // ApplicationLoadBalancerForwardingRule | The forwarding rule to create.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.ApplicationLoadBalancersApi.DatacentersApplicationloadbalancersForwardingrulesPost(context.Background(), datacenterId, applicationLoadBalancerId).ApplicationLoadBalancerForwardingRule(applicationLoadBalancerForwardingRule).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `ApplicationLoadBalancersApi.DatacentersApplicationloadbalancersForwardingrulesPost``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersApplicationloadbalancersForwardingrulesPost`: ApplicationLoadBalancerForwardingRule
        fmt.Fprintf(os.Stdout, "Response from `ApplicationLoadBalancersApi.DatacentersApplicationloadbalancersForwardingrulesPost`: %v\n", resp)
    }
    var result ApplicationLoadBalancerForwardingRule = DatacentersApplicationloadbalancersForwardingrulesPut(ctx, datacenterId, applicationLoadBalancerId, forwardingRuleId)
                          .ApplicationLoadBalancerForwardingRule(applicationLoadBalancerForwardingRule)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        applicationLoadBalancerId := "applicationLoadBalancerId_example" // string | The unique ID of the Application Load Balancer.
        forwardingRuleId := "forwardingRuleId_example" // string | The unique ID of the forwarding rule.
        applicationLoadBalancerForwardingRule := *openapiclient.NewApplicationLoadBalancerForwardingRulePut(*openapiclient.NewApplicationLoadBalancerForwardingRuleProperties("My Application Load Balancer forwarding rule", "HTTP", "81.173.1.2", int32(8080))) // ApplicationLoadBalancerForwardingRulePut | The modified ALB forwarding rule.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.ApplicationLoadBalancersApi.DatacentersApplicationloadbalancersForwardingrulesPut(context.Background(), datacenterId, applicationLoadBalancerId, forwardingRuleId).ApplicationLoadBalancerForwardingRule(applicationLoadBalancerForwardingRule).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `ApplicationLoadBalancersApi.DatacentersApplicationloadbalancersForwardingrulesPut``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersApplicationloadbalancersForwardingrulesPut`: ApplicationLoadBalancerForwardingRule
        fmt.Fprintf(os.Stdout, "Response from `ApplicationLoadBalancersApi.DatacentersApplicationloadbalancersForwardingrulesPut`: %v\n", resp)
    }
    var result ApplicationLoadBalancers = DatacentersApplicationloadbalancersGet(ctx, datacenterId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Offset(offset)
                          .Limit(limit)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
        offset := int32(56) // int32 | The first element (from the complete list of the elements) to include in the response (used together with <b><i>limit</i></b> for pagination). (optional) (default to 0)
        limit := int32(56) // int32 | The maximum number of elements to return (use together with offset for pagination). (optional) (default to 1000)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.ApplicationLoadBalancersApi.DatacentersApplicationloadbalancersGet(context.Background(), datacenterId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Offset(offset).Limit(limit).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `ApplicationLoadBalancersApi.DatacentersApplicationloadbalancersGet``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersApplicationloadbalancersGet`: ApplicationLoadBalancers
        fmt.Fprintf(os.Stdout, "Response from `ApplicationLoadBalancersApi.DatacentersApplicationloadbalancersGet`: %v\n", resp)
    }
    var result ApplicationLoadBalancer = DatacentersApplicationloadbalancersPatch(ctx, datacenterId, applicationLoadBalancerId)
                          .ApplicationLoadBalancerProperties(applicationLoadBalancerProperties)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        applicationLoadBalancerId := "applicationLoadBalancerId_example" // string | The unique ID of the Application Load Balancer.
        applicationLoadBalancerProperties := *openapiclient.NewApplicationLoadBalancerProperties("My Application Load Balancer", int32(1), int32(2)) // ApplicationLoadBalancerProperties | The Application Load Balancer properties to be updated.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.ApplicationLoadBalancersApi.DatacentersApplicationloadbalancersPatch(context.Background(), datacenterId, applicationLoadBalancerId).ApplicationLoadBalancerProperties(applicationLoadBalancerProperties).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `ApplicationLoadBalancersApi.DatacentersApplicationloadbalancersPatch``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersApplicationloadbalancersPatch`: ApplicationLoadBalancer
        fmt.Fprintf(os.Stdout, "Response from `ApplicationLoadBalancersApi.DatacentersApplicationloadbalancersPatch`: %v\n", resp)
    }
    var result ApplicationLoadBalancer = DatacentersApplicationloadbalancersPost(ctx, datacenterId)
                          .ApplicationLoadBalancer(applicationLoadBalancer)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        applicationLoadBalancer := *openapiclient.NewApplicationLoadBalancer(*openapiclient.NewApplicationLoadBalancerProperties("My Application Load Balancer", int32(1), int32(2))) // ApplicationLoadBalancer | The Application Load Balancer to create.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.ApplicationLoadBalancersApi.DatacentersApplicationloadbalancersPost(context.Background(), datacenterId).ApplicationLoadBalancer(applicationLoadBalancer).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `ApplicationLoadBalancersApi.DatacentersApplicationloadbalancersPost``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersApplicationloadbalancersPost`: ApplicationLoadBalancer
        fmt.Fprintf(os.Stdout, "Response from `ApplicationLoadBalancersApi.DatacentersApplicationloadbalancersPost`: %v\n", resp)
    }
    var result ApplicationLoadBalancer = DatacentersApplicationloadbalancersPut(ctx, datacenterId, applicationLoadBalancerId)
                          .ApplicationLoadBalancer(applicationLoadBalancer)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        applicationLoadBalancerId := "applicationLoadBalancerId_example" // string | The unique ID of the Application Load Balancer.
        applicationLoadBalancer := *openapiclient.NewApplicationLoadBalancerPut(*openapiclient.NewApplicationLoadBalancerProperties("My Application Load Balancer", int32(1), int32(2))) // ApplicationLoadBalancerPut | The modified Application Load Balancer.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.ApplicationLoadBalancersApi.DatacentersApplicationloadbalancersPut(context.Background(), datacenterId, applicationLoadBalancerId).ApplicationLoadBalancer(applicationLoadBalancer).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `ApplicationLoadBalancersApi.DatacentersApplicationloadbalancersPut``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersApplicationloadbalancersPut`: ApplicationLoadBalancer
        fmt.Fprintf(os.Stdout, "Response from `ApplicationLoadBalancersApi.DatacentersApplicationloadbalancersPut`: %v\n", resp)
    }

    Get Kubernetes Clusters

    Get /k8s/{k8sClusterId}/kubeconfig

    Get Kubernetes Configuration File

    Delete /k8s/{k8sClusterId}/nodepools/{nodepoolId}

    Delete a Kubernetes Node Pool by ID

    Get /k8s/{k8sClusterId}/nodepools/{nodepoolId}

    Get a Kubernetes Node Pool by ID

    Get /k8s/{k8sClusterId}/nodepools

    Get Kubernetes Node Pools

    Delete /k8s/{k8sClusterId}/nodepools/{nodepoolId}/nodes/{nodeId}

    Delete a Kubernetes Node by ID

    Get /k8s/{k8sClusterId}/nodepools/{nodepoolId}/nodes/{nodeId}

    Get Kubernetes Node by ID

    Get /k8s/{k8sClusterId}/nodepools/{nodepoolId}/nodes

    Get Kubernetes Nodes

    Post /k8s/{k8sClusterId}/nodepools/{nodepoolId}/nodes/{nodeId}/replace

    Recreate a Kubernetes Node by ID

    Post /k8s/{k8sClusterId}/nodepools

    Create a Kubernetes Node Pool

    Put /k8s/{k8sClusterId}/nodepools/{nodepoolId}

    Modify a Kubernetes Node Pool by ID

    Post /k8s

    Create a Kubernetes Cluster

    Put /k8s/{k8sClusterId}

    Modify a Kubernetes Cluster by ID

    Get /k8s/versions/default

    Get Default Kubernetes Version

    Get /k8s/versions

    Get Kubernetes Versions

    hashtag
    K8sDelete

    Delete a Kubernetes Cluster by ID

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    k8sClusterId

    string

    The unique ID of the Kubernetes cluster.

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiK8sDeleteRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    hashtag
    Return type

    (empty response body)

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    K8sFindByClusterId

    Get a Kubernetes Cluster by ID

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    k8sClusterId

    string

    The unique ID of the K8s cluster to be retrieved.

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiK8sFindByClusterIdRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    hashtag
    Return type

    KubernetesCluster

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    K8sGet

    Get Kubernetes Clusters

    hashtag
    Example

    hashtag
    Path Parameters

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiK8sGetRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    hashtag
    Return type

    KubernetesClusters

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    K8sKubeconfigGet

    Get Kubernetes Configuration File

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    k8sClusterId

    string

    The unique ID of the Kubernetes cluster.

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiK8sKubeconfigGetRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    hashtag
    Return type

    string

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/yamlapplication/x-yamlapplication/json

    hashtag
    K8sNodepoolsDelete

    Delete a Kubernetes Node Pool by ID

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    k8sClusterId

    string

    The unique ID of the Kubernetes cluster.

    nodepoolId

    string

    The unique ID of the Kubernetes node pool.

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiK8sNodepoolsDeleteRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    hashtag
    Return type

    (empty response body)

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    K8sNodepoolsFindById

    Get a Kubernetes Node Pool by ID

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    k8sClusterId

    string

    The unique ID of the Kubernetes cluster.

    nodepoolId

    string

    The unique ID of the Kubernetes node pool.

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiK8sNodepoolsFindByIdRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    hashtag
    Return type

    KubernetesNodePool

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    K8sNodepoolsGet

    Get Kubernetes Node Pools

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    k8sClusterId

    string

    The unique ID of the Kubernetes cluster.

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiK8sNodepoolsGetRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    hashtag
    Return type

    KubernetesNodePools

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    K8sNodepoolsNodesDelete

    Delete a Kubernetes Node by ID

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    k8sClusterId

    string

    The unique ID of the Kubernetes cluster.

    nodepoolId

    string

    The unique ID of the Kubernetes node pool.

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiK8sNodepoolsNodesDeleteRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    hashtag
    Return type

    (empty response body)

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    K8sNodepoolsNodesFindById

    Get Kubernetes Node by ID

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    k8sClusterId

    string

    The unique ID of the Kubernetes cluster.

    nodepoolId

    string

    The unique ID of the Kubernetes node pool.

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiK8sNodepoolsNodesFindByIdRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    hashtag
    Return type

    KubernetesNode

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    K8sNodepoolsNodesGet

    Get Kubernetes Nodes

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    k8sClusterId

    string

    The unique ID of the Kubernetes cluster.

    nodepoolId

    string

    The unique ID of the Kubernetes node pool.

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiK8sNodepoolsNodesGetRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    hashtag
    Return type

    KubernetesNodes

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    K8sNodepoolsNodesReplacePost

    Recreate a Kubernetes Node by ID

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    k8sClusterId

    string

    The unique ID of the Kubernetes cluster.

    nodepoolId

    string

    The unique ID of the Kubernetes node pool.

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiK8sNodepoolsNodesReplacePostRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    hashtag
    Return type

    (empty response body)

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    K8sNodepoolsPost

    Create a Kubernetes Node Pool

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    k8sClusterId

    string

    The unique ID of the Kubernetes cluster.

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiK8sNodepoolsPostRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    kubernetesNodePool

    The Kubernetes node pool to create.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    hashtag
    Return type

    KubernetesNodePool

    hashtag
    HTTP request headers

    • Content-Type: application/json

    • Accept: application/json

    hashtag
    K8sNodepoolsPut

    Modify a Kubernetes Node Pool by ID

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    k8sClusterId

    string

    The unique ID of the Kubernetes cluster.

    nodepoolId

    string

    The unique ID of the Kubernetes node pool.

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiK8sNodepoolsPutRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    kubernetesNodePool

    Details of the Kubernetes Node Pool

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    hashtag
    Return type

    KubernetesNodePool

    hashtag
    HTTP request headers

    • Content-Type: application/json

    • Accept: application/json

    hashtag
    K8sPost

    Create a Kubernetes Cluster

    hashtag
    Example

    hashtag
    Path Parameters

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiK8sPostRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    kubernetesCluster

    The Kubernetes cluster to create.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    hashtag
    Return type

    KubernetesCluster

    hashtag
    HTTP request headers

    • Content-Type: application/json

    • Accept: application/json

    hashtag
    K8sPut

    Modify a Kubernetes Cluster by ID

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    k8sClusterId

    string

    The unique ID of the Kubernetes cluster.

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiK8sPutRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    kubernetesCluster

    The modified Kubernetes cluster.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    hashtag
    Return type

    KubernetesCluster

    hashtag
    HTTP request headers

    • Content-Type: application/json

    • Accept: application/json

    hashtag
    K8sVersionsDefaultGet

    Get Default Kubernetes Version

    hashtag
    Example

    hashtag
    Path Parameters

    This endpoint does not need any parameter.

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiK8sVersionsDefaultGetRequest struct via the builder pattern

    hashtag
    Return type

    string

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    K8sVersionsGet

    Get Kubernetes Versions

    hashtag
    Example

    hashtag
    Path Parameters

    This endpoint does not need any parameter.

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiK8sVersionsGetRequest struct via the builder pattern

    hashtag
    Return type

    []string

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    K8sDelete

    Delete /k8s/{k8sClusterId}

    Delete a Kubernetes Cluster by ID

    K8sFindByClusterId

    Get /k8s/{k8sClusterId}

    Get a Kubernetes Cluster by ID

    K8sGet

    Get /k8s

    var result  = K8sDelete(ctx, k8sClusterId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        k8sClusterId := "k8sClusterId_example" // string | The unique ID of the Kubernetes cluster.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resp, err := apiClient.KubernetesApi.K8sDelete(context.Background(), k8sClusterId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `KubernetesApi.K8sDelete``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
    }
    var result KubernetesCluster = K8sFindByClusterId(ctx, k8sClusterId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        k8sClusterId := "k8sClusterId_example" // string | The unique ID of the K8s cluster to be retrieved.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.KubernetesApi.K8sFindByClusterId(context.Background(), k8sClusterId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `KubernetesApi.K8sFindByClusterId``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `K8sFindByClusterId`: KubernetesCluster
        fmt.Fprintf(os.Stdout, "Response from `KubernetesApi.K8sFindByClusterId`: %v\n", resp)
    }
    var result KubernetesClusters = K8sGet(ctx)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.KubernetesApi.K8sGet(context.Background()).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `KubernetesApi.K8sGet``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `K8sGet`: KubernetesClusters
        fmt.Fprintf(os.Stdout, "Response from `KubernetesApi.K8sGet`: %v\n", resp)
    }
    var result string = K8sKubeconfigGet(ctx, k8sClusterId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        k8sClusterId := "k8sClusterId_example" // string | The unique ID of the Kubernetes cluster.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.KubernetesApi.K8sKubeconfigGet(context.Background(), k8sClusterId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `KubernetesApi.K8sKubeconfigGet``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `K8sKubeconfigGet`: string
        fmt.Fprintf(os.Stdout, "Response from `KubernetesApi.K8sKubeconfigGet`: %v\n", resp)
    }
    var result  = K8sNodepoolsDelete(ctx, k8sClusterId, nodepoolId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        k8sClusterId := "k8sClusterId_example" // string | The unique ID of the Kubernetes cluster.
        nodepoolId := "nodepoolId_example" // string | The unique ID of the Kubernetes node pool.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resp, err := apiClient.KubernetesApi.K8sNodepoolsDelete(context.Background(), k8sClusterId, nodepoolId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `KubernetesApi.K8sNodepoolsDelete``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
    }
    var result KubernetesNodePool = K8sNodepoolsFindById(ctx, k8sClusterId, nodepoolId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        k8sClusterId := "k8sClusterId_example" // string | The unique ID of the Kubernetes cluster.
        nodepoolId := "nodepoolId_example" // string | The unique ID of the Kubernetes node pool.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.KubernetesApi.K8sNodepoolsFindById(context.Background(), k8sClusterId, nodepoolId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `KubernetesApi.K8sNodepoolsFindById``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `K8sNodepoolsFindById`: KubernetesNodePool
        fmt.Fprintf(os.Stdout, "Response from `KubernetesApi.K8sNodepoolsFindById`: %v\n", resp)
    }
    var result KubernetesNodePools = K8sNodepoolsGet(ctx, k8sClusterId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        k8sClusterId := "k8sClusterId_example" // string | The unique ID of the Kubernetes cluster.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.KubernetesApi.K8sNodepoolsGet(context.Background(), k8sClusterId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `KubernetesApi.K8sNodepoolsGet``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `K8sNodepoolsGet`: KubernetesNodePools
        fmt.Fprintf(os.Stdout, "Response from `KubernetesApi.K8sNodepoolsGet`: %v\n", resp)
    }
    var result  = K8sNodepoolsNodesDelete(ctx, k8sClusterId, nodepoolId, nodeId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        k8sClusterId := "k8sClusterId_example" // string | The unique ID of the Kubernetes cluster.
        nodepoolId := "nodepoolId_example" // string | The unique ID of the Kubernetes node pool.
        nodeId := "nodeId_example" // string | The unique ID of the Kubernetes node.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resp, err := apiClient.KubernetesApi.K8sNodepoolsNodesDelete(context.Background(), k8sClusterId, nodepoolId, nodeId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `KubernetesApi.K8sNodepoolsNodesDelete``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
    }
    var result KubernetesNode = K8sNodepoolsNodesFindById(ctx, k8sClusterId, nodepoolId, nodeId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        k8sClusterId := "k8sClusterId_example" // string | The unique ID of the Kubernetes cluster.
        nodepoolId := "nodepoolId_example" // string | The unique ID of the Kubernetes node pool.
        nodeId := "nodeId_example" // string | The unique ID of the Kubernetes node.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.KubernetesApi.K8sNodepoolsNodesFindById(context.Background(), k8sClusterId, nodepoolId, nodeId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `KubernetesApi.K8sNodepoolsNodesFindById``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `K8sNodepoolsNodesFindById`: KubernetesNode
        fmt.Fprintf(os.Stdout, "Response from `KubernetesApi.K8sNodepoolsNodesFindById`: %v\n", resp)
    }
    var result KubernetesNodes = K8sNodepoolsNodesGet(ctx, k8sClusterId, nodepoolId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        k8sClusterId := "k8sClusterId_example" // string | The unique ID of the Kubernetes cluster.
        nodepoolId := "nodepoolId_example" // string | The unique ID of the Kubernetes node pool.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.KubernetesApi.K8sNodepoolsNodesGet(context.Background(), k8sClusterId, nodepoolId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `KubernetesApi.K8sNodepoolsNodesGet``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `K8sNodepoolsNodesGet`: KubernetesNodes
        fmt.Fprintf(os.Stdout, "Response from `KubernetesApi.K8sNodepoolsNodesGet`: %v\n", resp)
    }
    var result  = K8sNodepoolsNodesReplacePost(ctx, k8sClusterId, nodepoolId, nodeId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        k8sClusterId := "k8sClusterId_example" // string | The unique ID of the Kubernetes cluster.
        nodepoolId := "nodepoolId_example" // string | The unique ID of the Kubernetes node pool.
        nodeId := "nodeId_example" // string | The unique ID of the Kubernetes node.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.KubernetesApi.K8sNodepoolsNodesReplacePost(context.Background(), k8sClusterId, nodepoolId, nodeId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `KubernetesApi.K8sNodepoolsNodesReplacePost``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
    }
    var result KubernetesNodePool = K8sNodepoolsPost(ctx, k8sClusterId)
                          .KubernetesNodePool(kubernetesNodePool)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        k8sClusterId := "k8sClusterId_example" // string | The unique ID of the Kubernetes cluster.
        kubernetesNodePool := *openapiclient.NewKubernetesNodePoolForPost(*openapiclient.NewKubernetesNodePoolPropertiesForPost("K8s-node-pool", "1e072e52-2ed3-492f-b6b6-c6b116907521", int32(2), int32(4), int32(2048), "AUTO", "HDD", int32(100))) // KubernetesNodePoolForPost | The Kubernetes node pool to create.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.KubernetesApi.K8sNodepoolsPost(context.Background(), k8sClusterId).KubernetesNodePool(kubernetesNodePool).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `KubernetesApi.K8sNodepoolsPost``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `K8sNodepoolsPost`: KubernetesNodePool
        fmt.Fprintf(os.Stdout, "Response from `KubernetesApi.K8sNodepoolsPost`: %v\n", resp)
    }
    var result KubernetesNodePool = K8sNodepoolsPut(ctx, k8sClusterId, nodepoolId)
                          .KubernetesNodePool(kubernetesNodePool)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        k8sClusterId := "k8sClusterId_example" // string | The unique ID of the Kubernetes cluster.
        nodepoolId := "nodepoolId_example" // string | The unique ID of the Kubernetes node pool.
        kubernetesNodePool := *openapiclient.NewKubernetesNodePoolForPut(*openapiclient.NewKubernetesNodePoolPropertiesForPut(int32(2))) // KubernetesNodePoolForPut | Details of the Kubernetes Node Pool
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.KubernetesApi.K8sNodepoolsPut(context.Background(), k8sClusterId, nodepoolId).KubernetesNodePool(kubernetesNodePool).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `KubernetesApi.K8sNodepoolsPut``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `K8sNodepoolsPut`: KubernetesNodePool
        fmt.Fprintf(os.Stdout, "Response from `KubernetesApi.K8sNodepoolsPut`: %v\n", resp)
    }
    var result KubernetesCluster = K8sPost(ctx)
                          .KubernetesCluster(kubernetesCluster)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        kubernetesCluster := *openapiclient.NewKubernetesClusterForPost(*openapiclient.NewKubernetesClusterPropertiesForPost("k8s")) // KubernetesClusterForPost | The Kubernetes cluster to create.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.KubernetesApi.K8sPost(context.Background()).KubernetesCluster(kubernetesCluster).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `KubernetesApi.K8sPost``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `K8sPost`: KubernetesCluster
        fmt.Fprintf(os.Stdout, "Response from `KubernetesApi.K8sPost`: %v\n", resp)
    }
    var result KubernetesCluster = K8sPut(ctx, k8sClusterId)
                          .KubernetesCluster(kubernetesCluster)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        k8sClusterId := "k8sClusterId_example" // string | The unique ID of the Kubernetes cluster.
        kubernetesCluster := *openapiclient.NewKubernetesClusterForPut(*openapiclient.NewKubernetesClusterPropertiesForPut("k8s")) // KubernetesClusterForPut | The modified Kubernetes cluster.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.KubernetesApi.K8sPut(context.Background(), k8sClusterId).KubernetesCluster(kubernetesCluster).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `KubernetesApi.K8sPut``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `K8sPut`: KubernetesCluster
        fmt.Fprintf(os.Stdout, "Response from `KubernetesApi.K8sPut`: %v\n", resp)
    }
    var result string = K8sVersionsDefaultGet(ctx)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.KubernetesApi.K8sVersionsDefaultGet(context.Background()).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `KubernetesApi.K8sVersionsDefaultGet``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `K8sVersionsDefaultGet`: string
        fmt.Fprintf(os.Stdout, "Response from `KubernetesApi.K8sVersionsDefaultGet`: %v\n", resp)
    }
    var result []string = K8sVersionsGet(ctx)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.KubernetesApi.K8sVersionsGet(context.Background()).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `KubernetesApi.K8sVersionsGet``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `K8sVersionsGet`: []string
        fmt.Fprintf(os.Stdout, "Response from `KubernetesApi.K8sVersionsGet`: %v\n", resp)
    }

    nodeId

    string

    The unique ID of the Kubernetes node.

    nodeId

    string

    The unique ID of the Kubernetes node.

    nodeId

    string

    The unique ID of the Kubernetes node.

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    K8sKubeconfigGet
    K8sNodepoolsDelete
    K8sNodepoolsFindById
    K8sNodepoolsGet
    K8sNodepoolsNodesDelete
    K8sNodepoolsNodesFindById
    K8sNodepoolsNodesGet
    K8sNodepoolsNodesReplacePost
    K8sNodepoolsPost
    K8sNodepoolsPut
    K8sPost
    K8sPut
    K8sVersionsDefaultGet
    K8sVersionsGet
    KubernetesNodePoolForPost
    KubernetesNodePoolForPut
    KubernetesClusterForPost
    KubernetesClusterForPut

    NATGatewaysApi

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

    Method
    HTTP request
    Description

    Delete /datacenters/{datacenterId}/natgateways/{natGatewayId}

    Delete NAT Gateways

    Get /datacenters/{datacenterId}/natgateways/{natGatewayId}

    Retrieve NAT Gateways

    hashtag
    DatacentersNatgatewaysDelete

    Delete NAT Gateways

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersNatgatewaysDeleteRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    (empty response body)

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    DatacentersNatgatewaysFindByNatGatewayId

    Retrieve NAT Gateways

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersNatgatewaysFindByNatGatewayIdRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    DatacentersNatgatewaysFlowlogsDelete

    Delete NAT Gateway Flow Logs

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersNatgatewaysFlowlogsDeleteRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    (empty response body)

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    DatacentersNatgatewaysFlowlogsFindByFlowLogId

    Retrieve NAT Gateway Flow Logs

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersNatgatewaysFlowlogsFindByFlowLogIdRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    DatacentersNatgatewaysFlowlogsGet

    List NAT Gateway Flow Logs

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersNatgatewaysFlowlogsGetRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    DatacentersNatgatewaysFlowlogsPatch

    Partially modify NAT Gateway Flow Logs

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersNatgatewaysFlowlogsPatchRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    DatacentersNatgatewaysFlowlogsPost

    Create a NAT Gateway Flow Log

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersNatgatewaysFlowlogsPostRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: application/json

    • Accept: application/json

    hashtag
    DatacentersNatgatewaysFlowlogsPut

    Modify NAT Gateway Flow Logs

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersNatgatewaysFlowlogsPutRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: application/json

    • Accept: application/json

    hashtag
    DatacentersNatgatewaysGet

    List NAT Gateways

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersNatgatewaysGetRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    DatacentersNatgatewaysPatch

    Partially modify NAT Gateways

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersNatgatewaysPatchRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    DatacentersNatgatewaysPost

    Create a NAT Gateway

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersNatgatewaysPostRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: application/json

    • Accept: application/json

    hashtag
    DatacentersNatgatewaysPut

    Modify NAT Gateways

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersNatgatewaysPutRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: application/json

    • Accept: application/json

    hashtag
    DatacentersNatgatewaysRulesDelete

    Delete NAT Gateway rules

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersNatgatewaysRulesDeleteRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    (empty response body)

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    DatacentersNatgatewaysRulesFindByNatGatewayRuleId

    Retrieve NAT Gateway rules

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersNatgatewaysRulesFindByNatGatewayRuleIdRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    DatacentersNatgatewaysRulesGet

    List NAT Gateway rules

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersNatgatewaysRulesGetRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    DatacentersNatgatewaysRulesPatch

    Partially Modify a NAT Gateway Rule by ID

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersNatgatewaysRulesPatchRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    DatacentersNatgatewaysRulesPost

    Create a NAT Gateway Rule

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersNatgatewaysRulesPostRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: application/json

    • Accept: application/json

    hashtag
    DatacentersNatgatewaysRulesPut

    Modify a NAT Gateway Rule by ID

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersNatgatewaysRulesPutRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: application/json

    • Accept: application/json

    flowLogId

    string

    The unique ID of the Flow Log.

    flowLogId

    string

    The unique ID of the Flow Log.

    limit

    int32

    The maximum number of elements to return (use together with offset for pagination).

    [default to 1000]

    flowLogId

    string

    The unique ID of the Flow Log.

    flowLogId

    string

    The unique ID of the Flow Log.

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    natGatewayRuleId

    string

    The unique ID of the NAT Gateway rule.

    natGatewayRuleId

    string

    The unique ID of the NAT Gateway rule.

    natGatewayRuleId

    string

    The unique ID of the NAT Gateway rule.

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    natGatewayRuleId

    string

    The unique ID of the NAT Gateway rule.

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    Delete /datacenters/{datacenterId}/natgateways/{natGatewayId}/flowlogs/{flowLogId}

    Delete NAT Gateway Flow Logs

    DatacentersNatgatewaysFlowlogsFindByFlowLogId

    Get /datacenters/{datacenterId}/natgateways/{natGatewayId}/flowlogs/{flowLogId}

    Retrieve NAT Gateway Flow Logs

    DatacentersNatgatewaysFlowlogsGet

    Get /datacenters/{datacenterId}/natgateways/{natGatewayId}/flowlogs

    List NAT Gateway Flow Logs

    DatacentersNatgatewaysFlowlogsPatch

    Patch /datacenters/{datacenterId}/natgateways/{natGatewayId}/flowlogs/{flowLogId}

    Partially modify NAT Gateway Flow Logs

    DatacentersNatgatewaysFlowlogsPost

    Post /datacenters/{datacenterId}/natgateways/{natGatewayId}/flowlogs

    Create a NAT Gateway Flow Log

    DatacentersNatgatewaysFlowlogsPut

    Put /datacenters/{datacenterId}/natgateways/{natGatewayId}/flowlogs/{flowLogId}

    Modify NAT Gateway Flow Logs

    DatacentersNatgatewaysGet

    Get /datacenters/{datacenterId}/natgateways

    List NAT Gateways

    DatacentersNatgatewaysPatch

    Patch /datacenters/{datacenterId}/natgateways/{natGatewayId}

    Partially modify NAT Gateways

    DatacentersNatgatewaysPost

    Post /datacenters/{datacenterId}/natgateways

    Create a NAT Gateway

    DatacentersNatgatewaysPut

    Put /datacenters/{datacenterId}/natgateways/{natGatewayId}

    Modify NAT Gateways

    DatacentersNatgatewaysRulesDelete

    Delete /datacenters/{datacenterId}/natgateways/{natGatewayId}/rules/{natGatewayRuleId}

    Delete NAT Gateway rules

    DatacentersNatgatewaysRulesFindByNatGatewayRuleId

    Get /datacenters/{datacenterId}/natgateways/{natGatewayId}/rules/{natGatewayRuleId}

    Retrieve NAT Gateway rules

    DatacentersNatgatewaysRulesGet

    Get /datacenters/{datacenterId}/natgateways/{natGatewayId}/rules

    List NAT Gateway rules

    DatacentersNatgatewaysRulesPatch

    Patch /datacenters/{datacenterId}/natgateways/{natGatewayId}/rules/{natGatewayRuleId}

    Partially Modify a NAT Gateway Rule by ID

    DatacentersNatgatewaysRulesPost

    Post /datacenters/{datacenterId}/natgateways/{natGatewayId}/rules

    Create a NAT Gateway Rule

    DatacentersNatgatewaysRulesPut

    Put /datacenters/{datacenterId}/natgateways/{natGatewayId}/rules/{natGatewayRuleId}

    Modify a NAT Gateway Rule by ID

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    natGatewayId

    string

    The unique ID of the NAT Gateway.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    natGatewayId

    string

    The unique ID of the NAT Gateway.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    natGatewayId

    string

    The unique ID of the NAT Gateway.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    natGatewayId

    string

    The unique ID of the NAT Gateway.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    natGatewayId

    string

    The unique ID of the NAT Gateway.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    offset

    int32

    The first element (from the complete list of the elements) to include in the response (used together with <b><i>limit</i></b> for pagination).

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    natGatewayId

    string

    The unique ID of the NAT Gateway.

    natGatewayFlowLogProperties

    FlowLogProperties

    The properties of the Flow Log to be updated.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    natGatewayId

    string

    The unique ID of the NAT Gateway.

    natGatewayFlowLog

    FlowLog

    The Flow Log to create.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    natGatewayId

    string

    The unique ID of the NAT Gateway.

    natGatewayFlowLog

    FlowLogPut

    The modified NAT Gateway Flow Log.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    natGatewayId

    string

    The unique ID of the NAT Gateway.

    natGatewayProperties

    NatGatewayProperties

    The properties of the NAT Gateway to be updated.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    natGateway

    NatGateway

    The NAT Gateway to create.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    natGatewayId

    string

    The unique ID of the NAT Gateway.

    natGateway

    NatGatewayPut

    The modified NAT Gateway.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    natGatewayId

    string

    The unique ID of the NAT Gateway.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    natGatewayId

    string

    The unique ID of the NAT Gateway.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    natGatewayId

    string

    The unique ID of the NAT Gateway.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    natGatewayId

    string

    The unique ID of the NAT Gateway.

    natGatewayRuleProperties

    NatGatewayRuleProperties

    The properties of the NAT Gateway rule to be updated.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    natGatewayId

    string

    The unique ID of the NAT Gateway.

    natGatewayRule

    NatGatewayRule

    The NAT Gateway rule to create.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    natGatewayId

    string

    The unique ID of the NAT Gateway.

    natGatewayRule

    NatGatewayRulePut

    The modified NAT Gateway rule.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    NatGateway
    FlowLog
    FlowLogs
    FlowLog
    FlowLog
    FlowLog
    NatGateways
    NatGateway
    NatGateway
    NatGateway
    NatGatewayRule
    NatGatewayRules
    NatGatewayRule
    NatGatewayRule
    NatGatewayRule
    DatacentersNatgatewaysDelete
    DatacentersNatgatewaysFindByNatGatewayId
    DatacentersNatgatewaysFlowlogsDelete

    [default to 0]

    [default to 0]

    [default to 0]

    [default to 0]

    [default to 0]

    [default to 0]

    [default to 0]

    [default to 0]

    [default to 0]

    [default to 0]

    var result  = DatacentersNatgatewaysDelete(ctx, datacenterId, natGatewayId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        natGatewayId := "natGatewayId_example" // string | The unique ID of the NAT Gateway.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resp, err := apiClient.NATGatewaysApi.DatacentersNatgatewaysDelete(context.Background(), datacenterId, natGatewayId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `NATGatewaysApi.DatacentersNatgatewaysDelete``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
    }
    var result NatGateway = DatacentersNatgatewaysFindByNatGatewayId(ctx, datacenterId, natGatewayId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        natGatewayId := "natGatewayId_example" // string | The unique ID of the NAT Gateway.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.NATGatewaysApi.DatacentersNatgatewaysFindByNatGatewayId(context.Background(), datacenterId, natGatewayId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `NATGatewaysApi.DatacentersNatgatewaysFindByNatGatewayId``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersNatgatewaysFindByNatGatewayId`: NatGateway
        fmt.Fprintf(os.Stdout, "Response from `NATGatewaysApi.DatacentersNatgatewaysFindByNatGatewayId`: %v\n", resp)
    }
    var result  = DatacentersNatgatewaysFlowlogsDelete(ctx, datacenterId, natGatewayId, flowLogId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        natGatewayId := "natGatewayId_example" // string | The unique ID of the NAT Gateway.
        flowLogId := "flowLogId_example" // string | The unique ID of the Flow Log.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resp, err := apiClient.NATGatewaysApi.DatacentersNatgatewaysFlowlogsDelete(context.Background(), datacenterId, natGatewayId, flowLogId).Pretty(pretty).Depth(depth).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `NATGatewaysApi.DatacentersNatgatewaysFlowlogsDelete``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
    }
    var result FlowLog = DatacentersNatgatewaysFlowlogsFindByFlowLogId(ctx, datacenterId, natGatewayId, flowLogId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        natGatewayId := "natGatewayId_example" // string | The unique ID of the NAT Gateway.
        flowLogId := "flowLogId_example" // string | The unique ID of the Flow Log.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.NATGatewaysApi.DatacentersNatgatewaysFlowlogsFindByFlowLogId(context.Background(), datacenterId, natGatewayId, flowLogId).Pretty(pretty).Depth(depth).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `NATGatewaysApi.DatacentersNatgatewaysFlowlogsFindByFlowLogId``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersNatgatewaysFlowlogsFindByFlowLogId`: FlowLog
        fmt.Fprintf(os.Stdout, "Response from `NATGatewaysApi.DatacentersNatgatewaysFlowlogsFindByFlowLogId`: %v\n", resp)
    }
    var result FlowLogs = DatacentersNatgatewaysFlowlogsGet(ctx, datacenterId, natGatewayId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .Offset(offset)
                          .Limit(limit)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        natGatewayId := "natGatewayId_example" // string | The unique ID of the NAT Gateway.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        offset := int32(56) // int32 | The first element (from the complete list of the elements) to include in the response (used together with <b><i>limit</i></b> for pagination). (optional) (default to 0)
        limit := int32(56) // int32 | The maximum number of elements to return (use together with offset for pagination). (optional) (default to 1000)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.NATGatewaysApi.DatacentersNatgatewaysFlowlogsGet(context.Background(), datacenterId, natGatewayId).Pretty(pretty).Depth(depth).Offset(offset).Limit(limit).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `NATGatewaysApi.DatacentersNatgatewaysFlowlogsGet``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersNatgatewaysFlowlogsGet`: FlowLogs
        fmt.Fprintf(os.Stdout, "Response from `NATGatewaysApi.DatacentersNatgatewaysFlowlogsGet`: %v\n", resp)
    }
    var result FlowLog = DatacentersNatgatewaysFlowlogsPatch(ctx, datacenterId, natGatewayId, flowLogId)
                          .NatGatewayFlowLogProperties(natGatewayFlowLogProperties)
                          .Pretty(pretty)
                          .Depth(depth)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        natGatewayId := "natGatewayId_example" // string | The unique ID of the NAT Gateway.
        flowLogId := "flowLogId_example" // string | The unique ID of the Flow Log.
        natGatewayFlowLogProperties := *openapiclient.NewFlowLogProperties("My resource", "ACCEPTED", "INGRESS", "bucketName/key") // FlowLogProperties | The properties of the Flow Log to be updated.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.NATGatewaysApi.DatacentersNatgatewaysFlowlogsPatch(context.Background(), datacenterId, natGatewayId, flowLogId).NatGatewayFlowLogProperties(natGatewayFlowLogProperties).Pretty(pretty).Depth(depth).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `NATGatewaysApi.DatacentersNatgatewaysFlowlogsPatch``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersNatgatewaysFlowlogsPatch`: FlowLog
        fmt.Fprintf(os.Stdout, "Response from `NATGatewaysApi.DatacentersNatgatewaysFlowlogsPatch`: %v\n", resp)
    }
    var result FlowLog = DatacentersNatgatewaysFlowlogsPost(ctx, datacenterId, natGatewayId)
                          .NatGatewayFlowLog(natGatewayFlowLog)
                          .Pretty(pretty)
                          .Depth(depth)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        natGatewayId := "natGatewayId_example" // string | The unique ID of the NAT Gateway.
        natGatewayFlowLog := *openapiclient.NewFlowLog(*openapiclient.NewFlowLogProperties("My resource", "ACCEPTED", "INGRESS", "bucketName/key")) // FlowLog | The Flow Log to create.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.NATGatewaysApi.DatacentersNatgatewaysFlowlogsPost(context.Background(), datacenterId, natGatewayId).NatGatewayFlowLog(natGatewayFlowLog).Pretty(pretty).Depth(depth).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `NATGatewaysApi.DatacentersNatgatewaysFlowlogsPost``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersNatgatewaysFlowlogsPost`: FlowLog
        fmt.Fprintf(os.Stdout, "Response from `NATGatewaysApi.DatacentersNatgatewaysFlowlogsPost`: %v\n", resp)
    }
    var result FlowLog = DatacentersNatgatewaysFlowlogsPut(ctx, datacenterId, natGatewayId, flowLogId)
                          .NatGatewayFlowLog(natGatewayFlowLog)
                          .Pretty(pretty)
                          .Depth(depth)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        natGatewayId := "natGatewayId_example" // string | The unique ID of the NAT Gateway.
        flowLogId := "flowLogId_example" // string | The unique ID of the Flow Log.
        natGatewayFlowLog := *openapiclient.NewFlowLogPut(*openapiclient.NewFlowLogProperties("My resource", "ACCEPTED", "INGRESS", "bucketName/key")) // FlowLogPut | The modified NAT Gateway Flow Log.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.NATGatewaysApi.DatacentersNatgatewaysFlowlogsPut(context.Background(), datacenterId, natGatewayId, flowLogId).NatGatewayFlowLog(natGatewayFlowLog).Pretty(pretty).Depth(depth).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `NATGatewaysApi.DatacentersNatgatewaysFlowlogsPut``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersNatgatewaysFlowlogsPut`: FlowLog
        fmt.Fprintf(os.Stdout, "Response from `NATGatewaysApi.DatacentersNatgatewaysFlowlogsPut`: %v\n", resp)
    }
    var result NatGateways = DatacentersNatgatewaysGet(ctx, datacenterId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.NATGatewaysApi.DatacentersNatgatewaysGet(context.Background(), datacenterId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `NATGatewaysApi.DatacentersNatgatewaysGet``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersNatgatewaysGet`: NatGateways
        fmt.Fprintf(os.Stdout, "Response from `NATGatewaysApi.DatacentersNatgatewaysGet`: %v\n", resp)
    }
    var result NatGateway = DatacentersNatgatewaysPatch(ctx, datacenterId, natGatewayId)
                          .NatGatewayProperties(natGatewayProperties)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        natGatewayId := "natGatewayId_example" // string | The unique ID of the NAT Gateway.
        natGatewayProperties := *openapiclient.NewNatGatewayProperties("My NAT Gateway", []string{"PublicIps_example"}) // NatGatewayProperties | The properties of the NAT Gateway to be updated.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.NATGatewaysApi.DatacentersNatgatewaysPatch(context.Background(), datacenterId, natGatewayId).NatGatewayProperties(natGatewayProperties).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `NATGatewaysApi.DatacentersNatgatewaysPatch``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersNatgatewaysPatch`: NatGateway
        fmt.Fprintf(os.Stdout, "Response from `NATGatewaysApi.DatacentersNatgatewaysPatch`: %v\n", resp)
    }
    var result NatGateway = DatacentersNatgatewaysPost(ctx, datacenterId)
                          .NatGateway(natGateway)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        natGateway := *openapiclient.NewNatGateway(*openapiclient.NewNatGatewayProperties("My NAT Gateway", []string{"PublicIps_example"})) // NatGateway | The NAT Gateway to create.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.NATGatewaysApi.DatacentersNatgatewaysPost(context.Background(), datacenterId).NatGateway(natGateway).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `NATGatewaysApi.DatacentersNatgatewaysPost``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersNatgatewaysPost`: NatGateway
        fmt.Fprintf(os.Stdout, "Response from `NATGatewaysApi.DatacentersNatgatewaysPost`: %v\n", resp)
    }
    var result NatGateway = DatacentersNatgatewaysPut(ctx, datacenterId, natGatewayId)
                          .NatGateway(natGateway)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        natGatewayId := "natGatewayId_example" // string | The unique ID of the NAT Gateway.
        natGateway := *openapiclient.NewNatGatewayPut(*openapiclient.NewNatGatewayProperties("My NAT Gateway", []string{"PublicIps_example"})) // NatGatewayPut | The modified NAT Gateway.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.NATGatewaysApi.DatacentersNatgatewaysPut(context.Background(), datacenterId, natGatewayId).NatGateway(natGateway).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `NATGatewaysApi.DatacentersNatgatewaysPut``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersNatgatewaysPut`: NatGateway
        fmt.Fprintf(os.Stdout, "Response from `NATGatewaysApi.DatacentersNatgatewaysPut`: %v\n", resp)
    }
    var result  = DatacentersNatgatewaysRulesDelete(ctx, datacenterId, natGatewayId, natGatewayRuleId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        natGatewayId := "natGatewayId_example" // string | The unique ID of the NAT Gateway.
        natGatewayRuleId := "natGatewayRuleId_example" // string | The unique ID of the NAT Gateway rule.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resp, err := apiClient.NATGatewaysApi.DatacentersNatgatewaysRulesDelete(context.Background(), datacenterId, natGatewayId, natGatewayRuleId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `NATGatewaysApi.DatacentersNatgatewaysRulesDelete``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
    }
    var result NatGatewayRule = DatacentersNatgatewaysRulesFindByNatGatewayRuleId(ctx, datacenterId, natGatewayId, natGatewayRuleId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        natGatewayId := "natGatewayId_example" // string | The unique ID of the NAT Gateway.
        natGatewayRuleId := "natGatewayRuleId_example" // string | The unique ID of the NAT Gateway rule.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.NATGatewaysApi.DatacentersNatgatewaysRulesFindByNatGatewayRuleId(context.Background(), datacenterId, natGatewayId, natGatewayRuleId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `NATGatewaysApi.DatacentersNatgatewaysRulesFindByNatGatewayRuleId``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersNatgatewaysRulesFindByNatGatewayRuleId`: NatGatewayRule
        fmt.Fprintf(os.Stdout, "Response from `NATGatewaysApi.DatacentersNatgatewaysRulesFindByNatGatewayRuleId`: %v\n", resp)
    }
    var result NatGatewayRules = DatacentersNatgatewaysRulesGet(ctx, datacenterId, natGatewayId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        natGatewayId := "natGatewayId_example" // string | The unique ID of the NAT Gateway.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.NATGatewaysApi.DatacentersNatgatewaysRulesGet(context.Background(), datacenterId, natGatewayId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `NATGatewaysApi.DatacentersNatgatewaysRulesGet``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersNatgatewaysRulesGet`: NatGatewayRules
        fmt.Fprintf(os.Stdout, "Response from `NATGatewaysApi.DatacentersNatgatewaysRulesGet`: %v\n", resp)
    }
    var result NatGatewayRule = DatacentersNatgatewaysRulesPatch(ctx, datacenterId, natGatewayId, natGatewayRuleId)
                          .NatGatewayRuleProperties(natGatewayRuleProperties)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        natGatewayId := "natGatewayId_example" // string | The unique ID of the NAT Gateway.
        natGatewayRuleId := "natGatewayRuleId_example" // string | The unique ID of the NAT Gateway rule.
        natGatewayRuleProperties := *openapiclient.NewNatGatewayRuleProperties("My NAT Gateway rule", "10.0.1.0/24", "192.18.7.17") // NatGatewayRuleProperties | The properties of the NAT Gateway rule to be updated.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.NATGatewaysApi.DatacentersNatgatewaysRulesPatch(context.Background(), datacenterId, natGatewayId, natGatewayRuleId).NatGatewayRuleProperties(natGatewayRuleProperties).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `NATGatewaysApi.DatacentersNatgatewaysRulesPatch``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersNatgatewaysRulesPatch`: NatGatewayRule
        fmt.Fprintf(os.Stdout, "Response from `NATGatewaysApi.DatacentersNatgatewaysRulesPatch`: %v\n", resp)
    }
    var result NatGatewayRule = DatacentersNatgatewaysRulesPost(ctx, datacenterId, natGatewayId)
                          .NatGatewayRule(natGatewayRule)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        natGatewayId := "natGatewayId_example" // string | The unique ID of the NAT Gateway.
        natGatewayRule := *openapiclient.NewNatGatewayRule(*openapiclient.NewNatGatewayRuleProperties("My NAT Gateway rule", "10.0.1.0/24", "192.18.7.17")) // NatGatewayRule | The NAT Gateway rule to create.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.NATGatewaysApi.DatacentersNatgatewaysRulesPost(context.Background(), datacenterId, natGatewayId).NatGatewayRule(natGatewayRule).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `NATGatewaysApi.DatacentersNatgatewaysRulesPost``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersNatgatewaysRulesPost`: NatGatewayRule
        fmt.Fprintf(os.Stdout, "Response from `NATGatewaysApi.DatacentersNatgatewaysRulesPost`: %v\n", resp)
    }
    var result NatGatewayRule = DatacentersNatgatewaysRulesPut(ctx, datacenterId, natGatewayId, natGatewayRuleId)
                          .NatGatewayRule(natGatewayRule)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        natGatewayId := "natGatewayId_example" // string | The unique ID of the NAT Gateway.
        natGatewayRuleId := "natGatewayRuleId_example" // string | The unique ID of the NAT Gateway rule.
        natGatewayRule := *openapiclient.NewNatGatewayRulePut(*openapiclient.NewNatGatewayRuleProperties("My NAT Gateway rule", "10.0.1.0/24", "192.18.7.17")) // NatGatewayRulePut | The modified NAT Gateway rule.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.NATGatewaysApi.DatacentersNatgatewaysRulesPut(context.Background(), datacenterId, natGatewayId, natGatewayRuleId).NatGatewayRule(natGatewayRule).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `NATGatewaysApi.DatacentersNatgatewaysRulesPut``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersNatgatewaysRulesPut`: NatGatewayRule
        fmt.Fprintf(os.Stdout, "Response from `NATGatewaysApi.DatacentersNatgatewaysRulesPut`: %v\n", resp)
    }

    NetworkLoadBalancersApi

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

    Method
    HTTP request
    Description

    Delete /datacenters/{datacenterId}/networkloadbalancers/{networkLoadBalancerId}

    Delete Network Load Balancers

    Get /datacenters/{datacenterId}/networkloadbalancers/{networkLoadBalancerId}

    Retrieve Network Load Balancers

    hashtag
    DatacentersNetworkloadbalancersDelete

    Delete Network Load Balancers

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersNetworkloadbalancersDeleteRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    (empty response body)

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    DatacentersNetworkloadbalancersFindByNetworkLoadBalancerId

    Retrieve Network Load Balancers

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersNetworkloadbalancersFindByNetworkLoadBalancerIdRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    DatacentersNetworkloadbalancersFlowlogsDelete

    Delete NLB Flow Logs

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersNetworkloadbalancersFlowlogsDeleteRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    (empty response body)

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    DatacentersNetworkloadbalancersFlowlogsFindByFlowLogId

    Retrieve NLB Flow Logs

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersNetworkloadbalancersFlowlogsFindByFlowLogIdRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    DatacentersNetworkloadbalancersFlowlogsGet

    List NLB Flow Logs

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersNetworkloadbalancersFlowlogsGetRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    DatacentersNetworkloadbalancersFlowlogsPatch

    Partially modify NLB Flow Logs

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersNetworkloadbalancersFlowlogsPatchRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    DatacentersNetworkloadbalancersFlowlogsPost

    Create a NLB Flow Log

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersNetworkloadbalancersFlowlogsPostRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: application/json

    • Accept: application/json

    hashtag
    DatacentersNetworkloadbalancersFlowlogsPut

    Modify NLB Flow Logs

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersNetworkloadbalancersFlowlogsPutRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: application/json

    • Accept: application/json

    hashtag
    DatacentersNetworkloadbalancersForwardingrulesDelete

    Delete NLB forwarding rules

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersNetworkloadbalancersForwardingrulesDeleteRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    (empty response body)

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    DatacentersNetworkloadbalancersForwardingrulesFindByForwardingRuleId

    Retrieve NLB forwarding rules

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersNetworkloadbalancersForwardingrulesFindByForwardingRuleIdRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    DatacentersNetworkloadbalancersForwardingrulesGet

    List NLB forwarding rules

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersNetworkloadbalancersForwardingrulesGetRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    DatacentersNetworkloadbalancersForwardingrulesPatch

    Partially modify NLB forwarding rules

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersNetworkloadbalancersForwardingrulesPatchRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    DatacentersNetworkloadbalancersForwardingrulesPost

    Create a NLB Forwarding Rule

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersNetworkloadbalancersForwardingrulesPostRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: application/json

    • Accept: application/json

    hashtag
    DatacentersNetworkloadbalancersForwardingrulesPut

    Modify NLB forwarding rules

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersNetworkloadbalancersForwardingrulesPutRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: application/json

    • Accept: application/json

    hashtag
    DatacentersNetworkloadbalancersGet

    List Network Load Balancers

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersNetworkloadbalancersGetRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    DatacentersNetworkloadbalancersPatch

    Partially modify Network Load Balancers

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersNetworkloadbalancersPatchRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    DatacentersNetworkloadbalancersPost

    Create a Network Load Balancer

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersNetworkloadbalancersPostRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: application/json

    • Accept: application/json

    hashtag
    DatacentersNetworkloadbalancersPut

    Modify Network Load Balancers

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersNetworkloadbalancersPutRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: application/json

    • Accept: application/json

    flowLogId

    string

    The unique ID of the Flow Log.

    flowLogId

    string

    The unique ID of the Flow Log.

    flowLogId

    string

    The unique ID of the Flow Log.

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    flowLogId

    string

    The unique ID of the Flow Log.

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    forwardingRuleId

    string

    The unique ID of the forwarding rule.

    forwardingRuleId

    string

    The unique ID of the forwarding rule.

    forwardingRuleId

    string

    The unique ID of the forwarding rule.

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    forwardingRuleId

    string

    The unique ID of the forwarding rule.

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    offset

    int32

    The first element (from the complete list of the elements) to include in the response (used together with <b><i>limit</i></b> for pagination).

    [default to 0]

    limit

    int32

    The maximum number of elements to return (use together with offset for pagination).

    [default to 1000]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    Delete /datacenters/{datacenterId}/networkloadbalancers/{networkLoadBalancerId}/flowlogs/{flowLogId}

    Delete NLB Flow Logs

    DatacentersNetworkloadbalancersFlowlogsFindByFlowLogId

    Get /datacenters/{datacenterId}/networkloadbalancers/{networkLoadBalancerId}/flowlogs/{flowLogId}

    Retrieve NLB Flow Logs

    DatacentersNetworkloadbalancersFlowlogsGet

    Get /datacenters/{datacenterId}/networkloadbalancers/{networkLoadBalancerId}/flowlogs

    List NLB Flow Logs

    DatacentersNetworkloadbalancersFlowlogsPatch

    Patch /datacenters/{datacenterId}/networkloadbalancers/{networkLoadBalancerId}/flowlogs/{flowLogId}

    Partially modify NLB Flow Logs

    DatacentersNetworkloadbalancersFlowlogsPost

    Post /datacenters/{datacenterId}/networkloadbalancers/{networkLoadBalancerId}/flowlogs

    Create a NLB Flow Log

    DatacentersNetworkloadbalancersFlowlogsPut

    Put /datacenters/{datacenterId}/networkloadbalancers/{networkLoadBalancerId}/flowlogs/{flowLogId}

    Modify NLB Flow Logs

    DatacentersNetworkloadbalancersForwardingrulesDelete

    Delete /datacenters/{datacenterId}/networkloadbalancers/{networkLoadBalancerId}/forwardingrules/{forwardingRuleId}

    Delete NLB forwarding rules

    DatacentersNetworkloadbalancersForwardingrulesFindByForwardingRuleId

    Get /datacenters/{datacenterId}/networkloadbalancers/{networkLoadBalancerId}/forwardingrules/{forwardingRuleId}

    Retrieve NLB forwarding rules

    DatacentersNetworkloadbalancersForwardingrulesGet

    Get /datacenters/{datacenterId}/networkloadbalancers/{networkLoadBalancerId}/forwardingrules

    List NLB forwarding rules

    DatacentersNetworkloadbalancersForwardingrulesPatch

    Patch /datacenters/{datacenterId}/networkloadbalancers/{networkLoadBalancerId}/forwardingrules/{forwardingRuleId}

    Partially modify NLB forwarding rules

    DatacentersNetworkloadbalancersForwardingrulesPost

    Post /datacenters/{datacenterId}/networkloadbalancers/{networkLoadBalancerId}/forwardingrules

    Create a NLB Forwarding Rule

    DatacentersNetworkloadbalancersForwardingrulesPut

    Put /datacenters/{datacenterId}/networkloadbalancers/{networkLoadBalancerId}/forwardingrules/{forwardingRuleId}

    Modify NLB forwarding rules

    DatacentersNetworkloadbalancersGet

    Get /datacenters/{datacenterId}/networkloadbalancers

    List Network Load Balancers

    DatacentersNetworkloadbalancersPatch

    Patch /datacenters/{datacenterId}/networkloadbalancers/{networkLoadBalancerId}

    Partially modify Network Load Balancers

    DatacentersNetworkloadbalancersPost

    Post /datacenters/{datacenterId}/networkloadbalancers

    Create a Network Load Balancer

    DatacentersNetworkloadbalancersPut

    Put /datacenters/{datacenterId}/networkloadbalancers/{networkLoadBalancerId}

    Modify Network Load Balancers

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    networkLoadBalancerId

    string

    The unique ID of the Network Load Balancer.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    networkLoadBalancerId

    string

    The unique ID of the Network Load Balancer.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    networkLoadBalancerId

    string

    The unique ID of the Network Load Balancer.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    networkLoadBalancerId

    string

    The unique ID of the Network Load Balancer.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    networkLoadBalancerId

    string

    The unique ID of the Network Load Balancer.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    networkLoadBalancerId

    string

    The unique ID of the Network Load Balancer.

    networkLoadBalancerFlowLogProperties

    FlowLogProperties

    The properties of the Flow Log to be updated.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    networkLoadBalancerId

    string

    The unique ID of the Network Load Balancer.

    networkLoadBalancerFlowLog

    FlowLog

    The Flow Log to create.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    networkLoadBalancerId

    string

    The unique ID of the Network Load Balancer.

    networkLoadBalancerFlowLog

    FlowLogPut

    The modified NLB Flow Log.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    networkLoadBalancerId

    string

    The unique ID of the Network Load Balancer.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    networkLoadBalancerId

    string

    The unique ID of the Network Load Balancer.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    networkLoadBalancerId

    string

    The unique ID of the Network Load Balancer.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    networkLoadBalancerId

    string

    The unique ID of the Network Load Balancer.

    networkLoadBalancerForwardingRuleProperties

    NetworkLoadBalancerForwardingRuleProperties

    The properties of the forwarding rule to be updated.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    networkLoadBalancerId

    string

    The unique ID of the Network Load Balancer.

    networkLoadBalancerForwardingRule

    NetworkLoadBalancerForwardingRule

    The forwarding rule to create.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    networkLoadBalancerId

    string

    The unique ID of the Network Load Balancer.

    networkLoadBalancerForwardingRule

    NetworkLoadBalancerForwardingRulePut

    The modified NLB forwarding rule.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    networkLoadBalancerId

    string

    The unique ID of the Network Load Balancer.

    networkLoadBalancerProperties

    NetworkLoadBalancerProperties

    The properties of the Network Load Balancer to be updated.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    networkLoadBalancer

    NetworkLoadBalancer

    The Network Load Balancer to create.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    networkLoadBalancerId

    string

    The unique ID of the Network Load Balancer.

    networkLoadBalancer

    NetworkLoadBalancerPut

    The modified Network Load Balancer.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    NetworkLoadBalancer
    FlowLog
    FlowLogs
    FlowLog
    FlowLog
    FlowLog
    NetworkLoadBalancerForwardingRule
    NetworkLoadBalancerForwardingRules
    NetworkLoadBalancerForwardingRule
    NetworkLoadBalancerForwardingRule
    NetworkLoadBalancerForwardingRule
    NetworkLoadBalancers
    NetworkLoadBalancer
    NetworkLoadBalancer
    NetworkLoadBalancer
    DatacentersNetworkloadbalancersDelete
    DatacentersNetworkloadbalancersFindByNetworkLoadBalancerId
    DatacentersNetworkloadbalancersFlowlogsDelete

    [default to 0]

    [default to 0]

    [default to 0]

    [default to 0]

    [default to 0]

    [default to 0]

    [default to 0]

    [default to 0]

    [default to 0]

    var result  = DatacentersNetworkloadbalancersDelete(ctx, datacenterId, networkLoadBalancerId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        networkLoadBalancerId := "networkLoadBalancerId_example" // string | The unique ID of the Network Load Balancer.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resp, err := apiClient.NetworkLoadBalancersApi.DatacentersNetworkloadbalancersDelete(context.Background(), datacenterId, networkLoadBalancerId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `NetworkLoadBalancersApi.DatacentersNetworkloadbalancersDelete``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
    }
    var result NetworkLoadBalancer = DatacentersNetworkloadbalancersFindByNetworkLoadBalancerId(ctx, datacenterId, networkLoadBalancerId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        networkLoadBalancerId := "networkLoadBalancerId_example" // string | The unique ID of the Network Load Balancer.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.NetworkLoadBalancersApi.DatacentersNetworkloadbalancersFindByNetworkLoadBalancerId(context.Background(), datacenterId, networkLoadBalancerId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `NetworkLoadBalancersApi.DatacentersNetworkloadbalancersFindByNetworkLoadBalancerId``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersNetworkloadbalancersFindByNetworkLoadBalancerId`: NetworkLoadBalancer
        fmt.Fprintf(os.Stdout, "Response from `NetworkLoadBalancersApi.DatacentersNetworkloadbalancersFindByNetworkLoadBalancerId`: %v\n", resp)
    }
    var result  = DatacentersNetworkloadbalancersFlowlogsDelete(ctx, datacenterId, networkLoadBalancerId, flowLogId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        networkLoadBalancerId := "networkLoadBalancerId_example" // string | The unique ID of the Network Load Balancer.
        flowLogId := "flowLogId_example" // string | The unique ID of the Flow Log.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resp, err := apiClient.NetworkLoadBalancersApi.DatacentersNetworkloadbalancersFlowlogsDelete(context.Background(), datacenterId, networkLoadBalancerId, flowLogId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `NetworkLoadBalancersApi.DatacentersNetworkloadbalancersFlowlogsDelete``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
    }
    var result FlowLog = DatacentersNetworkloadbalancersFlowlogsFindByFlowLogId(ctx, datacenterId, networkLoadBalancerId, flowLogId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        networkLoadBalancerId := "networkLoadBalancerId_example" // string | The unique ID of the Network Load Balancer.
        flowLogId := "flowLogId_example" // string | The unique ID of the Flow Log.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.NetworkLoadBalancersApi.DatacentersNetworkloadbalancersFlowlogsFindByFlowLogId(context.Background(), datacenterId, networkLoadBalancerId, flowLogId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `NetworkLoadBalancersApi.DatacentersNetworkloadbalancersFlowlogsFindByFlowLogId``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersNetworkloadbalancersFlowlogsFindByFlowLogId`: FlowLog
        fmt.Fprintf(os.Stdout, "Response from `NetworkLoadBalancersApi.DatacentersNetworkloadbalancersFlowlogsFindByFlowLogId`: %v\n", resp)
    }
    var result FlowLogs = DatacentersNetworkloadbalancersFlowlogsGet(ctx, datacenterId, networkLoadBalancerId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        networkLoadBalancerId := "networkLoadBalancerId_example" // string | The unique ID of the Network Load Balancer.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.NetworkLoadBalancersApi.DatacentersNetworkloadbalancersFlowlogsGet(context.Background(), datacenterId, networkLoadBalancerId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `NetworkLoadBalancersApi.DatacentersNetworkloadbalancersFlowlogsGet``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersNetworkloadbalancersFlowlogsGet`: FlowLogs
        fmt.Fprintf(os.Stdout, "Response from `NetworkLoadBalancersApi.DatacentersNetworkloadbalancersFlowlogsGet`: %v\n", resp)
    }
    var result FlowLog = DatacentersNetworkloadbalancersFlowlogsPatch(ctx, datacenterId, networkLoadBalancerId, flowLogId)
                          .NetworkLoadBalancerFlowLogProperties(networkLoadBalancerFlowLogProperties)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        networkLoadBalancerId := "networkLoadBalancerId_example" // string | The unique ID of the Network Load Balancer.
        flowLogId := "flowLogId_example" // string | The unique ID of the Flow Log.
        networkLoadBalancerFlowLogProperties := *openapiclient.NewFlowLogProperties("My resource", "ACCEPTED", "INGRESS", "bucketName/key") // FlowLogProperties | The properties of the Flow Log to be updated.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.NetworkLoadBalancersApi.DatacentersNetworkloadbalancersFlowlogsPatch(context.Background(), datacenterId, networkLoadBalancerId, flowLogId).NetworkLoadBalancerFlowLogProperties(networkLoadBalancerFlowLogProperties).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `NetworkLoadBalancersApi.DatacentersNetworkloadbalancersFlowlogsPatch``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersNetworkloadbalancersFlowlogsPatch`: FlowLog
        fmt.Fprintf(os.Stdout, "Response from `NetworkLoadBalancersApi.DatacentersNetworkloadbalancersFlowlogsPatch`: %v\n", resp)
    }
    var result FlowLog = DatacentersNetworkloadbalancersFlowlogsPost(ctx, datacenterId, networkLoadBalancerId)
                          .NetworkLoadBalancerFlowLog(networkLoadBalancerFlowLog)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        networkLoadBalancerId := "networkLoadBalancerId_example" // string | The unique ID of the Network Load Balancer.
        networkLoadBalancerFlowLog := *openapiclient.NewFlowLog(*openapiclient.NewFlowLogProperties("My resource", "ACCEPTED", "INGRESS", "bucketName/key")) // FlowLog | The Flow Log to create.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.NetworkLoadBalancersApi.DatacentersNetworkloadbalancersFlowlogsPost(context.Background(), datacenterId, networkLoadBalancerId).NetworkLoadBalancerFlowLog(networkLoadBalancerFlowLog).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `NetworkLoadBalancersApi.DatacentersNetworkloadbalancersFlowlogsPost``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersNetworkloadbalancersFlowlogsPost`: FlowLog
        fmt.Fprintf(os.Stdout, "Response from `NetworkLoadBalancersApi.DatacentersNetworkloadbalancersFlowlogsPost`: %v\n", resp)
    }
    var result FlowLog = DatacentersNetworkloadbalancersFlowlogsPut(ctx, datacenterId, networkLoadBalancerId, flowLogId)
                          .NetworkLoadBalancerFlowLog(networkLoadBalancerFlowLog)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        networkLoadBalancerId := "networkLoadBalancerId_example" // string | The unique ID of the Network Load Balancer.
        flowLogId := "flowLogId_example" // string | The unique ID of the Flow Log.
        networkLoadBalancerFlowLog := *openapiclient.NewFlowLogPut(*openapiclient.NewFlowLogProperties("My resource", "ACCEPTED", "INGRESS", "bucketName/key")) // FlowLogPut | The modified NLB Flow Log.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.NetworkLoadBalancersApi.DatacentersNetworkloadbalancersFlowlogsPut(context.Background(), datacenterId, networkLoadBalancerId, flowLogId).NetworkLoadBalancerFlowLog(networkLoadBalancerFlowLog).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `NetworkLoadBalancersApi.DatacentersNetworkloadbalancersFlowlogsPut``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersNetworkloadbalancersFlowlogsPut`: FlowLog
        fmt.Fprintf(os.Stdout, "Response from `NetworkLoadBalancersApi.DatacentersNetworkloadbalancersFlowlogsPut`: %v\n", resp)
    }
    var result  = DatacentersNetworkloadbalancersForwardingrulesDelete(ctx, datacenterId, networkLoadBalancerId, forwardingRuleId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        networkLoadBalancerId := "networkLoadBalancerId_example" // string | The unique ID of the Network Load Balancer.
        forwardingRuleId := "forwardingRuleId_example" // string | The unique ID of the forwarding rule.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resp, err := apiClient.NetworkLoadBalancersApi.DatacentersNetworkloadbalancersForwardingrulesDelete(context.Background(), datacenterId, networkLoadBalancerId, forwardingRuleId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `NetworkLoadBalancersApi.DatacentersNetworkloadbalancersForwardingrulesDelete``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
    }
    var result NetworkLoadBalancerForwardingRule = DatacentersNetworkloadbalancersForwardingrulesFindByForwardingRuleId(ctx, datacenterId, networkLoadBalancerId, forwardingRuleId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        networkLoadBalancerId := "networkLoadBalancerId_example" // string | The unique ID of the Network Load Balancer.
        forwardingRuleId := "forwardingRuleId_example" // string | The unique ID of the forwarding rule.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.NetworkLoadBalancersApi.DatacentersNetworkloadbalancersForwardingrulesFindByForwardingRuleId(context.Background(), datacenterId, networkLoadBalancerId, forwardingRuleId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `NetworkLoadBalancersApi.DatacentersNetworkloadbalancersForwardingrulesFindByForwardingRuleId``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersNetworkloadbalancersForwardingrulesFindByForwardingRuleId`: NetworkLoadBalancerForwardingRule
        fmt.Fprintf(os.Stdout, "Response from `NetworkLoadBalancersApi.DatacentersNetworkloadbalancersForwardingrulesFindByForwardingRuleId`: %v\n", resp)
    }
    var result NetworkLoadBalancerForwardingRules = DatacentersNetworkloadbalancersForwardingrulesGet(ctx, datacenterId, networkLoadBalancerId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        networkLoadBalancerId := "networkLoadBalancerId_example" // string | The unique ID of the Network Load Balancer.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.NetworkLoadBalancersApi.DatacentersNetworkloadbalancersForwardingrulesGet(context.Background(), datacenterId, networkLoadBalancerId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `NetworkLoadBalancersApi.DatacentersNetworkloadbalancersForwardingrulesGet``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersNetworkloadbalancersForwardingrulesGet`: NetworkLoadBalancerForwardingRules
        fmt.Fprintf(os.Stdout, "Response from `NetworkLoadBalancersApi.DatacentersNetworkloadbalancersForwardingrulesGet`: %v\n", resp)
    }
    var result NetworkLoadBalancerForwardingRule = DatacentersNetworkloadbalancersForwardingrulesPatch(ctx, datacenterId, networkLoadBalancerId, forwardingRuleId)
                          .NetworkLoadBalancerForwardingRuleProperties(networkLoadBalancerForwardingRuleProperties)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        networkLoadBalancerId := "networkLoadBalancerId_example" // string | The unique ID of the Network Load Balancer.
        forwardingRuleId := "forwardingRuleId_example" // string | The unique ID of the forwarding rule.
        networkLoadBalancerForwardingRuleProperties := *openapiclient.NewNetworkLoadBalancerForwardingRuleProperties("My Network Load Balancer forwarding rule", "ROUND_ROBIN", "HTTP", "81.173.1.2", int32(8080), []openapiclient.NetworkLoadBalancerForwardingRuleTarget{*openapiclient.NewNetworkLoadBalancerForwardingRuleTarget("22.231.2.2", int32(8080), int32(123))}) // NetworkLoadBalancerForwardingRuleProperties | The properties of the forwarding rule to be updated.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.NetworkLoadBalancersApi.DatacentersNetworkloadbalancersForwardingrulesPatch(context.Background(), datacenterId, networkLoadBalancerId, forwardingRuleId).NetworkLoadBalancerForwardingRuleProperties(networkLoadBalancerForwardingRuleProperties).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `NetworkLoadBalancersApi.DatacentersNetworkloadbalancersForwardingrulesPatch``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersNetworkloadbalancersForwardingrulesPatch`: NetworkLoadBalancerForwardingRule
        fmt.Fprintf(os.Stdout, "Response from `NetworkLoadBalancersApi.DatacentersNetworkloadbalancersForwardingrulesPatch`: %v\n", resp)
    }
    var result NetworkLoadBalancerForwardingRule = DatacentersNetworkloadbalancersForwardingrulesPost(ctx, datacenterId, networkLoadBalancerId)
                          .NetworkLoadBalancerForwardingRule(networkLoadBalancerForwardingRule)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        networkLoadBalancerId := "networkLoadBalancerId_example" // string | The unique ID of the Network Load Balancer.
        networkLoadBalancerForwardingRule := *openapiclient.NewNetworkLoadBalancerForwardingRule(*openapiclient.NewNetworkLoadBalancerForwardingRuleProperties("My Network Load Balancer forwarding rule", "ROUND_ROBIN", "HTTP", "81.173.1.2", int32(8080), []openapiclient.NetworkLoadBalancerForwardingRuleTarget{*openapiclient.NewNetworkLoadBalancerForwardingRuleTarget("22.231.2.2", int32(8080), int32(123))})) // NetworkLoadBalancerForwardingRule | The forwarding rule to create.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.NetworkLoadBalancersApi.DatacentersNetworkloadbalancersForwardingrulesPost(context.Background(), datacenterId, networkLoadBalancerId).NetworkLoadBalancerForwardingRule(networkLoadBalancerForwardingRule).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `NetworkLoadBalancersApi.DatacentersNetworkloadbalancersForwardingrulesPost``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersNetworkloadbalancersForwardingrulesPost`: NetworkLoadBalancerForwardingRule
        fmt.Fprintf(os.Stdout, "Response from `NetworkLoadBalancersApi.DatacentersNetworkloadbalancersForwardingrulesPost`: %v\n", resp)
    }
    var result NetworkLoadBalancerForwardingRule = DatacentersNetworkloadbalancersForwardingrulesPut(ctx, datacenterId, networkLoadBalancerId, forwardingRuleId)
                          .NetworkLoadBalancerForwardingRule(networkLoadBalancerForwardingRule)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        networkLoadBalancerId := "networkLoadBalancerId_example" // string | The unique ID of the Network Load Balancer.
        forwardingRuleId := "forwardingRuleId_example" // string | The unique ID of the forwarding rule.
        networkLoadBalancerForwardingRule := *openapiclient.NewNetworkLoadBalancerForwardingRulePut(*openapiclient.NewNetworkLoadBalancerForwardingRuleProperties("My Network Load Balancer forwarding rule", "ROUND_ROBIN", "HTTP", "81.173.1.2", int32(8080), []openapiclient.NetworkLoadBalancerForwardingRuleTarget{*openapiclient.NewNetworkLoadBalancerForwardingRuleTarget("22.231.2.2", int32(8080), int32(123))})) // NetworkLoadBalancerForwardingRulePut | The modified NLB forwarding rule.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.NetworkLoadBalancersApi.DatacentersNetworkloadbalancersForwardingrulesPut(context.Background(), datacenterId, networkLoadBalancerId, forwardingRuleId).NetworkLoadBalancerForwardingRule(networkLoadBalancerForwardingRule).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `NetworkLoadBalancersApi.DatacentersNetworkloadbalancersForwardingrulesPut``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersNetworkloadbalancersForwardingrulesPut`: NetworkLoadBalancerForwardingRule
        fmt.Fprintf(os.Stdout, "Response from `NetworkLoadBalancersApi.DatacentersNetworkloadbalancersForwardingrulesPut`: %v\n", resp)
    }
    var result NetworkLoadBalancers = DatacentersNetworkloadbalancersGet(ctx, datacenterId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Offset(offset)
                          .Limit(limit)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
        offset := int32(56) // int32 | The first element (from the complete list of the elements) to include in the response (used together with <b><i>limit</i></b> for pagination). (optional) (default to 0)
        limit := int32(56) // int32 | The maximum number of elements to return (use together with offset for pagination). (optional) (default to 1000)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.NetworkLoadBalancersApi.DatacentersNetworkloadbalancersGet(context.Background(), datacenterId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Offset(offset).Limit(limit).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `NetworkLoadBalancersApi.DatacentersNetworkloadbalancersGet``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersNetworkloadbalancersGet`: NetworkLoadBalancers
        fmt.Fprintf(os.Stdout, "Response from `NetworkLoadBalancersApi.DatacentersNetworkloadbalancersGet`: %v\n", resp)
    }
    var result NetworkLoadBalancer = DatacentersNetworkloadbalancersPatch(ctx, datacenterId, networkLoadBalancerId)
                          .NetworkLoadBalancerProperties(networkLoadBalancerProperties)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        networkLoadBalancerId := "networkLoadBalancerId_example" // string | The unique ID of the Network Load Balancer.
        networkLoadBalancerProperties := *openapiclient.NewNetworkLoadBalancerProperties("My Network Load Balancer", int32(1), int32(2)) // NetworkLoadBalancerProperties | The properties of the Network Load Balancer to be updated.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.NetworkLoadBalancersApi.DatacentersNetworkloadbalancersPatch(context.Background(), datacenterId, networkLoadBalancerId).NetworkLoadBalancerProperties(networkLoadBalancerProperties).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `NetworkLoadBalancersApi.DatacentersNetworkloadbalancersPatch``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersNetworkloadbalancersPatch`: NetworkLoadBalancer
        fmt.Fprintf(os.Stdout, "Response from `NetworkLoadBalancersApi.DatacentersNetworkloadbalancersPatch`: %v\n", resp)
    }
    var result NetworkLoadBalancer = DatacentersNetworkloadbalancersPost(ctx, datacenterId)
                          .NetworkLoadBalancer(networkLoadBalancer)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        networkLoadBalancer := *openapiclient.NewNetworkLoadBalancer(*openapiclient.NewNetworkLoadBalancerProperties("My Network Load Balancer", int32(1), int32(2))) // NetworkLoadBalancer | The Network Load Balancer to create.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.NetworkLoadBalancersApi.DatacentersNetworkloadbalancersPost(context.Background(), datacenterId).NetworkLoadBalancer(networkLoadBalancer).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `NetworkLoadBalancersApi.DatacentersNetworkloadbalancersPost``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersNetworkloadbalancersPost`: NetworkLoadBalancer
        fmt.Fprintf(os.Stdout, "Response from `NetworkLoadBalancersApi.DatacentersNetworkloadbalancersPost`: %v\n", resp)
    }
    var result NetworkLoadBalancer = DatacentersNetworkloadbalancersPut(ctx, datacenterId, networkLoadBalancerId)
                          .NetworkLoadBalancer(networkLoadBalancer)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        networkLoadBalancerId := "networkLoadBalancerId_example" // string | The unique ID of the Network Load Balancer.
        networkLoadBalancer := *openapiclient.NewNetworkLoadBalancerPut(*openapiclient.NewNetworkLoadBalancerProperties("My Network Load Balancer", int32(1), int32(2))) // NetworkLoadBalancerPut | The modified Network Load Balancer.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.NetworkLoadBalancersApi.DatacentersNetworkloadbalancersPut(context.Background(), datacenterId, networkLoadBalancerId).NetworkLoadBalancer(networkLoadBalancer).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `NetworkLoadBalancersApi.DatacentersNetworkloadbalancersPut``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersNetworkloadbalancersPut`: NetworkLoadBalancer
        fmt.Fprintf(os.Stdout, "Response from `NetworkLoadBalancersApi.DatacentersNetworkloadbalancersPut`: %v\n", resp)
    }

    ServersApi

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

    Method
    HTTP request
    Description

    Delete /datacenters/{datacenterId}/servers/{serverId}/cdroms/{cdromId}

    Detach a CD-ROM by ID

    Get /datacenters/{datacenterId}/servers/{serverId}/cdroms/{cdromId}

    Get Attached CD-ROM by ID

    hashtag
    DatacentersServersCdromsDelete

    Detach a CD-ROM by ID

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersServersCdromsDeleteRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    (empty response body)

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    DatacentersServersCdromsFindById

    Get Attached CD-ROM by ID

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersServersCdromsFindByIdRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    DatacentersServersCdromsGet

    Get Attached CD-ROMs

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersServersCdromsGetRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    DatacentersServersCdromsPost

    Attach a CD-ROM

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersServersCdromsPostRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: application/json

    • Accept: application/json

    hashtag
    DatacentersServersDelete

    Delete servers

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersServersDeleteRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    (empty response body)

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    DatacentersServersFindById

    Retrieve servers by ID

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersServersFindByIdRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    DatacentersServersGet

    List servers

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersServersGetRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    DatacentersServersPatch

    Partially modify servers

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersServersPatchRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: application/json

    • Accept: application/json

    hashtag
    DatacentersServersPost

    Create a Server

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersServersPostRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: application/json

    • Accept: application/json

    hashtag
    DatacentersServersPut

    Modify a Server by ID

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersServersPutRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: application/json

    • Accept: application/json

    hashtag
    DatacentersServersRebootPost

    Reboot servers

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersServersRebootPostRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    (empty response body)

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    DatacentersServersRemoteConsoleGet

    Get Remote Console link

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersServersRemoteConsoleGetRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    DatacentersServersResumePost

    Resume a Cube Server by ID

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersServersResumePostRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    (empty response body)

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    DatacentersServersStartPost

    Start an Enterprise Server by ID

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersServersStartPostRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    (empty response body)

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    DatacentersServersStopPost

    Stop an Enterprise Server by ID

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersServersStopPostRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    (empty response body)

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    DatacentersServersSuspendPost

    Suspend a Cube Server by ID

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersServersSuspendPostRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    (empty response body)

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    DatacentersServersTokenGet

    Get JSON Web Token

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersServersTokenGetRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    DatacentersServersUpgradePost

    Upgrade a Server by ID

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersServersUpgradePostRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    (empty response body)

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    DatacentersServersVolumesDelete

    Detach a Volume by ID

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersServersVolumesDeleteRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    (empty response body)

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    DatacentersServersVolumesFindById

    Get Attached Volume by ID

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersServersVolumesFindByIdRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    DatacentersServersVolumesGet

    Get Attached Volumes

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersServersVolumesGetRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    DatacentersServersVolumesPost

    Attach a Volume to a Server

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersServersVolumesPostRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: application/json

    • Accept: application/json

    UserManagementApi

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

    Method
    HTTP request
    Description

    cdromId

    string

    The unique ID of the CD-ROM.

    cdromId

    string

    The unique ID of the CD-ROM.

    offset

    int32

    The first element (from the complete list of the elements) to include in the response (used together with <b><i>limit</i></b> for pagination).

    [default to 0]

    limit

    int32

    The maximum number of elements to return (use together with offset for pagination).

    [default to 1000]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    deleteVolumes

    bool

    If true, all attached storage volumes will also be deleted.

    offset

    int32

    The first element (from the complete list of the elements) to include in the response (used together with <b><i>limit</i></b> for pagination).

    [default to 0]

    limit

    int32

    The maximum number of elements to return (use together with offset for pagination).

    [default to 1000]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    volumeId

    string

    The unique ID of the volume.

    volumeId

    string

    The unique ID of the volume.

    offset

    int32

    The first element (from the complete list of the elements) to include in the response (used together with <b><i>limit</i></b> for pagination).

    [default to 0]

    limit

    int32

    The maximum number of elements to return (use together with offset for pagination).

    [default to 1000]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    Get /datacenters/{datacenterId}/servers/{serverId}/cdroms

    Get Attached CD-ROMs

    DatacentersServersCdromsPost

    Post /datacenters/{datacenterId}/servers/{serverId}/cdroms

    Attach a CD-ROM

    DatacentersServersDelete

    Delete /datacenters/{datacenterId}/servers/{serverId}

    Delete servers

    DatacentersServersFindById

    Get /datacenters/{datacenterId}/servers/{serverId}

    Retrieve servers by ID

    DatacentersServersGet

    Get /datacenters/{datacenterId}/servers

    List servers

    DatacentersServersPatch

    Patch /datacenters/{datacenterId}/servers/{serverId}

    Partially modify servers

    DatacentersServersPost

    Post /datacenters/{datacenterId}/servers

    Create a Server

    DatacentersServersPut

    Put /datacenters/{datacenterId}/servers/{serverId}

    Modify a Server by ID

    DatacentersServersRebootPost

    Post /datacenters/{datacenterId}/servers/{serverId}/reboot

    Reboot servers

    DatacentersServersRemoteConsoleGet

    Get /datacenters/{datacenterId}/servers/{serverId}/remoteconsole

    Get Remote Console link

    DatacentersServersResumePost

    Post /datacenters/{datacenterId}/servers/{serverId}/resume

    Resume a Cube Server by ID

    DatacentersServersStartPost

    Post /datacenters/{datacenterId}/servers/{serverId}/start

    Start an Enterprise Server by ID

    DatacentersServersStopPost

    Post /datacenters/{datacenterId}/servers/{serverId}/stop

    Stop an Enterprise Server by ID

    DatacentersServersSuspendPost

    Post /datacenters/{datacenterId}/servers/{serverId}/suspend

    Suspend a Cube Server by ID

    DatacentersServersTokenGet

    Get /datacenters/{datacenterId}/servers/{serverId}/token

    Get JSON Web Token

    DatacentersServersUpgradePost

    Post /datacenters/{datacenterId}/servers/{serverId}/upgrade

    Upgrade a Server by ID

    DatacentersServersVolumesDelete

    Delete /datacenters/{datacenterId}/servers/{serverId}/volumes/{volumeId}

    Detach a Volume by ID

    DatacentersServersVolumesFindById

    Get /datacenters/{datacenterId}/servers/{serverId}/volumes/{volumeId}

    Get Attached Volume by ID

    DatacentersServersVolumesGet

    Get /datacenters/{datacenterId}/servers/{serverId}/volumes

    Get Attached Volumes

    DatacentersServersVolumesPost

    Post /datacenters/{datacenterId}/servers/{serverId}/volumes

    Attach a Volume to a Server

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    serverId

    string

    The unique ID of the server.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    serverId

    string

    The unique ID of the server.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    serverId

    string

    The unique ID of the server.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    serverId

    string

    The unique ID of the server.

    cdrom

    Image

    The CD-ROM to be attached.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    serverId

    string

    The unique ID of the server.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    serverId

    string

    The unique ID of the server.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    serverId

    string

    The unique ID of the server.

    server

    ServerProperties

    The properties of the server to be updated.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    server

    Server

    The server to create.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    serverId

    string

    The unique ID of the server.

    server

    Server

    The modified server

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    serverId

    string

    The unique ID of the server.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    serverId

    string

    The unique ID of the server.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    serverId

    string

    The unique ID of the server.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    serverId

    string

    The unique ID of the server.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    serverId

    string

    The unique ID of the server.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    serverId

    string

    The unique ID of the server.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    serverId

    string

    The unique ID of the server.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    serverId

    string

    The unique ID of the server.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    serverId

    string

    The unique ID of the server.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    serverId

    string

    The unique ID of the server.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    serverId

    string

    The unique ID of the server.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    serverId

    string

    The unique ID of the server.

    volume

    Volume

    The volume to be attached (or created and attached).

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    Image
    Cdroms
    Image
    Server
    Servers
    Server
    Server
    Server
    RemoteConsoleUrl
    Token
    Volume
    AttachedVolumes
    Volume
    DatacentersServersCdromsDelete
    DatacentersServersCdromsFindById
    DatacentersServersCdromsGet

    [default to 0]

    [default to 0]

    [default to 0]

    [default to 0]

    [default to 0]

    var result  = DatacentersServersCdromsDelete(ctx, datacenterId, serverId, cdromId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        serverId := "serverId_example" // string | The unique ID of the server.
        cdromId := "cdromId_example" // string | The unique ID of the CD-ROM.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resp, err := apiClient.ServersApi.DatacentersServersCdromsDelete(context.Background(), datacenterId, serverId, cdromId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `ServersApi.DatacentersServersCdromsDelete``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
    }
    var result Image = DatacentersServersCdromsFindById(ctx, datacenterId, serverId, cdromId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        serverId := "serverId_example" // string | The unique ID of the server.
        cdromId := "cdromId_example" // string | The unique ID of the CD-ROM.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.ServersApi.DatacentersServersCdromsFindById(context.Background(), datacenterId, serverId, cdromId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `ServersApi.DatacentersServersCdromsFindById``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersServersCdromsFindById`: Image
        fmt.Fprintf(os.Stdout, "Response from `ServersApi.DatacentersServersCdromsFindById`: %v\n", resp)
    }
    var result Cdroms = DatacentersServersCdromsGet(ctx, datacenterId, serverId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Offset(offset)
                          .Limit(limit)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        serverId := "serverId_example" // string | The unique ID of the server.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
        offset := int32(56) // int32 | The first element (from the complete list of the elements) to include in the response (used together with <b><i>limit</i></b> for pagination). (optional) (default to 0)
        limit := int32(56) // int32 | The maximum number of elements to return (use together with offset for pagination). (optional) (default to 1000)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.ServersApi.DatacentersServersCdromsGet(context.Background(), datacenterId, serverId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Offset(offset).Limit(limit).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `ServersApi.DatacentersServersCdromsGet``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersServersCdromsGet`: Cdroms
        fmt.Fprintf(os.Stdout, "Response from `ServersApi.DatacentersServersCdromsGet`: %v\n", resp)
    }
    var result Image = DatacentersServersCdromsPost(ctx, datacenterId, serverId)
                          .Cdrom(cdrom)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        serverId := "serverId_example" // string | The unique ID of the server.
        cdrom := *openapiclient.NewImage(*openapiclient.NewImageProperties("LINUX")) // Image | The CD-ROM to be attached.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.ServersApi.DatacentersServersCdromsPost(context.Background(), datacenterId, serverId).Cdrom(cdrom).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `ServersApi.DatacentersServersCdromsPost``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersServersCdromsPost`: Image
        fmt.Fprintf(os.Stdout, "Response from `ServersApi.DatacentersServersCdromsPost`: %v\n", resp)
    }
    var result  = DatacentersServersDelete(ctx, datacenterId, serverId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .DeleteVolumes(deleteVolumes)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        serverId := "serverId_example" // string | The unique ID of the server.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
        deleteVolumes := true // bool | If true, all attached storage volumes will also be deleted. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resp, err := apiClient.ServersApi.DatacentersServersDelete(context.Background(), datacenterId, serverId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).DeleteVolumes(deleteVolumes).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `ServersApi.DatacentersServersDelete``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
    }
    var result Server = DatacentersServersFindById(ctx, datacenterId, serverId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        serverId := "serverId_example" // string | The unique ID of the server.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.ServersApi.DatacentersServersFindById(context.Background(), datacenterId, serverId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `ServersApi.DatacentersServersFindById``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersServersFindById`: Server
        fmt.Fprintf(os.Stdout, "Response from `ServersApi.DatacentersServersFindById`: %v\n", resp)
    }
    var result Servers = DatacentersServersGet(ctx, datacenterId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Offset(offset)
                          .Limit(limit)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
        offset := int32(56) // int32 | The first element (from the complete list of the elements) to include in the response (used together with <b><i>limit</i></b> for pagination). (optional) (default to 0)
        limit := int32(56) // int32 | The maximum number of elements to return (use together with offset for pagination). (optional) (default to 1000)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.ServersApi.DatacentersServersGet(context.Background(), datacenterId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Offset(offset).Limit(limit).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `ServersApi.DatacentersServersGet``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersServersGet`: Servers
        fmt.Fprintf(os.Stdout, "Response from `ServersApi.DatacentersServersGet`: %v\n", resp)
    }
    var result Server = DatacentersServersPatch(ctx, datacenterId, serverId)
                          .Server(server)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        serverId := "serverId_example" // string | The unique ID of the server.
        server := *openapiclient.NewServerProperties() // ServerProperties | The properties of the server to be updated.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.ServersApi.DatacentersServersPatch(context.Background(), datacenterId, serverId).Server(server).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `ServersApi.DatacentersServersPatch``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersServersPatch`: Server
        fmt.Fprintf(os.Stdout, "Response from `ServersApi.DatacentersServersPatch`: %v\n", resp)
    }
    var result Server = DatacentersServersPost(ctx, datacenterId)
                          .Server(server)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        server := *openapiclient.NewServer(*openapiclient.NewServerProperties()) // Server | The server to create.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.ServersApi.DatacentersServersPost(context.Background(), datacenterId).Server(server).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `ServersApi.DatacentersServersPost``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersServersPost`: Server
        fmt.Fprintf(os.Stdout, "Response from `ServersApi.DatacentersServersPost`: %v\n", resp)
    }
    var result Server = DatacentersServersPut(ctx, datacenterId, serverId)
                          .Server(server)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        serverId := "serverId_example" // string | The unique ID of the server.
        server := *openapiclient.NewServer(*openapiclient.NewServerProperties()) // Server | The modified server
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.ServersApi.DatacentersServersPut(context.Background(), datacenterId, serverId).Server(server).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `ServersApi.DatacentersServersPut``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersServersPut`: Server
        fmt.Fprintf(os.Stdout, "Response from `ServersApi.DatacentersServersPut`: %v\n", resp)
    }
    var result  = DatacentersServersRebootPost(ctx, datacenterId, serverId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        serverId := "serverId_example" // string | The unique ID of the server.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.ServersApi.DatacentersServersRebootPost(context.Background(), datacenterId, serverId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `ServersApi.DatacentersServersRebootPost``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
    }
    var result RemoteConsoleUrl = DatacentersServersRemoteConsoleGet(ctx, datacenterId, serverId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        serverId := "serverId_example" // string | The unique ID of the server.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.ServersApi.DatacentersServersRemoteConsoleGet(context.Background(), datacenterId, serverId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `ServersApi.DatacentersServersRemoteConsoleGet``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersServersRemoteConsoleGet`: RemoteConsoleUrl
        fmt.Fprintf(os.Stdout, "Response from `ServersApi.DatacentersServersRemoteConsoleGet`: %v\n", resp)
    }
    var result  = DatacentersServersResumePost(ctx, datacenterId, serverId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        serverId := "serverId_example" // string | The unique ID of the server.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.ServersApi.DatacentersServersResumePost(context.Background(), datacenterId, serverId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `ServersApi.DatacentersServersResumePost``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
    }
    var result  = DatacentersServersStartPost(ctx, datacenterId, serverId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        serverId := "serverId_example" // string | The unique ID of the server.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.ServersApi.DatacentersServersStartPost(context.Background(), datacenterId, serverId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `ServersApi.DatacentersServersStartPost``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
    }
    var result  = DatacentersServersStopPost(ctx, datacenterId, serverId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        serverId := "serverId_example" // string | The unique ID of the server.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.ServersApi.DatacentersServersStopPost(context.Background(), datacenterId, serverId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `ServersApi.DatacentersServersStopPost``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
    }
    var result  = DatacentersServersSuspendPost(ctx, datacenterId, serverId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        serverId := "serverId_example" // string | The unique ID of the server.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.ServersApi.DatacentersServersSuspendPost(context.Background(), datacenterId, serverId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `ServersApi.DatacentersServersSuspendPost``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
    }
    var result Token = DatacentersServersTokenGet(ctx, datacenterId, serverId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        serverId := "serverId_example" // string | The unique ID of the server.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.ServersApi.DatacentersServersTokenGet(context.Background(), datacenterId, serverId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `ServersApi.DatacentersServersTokenGet``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersServersTokenGet`: Token
        fmt.Fprintf(os.Stdout, "Response from `ServersApi.DatacentersServersTokenGet`: %v\n", resp)
    }
    var result  = DatacentersServersUpgradePost(ctx, datacenterId, serverId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        serverId := "serverId_example" // string | The unique ID of the server.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.ServersApi.DatacentersServersUpgradePost(context.Background(), datacenterId, serverId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `ServersApi.DatacentersServersUpgradePost``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
    }
    var result  = DatacentersServersVolumesDelete(ctx, datacenterId, serverId, volumeId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        serverId := "serverId_example" // string | The unique ID of the server.
        volumeId := "volumeId_example" // string | The unique ID of the volume.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resp, err := apiClient.ServersApi.DatacentersServersVolumesDelete(context.Background(), datacenterId, serverId, volumeId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `ServersApi.DatacentersServersVolumesDelete``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
    }
    var result Volume = DatacentersServersVolumesFindById(ctx, datacenterId, serverId, volumeId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        serverId := "serverId_example" // string | The unique ID of the server.
        volumeId := "volumeId_example" // string | The unique ID of the volume.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.ServersApi.DatacentersServersVolumesFindById(context.Background(), datacenterId, serverId, volumeId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `ServersApi.DatacentersServersVolumesFindById``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersServersVolumesFindById`: Volume
        fmt.Fprintf(os.Stdout, "Response from `ServersApi.DatacentersServersVolumesFindById`: %v\n", resp)
    }
    var result AttachedVolumes = DatacentersServersVolumesGet(ctx, datacenterId, serverId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Offset(offset)
                          .Limit(limit)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        serverId := "serverId_example" // string | The unique ID of the server.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
        offset := int32(56) // int32 | The first element (from the complete list of the elements) to include in the response (used together with <b><i>limit</i></b> for pagination). (optional) (default to 0)
        limit := int32(56) // int32 | The maximum number of elements to return (use together with offset for pagination). (optional) (default to 1000)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.ServersApi.DatacentersServersVolumesGet(context.Background(), datacenterId, serverId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Offset(offset).Limit(limit).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `ServersApi.DatacentersServersVolumesGet``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersServersVolumesGet`: AttachedVolumes
        fmt.Fprintf(os.Stdout, "Response from `ServersApi.DatacentersServersVolumesGet`: %v\n", resp)
    }
    var result Volume = DatacentersServersVolumesPost(ctx, datacenterId, serverId)
                          .Volume(volume)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        serverId := "serverId_example" // string | The unique ID of the server.
        volume := *openapiclient.NewVolume() // Volume | The volume to be attached (or created and attached).
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.ServersApi.DatacentersServersVolumesPost(context.Background(), datacenterId, serverId).Volume(volume).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `ServersApi.DatacentersServersVolumesPost``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersServersVolumesPost`: Volume
        fmt.Fprintf(os.Stdout, "Response from `ServersApi.DatacentersServersVolumesPost`: %v\n", resp)
    }

    List all groups

    Post /um/groups

    Create groups

    Put /um/groups/{groupId}

    Modify groups

    Get /um/groups/{groupId}/resources

    Retrieve group resources

    Delete /um/groups/{groupId}/shares/{resourceId}

    Remove group shares

    Get /um/groups/{groupId}/shares/{resourceId}

    Retrieve group shares

    Get /um/groups/{groupId}/shares

    List group shares

    Post /um/groups/{groupId}/shares/{resourceId}

    Add group shares

    Put /um/groups/{groupId}/shares/{resourceId}

    Modify group share privileges

    Delete /um/groups/{groupId}/users/{userId}

    Remove users from groups

    Get /um/groups/{groupId}/users

    List group members

    Post /um/groups/{groupId}/users

    Add a Group Member

    Get /um/resources/{resourceType}

    List resources by type

    Get /um/resources/{resourceType}/{resourceId}

    Retrieve resources by type

    Get /um/resources

    List all resources

    Delete /um/users/{userId}

    Delete users

    Get /um/users/{userId}

    Retrieve users

    Get /um/users

    List all users

    Get /um/users/{userId}/groups

    Retrieve group resources by user ID

    Get /um/users/{userId}/owns

    Retrieve user resources by user ID

    Post /um/users

    Create users

    Put /um/users/{userId}

    Modify users

    hashtag
    UmGroupsDelete

    Delete groups

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    groupId

    string

    The unique ID of the group.

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiUmGroupsDeleteRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    hashtag
    Return type

    (empty response body)

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    UmGroupsFindById

    Retrieve groups

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    groupId

    string

    The unique ID of the group.

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiUmGroupsFindByIdRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    hashtag
    Return type

    Group

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    UmGroupsGet

    List all groups

    hashtag
    Example

    hashtag
    Path Parameters

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiUmGroupsGetRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    hashtag
    Return type

    Groups

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    UmGroupsPost

    Create groups

    hashtag
    Example

    hashtag
    Path Parameters

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiUmGroupsPostRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    group

    The group to create.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    hashtag
    Return type

    Group

    hashtag
    HTTP request headers

    • Content-Type: application/json

    • Accept: application/json

    hashtag
    UmGroupsPut

    Modify groups

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    groupId

    string

    The unique ID of the group.

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiUmGroupsPutRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    group

    The modified group.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    hashtag
    Return type

    Group

    hashtag
    HTTP request headers

    • Content-Type: application/json

    • Accept: application/json

    hashtag
    UmGroupsResourcesGet

    Retrieve group resources

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    groupId

    string

    The unique ID of the group.

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiUmGroupsResourcesGetRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    hashtag
    Return type

    ResourceGroups

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    UmGroupsSharesDelete

    Remove group shares

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    groupId

    string

    The unique ID of the group.

    resourceId

    string

    The unique ID of the resource.

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiUmGroupsSharesDeleteRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    hashtag
    Return type

    (empty response body)

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    UmGroupsSharesFindByResourceId

    Retrieve group shares

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    groupId

    string

    The unique ID of the group.

    resourceId

    string

    The unique ID of the resource.

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiUmGroupsSharesFindByResourceIdRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    hashtag
    Return type

    GroupShare

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    UmGroupsSharesGet

    List group shares

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    groupId

    string

    The unique ID of the group.

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiUmGroupsSharesGetRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    hashtag
    Return type

    GroupShares

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    UmGroupsSharesPost

    Add group shares

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    groupId

    string

    The unique ID of the group.

    resourceId

    string

    The unique ID of the resource.

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiUmGroupsSharesPostRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    resource

    The resource to add.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    hashtag
    Return type

    GroupShare

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    UmGroupsSharesPut

    Modify group share privileges

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    groupId

    string

    The unique ID of the group.

    resourceId

    string

    The unique ID of the resource.

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiUmGroupsSharesPutRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    resource

    The modified resource

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    hashtag
    Return type

    GroupShare

    hashtag
    HTTP request headers

    • Content-Type: application/json

    • Accept: application/json

    hashtag
    UmGroupsUsersDelete

    Remove users from groups

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    groupId

    string

    The unique ID of the group.

    userId

    string

    The unique ID of the user.

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiUmGroupsUsersDeleteRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    hashtag
    Return type

    (empty response body)

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    UmGroupsUsersGet

    List group members

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    groupId

    string

    The unique ID of the group.

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiUmGroupsUsersGetRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    hashtag
    Return type

    GroupMembers

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    UmGroupsUsersPost

    Add a Group Member

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    groupId

    string

    The unique ID of the group.

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiUmGroupsUsersPostRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    user

    The user to add.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    hashtag
    Return type

    User

    hashtag
    HTTP request headers

    • Content-Type: application/json

    • Accept: application/json

    hashtag
    UmResourcesFindByType

    List resources by type

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    resourceType

    string

    The resource type

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiUmResourcesFindByTypeRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    hashtag
    Return type

    Resources

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    UmResourcesFindByTypeAndId

    Retrieve resources by type

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    resourceType

    string

    The resource type

    resourceId

    string

    The resource ID

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiUmResourcesFindByTypeAndIdRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    hashtag
    Return type

    Resource

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    UmResourcesGet

    List all resources

    hashtag
    Example

    hashtag
    Path Parameters

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiUmResourcesGetRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    hashtag
    Return type

    Resources

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    UmUsersDelete

    Delete users

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    userId

    string

    The unique ID of the user.

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiUmUsersDeleteRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    hashtag
    Return type

    (empty response body)

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    UmUsersFindById

    Retrieve users

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    userId

    string

    The unique ID of the user.

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiUmUsersFindByIdRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    hashtag
    Return type

    User

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    UmUsersGet

    List all users

    hashtag
    Example

    hashtag
    Path Parameters

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiUmUsersGetRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    hashtag
    Return type

    Users

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    UmUsersGroupsGet

    Retrieve group resources by user ID

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    userId

    string

    The unique ID of the user.

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiUmUsersGroupsGetRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    hashtag
    Return type

    ResourceGroups

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    UmUsersOwnsGet

    Retrieve user resources by user ID

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    userId

    string

    The unique ID of the user.

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiUmUsersOwnsGetRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    hashtag
    Return type

    ResourcesUsers

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    UmUsersPost

    Create users

    hashtag
    Example

    hashtag
    Path Parameters

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiUmUsersPostRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    user

    The user to create.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    hashtag
    Return type

    User

    hashtag
    HTTP request headers

    • Content-Type: application/json

    • Accept: application/json

    hashtag
    UmUsersPut

    Modify users

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    userId

    string

    The unique ID of the user.

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiUmUsersPutRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    user

    The modified user

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    hashtag
    Return type

    User

    hashtag
    HTTP request headers

    • Content-Type: application/json

    • Accept: application/json

    UmGroupsDelete

    Delete /um/groups/{groupId}

    Delete groups

    UmGroupsFindById

    Get /um/groups/{groupId}

    Retrieve groups

    UmGroupsGet

    Get /um/groups

    var result  = UmGroupsDelete(ctx, groupId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        groupId := "groupId_example" // string | The unique ID of the group.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resp, err := apiClient.UserManagementApi.UmGroupsDelete(context.Background(), groupId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `UserManagementApi.UmGroupsDelete``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
    }
    var result Group = UmGroupsFindById(ctx, groupId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        groupId := "groupId_example" // string | The unique ID of the group.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.UserManagementApi.UmGroupsFindById(context.Background(), groupId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `UserManagementApi.UmGroupsFindById``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `UmGroupsFindById`: Group
        fmt.Fprintf(os.Stdout, "Response from `UserManagementApi.UmGroupsFindById`: %v\n", resp)
    }
    var result Groups = UmGroupsGet(ctx)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.UserManagementApi.UmGroupsGet(context.Background()).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `UserManagementApi.UmGroupsGet``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `UmGroupsGet`: Groups
        fmt.Fprintf(os.Stdout, "Response from `UserManagementApi.UmGroupsGet`: %v\n", resp)
    }
    var result Group = UmGroupsPost(ctx)
                          .Group(group)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        group := *openapiclient.NewGroup(*openapiclient.NewGroupProperties()) // Group | The group to create.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.UserManagementApi.UmGroupsPost(context.Background()).Group(group).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `UserManagementApi.UmGroupsPost``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `UmGroupsPost`: Group
        fmt.Fprintf(os.Stdout, "Response from `UserManagementApi.UmGroupsPost`: %v\n", resp)
    }
    var result Group = UmGroupsPut(ctx, groupId)
                          .Group(group)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        groupId := "groupId_example" // string | The unique ID of the group.
        group := *openapiclient.NewGroup(*openapiclient.NewGroupProperties()) // Group | The modified group.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.UserManagementApi.UmGroupsPut(context.Background(), groupId).Group(group).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `UserManagementApi.UmGroupsPut``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `UmGroupsPut`: Group
        fmt.Fprintf(os.Stdout, "Response from `UserManagementApi.UmGroupsPut`: %v\n", resp)
    }
    var result ResourceGroups = UmGroupsResourcesGet(ctx, groupId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        groupId := "groupId_example" // string | The unique ID of the group.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.UserManagementApi.UmGroupsResourcesGet(context.Background(), groupId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `UserManagementApi.UmGroupsResourcesGet``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `UmGroupsResourcesGet`: ResourceGroups
        fmt.Fprintf(os.Stdout, "Response from `UserManagementApi.UmGroupsResourcesGet`: %v\n", resp)
    }
    var result  = UmGroupsSharesDelete(ctx, groupId, resourceId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        groupId := "groupId_example" // string | The unique ID of the group.
        resourceId := "resourceId_example" // string | The unique ID of the resource.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resp, err := apiClient.UserManagementApi.UmGroupsSharesDelete(context.Background(), groupId, resourceId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `UserManagementApi.UmGroupsSharesDelete``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
    }
    var result GroupShare = UmGroupsSharesFindByResourceId(ctx, groupId, resourceId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        groupId := "groupId_example" // string | The unique ID of the group.
        resourceId := "resourceId_example" // string | The unique ID of the resource.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.UserManagementApi.UmGroupsSharesFindByResourceId(context.Background(), groupId, resourceId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `UserManagementApi.UmGroupsSharesFindByResourceId``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `UmGroupsSharesFindByResourceId`: GroupShare
        fmt.Fprintf(os.Stdout, "Response from `UserManagementApi.UmGroupsSharesFindByResourceId`: %v\n", resp)
    }
    var result GroupShares = UmGroupsSharesGet(ctx, groupId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        groupId := "groupId_example" // string | The unique ID of the group.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.UserManagementApi.UmGroupsSharesGet(context.Background(), groupId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `UserManagementApi.UmGroupsSharesGet``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `UmGroupsSharesGet`: GroupShares
        fmt.Fprintf(os.Stdout, "Response from `UserManagementApi.UmGroupsSharesGet`: %v\n", resp)
    }
    var result GroupShare = UmGroupsSharesPost(ctx, groupId, resourceId)
                          .Resource(resource)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        groupId := "groupId_example" // string | The unique ID of the group.
        resourceId := "resourceId_example" // string | The unique ID of the resource.
        resource := *openapiclient.NewGroupShare(*openapiclient.NewGroupShareProperties()) // GroupShare | The resource to add.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.UserManagementApi.UmGroupsSharesPost(context.Background(), groupId, resourceId).Resource(resource).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `UserManagementApi.UmGroupsSharesPost``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `UmGroupsSharesPost`: GroupShare
        fmt.Fprintf(os.Stdout, "Response from `UserManagementApi.UmGroupsSharesPost`: %v\n", resp)
    }
    var result GroupShare = UmGroupsSharesPut(ctx, groupId, resourceId)
                          .Resource(resource)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        groupId := "groupId_example" // string | The unique ID of the group.
        resourceId := "resourceId_example" // string | The unique ID of the resource.
        resource := *openapiclient.NewGroupShare(*openapiclient.NewGroupShareProperties()) // GroupShare | The modified resource
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.UserManagementApi.UmGroupsSharesPut(context.Background(), groupId, resourceId).Resource(resource).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `UserManagementApi.UmGroupsSharesPut``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `UmGroupsSharesPut`: GroupShare
        fmt.Fprintf(os.Stdout, "Response from `UserManagementApi.UmGroupsSharesPut`: %v\n", resp)
    }
    var result  = UmGroupsUsersDelete(ctx, groupId, userId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        groupId := "groupId_example" // string | The unique ID of the group.
        userId := "userId_example" // string | The unique ID of the user.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resp, err := apiClient.UserManagementApi.UmGroupsUsersDelete(context.Background(), groupId, userId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `UserManagementApi.UmGroupsUsersDelete``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
    }
    var result GroupMembers = UmGroupsUsersGet(ctx, groupId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        groupId := "groupId_example" // string | The unique ID of the group.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.UserManagementApi.UmGroupsUsersGet(context.Background(), groupId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `UserManagementApi.UmGroupsUsersGet``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `UmGroupsUsersGet`: GroupMembers
        fmt.Fprintf(os.Stdout, "Response from `UserManagementApi.UmGroupsUsersGet`: %v\n", resp)
    }
    var result User = UmGroupsUsersPost(ctx, groupId)
                          .User(user)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        groupId := "groupId_example" // string | The unique ID of the group.
        user := *openapiclient.NewUserGroupPost("15f67991-0f51-4efc-a8ad-ef1fb31a480c") // UserGroupPost | The user to add.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.UserManagementApi.UmGroupsUsersPost(context.Background(), groupId).User(user).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `UserManagementApi.UmGroupsUsersPost``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `UmGroupsUsersPost`: User
        fmt.Fprintf(os.Stdout, "Response from `UserManagementApi.UmGroupsUsersPost`: %v\n", resp)
    }
    var result Resources = UmResourcesFindByType(ctx, resourceType)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        resourceType := "resourceType_example" // string | The resource type
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.UserManagementApi.UmResourcesFindByType(context.Background(), resourceType).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `UserManagementApi.UmResourcesFindByType``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `UmResourcesFindByType`: Resources
        fmt.Fprintf(os.Stdout, "Response from `UserManagementApi.UmResourcesFindByType`: %v\n", resp)
    }
    var result Resource = UmResourcesFindByTypeAndId(ctx, resourceType, resourceId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        resourceType := "resourceType_example" // string | The resource type
        resourceId := "resourceId_example" // string | The resource ID
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.UserManagementApi.UmResourcesFindByTypeAndId(context.Background(), resourceType, resourceId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `UserManagementApi.UmResourcesFindByTypeAndId``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `UmResourcesFindByTypeAndId`: Resource
        fmt.Fprintf(os.Stdout, "Response from `UserManagementApi.UmResourcesFindByTypeAndId`: %v\n", resp)
    }
    var result Resources = UmResourcesGet(ctx)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.UserManagementApi.UmResourcesGet(context.Background()).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `UserManagementApi.UmResourcesGet``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `UmResourcesGet`: Resources
        fmt.Fprintf(os.Stdout, "Response from `UserManagementApi.UmResourcesGet`: %v\n", resp)
    }
    var result  = UmUsersDelete(ctx, userId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        userId := "userId_example" // string | The unique ID of the user.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resp, err := apiClient.UserManagementApi.UmUsersDelete(context.Background(), userId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `UserManagementApi.UmUsersDelete``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
    }
    var result User = UmUsersFindById(ctx, userId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        userId := "userId_example" // string | The unique ID of the user.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.UserManagementApi.UmUsersFindById(context.Background(), userId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `UserManagementApi.UmUsersFindById``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `UmUsersFindById`: User
        fmt.Fprintf(os.Stdout, "Response from `UserManagementApi.UmUsersFindById`: %v\n", resp)
    }
    var result Users = UmUsersGet(ctx)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Offset(offset)
                          .Limit(limit)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
        offset := int32(56) // int32 | The first element (from the complete list of the elements) to include in the response (used together with <b><i>limit</i></b> for pagination). (optional) (default to 0)
        limit := int32(56) // int32 | The maximum number of elements to return (use together with <code>offset</code> for pagination). (optional) (default to 100)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.UserManagementApi.UmUsersGet(context.Background()).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Offset(offset).Limit(limit).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `UserManagementApi.UmUsersGet``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `UmUsersGet`: Users
        fmt.Fprintf(os.Stdout, "Response from `UserManagementApi.UmUsersGet`: %v\n", resp)
    }
    var result ResourceGroups = UmUsersGroupsGet(ctx, userId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        userId := "userId_example" // string | The unique ID of the user.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.UserManagementApi.UmUsersGroupsGet(context.Background(), userId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `UserManagementApi.UmUsersGroupsGet``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `UmUsersGroupsGet`: ResourceGroups
        fmt.Fprintf(os.Stdout, "Response from `UserManagementApi.UmUsersGroupsGet`: %v\n", resp)
    }
    var result ResourcesUsers = UmUsersOwnsGet(ctx, userId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        userId := "userId_example" // string | The unique ID of the user.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.UserManagementApi.UmUsersOwnsGet(context.Background(), userId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `UserManagementApi.UmUsersOwnsGet``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `UmUsersOwnsGet`: ResourcesUsers
        fmt.Fprintf(os.Stdout, "Response from `UserManagementApi.UmUsersOwnsGet`: %v\n", resp)
    }
    var result User = UmUsersPost(ctx)
                          .User(user)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        user := *openapiclient.NewUserPost(*openapiclient.NewUserPropertiesPost()) // UserPost | The user to create.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.UserManagementApi.UmUsersPost(context.Background()).User(user).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `UserManagementApi.UmUsersPost``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `UmUsersPost`: User
        fmt.Fprintf(os.Stdout, "Response from `UserManagementApi.UmUsersPost`: %v\n", resp)
    }
    var result User = UmUsersPut(ctx, userId)
                          .User(user)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        userId := "userId_example" // string | The unique ID of the user.
        user := *openapiclient.NewUserPut(*openapiclient.NewUserPropertiesPut()) // UserPut | The modified user
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.UserManagementApi.UmUsersPut(context.Background(), userId).User(user).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `UserManagementApi.UmUsersPut``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `UmUsersPut`: User
        fmt.Fprintf(os.Stdout, "Response from `UserManagementApi.UmUsersPut`: %v\n", resp)
    }

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    offset

    int32

    The first element (from the complete list of the elements) to include in the response (used together with <b><i>limit</i></b> for pagination).

    [default to 0]

    limit

    int32

    The maximum number of elements to return (use together with <code>offset</code> for pagination).

    [default to 100]

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    UmGroupsPost
    UmGroupsPut
    UmGroupsResourcesGet
    UmGroupsSharesDelete
    UmGroupsSharesFindByResourceId
    UmGroupsSharesGet
    UmGroupsSharesPost
    UmGroupsSharesPut
    UmGroupsUsersDelete
    UmGroupsUsersGet
    UmGroupsUsersPost
    UmResourcesFindByType
    UmResourcesFindByTypeAndId
    UmResourcesGet
    UmUsersDelete
    UmUsersFindById
    UmUsersGet
    UmUsersGroupsGet
    UmUsersOwnsGet
    UmUsersPost
    UmUsersPut
    Group
    Group
    GroupShare
    GroupShare
    UserGroupPost
    UserPost
    UserPut

    LabelsApi

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

    Method
    HTTP request
    Description

    Delete /datacenters/{datacenterId}/labels/{key}

    Delete data center labels

    Get /datacenters/{datacenterId}/labels/{key}

    Retrieve data center labels

    hashtag
    DatacentersLabelsDelete

    Delete data center labels

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersLabelsDeleteRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    (empty response body)

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    DatacentersLabelsFindByKey

    Retrieve data center labels

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersLabelsFindByKeyRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    DatacentersLabelsGet

    List data center labels

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersLabelsGetRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    DatacentersLabelsPost

    Create a Data Center Label

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersLabelsPostRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: application/json

    • Accept: application/json

    hashtag
    DatacentersLabelsPut

    Modify a Data Center Label by Key

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersLabelsPutRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: application/json

    • Accept: application/json

    hashtag
    DatacentersServersLabelsDelete

    Delete server labels

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersServersLabelsDeleteRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    (empty response body)

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    DatacentersServersLabelsFindByKey

    Retrieve server labels

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersServersLabelsFindByKeyRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    DatacentersServersLabelsGet

    List server labels

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersServersLabelsGetRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    DatacentersServersLabelsPost

    Create a Server Label

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersServersLabelsPostRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: application/json

    • Accept: application/json

    hashtag
    DatacentersServersLabelsPut

    Modify a Server Label

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersServersLabelsPutRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: application/json

    • Accept: application/json

    hashtag
    DatacentersVolumesLabelsDelete

    Delete volume labels

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersVolumesLabelsDeleteRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    (empty response body)

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    DatacentersVolumesLabelsFindByKey

    Retrieve volume labels

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersVolumesLabelsFindByKeyRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    DatacentersVolumesLabelsGet

    List volume labels

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersVolumesLabelsGetRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    DatacentersVolumesLabelsPost

    Create a Volume Label

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersVolumesLabelsPostRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: application/json

    • Accept: application/json

    hashtag
    DatacentersVolumesLabelsPut

    Modify a Volume Label

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiDatacentersVolumesLabelsPutRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: application/json

    • Accept: application/json

    hashtag
    ImagesLabelsDelete

    Delete image label

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiImagesLabelsDeleteRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    (empty response body)

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    ImagesLabelsFindByKey

    Retrieve image labels

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiImagesLabelsFindByKeyRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    ImagesLabelsGet

    List image labels

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiImagesLabelsGetRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    ImagesLabelsPost

    Create an Image Label

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiImagesLabelsPostRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: application/json

    • Accept: application/json

    hashtag
    ImagesLabelsPut

    Modify an Image Label by Key

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiImagesLabelsPutRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: application/json

    • Accept: application/json

    hashtag
    IpblocksLabelsDelete

    Delete IP block labels

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiIpblocksLabelsDeleteRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    (empty response body)

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    IpblocksLabelsFindByKey

    Retrieve IP block labels

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiIpblocksLabelsFindByKeyRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    IpblocksLabelsGet

    List IP block labels

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiIpblocksLabelsGetRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    IpblocksLabelsPost

    Create IP block labels

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiIpblocksLabelsPostRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: application/json

    • Accept: application/json

    hashtag
    IpblocksLabelsPut

    Modify a IP Block Label by ID

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiIpblocksLabelsPutRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: application/json

    • Accept: application/json

    hashtag
    LabelsFindByUrn

    Retrieve labels by URN

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiLabelsFindByUrnRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    LabelsGet

    List labels

    hashtag
    Example

    hashtag
    Path Parameters

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiLabelsGetRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    SnapshotsLabelsDelete

    Delete snapshot labels

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiSnapshotsLabelsDeleteRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    (empty response body)

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    SnapshotsLabelsFindByKey

    Retrieve snapshot labels

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiSnapshotsLabelsFindByKeyRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    SnapshotsLabelsGet

    List snapshot labels

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiSnapshotsLabelsGetRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: Not defined

    • Accept: application/json

    hashtag
    SnapshotsLabelsPost

    Create a Snapshot Label

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiSnapshotsLabelsPostRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: application/json

    • Accept: application/json

    hashtag
    SnapshotsLabelsPut

    Modify a Snapshot Label by ID

    hashtag
    Example

    hashtag
    Path Parameters

    Name
    Type
    Description
    Notes

    hashtag
    Other Parameters

    Other parameters are passed through a pointer to a apiSnapshotsLabelsPutRequest struct via the builder pattern

    Name
    Type
    Description
    Notes

    hashtag
    Return type

    hashtag
    HTTP request headers

    • Content-Type: application/json

    • Accept: application/json

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    key

    string

    The label key

    key

    string

    The label key

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    key

    string

    The label key

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    key

    string

    The label key

    key

    string

    The label key

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    key

    string

    The label key

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    Get /datacenters/{datacenterId}/labels

    List data center labels

    DatacentersLabelsPost

    Post /datacenters/{datacenterId}/labels

    Create a Data Center Label

    DatacentersLabelsPut

    Put /datacenters/{datacenterId}/labels/{key}

    Modify a Data Center Label by Key

    DatacentersServersLabelsDelete

    Delete /datacenters/{datacenterId}/servers/{serverId}/labels/{key}

    Delete server labels

    DatacentersServersLabelsFindByKey

    Get /datacenters/{datacenterId}/servers/{serverId}/labels/{key}

    Retrieve server labels

    DatacentersServersLabelsGet

    Get /datacenters/{datacenterId}/servers/{serverId}/labels

    List server labels

    DatacentersServersLabelsPost

    Post /datacenters/{datacenterId}/servers/{serverId}/labels

    Create a Server Label

    DatacentersServersLabelsPut

    Put /datacenters/{datacenterId}/servers/{serverId}/labels/{key}

    Modify a Server Label

    DatacentersVolumesLabelsDelete

    Delete /datacenters/{datacenterId}/volumes/{volumeId}/labels/{key}

    Delete volume labels

    DatacentersVolumesLabelsFindByKey

    Get /datacenters/{datacenterId}/volumes/{volumeId}/labels/{key}

    Retrieve volume labels

    DatacentersVolumesLabelsGet

    Get /datacenters/{datacenterId}/volumes/{volumeId}/labels

    List volume labels

    DatacentersVolumesLabelsPost

    Post /datacenters/{datacenterId}/volumes/{volumeId}/labels

    Create a Volume Label

    DatacentersVolumesLabelsPut

    Put /datacenters/{datacenterId}/volumes/{volumeId}/labels/{key}

    Modify a Volume Label

    ImagesLabelsDelete

    Delete /images/{imageId}/labels/{key}

    Delete image label

    ImagesLabelsFindByKey

    Get /images/{imageId}/labels/{key}

    Retrieve image labels

    ImagesLabelsGet

    Get /images/{imageId}/labels

    List image labels

    ImagesLabelsPost

    Post /images/{imageId}/labels

    Create an Image Label

    ImagesLabelsPut

    Put /images/{imageId}/labels/{key}

    Modify an Image Label by Key

    IpblocksLabelsDelete

    Delete /ipblocks/{ipblockId}/labels/{key}

    Delete IP block labels

    IpblocksLabelsFindByKey

    Get /ipblocks/{ipblockId}/labels/{key}

    Retrieve IP block labels

    IpblocksLabelsGet

    Get /ipblocks/{ipblockId}/labels

    List IP block labels

    IpblocksLabelsPost

    Post /ipblocks/{ipblockId}/labels

    Create IP block labels

    IpblocksLabelsPut

    Put /ipblocks/{ipblockId}/labels/{key}

    Modify a IP Block Label by ID

    LabelsFindByUrn

    Get /labels/{labelurn}

    Retrieve labels by URN

    LabelsGet

    Get /labels

    List labels

    SnapshotsLabelsDelete

    Delete /snapshots/{snapshotId}/labels/{key}

    Delete snapshot labels

    SnapshotsLabelsFindByKey

    Get /snapshots/{snapshotId}/labels/{key}

    Retrieve snapshot labels

    SnapshotsLabelsGet

    Get /snapshots/{snapshotId}/labels

    List snapshot labels

    SnapshotsLabelsPost

    Post /snapshots/{snapshotId}/labels

    Create a Snapshot Label

    SnapshotsLabelsPut

    Put /snapshots/{snapshotId}/labels/{key}

    Modify a Snapshot Label by ID

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    key

    string

    The label key

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    key

    string

    The label key

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    label

    LabelResource

    The label to create.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    key

    string

    The label key

    label

    LabelResource

    The modified label

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    serverId

    string

    The unique ID of the server.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    serverId

    string

    The unique ID of the server.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    serverId

    string

    The unique ID of the server.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    serverId

    string

    The unique ID of the server.

    label

    LabelResource

    The label to create.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    serverId

    string

    The unique ID of the server.

    label

    LabelResource

    The modified label

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    volumeId

    string

    The unique ID of the volume.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    volumeId

    string

    The unique ID of the volume.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    volumeId

    string

    The unique ID of the volume.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    volumeId

    string

    The unique ID of the volume.

    label

    LabelResource

    The label to create.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    datacenterId

    string

    The unique ID of the data center.

    volumeId

    string

    The unique ID of the volume.

    label

    LabelResource

    The modified label

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    imageId

    string

    The unique ID of the image.

    key

    string

    The label key

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    imageId

    string

    The unique ID of the image.

    key

    string

    The label key

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    imageId

    string

    The unique ID of the image.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    imageId

    string

    The unique ID of the image

    label

    LabelResource

    The label to create.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    imageId

    string

    The unique ID of the image.

    key

    string

    The label key

    label

    LabelResource

    The modified label

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    ipblockId

    string

    The unique ID of the IP block.

    key

    string

    The label key

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    ipblockId

    string

    The unique ID of the IP block.

    key

    string

    The label key

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    ipblockId

    string

    The unique ID of the IP block.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    ipblockId

    string

    The unique ID of the IP block.

    label

    LabelResource

    The label to create.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    ipblockId

    string

    The unique ID of the IP block.

    key

    string

    The label key

    label

    LabelResource

    The modified label

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    labelurn

    string

    The label URN; URN is unique for each label, and consists of: urn🏷️<resource_type>:<resource_uuid>:<key><key>

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    snapshotId

    string

    The unique ID of the snapshot.

    key

    string

    The label key

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    snapshotId

    string

    The unique ID of the snapshot.

    key

    string

    The label key

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    snapshotId

    string

    The unique ID of the snapshot.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    [default to 0]

    xContractNumber

    int32

    Users with multiple contracts must provide the contract number, for which all API requests are to be executed.

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    snapshotId

    string

    The unique ID of the snapshot.

    label

    LabelResource

    The label to create.

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    ctx

    context.Context

    context for authentication, logging, cancellation, deadlines, tracing, etc.

    snapshotId

    string

    The unique ID of the snapshot.

    key

    string

    The label key

    label

    LabelResource

    The modified label

    pretty

    bool

    Controls whether the response is pretty-printed (with indentations and new lines).

    [default to true]

    depth

    int32

    Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on

    LabelResource
    LabelResources
    LabelResource
    LabelResource
    LabelResource
    LabelResources
    LabelResource
    LabelResource
    LabelResource
    LabelResources
    LabelResource
    LabelResource
    LabelResource
    LabelResources
    LabelResource
    LabelResource
    LabelResource
    LabelResources
    LabelResource
    LabelResource
    Label
    Labels
    LabelResource
    LabelResources
    LabelResource
    LabelResource
    DatacentersLabelsDelete
    DatacentersLabelsFindByKey
    DatacentersLabelsGet

    [default to 0]

    [default to 0]

    [default to 0]

    [default to 0]

    [default to 0]

    [default to 0]

    [default to 0]

    [default to 0]

    [default to 0]

    [default to 0]

    [default to 0]

    [default to 0]

    var result  = DatacentersLabelsDelete(ctx, datacenterId, key)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        key := "key_example" // string | The label key
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resp, err := apiClient.LabelsApi.DatacentersLabelsDelete(context.Background(), datacenterId, key).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `LabelsApi.DatacentersLabelsDelete``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
    }
    var result LabelResource = DatacentersLabelsFindByKey(ctx, datacenterId, key)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        key := "key_example" // string | The label key
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.LabelsApi.DatacentersLabelsFindByKey(context.Background(), datacenterId, key).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `LabelsApi.DatacentersLabelsFindByKey``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersLabelsFindByKey`: LabelResource
        fmt.Fprintf(os.Stdout, "Response from `LabelsApi.DatacentersLabelsFindByKey`: %v\n", resp)
    }
    var result LabelResources = DatacentersLabelsGet(ctx, datacenterId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.LabelsApi.DatacentersLabelsGet(context.Background(), datacenterId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `LabelsApi.DatacentersLabelsGet``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersLabelsGet`: LabelResources
        fmt.Fprintf(os.Stdout, "Response from `LabelsApi.DatacentersLabelsGet`: %v\n", resp)
    }
    var result LabelResource = DatacentersLabelsPost(ctx, datacenterId)
                          .Label(label)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        label := *openapiclient.NewLabelResource(*openapiclient.NewLabelResourceProperties()) // LabelResource | The label to create.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.LabelsApi.DatacentersLabelsPost(context.Background(), datacenterId).Label(label).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `LabelsApi.DatacentersLabelsPost``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersLabelsPost`: LabelResource
        fmt.Fprintf(os.Stdout, "Response from `LabelsApi.DatacentersLabelsPost`: %v\n", resp)
    }
    var result LabelResource = DatacentersLabelsPut(ctx, datacenterId, key)
                          .Label(label)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        key := "key_example" // string | The label key
        label := *openapiclient.NewLabelResource(*openapiclient.NewLabelResourceProperties()) // LabelResource | The modified label
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.LabelsApi.DatacentersLabelsPut(context.Background(), datacenterId, key).Label(label).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `LabelsApi.DatacentersLabelsPut``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersLabelsPut`: LabelResource
        fmt.Fprintf(os.Stdout, "Response from `LabelsApi.DatacentersLabelsPut`: %v\n", resp)
    }
    var result  = DatacentersServersLabelsDelete(ctx, datacenterId, serverId, key)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        serverId := "serverId_example" // string | The unique ID of the server.
        key := "key_example" // string | The label key
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resp, err := apiClient.LabelsApi.DatacentersServersLabelsDelete(context.Background(), datacenterId, serverId, key).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `LabelsApi.DatacentersServersLabelsDelete``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
    }
    var result LabelResource = DatacentersServersLabelsFindByKey(ctx, datacenterId, serverId, key)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        serverId := "serverId_example" // string | The unique ID of the server.
        key := "key_example" // string | The label key
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.LabelsApi.DatacentersServersLabelsFindByKey(context.Background(), datacenterId, serverId, key).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `LabelsApi.DatacentersServersLabelsFindByKey``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersServersLabelsFindByKey`: LabelResource
        fmt.Fprintf(os.Stdout, "Response from `LabelsApi.DatacentersServersLabelsFindByKey`: %v\n", resp)
    }
    var result LabelResources = DatacentersServersLabelsGet(ctx, datacenterId, serverId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        serverId := "serverId_example" // string | The unique ID of the server.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.LabelsApi.DatacentersServersLabelsGet(context.Background(), datacenterId, serverId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `LabelsApi.DatacentersServersLabelsGet``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersServersLabelsGet`: LabelResources
        fmt.Fprintf(os.Stdout, "Response from `LabelsApi.DatacentersServersLabelsGet`: %v\n", resp)
    }
    var result LabelResource = DatacentersServersLabelsPost(ctx, datacenterId, serverId)
                          .Label(label)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        serverId := "serverId_example" // string | The unique ID of the server.
        label := *openapiclient.NewLabelResource(*openapiclient.NewLabelResourceProperties()) // LabelResource | The label to create.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.LabelsApi.DatacentersServersLabelsPost(context.Background(), datacenterId, serverId).Label(label).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `LabelsApi.DatacentersServersLabelsPost``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersServersLabelsPost`: LabelResource
        fmt.Fprintf(os.Stdout, "Response from `LabelsApi.DatacentersServersLabelsPost`: %v\n", resp)
    }
    var result LabelResource = DatacentersServersLabelsPut(ctx, datacenterId, serverId, key)
                          .Label(label)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        serverId := "serverId_example" // string | The unique ID of the server.
        key := "key_example" // string | The label key
        label := *openapiclient.NewLabelResource(*openapiclient.NewLabelResourceProperties()) // LabelResource | The modified label
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.LabelsApi.DatacentersServersLabelsPut(context.Background(), datacenterId, serverId, key).Label(label).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `LabelsApi.DatacentersServersLabelsPut``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersServersLabelsPut`: LabelResource
        fmt.Fprintf(os.Stdout, "Response from `LabelsApi.DatacentersServersLabelsPut`: %v\n", resp)
    }
    var result  = DatacentersVolumesLabelsDelete(ctx, datacenterId, volumeId, key)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        volumeId := "volumeId_example" // string | The unique ID of the volume.
        key := "key_example" // string | The label key
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resp, err := apiClient.LabelsApi.DatacentersVolumesLabelsDelete(context.Background(), datacenterId, volumeId, key).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `LabelsApi.DatacentersVolumesLabelsDelete``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
    }
    var result LabelResource = DatacentersVolumesLabelsFindByKey(ctx, datacenterId, volumeId, key)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        volumeId := "volumeId_example" // string | The unique ID of the volume.
        key := "key_example" // string | The label key
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.LabelsApi.DatacentersVolumesLabelsFindByKey(context.Background(), datacenterId, volumeId, key).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `LabelsApi.DatacentersVolumesLabelsFindByKey``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersVolumesLabelsFindByKey`: LabelResource
        fmt.Fprintf(os.Stdout, "Response from `LabelsApi.DatacentersVolumesLabelsFindByKey`: %v\n", resp)
    }
    var result LabelResources = DatacentersVolumesLabelsGet(ctx, datacenterId, volumeId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        volumeId := "volumeId_example" // string | The unique ID of the volume.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.LabelsApi.DatacentersVolumesLabelsGet(context.Background(), datacenterId, volumeId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `LabelsApi.DatacentersVolumesLabelsGet``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersVolumesLabelsGet`: LabelResources
        fmt.Fprintf(os.Stdout, "Response from `LabelsApi.DatacentersVolumesLabelsGet`: %v\n", resp)
    }
    var result LabelResource = DatacentersVolumesLabelsPost(ctx, datacenterId, volumeId)
                          .Label(label)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        volumeId := "volumeId_example" // string | The unique ID of the volume.
        label := *openapiclient.NewLabelResource(*openapiclient.NewLabelResourceProperties()) // LabelResource | The label to create.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.LabelsApi.DatacentersVolumesLabelsPost(context.Background(), datacenterId, volumeId).Label(label).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `LabelsApi.DatacentersVolumesLabelsPost``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersVolumesLabelsPost`: LabelResource
        fmt.Fprintf(os.Stdout, "Response from `LabelsApi.DatacentersVolumesLabelsPost`: %v\n", resp)
    }
    var result LabelResource = DatacentersVolumesLabelsPut(ctx, datacenterId, volumeId, key)
                          .Label(label)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        datacenterId := "datacenterId_example" // string | The unique ID of the data center.
        volumeId := "volumeId_example" // string | The unique ID of the volume.
        key := "key_example" // string | The label key
        label := *openapiclient.NewLabelResource(*openapiclient.NewLabelResourceProperties()) // LabelResource | The modified label
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.LabelsApi.DatacentersVolumesLabelsPut(context.Background(), datacenterId, volumeId, key).Label(label).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `LabelsApi.DatacentersVolumesLabelsPut``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `DatacentersVolumesLabelsPut`: LabelResource
        fmt.Fprintf(os.Stdout, "Response from `LabelsApi.DatacentersVolumesLabelsPut`: %v\n", resp)
    }
    var result  = ImagesLabelsDelete(ctx, imageId, key)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        imageId := "imageId_example" // string | The unique ID of the image.
        key := "key_example" // string | The label key
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resp, err := apiClient.LabelsApi.ImagesLabelsDelete(context.Background(), imageId, key).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `LabelsApi.ImagesLabelsDelete``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
    }
    var result LabelResource = ImagesLabelsFindByKey(ctx, imageId, key)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        imageId := "imageId_example" // string | The unique ID of the image.
        key := "key_example" // string | The label key
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.LabelsApi.ImagesLabelsFindByKey(context.Background(), imageId, key).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `LabelsApi.ImagesLabelsFindByKey``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `ImagesLabelsFindByKey`: LabelResource
        fmt.Fprintf(os.Stdout, "Response from `LabelsApi.ImagesLabelsFindByKey`: %v\n", resp)
    }
    var result LabelResources = ImagesLabelsGet(ctx, imageId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        imageId := "imageId_example" // string | The unique ID of the image.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.LabelsApi.ImagesLabelsGet(context.Background(), imageId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `LabelsApi.ImagesLabelsGet``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `ImagesLabelsGet`: LabelResources
        fmt.Fprintf(os.Stdout, "Response from `LabelsApi.ImagesLabelsGet`: %v\n", resp)
    }
    var result LabelResource = ImagesLabelsPost(ctx, imageId)
                          .Label(label)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        imageId := "imageId_example" // string | The unique ID of the image
        label := *openapiclient.NewLabelResource(*openapiclient.NewLabelResourceProperties()) // LabelResource | The label to create.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.LabelsApi.ImagesLabelsPost(context.Background(), imageId).Label(label).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `LabelsApi.ImagesLabelsPost``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `ImagesLabelsPost`: LabelResource
        fmt.Fprintf(os.Stdout, "Response from `LabelsApi.ImagesLabelsPost`: %v\n", resp)
    }
    var result LabelResource = ImagesLabelsPut(ctx, imageId, key)
                          .Label(label)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        imageId := "imageId_example" // string | The unique ID of the image.
        key := "key_example" // string | The label key
        label := *openapiclient.NewLabelResource(*openapiclient.NewLabelResourceProperties()) // LabelResource | The modified label
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.LabelsApi.ImagesLabelsPut(context.Background(), imageId, key).Label(label).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `LabelsApi.ImagesLabelsPut``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `ImagesLabelsPut`: LabelResource
        fmt.Fprintf(os.Stdout, "Response from `LabelsApi.ImagesLabelsPut`: %v\n", resp)
    }
    var result  = IpblocksLabelsDelete(ctx, ipblockId, key)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        ipblockId := "ipblockId_example" // string | The unique ID of the IP block.
        key := "key_example" // string | The label key
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resp, err := apiClient.LabelsApi.IpblocksLabelsDelete(context.Background(), ipblockId, key).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `LabelsApi.IpblocksLabelsDelete``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
    }
    var result LabelResource = IpblocksLabelsFindByKey(ctx, ipblockId, key)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        ipblockId := "ipblockId_example" // string | The unique ID of the IP block.
        key := "key_example" // string | The label key
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.LabelsApi.IpblocksLabelsFindByKey(context.Background(), ipblockId, key).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `LabelsApi.IpblocksLabelsFindByKey``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `IpblocksLabelsFindByKey`: LabelResource
        fmt.Fprintf(os.Stdout, "Response from `LabelsApi.IpblocksLabelsFindByKey`: %v\n", resp)
    }
    var result LabelResources = IpblocksLabelsGet(ctx, ipblockId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        ipblockId := "ipblockId_example" // string | The unique ID of the IP block.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.LabelsApi.IpblocksLabelsGet(context.Background(), ipblockId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `LabelsApi.IpblocksLabelsGet``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `IpblocksLabelsGet`: LabelResources
        fmt.Fprintf(os.Stdout, "Response from `LabelsApi.IpblocksLabelsGet`: %v\n", resp)
    }
    var result LabelResource = IpblocksLabelsPost(ctx, ipblockId)
                          .Label(label)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        ipblockId := "ipblockId_example" // string | The unique ID of the IP block.
        label := *openapiclient.NewLabelResource(*openapiclient.NewLabelResourceProperties()) // LabelResource | The label to create.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.LabelsApi.IpblocksLabelsPost(context.Background(), ipblockId).Label(label).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `LabelsApi.IpblocksLabelsPost``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `IpblocksLabelsPost`: LabelResource
        fmt.Fprintf(os.Stdout, "Response from `LabelsApi.IpblocksLabelsPost`: %v\n", resp)
    }
    var result LabelResource = IpblocksLabelsPut(ctx, ipblockId, key)
                          .Label(label)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        ipblockId := "ipblockId_example" // string | The unique ID of the IP block.
        key := "key_example" // string | The label key
        label := *openapiclient.NewLabelResource(*openapiclient.NewLabelResourceProperties()) // LabelResource | The modified label
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.LabelsApi.IpblocksLabelsPut(context.Background(), ipblockId, key).Label(label).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `LabelsApi.IpblocksLabelsPut``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `IpblocksLabelsPut`: LabelResource
        fmt.Fprintf(os.Stdout, "Response from `LabelsApi.IpblocksLabelsPut`: %v\n", resp)
    }
    var result Label = LabelsFindByUrn(ctx, labelurn)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        labelurn := "labelurn_example" // string | The label URN; URN is unique for each label, and consists of:  urn:label:<resource_type>:<resource_uuid>:<key><key>
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.LabelsApi.LabelsFindByUrn(context.Background(), labelurn).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `LabelsApi.LabelsFindByUrn``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `LabelsFindByUrn`: Label
        fmt.Fprintf(os.Stdout, "Response from `LabelsApi.LabelsFindByUrn`: %v\n", resp)
    }
    var result Labels = LabelsGet(ctx)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.LabelsApi.LabelsGet(context.Background()).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `LabelsApi.LabelsGet``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `LabelsGet`: Labels
        fmt.Fprintf(os.Stdout, "Response from `LabelsApi.LabelsGet`: %v\n", resp)
    }
    var result  = SnapshotsLabelsDelete(ctx, snapshotId, key)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        snapshotId := "snapshotId_example" // string | The unique ID of the snapshot.
        key := "key_example" // string | The label key
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resp, err := apiClient.LabelsApi.SnapshotsLabelsDelete(context.Background(), snapshotId, key).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `LabelsApi.SnapshotsLabelsDelete``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
    }
    var result LabelResource = SnapshotsLabelsFindByKey(ctx, snapshotId, key)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        snapshotId := "snapshotId_example" // string | The unique ID of the snapshot.
        key := "key_example" // string | The label key
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.LabelsApi.SnapshotsLabelsFindByKey(context.Background(), snapshotId, key).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `LabelsApi.SnapshotsLabelsFindByKey``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `SnapshotsLabelsFindByKey`: LabelResource
        fmt.Fprintf(os.Stdout, "Response from `LabelsApi.SnapshotsLabelsFindByKey`: %v\n", resp)
    }
    var result LabelResources = SnapshotsLabelsGet(ctx, snapshotId)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        snapshotId := "snapshotId_example" // string | The unique ID of the snapshot.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.LabelsApi.SnapshotsLabelsGet(context.Background(), snapshotId).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `LabelsApi.SnapshotsLabelsGet``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `SnapshotsLabelsGet`: LabelResources
        fmt.Fprintf(os.Stdout, "Response from `LabelsApi.SnapshotsLabelsGet`: %v\n", resp)
    }
    var result LabelResource = SnapshotsLabelsPost(ctx, snapshotId)
                          .Label(label)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        snapshotId := "snapshotId_example" // string | The unique ID of the snapshot.
        label := *openapiclient.NewLabelResource(*openapiclient.NewLabelResourceProperties()) // LabelResource | The label to create.
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.LabelsApi.SnapshotsLabelsPost(context.Background(), snapshotId).Label(label).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `LabelsApi.SnapshotsLabelsPost``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `SnapshotsLabelsPost`: LabelResource
        fmt.Fprintf(os.Stdout, "Response from `LabelsApi.SnapshotsLabelsPost`: %v\n", resp)
    }
    var result LabelResource = SnapshotsLabelsPut(ctx, snapshotId, key)
                          .Label(label)
                          .Pretty(pretty)
                          .Depth(depth)
                          .XContractNumber(xContractNumber)
                          .Execute()
    package main
    
    import (
        "context"
        "fmt"
        "os"
    
        ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    )
    
    func main() {
        snapshotId := "snapshotId_example" // string | The unique ID of the snapshot.
        key := "key_example" // string | The label key
        label := *openapiclient.NewLabelResource(*openapiclient.NewLabelResourceProperties()) // LabelResource | The modified label
        pretty := true // bool | Controls whether the response is pretty-printed (with indentations and new lines). (optional) (default to true)
        depth := int32(56) // int32 | Controls the detail depth of the response objects.  GET /datacenters/[ID]  - depth=0: Only direct properties are included; children (servers and other elements) are not included.  - depth=1: Direct properties and children references are included.  - depth=2: Direct properties and children properties are included.  - depth=3: Direct properties and children properties and children's children are included.  - depth=... and so on (optional) (default to 0)
        xContractNumber := int32(56) // int32 | Users with multiple contracts must provide the contract number, for which all API requests are to be executed. (optional)
    
        configuration := ionoscloud.NewConfiguration()
        apiClient := ionoscloud.NewAPIClient(configuration)
        resource, resp, err := apiClient.LabelsApi.SnapshotsLabelsPut(context.Background(), snapshotId, key).Label(label).Pretty(pretty).Depth(depth).XContractNumber(xContractNumber).Execute()
        if err != nil {
            fmt.Fprintf(os.Stderr, "Error when calling `LabelsApi.SnapshotsLabelsPut``: %v\n", err)
            fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
        }
        // response from `SnapshotsLabelsPut`: LabelResource
        fmt.Fprintf(os.Stdout, "Response from `LabelsApi.SnapshotsLabelsPut`: %v\n", resp)
    }