oapi

package
v0.80.2 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2021 License: Apache-2.0 Imports: 17 Imported by: 6

Documentation

Overview

Package oapi provides primitives to interact with the openapi HTTP API.

Code generated by github.com/deepmap/oapi-codegen version v1.8.3 DO NOT EDIT.

Package oapi is an internal package containing code generated from the Exoscale API OpenAPI specs, as well as helpers and transition types exposed in the public-facing package.

Index

Constants

View Source
const (
	// DefaultPollingInterval represents the default polling interval used in Poller.
	DefaultPollingInterval = 3 * time.Second
)

Variables

This section is empty.

Functions

func NewAddExternalSourceToSecurityGroupRequest

func NewAddExternalSourceToSecurityGroupRequest(server string, id string, body AddExternalSourceToSecurityGroupJSONRequestBody) (*http.Request, error)

NewAddExternalSourceToSecurityGroupRequest calls the generic AddExternalSourceToSecurityGroup builder with application/json body

func NewAddExternalSourceToSecurityGroupRequestWithBody

func NewAddExternalSourceToSecurityGroupRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)

NewAddExternalSourceToSecurityGroupRequestWithBody generates requests for AddExternalSourceToSecurityGroup with any type of body

func NewAddRuleToSecurityGroupRequest

func NewAddRuleToSecurityGroupRequest(server string, id string, body AddRuleToSecurityGroupJSONRequestBody) (*http.Request, error)

NewAddRuleToSecurityGroupRequest calls the generic AddRuleToSecurityGroup builder with application/json body

func NewAddRuleToSecurityGroupRequestWithBody

func NewAddRuleToSecurityGroupRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)

NewAddRuleToSecurityGroupRequestWithBody generates requests for AddRuleToSecurityGroup with any type of body

func NewAddServiceToLoadBalancerRequest

func NewAddServiceToLoadBalancerRequest(server string, id string, body AddServiceToLoadBalancerJSONRequestBody) (*http.Request, error)

NewAddServiceToLoadBalancerRequest calls the generic AddServiceToLoadBalancer builder with application/json body

func NewAddServiceToLoadBalancerRequestWithBody

func NewAddServiceToLoadBalancerRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)

NewAddServiceToLoadBalancerRequestWithBody generates requests for AddServiceToLoadBalancer with any type of body

func NewAttachInstanceToElasticIpRequest

func NewAttachInstanceToElasticIpRequest(server string, id string, body AttachInstanceToElasticIpJSONRequestBody) (*http.Request, error)

NewAttachInstanceToElasticIpRequest calls the generic AttachInstanceToElasticIp builder with application/json body

func NewAttachInstanceToElasticIpRequestWithBody

func NewAttachInstanceToElasticIpRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)

NewAttachInstanceToElasticIpRequestWithBody generates requests for AttachInstanceToElasticIp with any type of body

func NewAttachInstanceToPrivateNetworkRequest

func NewAttachInstanceToPrivateNetworkRequest(server string, id string, body AttachInstanceToPrivateNetworkJSONRequestBody) (*http.Request, error)

NewAttachInstanceToPrivateNetworkRequest calls the generic AttachInstanceToPrivateNetwork builder with application/json body

func NewAttachInstanceToPrivateNetworkRequestWithBody

func NewAttachInstanceToPrivateNetworkRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)

NewAttachInstanceToPrivateNetworkRequestWithBody generates requests for AttachInstanceToPrivateNetwork with any type of body

func NewAttachInstanceToSecurityGroupRequest

func NewAttachInstanceToSecurityGroupRequest(server string, id string, body AttachInstanceToSecurityGroupJSONRequestBody) (*http.Request, error)

NewAttachInstanceToSecurityGroupRequest calls the generic AttachInstanceToSecurityGroup builder with application/json body

func NewAttachInstanceToSecurityGroupRequestWithBody

func NewAttachInstanceToSecurityGroupRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)

NewAttachInstanceToSecurityGroupRequestWithBody generates requests for AttachInstanceToSecurityGroup with any type of body

func NewCopyTemplateRequest

func NewCopyTemplateRequest(server string, id string, body CopyTemplateJSONRequestBody) (*http.Request, error)

NewCopyTemplateRequest calls the generic CopyTemplate builder with application/json body

func NewCopyTemplateRequestWithBody

func NewCopyTemplateRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)

NewCopyTemplateRequestWithBody generates requests for CopyTemplate with any type of body

func NewCreateAntiAffinityGroupRequest

func NewCreateAntiAffinityGroupRequest(server string, body CreateAntiAffinityGroupJSONRequestBody) (*http.Request, error)

NewCreateAntiAffinityGroupRequest calls the generic CreateAntiAffinityGroup builder with application/json body

func NewCreateAntiAffinityGroupRequestWithBody

func NewCreateAntiAffinityGroupRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewCreateAntiAffinityGroupRequestWithBody generates requests for CreateAntiAffinityGroup with any type of body

func NewCreateDbaasServiceKafkaRequest added in v0.78.0

func NewCreateDbaasServiceKafkaRequest(server string, name DbaasServiceName, body CreateDbaasServiceKafkaJSONRequestBody) (*http.Request, error)

NewCreateDbaasServiceKafkaRequest calls the generic CreateDbaasServiceKafka builder with application/json body

func NewCreateDbaasServiceKafkaRequestWithBody added in v0.78.0

func NewCreateDbaasServiceKafkaRequestWithBody(server string, name DbaasServiceName, contentType string, body io.Reader) (*http.Request, error)

NewCreateDbaasServiceKafkaRequestWithBody generates requests for CreateDbaasServiceKafka with any type of body

func NewCreateDbaasServiceMysqlRequest added in v0.78.0

func NewCreateDbaasServiceMysqlRequest(server string, name DbaasServiceName, body CreateDbaasServiceMysqlJSONRequestBody) (*http.Request, error)

NewCreateDbaasServiceMysqlRequest calls the generic CreateDbaasServiceMysql builder with application/json body

func NewCreateDbaasServiceMysqlRequestWithBody added in v0.78.0

func NewCreateDbaasServiceMysqlRequestWithBody(server string, name DbaasServiceName, contentType string, body io.Reader) (*http.Request, error)

NewCreateDbaasServiceMysqlRequestWithBody generates requests for CreateDbaasServiceMysql with any type of body

func NewCreateDbaasServicePgRequest added in v0.78.0

func NewCreateDbaasServicePgRequest(server string, name DbaasServiceName, body CreateDbaasServicePgJSONRequestBody) (*http.Request, error)

NewCreateDbaasServicePgRequest calls the generic CreateDbaasServicePg builder with application/json body

func NewCreateDbaasServicePgRequestWithBody added in v0.78.0

func NewCreateDbaasServicePgRequestWithBody(server string, name DbaasServiceName, contentType string, body io.Reader) (*http.Request, error)

NewCreateDbaasServicePgRequestWithBody generates requests for CreateDbaasServicePg with any type of body

func NewCreateDbaasServiceRedisRequest added in v0.78.0

func NewCreateDbaasServiceRedisRequest(server string, name DbaasServiceName, body CreateDbaasServiceRedisJSONRequestBody) (*http.Request, error)

NewCreateDbaasServiceRedisRequest calls the generic CreateDbaasServiceRedis builder with application/json body

func NewCreateDbaasServiceRedisRequestWithBody added in v0.78.0

func NewCreateDbaasServiceRedisRequestWithBody(server string, name DbaasServiceName, contentType string, body io.Reader) (*http.Request, error)

NewCreateDbaasServiceRedisRequestWithBody generates requests for CreateDbaasServiceRedis with any type of body

func NewCreateElasticIpRequest

func NewCreateElasticIpRequest(server string, body CreateElasticIpJSONRequestBody) (*http.Request, error)

NewCreateElasticIpRequest calls the generic CreateElasticIp builder with application/json body

func NewCreateElasticIpRequestWithBody

func NewCreateElasticIpRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewCreateElasticIpRequestWithBody generates requests for CreateElasticIp with any type of body

func NewCreateInstancePoolRequest

func NewCreateInstancePoolRequest(server string, body CreateInstancePoolJSONRequestBody) (*http.Request, error)

NewCreateInstancePoolRequest calls the generic CreateInstancePool builder with application/json body

func NewCreateInstancePoolRequestWithBody

func NewCreateInstancePoolRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewCreateInstancePoolRequestWithBody generates requests for CreateInstancePool with any type of body

func NewCreateInstanceRequest

func NewCreateInstanceRequest(server string, body CreateInstanceJSONRequestBody) (*http.Request, error)

NewCreateInstanceRequest calls the generic CreateInstance builder with application/json body

func NewCreateInstanceRequestWithBody

func NewCreateInstanceRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewCreateInstanceRequestWithBody generates requests for CreateInstance with any type of body

func NewCreateLoadBalancerRequest

func NewCreateLoadBalancerRequest(server string, body CreateLoadBalancerJSONRequestBody) (*http.Request, error)

NewCreateLoadBalancerRequest calls the generic CreateLoadBalancer builder with application/json body

func NewCreateLoadBalancerRequestWithBody

func NewCreateLoadBalancerRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewCreateLoadBalancerRequestWithBody generates requests for CreateLoadBalancer with any type of body

func NewCreatePrivateNetworkRequest

func NewCreatePrivateNetworkRequest(server string, body CreatePrivateNetworkJSONRequestBody) (*http.Request, error)

NewCreatePrivateNetworkRequest calls the generic CreatePrivateNetwork builder with application/json body

func NewCreatePrivateNetworkRequestWithBody

func NewCreatePrivateNetworkRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewCreatePrivateNetworkRequestWithBody generates requests for CreatePrivateNetwork with any type of body

func NewCreateSecurityGroupRequest

func NewCreateSecurityGroupRequest(server string, body CreateSecurityGroupJSONRequestBody) (*http.Request, error)

NewCreateSecurityGroupRequest calls the generic CreateSecurityGroup builder with application/json body

func NewCreateSecurityGroupRequestWithBody

func NewCreateSecurityGroupRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewCreateSecurityGroupRequestWithBody generates requests for CreateSecurityGroup with any type of body

func NewCreateSksClusterRequest

func NewCreateSksClusterRequest(server string, body CreateSksClusterJSONRequestBody) (*http.Request, error)

NewCreateSksClusterRequest calls the generic CreateSksCluster builder with application/json body

func NewCreateSksClusterRequestWithBody

func NewCreateSksClusterRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewCreateSksClusterRequestWithBody generates requests for CreateSksCluster with any type of body

func NewCreateSksNodepoolRequest

func NewCreateSksNodepoolRequest(server string, id string, body CreateSksNodepoolJSONRequestBody) (*http.Request, error)

NewCreateSksNodepoolRequest calls the generic CreateSksNodepool builder with application/json body

func NewCreateSksNodepoolRequestWithBody

func NewCreateSksNodepoolRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)

NewCreateSksNodepoolRequestWithBody generates requests for CreateSksNodepool with any type of body

func NewCreateSnapshotRequest

func NewCreateSnapshotRequest(server string, id string) (*http.Request, error)

NewCreateSnapshotRequest generates requests for CreateSnapshot

func NewDeleteAntiAffinityGroupRequest

func NewDeleteAntiAffinityGroupRequest(server string, id string) (*http.Request, error)

NewDeleteAntiAffinityGroupRequest generates requests for DeleteAntiAffinityGroup

func NewDeleteDbaasServiceRequest added in v0.78.0

func NewDeleteDbaasServiceRequest(server string, name string) (*http.Request, error)

NewDeleteDbaasServiceRequest generates requests for DeleteDbaasService

func NewDeleteElasticIpRequest

func NewDeleteElasticIpRequest(server string, id string) (*http.Request, error)

NewDeleteElasticIpRequest generates requests for DeleteElasticIp

func NewDeleteInstancePoolRequest

func NewDeleteInstancePoolRequest(server string, id string) (*http.Request, error)

NewDeleteInstancePoolRequest generates requests for DeleteInstancePool

func NewDeleteInstanceRequest

func NewDeleteInstanceRequest(server string, id string) (*http.Request, error)

NewDeleteInstanceRequest generates requests for DeleteInstance

func NewDeleteLoadBalancerRequest

func NewDeleteLoadBalancerRequest(server string, id string) (*http.Request, error)

NewDeleteLoadBalancerRequest generates requests for DeleteLoadBalancer

func NewDeleteLoadBalancerServiceRequest

func NewDeleteLoadBalancerServiceRequest(server string, id string, serviceId string) (*http.Request, error)

NewDeleteLoadBalancerServiceRequest generates requests for DeleteLoadBalancerService

func NewDeletePrivateNetworkRequest

func NewDeletePrivateNetworkRequest(server string, id string) (*http.Request, error)

NewDeletePrivateNetworkRequest generates requests for DeletePrivateNetwork

func NewDeleteRuleFromSecurityGroupRequest

func NewDeleteRuleFromSecurityGroupRequest(server string, id string, ruleId string) (*http.Request, error)

NewDeleteRuleFromSecurityGroupRequest generates requests for DeleteRuleFromSecurityGroup

func NewDeleteSecurityGroupRequest

func NewDeleteSecurityGroupRequest(server string, id string) (*http.Request, error)

NewDeleteSecurityGroupRequest generates requests for DeleteSecurityGroup

func NewDeleteSksClusterRequest

func NewDeleteSksClusterRequest(server string, id string) (*http.Request, error)

NewDeleteSksClusterRequest generates requests for DeleteSksCluster

func NewDeleteSksNodepoolRequest

func NewDeleteSksNodepoolRequest(server string, id string, sksNodepoolId string) (*http.Request, error)

NewDeleteSksNodepoolRequest generates requests for DeleteSksNodepool

func NewDeleteSnapshotRequest

func NewDeleteSnapshotRequest(server string, id string) (*http.Request, error)

NewDeleteSnapshotRequest generates requests for DeleteSnapshot

func NewDeleteSshKeyRequest

func NewDeleteSshKeyRequest(server string, name string) (*http.Request, error)

NewDeleteSshKeyRequest generates requests for DeleteSshKey

func NewDeleteTemplateRequest

func NewDeleteTemplateRequest(server string, id string) (*http.Request, error)

NewDeleteTemplateRequest generates requests for DeleteTemplate

func NewDetachInstanceFromElasticIpRequest

func NewDetachInstanceFromElasticIpRequest(server string, id string, body DetachInstanceFromElasticIpJSONRequestBody) (*http.Request, error)

NewDetachInstanceFromElasticIpRequest calls the generic DetachInstanceFromElasticIp builder with application/json body

func NewDetachInstanceFromElasticIpRequestWithBody

func NewDetachInstanceFromElasticIpRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)

NewDetachInstanceFromElasticIpRequestWithBody generates requests for DetachInstanceFromElasticIp with any type of body

func NewDetachInstanceFromPrivateNetworkRequest

func NewDetachInstanceFromPrivateNetworkRequest(server string, id string, body DetachInstanceFromPrivateNetworkJSONRequestBody) (*http.Request, error)

NewDetachInstanceFromPrivateNetworkRequest calls the generic DetachInstanceFromPrivateNetwork builder with application/json body

func NewDetachInstanceFromPrivateNetworkRequestWithBody

func NewDetachInstanceFromPrivateNetworkRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)

NewDetachInstanceFromPrivateNetworkRequestWithBody generates requests for DetachInstanceFromPrivateNetwork with any type of body

func NewDetachInstanceFromSecurityGroupRequest

func NewDetachInstanceFromSecurityGroupRequest(server string, id string, body DetachInstanceFromSecurityGroupJSONRequestBody) (*http.Request, error)

NewDetachInstanceFromSecurityGroupRequest calls the generic DetachInstanceFromSecurityGroup builder with application/json body

func NewDetachInstanceFromSecurityGroupRequestWithBody

func NewDetachInstanceFromSecurityGroupRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)

NewDetachInstanceFromSecurityGroupRequestWithBody generates requests for DetachInstanceFromSecurityGroup with any type of body

func NewEvictInstancePoolMembersRequest

func NewEvictInstancePoolMembersRequest(server string, id string, body EvictInstancePoolMembersJSONRequestBody) (*http.Request, error)

NewEvictInstancePoolMembersRequest calls the generic EvictInstancePoolMembers builder with application/json body

func NewEvictInstancePoolMembersRequestWithBody

func NewEvictInstancePoolMembersRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)

NewEvictInstancePoolMembersRequestWithBody generates requests for EvictInstancePoolMembers with any type of body

func NewEvictSksNodepoolMembersRequest

func NewEvictSksNodepoolMembersRequest(server string, id string, sksNodepoolId string, body EvictSksNodepoolMembersJSONRequestBody) (*http.Request, error)

NewEvictSksNodepoolMembersRequest calls the generic EvictSksNodepoolMembers builder with application/json body

func NewEvictSksNodepoolMembersRequestWithBody

func NewEvictSksNodepoolMembersRequestWithBody(server string, id string, sksNodepoolId string, contentType string, body io.Reader) (*http.Request, error)

NewEvictSksNodepoolMembersRequestWithBody generates requests for EvictSksNodepoolMembers with any type of body

func NewExportSnapshotRequest

func NewExportSnapshotRequest(server string, id string) (*http.Request, error)

NewExportSnapshotRequest generates requests for ExportSnapshot

func NewGenerateSksClusterKubeconfigRequest

func NewGenerateSksClusterKubeconfigRequest(server string, id string, body GenerateSksClusterKubeconfigJSONRequestBody) (*http.Request, error)

NewGenerateSksClusterKubeconfigRequest calls the generic GenerateSksClusterKubeconfig builder with application/json body

func NewGenerateSksClusterKubeconfigRequestWithBody

func NewGenerateSksClusterKubeconfigRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)

NewGenerateSksClusterKubeconfigRequestWithBody generates requests for GenerateSksClusterKubeconfig with any type of body

func NewGetAntiAffinityGroupRequest

func NewGetAntiAffinityGroupRequest(server string, id string) (*http.Request, error)

NewGetAntiAffinityGroupRequest generates requests for GetAntiAffinityGroup

func NewGetDbaasCaCertificateRequest

func NewGetDbaasCaCertificateRequest(server string) (*http.Request, error)

NewGetDbaasCaCertificateRequest generates requests for GetDbaasCaCertificate

func NewGetDbaasServiceKafkaRequest added in v0.78.0

func NewGetDbaasServiceKafkaRequest(server string, name DbaasServiceName) (*http.Request, error)

NewGetDbaasServiceKafkaRequest generates requests for GetDbaasServiceKafka

func NewGetDbaasServiceMysqlRequest added in v0.78.0

func NewGetDbaasServiceMysqlRequest(server string, name DbaasServiceName) (*http.Request, error)

NewGetDbaasServiceMysqlRequest generates requests for GetDbaasServiceMysql

func NewGetDbaasServicePgRequest added in v0.78.0

func NewGetDbaasServicePgRequest(server string, name DbaasServiceName) (*http.Request, error)

NewGetDbaasServicePgRequest generates requests for GetDbaasServicePg

func NewGetDbaasServiceRedisRequest added in v0.78.0

func NewGetDbaasServiceRedisRequest(server string, name DbaasServiceName) (*http.Request, error)

NewGetDbaasServiceRedisRequest generates requests for GetDbaasServiceRedis

func NewGetDbaasServiceTypeRequest

func NewGetDbaasServiceTypeRequest(server string, serviceTypeName string) (*http.Request, error)

NewGetDbaasServiceTypeRequest generates requests for GetDbaasServiceType

func NewGetDbaasSettingsKafkaRequest added in v0.78.0

func NewGetDbaasSettingsKafkaRequest(server string) (*http.Request, error)

NewGetDbaasSettingsKafkaRequest generates requests for GetDbaasSettingsKafka

func NewGetDbaasSettingsMysqlRequest added in v0.78.0

func NewGetDbaasSettingsMysqlRequest(server string) (*http.Request, error)

NewGetDbaasSettingsMysqlRequest generates requests for GetDbaasSettingsMysql

func NewGetDbaasSettingsPgRequest added in v0.78.0

func NewGetDbaasSettingsPgRequest(server string) (*http.Request, error)

NewGetDbaasSettingsPgRequest generates requests for GetDbaasSettingsPg

func NewGetDbaasSettingsRedisRequest added in v0.79.0

func NewGetDbaasSettingsRedisRequest(server string) (*http.Request, error)

NewGetDbaasSettingsRedisRequest generates requests for GetDbaasSettingsRedis

func NewGetDeployTargetRequest

func NewGetDeployTargetRequest(server string, id string) (*http.Request, error)

NewGetDeployTargetRequest generates requests for GetDeployTarget

func NewGetDnsDomainRecordRequest added in v0.78.0

func NewGetDnsDomainRecordRequest(server string, id int64, recordId int64) (*http.Request, error)

NewGetDnsDomainRecordRequest generates requests for GetDnsDomainRecord

func NewGetDnsDomainRequest added in v0.78.0

func NewGetDnsDomainRequest(server string, id int64) (*http.Request, error)

NewGetDnsDomainRequest generates requests for GetDnsDomain

func NewGetElasticIpRequest

func NewGetElasticIpRequest(server string, id string) (*http.Request, error)

NewGetElasticIpRequest generates requests for GetElasticIp

func NewGetInstancePoolRequest

func NewGetInstancePoolRequest(server string, id string) (*http.Request, error)

NewGetInstancePoolRequest generates requests for GetInstancePool

func NewGetInstanceRequest

func NewGetInstanceRequest(server string, id string) (*http.Request, error)

NewGetInstanceRequest generates requests for GetInstance

func NewGetInstanceTypeRequest

func NewGetInstanceTypeRequest(server string, id string) (*http.Request, error)

NewGetInstanceTypeRequest generates requests for GetInstanceType

func NewGetLoadBalancerRequest

func NewGetLoadBalancerRequest(server string, id string) (*http.Request, error)

NewGetLoadBalancerRequest generates requests for GetLoadBalancer

func NewGetLoadBalancerServiceRequest

func NewGetLoadBalancerServiceRequest(server string, id string, serviceId string) (*http.Request, error)

NewGetLoadBalancerServiceRequest generates requests for GetLoadBalancerService

func NewGetOperationRequest

func NewGetOperationRequest(server string, id string) (*http.Request, error)

NewGetOperationRequest generates requests for GetOperation

func NewGetPrivateNetworkRequest

func NewGetPrivateNetworkRequest(server string, id string) (*http.Request, error)

NewGetPrivateNetworkRequest generates requests for GetPrivateNetwork

func NewGetQuotaRequest

func NewGetQuotaRequest(server string, entity string) (*http.Request, error)

NewGetQuotaRequest generates requests for GetQuota

func NewGetSecurityGroupRequest

func NewGetSecurityGroupRequest(server string, id string) (*http.Request, error)

NewGetSecurityGroupRequest generates requests for GetSecurityGroup

func NewGetSksClusterAuthorityCertRequest

func NewGetSksClusterAuthorityCertRequest(server string, id string, authority GetSksClusterAuthorityCertParamsAuthority) (*http.Request, error)

NewGetSksClusterAuthorityCertRequest generates requests for GetSksClusterAuthorityCert

func NewGetSksClusterRequest

func NewGetSksClusterRequest(server string, id string) (*http.Request, error)

NewGetSksClusterRequest generates requests for GetSksCluster

func NewGetSksNodepoolRequest

func NewGetSksNodepoolRequest(server string, id string, sksNodepoolId string) (*http.Request, error)

NewGetSksNodepoolRequest generates requests for GetSksNodepool

func NewGetSnapshotRequest

func NewGetSnapshotRequest(server string, id string) (*http.Request, error)

NewGetSnapshotRequest generates requests for GetSnapshot

func NewGetSosPresignedUrlRequest

func NewGetSosPresignedUrlRequest(server string, bucket string, params *GetSosPresignedUrlParams) (*http.Request, error)

NewGetSosPresignedUrlRequest generates requests for GetSosPresignedUrl

func NewGetSshKeyRequest

func NewGetSshKeyRequest(server string, name string) (*http.Request, error)

NewGetSshKeyRequest generates requests for GetSshKey

func NewGetTemplateRequest

func NewGetTemplateRequest(server string, id string) (*http.Request, error)

NewGetTemplateRequest generates requests for GetTemplate

func NewListAntiAffinityGroupsRequest

func NewListAntiAffinityGroupsRequest(server string) (*http.Request, error)

NewListAntiAffinityGroupsRequest generates requests for ListAntiAffinityGroups

func NewListDbaasServiceTypesRequest

func NewListDbaasServiceTypesRequest(server string) (*http.Request, error)

NewListDbaasServiceTypesRequest generates requests for ListDbaasServiceTypes

func NewListDbaasServicesRequest

func NewListDbaasServicesRequest(server string) (*http.Request, error)

NewListDbaasServicesRequest generates requests for ListDbaasServices

func NewListDeployTargetsRequest

func NewListDeployTargetsRequest(server string) (*http.Request, error)

NewListDeployTargetsRequest generates requests for ListDeployTargets

func NewListDnsDomainRecordsRequest added in v0.78.0

func NewListDnsDomainRecordsRequest(server string, id int64) (*http.Request, error)

NewListDnsDomainRecordsRequest generates requests for ListDnsDomainRecords

func NewListDnsDomainsRequest added in v0.78.0

func NewListDnsDomainsRequest(server string) (*http.Request, error)

NewListDnsDomainsRequest generates requests for ListDnsDomains

func NewListElasticIpsRequest

func NewListElasticIpsRequest(server string) (*http.Request, error)

NewListElasticIpsRequest generates requests for ListElasticIps

func NewListEventsRequest

func NewListEventsRequest(server string, params *ListEventsParams) (*http.Request, error)

NewListEventsRequest generates requests for ListEvents

func NewListInstancePoolsRequest

func NewListInstancePoolsRequest(server string) (*http.Request, error)

NewListInstancePoolsRequest generates requests for ListInstancePools

func NewListInstanceTypesRequest

func NewListInstanceTypesRequest(server string) (*http.Request, error)

NewListInstanceTypesRequest generates requests for ListInstanceTypes

func NewListInstancesRequest

func NewListInstancesRequest(server string, params *ListInstancesParams) (*http.Request, error)

NewListInstancesRequest generates requests for ListInstances

func NewListLoadBalancersRequest

func NewListLoadBalancersRequest(server string) (*http.Request, error)

NewListLoadBalancersRequest generates requests for ListLoadBalancers

func NewListPrivateNetworksRequest

func NewListPrivateNetworksRequest(server string) (*http.Request, error)

NewListPrivateNetworksRequest generates requests for ListPrivateNetworks

func NewListQuotasRequest

func NewListQuotasRequest(server string) (*http.Request, error)

NewListQuotasRequest generates requests for ListQuotas

func NewListSecurityGroupsRequest

func NewListSecurityGroupsRequest(server string) (*http.Request, error)

NewListSecurityGroupsRequest generates requests for ListSecurityGroups

func NewListSksClusterVersionsRequest

func NewListSksClusterVersionsRequest(server string, params *ListSksClusterVersionsParams) (*http.Request, error)

NewListSksClusterVersionsRequest generates requests for ListSksClusterVersions

func NewListSksClustersRequest

func NewListSksClustersRequest(server string) (*http.Request, error)

NewListSksClustersRequest generates requests for ListSksClusters

func NewListSnapshotsRequest

func NewListSnapshotsRequest(server string) (*http.Request, error)

NewListSnapshotsRequest generates requests for ListSnapshots

func NewListSshKeysRequest

func NewListSshKeysRequest(server string) (*http.Request, error)

NewListSshKeysRequest generates requests for ListSshKeys

func NewListTemplatesRequest

func NewListTemplatesRequest(server string, params *ListTemplatesParams) (*http.Request, error)

NewListTemplatesRequest generates requests for ListTemplates

func NewListZonesRequest

func NewListZonesRequest(server string) (*http.Request, error)

NewListZonesRequest generates requests for ListZones

func NewRebootInstanceRequest

func NewRebootInstanceRequest(server string, id string) (*http.Request, error)

NewRebootInstanceRequest generates requests for RebootInstance

func NewRegisterSshKeyRequest

func NewRegisterSshKeyRequest(server string, body RegisterSshKeyJSONRequestBody) (*http.Request, error)

NewRegisterSshKeyRequest calls the generic RegisterSshKey builder with application/json body

func NewRegisterSshKeyRequestWithBody

func NewRegisterSshKeyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewRegisterSshKeyRequestWithBody generates requests for RegisterSshKey with any type of body

func NewRegisterTemplateRequest

func NewRegisterTemplateRequest(server string, body RegisterTemplateJSONRequestBody) (*http.Request, error)

NewRegisterTemplateRequest calls the generic RegisterTemplate builder with application/json body

func NewRegisterTemplateRequestWithBody

func NewRegisterTemplateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewRegisterTemplateRequestWithBody generates requests for RegisterTemplate with any type of body

func NewRemoveExternalSourceFromSecurityGroupRequest

func NewRemoveExternalSourceFromSecurityGroupRequest(server string, id string, body RemoveExternalSourceFromSecurityGroupJSONRequestBody) (*http.Request, error)

NewRemoveExternalSourceFromSecurityGroupRequest calls the generic RemoveExternalSourceFromSecurityGroup builder with application/json body

func NewRemoveExternalSourceFromSecurityGroupRequestWithBody

func NewRemoveExternalSourceFromSecurityGroupRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)

NewRemoveExternalSourceFromSecurityGroupRequestWithBody generates requests for RemoveExternalSourceFromSecurityGroup with any type of body

func NewResetElasticIpFieldRequest

func NewResetElasticIpFieldRequest(server string, id string, field ResetElasticIpFieldParamsField) (*http.Request, error)

NewResetElasticIpFieldRequest generates requests for ResetElasticIpField

func NewResetInstanceFieldRequest

func NewResetInstanceFieldRequest(server string, id string, field ResetInstanceFieldParamsField) (*http.Request, error)

NewResetInstanceFieldRequest generates requests for ResetInstanceField

func NewResetInstancePoolFieldRequest

func NewResetInstancePoolFieldRequest(server string, id string, field ResetInstancePoolFieldParamsField) (*http.Request, error)

NewResetInstancePoolFieldRequest generates requests for ResetInstancePoolField

func NewResetInstanceRequest

func NewResetInstanceRequest(server string, id string, body ResetInstanceJSONRequestBody) (*http.Request, error)

NewResetInstanceRequest calls the generic ResetInstance builder with application/json body

func NewResetInstanceRequestWithBody

func NewResetInstanceRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)

NewResetInstanceRequestWithBody generates requests for ResetInstance with any type of body

func NewResetLoadBalancerFieldRequest

func NewResetLoadBalancerFieldRequest(server string, id string, field ResetLoadBalancerFieldParamsField) (*http.Request, error)

NewResetLoadBalancerFieldRequest generates requests for ResetLoadBalancerField

func NewResetLoadBalancerServiceFieldRequest

func NewResetLoadBalancerServiceFieldRequest(server string, id string, serviceId string, field ResetLoadBalancerServiceFieldParamsField) (*http.Request, error)

NewResetLoadBalancerServiceFieldRequest generates requests for ResetLoadBalancerServiceField

func NewResetPrivateNetworkFieldRequest

func NewResetPrivateNetworkFieldRequest(server string, id string, field ResetPrivateNetworkFieldParamsField) (*http.Request, error)

NewResetPrivateNetworkFieldRequest generates requests for ResetPrivateNetworkField

func NewResetSksClusterFieldRequest

func NewResetSksClusterFieldRequest(server string, id string, field ResetSksClusterFieldParamsField) (*http.Request, error)

NewResetSksClusterFieldRequest generates requests for ResetSksClusterField

func NewResetSksNodepoolFieldRequest

func NewResetSksNodepoolFieldRequest(server string, id string, sksNodepoolId string, field ResetSksNodepoolFieldParamsField) (*http.Request, error)

NewResetSksNodepoolFieldRequest generates requests for ResetSksNodepoolField

func NewResizeInstanceDiskRequest

func NewResizeInstanceDiskRequest(server string, id string, body ResizeInstanceDiskJSONRequestBody) (*http.Request, error)

NewResizeInstanceDiskRequest calls the generic ResizeInstanceDisk builder with application/json body

func NewResizeInstanceDiskRequestWithBody

func NewResizeInstanceDiskRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)

NewResizeInstanceDiskRequestWithBody generates requests for ResizeInstanceDisk with any type of body

func NewRevertInstanceToSnapshotRequest

func NewRevertInstanceToSnapshotRequest(server string, instanceId string, body RevertInstanceToSnapshotJSONRequestBody) (*http.Request, error)

NewRevertInstanceToSnapshotRequest calls the generic RevertInstanceToSnapshot builder with application/json body

func NewRevertInstanceToSnapshotRequestWithBody

func NewRevertInstanceToSnapshotRequestWithBody(server string, instanceId string, contentType string, body io.Reader) (*http.Request, error)

NewRevertInstanceToSnapshotRequestWithBody generates requests for RevertInstanceToSnapshot with any type of body

func NewRotateSksCcmCredentialsRequest

func NewRotateSksCcmCredentialsRequest(server string, id string) (*http.Request, error)

NewRotateSksCcmCredentialsRequest generates requests for RotateSksCcmCredentials

func NewScaleInstancePoolRequest

func NewScaleInstancePoolRequest(server string, id string, body ScaleInstancePoolJSONRequestBody) (*http.Request, error)

NewScaleInstancePoolRequest calls the generic ScaleInstancePool builder with application/json body

func NewScaleInstancePoolRequestWithBody

func NewScaleInstancePoolRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)

NewScaleInstancePoolRequestWithBody generates requests for ScaleInstancePool with any type of body

func NewScaleInstanceRequest

func NewScaleInstanceRequest(server string, id string, body ScaleInstanceJSONRequestBody) (*http.Request, error)

NewScaleInstanceRequest calls the generic ScaleInstance builder with application/json body

func NewScaleInstanceRequestWithBody

func NewScaleInstanceRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)

NewScaleInstanceRequestWithBody generates requests for ScaleInstance with any type of body

func NewScaleSksNodepoolRequest

func NewScaleSksNodepoolRequest(server string, id string, sksNodepoolId string, body ScaleSksNodepoolJSONRequestBody) (*http.Request, error)

NewScaleSksNodepoolRequest calls the generic ScaleSksNodepool builder with application/json body

func NewScaleSksNodepoolRequestWithBody

func NewScaleSksNodepoolRequestWithBody(server string, id string, sksNodepoolId string, contentType string, body io.Reader) (*http.Request, error)

NewScaleSksNodepoolRequestWithBody generates requests for ScaleSksNodepool with any type of body

func NewStartInstanceRequest

func NewStartInstanceRequest(server string, id string, body StartInstanceJSONRequestBody) (*http.Request, error)

NewStartInstanceRequest calls the generic StartInstance builder with application/json body

func NewStartInstanceRequestWithBody added in v0.75.0

func NewStartInstanceRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)

NewStartInstanceRequestWithBody generates requests for StartInstance with any type of body

func NewStopInstanceRequest

func NewStopInstanceRequest(server string, id string) (*http.Request, error)

NewStopInstanceRequest generates requests for StopInstance

func NewUpdateDbaasServiceKafkaRequest added in v0.78.0

func NewUpdateDbaasServiceKafkaRequest(server string, name DbaasServiceName, body UpdateDbaasServiceKafkaJSONRequestBody) (*http.Request, error)

NewUpdateDbaasServiceKafkaRequest calls the generic UpdateDbaasServiceKafka builder with application/json body

func NewUpdateDbaasServiceKafkaRequestWithBody added in v0.78.0

func NewUpdateDbaasServiceKafkaRequestWithBody(server string, name DbaasServiceName, contentType string, body io.Reader) (*http.Request, error)

NewUpdateDbaasServiceKafkaRequestWithBody generates requests for UpdateDbaasServiceKafka with any type of body

func NewUpdateDbaasServiceMysqlRequest added in v0.78.0

func NewUpdateDbaasServiceMysqlRequest(server string, name DbaasServiceName, body UpdateDbaasServiceMysqlJSONRequestBody) (*http.Request, error)

NewUpdateDbaasServiceMysqlRequest calls the generic UpdateDbaasServiceMysql builder with application/json body

func NewUpdateDbaasServiceMysqlRequestWithBody added in v0.78.0

func NewUpdateDbaasServiceMysqlRequestWithBody(server string, name DbaasServiceName, contentType string, body io.Reader) (*http.Request, error)

NewUpdateDbaasServiceMysqlRequestWithBody generates requests for UpdateDbaasServiceMysql with any type of body

func NewUpdateDbaasServicePgRequest added in v0.78.0

func NewUpdateDbaasServicePgRequest(server string, name DbaasServiceName, body UpdateDbaasServicePgJSONRequestBody) (*http.Request, error)

NewUpdateDbaasServicePgRequest calls the generic UpdateDbaasServicePg builder with application/json body

func NewUpdateDbaasServicePgRequestWithBody added in v0.78.0

func NewUpdateDbaasServicePgRequestWithBody(server string, name DbaasServiceName, contentType string, body io.Reader) (*http.Request, error)

NewUpdateDbaasServicePgRequestWithBody generates requests for UpdateDbaasServicePg with any type of body

func NewUpdateDbaasServiceRedisRequest added in v0.78.0

func NewUpdateDbaasServiceRedisRequest(server string, name DbaasServiceName, body UpdateDbaasServiceRedisJSONRequestBody) (*http.Request, error)

NewUpdateDbaasServiceRedisRequest calls the generic UpdateDbaasServiceRedis builder with application/json body

func NewUpdateDbaasServiceRedisRequestWithBody added in v0.78.0

func NewUpdateDbaasServiceRedisRequestWithBody(server string, name DbaasServiceName, contentType string, body io.Reader) (*http.Request, error)

NewUpdateDbaasServiceRedisRequestWithBody generates requests for UpdateDbaasServiceRedis with any type of body

func NewUpdateElasticIpRequest

func NewUpdateElasticIpRequest(server string, id string, body UpdateElasticIpJSONRequestBody) (*http.Request, error)

NewUpdateElasticIpRequest calls the generic UpdateElasticIp builder with application/json body

func NewUpdateElasticIpRequestWithBody

func NewUpdateElasticIpRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateElasticIpRequestWithBody generates requests for UpdateElasticIp with any type of body

func NewUpdateInstancePoolRequest

func NewUpdateInstancePoolRequest(server string, id string, body UpdateInstancePoolJSONRequestBody) (*http.Request, error)

NewUpdateInstancePoolRequest calls the generic UpdateInstancePool builder with application/json body

func NewUpdateInstancePoolRequestWithBody

func NewUpdateInstancePoolRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateInstancePoolRequestWithBody generates requests for UpdateInstancePool with any type of body

func NewUpdateInstanceRequest

func NewUpdateInstanceRequest(server string, id string, body UpdateInstanceJSONRequestBody) (*http.Request, error)

NewUpdateInstanceRequest calls the generic UpdateInstance builder with application/json body

func NewUpdateInstanceRequestWithBody

func NewUpdateInstanceRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateInstanceRequestWithBody generates requests for UpdateInstance with any type of body

func NewUpdateLoadBalancerRequest

func NewUpdateLoadBalancerRequest(server string, id string, body UpdateLoadBalancerJSONRequestBody) (*http.Request, error)

NewUpdateLoadBalancerRequest calls the generic UpdateLoadBalancer builder with application/json body

func NewUpdateLoadBalancerRequestWithBody

func NewUpdateLoadBalancerRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateLoadBalancerRequestWithBody generates requests for UpdateLoadBalancer with any type of body

func NewUpdateLoadBalancerServiceRequest

func NewUpdateLoadBalancerServiceRequest(server string, id string, serviceId string, body UpdateLoadBalancerServiceJSONRequestBody) (*http.Request, error)

NewUpdateLoadBalancerServiceRequest calls the generic UpdateLoadBalancerService builder with application/json body

func NewUpdateLoadBalancerServiceRequestWithBody

func NewUpdateLoadBalancerServiceRequestWithBody(server string, id string, serviceId string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateLoadBalancerServiceRequestWithBody generates requests for UpdateLoadBalancerService with any type of body

func NewUpdatePrivateNetworkInstanceIpRequest

func NewUpdatePrivateNetworkInstanceIpRequest(server string, id string, body UpdatePrivateNetworkInstanceIpJSONRequestBody) (*http.Request, error)

NewUpdatePrivateNetworkInstanceIpRequest calls the generic UpdatePrivateNetworkInstanceIp builder with application/json body

func NewUpdatePrivateNetworkInstanceIpRequestWithBody

func NewUpdatePrivateNetworkInstanceIpRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)

NewUpdatePrivateNetworkInstanceIpRequestWithBody generates requests for UpdatePrivateNetworkInstanceIp with any type of body

func NewUpdatePrivateNetworkRequest

func NewUpdatePrivateNetworkRequest(server string, id string, body UpdatePrivateNetworkJSONRequestBody) (*http.Request, error)

NewUpdatePrivateNetworkRequest calls the generic UpdatePrivateNetwork builder with application/json body

func NewUpdatePrivateNetworkRequestWithBody

func NewUpdatePrivateNetworkRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)

NewUpdatePrivateNetworkRequestWithBody generates requests for UpdatePrivateNetwork with any type of body

func NewUpdateSksClusterRequest

func NewUpdateSksClusterRequest(server string, id string, body UpdateSksClusterJSONRequestBody) (*http.Request, error)

NewUpdateSksClusterRequest calls the generic UpdateSksCluster builder with application/json body

func NewUpdateSksClusterRequestWithBody

func NewUpdateSksClusterRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateSksClusterRequestWithBody generates requests for UpdateSksCluster with any type of body

func NewUpdateSksNodepoolRequest

func NewUpdateSksNodepoolRequest(server string, id string, sksNodepoolId string, body UpdateSksNodepoolJSONRequestBody) (*http.Request, error)

NewUpdateSksNodepoolRequest calls the generic UpdateSksNodepool builder with application/json body

func NewUpdateSksNodepoolRequestWithBody

func NewUpdateSksNodepoolRequestWithBody(server string, id string, sksNodepoolId string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateSksNodepoolRequestWithBody generates requests for UpdateSksNodepool with any type of body

func NewUpdateTemplateRequest

func NewUpdateTemplateRequest(server string, id string, body UpdateTemplateJSONRequestBody) (*http.Request, error)

NewUpdateTemplateRequest calls the generic UpdateTemplate builder with application/json body

func NewUpdateTemplateRequestWithBody

func NewUpdateTemplateRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateTemplateRequestWithBody generates requests for UpdateTemplate with any type of body

func NewUpgradeSksClusterRequest

func NewUpgradeSksClusterRequest(server string, id string, body UpgradeSksClusterJSONRequestBody) (*http.Request, error)

NewUpgradeSksClusterRequest calls the generic UpgradeSksCluster builder with application/json body

func NewUpgradeSksClusterRequestWithBody

func NewUpgradeSksClusterRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)

NewUpgradeSksClusterRequestWithBody generates requests for UpgradeSksCluster with any type of body

func NewUpgradeSksClusterServiceLevelRequest

func NewUpgradeSksClusterServiceLevelRequest(server string, id string) (*http.Request, error)

NewUpgradeSksClusterServiceLevelRequest generates requests for UpgradeSksClusterServiceLevel

func OptionalBool

func OptionalBool(v *bool) bool

OptionalBool returns the dereferenced bool value of v if not nil, otherwise false.

func OptionalInt64

func OptionalInt64(v *int64) int64

OptionalInt64 returns the dereferenced int64 value of v if not nil, otherwise 0.

func OptionalString

func OptionalString(v *string) string

OptionalString returns the dereferenced string value of v if not nil, otherwise an empty string.

Types

type AddExternalSourceToSecurityGroupJSONBody

type AddExternalSourceToSecurityGroupJSONBody struct {
	// CIDR-formatted network to add
	Cidr string `json:"cidr"`
}

AddExternalSourceToSecurityGroupJSONBody defines parameters for AddExternalSourceToSecurityGroup.

type AddExternalSourceToSecurityGroupJSONRequestBody

type AddExternalSourceToSecurityGroupJSONRequestBody AddExternalSourceToSecurityGroupJSONBody

AddExternalSourceToSecurityGroupJSONRequestBody defines body for AddExternalSourceToSecurityGroup for application/json ContentType.

type AddExternalSourceToSecurityGroupResponse

type AddExternalSourceToSecurityGroupResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Operation
}

func ParseAddExternalSourceToSecurityGroupResponse

func ParseAddExternalSourceToSecurityGroupResponse(rsp *http.Response) (*AddExternalSourceToSecurityGroupResponse, error)

ParseAddExternalSourceToSecurityGroupResponse parses an HTTP response from a AddExternalSourceToSecurityGroupWithResponse call

func (AddExternalSourceToSecurityGroupResponse) Status

Status returns HTTPResponse.Status

func (AddExternalSourceToSecurityGroupResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type AddRuleToSecurityGroupJSONBody

type AddRuleToSecurityGroupJSONBody struct {
	// Security Group rule description
	Description *string `json:"description,omitempty"`

	// End port of the range
	EndPort *int64 `json:"end-port,omitempty"`

	// Network flow direction to match
	FlowDirection AddRuleToSecurityGroupJSONBodyFlowDirection `json:"flow-direction"`

	// ICMP details
	Icmp *struct {
		Code *int64 `json:"code,omitempty"`
		Type *int64 `json:"type,omitempty"`
	} `json:"icmp,omitempty"`

	// CIDR-formatted network allowed
	Network *string `json:"network,omitempty"`

	// Network protocol
	Protocol AddRuleToSecurityGroupJSONBodyProtocol `json:"protocol"`

	// Security Group
	SecurityGroup *SecurityGroupResource `json:"security-group,omitempty"`

	// Start port of the range
	StartPort *int64 `json:"start-port,omitempty"`
}

AddRuleToSecurityGroupJSONBody defines parameters for AddRuleToSecurityGroup.

type AddRuleToSecurityGroupJSONBodyFlowDirection

type AddRuleToSecurityGroupJSONBodyFlowDirection string

AddRuleToSecurityGroupJSONBodyFlowDirection defines parameters for AddRuleToSecurityGroup.

type AddRuleToSecurityGroupJSONBodyProtocol

type AddRuleToSecurityGroupJSONBodyProtocol string

AddRuleToSecurityGroupJSONBodyProtocol defines parameters for AddRuleToSecurityGroup.

type AddRuleToSecurityGroupJSONRequestBody

type AddRuleToSecurityGroupJSONRequestBody AddRuleToSecurityGroupJSONBody

AddRuleToSecurityGroupJSONRequestBody defines body for AddRuleToSecurityGroup for application/json ContentType.

type AddRuleToSecurityGroupResponse

type AddRuleToSecurityGroupResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Operation
}

func ParseAddRuleToSecurityGroupResponse

func ParseAddRuleToSecurityGroupResponse(rsp *http.Response) (*AddRuleToSecurityGroupResponse, error)

ParseAddRuleToSecurityGroupResponse parses an HTTP response from a AddRuleToSecurityGroupWithResponse call

func (AddRuleToSecurityGroupResponse) Status

Status returns HTTPResponse.Status

func (AddRuleToSecurityGroupResponse) StatusCode

func (r AddRuleToSecurityGroupResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AddServiceToLoadBalancerJSONBody

type AddServiceToLoadBalancerJSONBody struct {
	// Load Balancer Service description
	Description *string `json:"description,omitempty"`

	// Load Balancer Service healthcheck
	Healthcheck LoadBalancerServiceHealthcheck `json:"healthcheck"`

	// Instance Pool
	InstancePool InstancePool `json:"instance-pool"`

	// Load Balancer Service name
	Name string `json:"name"`

	// Port exposed on the Load Balancer's public IP
	Port int64 `json:"port"`

	// Network traffic protocol
	Protocol AddServiceToLoadBalancerJSONBodyProtocol `json:"protocol"`

	// Load balancing strategy
	Strategy AddServiceToLoadBalancerJSONBodyStrategy `json:"strategy"`

	// Port on which the network traffic will be forwarded to on the receiving instance
	TargetPort int64 `json:"target-port"`
}

AddServiceToLoadBalancerJSONBody defines parameters for AddServiceToLoadBalancer.

type AddServiceToLoadBalancerJSONBodyProtocol

type AddServiceToLoadBalancerJSONBodyProtocol string

AddServiceToLoadBalancerJSONBodyProtocol defines parameters for AddServiceToLoadBalancer.

type AddServiceToLoadBalancerJSONBodyStrategy

type AddServiceToLoadBalancerJSONBodyStrategy string

AddServiceToLoadBalancerJSONBodyStrategy defines parameters for AddServiceToLoadBalancer.

type AddServiceToLoadBalancerJSONRequestBody

type AddServiceToLoadBalancerJSONRequestBody AddServiceToLoadBalancerJSONBody

AddServiceToLoadBalancerJSONRequestBody defines body for AddServiceToLoadBalancer for application/json ContentType.

type AddServiceToLoadBalancerResponse

type AddServiceToLoadBalancerResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Operation
}

func ParseAddServiceToLoadBalancerResponse

func ParseAddServiceToLoadBalancerResponse(rsp *http.Response) (*AddServiceToLoadBalancerResponse, error)

ParseAddServiceToLoadBalancerResponse parses an HTTP response from a AddServiceToLoadBalancerWithResponse call

func (AddServiceToLoadBalancerResponse) Status

Status returns HTTPResponse.Status

func (AddServiceToLoadBalancerResponse) StatusCode

func (r AddServiceToLoadBalancerResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AntiAffinityGroup

type AntiAffinityGroup struct {
	// Anti-affinity Group description
	Description *string `json:"description,omitempty"`

	// Anti-affinity Group ID
	Id *string `json:"id,omitempty"`

	// Anti-affinity Group instances
	Instances *[]Instance `json:"instances,omitempty"`

	// Anti-affinity Group name
	Name *string `json:"name,omitempty"`
}

Anti-affinity Group

type AttachInstanceToElasticIpJSONBody

type AttachInstanceToElasticIpJSONBody struct {
	// Instance
	Instance Instance `json:"instance"`
}

AttachInstanceToElasticIpJSONBody defines parameters for AttachInstanceToElasticIp.

type AttachInstanceToElasticIpJSONRequestBody

type AttachInstanceToElasticIpJSONRequestBody AttachInstanceToElasticIpJSONBody

AttachInstanceToElasticIpJSONRequestBody defines body for AttachInstanceToElasticIp for application/json ContentType.

type AttachInstanceToElasticIpResponse

type AttachInstanceToElasticIpResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Operation
}

func ParseAttachInstanceToElasticIpResponse

func ParseAttachInstanceToElasticIpResponse(rsp *http.Response) (*AttachInstanceToElasticIpResponse, error)

ParseAttachInstanceToElasticIpResponse parses an HTTP response from a AttachInstanceToElasticIpWithResponse call

func (AttachInstanceToElasticIpResponse) Status

Status returns HTTPResponse.Status

func (AttachInstanceToElasticIpResponse) StatusCode

func (r AttachInstanceToElasticIpResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AttachInstanceToPrivateNetworkJSONBody

type AttachInstanceToPrivateNetworkJSONBody struct {
	// Instance
	Instance Instance `json:"instance"`

	// Static IP address lease for the corresponding network interface
	Ip *string `json:"ip,omitempty"`
}

AttachInstanceToPrivateNetworkJSONBody defines parameters for AttachInstanceToPrivateNetwork.

type AttachInstanceToPrivateNetworkJSONRequestBody

type AttachInstanceToPrivateNetworkJSONRequestBody AttachInstanceToPrivateNetworkJSONBody

AttachInstanceToPrivateNetworkJSONRequestBody defines body for AttachInstanceToPrivateNetwork for application/json ContentType.

type AttachInstanceToPrivateNetworkResponse

type AttachInstanceToPrivateNetworkResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Operation
}

func ParseAttachInstanceToPrivateNetworkResponse

func ParseAttachInstanceToPrivateNetworkResponse(rsp *http.Response) (*AttachInstanceToPrivateNetworkResponse, error)

ParseAttachInstanceToPrivateNetworkResponse parses an HTTP response from a AttachInstanceToPrivateNetworkWithResponse call

func (AttachInstanceToPrivateNetworkResponse) Status

Status returns HTTPResponse.Status

func (AttachInstanceToPrivateNetworkResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type AttachInstanceToSecurityGroupJSONBody

type AttachInstanceToSecurityGroupJSONBody struct {
	// Instance
	Instance Instance `json:"instance"`
}

AttachInstanceToSecurityGroupJSONBody defines parameters for AttachInstanceToSecurityGroup.

type AttachInstanceToSecurityGroupJSONRequestBody

type AttachInstanceToSecurityGroupJSONRequestBody AttachInstanceToSecurityGroupJSONBody

AttachInstanceToSecurityGroupJSONRequestBody defines body for AttachInstanceToSecurityGroup for application/json ContentType.

type AttachInstanceToSecurityGroupResponse

type AttachInstanceToSecurityGroupResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Operation
}

func ParseAttachInstanceToSecurityGroupResponse

func ParseAttachInstanceToSecurityGroupResponse(rsp *http.Response) (*AttachInstanceToSecurityGroupResponse, error)

ParseAttachInstanceToSecurityGroupResponse parses an HTTP response from a AttachInstanceToSecurityGroupWithResponse call

func (AttachInstanceToSecurityGroupResponse) Status

Status returns HTTPResponse.Status

func (AttachInstanceToSecurityGroupResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type Client

type Client struct {
	// The endpoint of the server conforming to this interface, with scheme,
	// https://api.deepmap.com for example. This can contain a path relative
	// to the server, such as https://api.deepmap.com/dev-test, and all the
	// paths in the swagger spec will be appended to the server.
	Server string

	// Doer for performing requests, typically a *http.Client with any
	// customized settings, such as certificate chains.
	Client HttpRequestDoer

	// A list of callbacks for modifying requests which are generated before sending over
	// the network.
	RequestEditors []RequestEditorFn
}

Client which conforms to the OpenAPI3 specification for this service.

func NewClient

func NewClient(server string, opts ...ClientOption) (*Client, error)

Creates a new Client, with reasonable defaults

func (*Client) AddExternalSourceToSecurityGroup

func (c *Client) AddExternalSourceToSecurityGroup(ctx context.Context, id string, body AddExternalSourceToSecurityGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AddExternalSourceToSecurityGroupWithBody

func (c *Client) AddExternalSourceToSecurityGroupWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AddRuleToSecurityGroup

func (c *Client) AddRuleToSecurityGroup(ctx context.Context, id string, body AddRuleToSecurityGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AddRuleToSecurityGroupWithBody

func (c *Client) AddRuleToSecurityGroupWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AddServiceToLoadBalancer

func (c *Client) AddServiceToLoadBalancer(ctx context.Context, id string, body AddServiceToLoadBalancerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AddServiceToLoadBalancerWithBody

func (c *Client) AddServiceToLoadBalancerWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AttachInstanceToElasticIp

func (c *Client) AttachInstanceToElasticIp(ctx context.Context, id string, body AttachInstanceToElasticIpJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AttachInstanceToElasticIpWithBody

func (c *Client) AttachInstanceToElasticIpWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AttachInstanceToPrivateNetwork

func (c *Client) AttachInstanceToPrivateNetwork(ctx context.Context, id string, body AttachInstanceToPrivateNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AttachInstanceToPrivateNetworkWithBody

func (c *Client) AttachInstanceToPrivateNetworkWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AttachInstanceToSecurityGroup

func (c *Client) AttachInstanceToSecurityGroup(ctx context.Context, id string, body AttachInstanceToSecurityGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AttachInstanceToSecurityGroupWithBody

func (c *Client) AttachInstanceToSecurityGroupWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CopyTemplate

func (c *Client) CopyTemplate(ctx context.Context, id string, body CopyTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CopyTemplateWithBody

func (c *Client) CopyTemplateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateAntiAffinityGroup

func (c *Client) CreateAntiAffinityGroup(ctx context.Context, body CreateAntiAffinityGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateAntiAffinityGroupWithBody

func (c *Client) CreateAntiAffinityGroupWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateDbaasServiceKafka added in v0.78.0

func (c *Client) CreateDbaasServiceKafka(ctx context.Context, name DbaasServiceName, body CreateDbaasServiceKafkaJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateDbaasServiceKafkaWithBody added in v0.78.0

func (c *Client) CreateDbaasServiceKafkaWithBody(ctx context.Context, name DbaasServiceName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateDbaasServiceMysql added in v0.78.0

func (c *Client) CreateDbaasServiceMysql(ctx context.Context, name DbaasServiceName, body CreateDbaasServiceMysqlJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateDbaasServiceMysqlWithBody added in v0.78.0

func (c *Client) CreateDbaasServiceMysqlWithBody(ctx context.Context, name DbaasServiceName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateDbaasServicePg added in v0.78.0

func (c *Client) CreateDbaasServicePg(ctx context.Context, name DbaasServiceName, body CreateDbaasServicePgJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateDbaasServicePgWithBody added in v0.78.0

func (c *Client) CreateDbaasServicePgWithBody(ctx context.Context, name DbaasServiceName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateDbaasServiceRedis added in v0.78.0

func (c *Client) CreateDbaasServiceRedis(ctx context.Context, name DbaasServiceName, body CreateDbaasServiceRedisJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateDbaasServiceRedisWithBody added in v0.78.0

func (c *Client) CreateDbaasServiceRedisWithBody(ctx context.Context, name DbaasServiceName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateElasticIp

func (c *Client) CreateElasticIp(ctx context.Context, body CreateElasticIpJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateElasticIpWithBody

func (c *Client) CreateElasticIpWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateInstance

func (c *Client) CreateInstance(ctx context.Context, body CreateInstanceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateInstancePool

func (c *Client) CreateInstancePool(ctx context.Context, body CreateInstancePoolJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateInstancePoolWithBody

func (c *Client) CreateInstancePoolWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateInstanceWithBody

func (c *Client) CreateInstanceWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateLoadBalancer

func (c *Client) CreateLoadBalancer(ctx context.Context, body CreateLoadBalancerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateLoadBalancerWithBody

func (c *Client) CreateLoadBalancerWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreatePrivateNetwork

func (c *Client) CreatePrivateNetwork(ctx context.Context, body CreatePrivateNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreatePrivateNetworkWithBody

func (c *Client) CreatePrivateNetworkWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateSecurityGroup

func (c *Client) CreateSecurityGroup(ctx context.Context, body CreateSecurityGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateSecurityGroupWithBody

func (c *Client) CreateSecurityGroupWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateSksCluster

func (c *Client) CreateSksCluster(ctx context.Context, body CreateSksClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateSksClusterWithBody

func (c *Client) CreateSksClusterWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateSksNodepool

func (c *Client) CreateSksNodepool(ctx context.Context, id string, body CreateSksNodepoolJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateSksNodepoolWithBody

func (c *Client) CreateSksNodepoolWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateSnapshot

func (c *Client) CreateSnapshot(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteAntiAffinityGroup

func (c *Client) DeleteAntiAffinityGroup(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteDbaasService added in v0.78.0

func (c *Client) DeleteDbaasService(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteElasticIp

func (c *Client) DeleteElasticIp(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteInstance

func (c *Client) DeleteInstance(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteInstancePool

func (c *Client) DeleteInstancePool(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteLoadBalancer

func (c *Client) DeleteLoadBalancer(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteLoadBalancerService

func (c *Client) DeleteLoadBalancerService(ctx context.Context, id string, serviceId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeletePrivateNetwork

func (c *Client) DeletePrivateNetwork(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteRuleFromSecurityGroup

func (c *Client) DeleteRuleFromSecurityGroup(ctx context.Context, id string, ruleId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteSecurityGroup

func (c *Client) DeleteSecurityGroup(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteSksCluster

func (c *Client) DeleteSksCluster(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteSksNodepool

func (c *Client) DeleteSksNodepool(ctx context.Context, id string, sksNodepoolId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteSnapshot

func (c *Client) DeleteSnapshot(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteSshKey

func (c *Client) DeleteSshKey(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteTemplate

func (c *Client) DeleteTemplate(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DetachInstanceFromElasticIp

func (c *Client) DetachInstanceFromElasticIp(ctx context.Context, id string, body DetachInstanceFromElasticIpJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DetachInstanceFromElasticIpWithBody

func (c *Client) DetachInstanceFromElasticIpWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DetachInstanceFromPrivateNetwork

func (c *Client) DetachInstanceFromPrivateNetwork(ctx context.Context, id string, body DetachInstanceFromPrivateNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DetachInstanceFromPrivateNetworkWithBody

func (c *Client) DetachInstanceFromPrivateNetworkWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DetachInstanceFromSecurityGroup

func (c *Client) DetachInstanceFromSecurityGroup(ctx context.Context, id string, body DetachInstanceFromSecurityGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DetachInstanceFromSecurityGroupWithBody

func (c *Client) DetachInstanceFromSecurityGroupWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) EvictInstancePoolMembers

func (c *Client) EvictInstancePoolMembers(ctx context.Context, id string, body EvictInstancePoolMembersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) EvictInstancePoolMembersWithBody

func (c *Client) EvictInstancePoolMembersWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) EvictSksNodepoolMembers

func (c *Client) EvictSksNodepoolMembers(ctx context.Context, id string, sksNodepoolId string, body EvictSksNodepoolMembersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) EvictSksNodepoolMembersWithBody

func (c *Client) EvictSksNodepoolMembersWithBody(ctx context.Context, id string, sksNodepoolId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ExportSnapshot

func (c *Client) ExportSnapshot(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GenerateSksClusterKubeconfig

func (c *Client) GenerateSksClusterKubeconfig(ctx context.Context, id string, body GenerateSksClusterKubeconfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GenerateSksClusterKubeconfigWithBody

func (c *Client) GenerateSksClusterKubeconfigWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetAntiAffinityGroup

func (c *Client) GetAntiAffinityGroup(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetDbaasCaCertificate

func (c *Client) GetDbaasCaCertificate(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetDbaasServiceKafka added in v0.78.0

func (c *Client) GetDbaasServiceKafka(ctx context.Context, name DbaasServiceName, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetDbaasServiceMysql added in v0.78.0

func (c *Client) GetDbaasServiceMysql(ctx context.Context, name DbaasServiceName, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetDbaasServicePg added in v0.78.0

func (c *Client) GetDbaasServicePg(ctx context.Context, name DbaasServiceName, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetDbaasServiceRedis added in v0.78.0

func (c *Client) GetDbaasServiceRedis(ctx context.Context, name DbaasServiceName, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetDbaasServiceType

func (c *Client) GetDbaasServiceType(ctx context.Context, serviceTypeName string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetDbaasSettingsKafka added in v0.78.0

func (c *Client) GetDbaasSettingsKafka(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetDbaasSettingsMysql added in v0.78.0

func (c *Client) GetDbaasSettingsMysql(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetDbaasSettingsPg added in v0.78.0

func (c *Client) GetDbaasSettingsPg(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetDbaasSettingsRedis added in v0.79.0

func (c *Client) GetDbaasSettingsRedis(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetDeployTarget

func (c *Client) GetDeployTarget(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetDnsDomain added in v0.78.0

func (c *Client) GetDnsDomain(ctx context.Context, id int64, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetDnsDomainRecord added in v0.78.0

func (c *Client) GetDnsDomainRecord(ctx context.Context, id int64, recordId int64, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetElasticIp

func (c *Client) GetElasticIp(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetInstance

func (c *Client) GetInstance(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetInstancePool

func (c *Client) GetInstancePool(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetInstanceType

func (c *Client) GetInstanceType(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetLoadBalancer

func (c *Client) GetLoadBalancer(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetLoadBalancerService

func (c *Client) GetLoadBalancerService(ctx context.Context, id string, serviceId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetOperation

func (c *Client) GetOperation(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetPrivateNetwork

func (c *Client) GetPrivateNetwork(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetQuota

func (c *Client) GetQuota(ctx context.Context, entity string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetSecurityGroup

func (c *Client) GetSecurityGroup(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetSksCluster

func (c *Client) GetSksCluster(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetSksClusterAuthorityCert

func (c *Client) GetSksClusterAuthorityCert(ctx context.Context, id string, authority GetSksClusterAuthorityCertParamsAuthority, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetSksNodepool

func (c *Client) GetSksNodepool(ctx context.Context, id string, sksNodepoolId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetSnapshot

func (c *Client) GetSnapshot(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetSosPresignedUrl

func (c *Client) GetSosPresignedUrl(ctx context.Context, bucket string, params *GetSosPresignedUrlParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetSshKey

func (c *Client) GetSshKey(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetTemplate

func (c *Client) GetTemplate(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListAntiAffinityGroups

func (c *Client) ListAntiAffinityGroups(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListDbaasServiceTypes

func (c *Client) ListDbaasServiceTypes(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListDbaasServices

func (c *Client) ListDbaasServices(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListDeployTargets

func (c *Client) ListDeployTargets(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListDnsDomainRecords added in v0.78.0

func (c *Client) ListDnsDomainRecords(ctx context.Context, id int64, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListDnsDomains added in v0.78.0

func (c *Client) ListDnsDomains(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListElasticIps

func (c *Client) ListElasticIps(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListEvents

func (c *Client) ListEvents(ctx context.Context, params *ListEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListInstancePools

func (c *Client) ListInstancePools(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListInstanceTypes

func (c *Client) ListInstanceTypes(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListInstances

func (c *Client) ListInstances(ctx context.Context, params *ListInstancesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListLoadBalancers

func (c *Client) ListLoadBalancers(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListPrivateNetworks

func (c *Client) ListPrivateNetworks(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListQuotas

func (c *Client) ListQuotas(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListSecurityGroups

func (c *Client) ListSecurityGroups(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListSksClusterVersions

func (c *Client) ListSksClusterVersions(ctx context.Context, params *ListSksClusterVersionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListSksClusters

func (c *Client) ListSksClusters(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListSnapshots

func (c *Client) ListSnapshots(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListSshKeys

func (c *Client) ListSshKeys(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListTemplates

func (c *Client) ListTemplates(ctx context.Context, params *ListTemplatesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListZones

func (c *Client) ListZones(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RebootInstance

func (c *Client) RebootInstance(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RegisterSshKey

func (c *Client) RegisterSshKey(ctx context.Context, body RegisterSshKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RegisterSshKeyWithBody

func (c *Client) RegisterSshKeyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RegisterTemplate

func (c *Client) RegisterTemplate(ctx context.Context, body RegisterTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RegisterTemplateWithBody

func (c *Client) RegisterTemplateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RemoveExternalSourceFromSecurityGroup

func (c *Client) RemoveExternalSourceFromSecurityGroup(ctx context.Context, id string, body RemoveExternalSourceFromSecurityGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RemoveExternalSourceFromSecurityGroupWithBody

func (c *Client) RemoveExternalSourceFromSecurityGroupWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ResetElasticIpField

func (c *Client) ResetElasticIpField(ctx context.Context, id string, field ResetElasticIpFieldParamsField, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ResetInstance

func (c *Client) ResetInstance(ctx context.Context, id string, body ResetInstanceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ResetInstanceField

func (c *Client) ResetInstanceField(ctx context.Context, id string, field ResetInstanceFieldParamsField, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ResetInstancePoolField

func (c *Client) ResetInstancePoolField(ctx context.Context, id string, field ResetInstancePoolFieldParamsField, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ResetInstanceWithBody

func (c *Client) ResetInstanceWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ResetLoadBalancerField

func (c *Client) ResetLoadBalancerField(ctx context.Context, id string, field ResetLoadBalancerFieldParamsField, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ResetLoadBalancerServiceField

func (c *Client) ResetLoadBalancerServiceField(ctx context.Context, id string, serviceId string, field ResetLoadBalancerServiceFieldParamsField, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ResetPrivateNetworkField

func (c *Client) ResetPrivateNetworkField(ctx context.Context, id string, field ResetPrivateNetworkFieldParamsField, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ResetSksClusterField

func (c *Client) ResetSksClusterField(ctx context.Context, id string, field ResetSksClusterFieldParamsField, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ResetSksNodepoolField

func (c *Client) ResetSksNodepoolField(ctx context.Context, id string, sksNodepoolId string, field ResetSksNodepoolFieldParamsField, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ResizeInstanceDisk

func (c *Client) ResizeInstanceDisk(ctx context.Context, id string, body ResizeInstanceDiskJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ResizeInstanceDiskWithBody

func (c *Client) ResizeInstanceDiskWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RevertInstanceToSnapshot

func (c *Client) RevertInstanceToSnapshot(ctx context.Context, instanceId string, body RevertInstanceToSnapshotJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RevertInstanceToSnapshotWithBody

func (c *Client) RevertInstanceToSnapshotWithBody(ctx context.Context, instanceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RotateSksCcmCredentials

func (c *Client) RotateSksCcmCredentials(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ScaleInstance

func (c *Client) ScaleInstance(ctx context.Context, id string, body ScaleInstanceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ScaleInstancePool

func (c *Client) ScaleInstancePool(ctx context.Context, id string, body ScaleInstancePoolJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ScaleInstancePoolWithBody

func (c *Client) ScaleInstancePoolWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ScaleInstanceWithBody

func (c *Client) ScaleInstanceWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ScaleSksNodepool

func (c *Client) ScaleSksNodepool(ctx context.Context, id string, sksNodepoolId string, body ScaleSksNodepoolJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ScaleSksNodepoolWithBody

func (c *Client) ScaleSksNodepoolWithBody(ctx context.Context, id string, sksNodepoolId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) StartInstance

func (c *Client) StartInstance(ctx context.Context, id string, body StartInstanceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) StartInstanceWithBody added in v0.75.0

func (c *Client) StartInstanceWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) StopInstance

func (c *Client) StopInstance(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateDbaasServiceKafka added in v0.78.0

func (c *Client) UpdateDbaasServiceKafka(ctx context.Context, name DbaasServiceName, body UpdateDbaasServiceKafkaJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateDbaasServiceKafkaWithBody added in v0.78.0

func (c *Client) UpdateDbaasServiceKafkaWithBody(ctx context.Context, name DbaasServiceName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateDbaasServiceMysql added in v0.78.0

func (c *Client) UpdateDbaasServiceMysql(ctx context.Context, name DbaasServiceName, body UpdateDbaasServiceMysqlJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateDbaasServiceMysqlWithBody added in v0.78.0

func (c *Client) UpdateDbaasServiceMysqlWithBody(ctx context.Context, name DbaasServiceName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateDbaasServicePg added in v0.78.0

func (c *Client) UpdateDbaasServicePg(ctx context.Context, name DbaasServiceName, body UpdateDbaasServicePgJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateDbaasServicePgWithBody added in v0.78.0

func (c *Client) UpdateDbaasServicePgWithBody(ctx context.Context, name DbaasServiceName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateDbaasServiceRedis added in v0.78.0

func (c *Client) UpdateDbaasServiceRedis(ctx context.Context, name DbaasServiceName, body UpdateDbaasServiceRedisJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateDbaasServiceRedisWithBody added in v0.78.0

func (c *Client) UpdateDbaasServiceRedisWithBody(ctx context.Context, name DbaasServiceName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateElasticIp

func (c *Client) UpdateElasticIp(ctx context.Context, id string, body UpdateElasticIpJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateElasticIpWithBody

func (c *Client) UpdateElasticIpWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateInstance

func (c *Client) UpdateInstance(ctx context.Context, id string, body UpdateInstanceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateInstancePool

func (c *Client) UpdateInstancePool(ctx context.Context, id string, body UpdateInstancePoolJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateInstancePoolWithBody

func (c *Client) UpdateInstancePoolWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateInstanceWithBody

func (c *Client) UpdateInstanceWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateLoadBalancer

func (c *Client) UpdateLoadBalancer(ctx context.Context, id string, body UpdateLoadBalancerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateLoadBalancerService

func (c *Client) UpdateLoadBalancerService(ctx context.Context, id string, serviceId string, body UpdateLoadBalancerServiceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateLoadBalancerServiceWithBody

func (c *Client) UpdateLoadBalancerServiceWithBody(ctx context.Context, id string, serviceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateLoadBalancerWithBody

func (c *Client) UpdateLoadBalancerWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdatePrivateNetwork

func (c *Client) UpdatePrivateNetwork(ctx context.Context, id string, body UpdatePrivateNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdatePrivateNetworkInstanceIp

func (c *Client) UpdatePrivateNetworkInstanceIp(ctx context.Context, id string, body UpdatePrivateNetworkInstanceIpJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdatePrivateNetworkInstanceIpWithBody

func (c *Client) UpdatePrivateNetworkInstanceIpWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdatePrivateNetworkWithBody

func (c *Client) UpdatePrivateNetworkWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateSksCluster

func (c *Client) UpdateSksCluster(ctx context.Context, id string, body UpdateSksClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateSksClusterWithBody

func (c *Client) UpdateSksClusterWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateSksNodepool

func (c *Client) UpdateSksNodepool(ctx context.Context, id string, sksNodepoolId string, body UpdateSksNodepoolJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateSksNodepoolWithBody

func (c *Client) UpdateSksNodepoolWithBody(ctx context.Context, id string, sksNodepoolId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateTemplate

func (c *Client) UpdateTemplate(ctx context.Context, id string, body UpdateTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateTemplateWithBody

func (c *Client) UpdateTemplateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpgradeSksCluster

func (c *Client) UpgradeSksCluster(ctx context.Context, id string, body UpgradeSksClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpgradeSksClusterServiceLevel

func (c *Client) UpgradeSksClusterServiceLevel(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpgradeSksClusterWithBody

func (c *Client) UpgradeSksClusterWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

type ClientInterface

type ClientInterface interface {
	// ListAntiAffinityGroups request
	ListAntiAffinityGroups(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateAntiAffinityGroup request with any body
	CreateAntiAffinityGroupWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateAntiAffinityGroup(ctx context.Context, body CreateAntiAffinityGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteAntiAffinityGroup request
	DeleteAntiAffinityGroup(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetAntiAffinityGroup request
	GetAntiAffinityGroup(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetDbaasCaCertificate request
	GetDbaasCaCertificate(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetDbaasServiceKafka request
	GetDbaasServiceKafka(ctx context.Context, name DbaasServiceName, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateDbaasServiceKafka request with any body
	CreateDbaasServiceKafkaWithBody(ctx context.Context, name DbaasServiceName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateDbaasServiceKafka(ctx context.Context, name DbaasServiceName, body CreateDbaasServiceKafkaJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateDbaasServiceKafka request with any body
	UpdateDbaasServiceKafkaWithBody(ctx context.Context, name DbaasServiceName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateDbaasServiceKafka(ctx context.Context, name DbaasServiceName, body UpdateDbaasServiceKafkaJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetDbaasServiceMysql request
	GetDbaasServiceMysql(ctx context.Context, name DbaasServiceName, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateDbaasServiceMysql request with any body
	CreateDbaasServiceMysqlWithBody(ctx context.Context, name DbaasServiceName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateDbaasServiceMysql(ctx context.Context, name DbaasServiceName, body CreateDbaasServiceMysqlJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateDbaasServiceMysql request with any body
	UpdateDbaasServiceMysqlWithBody(ctx context.Context, name DbaasServiceName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateDbaasServiceMysql(ctx context.Context, name DbaasServiceName, body UpdateDbaasServiceMysqlJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetDbaasServicePg request
	GetDbaasServicePg(ctx context.Context, name DbaasServiceName, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateDbaasServicePg request with any body
	CreateDbaasServicePgWithBody(ctx context.Context, name DbaasServiceName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateDbaasServicePg(ctx context.Context, name DbaasServiceName, body CreateDbaasServicePgJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateDbaasServicePg request with any body
	UpdateDbaasServicePgWithBody(ctx context.Context, name DbaasServiceName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateDbaasServicePg(ctx context.Context, name DbaasServiceName, body UpdateDbaasServicePgJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetDbaasServiceRedis request
	GetDbaasServiceRedis(ctx context.Context, name DbaasServiceName, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateDbaasServiceRedis request with any body
	CreateDbaasServiceRedisWithBody(ctx context.Context, name DbaasServiceName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateDbaasServiceRedis(ctx context.Context, name DbaasServiceName, body CreateDbaasServiceRedisJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateDbaasServiceRedis request with any body
	UpdateDbaasServiceRedisWithBody(ctx context.Context, name DbaasServiceName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateDbaasServiceRedis(ctx context.Context, name DbaasServiceName, body UpdateDbaasServiceRedisJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListDbaasServices request
	ListDbaasServices(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListDbaasServiceTypes request
	ListDbaasServiceTypes(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetDbaasServiceType request
	GetDbaasServiceType(ctx context.Context, serviceTypeName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteDbaasService request
	DeleteDbaasService(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetDbaasSettingsKafka request
	GetDbaasSettingsKafka(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetDbaasSettingsMysql request
	GetDbaasSettingsMysql(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetDbaasSettingsPg request
	GetDbaasSettingsPg(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetDbaasSettingsRedis request
	GetDbaasSettingsRedis(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListDeployTargets request
	ListDeployTargets(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetDeployTarget request
	GetDeployTarget(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListDnsDomains request
	ListDnsDomains(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetDnsDomain request
	GetDnsDomain(ctx context.Context, id int64, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListDnsDomainRecords request
	ListDnsDomainRecords(ctx context.Context, id int64, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetDnsDomainRecord request
	GetDnsDomainRecord(ctx context.Context, id int64, recordId int64, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListElasticIps request
	ListElasticIps(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateElasticIp request with any body
	CreateElasticIpWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateElasticIp(ctx context.Context, body CreateElasticIpJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteElasticIp request
	DeleteElasticIp(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetElasticIp request
	GetElasticIp(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateElasticIp request with any body
	UpdateElasticIpWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateElasticIp(ctx context.Context, id string, body UpdateElasticIpJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ResetElasticIpField request
	ResetElasticIpField(ctx context.Context, id string, field ResetElasticIpFieldParamsField, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AttachInstanceToElasticIp request with any body
	AttachInstanceToElasticIpWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	AttachInstanceToElasticIp(ctx context.Context, id string, body AttachInstanceToElasticIpJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DetachInstanceFromElasticIp request with any body
	DetachInstanceFromElasticIpWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	DetachInstanceFromElasticIp(ctx context.Context, id string, body DetachInstanceFromElasticIpJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListEvents request
	ListEvents(ctx context.Context, params *ListEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListInstances request
	ListInstances(ctx context.Context, params *ListInstancesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateInstance request with any body
	CreateInstanceWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateInstance(ctx context.Context, body CreateInstanceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListInstancePools request
	ListInstancePools(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateInstancePool request with any body
	CreateInstancePoolWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateInstancePool(ctx context.Context, body CreateInstancePoolJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteInstancePool request
	DeleteInstancePool(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetInstancePool request
	GetInstancePool(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateInstancePool request with any body
	UpdateInstancePoolWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateInstancePool(ctx context.Context, id string, body UpdateInstancePoolJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ResetInstancePoolField request
	ResetInstancePoolField(ctx context.Context, id string, field ResetInstancePoolFieldParamsField, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EvictInstancePoolMembers request with any body
	EvictInstancePoolMembersWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	EvictInstancePoolMembers(ctx context.Context, id string, body EvictInstancePoolMembersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ScaleInstancePool request with any body
	ScaleInstancePoolWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	ScaleInstancePool(ctx context.Context, id string, body ScaleInstancePoolJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListInstanceTypes request
	ListInstanceTypes(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetInstanceType request
	GetInstanceType(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteInstance request
	DeleteInstance(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetInstance request
	GetInstance(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateInstance request with any body
	UpdateInstanceWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateInstance(ctx context.Context, id string, body UpdateInstanceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ResetInstanceField request
	ResetInstanceField(ctx context.Context, id string, field ResetInstanceFieldParamsField, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateSnapshot request
	CreateSnapshot(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RebootInstance request
	RebootInstance(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ResetInstance request with any body
	ResetInstanceWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	ResetInstance(ctx context.Context, id string, body ResetInstanceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ResizeInstanceDisk request with any body
	ResizeInstanceDiskWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	ResizeInstanceDisk(ctx context.Context, id string, body ResizeInstanceDiskJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ScaleInstance request with any body
	ScaleInstanceWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	ScaleInstance(ctx context.Context, id string, body ScaleInstanceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// StartInstance request with any body
	StartInstanceWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	StartInstance(ctx context.Context, id string, body StartInstanceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// StopInstance request
	StopInstance(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RevertInstanceToSnapshot request with any body
	RevertInstanceToSnapshotWithBody(ctx context.Context, instanceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	RevertInstanceToSnapshot(ctx context.Context, instanceId string, body RevertInstanceToSnapshotJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListLoadBalancers request
	ListLoadBalancers(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateLoadBalancer request with any body
	CreateLoadBalancerWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateLoadBalancer(ctx context.Context, body CreateLoadBalancerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteLoadBalancer request
	DeleteLoadBalancer(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetLoadBalancer request
	GetLoadBalancer(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateLoadBalancer request with any body
	UpdateLoadBalancerWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateLoadBalancer(ctx context.Context, id string, body UpdateLoadBalancerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AddServiceToLoadBalancer request with any body
	AddServiceToLoadBalancerWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	AddServiceToLoadBalancer(ctx context.Context, id string, body AddServiceToLoadBalancerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteLoadBalancerService request
	DeleteLoadBalancerService(ctx context.Context, id string, serviceId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetLoadBalancerService request
	GetLoadBalancerService(ctx context.Context, id string, serviceId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateLoadBalancerService request with any body
	UpdateLoadBalancerServiceWithBody(ctx context.Context, id string, serviceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateLoadBalancerService(ctx context.Context, id string, serviceId string, body UpdateLoadBalancerServiceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ResetLoadBalancerServiceField request
	ResetLoadBalancerServiceField(ctx context.Context, id string, serviceId string, field ResetLoadBalancerServiceFieldParamsField, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ResetLoadBalancerField request
	ResetLoadBalancerField(ctx context.Context, id string, field ResetLoadBalancerFieldParamsField, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetOperation request
	GetOperation(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListPrivateNetworks request
	ListPrivateNetworks(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreatePrivateNetwork request with any body
	CreatePrivateNetworkWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreatePrivateNetwork(ctx context.Context, body CreatePrivateNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeletePrivateNetwork request
	DeletePrivateNetwork(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetPrivateNetwork request
	GetPrivateNetwork(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdatePrivateNetwork request with any body
	UpdatePrivateNetworkWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdatePrivateNetwork(ctx context.Context, id string, body UpdatePrivateNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ResetPrivateNetworkField request
	ResetPrivateNetworkField(ctx context.Context, id string, field ResetPrivateNetworkFieldParamsField, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AttachInstanceToPrivateNetwork request with any body
	AttachInstanceToPrivateNetworkWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	AttachInstanceToPrivateNetwork(ctx context.Context, id string, body AttachInstanceToPrivateNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DetachInstanceFromPrivateNetwork request with any body
	DetachInstanceFromPrivateNetworkWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	DetachInstanceFromPrivateNetwork(ctx context.Context, id string, body DetachInstanceFromPrivateNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdatePrivateNetworkInstanceIp request with any body
	UpdatePrivateNetworkInstanceIpWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdatePrivateNetworkInstanceIp(ctx context.Context, id string, body UpdatePrivateNetworkInstanceIpJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListQuotas request
	ListQuotas(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetQuota request
	GetQuota(ctx context.Context, entity string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListSecurityGroups request
	ListSecurityGroups(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateSecurityGroup request with any body
	CreateSecurityGroupWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateSecurityGroup(ctx context.Context, body CreateSecurityGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteSecurityGroup request
	DeleteSecurityGroup(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSecurityGroup request
	GetSecurityGroup(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AddRuleToSecurityGroup request with any body
	AddRuleToSecurityGroupWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	AddRuleToSecurityGroup(ctx context.Context, id string, body AddRuleToSecurityGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteRuleFromSecurityGroup request
	DeleteRuleFromSecurityGroup(ctx context.Context, id string, ruleId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AddExternalSourceToSecurityGroup request with any body
	AddExternalSourceToSecurityGroupWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	AddExternalSourceToSecurityGroup(ctx context.Context, id string, body AddExternalSourceToSecurityGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AttachInstanceToSecurityGroup request with any body
	AttachInstanceToSecurityGroupWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	AttachInstanceToSecurityGroup(ctx context.Context, id string, body AttachInstanceToSecurityGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DetachInstanceFromSecurityGroup request with any body
	DetachInstanceFromSecurityGroupWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	DetachInstanceFromSecurityGroup(ctx context.Context, id string, body DetachInstanceFromSecurityGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RemoveExternalSourceFromSecurityGroup request with any body
	RemoveExternalSourceFromSecurityGroupWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	RemoveExternalSourceFromSecurityGroup(ctx context.Context, id string, body RemoveExternalSourceFromSecurityGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListSksClusters request
	ListSksClusters(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateSksCluster request with any body
	CreateSksClusterWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateSksCluster(ctx context.Context, body CreateSksClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GenerateSksClusterKubeconfig request with any body
	GenerateSksClusterKubeconfigWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	GenerateSksClusterKubeconfig(ctx context.Context, id string, body GenerateSksClusterKubeconfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListSksClusterVersions request
	ListSksClusterVersions(ctx context.Context, params *ListSksClusterVersionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteSksCluster request
	DeleteSksCluster(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSksCluster request
	GetSksCluster(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateSksCluster request with any body
	UpdateSksClusterWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateSksCluster(ctx context.Context, id string, body UpdateSksClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSksClusterAuthorityCert request
	GetSksClusterAuthorityCert(ctx context.Context, id string, authority GetSksClusterAuthorityCertParamsAuthority, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateSksNodepool request with any body
	CreateSksNodepoolWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateSksNodepool(ctx context.Context, id string, body CreateSksNodepoolJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteSksNodepool request
	DeleteSksNodepool(ctx context.Context, id string, sksNodepoolId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSksNodepool request
	GetSksNodepool(ctx context.Context, id string, sksNodepoolId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateSksNodepool request with any body
	UpdateSksNodepoolWithBody(ctx context.Context, id string, sksNodepoolId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateSksNodepool(ctx context.Context, id string, sksNodepoolId string, body UpdateSksNodepoolJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ResetSksNodepoolField request
	ResetSksNodepoolField(ctx context.Context, id string, sksNodepoolId string, field ResetSksNodepoolFieldParamsField, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EvictSksNodepoolMembers request with any body
	EvictSksNodepoolMembersWithBody(ctx context.Context, id string, sksNodepoolId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	EvictSksNodepoolMembers(ctx context.Context, id string, sksNodepoolId string, body EvictSksNodepoolMembersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ScaleSksNodepool request with any body
	ScaleSksNodepoolWithBody(ctx context.Context, id string, sksNodepoolId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	ScaleSksNodepool(ctx context.Context, id string, sksNodepoolId string, body ScaleSksNodepoolJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RotateSksCcmCredentials request
	RotateSksCcmCredentials(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpgradeSksCluster request with any body
	UpgradeSksClusterWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpgradeSksCluster(ctx context.Context, id string, body UpgradeSksClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpgradeSksClusterServiceLevel request
	UpgradeSksClusterServiceLevel(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ResetSksClusterField request
	ResetSksClusterField(ctx context.Context, id string, field ResetSksClusterFieldParamsField, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListSnapshots request
	ListSnapshots(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteSnapshot request
	DeleteSnapshot(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSnapshot request
	GetSnapshot(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ExportSnapshot request
	ExportSnapshot(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSosPresignedUrl request
	GetSosPresignedUrl(ctx context.Context, bucket string, params *GetSosPresignedUrlParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListSshKeys request
	ListSshKeys(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RegisterSshKey request with any body
	RegisterSshKeyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	RegisterSshKey(ctx context.Context, body RegisterSshKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteSshKey request
	DeleteSshKey(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSshKey request
	GetSshKey(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListTemplates request
	ListTemplates(ctx context.Context, params *ListTemplatesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RegisterTemplate request with any body
	RegisterTemplateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	RegisterTemplate(ctx context.Context, body RegisterTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteTemplate request
	DeleteTemplate(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTemplate request
	GetTemplate(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CopyTemplate request with any body
	CopyTemplateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CopyTemplate(ctx context.Context, id string, body CopyTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateTemplate request with any body
	UpdateTemplateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateTemplate(ctx context.Context, id string, body UpdateTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListZones request
	ListZones(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
}

The interface specification for the client above.

type ClientOption

type ClientOption func(*Client) error

ClientOption allows setting custom parameters during construction

func WithBaseURL

func WithBaseURL(baseURL string) ClientOption

WithBaseURL overrides the baseURL.

func WithHTTPClient

func WithHTTPClient(doer HttpRequestDoer) ClientOption

WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.

func WithRequestEditorFn

func WithRequestEditorFn(fn RequestEditorFn) ClientOption

WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.

type ClientWithResponses

type ClientWithResponses struct {
	ClientInterface
}

ClientWithResponses builds on ClientInterface to offer response payloads

func NewClientWithResponses

func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)

NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling

func (*ClientWithResponses) AddExternalSourceToSecurityGroupWithBodyWithResponse

func (c *ClientWithResponses) AddExternalSourceToSecurityGroupWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddExternalSourceToSecurityGroupResponse, error)

AddExternalSourceToSecurityGroupWithBodyWithResponse request with arbitrary body returning *AddExternalSourceToSecurityGroupResponse

func (*ClientWithResponses) AddExternalSourceToSecurityGroupWithResponse

func (c *ClientWithResponses) AddExternalSourceToSecurityGroupWithResponse(ctx context.Context, id string, body AddExternalSourceToSecurityGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*AddExternalSourceToSecurityGroupResponse, error)

func (*ClientWithResponses) AddRuleToSecurityGroupWithBodyWithResponse

func (c *ClientWithResponses) AddRuleToSecurityGroupWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddRuleToSecurityGroupResponse, error)

AddRuleToSecurityGroupWithBodyWithResponse request with arbitrary body returning *AddRuleToSecurityGroupResponse

func (*ClientWithResponses) AddRuleToSecurityGroupWithResponse

func (c *ClientWithResponses) AddRuleToSecurityGroupWithResponse(ctx context.Context, id string, body AddRuleToSecurityGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*AddRuleToSecurityGroupResponse, error)

func (*ClientWithResponses) AddServiceToLoadBalancerWithBodyWithResponse

func (c *ClientWithResponses) AddServiceToLoadBalancerWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddServiceToLoadBalancerResponse, error)

AddServiceToLoadBalancerWithBodyWithResponse request with arbitrary body returning *AddServiceToLoadBalancerResponse

func (*ClientWithResponses) AddServiceToLoadBalancerWithResponse

func (c *ClientWithResponses) AddServiceToLoadBalancerWithResponse(ctx context.Context, id string, body AddServiceToLoadBalancerJSONRequestBody, reqEditors ...RequestEditorFn) (*AddServiceToLoadBalancerResponse, error)

func (*ClientWithResponses) AttachInstanceToElasticIpWithBodyWithResponse

func (c *ClientWithResponses) AttachInstanceToElasticIpWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AttachInstanceToElasticIpResponse, error)

AttachInstanceToElasticIpWithBodyWithResponse request with arbitrary body returning *AttachInstanceToElasticIpResponse

func (*ClientWithResponses) AttachInstanceToElasticIpWithResponse

func (c *ClientWithResponses) AttachInstanceToElasticIpWithResponse(ctx context.Context, id string, body AttachInstanceToElasticIpJSONRequestBody, reqEditors ...RequestEditorFn) (*AttachInstanceToElasticIpResponse, error)

func (*ClientWithResponses) AttachInstanceToPrivateNetworkWithBodyWithResponse

func (c *ClientWithResponses) AttachInstanceToPrivateNetworkWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AttachInstanceToPrivateNetworkResponse, error)

AttachInstanceToPrivateNetworkWithBodyWithResponse request with arbitrary body returning *AttachInstanceToPrivateNetworkResponse

func (*ClientWithResponses) AttachInstanceToPrivateNetworkWithResponse

func (c *ClientWithResponses) AttachInstanceToPrivateNetworkWithResponse(ctx context.Context, id string, body AttachInstanceToPrivateNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*AttachInstanceToPrivateNetworkResponse, error)

func (*ClientWithResponses) AttachInstanceToSecurityGroupWithBodyWithResponse

func (c *ClientWithResponses) AttachInstanceToSecurityGroupWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AttachInstanceToSecurityGroupResponse, error)

AttachInstanceToSecurityGroupWithBodyWithResponse request with arbitrary body returning *AttachInstanceToSecurityGroupResponse

func (*ClientWithResponses) AttachInstanceToSecurityGroupWithResponse

func (c *ClientWithResponses) AttachInstanceToSecurityGroupWithResponse(ctx context.Context, id string, body AttachInstanceToSecurityGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*AttachInstanceToSecurityGroupResponse, error)

func (*ClientWithResponses) CopyTemplateWithBodyWithResponse

func (c *ClientWithResponses) CopyTemplateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CopyTemplateResponse, error)

CopyTemplateWithBodyWithResponse request with arbitrary body returning *CopyTemplateResponse

func (*ClientWithResponses) CopyTemplateWithResponse

func (c *ClientWithResponses) CopyTemplateWithResponse(ctx context.Context, id string, body CopyTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*CopyTemplateResponse, error)

func (*ClientWithResponses) CreateAntiAffinityGroupWithBodyWithResponse

func (c *ClientWithResponses) CreateAntiAffinityGroupWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateAntiAffinityGroupResponse, error)

CreateAntiAffinityGroupWithBodyWithResponse request with arbitrary body returning *CreateAntiAffinityGroupResponse

func (*ClientWithResponses) CreateAntiAffinityGroupWithResponse

func (c *ClientWithResponses) CreateAntiAffinityGroupWithResponse(ctx context.Context, body CreateAntiAffinityGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateAntiAffinityGroupResponse, error)

func (*ClientWithResponses) CreateDbaasServiceKafkaWithBodyWithResponse added in v0.78.0

func (c *ClientWithResponses) CreateDbaasServiceKafkaWithBodyWithResponse(ctx context.Context, name DbaasServiceName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDbaasServiceKafkaResponse, error)

CreateDbaasServiceKafkaWithBodyWithResponse request with arbitrary body returning *CreateDbaasServiceKafkaResponse

func (*ClientWithResponses) CreateDbaasServiceKafkaWithResponse added in v0.78.0

func (*ClientWithResponses) CreateDbaasServiceMysqlWithBodyWithResponse added in v0.78.0

func (c *ClientWithResponses) CreateDbaasServiceMysqlWithBodyWithResponse(ctx context.Context, name DbaasServiceName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDbaasServiceMysqlResponse, error)

CreateDbaasServiceMysqlWithBodyWithResponse request with arbitrary body returning *CreateDbaasServiceMysqlResponse

func (*ClientWithResponses) CreateDbaasServiceMysqlWithResponse added in v0.78.0

func (*ClientWithResponses) CreateDbaasServicePgWithBodyWithResponse added in v0.78.0

func (c *ClientWithResponses) CreateDbaasServicePgWithBodyWithResponse(ctx context.Context, name DbaasServiceName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDbaasServicePgResponse, error)

CreateDbaasServicePgWithBodyWithResponse request with arbitrary body returning *CreateDbaasServicePgResponse

func (*ClientWithResponses) CreateDbaasServicePgWithResponse added in v0.78.0

func (c *ClientWithResponses) CreateDbaasServicePgWithResponse(ctx context.Context, name DbaasServiceName, body CreateDbaasServicePgJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDbaasServicePgResponse, error)

func (*ClientWithResponses) CreateDbaasServiceRedisWithBodyWithResponse added in v0.78.0

func (c *ClientWithResponses) CreateDbaasServiceRedisWithBodyWithResponse(ctx context.Context, name DbaasServiceName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDbaasServiceRedisResponse, error)

CreateDbaasServiceRedisWithBodyWithResponse request with arbitrary body returning *CreateDbaasServiceRedisResponse

func (*ClientWithResponses) CreateDbaasServiceRedisWithResponse added in v0.78.0

func (*ClientWithResponses) CreateElasticIpWithBodyWithResponse

func (c *ClientWithResponses) CreateElasticIpWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateElasticIpResponse, error)

CreateElasticIpWithBodyWithResponse request with arbitrary body returning *CreateElasticIpResponse

func (*ClientWithResponses) CreateElasticIpWithResponse

func (c *ClientWithResponses) CreateElasticIpWithResponse(ctx context.Context, body CreateElasticIpJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateElasticIpResponse, error)

func (*ClientWithResponses) CreateInstancePoolWithBodyWithResponse

func (c *ClientWithResponses) CreateInstancePoolWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateInstancePoolResponse, error)

CreateInstancePoolWithBodyWithResponse request with arbitrary body returning *CreateInstancePoolResponse

func (*ClientWithResponses) CreateInstancePoolWithResponse

func (c *ClientWithResponses) CreateInstancePoolWithResponse(ctx context.Context, body CreateInstancePoolJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateInstancePoolResponse, error)

func (*ClientWithResponses) CreateInstanceWithBodyWithResponse

func (c *ClientWithResponses) CreateInstanceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateInstanceResponse, error)

CreateInstanceWithBodyWithResponse request with arbitrary body returning *CreateInstanceResponse

func (*ClientWithResponses) CreateInstanceWithResponse

func (c *ClientWithResponses) CreateInstanceWithResponse(ctx context.Context, body CreateInstanceJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateInstanceResponse, error)

func (*ClientWithResponses) CreateLoadBalancerWithBodyWithResponse

func (c *ClientWithResponses) CreateLoadBalancerWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateLoadBalancerResponse, error)

CreateLoadBalancerWithBodyWithResponse request with arbitrary body returning *CreateLoadBalancerResponse

func (*ClientWithResponses) CreateLoadBalancerWithResponse

func (c *ClientWithResponses) CreateLoadBalancerWithResponse(ctx context.Context, body CreateLoadBalancerJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateLoadBalancerResponse, error)

func (*ClientWithResponses) CreatePrivateNetworkWithBodyWithResponse

func (c *ClientWithResponses) CreatePrivateNetworkWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreatePrivateNetworkResponse, error)

CreatePrivateNetworkWithBodyWithResponse request with arbitrary body returning *CreatePrivateNetworkResponse

func (*ClientWithResponses) CreatePrivateNetworkWithResponse

func (c *ClientWithResponses) CreatePrivateNetworkWithResponse(ctx context.Context, body CreatePrivateNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*CreatePrivateNetworkResponse, error)

func (*ClientWithResponses) CreateSecurityGroupWithBodyWithResponse

func (c *ClientWithResponses) CreateSecurityGroupWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSecurityGroupResponse, error)

CreateSecurityGroupWithBodyWithResponse request with arbitrary body returning *CreateSecurityGroupResponse

func (*ClientWithResponses) CreateSecurityGroupWithResponse

func (c *ClientWithResponses) CreateSecurityGroupWithResponse(ctx context.Context, body CreateSecurityGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSecurityGroupResponse, error)

func (*ClientWithResponses) CreateSksClusterWithBodyWithResponse

func (c *ClientWithResponses) CreateSksClusterWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSksClusterResponse, error)

CreateSksClusterWithBodyWithResponse request with arbitrary body returning *CreateSksClusterResponse

func (*ClientWithResponses) CreateSksClusterWithResponse

func (c *ClientWithResponses) CreateSksClusterWithResponse(ctx context.Context, body CreateSksClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSksClusterResponse, error)

func (*ClientWithResponses) CreateSksNodepoolWithBodyWithResponse

func (c *ClientWithResponses) CreateSksNodepoolWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSksNodepoolResponse, error)

CreateSksNodepoolWithBodyWithResponse request with arbitrary body returning *CreateSksNodepoolResponse

func (*ClientWithResponses) CreateSksNodepoolWithResponse

func (c *ClientWithResponses) CreateSksNodepoolWithResponse(ctx context.Context, id string, body CreateSksNodepoolJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSksNodepoolResponse, error)

func (*ClientWithResponses) CreateSnapshotWithResponse

func (c *ClientWithResponses) CreateSnapshotWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*CreateSnapshotResponse, error)

CreateSnapshotWithResponse request returning *CreateSnapshotResponse

func (*ClientWithResponses) DeleteAntiAffinityGroupWithResponse

func (c *ClientWithResponses) DeleteAntiAffinityGroupWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteAntiAffinityGroupResponse, error)

DeleteAntiAffinityGroupWithResponse request returning *DeleteAntiAffinityGroupResponse

func (*ClientWithResponses) DeleteDbaasServiceWithResponse added in v0.78.0

func (c *ClientWithResponses) DeleteDbaasServiceWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*DeleteDbaasServiceResponse, error)

DeleteDbaasServiceWithResponse request returning *DeleteDbaasServiceResponse

func (*ClientWithResponses) DeleteElasticIpWithResponse

func (c *ClientWithResponses) DeleteElasticIpWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteElasticIpResponse, error)

DeleteElasticIpWithResponse request returning *DeleteElasticIpResponse

func (*ClientWithResponses) DeleteInstancePoolWithResponse

func (c *ClientWithResponses) DeleteInstancePoolWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteInstancePoolResponse, error)

DeleteInstancePoolWithResponse request returning *DeleteInstancePoolResponse

func (*ClientWithResponses) DeleteInstanceWithResponse

func (c *ClientWithResponses) DeleteInstanceWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteInstanceResponse, error)

DeleteInstanceWithResponse request returning *DeleteInstanceResponse

func (*ClientWithResponses) DeleteLoadBalancerServiceWithResponse

func (c *ClientWithResponses) DeleteLoadBalancerServiceWithResponse(ctx context.Context, id string, serviceId string, reqEditors ...RequestEditorFn) (*DeleteLoadBalancerServiceResponse, error)

DeleteLoadBalancerServiceWithResponse request returning *DeleteLoadBalancerServiceResponse

func (*ClientWithResponses) DeleteLoadBalancerWithResponse

func (c *ClientWithResponses) DeleteLoadBalancerWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteLoadBalancerResponse, error)

DeleteLoadBalancerWithResponse request returning *DeleteLoadBalancerResponse

func (*ClientWithResponses) DeletePrivateNetworkWithResponse

func (c *ClientWithResponses) DeletePrivateNetworkWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeletePrivateNetworkResponse, error)

DeletePrivateNetworkWithResponse request returning *DeletePrivateNetworkResponse

func (*ClientWithResponses) DeleteRuleFromSecurityGroupWithResponse

func (c *ClientWithResponses) DeleteRuleFromSecurityGroupWithResponse(ctx context.Context, id string, ruleId string, reqEditors ...RequestEditorFn) (*DeleteRuleFromSecurityGroupResponse, error)

DeleteRuleFromSecurityGroupWithResponse request returning *DeleteRuleFromSecurityGroupResponse

func (*ClientWithResponses) DeleteSecurityGroupWithResponse

func (c *ClientWithResponses) DeleteSecurityGroupWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteSecurityGroupResponse, error)

DeleteSecurityGroupWithResponse request returning *DeleteSecurityGroupResponse

func (*ClientWithResponses) DeleteSksClusterWithResponse

func (c *ClientWithResponses) DeleteSksClusterWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteSksClusterResponse, error)

DeleteSksClusterWithResponse request returning *DeleteSksClusterResponse

func (*ClientWithResponses) DeleteSksNodepoolWithResponse

func (c *ClientWithResponses) DeleteSksNodepoolWithResponse(ctx context.Context, id string, sksNodepoolId string, reqEditors ...RequestEditorFn) (*DeleteSksNodepoolResponse, error)

DeleteSksNodepoolWithResponse request returning *DeleteSksNodepoolResponse

func (*ClientWithResponses) DeleteSnapshotWithResponse

func (c *ClientWithResponses) DeleteSnapshotWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteSnapshotResponse, error)

DeleteSnapshotWithResponse request returning *DeleteSnapshotResponse

func (*ClientWithResponses) DeleteSshKeyWithResponse

func (c *ClientWithResponses) DeleteSshKeyWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*DeleteSshKeyResponse, error)

DeleteSshKeyWithResponse request returning *DeleteSshKeyResponse

func (*ClientWithResponses) DeleteTemplateWithResponse

func (c *ClientWithResponses) DeleteTemplateWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteTemplateResponse, error)

DeleteTemplateWithResponse request returning *DeleteTemplateResponse

func (*ClientWithResponses) DetachInstanceFromElasticIpWithBodyWithResponse

func (c *ClientWithResponses) DetachInstanceFromElasticIpWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DetachInstanceFromElasticIpResponse, error)

DetachInstanceFromElasticIpWithBodyWithResponse request with arbitrary body returning *DetachInstanceFromElasticIpResponse

func (*ClientWithResponses) DetachInstanceFromElasticIpWithResponse

func (c *ClientWithResponses) DetachInstanceFromElasticIpWithResponse(ctx context.Context, id string, body DetachInstanceFromElasticIpJSONRequestBody, reqEditors ...RequestEditorFn) (*DetachInstanceFromElasticIpResponse, error)

func (*ClientWithResponses) DetachInstanceFromPrivateNetworkWithBodyWithResponse

func (c *ClientWithResponses) DetachInstanceFromPrivateNetworkWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DetachInstanceFromPrivateNetworkResponse, error)

DetachInstanceFromPrivateNetworkWithBodyWithResponse request with arbitrary body returning *DetachInstanceFromPrivateNetworkResponse

func (*ClientWithResponses) DetachInstanceFromPrivateNetworkWithResponse

func (c *ClientWithResponses) DetachInstanceFromPrivateNetworkWithResponse(ctx context.Context, id string, body DetachInstanceFromPrivateNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*DetachInstanceFromPrivateNetworkResponse, error)

func (*ClientWithResponses) DetachInstanceFromSecurityGroupWithBodyWithResponse

func (c *ClientWithResponses) DetachInstanceFromSecurityGroupWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DetachInstanceFromSecurityGroupResponse, error)

DetachInstanceFromSecurityGroupWithBodyWithResponse request with arbitrary body returning *DetachInstanceFromSecurityGroupResponse

func (*ClientWithResponses) DetachInstanceFromSecurityGroupWithResponse

func (c *ClientWithResponses) DetachInstanceFromSecurityGroupWithResponse(ctx context.Context, id string, body DetachInstanceFromSecurityGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*DetachInstanceFromSecurityGroupResponse, error)

func (*ClientWithResponses) EvictInstancePoolMembersWithBodyWithResponse

func (c *ClientWithResponses) EvictInstancePoolMembersWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EvictInstancePoolMembersResponse, error)

EvictInstancePoolMembersWithBodyWithResponse request with arbitrary body returning *EvictInstancePoolMembersResponse

func (*ClientWithResponses) EvictInstancePoolMembersWithResponse

func (c *ClientWithResponses) EvictInstancePoolMembersWithResponse(ctx context.Context, id string, body EvictInstancePoolMembersJSONRequestBody, reqEditors ...RequestEditorFn) (*EvictInstancePoolMembersResponse, error)

func (*ClientWithResponses) EvictSksNodepoolMembersWithBodyWithResponse

func (c *ClientWithResponses) EvictSksNodepoolMembersWithBodyWithResponse(ctx context.Context, id string, sksNodepoolId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EvictSksNodepoolMembersResponse, error)

EvictSksNodepoolMembersWithBodyWithResponse request with arbitrary body returning *EvictSksNodepoolMembersResponse

func (*ClientWithResponses) EvictSksNodepoolMembersWithResponse

func (c *ClientWithResponses) EvictSksNodepoolMembersWithResponse(ctx context.Context, id string, sksNodepoolId string, body EvictSksNodepoolMembersJSONRequestBody, reqEditors ...RequestEditorFn) (*EvictSksNodepoolMembersResponse, error)

func (*ClientWithResponses) ExportSnapshotWithResponse

func (c *ClientWithResponses) ExportSnapshotWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ExportSnapshotResponse, error)

ExportSnapshotWithResponse request returning *ExportSnapshotResponse

func (*ClientWithResponses) GenerateSksClusterKubeconfigWithBodyWithResponse

func (c *ClientWithResponses) GenerateSksClusterKubeconfigWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GenerateSksClusterKubeconfigResponse, error)

GenerateSksClusterKubeconfigWithBodyWithResponse request with arbitrary body returning *GenerateSksClusterKubeconfigResponse

func (*ClientWithResponses) GenerateSksClusterKubeconfigWithResponse

func (c *ClientWithResponses) GenerateSksClusterKubeconfigWithResponse(ctx context.Context, id string, body GenerateSksClusterKubeconfigJSONRequestBody, reqEditors ...RequestEditorFn) (*GenerateSksClusterKubeconfigResponse, error)

func (*ClientWithResponses) GetAntiAffinityGroupWithResponse

func (c *ClientWithResponses) GetAntiAffinityGroupWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetAntiAffinityGroupResponse, error)

GetAntiAffinityGroupWithResponse request returning *GetAntiAffinityGroupResponse

func (*ClientWithResponses) GetDbaasCaCertificateWithResponse

func (c *ClientWithResponses) GetDbaasCaCertificateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetDbaasCaCertificateResponse, error)

GetDbaasCaCertificateWithResponse request returning *GetDbaasCaCertificateResponse

func (*ClientWithResponses) GetDbaasServiceKafkaWithResponse added in v0.78.0

func (c *ClientWithResponses) GetDbaasServiceKafkaWithResponse(ctx context.Context, name DbaasServiceName, reqEditors ...RequestEditorFn) (*GetDbaasServiceKafkaResponse, error)

GetDbaasServiceKafkaWithResponse request returning *GetDbaasServiceKafkaResponse

func (*ClientWithResponses) GetDbaasServiceMysqlWithResponse added in v0.78.0

func (c *ClientWithResponses) GetDbaasServiceMysqlWithResponse(ctx context.Context, name DbaasServiceName, reqEditors ...RequestEditorFn) (*GetDbaasServiceMysqlResponse, error)

GetDbaasServiceMysqlWithResponse request returning *GetDbaasServiceMysqlResponse

func (*ClientWithResponses) GetDbaasServicePgWithResponse added in v0.78.0

func (c *ClientWithResponses) GetDbaasServicePgWithResponse(ctx context.Context, name DbaasServiceName, reqEditors ...RequestEditorFn) (*GetDbaasServicePgResponse, error)

GetDbaasServicePgWithResponse request returning *GetDbaasServicePgResponse

func (*ClientWithResponses) GetDbaasServiceRedisWithResponse added in v0.78.0

func (c *ClientWithResponses) GetDbaasServiceRedisWithResponse(ctx context.Context, name DbaasServiceName, reqEditors ...RequestEditorFn) (*GetDbaasServiceRedisResponse, error)

GetDbaasServiceRedisWithResponse request returning *GetDbaasServiceRedisResponse

func (*ClientWithResponses) GetDbaasServiceTypeWithResponse

func (c *ClientWithResponses) GetDbaasServiceTypeWithResponse(ctx context.Context, serviceTypeName string, reqEditors ...RequestEditorFn) (*GetDbaasServiceTypeResponse, error)

GetDbaasServiceTypeWithResponse request returning *GetDbaasServiceTypeResponse

func (*ClientWithResponses) GetDbaasSettingsKafkaWithResponse added in v0.78.0

func (c *ClientWithResponses) GetDbaasSettingsKafkaWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetDbaasSettingsKafkaResponse, error)

GetDbaasSettingsKafkaWithResponse request returning *GetDbaasSettingsKafkaResponse

func (*ClientWithResponses) GetDbaasSettingsMysqlWithResponse added in v0.78.0

func (c *ClientWithResponses) GetDbaasSettingsMysqlWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetDbaasSettingsMysqlResponse, error)

GetDbaasSettingsMysqlWithResponse request returning *GetDbaasSettingsMysqlResponse

func (*ClientWithResponses) GetDbaasSettingsPgWithResponse added in v0.78.0

func (c *ClientWithResponses) GetDbaasSettingsPgWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetDbaasSettingsPgResponse, error)

GetDbaasSettingsPgWithResponse request returning *GetDbaasSettingsPgResponse

func (*ClientWithResponses) GetDbaasSettingsRedisWithResponse added in v0.79.0

func (c *ClientWithResponses) GetDbaasSettingsRedisWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetDbaasSettingsRedisResponse, error)

GetDbaasSettingsRedisWithResponse request returning *GetDbaasSettingsRedisResponse

func (*ClientWithResponses) GetDeployTargetWithResponse

func (c *ClientWithResponses) GetDeployTargetWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetDeployTargetResponse, error)

GetDeployTargetWithResponse request returning *GetDeployTargetResponse

func (*ClientWithResponses) GetDnsDomainRecordWithResponse added in v0.78.0

func (c *ClientWithResponses) GetDnsDomainRecordWithResponse(ctx context.Context, id int64, recordId int64, reqEditors ...RequestEditorFn) (*GetDnsDomainRecordResponse, error)

GetDnsDomainRecordWithResponse request returning *GetDnsDomainRecordResponse

func (*ClientWithResponses) GetDnsDomainWithResponse added in v0.78.0

func (c *ClientWithResponses) GetDnsDomainWithResponse(ctx context.Context, id int64, reqEditors ...RequestEditorFn) (*GetDnsDomainResponse, error)

GetDnsDomainWithResponse request returning *GetDnsDomainResponse

func (*ClientWithResponses) GetElasticIpWithResponse

func (c *ClientWithResponses) GetElasticIpWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetElasticIpResponse, error)

GetElasticIpWithResponse request returning *GetElasticIpResponse

func (*ClientWithResponses) GetInstancePoolWithResponse

func (c *ClientWithResponses) GetInstancePoolWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetInstancePoolResponse, error)

GetInstancePoolWithResponse request returning *GetInstancePoolResponse

func (*ClientWithResponses) GetInstanceTypeWithResponse

func (c *ClientWithResponses) GetInstanceTypeWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetInstanceTypeResponse, error)

GetInstanceTypeWithResponse request returning *GetInstanceTypeResponse

func (*ClientWithResponses) GetInstanceWithResponse

func (c *ClientWithResponses) GetInstanceWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetInstanceResponse, error)

GetInstanceWithResponse request returning *GetInstanceResponse

func (*ClientWithResponses) GetLoadBalancerServiceWithResponse

func (c *ClientWithResponses) GetLoadBalancerServiceWithResponse(ctx context.Context, id string, serviceId string, reqEditors ...RequestEditorFn) (*GetLoadBalancerServiceResponse, error)

GetLoadBalancerServiceWithResponse request returning *GetLoadBalancerServiceResponse

func (*ClientWithResponses) GetLoadBalancerWithResponse

func (c *ClientWithResponses) GetLoadBalancerWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetLoadBalancerResponse, error)

GetLoadBalancerWithResponse request returning *GetLoadBalancerResponse

func (*ClientWithResponses) GetOperationWithResponse

func (c *ClientWithResponses) GetOperationWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetOperationResponse, error)

GetOperationWithResponse request returning *GetOperationResponse

func (*ClientWithResponses) GetPrivateNetworkWithResponse

func (c *ClientWithResponses) GetPrivateNetworkWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetPrivateNetworkResponse, error)

GetPrivateNetworkWithResponse request returning *GetPrivateNetworkResponse

func (*ClientWithResponses) GetQuotaWithResponse

func (c *ClientWithResponses) GetQuotaWithResponse(ctx context.Context, entity string, reqEditors ...RequestEditorFn) (*GetQuotaResponse, error)

GetQuotaWithResponse request returning *GetQuotaResponse

func (*ClientWithResponses) GetSecurityGroupWithResponse

func (c *ClientWithResponses) GetSecurityGroupWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetSecurityGroupResponse, error)

GetSecurityGroupWithResponse request returning *GetSecurityGroupResponse

func (*ClientWithResponses) GetSksClusterAuthorityCertWithResponse

func (c *ClientWithResponses) GetSksClusterAuthorityCertWithResponse(ctx context.Context, id string, authority GetSksClusterAuthorityCertParamsAuthority, reqEditors ...RequestEditorFn) (*GetSksClusterAuthorityCertResponse, error)

GetSksClusterAuthorityCertWithResponse request returning *GetSksClusterAuthorityCertResponse

func (*ClientWithResponses) GetSksClusterWithResponse

func (c *ClientWithResponses) GetSksClusterWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetSksClusterResponse, error)

GetSksClusterWithResponse request returning *GetSksClusterResponse

func (*ClientWithResponses) GetSksNodepoolWithResponse

func (c *ClientWithResponses) GetSksNodepoolWithResponse(ctx context.Context, id string, sksNodepoolId string, reqEditors ...RequestEditorFn) (*GetSksNodepoolResponse, error)

GetSksNodepoolWithResponse request returning *GetSksNodepoolResponse

func (*ClientWithResponses) GetSnapshotWithResponse

func (c *ClientWithResponses) GetSnapshotWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetSnapshotResponse, error)

GetSnapshotWithResponse request returning *GetSnapshotResponse

func (*ClientWithResponses) GetSosPresignedUrlWithResponse

func (c *ClientWithResponses) GetSosPresignedUrlWithResponse(ctx context.Context, bucket string, params *GetSosPresignedUrlParams, reqEditors ...RequestEditorFn) (*GetSosPresignedUrlResponse, error)

GetSosPresignedUrlWithResponse request returning *GetSosPresignedUrlResponse

func (*ClientWithResponses) GetSshKeyWithResponse

func (c *ClientWithResponses) GetSshKeyWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetSshKeyResponse, error)

GetSshKeyWithResponse request returning *GetSshKeyResponse

func (*ClientWithResponses) GetTemplateWithResponse

func (c *ClientWithResponses) GetTemplateWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetTemplateResponse, error)

GetTemplateWithResponse request returning *GetTemplateResponse

func (*ClientWithResponses) ListAntiAffinityGroupsWithResponse

func (c *ClientWithResponses) ListAntiAffinityGroupsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListAntiAffinityGroupsResponse, error)

ListAntiAffinityGroupsWithResponse request returning *ListAntiAffinityGroupsResponse

func (*ClientWithResponses) ListDbaasServiceTypesWithResponse

func (c *ClientWithResponses) ListDbaasServiceTypesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListDbaasServiceTypesResponse, error)

ListDbaasServiceTypesWithResponse request returning *ListDbaasServiceTypesResponse

func (*ClientWithResponses) ListDbaasServicesWithResponse

func (c *ClientWithResponses) ListDbaasServicesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListDbaasServicesResponse, error)

ListDbaasServicesWithResponse request returning *ListDbaasServicesResponse

func (*ClientWithResponses) ListDeployTargetsWithResponse

func (c *ClientWithResponses) ListDeployTargetsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListDeployTargetsResponse, error)

ListDeployTargetsWithResponse request returning *ListDeployTargetsResponse

func (*ClientWithResponses) ListDnsDomainRecordsWithResponse added in v0.78.0

func (c *ClientWithResponses) ListDnsDomainRecordsWithResponse(ctx context.Context, id int64, reqEditors ...RequestEditorFn) (*ListDnsDomainRecordsResponse, error)

ListDnsDomainRecordsWithResponse request returning *ListDnsDomainRecordsResponse

func (*ClientWithResponses) ListDnsDomainsWithResponse added in v0.78.0

func (c *ClientWithResponses) ListDnsDomainsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListDnsDomainsResponse, error)

ListDnsDomainsWithResponse request returning *ListDnsDomainsResponse

func (*ClientWithResponses) ListElasticIpsWithResponse

func (c *ClientWithResponses) ListElasticIpsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListElasticIpsResponse, error)

ListElasticIpsWithResponse request returning *ListElasticIpsResponse

func (*ClientWithResponses) ListEventsWithResponse

func (c *ClientWithResponses) ListEventsWithResponse(ctx context.Context, params *ListEventsParams, reqEditors ...RequestEditorFn) (*ListEventsResponse, error)

ListEventsWithResponse request returning *ListEventsResponse

func (*ClientWithResponses) ListInstancePoolsWithResponse

func (c *ClientWithResponses) ListInstancePoolsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListInstancePoolsResponse, error)

ListInstancePoolsWithResponse request returning *ListInstancePoolsResponse

func (*ClientWithResponses) ListInstanceTypesWithResponse

func (c *ClientWithResponses) ListInstanceTypesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListInstanceTypesResponse, error)

ListInstanceTypesWithResponse request returning *ListInstanceTypesResponse

func (*ClientWithResponses) ListInstancesWithResponse

func (c *ClientWithResponses) ListInstancesWithResponse(ctx context.Context, params *ListInstancesParams, reqEditors ...RequestEditorFn) (*ListInstancesResponse, error)

ListInstancesWithResponse request returning *ListInstancesResponse

func (*ClientWithResponses) ListLoadBalancersWithResponse

func (c *ClientWithResponses) ListLoadBalancersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListLoadBalancersResponse, error)

ListLoadBalancersWithResponse request returning *ListLoadBalancersResponse

func (*ClientWithResponses) ListPrivateNetworksWithResponse

func (c *ClientWithResponses) ListPrivateNetworksWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListPrivateNetworksResponse, error)

ListPrivateNetworksWithResponse request returning *ListPrivateNetworksResponse

func (*ClientWithResponses) ListQuotasWithResponse

func (c *ClientWithResponses) ListQuotasWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListQuotasResponse, error)

ListQuotasWithResponse request returning *ListQuotasResponse

func (*ClientWithResponses) ListSecurityGroupsWithResponse

func (c *ClientWithResponses) ListSecurityGroupsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListSecurityGroupsResponse, error)

ListSecurityGroupsWithResponse request returning *ListSecurityGroupsResponse

func (*ClientWithResponses) ListSksClusterVersionsWithResponse

func (c *ClientWithResponses) ListSksClusterVersionsWithResponse(ctx context.Context, params *ListSksClusterVersionsParams, reqEditors ...RequestEditorFn) (*ListSksClusterVersionsResponse, error)

ListSksClusterVersionsWithResponse request returning *ListSksClusterVersionsResponse

func (*ClientWithResponses) ListSksClustersWithResponse

func (c *ClientWithResponses) ListSksClustersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListSksClustersResponse, error)

ListSksClustersWithResponse request returning *ListSksClustersResponse

func (*ClientWithResponses) ListSnapshotsWithResponse

func (c *ClientWithResponses) ListSnapshotsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListSnapshotsResponse, error)

ListSnapshotsWithResponse request returning *ListSnapshotsResponse

func (*ClientWithResponses) ListSshKeysWithResponse

func (c *ClientWithResponses) ListSshKeysWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListSshKeysResponse, error)

ListSshKeysWithResponse request returning *ListSshKeysResponse

func (*ClientWithResponses) ListTemplatesWithResponse

func (c *ClientWithResponses) ListTemplatesWithResponse(ctx context.Context, params *ListTemplatesParams, reqEditors ...RequestEditorFn) (*ListTemplatesResponse, error)

ListTemplatesWithResponse request returning *ListTemplatesResponse

func (*ClientWithResponses) ListZonesWithResponse

func (c *ClientWithResponses) ListZonesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListZonesResponse, error)

ListZonesWithResponse request returning *ListZonesResponse

func (*ClientWithResponses) OperationPoller

func (c *ClientWithResponses) OperationPoller(zone string, jobID string) PollFunc

OperationPoller returns a PollFunc function which queries the state of the specified job. Upon successful job completion, the type of the interface{} returned by the PollFunc is a pointer to a Resource object (*Resource).

func (*ClientWithResponses) RebootInstanceWithResponse

func (c *ClientWithResponses) RebootInstanceWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*RebootInstanceResponse, error)

RebootInstanceWithResponse request returning *RebootInstanceResponse

func (*ClientWithResponses) RegisterSshKeyWithBodyWithResponse

func (c *ClientWithResponses) RegisterSshKeyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RegisterSshKeyResponse, error)

RegisterSshKeyWithBodyWithResponse request with arbitrary body returning *RegisterSshKeyResponse

func (*ClientWithResponses) RegisterSshKeyWithResponse

func (c *ClientWithResponses) RegisterSshKeyWithResponse(ctx context.Context, body RegisterSshKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*RegisterSshKeyResponse, error)

func (*ClientWithResponses) RegisterTemplateWithBodyWithResponse

func (c *ClientWithResponses) RegisterTemplateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RegisterTemplateResponse, error)

RegisterTemplateWithBodyWithResponse request with arbitrary body returning *RegisterTemplateResponse

func (*ClientWithResponses) RegisterTemplateWithResponse

func (c *ClientWithResponses) RegisterTemplateWithResponse(ctx context.Context, body RegisterTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*RegisterTemplateResponse, error)

func (*ClientWithResponses) RemoveExternalSourceFromSecurityGroupWithBodyWithResponse

func (c *ClientWithResponses) RemoveExternalSourceFromSecurityGroupWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RemoveExternalSourceFromSecurityGroupResponse, error)

RemoveExternalSourceFromSecurityGroupWithBodyWithResponse request with arbitrary body returning *RemoveExternalSourceFromSecurityGroupResponse

func (*ClientWithResponses) ResetElasticIpFieldWithResponse

func (c *ClientWithResponses) ResetElasticIpFieldWithResponse(ctx context.Context, id string, field ResetElasticIpFieldParamsField, reqEditors ...RequestEditorFn) (*ResetElasticIpFieldResponse, error)

ResetElasticIpFieldWithResponse request returning *ResetElasticIpFieldResponse

func (*ClientWithResponses) ResetInstanceFieldWithResponse

func (c *ClientWithResponses) ResetInstanceFieldWithResponse(ctx context.Context, id string, field ResetInstanceFieldParamsField, reqEditors ...RequestEditorFn) (*ResetInstanceFieldResponse, error)

ResetInstanceFieldWithResponse request returning *ResetInstanceFieldResponse

func (*ClientWithResponses) ResetInstancePoolFieldWithResponse

func (c *ClientWithResponses) ResetInstancePoolFieldWithResponse(ctx context.Context, id string, field ResetInstancePoolFieldParamsField, reqEditors ...RequestEditorFn) (*ResetInstancePoolFieldResponse, error)

ResetInstancePoolFieldWithResponse request returning *ResetInstancePoolFieldResponse

func (*ClientWithResponses) ResetInstanceWithBodyWithResponse

func (c *ClientWithResponses) ResetInstanceWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ResetInstanceResponse, error)

ResetInstanceWithBodyWithResponse request with arbitrary body returning *ResetInstanceResponse

func (*ClientWithResponses) ResetInstanceWithResponse

func (c *ClientWithResponses) ResetInstanceWithResponse(ctx context.Context, id string, body ResetInstanceJSONRequestBody, reqEditors ...RequestEditorFn) (*ResetInstanceResponse, error)

func (*ClientWithResponses) ResetLoadBalancerFieldWithResponse

func (c *ClientWithResponses) ResetLoadBalancerFieldWithResponse(ctx context.Context, id string, field ResetLoadBalancerFieldParamsField, reqEditors ...RequestEditorFn) (*ResetLoadBalancerFieldResponse, error)

ResetLoadBalancerFieldWithResponse request returning *ResetLoadBalancerFieldResponse

func (*ClientWithResponses) ResetLoadBalancerServiceFieldWithResponse

func (c *ClientWithResponses) ResetLoadBalancerServiceFieldWithResponse(ctx context.Context, id string, serviceId string, field ResetLoadBalancerServiceFieldParamsField, reqEditors ...RequestEditorFn) (*ResetLoadBalancerServiceFieldResponse, error)

ResetLoadBalancerServiceFieldWithResponse request returning *ResetLoadBalancerServiceFieldResponse

func (*ClientWithResponses) ResetPrivateNetworkFieldWithResponse

func (c *ClientWithResponses) ResetPrivateNetworkFieldWithResponse(ctx context.Context, id string, field ResetPrivateNetworkFieldParamsField, reqEditors ...RequestEditorFn) (*ResetPrivateNetworkFieldResponse, error)

ResetPrivateNetworkFieldWithResponse request returning *ResetPrivateNetworkFieldResponse

func (*ClientWithResponses) ResetSksClusterFieldWithResponse

func (c *ClientWithResponses) ResetSksClusterFieldWithResponse(ctx context.Context, id string, field ResetSksClusterFieldParamsField, reqEditors ...RequestEditorFn) (*ResetSksClusterFieldResponse, error)

ResetSksClusterFieldWithResponse request returning *ResetSksClusterFieldResponse

func (*ClientWithResponses) ResetSksNodepoolFieldWithResponse

func (c *ClientWithResponses) ResetSksNodepoolFieldWithResponse(ctx context.Context, id string, sksNodepoolId string, field ResetSksNodepoolFieldParamsField, reqEditors ...RequestEditorFn) (*ResetSksNodepoolFieldResponse, error)

ResetSksNodepoolFieldWithResponse request returning *ResetSksNodepoolFieldResponse

func (*ClientWithResponses) ResizeInstanceDiskWithBodyWithResponse

func (c *ClientWithResponses) ResizeInstanceDiskWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ResizeInstanceDiskResponse, error)

ResizeInstanceDiskWithBodyWithResponse request with arbitrary body returning *ResizeInstanceDiskResponse

func (*ClientWithResponses) ResizeInstanceDiskWithResponse

func (c *ClientWithResponses) ResizeInstanceDiskWithResponse(ctx context.Context, id string, body ResizeInstanceDiskJSONRequestBody, reqEditors ...RequestEditorFn) (*ResizeInstanceDiskResponse, error)

func (*ClientWithResponses) RevertInstanceToSnapshotWithBodyWithResponse

func (c *ClientWithResponses) RevertInstanceToSnapshotWithBodyWithResponse(ctx context.Context, instanceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RevertInstanceToSnapshotResponse, error)

RevertInstanceToSnapshotWithBodyWithResponse request with arbitrary body returning *RevertInstanceToSnapshotResponse

func (*ClientWithResponses) RevertInstanceToSnapshotWithResponse

func (c *ClientWithResponses) RevertInstanceToSnapshotWithResponse(ctx context.Context, instanceId string, body RevertInstanceToSnapshotJSONRequestBody, reqEditors ...RequestEditorFn) (*RevertInstanceToSnapshotResponse, error)

func (*ClientWithResponses) RotateSksCcmCredentialsWithResponse

func (c *ClientWithResponses) RotateSksCcmCredentialsWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*RotateSksCcmCredentialsResponse, error)

RotateSksCcmCredentialsWithResponse request returning *RotateSksCcmCredentialsResponse

func (*ClientWithResponses) ScaleInstancePoolWithBodyWithResponse

func (c *ClientWithResponses) ScaleInstancePoolWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ScaleInstancePoolResponse, error)

ScaleInstancePoolWithBodyWithResponse request with arbitrary body returning *ScaleInstancePoolResponse

func (*ClientWithResponses) ScaleInstancePoolWithResponse

func (c *ClientWithResponses) ScaleInstancePoolWithResponse(ctx context.Context, id string, body ScaleInstancePoolJSONRequestBody, reqEditors ...RequestEditorFn) (*ScaleInstancePoolResponse, error)

func (*ClientWithResponses) ScaleInstanceWithBodyWithResponse

func (c *ClientWithResponses) ScaleInstanceWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ScaleInstanceResponse, error)

ScaleInstanceWithBodyWithResponse request with arbitrary body returning *ScaleInstanceResponse

func (*ClientWithResponses) ScaleInstanceWithResponse

func (c *ClientWithResponses) ScaleInstanceWithResponse(ctx context.Context, id string, body ScaleInstanceJSONRequestBody, reqEditors ...RequestEditorFn) (*ScaleInstanceResponse, error)

func (*ClientWithResponses) ScaleSksNodepoolWithBodyWithResponse

func (c *ClientWithResponses) ScaleSksNodepoolWithBodyWithResponse(ctx context.Context, id string, sksNodepoolId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ScaleSksNodepoolResponse, error)

ScaleSksNodepoolWithBodyWithResponse request with arbitrary body returning *ScaleSksNodepoolResponse

func (*ClientWithResponses) ScaleSksNodepoolWithResponse

func (c *ClientWithResponses) ScaleSksNodepoolWithResponse(ctx context.Context, id string, sksNodepoolId string, body ScaleSksNodepoolJSONRequestBody, reqEditors ...RequestEditorFn) (*ScaleSksNodepoolResponse, error)

func (*ClientWithResponses) StartInstanceWithBodyWithResponse added in v0.75.0

func (c *ClientWithResponses) StartInstanceWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*StartInstanceResponse, error)

StartInstanceWithBodyWithResponse request with arbitrary body returning *StartInstanceResponse

func (*ClientWithResponses) StartInstanceWithResponse

func (c *ClientWithResponses) StartInstanceWithResponse(ctx context.Context, id string, body StartInstanceJSONRequestBody, reqEditors ...RequestEditorFn) (*StartInstanceResponse, error)

func (*ClientWithResponses) StopInstanceWithResponse

func (c *ClientWithResponses) StopInstanceWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*StopInstanceResponse, error)

StopInstanceWithResponse request returning *StopInstanceResponse

func (*ClientWithResponses) UpdateDbaasServiceKafkaWithBodyWithResponse added in v0.78.0

func (c *ClientWithResponses) UpdateDbaasServiceKafkaWithBodyWithResponse(ctx context.Context, name DbaasServiceName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateDbaasServiceKafkaResponse, error)

UpdateDbaasServiceKafkaWithBodyWithResponse request with arbitrary body returning *UpdateDbaasServiceKafkaResponse

func (*ClientWithResponses) UpdateDbaasServiceKafkaWithResponse added in v0.78.0

func (*ClientWithResponses) UpdateDbaasServiceMysqlWithBodyWithResponse added in v0.78.0

func (c *ClientWithResponses) UpdateDbaasServiceMysqlWithBodyWithResponse(ctx context.Context, name DbaasServiceName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateDbaasServiceMysqlResponse, error)

UpdateDbaasServiceMysqlWithBodyWithResponse request with arbitrary body returning *UpdateDbaasServiceMysqlResponse

func (*ClientWithResponses) UpdateDbaasServiceMysqlWithResponse added in v0.78.0

func (*ClientWithResponses) UpdateDbaasServicePgWithBodyWithResponse added in v0.78.0

func (c *ClientWithResponses) UpdateDbaasServicePgWithBodyWithResponse(ctx context.Context, name DbaasServiceName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateDbaasServicePgResponse, error)

UpdateDbaasServicePgWithBodyWithResponse request with arbitrary body returning *UpdateDbaasServicePgResponse

func (*ClientWithResponses) UpdateDbaasServicePgWithResponse added in v0.78.0

func (c *ClientWithResponses) UpdateDbaasServicePgWithResponse(ctx context.Context, name DbaasServiceName, body UpdateDbaasServicePgJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateDbaasServicePgResponse, error)

func (*ClientWithResponses) UpdateDbaasServiceRedisWithBodyWithResponse added in v0.78.0

func (c *ClientWithResponses) UpdateDbaasServiceRedisWithBodyWithResponse(ctx context.Context, name DbaasServiceName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateDbaasServiceRedisResponse, error)

UpdateDbaasServiceRedisWithBodyWithResponse request with arbitrary body returning *UpdateDbaasServiceRedisResponse

func (*ClientWithResponses) UpdateDbaasServiceRedisWithResponse added in v0.78.0

func (*ClientWithResponses) UpdateElasticIpWithBodyWithResponse

func (c *ClientWithResponses) UpdateElasticIpWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateElasticIpResponse, error)

UpdateElasticIpWithBodyWithResponse request with arbitrary body returning *UpdateElasticIpResponse

func (*ClientWithResponses) UpdateElasticIpWithResponse

func (c *ClientWithResponses) UpdateElasticIpWithResponse(ctx context.Context, id string, body UpdateElasticIpJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateElasticIpResponse, error)

func (*ClientWithResponses) UpdateInstancePoolWithBodyWithResponse

func (c *ClientWithResponses) UpdateInstancePoolWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateInstancePoolResponse, error)

UpdateInstancePoolWithBodyWithResponse request with arbitrary body returning *UpdateInstancePoolResponse

func (*ClientWithResponses) UpdateInstancePoolWithResponse

func (c *ClientWithResponses) UpdateInstancePoolWithResponse(ctx context.Context, id string, body UpdateInstancePoolJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateInstancePoolResponse, error)

func (*ClientWithResponses) UpdateInstanceWithBodyWithResponse

func (c *ClientWithResponses) UpdateInstanceWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateInstanceResponse, error)

UpdateInstanceWithBodyWithResponse request with arbitrary body returning *UpdateInstanceResponse

func (*ClientWithResponses) UpdateInstanceWithResponse

func (c *ClientWithResponses) UpdateInstanceWithResponse(ctx context.Context, id string, body UpdateInstanceJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateInstanceResponse, error)

func (*ClientWithResponses) UpdateLoadBalancerServiceWithBodyWithResponse

func (c *ClientWithResponses) UpdateLoadBalancerServiceWithBodyWithResponse(ctx context.Context, id string, serviceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateLoadBalancerServiceResponse, error)

UpdateLoadBalancerServiceWithBodyWithResponse request with arbitrary body returning *UpdateLoadBalancerServiceResponse

func (*ClientWithResponses) UpdateLoadBalancerServiceWithResponse

func (c *ClientWithResponses) UpdateLoadBalancerServiceWithResponse(ctx context.Context, id string, serviceId string, body UpdateLoadBalancerServiceJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateLoadBalancerServiceResponse, error)

func (*ClientWithResponses) UpdateLoadBalancerWithBodyWithResponse

func (c *ClientWithResponses) UpdateLoadBalancerWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateLoadBalancerResponse, error)

UpdateLoadBalancerWithBodyWithResponse request with arbitrary body returning *UpdateLoadBalancerResponse

func (*ClientWithResponses) UpdateLoadBalancerWithResponse

func (c *ClientWithResponses) UpdateLoadBalancerWithResponse(ctx context.Context, id string, body UpdateLoadBalancerJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateLoadBalancerResponse, error)

func (*ClientWithResponses) UpdatePrivateNetworkInstanceIpWithBodyWithResponse

func (c *ClientWithResponses) UpdatePrivateNetworkInstanceIpWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdatePrivateNetworkInstanceIpResponse, error)

UpdatePrivateNetworkInstanceIpWithBodyWithResponse request with arbitrary body returning *UpdatePrivateNetworkInstanceIpResponse

func (*ClientWithResponses) UpdatePrivateNetworkInstanceIpWithResponse

func (c *ClientWithResponses) UpdatePrivateNetworkInstanceIpWithResponse(ctx context.Context, id string, body UpdatePrivateNetworkInstanceIpJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdatePrivateNetworkInstanceIpResponse, error)

func (*ClientWithResponses) UpdatePrivateNetworkWithBodyWithResponse

func (c *ClientWithResponses) UpdatePrivateNetworkWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdatePrivateNetworkResponse, error)

UpdatePrivateNetworkWithBodyWithResponse request with arbitrary body returning *UpdatePrivateNetworkResponse

func (*ClientWithResponses) UpdatePrivateNetworkWithResponse

func (c *ClientWithResponses) UpdatePrivateNetworkWithResponse(ctx context.Context, id string, body UpdatePrivateNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdatePrivateNetworkResponse, error)

func (*ClientWithResponses) UpdateSksClusterWithBodyWithResponse

func (c *ClientWithResponses) UpdateSksClusterWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSksClusterResponse, error)

UpdateSksClusterWithBodyWithResponse request with arbitrary body returning *UpdateSksClusterResponse

func (*ClientWithResponses) UpdateSksClusterWithResponse

func (c *ClientWithResponses) UpdateSksClusterWithResponse(ctx context.Context, id string, body UpdateSksClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSksClusterResponse, error)

func (*ClientWithResponses) UpdateSksNodepoolWithBodyWithResponse

func (c *ClientWithResponses) UpdateSksNodepoolWithBodyWithResponse(ctx context.Context, id string, sksNodepoolId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSksNodepoolResponse, error)

UpdateSksNodepoolWithBodyWithResponse request with arbitrary body returning *UpdateSksNodepoolResponse

func (*ClientWithResponses) UpdateSksNodepoolWithResponse

func (c *ClientWithResponses) UpdateSksNodepoolWithResponse(ctx context.Context, id string, sksNodepoolId string, body UpdateSksNodepoolJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSksNodepoolResponse, error)

func (*ClientWithResponses) UpdateTemplateWithBodyWithResponse

func (c *ClientWithResponses) UpdateTemplateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateTemplateResponse, error)

UpdateTemplateWithBodyWithResponse request with arbitrary body returning *UpdateTemplateResponse

func (*ClientWithResponses) UpdateTemplateWithResponse

func (c *ClientWithResponses) UpdateTemplateWithResponse(ctx context.Context, id string, body UpdateTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateTemplateResponse, error)

func (*ClientWithResponses) UpgradeSksClusterServiceLevelWithResponse

func (c *ClientWithResponses) UpgradeSksClusterServiceLevelWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*UpgradeSksClusterServiceLevelResponse, error)

UpgradeSksClusterServiceLevelWithResponse request returning *UpgradeSksClusterServiceLevelResponse

func (*ClientWithResponses) UpgradeSksClusterWithBodyWithResponse

func (c *ClientWithResponses) UpgradeSksClusterWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpgradeSksClusterResponse, error)

UpgradeSksClusterWithBodyWithResponse request with arbitrary body returning *UpgradeSksClusterResponse

func (*ClientWithResponses) UpgradeSksClusterWithResponse

func (c *ClientWithResponses) UpgradeSksClusterWithResponse(ctx context.Context, id string, body UpgradeSksClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*UpgradeSksClusterResponse, error)

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {
	// ListAntiAffinityGroups request
	ListAntiAffinityGroupsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListAntiAffinityGroupsResponse, error)

	// CreateAntiAffinityGroup request with any body
	CreateAntiAffinityGroupWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateAntiAffinityGroupResponse, error)

	CreateAntiAffinityGroupWithResponse(ctx context.Context, body CreateAntiAffinityGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateAntiAffinityGroupResponse, error)

	// DeleteAntiAffinityGroup request
	DeleteAntiAffinityGroupWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteAntiAffinityGroupResponse, error)

	// GetAntiAffinityGroup request
	GetAntiAffinityGroupWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetAntiAffinityGroupResponse, error)

	// GetDbaasCaCertificate request
	GetDbaasCaCertificateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetDbaasCaCertificateResponse, error)

	// GetDbaasServiceKafka request
	GetDbaasServiceKafkaWithResponse(ctx context.Context, name DbaasServiceName, reqEditors ...RequestEditorFn) (*GetDbaasServiceKafkaResponse, error)

	// CreateDbaasServiceKafka request with any body
	CreateDbaasServiceKafkaWithBodyWithResponse(ctx context.Context, name DbaasServiceName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDbaasServiceKafkaResponse, error)

	CreateDbaasServiceKafkaWithResponse(ctx context.Context, name DbaasServiceName, body CreateDbaasServiceKafkaJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDbaasServiceKafkaResponse, error)

	// UpdateDbaasServiceKafka request with any body
	UpdateDbaasServiceKafkaWithBodyWithResponse(ctx context.Context, name DbaasServiceName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateDbaasServiceKafkaResponse, error)

	UpdateDbaasServiceKafkaWithResponse(ctx context.Context, name DbaasServiceName, body UpdateDbaasServiceKafkaJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateDbaasServiceKafkaResponse, error)

	// GetDbaasServiceMysql request
	GetDbaasServiceMysqlWithResponse(ctx context.Context, name DbaasServiceName, reqEditors ...RequestEditorFn) (*GetDbaasServiceMysqlResponse, error)

	// CreateDbaasServiceMysql request with any body
	CreateDbaasServiceMysqlWithBodyWithResponse(ctx context.Context, name DbaasServiceName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDbaasServiceMysqlResponse, error)

	CreateDbaasServiceMysqlWithResponse(ctx context.Context, name DbaasServiceName, body CreateDbaasServiceMysqlJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDbaasServiceMysqlResponse, error)

	// UpdateDbaasServiceMysql request with any body
	UpdateDbaasServiceMysqlWithBodyWithResponse(ctx context.Context, name DbaasServiceName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateDbaasServiceMysqlResponse, error)

	UpdateDbaasServiceMysqlWithResponse(ctx context.Context, name DbaasServiceName, body UpdateDbaasServiceMysqlJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateDbaasServiceMysqlResponse, error)

	// GetDbaasServicePg request
	GetDbaasServicePgWithResponse(ctx context.Context, name DbaasServiceName, reqEditors ...RequestEditorFn) (*GetDbaasServicePgResponse, error)

	// CreateDbaasServicePg request with any body
	CreateDbaasServicePgWithBodyWithResponse(ctx context.Context, name DbaasServiceName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDbaasServicePgResponse, error)

	CreateDbaasServicePgWithResponse(ctx context.Context, name DbaasServiceName, body CreateDbaasServicePgJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDbaasServicePgResponse, error)

	// UpdateDbaasServicePg request with any body
	UpdateDbaasServicePgWithBodyWithResponse(ctx context.Context, name DbaasServiceName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateDbaasServicePgResponse, error)

	UpdateDbaasServicePgWithResponse(ctx context.Context, name DbaasServiceName, body UpdateDbaasServicePgJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateDbaasServicePgResponse, error)

	// GetDbaasServiceRedis request
	GetDbaasServiceRedisWithResponse(ctx context.Context, name DbaasServiceName, reqEditors ...RequestEditorFn) (*GetDbaasServiceRedisResponse, error)

	// CreateDbaasServiceRedis request with any body
	CreateDbaasServiceRedisWithBodyWithResponse(ctx context.Context, name DbaasServiceName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDbaasServiceRedisResponse, error)

	CreateDbaasServiceRedisWithResponse(ctx context.Context, name DbaasServiceName, body CreateDbaasServiceRedisJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDbaasServiceRedisResponse, error)

	// UpdateDbaasServiceRedis request with any body
	UpdateDbaasServiceRedisWithBodyWithResponse(ctx context.Context, name DbaasServiceName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateDbaasServiceRedisResponse, error)

	UpdateDbaasServiceRedisWithResponse(ctx context.Context, name DbaasServiceName, body UpdateDbaasServiceRedisJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateDbaasServiceRedisResponse, error)

	// ListDbaasServices request
	ListDbaasServicesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListDbaasServicesResponse, error)

	// ListDbaasServiceTypes request
	ListDbaasServiceTypesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListDbaasServiceTypesResponse, error)

	// GetDbaasServiceType request
	GetDbaasServiceTypeWithResponse(ctx context.Context, serviceTypeName string, reqEditors ...RequestEditorFn) (*GetDbaasServiceTypeResponse, error)

	// DeleteDbaasService request
	DeleteDbaasServiceWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*DeleteDbaasServiceResponse, error)

	// GetDbaasSettingsKafka request
	GetDbaasSettingsKafkaWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetDbaasSettingsKafkaResponse, error)

	// GetDbaasSettingsMysql request
	GetDbaasSettingsMysqlWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetDbaasSettingsMysqlResponse, error)

	// GetDbaasSettingsPg request
	GetDbaasSettingsPgWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetDbaasSettingsPgResponse, error)

	// GetDbaasSettingsRedis request
	GetDbaasSettingsRedisWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetDbaasSettingsRedisResponse, error)

	// ListDeployTargets request
	ListDeployTargetsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListDeployTargetsResponse, error)

	// GetDeployTarget request
	GetDeployTargetWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetDeployTargetResponse, error)

	// ListDnsDomains request
	ListDnsDomainsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListDnsDomainsResponse, error)

	// GetDnsDomain request
	GetDnsDomainWithResponse(ctx context.Context, id int64, reqEditors ...RequestEditorFn) (*GetDnsDomainResponse, error)

	// ListDnsDomainRecords request
	ListDnsDomainRecordsWithResponse(ctx context.Context, id int64, reqEditors ...RequestEditorFn) (*ListDnsDomainRecordsResponse, error)

	// GetDnsDomainRecord request
	GetDnsDomainRecordWithResponse(ctx context.Context, id int64, recordId int64, reqEditors ...RequestEditorFn) (*GetDnsDomainRecordResponse, error)

	// ListElasticIps request
	ListElasticIpsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListElasticIpsResponse, error)

	// CreateElasticIp request with any body
	CreateElasticIpWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateElasticIpResponse, error)

	CreateElasticIpWithResponse(ctx context.Context, body CreateElasticIpJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateElasticIpResponse, error)

	// DeleteElasticIp request
	DeleteElasticIpWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteElasticIpResponse, error)

	// GetElasticIp request
	GetElasticIpWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetElasticIpResponse, error)

	// UpdateElasticIp request with any body
	UpdateElasticIpWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateElasticIpResponse, error)

	UpdateElasticIpWithResponse(ctx context.Context, id string, body UpdateElasticIpJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateElasticIpResponse, error)

	// ResetElasticIpField request
	ResetElasticIpFieldWithResponse(ctx context.Context, id string, field ResetElasticIpFieldParamsField, reqEditors ...RequestEditorFn) (*ResetElasticIpFieldResponse, error)

	// AttachInstanceToElasticIp request with any body
	AttachInstanceToElasticIpWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AttachInstanceToElasticIpResponse, error)

	AttachInstanceToElasticIpWithResponse(ctx context.Context, id string, body AttachInstanceToElasticIpJSONRequestBody, reqEditors ...RequestEditorFn) (*AttachInstanceToElasticIpResponse, error)

	// DetachInstanceFromElasticIp request with any body
	DetachInstanceFromElasticIpWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DetachInstanceFromElasticIpResponse, error)

	DetachInstanceFromElasticIpWithResponse(ctx context.Context, id string, body DetachInstanceFromElasticIpJSONRequestBody, reqEditors ...RequestEditorFn) (*DetachInstanceFromElasticIpResponse, error)

	// ListEvents request
	ListEventsWithResponse(ctx context.Context, params *ListEventsParams, reqEditors ...RequestEditorFn) (*ListEventsResponse, error)

	// ListInstances request
	ListInstancesWithResponse(ctx context.Context, params *ListInstancesParams, reqEditors ...RequestEditorFn) (*ListInstancesResponse, error)

	// CreateInstance request with any body
	CreateInstanceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateInstanceResponse, error)

	CreateInstanceWithResponse(ctx context.Context, body CreateInstanceJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateInstanceResponse, error)

	// ListInstancePools request
	ListInstancePoolsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListInstancePoolsResponse, error)

	// CreateInstancePool request with any body
	CreateInstancePoolWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateInstancePoolResponse, error)

	CreateInstancePoolWithResponse(ctx context.Context, body CreateInstancePoolJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateInstancePoolResponse, error)

	// DeleteInstancePool request
	DeleteInstancePoolWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteInstancePoolResponse, error)

	// GetInstancePool request
	GetInstancePoolWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetInstancePoolResponse, error)

	// UpdateInstancePool request with any body
	UpdateInstancePoolWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateInstancePoolResponse, error)

	UpdateInstancePoolWithResponse(ctx context.Context, id string, body UpdateInstancePoolJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateInstancePoolResponse, error)

	// ResetInstancePoolField request
	ResetInstancePoolFieldWithResponse(ctx context.Context, id string, field ResetInstancePoolFieldParamsField, reqEditors ...RequestEditorFn) (*ResetInstancePoolFieldResponse, error)

	// EvictInstancePoolMembers request with any body
	EvictInstancePoolMembersWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EvictInstancePoolMembersResponse, error)

	EvictInstancePoolMembersWithResponse(ctx context.Context, id string, body EvictInstancePoolMembersJSONRequestBody, reqEditors ...RequestEditorFn) (*EvictInstancePoolMembersResponse, error)

	// ScaleInstancePool request with any body
	ScaleInstancePoolWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ScaleInstancePoolResponse, error)

	ScaleInstancePoolWithResponse(ctx context.Context, id string, body ScaleInstancePoolJSONRequestBody, reqEditors ...RequestEditorFn) (*ScaleInstancePoolResponse, error)

	// ListInstanceTypes request
	ListInstanceTypesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListInstanceTypesResponse, error)

	// GetInstanceType request
	GetInstanceTypeWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetInstanceTypeResponse, error)

	// DeleteInstance request
	DeleteInstanceWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteInstanceResponse, error)

	// GetInstance request
	GetInstanceWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetInstanceResponse, error)

	// UpdateInstance request with any body
	UpdateInstanceWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateInstanceResponse, error)

	UpdateInstanceWithResponse(ctx context.Context, id string, body UpdateInstanceJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateInstanceResponse, error)

	// ResetInstanceField request
	ResetInstanceFieldWithResponse(ctx context.Context, id string, field ResetInstanceFieldParamsField, reqEditors ...RequestEditorFn) (*ResetInstanceFieldResponse, error)

	// CreateSnapshot request
	CreateSnapshotWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*CreateSnapshotResponse, error)

	// RebootInstance request
	RebootInstanceWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*RebootInstanceResponse, error)

	// ResetInstance request with any body
	ResetInstanceWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ResetInstanceResponse, error)

	ResetInstanceWithResponse(ctx context.Context, id string, body ResetInstanceJSONRequestBody, reqEditors ...RequestEditorFn) (*ResetInstanceResponse, error)

	// ResizeInstanceDisk request with any body
	ResizeInstanceDiskWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ResizeInstanceDiskResponse, error)

	ResizeInstanceDiskWithResponse(ctx context.Context, id string, body ResizeInstanceDiskJSONRequestBody, reqEditors ...RequestEditorFn) (*ResizeInstanceDiskResponse, error)

	// ScaleInstance request with any body
	ScaleInstanceWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ScaleInstanceResponse, error)

	ScaleInstanceWithResponse(ctx context.Context, id string, body ScaleInstanceJSONRequestBody, reqEditors ...RequestEditorFn) (*ScaleInstanceResponse, error)

	// StartInstance request with any body
	StartInstanceWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*StartInstanceResponse, error)

	StartInstanceWithResponse(ctx context.Context, id string, body StartInstanceJSONRequestBody, reqEditors ...RequestEditorFn) (*StartInstanceResponse, error)

	// StopInstance request
	StopInstanceWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*StopInstanceResponse, error)

	// RevertInstanceToSnapshot request with any body
	RevertInstanceToSnapshotWithBodyWithResponse(ctx context.Context, instanceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RevertInstanceToSnapshotResponse, error)

	RevertInstanceToSnapshotWithResponse(ctx context.Context, instanceId string, body RevertInstanceToSnapshotJSONRequestBody, reqEditors ...RequestEditorFn) (*RevertInstanceToSnapshotResponse, error)

	// ListLoadBalancers request
	ListLoadBalancersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListLoadBalancersResponse, error)

	// CreateLoadBalancer request with any body
	CreateLoadBalancerWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateLoadBalancerResponse, error)

	CreateLoadBalancerWithResponse(ctx context.Context, body CreateLoadBalancerJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateLoadBalancerResponse, error)

	// DeleteLoadBalancer request
	DeleteLoadBalancerWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteLoadBalancerResponse, error)

	// GetLoadBalancer request
	GetLoadBalancerWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetLoadBalancerResponse, error)

	// UpdateLoadBalancer request with any body
	UpdateLoadBalancerWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateLoadBalancerResponse, error)

	UpdateLoadBalancerWithResponse(ctx context.Context, id string, body UpdateLoadBalancerJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateLoadBalancerResponse, error)

	// AddServiceToLoadBalancer request with any body
	AddServiceToLoadBalancerWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddServiceToLoadBalancerResponse, error)

	AddServiceToLoadBalancerWithResponse(ctx context.Context, id string, body AddServiceToLoadBalancerJSONRequestBody, reqEditors ...RequestEditorFn) (*AddServiceToLoadBalancerResponse, error)

	// DeleteLoadBalancerService request
	DeleteLoadBalancerServiceWithResponse(ctx context.Context, id string, serviceId string, reqEditors ...RequestEditorFn) (*DeleteLoadBalancerServiceResponse, error)

	// GetLoadBalancerService request
	GetLoadBalancerServiceWithResponse(ctx context.Context, id string, serviceId string, reqEditors ...RequestEditorFn) (*GetLoadBalancerServiceResponse, error)

	// UpdateLoadBalancerService request with any body
	UpdateLoadBalancerServiceWithBodyWithResponse(ctx context.Context, id string, serviceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateLoadBalancerServiceResponse, error)

	UpdateLoadBalancerServiceWithResponse(ctx context.Context, id string, serviceId string, body UpdateLoadBalancerServiceJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateLoadBalancerServiceResponse, error)

	// ResetLoadBalancerServiceField request
	ResetLoadBalancerServiceFieldWithResponse(ctx context.Context, id string, serviceId string, field ResetLoadBalancerServiceFieldParamsField, reqEditors ...RequestEditorFn) (*ResetLoadBalancerServiceFieldResponse, error)

	// ResetLoadBalancerField request
	ResetLoadBalancerFieldWithResponse(ctx context.Context, id string, field ResetLoadBalancerFieldParamsField, reqEditors ...RequestEditorFn) (*ResetLoadBalancerFieldResponse, error)

	// GetOperation request
	GetOperationWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetOperationResponse, error)

	// ListPrivateNetworks request
	ListPrivateNetworksWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListPrivateNetworksResponse, error)

	// CreatePrivateNetwork request with any body
	CreatePrivateNetworkWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreatePrivateNetworkResponse, error)

	CreatePrivateNetworkWithResponse(ctx context.Context, body CreatePrivateNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*CreatePrivateNetworkResponse, error)

	// DeletePrivateNetwork request
	DeletePrivateNetworkWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeletePrivateNetworkResponse, error)

	// GetPrivateNetwork request
	GetPrivateNetworkWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetPrivateNetworkResponse, error)

	// UpdatePrivateNetwork request with any body
	UpdatePrivateNetworkWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdatePrivateNetworkResponse, error)

	UpdatePrivateNetworkWithResponse(ctx context.Context, id string, body UpdatePrivateNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdatePrivateNetworkResponse, error)

	// ResetPrivateNetworkField request
	ResetPrivateNetworkFieldWithResponse(ctx context.Context, id string, field ResetPrivateNetworkFieldParamsField, reqEditors ...RequestEditorFn) (*ResetPrivateNetworkFieldResponse, error)

	// AttachInstanceToPrivateNetwork request with any body
	AttachInstanceToPrivateNetworkWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AttachInstanceToPrivateNetworkResponse, error)

	AttachInstanceToPrivateNetworkWithResponse(ctx context.Context, id string, body AttachInstanceToPrivateNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*AttachInstanceToPrivateNetworkResponse, error)

	// DetachInstanceFromPrivateNetwork request with any body
	DetachInstanceFromPrivateNetworkWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DetachInstanceFromPrivateNetworkResponse, error)

	DetachInstanceFromPrivateNetworkWithResponse(ctx context.Context, id string, body DetachInstanceFromPrivateNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*DetachInstanceFromPrivateNetworkResponse, error)

	// UpdatePrivateNetworkInstanceIp request with any body
	UpdatePrivateNetworkInstanceIpWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdatePrivateNetworkInstanceIpResponse, error)

	UpdatePrivateNetworkInstanceIpWithResponse(ctx context.Context, id string, body UpdatePrivateNetworkInstanceIpJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdatePrivateNetworkInstanceIpResponse, error)

	// ListQuotas request
	ListQuotasWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListQuotasResponse, error)

	// GetQuota request
	GetQuotaWithResponse(ctx context.Context, entity string, reqEditors ...RequestEditorFn) (*GetQuotaResponse, error)

	// ListSecurityGroups request
	ListSecurityGroupsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListSecurityGroupsResponse, error)

	// CreateSecurityGroup request with any body
	CreateSecurityGroupWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSecurityGroupResponse, error)

	CreateSecurityGroupWithResponse(ctx context.Context, body CreateSecurityGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSecurityGroupResponse, error)

	// DeleteSecurityGroup request
	DeleteSecurityGroupWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteSecurityGroupResponse, error)

	// GetSecurityGroup request
	GetSecurityGroupWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetSecurityGroupResponse, error)

	// AddRuleToSecurityGroup request with any body
	AddRuleToSecurityGroupWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddRuleToSecurityGroupResponse, error)

	AddRuleToSecurityGroupWithResponse(ctx context.Context, id string, body AddRuleToSecurityGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*AddRuleToSecurityGroupResponse, error)

	// DeleteRuleFromSecurityGroup request
	DeleteRuleFromSecurityGroupWithResponse(ctx context.Context, id string, ruleId string, reqEditors ...RequestEditorFn) (*DeleteRuleFromSecurityGroupResponse, error)

	// AddExternalSourceToSecurityGroup request with any body
	AddExternalSourceToSecurityGroupWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddExternalSourceToSecurityGroupResponse, error)

	AddExternalSourceToSecurityGroupWithResponse(ctx context.Context, id string, body AddExternalSourceToSecurityGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*AddExternalSourceToSecurityGroupResponse, error)

	// AttachInstanceToSecurityGroup request with any body
	AttachInstanceToSecurityGroupWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AttachInstanceToSecurityGroupResponse, error)

	AttachInstanceToSecurityGroupWithResponse(ctx context.Context, id string, body AttachInstanceToSecurityGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*AttachInstanceToSecurityGroupResponse, error)

	// DetachInstanceFromSecurityGroup request with any body
	DetachInstanceFromSecurityGroupWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DetachInstanceFromSecurityGroupResponse, error)

	DetachInstanceFromSecurityGroupWithResponse(ctx context.Context, id string, body DetachInstanceFromSecurityGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*DetachInstanceFromSecurityGroupResponse, error)

	// RemoveExternalSourceFromSecurityGroup request with any body
	RemoveExternalSourceFromSecurityGroupWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RemoveExternalSourceFromSecurityGroupResponse, error)

	RemoveExternalSourceFromSecurityGroupWithResponse(ctx context.Context, id string, body RemoveExternalSourceFromSecurityGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*RemoveExternalSourceFromSecurityGroupResponse, error)

	// ListSksClusters request
	ListSksClustersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListSksClustersResponse, error)

	// CreateSksCluster request with any body
	CreateSksClusterWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSksClusterResponse, error)

	CreateSksClusterWithResponse(ctx context.Context, body CreateSksClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSksClusterResponse, error)

	// GenerateSksClusterKubeconfig request with any body
	GenerateSksClusterKubeconfigWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GenerateSksClusterKubeconfigResponse, error)

	GenerateSksClusterKubeconfigWithResponse(ctx context.Context, id string, body GenerateSksClusterKubeconfigJSONRequestBody, reqEditors ...RequestEditorFn) (*GenerateSksClusterKubeconfigResponse, error)

	// ListSksClusterVersions request
	ListSksClusterVersionsWithResponse(ctx context.Context, params *ListSksClusterVersionsParams, reqEditors ...RequestEditorFn) (*ListSksClusterVersionsResponse, error)

	// DeleteSksCluster request
	DeleteSksClusterWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteSksClusterResponse, error)

	// GetSksCluster request
	GetSksClusterWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetSksClusterResponse, error)

	// UpdateSksCluster request with any body
	UpdateSksClusterWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSksClusterResponse, error)

	UpdateSksClusterWithResponse(ctx context.Context, id string, body UpdateSksClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSksClusterResponse, error)

	// GetSksClusterAuthorityCert request
	GetSksClusterAuthorityCertWithResponse(ctx context.Context, id string, authority GetSksClusterAuthorityCertParamsAuthority, reqEditors ...RequestEditorFn) (*GetSksClusterAuthorityCertResponse, error)

	// CreateSksNodepool request with any body
	CreateSksNodepoolWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSksNodepoolResponse, error)

	CreateSksNodepoolWithResponse(ctx context.Context, id string, body CreateSksNodepoolJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSksNodepoolResponse, error)

	// DeleteSksNodepool request
	DeleteSksNodepoolWithResponse(ctx context.Context, id string, sksNodepoolId string, reqEditors ...RequestEditorFn) (*DeleteSksNodepoolResponse, error)

	// GetSksNodepool request
	GetSksNodepoolWithResponse(ctx context.Context, id string, sksNodepoolId string, reqEditors ...RequestEditorFn) (*GetSksNodepoolResponse, error)

	// UpdateSksNodepool request with any body
	UpdateSksNodepoolWithBodyWithResponse(ctx context.Context, id string, sksNodepoolId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSksNodepoolResponse, error)

	UpdateSksNodepoolWithResponse(ctx context.Context, id string, sksNodepoolId string, body UpdateSksNodepoolJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSksNodepoolResponse, error)

	// ResetSksNodepoolField request
	ResetSksNodepoolFieldWithResponse(ctx context.Context, id string, sksNodepoolId string, field ResetSksNodepoolFieldParamsField, reqEditors ...RequestEditorFn) (*ResetSksNodepoolFieldResponse, error)

	// EvictSksNodepoolMembers request with any body
	EvictSksNodepoolMembersWithBodyWithResponse(ctx context.Context, id string, sksNodepoolId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EvictSksNodepoolMembersResponse, error)

	EvictSksNodepoolMembersWithResponse(ctx context.Context, id string, sksNodepoolId string, body EvictSksNodepoolMembersJSONRequestBody, reqEditors ...RequestEditorFn) (*EvictSksNodepoolMembersResponse, error)

	// ScaleSksNodepool request with any body
	ScaleSksNodepoolWithBodyWithResponse(ctx context.Context, id string, sksNodepoolId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ScaleSksNodepoolResponse, error)

	ScaleSksNodepoolWithResponse(ctx context.Context, id string, sksNodepoolId string, body ScaleSksNodepoolJSONRequestBody, reqEditors ...RequestEditorFn) (*ScaleSksNodepoolResponse, error)

	// RotateSksCcmCredentials request
	RotateSksCcmCredentialsWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*RotateSksCcmCredentialsResponse, error)

	// UpgradeSksCluster request with any body
	UpgradeSksClusterWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpgradeSksClusterResponse, error)

	UpgradeSksClusterWithResponse(ctx context.Context, id string, body UpgradeSksClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*UpgradeSksClusterResponse, error)

	// UpgradeSksClusterServiceLevel request
	UpgradeSksClusterServiceLevelWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*UpgradeSksClusterServiceLevelResponse, error)

	// ResetSksClusterField request
	ResetSksClusterFieldWithResponse(ctx context.Context, id string, field ResetSksClusterFieldParamsField, reqEditors ...RequestEditorFn) (*ResetSksClusterFieldResponse, error)

	// ListSnapshots request
	ListSnapshotsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListSnapshotsResponse, error)

	// DeleteSnapshot request
	DeleteSnapshotWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteSnapshotResponse, error)

	// GetSnapshot request
	GetSnapshotWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetSnapshotResponse, error)

	// ExportSnapshot request
	ExportSnapshotWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ExportSnapshotResponse, error)

	// GetSosPresignedUrl request
	GetSosPresignedUrlWithResponse(ctx context.Context, bucket string, params *GetSosPresignedUrlParams, reqEditors ...RequestEditorFn) (*GetSosPresignedUrlResponse, error)

	// ListSshKeys request
	ListSshKeysWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListSshKeysResponse, error)

	// RegisterSshKey request with any body
	RegisterSshKeyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RegisterSshKeyResponse, error)

	RegisterSshKeyWithResponse(ctx context.Context, body RegisterSshKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*RegisterSshKeyResponse, error)

	// DeleteSshKey request
	DeleteSshKeyWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*DeleteSshKeyResponse, error)

	// GetSshKey request
	GetSshKeyWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetSshKeyResponse, error)

	// ListTemplates request
	ListTemplatesWithResponse(ctx context.Context, params *ListTemplatesParams, reqEditors ...RequestEditorFn) (*ListTemplatesResponse, error)

	// RegisterTemplate request with any body
	RegisterTemplateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RegisterTemplateResponse, error)

	RegisterTemplateWithResponse(ctx context.Context, body RegisterTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*RegisterTemplateResponse, error)

	// DeleteTemplate request
	DeleteTemplateWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteTemplateResponse, error)

	// GetTemplate request
	GetTemplateWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetTemplateResponse, error)

	// CopyTemplate request with any body
	CopyTemplateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CopyTemplateResponse, error)

	CopyTemplateWithResponse(ctx context.Context, id string, body CopyTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*CopyTemplateResponse, error)

	// UpdateTemplate request with any body
	UpdateTemplateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateTemplateResponse, error)

	UpdateTemplateWithResponse(ctx context.Context, id string, body UpdateTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateTemplateResponse, error)

	// ListZones request
	ListZonesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListZonesResponse, error)
}

ClientWithResponsesInterface is the interface specification for the client with responses above.

type CopyTemplateJSONBody

type CopyTemplateJSONBody struct {
	// Zone
	TargetZone Zone `json:"target-zone"`
}

CopyTemplateJSONBody defines parameters for CopyTemplate.

type CopyTemplateJSONRequestBody

type CopyTemplateJSONRequestBody CopyTemplateJSONBody

CopyTemplateJSONRequestBody defines body for CopyTemplate for application/json ContentType.

type CopyTemplateResponse

type CopyTemplateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Operation
}

func ParseCopyTemplateResponse

func ParseCopyTemplateResponse(rsp *http.Response) (*CopyTemplateResponse, error)

ParseCopyTemplateResponse parses an HTTP response from a CopyTemplateWithResponse call

func (CopyTemplateResponse) Status

func (r CopyTemplateResponse) Status() string

Status returns HTTPResponse.Status

func (CopyTemplateResponse) StatusCode

func (r CopyTemplateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateAntiAffinityGroupJSONBody

type CreateAntiAffinityGroupJSONBody struct {
	// Anti-affinity Group description
	Description *string `json:"description,omitempty"`

	// Anti-affinity Group name
	Name string `json:"name"`
}

CreateAntiAffinityGroupJSONBody defines parameters for CreateAntiAffinityGroup.

type CreateAntiAffinityGroupJSONRequestBody

type CreateAntiAffinityGroupJSONRequestBody CreateAntiAffinityGroupJSONBody

CreateAntiAffinityGroupJSONRequestBody defines body for CreateAntiAffinityGroup for application/json ContentType.

type CreateAntiAffinityGroupResponse

type CreateAntiAffinityGroupResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Operation
}

func ParseCreateAntiAffinityGroupResponse

func ParseCreateAntiAffinityGroupResponse(rsp *http.Response) (*CreateAntiAffinityGroupResponse, error)

ParseCreateAntiAffinityGroupResponse parses an HTTP response from a CreateAntiAffinityGroupWithResponse call

func (CreateAntiAffinityGroupResponse) Status

Status returns HTTPResponse.Status

func (CreateAntiAffinityGroupResponse) StatusCode

func (r CreateAntiAffinityGroupResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateDbaasServiceKafkaJSONBody added in v0.78.0

type CreateDbaasServiceKafkaJSONBody struct {
	// Kafka authentication methods
	AuthenticationMethods *struct {
		// Enable certificate/SSL authentication
		Certificate *bool `json:"certificate,omitempty"`

		// Enable SASL authentication
		Sasl *bool `json:"sasl,omitempty"`
	} `json:"authentication-methods,omitempty"`

	// Allow incoming connections from CIDR address block, e.g. '10.20.0.0/16'
	IpFilter *[]string `json:"ip-filter,omitempty"`

	// Allow clients to connect to kafka_connect from the public internet for service nodes that are in a project VPC or another type of private network
	KafkaConnectEnabled *bool `json:"kafka-connect-enabled,omitempty"`

	// Kafka Connect configuration values
	KafkaConnectSettings *map[string]interface{} `json:"kafka-connect-settings,omitempty"`

	// Enable Kafka-REST service
	KafkaRestEnabled *bool `json:"kafka-rest-enabled,omitempty"`

	// Kafka REST configuration
	KafkaRestSettings *map[string]interface{} `json:"kafka-rest-settings,omitempty"`

	// Kafka-specific settings
	KafkaSettings *map[string]interface{} `json:"kafka-settings,omitempty"`

	// Automatic maintenance settings
	Maintenance *struct {
		// Day of week for installing updates
		Dow CreateDbaasServiceKafkaJSONBodyMaintenanceDow `json:"dow"`

		// Time for installing updates, UTC
		Time string `json:"time"`
	} `json:"maintenance,omitempty"`

	// Subscription plan
	Plan string `json:"plan"`

	// Power-on the service (true) or power-off (false)
	Powered *bool `json:"powered,omitempty"`

	// Enable Schema-Registry service
	SchemaRegistryEnabled *bool `json:"schema-registry-enabled,omitempty"`

	// Schema Registry configuration
	SchemaRegistrySettings *map[string]interface{} `json:"schema-registry-settings,omitempty"`

	// Service is protected against termination and powering off
	TerminationProtection *bool `json:"termination-protection,omitempty"`

	// Kafka major version
	Version *string `json:"version,omitempty"`
}

CreateDbaasServiceKafkaJSONBody defines parameters for CreateDbaasServiceKafka.

type CreateDbaasServiceKafkaJSONBodyMaintenanceDow added in v0.78.0

type CreateDbaasServiceKafkaJSONBodyMaintenanceDow string

CreateDbaasServiceKafkaJSONBodyMaintenanceDow defines parameters for CreateDbaasServiceKafka.

type CreateDbaasServiceKafkaJSONRequestBody added in v0.78.0

type CreateDbaasServiceKafkaJSONRequestBody CreateDbaasServiceKafkaJSONBody

CreateDbaasServiceKafkaJSONRequestBody defines body for CreateDbaasServiceKafka for application/json ContentType.

type CreateDbaasServiceKafkaResponse added in v0.78.0

type CreateDbaasServiceKafkaResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DbaasServiceKafka
}

func ParseCreateDbaasServiceKafkaResponse added in v0.78.0

func ParseCreateDbaasServiceKafkaResponse(rsp *http.Response) (*CreateDbaasServiceKafkaResponse, error)

ParseCreateDbaasServiceKafkaResponse parses an HTTP response from a CreateDbaasServiceKafkaWithResponse call

func (CreateDbaasServiceKafkaResponse) Status added in v0.78.0

Status returns HTTPResponse.Status

func (CreateDbaasServiceKafkaResponse) StatusCode added in v0.78.0

func (r CreateDbaasServiceKafkaResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateDbaasServiceMysqlJSONBody added in v0.78.0

type CreateDbaasServiceMysqlJSONBody struct {
	// Custom password for admin user. Defaults to random string. This must be set only when a new service is being created.
	AdminPassword *string `json:"admin-password,omitempty"`

	// Custom username for admin user. This must be set only when a new service is being created.
	AdminUsername  *string `json:"admin-username,omitempty"`
	BackupSchedule *struct {
		// The hour of day (in UTC) when backup for the service is started. New backup is only started if previous backup has already completed.
		BackupHour *int64 `json:"backup-hour,omitempty"`

		// The minute of an hour when backup for the service is started. New backup is only started if previous backup has already completed.
		BackupMinute *int64 `json:"backup-minute,omitempty"`
	} `json:"backup-schedule,omitempty"`

	// The minimum amount of time in seconds to keep binlog entries before deletion. This may be extended for services that require binlog entries for longer than the default for example if using the MySQL Debezium Kafka connector.
	BinlogRetentionPeriod *int64            `json:"binlog-retention-period,omitempty"`
	ForkFromService       *DbaasServiceName `json:"fork-from-service,omitempty"`

	// Allow incoming connections from CIDR address block, e.g. '10.20.0.0/16'
	IpFilter *[]string `json:"ip-filter,omitempty"`

	// Automatic maintenance settings
	Maintenance *struct {
		// Day of week for installing updates
		Dow CreateDbaasServiceMysqlJSONBodyMaintenanceDow `json:"dow"`

		// Time for installing updates, UTC
		Time string `json:"time"`
	} `json:"maintenance,omitempty"`

	// Migrate data from existing server
	Migration *map[string]interface{} `json:"migration,omitempty"`

	// MySQL-specific settings
	MysqlSettings *map[string]interface{} `json:"mysql-settings,omitempty"`

	// Subscription plan
	Plan string `json:"plan"`

	// Power-on the service (true) or power-off (false)
	Powered *bool `json:"powered,omitempty"`

	// ISO time of a backup to recover from for services that support arbitrary times
	RecoveryBackupTime *string `json:"recovery-backup-time,omitempty"`

	// Service is protected against termination and powering off
	TerminationProtection *bool `json:"termination-protection,omitempty"`

	// MySQL major version
	Version *string `json:"version,omitempty"`
}

CreateDbaasServiceMysqlJSONBody defines parameters for CreateDbaasServiceMysql.

type CreateDbaasServiceMysqlJSONBodyMaintenanceDow added in v0.78.0

type CreateDbaasServiceMysqlJSONBodyMaintenanceDow string

CreateDbaasServiceMysqlJSONBodyMaintenanceDow defines parameters for CreateDbaasServiceMysql.

type CreateDbaasServiceMysqlJSONRequestBody added in v0.78.0

type CreateDbaasServiceMysqlJSONRequestBody CreateDbaasServiceMysqlJSONBody

CreateDbaasServiceMysqlJSONRequestBody defines body for CreateDbaasServiceMysql for application/json ContentType.

type CreateDbaasServiceMysqlResponse added in v0.78.0

type CreateDbaasServiceMysqlResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DbaasServicePg
}

func ParseCreateDbaasServiceMysqlResponse added in v0.78.0

func ParseCreateDbaasServiceMysqlResponse(rsp *http.Response) (*CreateDbaasServiceMysqlResponse, error)

ParseCreateDbaasServiceMysqlResponse parses an HTTP response from a CreateDbaasServiceMysqlWithResponse call

func (CreateDbaasServiceMysqlResponse) Status added in v0.78.0

Status returns HTTPResponse.Status

func (CreateDbaasServiceMysqlResponse) StatusCode added in v0.78.0

func (r CreateDbaasServiceMysqlResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateDbaasServicePgJSONBody added in v0.78.0

type CreateDbaasServicePgJSONBody struct {
	// Custom password for admin user. Defaults to random string. This must be set only when a new service is being created.
	AdminPassword *string `json:"admin-password,omitempty"`

	// Custom username for admin user. This must be set only when a new service is being created.
	AdminUsername  *string `json:"admin-username,omitempty"`
	BackupSchedule *struct {
		// The hour of day (in UTC) when backup for the service is started. New backup is only started if previous backup has already completed.
		BackupHour *int64 `json:"backup-hour,omitempty"`

		// The minute of an hour when backup for the service is started. New backup is only started if previous backup has already completed.
		BackupMinute *int64 `json:"backup-minute,omitempty"`
	} `json:"backup-schedule,omitempty"`
	ForkFromService *DbaasServiceName `json:"fork-from-service,omitempty"`

	// Allow incoming connections from CIDR address block, e.g. '10.20.0.0/16'
	IpFilter *[]string `json:"ip-filter,omitempty"`

	// Automatic maintenance settings
	Maintenance *struct {
		// Day of week for installing updates
		Dow CreateDbaasServicePgJSONBodyMaintenanceDow `json:"dow"`

		// Time for installing updates, UTC
		Time string `json:"time"`
	} `json:"maintenance,omitempty"`

	// Migrate data from existing server
	Migration *map[string]interface{} `json:"migration,omitempty"`

	// PostgreSQL-specific settings
	PgSettings *map[string]interface{} `json:"pg-settings,omitempty"`

	// PGBouncer connection pooling settings
	PgbouncerSettings *map[string]interface{} `json:"pgbouncer-settings,omitempty"`

	// PGLookout settings
	PglookoutSettings *map[string]interface{} `json:"pglookout-settings,omitempty"`

	// Subscription plan
	Plan string `json:"plan"`

	// Power-on the service (true) or power-off (false)
	Powered *bool `json:"powered,omitempty"`

	// ISO time of a backup to recover from for services that support arbitrary times
	RecoveryBackupTime *string `json:"recovery-backup-time,omitempty"`

	// Percentage of total RAM that the database server uses for shared memory buffers. Valid range is 20-60 (float), which corresponds to 20% - 60%. This setting adjusts the shared_buffers configuration value.
	SharedBuffersPercentage *int64                        `json:"shared-buffers-percentage,omitempty"`
	SynchronousReplication  *EnumPgSynchronousReplication `json:"synchronous-replication,omitempty"`

	// Service is protected against termination and powering off
	TerminationProtection *bool `json:"termination-protection,omitempty"`

	// TimescaleDB extension configuration values
	TimescaledbSettings *map[string]interface{} `json:"timescaledb-settings,omitempty"`
	Variant             *EnumPgVariant          `json:"variant,omitempty"`

	// PostgreSQL major version
	Version *string `json:"version,omitempty"`

	// Sets the maximum amount of memory to be used by a query operation (such as a sort or hash table) before writing to temporary disk files, in MB. Default is 1MB + 0.075% of total RAM (up to 32MB).
	WorkMem *int64 `json:"work-mem,omitempty"`
}

CreateDbaasServicePgJSONBody defines parameters for CreateDbaasServicePg.

type CreateDbaasServicePgJSONBodyMaintenanceDow added in v0.78.0

type CreateDbaasServicePgJSONBodyMaintenanceDow string

CreateDbaasServicePgJSONBodyMaintenanceDow defines parameters for CreateDbaasServicePg.

type CreateDbaasServicePgJSONRequestBody added in v0.78.0

type CreateDbaasServicePgJSONRequestBody CreateDbaasServicePgJSONBody

CreateDbaasServicePgJSONRequestBody defines body for CreateDbaasServicePg for application/json ContentType.

type CreateDbaasServicePgResponse added in v0.78.0

type CreateDbaasServicePgResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DbaasServicePg
}

func ParseCreateDbaasServicePgResponse added in v0.78.0

func ParseCreateDbaasServicePgResponse(rsp *http.Response) (*CreateDbaasServicePgResponse, error)

ParseCreateDbaasServicePgResponse parses an HTTP response from a CreateDbaasServicePgWithResponse call

func (CreateDbaasServicePgResponse) Status added in v0.78.0

Status returns HTTPResponse.Status

func (CreateDbaasServicePgResponse) StatusCode added in v0.78.0

func (r CreateDbaasServicePgResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateDbaasServiceRedisJSONBody added in v0.78.0

type CreateDbaasServiceRedisJSONBody struct {
	ForkFromService *DbaasServiceName `json:"fork-from-service,omitempty"`

	// Allow incoming connections from CIDR address block, e.g. '10.20.0.0/16'
	IpFilter *[]string `json:"ip-filter,omitempty"`

	// Automatic maintenance settings
	Maintenance *struct {
		// Day of week for installing updates
		Dow CreateDbaasServiceRedisJSONBodyMaintenanceDow `json:"dow"`

		// Time for installing updates, UTC
		Time string `json:"time"`
	} `json:"maintenance,omitempty"`

	// Migrate data from existing server
	Migration *map[string]interface{} `json:"migration,omitempty"`

	// Subscription plan
	Plan string `json:"plan"`

	// Power-on the service (true) or power-off (false)
	Powered *bool `json:"powered,omitempty"`

	// Name of a backup to recover from for services that support backup names
	RecoveryBackupName *string `json:"recovery-backup-name,omitempty"`

	// Redis.conf settings
	RedisSettings *map[string]interface{} `json:"redis-settings,omitempty"`

	// Service is protected against termination and powering off
	TerminationProtection *bool `json:"termination-protection,omitempty"`
}

CreateDbaasServiceRedisJSONBody defines parameters for CreateDbaasServiceRedis.

type CreateDbaasServiceRedisJSONBodyMaintenanceDow added in v0.78.0

type CreateDbaasServiceRedisJSONBodyMaintenanceDow string

CreateDbaasServiceRedisJSONBodyMaintenanceDow defines parameters for CreateDbaasServiceRedis.

type CreateDbaasServiceRedisJSONRequestBody added in v0.78.0

type CreateDbaasServiceRedisJSONRequestBody CreateDbaasServiceRedisJSONBody

CreateDbaasServiceRedisJSONRequestBody defines body for CreateDbaasServiceRedis for application/json ContentType.

type CreateDbaasServiceRedisResponse added in v0.78.0

type CreateDbaasServiceRedisResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DbaasServiceRedis
}

func ParseCreateDbaasServiceRedisResponse added in v0.78.0

func ParseCreateDbaasServiceRedisResponse(rsp *http.Response) (*CreateDbaasServiceRedisResponse, error)

ParseCreateDbaasServiceRedisResponse parses an HTTP response from a CreateDbaasServiceRedisWithResponse call

func (CreateDbaasServiceRedisResponse) Status added in v0.78.0

Status returns HTTPResponse.Status

func (CreateDbaasServiceRedisResponse) StatusCode added in v0.78.0

func (r CreateDbaasServiceRedisResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateElasticIpJSONBody

type CreateElasticIpJSONBody struct {
	// Elastic IP description
	Description *string `json:"description,omitempty"`

	// Elastic IP address healthcheck
	Healthcheck *ElasticIpHealthcheck `json:"healthcheck,omitempty"`
}

CreateElasticIpJSONBody defines parameters for CreateElasticIp.

type CreateElasticIpJSONRequestBody

type CreateElasticIpJSONRequestBody CreateElasticIpJSONBody

CreateElasticIpJSONRequestBody defines body for CreateElasticIp for application/json ContentType.

type CreateElasticIpResponse

type CreateElasticIpResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Operation
}

func ParseCreateElasticIpResponse

func ParseCreateElasticIpResponse(rsp *http.Response) (*CreateElasticIpResponse, error)

ParseCreateElasticIpResponse parses an HTTP response from a CreateElasticIpWithResponse call

func (CreateElasticIpResponse) Status

func (r CreateElasticIpResponse) Status() string

Status returns HTTPResponse.Status

func (CreateElasticIpResponse) StatusCode

func (r CreateElasticIpResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateInstanceJSONBody

type CreateInstanceJSONBody struct {
	// Instance Anti-affinity Groups
	AntiAffinityGroups *[]AntiAffinityGroup `json:"anti-affinity-groups,omitempty"`

	// Deploy target
	DeployTarget *DeployTarget `json:"deploy-target,omitempty"`

	// Instance disk size in GB
	DiskSize int64 `json:"disk-size"`

	// Compute instance type
	InstanceType InstanceType `json:"instance-type"`

	// Enable IPv6
	Ipv6Enabled *bool   `json:"ipv6-enabled,omitempty"`
	Labels      *Labels `json:"labels,omitempty"`

	// Instance name
	Name *string `json:"name,omitempty"`

	// Instance Security Groups
	SecurityGroups *[]SecurityGroup `json:"security-groups,omitempty"`

	// SSH key
	SshKey *SshKey `json:"ssh-key,omitempty"`

	// Instance template
	Template Template `json:"template"`

	// Instance Cloud-init user-data
	UserData *string `json:"user-data,omitempty"`
}

CreateInstanceJSONBody defines parameters for CreateInstance.

type CreateInstanceJSONRequestBody

type CreateInstanceJSONRequestBody CreateInstanceJSONBody

CreateInstanceJSONRequestBody defines body for CreateInstance for application/json ContentType.

type CreateInstancePoolJSONBody

type CreateInstancePoolJSONBody struct {
	// Instance Pool Anti-affinity Groups
	AntiAffinityGroups *[]AntiAffinityGroup `json:"anti-affinity-groups,omitempty"`

	// Deploy target
	DeployTarget *DeployTarget `json:"deploy-target,omitempty"`

	// Instance Pool description
	Description *string `json:"description,omitempty"`

	// Instances disk size in GB
	DiskSize int64 `json:"disk-size"`

	// Instances Elastic IPs
	ElasticIps *[]ElasticIp `json:"elastic-ips,omitempty"`

	// Prefix to apply to instances names (default: pool)
	InstancePrefix *string `json:"instance-prefix,omitempty"`

	// Compute instance type
	InstanceType InstanceType `json:"instance-type"`

	// Enable IPv6 for instances
	Ipv6Enabled *bool   `json:"ipv6-enabled,omitempty"`
	Labels      *Labels `json:"labels,omitempty"`

	// Instance Pool name
	Name string `json:"name"`

	// Instance Pool Private Networks
	PrivateNetworks *[]PrivateNetwork `json:"private-networks,omitempty"`

	// Instance Pool Security Groups
	SecurityGroups *[]SecurityGroup `json:"security-groups,omitempty"`

	// Number of instances
	Size int64 `json:"size"`

	// SSH key
	SshKey *SshKey `json:"ssh-key,omitempty"`

	// Instance template
	Template Template `json:"template"`

	// Instances Cloud-init user-data
	UserData *string `json:"user-data,omitempty"`
}

CreateInstancePoolJSONBody defines parameters for CreateInstancePool.

type CreateInstancePoolJSONRequestBody

type CreateInstancePoolJSONRequestBody CreateInstancePoolJSONBody

CreateInstancePoolJSONRequestBody defines body for CreateInstancePool for application/json ContentType.

type CreateInstancePoolResponse

type CreateInstancePoolResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Operation
}

func ParseCreateInstancePoolResponse

func ParseCreateInstancePoolResponse(rsp *http.Response) (*CreateInstancePoolResponse, error)

ParseCreateInstancePoolResponse parses an HTTP response from a CreateInstancePoolWithResponse call

func (CreateInstancePoolResponse) Status

Status returns HTTPResponse.Status

func (CreateInstancePoolResponse) StatusCode

func (r CreateInstancePoolResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateInstanceResponse

type CreateInstanceResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Operation
}

func ParseCreateInstanceResponse

func ParseCreateInstanceResponse(rsp *http.Response) (*CreateInstanceResponse, error)

ParseCreateInstanceResponse parses an HTTP response from a CreateInstanceWithResponse call

func (CreateInstanceResponse) Status

func (r CreateInstanceResponse) Status() string

Status returns HTTPResponse.Status

func (CreateInstanceResponse) StatusCode

func (r CreateInstanceResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateLoadBalancerJSONBody

type CreateLoadBalancerJSONBody struct {
	// Load Balancer description
	Description *string `json:"description,omitempty"`
	Labels      *Labels `json:"labels,omitempty"`

	// Load Balancer name
	Name string `json:"name"`
}

CreateLoadBalancerJSONBody defines parameters for CreateLoadBalancer.

type CreateLoadBalancerJSONRequestBody

type CreateLoadBalancerJSONRequestBody CreateLoadBalancerJSONBody

CreateLoadBalancerJSONRequestBody defines body for CreateLoadBalancer for application/json ContentType.

type CreateLoadBalancerResponse

type CreateLoadBalancerResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Operation
}

func ParseCreateLoadBalancerResponse

func ParseCreateLoadBalancerResponse(rsp *http.Response) (*CreateLoadBalancerResponse, error)

ParseCreateLoadBalancerResponse parses an HTTP response from a CreateLoadBalancerWithResponse call

func (CreateLoadBalancerResponse) Status

Status returns HTTPResponse.Status

func (CreateLoadBalancerResponse) StatusCode

func (r CreateLoadBalancerResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreatePrivateNetworkJSONBody

type CreatePrivateNetworkJSONBody struct {
	// Private Network description
	Description *string `json:"description,omitempty"`

	// Private Network end IP address
	EndIp  *string `json:"end-ip,omitempty"`
	Labels *Labels `json:"labels,omitempty"`

	// Private Network name
	Name string `json:"name"`

	// Private Network netmask
	Netmask *string `json:"netmask,omitempty"`

	// Private Network start IP address
	StartIp *string `json:"start-ip,omitempty"`
}

CreatePrivateNetworkJSONBody defines parameters for CreatePrivateNetwork.

type CreatePrivateNetworkJSONRequestBody

type CreatePrivateNetworkJSONRequestBody CreatePrivateNetworkJSONBody

CreatePrivateNetworkJSONRequestBody defines body for CreatePrivateNetwork for application/json ContentType.

type CreatePrivateNetworkResponse

type CreatePrivateNetworkResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Operation
}

func ParseCreatePrivateNetworkResponse

func ParseCreatePrivateNetworkResponse(rsp *http.Response) (*CreatePrivateNetworkResponse, error)

ParseCreatePrivateNetworkResponse parses an HTTP response from a CreatePrivateNetworkWithResponse call

func (CreatePrivateNetworkResponse) Status

Status returns HTTPResponse.Status

func (CreatePrivateNetworkResponse) StatusCode

func (r CreatePrivateNetworkResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateSecurityGroupJSONBody

type CreateSecurityGroupJSONBody struct {
	// Security Group description
	Description *string `json:"description,omitempty"`

	// Security Group name
	Name string `json:"name"`
}

CreateSecurityGroupJSONBody defines parameters for CreateSecurityGroup.

type CreateSecurityGroupJSONRequestBody

type CreateSecurityGroupJSONRequestBody CreateSecurityGroupJSONBody

CreateSecurityGroupJSONRequestBody defines body for CreateSecurityGroup for application/json ContentType.

type CreateSecurityGroupResponse

type CreateSecurityGroupResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Operation
}

func ParseCreateSecurityGroupResponse

func ParseCreateSecurityGroupResponse(rsp *http.Response) (*CreateSecurityGroupResponse, error)

ParseCreateSecurityGroupResponse parses an HTTP response from a CreateSecurityGroupWithResponse call

func (CreateSecurityGroupResponse) Status

Status returns HTTPResponse.Status

func (CreateSecurityGroupResponse) StatusCode

func (r CreateSecurityGroupResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateSksClusterJSONBody

type CreateSksClusterJSONBody struct {
	// Cluster addons
	Addons *[]CreateSksClusterJSONBodyAddons `json:"addons,omitempty"`

	// Enable auto upgrade of the control plane to the latest patch version available
	AutoUpgrade *bool `json:"auto-upgrade,omitempty"`

	// Cluster CNI
	Cni *CreateSksClusterJSONBodyCni `json:"cni,omitempty"`

	// Cluster description
	Description *string `json:"description,omitempty"`
	Labels      *Labels `json:"labels,omitempty"`

	// Cluster service level
	Level CreateSksClusterJSONBodyLevel `json:"level"`

	// Cluster name
	Name string `json:"name"`

	// SKS Cluster OpenID config map
	Oidc *SksOidc `json:"oidc,omitempty"`

	// Control plane Kubernetes version
	Version string `json:"version"`
}

CreateSksClusterJSONBody defines parameters for CreateSksCluster.

type CreateSksClusterJSONBodyAddons

type CreateSksClusterJSONBodyAddons string

CreateSksClusterJSONBodyAddons defines parameters for CreateSksCluster.

type CreateSksClusterJSONBodyCni

type CreateSksClusterJSONBodyCni string

CreateSksClusterJSONBodyCni defines parameters for CreateSksCluster.

type CreateSksClusterJSONBodyLevel

type CreateSksClusterJSONBodyLevel string

CreateSksClusterJSONBodyLevel defines parameters for CreateSksCluster.

type CreateSksClusterJSONRequestBody

type CreateSksClusterJSONRequestBody CreateSksClusterJSONBody

CreateSksClusterJSONRequestBody defines body for CreateSksCluster for application/json ContentType.

type CreateSksClusterResponse

type CreateSksClusterResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Operation
}

func ParseCreateSksClusterResponse

func ParseCreateSksClusterResponse(rsp *http.Response) (*CreateSksClusterResponse, error)

ParseCreateSksClusterResponse parses an HTTP response from a CreateSksClusterWithResponse call

func (CreateSksClusterResponse) Status

func (r CreateSksClusterResponse) Status() string

Status returns HTTPResponse.Status

func (CreateSksClusterResponse) StatusCode

func (r CreateSksClusterResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateSksNodepoolJSONBody

type CreateSksNodepoolJSONBody struct {
	// Nodepool addons
	Addons *[]CreateSksNodepoolJSONBodyAddons `json:"addons,omitempty"`

	// Nodepool Anti-affinity Groups
	AntiAffinityGroups *[]AntiAffinityGroup `json:"anti-affinity-groups,omitempty"`

	// Deploy target
	DeployTarget *DeployTarget `json:"deploy-target,omitempty"`

	// Nodepool description
	Description *string `json:"description,omitempty"`

	// Nodepool instances disk size in GB
	DiskSize int64 `json:"disk-size"`

	// Prefix to apply to instances names (default: pool)
	InstancePrefix *string `json:"instance-prefix,omitempty"`

	// Compute instance type
	InstanceType InstanceType `json:"instance-type"`
	Labels       *Labels      `json:"labels,omitempty"`

	// Nodepool name
	Name string `json:"name"`

	// Nodepool Private Networks
	PrivateNetworks *[]PrivateNetwork `json:"private-networks,omitempty"`

	// Nodepool Security Groups
	SecurityGroups *[]SecurityGroup `json:"security-groups,omitempty"`

	// Number of instances
	Size   int64              `json:"size"`
	Taints *SksNodepoolTaints `json:"taints,omitempty"`
}

CreateSksNodepoolJSONBody defines parameters for CreateSksNodepool.

type CreateSksNodepoolJSONBodyAddons

type CreateSksNodepoolJSONBodyAddons string

CreateSksNodepoolJSONBodyAddons defines parameters for CreateSksNodepool.

type CreateSksNodepoolJSONRequestBody

type CreateSksNodepoolJSONRequestBody CreateSksNodepoolJSONBody

CreateSksNodepoolJSONRequestBody defines body for CreateSksNodepool for application/json ContentType.

type CreateSksNodepoolResponse

type CreateSksNodepoolResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Operation
}

func ParseCreateSksNodepoolResponse

func ParseCreateSksNodepoolResponse(rsp *http.Response) (*CreateSksNodepoolResponse, error)

ParseCreateSksNodepoolResponse parses an HTTP response from a CreateSksNodepoolWithResponse call

func (CreateSksNodepoolResponse) Status

func (r CreateSksNodepoolResponse) Status() string

Status returns HTTPResponse.Status

func (CreateSksNodepoolResponse) StatusCode

func (r CreateSksNodepoolResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateSnapshotResponse

type CreateSnapshotResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Operation
}

func ParseCreateSnapshotResponse

func ParseCreateSnapshotResponse(rsp *http.Response) (*CreateSnapshotResponse, error)

ParseCreateSnapshotResponse parses an HTTP response from a CreateSnapshotWithResponse call

func (CreateSnapshotResponse) Status

func (r CreateSnapshotResponse) Status() string

Status returns HTTPResponse.Status

func (CreateSnapshotResponse) StatusCode

func (r CreateSnapshotResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DbaasBackupConfig

type DbaasBackupConfig struct {
	// Interval of taking a frequent backup in service types supporting different backup schedules
	FrequentIntervalMinutes *int64 `json:"frequent-interval-minutes,omitempty"`

	// Maximum age of the oldest frequent backup in service types supporting different backup schedules
	FrequentOldestAgeMinutes *int64 `json:"frequent-oldest-age-minutes,omitempty"`

	// Interval of taking a frequent backup in service types supporting different backup schedules
	InfrequentIntervalMinutes *int64 `json:"infrequent-interval-minutes,omitempty"`

	// Maximum age of the oldest infrequent backup in service types supporting different backup schedules
	InfrequentOldestAgeMinutes *int64 `json:"infrequent-oldest-age-minutes,omitempty"`

	// The interval, in hours, at which backups are generated.
	//                                             For some services, like PostgreSQL, this is the interval
	//                                             at which full snapshots are taken and continuous incremental
	//                                             backup stream is maintained in addition to that.
	Interval *int64 `json:"interval,omitempty"`

	// Maximum number of backups to keep. Zero when no backups are created.
	MaxCount *int64 `json:"max-count,omitempty"`

	// Mechanism how backups can be restored. 'regular'
	//                                             means a backup is restored as is so that the system
	//                                             is restored to the state it was when the backup was generated.
	//                                             'pitr' means point-in-time-recovery, which allows restoring
	//                                             the system to any state since the first available full snapshot.
	RecoveryMode *string `json:"recovery-mode,omitempty"`
}

DBaaS plan backup config

type DbaasNodeState

type DbaasNodeState struct {
	// Name of the service node
	Name string `json:"name"`

	// Extra information regarding the progress for current state
	ProgressUpdates *[]DbaasNodeStateProgressUpdate `json:"progress-updates,omitempty"`

	// Role of this node. Only returned for a subset of service types
	Role *DbaasNodeStateRole `json:"role,omitempty"`

	// Current state of the service node
	State DbaasNodeStateState `json:"state"`
}

Automatic maintenance settings

type DbaasNodeStateProgressUpdate

type DbaasNodeStateProgressUpdate struct {
	// Indicates whether this phase has been completed or not
	Completed bool `json:"completed"`

	// Current progress for this phase. May be missing or null.
	Current *int64 `json:"current,omitempty"`

	// Maximum progress value for this phase. May be missing or null. May change.
	Max *int64 `json:"max,omitempty"`

	// Minimum progress value for this phase. May be missing or null.
	Min *int64 `json:"min,omitempty"`

	// Key identifying this phase
	Phase DbaasNodeStateProgressUpdatePhase `json:"phase"`

	// Unit for current/min/max values. New units may be added.
	//                         If null should be treated as generic unit
	Unit *string `json:"unit,omitempty"`
}

Extra information regarding the progress for current state

type DbaasNodeStateProgressUpdatePhase

type DbaasNodeStateProgressUpdatePhase string

Key identifying this phase

const (
	DbaasNodeStateProgressUpdatePhaseBasebackup DbaasNodeStateProgressUpdatePhase = "basebackup"

	DbaasNodeStateProgressUpdatePhaseFinalize DbaasNodeStateProgressUpdatePhase = "finalize"

	DbaasNodeStateProgressUpdatePhasePrepare DbaasNodeStateProgressUpdatePhase = "prepare"

	DbaasNodeStateProgressUpdatePhaseStream DbaasNodeStateProgressUpdatePhase = "stream"
)

Defines values for DbaasNodeStateProgressUpdatePhase.

type DbaasNodeStateRole

type DbaasNodeStateRole string

Role of this node. Only returned for a subset of service types

const (
	DbaasNodeStateRoleMaster DbaasNodeStateRole = "master"

	DbaasNodeStateRoleReadReplica DbaasNodeStateRole = "read-replica"

	DbaasNodeStateRoleStandby DbaasNodeStateRole = "standby"
)

Defines values for DbaasNodeStateRole.

type DbaasNodeStateState

type DbaasNodeStateState string

Current state of the service node

const (
	DbaasNodeStateStateLeaving DbaasNodeStateState = "leaving"

	DbaasNodeStateStateRunning DbaasNodeStateState = "running"

	DbaasNodeStateStateSettingUpVm DbaasNodeStateState = "setting_up_vm"

	DbaasNodeStateStateSyncingData DbaasNodeStateState = "syncing_data"

	DbaasNodeStateStateUnknown DbaasNodeStateState = "unknown"
)

Defines values for DbaasNodeStateState.

type DbaasPlan

type DbaasPlan struct {
	// Requires authorization or publicly available
	Authorized *bool `json:"authorized,omitempty"`

	// DBaaS plan backup config
	BackupConfig *DbaasBackupConfig `json:"backup-config,omitempty"`

	// DBaaS plan disk space
	DiskSpace *int64 `json:"disk-space,omitempty"`

	// DBaaS plan max memory allocated percentage
	MaxMemoryPercent *int64 `json:"max-memory-percent,omitempty"`

	// DBaaS plan name
	Name *string `json:"name,omitempty"`

	// DBaaS plan node count
	NodeCount *int64 `json:"node-count,omitempty"`

	// DBaaS plan CPU count per node
	NodeCpuCount *int64 `json:"node-cpu-count,omitempty"`

	// DBaaS plan memory count per node
	NodeMemory *int64 `json:"node-memory,omitempty"`
}

DBaaS plan

type DbaasServiceBackup

type DbaasServiceBackup struct {
	// Internal name of this backup
	BackupName string `json:"backup-name"`

	// Backup timestamp (ISO 8601)
	BackupTime time.Time `json:"backup-time"`

	// Backup's original size before compression
	DataSize int64 `json:"data-size"`
}

List of backups for the service

type DbaasServiceCommon added in v0.78.0

type DbaasServiceCommon struct {
	// Service creation timestamp (ISO 8601)
	CreatedAt *time.Time `json:"created-at,omitempty"`

	// TODO UNIT disk space for data storage
	DiskSize *int64           `json:"disk-size,omitempty"`
	Name     DbaasServiceName `json:"name"`

	// Number of service nodes in the active plan
	NodeCount *int64 `json:"node-count,omitempty"`

	// Number of CPUs for each node
	NodeCpuCount *int64 `json:"node-cpu-count,omitempty"`

	// TODO UNIT of memory for each node
	NodeMemory *int64 `json:"node-memory,omitempty"`

	// Service notifications
	Notifications *[]DbaasServiceNotification `json:"notifications,omitempty"`

	// Subscription plan
	Plan  string            `json:"plan"`
	State *EnumServiceState `json:"state,omitempty"`

	// Service is protected against termination and powering off
	TerminationProtection *bool                `json:"termination-protection,omitempty"`
	Type                  DbaasServiceTypeName `json:"type"`

	// Service last update timestamp (ISO 8601)
	UpdatedAt *time.Time `json:"updated-at,omitempty"`
}

DbaasServiceCommon defines model for dbaas-service-common.

type DbaasServiceKafka added in v0.78.0

type DbaasServiceKafka struct {
	// List of Kafka ACL entries
	Acl *[]struct {
		// ID
		Id         *string                 `json:"id,omitempty"`
		Permission EnumKafkaAclPermissions `json:"permission"`

		// Topic name pattern
		Topic string `json:"topic"`

		// Username
		Username string `json:"username"`
	} `json:"acl,omitempty"`

	// Kafka authentication methods
	AuthenticationMethods *struct {
		// Whether certificate/SSL authentication is enabled
		Certificate *bool `json:"certificate,omitempty"`

		// Whether SASL authentication is enabled
		Sasl *bool `json:"sasl,omitempty"`
	} `json:"authentication-methods,omitempty"`

	// List of backups for the service
	Backups *[]DbaasServiceBackup `json:"backups,omitempty"`

	// Service component information objects
	Components *[]struct {
		// Service component name
		Component string `json:"component"`

		// DNS name for connecting to the service component
		Host                      string               `json:"host"`
		KafkaAuthenticationMethod *EnumKafkaAuthMethod `json:"kafka-authentication-method,omitempty"`

		// Port number for connecting to the service component
		Port  int64              `json:"port"`
		Route EnumComponentRoute `json:"route"`
		Usage EnumComponentUsage `json:"usage"`
	} `json:"components,omitempty"`

	// Kafka connection information properties
	ConnectionInfo *struct {
		AccessCert  *string   `json:"access-cert,omitempty"`
		AccessKey   *string   `json:"access-key,omitempty"`
		Nodes       *[]string `json:"nodes,omitempty"`
		RegistryUri *string   `json:"registry-uri,omitempty"`
		RestUri     *string   `json:"rest-uri,omitempty"`
	} `json:"connection-info,omitempty"`

	// Service creation timestamp (ISO 8601)
	CreatedAt *time.Time `json:"created-at,omitempty"`

	// TODO UNIT disk space for data storage
	DiskSize *int64 `json:"disk-size,omitempty"`

	// Allow incoming connections from CIDR address block, e.g. '10.20.0.0/16'
	IpFilter *[]string `json:"ip-filter,omitempty"`

	// Whether Kafka Connect is enabled
	KafkaConnectEnabled *bool `json:"kafka-connect-enabled,omitempty"`

	// Kafka Connect configuration values
	KafkaConnectSettings *map[string]interface{} `json:"kafka-connect-settings,omitempty"`

	// Whether Kafka REST is enabled
	KafkaRestEnabled *bool `json:"kafka-rest-enabled,omitempty"`

	// Kafka REST configuration
	KafkaRestSettings *map[string]interface{} `json:"kafka-rest-settings,omitempty"`

	// Kafka-specific settings
	KafkaSettings *map[string]interface{} `json:"kafka-settings,omitempty"`

	// Automatic maintenance settings
	Maintenance *DbaasServiceMaintenance `json:"maintenance,omitempty"`
	Name        DbaasServiceName         `json:"name"`

	// Number of service nodes in the active plan
	NodeCount *int64 `json:"node-count,omitempty"`

	// Number of CPUs for each node
	NodeCpuCount *int64 `json:"node-cpu-count,omitempty"`

	// TODO UNIT of memory for each node
	NodeMemory *int64 `json:"node-memory,omitempty"`

	// State of individual service nodes
	NodeStates *[]DbaasNodeState `json:"node-states,omitempty"`

	// Service notifications
	Notifications *[]DbaasServiceNotification `json:"notifications,omitempty"`

	// Subscription plan
	Plan string `json:"plan"`

	// Whether Schema-Registry is enabled
	SchemaRegistryEnabled *bool `json:"schema-registry-enabled,omitempty"`

	// Schema Registry configuration
	SchemaRegistrySettings *map[string]interface{} `json:"schema-registry-settings,omitempty"`
	State                  *EnumServiceState       `json:"state,omitempty"`

	// Service is protected against termination and powering off
	TerminationProtection *bool                `json:"termination-protection,omitempty"`
	Type                  DbaasServiceTypeName `json:"type"`

	// Service last update timestamp (ISO 8601)
	UpdatedAt *time.Time `json:"updated-at,omitempty"`

	// URI for connecting to the service (may be absent)
	Uri *string `json:"uri,omitempty"`

	// service_uri parameterized into key-value pairs
	UriParams *map[string]interface{} `json:"uri-params,omitempty"`

	// List of service users
	Users *[]struct {
		AccessCert       *string    `json:"access-cert,omitempty"`
		AccessCertExpiry *time.Time `json:"access-cert-expiry,omitempty"`
		AccessKey        *string    `json:"access-key,omitempty"`
		Password         *string    `json:"password,omitempty"`
		Type             *string    `json:"type,omitempty"`
		Username         *string    `json:"username,omitempty"`
	} `json:"users,omitempty"`

	// Kafka version
	Version *string `json:"version,omitempty"`
}

DbaasServiceKafka defines model for dbaas-service-kafka.

type DbaasServiceMaintenance

type DbaasServiceMaintenance struct {
	// Day of week for installing updates
	Dow DbaasServiceMaintenanceDow `json:"dow"`

	// Time for installing updates, UTC
	Time string `json:"time"`

	// List of updates waiting to be installed
	Updates []DbaasServiceUpdate `json:"updates"`
}

Automatic maintenance settings

type DbaasServiceMaintenanceDow

type DbaasServiceMaintenanceDow string

Day of week for installing updates

const (
	DbaasServiceMaintenanceDowFriday DbaasServiceMaintenanceDow = "friday"

	DbaasServiceMaintenanceDowMonday DbaasServiceMaintenanceDow = "monday"

	DbaasServiceMaintenanceDowNever DbaasServiceMaintenanceDow = "never"

	DbaasServiceMaintenanceDowSaturday DbaasServiceMaintenanceDow = "saturday"

	DbaasServiceMaintenanceDowSunday DbaasServiceMaintenanceDow = "sunday"

	DbaasServiceMaintenanceDowThursday DbaasServiceMaintenanceDow = "thursday"

	DbaasServiceMaintenanceDowTuesday DbaasServiceMaintenanceDow = "tuesday"

	DbaasServiceMaintenanceDowWednesday DbaasServiceMaintenanceDow = "wednesday"
)

Defines values for DbaasServiceMaintenanceDow.

type DbaasServiceMysql added in v0.78.0

type DbaasServiceMysql struct {
	// Backup schedule
	BackupSchedule *struct {
		// The hour of day (in UTC) when backup for the service is started. New backup is only started if previous backup has already completed.
		BackupHour *int64 `json:"backup-hour,omitempty"`

		// The minute of an hour when backup for the service is started. New backup is only started if previous backup has already completed.
		BackupMinute *int64 `json:"backup-minute,omitempty"`
	} `json:"backup-schedule,omitempty"`

	// List of backups for the service
	Backups *[]DbaasServiceBackup `json:"backups,omitempty"`

	// Service component information objects
	Components *[]struct {
		// Service component name
		Component string `json:"component"`

		// DNS name for connecting to the service component
		Host string `json:"host"`

		// Port number for connecting to the service component
		Port  int64              `json:"port"`
		Route EnumComponentRoute `json:"route"`
		Usage EnumComponentUsage `json:"usage"`
	} `json:"components,omitempty"`

	// MySQL connection information properties
	ConnectionInfo *struct {
		Params *[]struct {
			AdditionalProperties map[string]string `json:"-"`
		} `json:"params,omitempty"`
		Standby *[]string `json:"standby,omitempty"`
		Uri     *[]string `json:"uri,omitempty"`
	} `json:"connection-info,omitempty"`

	// Service creation timestamp (ISO 8601)
	CreatedAt *time.Time `json:"created-at,omitempty"`

	// TODO UNIT disk space for data storage
	DiskSize *int64 `json:"disk-size,omitempty"`

	// Allowed CIDR address blocks for incoming connections
	IpFilter *[]string `json:"ip-filter,omitempty"`

	// Automatic maintenance settings
	Maintenance *DbaasServiceMaintenance `json:"maintenance,omitempty"`

	// MySQL-specific settings
	MysqlSettings *map[string]interface{} `json:"mysql-settings,omitempty"`
	Name          DbaasServiceName        `json:"name"`

	// Number of service nodes in the active plan
	NodeCount *int64 `json:"node-count,omitempty"`

	// Number of CPUs for each node
	NodeCpuCount *int64 `json:"node-cpu-count,omitempty"`

	// TODO UNIT of memory for each node
	NodeMemory *int64 `json:"node-memory,omitempty"`

	// State of individual service nodes
	NodeStates *[]DbaasNodeState `json:"node-states,omitempty"`

	// Service notifications
	Notifications *[]DbaasServiceNotification `json:"notifications,omitempty"`

	// Subscription plan
	Plan  string            `json:"plan"`
	State *EnumServiceState `json:"state,omitempty"`

	// Service is protected against termination and powering off
	TerminationProtection *bool                `json:"termination-protection,omitempty"`
	Type                  DbaasServiceTypeName `json:"type"`

	// Service last update timestamp (ISO 8601)
	UpdatedAt *time.Time `json:"updated-at,omitempty"`

	// URI for connecting to the service (may be absent)
	Uri *string `json:"uri,omitempty"`

	// service_uri parameterized into key-value pairs
	UriParams *map[string]interface{} `json:"uri-params,omitempty"`

	// List of service users
	Users *[]struct {
		Authentication *string `json:"authentication,omitempty"`
		Password       *string `json:"password,omitempty"`
		Type           *string `json:"type,omitempty"`
		Username       *string `json:"username,omitempty"`
	} `json:"users,omitempty"`

	// MySQL version
	Version *string `json:"version,omitempty"`
}

DbaasServiceMysql defines model for dbaas-service-mysql.

type DbaasServiceName

type DbaasServiceName string

DbaasServiceName defines model for dbaas-service-name.

type DbaasServiceNotification

type DbaasServiceNotification struct {
	// Notification level
	Level DbaasServiceNotificationLevel `json:"level"`

	// Human notification message
	Message string `json:"message"`

	// Notification type
	Metadata map[string]interface{} `json:"metadata"`

	// Notification type
	Type DbaasServiceNotificationType `json:"type"`
}

Service notifications

type DbaasServiceNotificationLevel

type DbaasServiceNotificationLevel string

Notification level

const (
	DbaasServiceNotificationLevelNotice DbaasServiceNotificationLevel = "notice"

	DbaasServiceNotificationLevelWarning DbaasServiceNotificationLevel = "warning"
)

Defines values for DbaasServiceNotificationLevel.

type DbaasServiceNotificationType

type DbaasServiceNotificationType string

Notification type

const (
	DbaasServiceNotificationTypeServiceEndOfLife DbaasServiceNotificationType = "service_end_of_life"

	DbaasServiceNotificationTypeServicePoweredOffRemoval DbaasServiceNotificationType = "service_powered_off_removal"
)

Defines values for DbaasServiceNotificationType.

type DbaasServicePg added in v0.78.0

type DbaasServicePg struct {
	// Backup schedule
	BackupSchedule *struct {
		// The hour of day (in UTC) when backup for the service is started. New backup is only started if previous backup has already completed.
		BackupHour *int64 `json:"backup-hour,omitempty"`

		// The minute of an hour when backup for the service is started. New backup is only started if previous backup has already completed.
		BackupMinute *int64 `json:"backup-minute,omitempty"`
	} `json:"backup-schedule,omitempty"`

	// List of backups for the service
	Backups *[]DbaasServiceBackup `json:"backups,omitempty"`

	// Service component information objects
	Components *[]struct {
		// Service component name
		Component string `json:"component"`

		// DNS name for connecting to the service component
		Host string `json:"host"`

		// Port number for connecting to the service component
		Port  int64              `json:"port"`
		Route EnumComponentRoute `json:"route"`
		Usage EnumComponentUsage `json:"usage"`
	} `json:"components,omitempty"`

	// PG connection information properties
	ConnectionInfo *struct {
		Params  *[]map[string]interface{} `json:"params,omitempty"`
		Standby *[]map[string]interface{} `json:"standby,omitempty"`
		Syncing *[]map[string]interface{} `json:"syncing,omitempty"`
		Uri     *[]string                 `json:"uri,omitempty"`
	} `json:"connection-info,omitempty"`

	// PostgreSQL PGBouncer connection pools
	ConnectionPools *[]struct {
		// Connection URI for the DB pool
		ConnectionUri string `json:"connection-uri"`

		// Service database name
		Database string         `json:"database"`
		Mode     EnumPgPoolMode `json:"mode"`

		// Connection pool name
		Name string `json:"name"`

		// Size of PGBouncer's PostgreSQL side connection pool
		Size int64 `json:"size"`

		// Pool username
		Username string `json:"username"`
	} `json:"connection-pools,omitempty"`

	// Service creation timestamp (ISO 8601)
	CreatedAt *time.Time `json:"created-at,omitempty"`

	// TODO UNIT disk space for data storage
	DiskSize *int64 `json:"disk-size,omitempty"`

	// Allowed CIDR address blocks for incoming connections
	IpFilter *[]string `json:"ip-filter,omitempty"`

	// Automatic maintenance settings
	Maintenance *DbaasServiceMaintenance `json:"maintenance,omitempty"`
	Name        DbaasServiceName         `json:"name"`

	// Number of service nodes in the active plan
	NodeCount *int64 `json:"node-count,omitempty"`

	// Number of CPUs for each node
	NodeCpuCount *int64 `json:"node-cpu-count,omitempty"`

	// TODO UNIT of memory for each node
	NodeMemory *int64 `json:"node-memory,omitempty"`

	// State of individual service nodes
	NodeStates *[]DbaasNodeState `json:"node-states,omitempty"`

	// Service notifications
	Notifications *[]DbaasServiceNotification `json:"notifications,omitempty"`

	// PostgreSQL-specific settings
	PgSettings *map[string]interface{} `json:"pg-settings,omitempty"`

	// PGBouncer connection pooling settings
	PgbouncerSettings *map[string]interface{} `json:"pgbouncer-settings,omitempty"`

	// PGLookout settings
	PglookoutSettings *map[string]interface{} `json:"pglookout-settings,omitempty"`

	// Subscription plan
	Plan string `json:"plan"`

	// Percentage of total RAM that the database server uses for shared memory buffers. Valid range is 20-60 (float), which corresponds to 20% - 60%. This setting adjusts the shared_buffers configuration value.
	SharedBuffersPercentage *int64                        `json:"shared-buffers-percentage,omitempty"`
	State                   *EnumServiceState             `json:"state,omitempty"`
	SynchronousReplication  *EnumPgSynchronousReplication `json:"synchronous-replication,omitempty"`

	// Service is protected against termination and powering off
	TerminationProtection *bool `json:"termination-protection,omitempty"`

	// TimescaleDB extension configuration values
	TimescaledbSettings *map[string]interface{} `json:"timescaledb-settings,omitempty"`
	Type                DbaasServiceTypeName    `json:"type"`

	// Service last update timestamp (ISO 8601)
	UpdatedAt *time.Time `json:"updated-at,omitempty"`

	// URI for connecting to the service (may be absent)
	Uri *string `json:"uri,omitempty"`

	// service_uri parameterized into key-value pairs
	UriParams *map[string]interface{} `json:"uri-params,omitempty"`

	// List of service users
	Users *[]struct {
		AccessControl *struct {
			AllowReplication *bool `json:"allow-replication,omitempty"`
		} `json:"access-control,omitempty"`
		Password *string `json:"password,omitempty"`
		Type     *string `json:"type,omitempty"`
		Username *string `json:"username,omitempty"`
	} `json:"users,omitempty"`

	// PostgreSQL version
	Version *string `json:"version,omitempty"`

	// Sets the maximum amount of memory to be used by a query operation (such as a sort or hash table) before writing to temporary disk files, in MB. Default is 1MB + 0.075% of total RAM (up to 32MB).
	WorkMem *int64 `json:"work-mem,omitempty"`
}

DbaasServicePg defines model for dbaas-service-pg.

type DbaasServiceRedis added in v0.78.0

type DbaasServiceRedis struct {
	// List of backups for the service
	Backups *[]DbaasServiceBackup `json:"backups,omitempty"`

	// Service component information objects
	Components *[]struct {
		// Service component name
		Component string `json:"component"`

		// DNS name for connecting to the service component
		Host string `json:"host"`

		// Port number for connecting to the service component
		Port  int64              `json:"port"`
		Route EnumComponentRoute `json:"route"`

		// Whether the endpoint is encrypted or accepts plaintext.
		//              By default endpoints are always encrypted and
		//              this property is only included for service components that may disable encryption.
		Ssl   *bool              `json:"ssl,omitempty"`
		Usage EnumComponentUsage `json:"usage"`
	} `json:"components,omitempty"`

	// Redis connection information properties
	ConnectionInfo *struct {
		Password *string                   `json:"password,omitempty"`
		Slave    *[]map[string]interface{} `json:"slave,omitempty"`
		Uri      *[]string                 `json:"uri,omitempty"`
	} `json:"connection-info,omitempty"`

	// Service creation timestamp (ISO 8601)
	CreatedAt *time.Time `json:"created-at,omitempty"`

	// TODO UNIT disk space for data storage
	DiskSize *int64 `json:"disk-size,omitempty"`

	// Allowed CIDR address blocks for incoming connections
	IpFilter *[]string `json:"ip-filter,omitempty"`

	// Automatic maintenance settings
	Maintenance *DbaasServiceMaintenance `json:"maintenance,omitempty"`
	Name        DbaasServiceName         `json:"name"`

	// Number of service nodes in the active plan
	NodeCount *int64 `json:"node-count,omitempty"`

	// Number of CPUs for each node
	NodeCpuCount *int64 `json:"node-cpu-count,omitempty"`

	// TODO UNIT of memory for each node
	NodeMemory *int64 `json:"node-memory,omitempty"`

	// State of individual service nodes
	NodeStates *[]DbaasNodeState `json:"node-states,omitempty"`

	// Service notifications
	Notifications *[]DbaasServiceNotification `json:"notifications,omitempty"`

	// Subscription plan
	Plan string `json:"plan"`

	// Redis-specific settings
	RedisSettings *map[string]interface{} `json:"redis-settings,omitempty"`
	State         *EnumServiceState       `json:"state,omitempty"`

	// Service is protected against termination and powering off
	TerminationProtection *bool                `json:"termination-protection,omitempty"`
	Type                  DbaasServiceTypeName `json:"type"`

	// Service last update timestamp (ISO 8601)
	UpdatedAt *time.Time `json:"updated-at,omitempty"`

	// URI for connecting to the service (may be absent)
	Uri *string `json:"uri,omitempty"`

	// service_uri parameterized into key-value pairs
	UriParams *map[string]interface{} `json:"uri-params,omitempty"`

	// List of service users
	Users *[]struct {
		AccessControl *struct {
			Categories *[]string `json:"categories,omitempty"`
			Channels   *[]string `json:"channels,omitempty"`
			Commands   *[]string `json:"commands,omitempty"`
			Keys       *[]string `json:"keys,omitempty"`
		} `json:"access-control,omitempty"`
		Password *string `json:"password,omitempty"`
		Type     *string `json:"type,omitempty"`
		Username *string `json:"username,omitempty"`
	} `json:"users,omitempty"`

	// Redis version
	Version *string `json:"version,omitempty"`
}

DbaasServiceRedis defines model for dbaas-service-redis.

type DbaasServiceType

type DbaasServiceType struct {
	// DbaaS service default version
	DefaultVersion *string `json:"default-version,omitempty"`

	// DbaaS service description
	Description *string `json:"description,omitempty"`

	// DbaaS service latest available version
	LatestVersion *string               `json:"latest-version,omitempty"`
	Name          *DbaasServiceTypeName `json:"name,omitempty"`

	// DbaaS service plans
	Plans *[]DbaasPlan `json:"plans,omitempty"`

	// JSON schema representing the configuration options for the service
	UserConfigSchema *map[string]interface{} `json:"user-config-schema,omitempty"`
}

DBaaS service

type DbaasServiceTypeName

type DbaasServiceTypeName string

DbaasServiceTypeName defines model for dbaas-service-type-name.

type DbaasServiceUpdate

type DbaasServiceUpdate struct {
	// Deadline for installing the update
	Deadline *time.Time `json:"deadline,omitempty"`

	// Description of the update
	Description *string `json:"description,omitempty"`

	// The earliest time the update will be automatically applied
	StartAfter *time.Time `json:"start-after,omitempty"`

	// The time when the update will be automatically applied
	StartAt *time.Time `json:"start-at,omitempty"`
}

Update waiting to be installed

type DeleteAntiAffinityGroupResponse

type DeleteAntiAffinityGroupResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Operation
}

func ParseDeleteAntiAffinityGroupResponse

func ParseDeleteAntiAffinityGroupResponse(rsp *http.Response) (*DeleteAntiAffinityGroupResponse, error)

ParseDeleteAntiAffinityGroupResponse parses an HTTP response from a DeleteAntiAffinityGroupWithResponse call

func (DeleteAntiAffinityGroupResponse) Status

Status returns HTTPResponse.Status

func (DeleteAntiAffinityGroupResponse) StatusCode

func (r DeleteAntiAffinityGroupResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteDbaasServiceResponse added in v0.78.0

type DeleteDbaasServiceResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DbaasServiceCommon
}

func ParseDeleteDbaasServiceResponse added in v0.78.0

func ParseDeleteDbaasServiceResponse(rsp *http.Response) (*DeleteDbaasServiceResponse, error)

ParseDeleteDbaasServiceResponse parses an HTTP response from a DeleteDbaasServiceWithResponse call

func (DeleteDbaasServiceResponse) Status added in v0.78.0

Status returns HTTPResponse.Status

func (DeleteDbaasServiceResponse) StatusCode added in v0.78.0

func (r DeleteDbaasServiceResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteElasticIpResponse

type DeleteElasticIpResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Operation
}

func ParseDeleteElasticIpResponse

func ParseDeleteElasticIpResponse(rsp *http.Response) (*DeleteElasticIpResponse, error)

ParseDeleteElasticIpResponse parses an HTTP response from a DeleteElasticIpWithResponse call

func (DeleteElasticIpResponse) Status

func (r DeleteElasticIpResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteElasticIpResponse) StatusCode

func (r DeleteElasticIpResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteInstancePoolResponse

type DeleteInstancePoolResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Operation
}

func ParseDeleteInstancePoolResponse

func ParseDeleteInstancePoolResponse(rsp *http.Response) (*DeleteInstancePoolResponse, error)

ParseDeleteInstancePoolResponse parses an HTTP response from a DeleteInstancePoolWithResponse call

func (DeleteInstancePoolResponse) Status

Status returns HTTPResponse.Status

func (DeleteInstancePoolResponse) StatusCode

func (r DeleteInstancePoolResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteInstanceResponse

type DeleteInstanceResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Operation
}

func ParseDeleteInstanceResponse

func ParseDeleteInstanceResponse(rsp *http.Response) (*DeleteInstanceResponse, error)

ParseDeleteInstanceResponse parses an HTTP response from a DeleteInstanceWithResponse call

func (DeleteInstanceResponse) Status

func (r DeleteInstanceResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteInstanceResponse) StatusCode

func (r DeleteInstanceResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteLoadBalancerResponse

type DeleteLoadBalancerResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Operation
}

func ParseDeleteLoadBalancerResponse

func ParseDeleteLoadBalancerResponse(rsp *http.Response) (*DeleteLoadBalancerResponse, error)

ParseDeleteLoadBalancerResponse parses an HTTP response from a DeleteLoadBalancerWithResponse call

func (DeleteLoadBalancerResponse) Status

Status returns HTTPResponse.Status

func (DeleteLoadBalancerResponse) StatusCode

func (r DeleteLoadBalancerResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteLoadBalancerServiceResponse

type DeleteLoadBalancerServiceResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Operation
}

func ParseDeleteLoadBalancerServiceResponse

func ParseDeleteLoadBalancerServiceResponse(rsp *http.Response) (*DeleteLoadBalancerServiceResponse, error)

ParseDeleteLoadBalancerServiceResponse parses an HTTP response from a DeleteLoadBalancerServiceWithResponse call

func (DeleteLoadBalancerServiceResponse) Status

Status returns HTTPResponse.Status

func (DeleteLoadBalancerServiceResponse) StatusCode

func (r DeleteLoadBalancerServiceResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeletePrivateNetworkResponse

type DeletePrivateNetworkResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Operation
}

func ParseDeletePrivateNetworkResponse

func ParseDeletePrivateNetworkResponse(rsp *http.Response) (*DeletePrivateNetworkResponse, error)

ParseDeletePrivateNetworkResponse parses an HTTP response from a DeletePrivateNetworkWithResponse call

func (DeletePrivateNetworkResponse) Status

Status returns HTTPResponse.Status

func (DeletePrivateNetworkResponse) StatusCode

func (r DeletePrivateNetworkResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteRuleFromSecurityGroupResponse

type DeleteRuleFromSecurityGroupResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Operation
}

func ParseDeleteRuleFromSecurityGroupResponse

func ParseDeleteRuleFromSecurityGroupResponse(rsp *http.Response) (*DeleteRuleFromSecurityGroupResponse, error)

ParseDeleteRuleFromSecurityGroupResponse parses an HTTP response from a DeleteRuleFromSecurityGroupWithResponse call

func (DeleteRuleFromSecurityGroupResponse) Status

Status returns HTTPResponse.Status

func (DeleteRuleFromSecurityGroupResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DeleteSecurityGroupResponse

type DeleteSecurityGroupResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Operation
}

func ParseDeleteSecurityGroupResponse

func ParseDeleteSecurityGroupResponse(rsp *http.Response) (*DeleteSecurityGroupResponse, error)

ParseDeleteSecurityGroupResponse parses an HTTP response from a DeleteSecurityGroupWithResponse call

func (DeleteSecurityGroupResponse) Status

Status returns HTTPResponse.Status

func (DeleteSecurityGroupResponse) StatusCode

func (r DeleteSecurityGroupResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteSksClusterResponse

type DeleteSksClusterResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Operation
}

func ParseDeleteSksClusterResponse

func ParseDeleteSksClusterResponse(rsp *http.Response) (*DeleteSksClusterResponse, error)

ParseDeleteSksClusterResponse parses an HTTP response from a DeleteSksClusterWithResponse call

func (DeleteSksClusterResponse) Status

func (r DeleteSksClusterResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteSksClusterResponse) StatusCode

func (r DeleteSksClusterResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteSksNodepoolResponse

type DeleteSksNodepoolResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Operation
}

func ParseDeleteSksNodepoolResponse

func ParseDeleteSksNodepoolResponse(rsp *http.Response) (*DeleteSksNodepoolResponse, error)

ParseDeleteSksNodepoolResponse parses an HTTP response from a DeleteSksNodepoolWithResponse call

func (DeleteSksNodepoolResponse) Status

func (r DeleteSksNodepoolResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteSksNodepoolResponse) StatusCode

func (r DeleteSksNodepoolResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteSnapshotResponse

type DeleteSnapshotResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Operation
}

func ParseDeleteSnapshotResponse

func ParseDeleteSnapshotResponse(rsp *http.Response) (*DeleteSnapshotResponse, error)

ParseDeleteSnapshotResponse parses an HTTP response from a DeleteSnapshotWithResponse call

func (DeleteSnapshotResponse) Status

func (r DeleteSnapshotResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteSnapshotResponse) StatusCode

func (r DeleteSnapshotResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteSshKeyResponse

type DeleteSshKeyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Operation
}

func ParseDeleteSshKeyResponse

func ParseDeleteSshKeyResponse(rsp *http.Response) (*DeleteSshKeyResponse, error)

ParseDeleteSshKeyResponse parses an HTTP response from a DeleteSshKeyWithResponse call

func (DeleteSshKeyResponse) Status

func (r DeleteSshKeyResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteSshKeyResponse) StatusCode

func (r DeleteSshKeyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteTemplateResponse

type DeleteTemplateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Operation
}

func ParseDeleteTemplateResponse

func ParseDeleteTemplateResponse(rsp *http.Response) (*DeleteTemplateResponse, error)

ParseDeleteTemplateResponse parses an HTTP response from a DeleteTemplateWithResponse call

func (DeleteTemplateResponse) Status

func (r DeleteTemplateResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteTemplateResponse) StatusCode

func (r DeleteTemplateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeployTarget

type DeployTarget struct {
	// Deploy Target description
	Description *string `json:"description,omitempty"`

	// Deploy Target ID
	Id *string `json:"id,omitempty"`

	// Deploy Target name
	Name *string `json:"name,omitempty"`

	// Deploy Target type
	Type *DeployTargetType `json:"type,omitempty"`
}

Deploy target

type DeployTargetType

type DeployTargetType string

Deploy Target type

const (
	DeployTargetTypeDedicated DeployTargetType = "dedicated"

	DeployTargetTypeEdge DeployTargetType = "edge"
)

Defines values for DeployTargetType.

type DetachInstanceFromElasticIpJSONBody

type DetachInstanceFromElasticIpJSONBody struct {
	// Instance
	Instance Instance `json:"instance"`
}

DetachInstanceFromElasticIpJSONBody defines parameters for DetachInstanceFromElasticIp.

type DetachInstanceFromElasticIpJSONRequestBody

type DetachInstanceFromElasticIpJSONRequestBody DetachInstanceFromElasticIpJSONBody

DetachInstanceFromElasticIpJSONRequestBody defines body for DetachInstanceFromElasticIp for application/json ContentType.

type DetachInstanceFromElasticIpResponse

type DetachInstanceFromElasticIpResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Operation
}

func ParseDetachInstanceFromElasticIpResponse

func ParseDetachInstanceFromElasticIpResponse(rsp *http.Response) (*DetachInstanceFromElasticIpResponse, error)

ParseDetachInstanceFromElasticIpResponse parses an HTTP response from a DetachInstanceFromElasticIpWithResponse call

func (DetachInstanceFromElasticIpResponse) Status

Status returns HTTPResponse.Status

func (DetachInstanceFromElasticIpResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DetachInstanceFromPrivateNetworkJSONBody

type DetachInstanceFromPrivateNetworkJSONBody struct {
	// Instance
	Instance Instance `json:"instance"`
}

DetachInstanceFromPrivateNetworkJSONBody defines parameters for DetachInstanceFromPrivateNetwork.

type DetachInstanceFromPrivateNetworkJSONRequestBody

type DetachInstanceFromPrivateNetworkJSONRequestBody DetachInstanceFromPrivateNetworkJSONBody

DetachInstanceFromPrivateNetworkJSONRequestBody defines body for DetachInstanceFromPrivateNetwork for application/json ContentType.

type DetachInstanceFromPrivateNetworkResponse

type DetachInstanceFromPrivateNetworkResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Operation
}

func ParseDetachInstanceFromPrivateNetworkResponse

func ParseDetachInstanceFromPrivateNetworkResponse(rsp *http.Response) (*DetachInstanceFromPrivateNetworkResponse, error)

ParseDetachInstanceFromPrivateNetworkResponse parses an HTTP response from a DetachInstanceFromPrivateNetworkWithResponse call

func (DetachInstanceFromPrivateNetworkResponse) Status

Status returns HTTPResponse.Status

func (DetachInstanceFromPrivateNetworkResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DetachInstanceFromSecurityGroupJSONBody

type DetachInstanceFromSecurityGroupJSONBody struct {
	// Instance
	Instance Instance `json:"instance"`
}

DetachInstanceFromSecurityGroupJSONBody defines parameters for DetachInstanceFromSecurityGroup.

type DetachInstanceFromSecurityGroupJSONRequestBody

type DetachInstanceFromSecurityGroupJSONRequestBody DetachInstanceFromSecurityGroupJSONBody

DetachInstanceFromSecurityGroupJSONRequestBody defines body for DetachInstanceFromSecurityGroup for application/json ContentType.

type DetachInstanceFromSecurityGroupResponse

type DetachInstanceFromSecurityGroupResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Operation
}

func ParseDetachInstanceFromSecurityGroupResponse

func ParseDetachInstanceFromSecurityGroupResponse(rsp *http.Response) (*DetachInstanceFromSecurityGroupResponse, error)

ParseDetachInstanceFromSecurityGroupResponse parses an HTTP response from a DetachInstanceFromSecurityGroupWithResponse call

func (DetachInstanceFromSecurityGroupResponse) Status

Status returns HTTPResponse.Status

func (DetachInstanceFromSecurityGroupResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DnsDomain added in v0.78.0

type DnsDomain struct {
	// DNS domain creation date
	CreatedAt *time.Time `json:"created-at,omitempty"`

	// DNS domain ID
	Id *string `json:"id,omitempty"`

	// DNS domain unicode name
	UnicodeName *string `json:"unicode-name,omitempty"`
}

DNS domain

type DnsDomainRecord added in v0.78.0

type DnsDomainRecord struct {
	// DNS domain record content
	Content *string `json:"content,omitempty"`

	// DNS domain record creation date
	CreatedAt *time.Time `json:"created-at,omitempty"`

	// DNS domain record ID
	Id *string `json:"id,omitempty"`

	// DNS domain record name
	Name *string `json:"name,omitempty"`

	// DNS domain record priority
	Priority *int64 `json:"priority,omitempty"`

	// DNS domain record TTL
	Ttl *int64 `json:"ttl,omitempty"`

	// DNS domain record priority
	Type *DnsDomainRecordType `json:"type,omitempty"`

	// DNS domain record update date
	UpdatedAt *time.Time `json:"updated-at,omitempty"`
}

DNS domain record

type DnsDomainRecordType added in v0.78.0

type DnsDomainRecordType string

DNS domain record priority

const (
	DnsDomainRecordTypeNs DnsDomainRecordType = "ns"

	DnsDomainRecordTypeSoa DnsDomainRecordType = "soa"
)

Defines values for DnsDomainRecordType.

type ElasticIp

type ElasticIp struct {
	// Elastic IP description
	Description *string `json:"description,omitempty"`

	// Elastic IP address healthcheck
	Healthcheck *ElasticIpHealthcheck `json:"healthcheck,omitempty"`

	// Elastic IP ID
	Id *string `json:"id,omitempty"`

	// Elastic IP address
	Ip *string `json:"ip,omitempty"`
}

Elastic IP

type ElasticIpHealthcheck

type ElasticIpHealthcheck struct {
	// Interval between the checks (default: 10)
	Interval *int64 `json:"interval,omitempty"`

	// Healthcheck mode
	Mode ElasticIpHealthcheckMode `json:"mode"`

	// Healthcheck port
	Port int64 `json:"port"`

	// Number of attempts before considering the target unhealthy (default: 3)
	StrikesFail *int64 `json:"strikes-fail,omitempty"`

	// Number of attempts before considering the target healthy (default: 2)
	StrikesOk *int64 `json:"strikes-ok,omitempty"`

	// Healthcheck timeout value (default: 2)
	Timeout *int64 `json:"timeout,omitempty"`

	// Skip TLS verification
	TlsSkipVerify *bool `json:"tls-skip-verify,omitempty"`

	// SNI domain for HTTPS healthchecks
	TlsSni *string `json:"tls-sni,omitempty"`

	// Healthcheck URI
	Uri *string `json:"uri,omitempty"`
}

Elastic IP address healthcheck

type ElasticIpHealthcheckMode

type ElasticIpHealthcheckMode string

Healthcheck mode

const (
	ElasticIpHealthcheckModeHttp ElasticIpHealthcheckMode = "http"

	ElasticIpHealthcheckModeHttps ElasticIpHealthcheckMode = "https"

	ElasticIpHealthcheckModeTcp ElasticIpHealthcheckMode = "tcp"
)

Defines values for ElasticIpHealthcheckMode.

type EnumComponentRoute added in v0.78.0

type EnumComponentRoute string

EnumComponentRoute defines model for enum-component-route.

const (
	EnumComponentRouteDynamic EnumComponentRoute = "dynamic"

	EnumComponentRoutePrivate EnumComponentRoute = "private"

	EnumComponentRoutePrivatelink EnumComponentRoute = "privatelink"

	EnumComponentRoutePublic EnumComponentRoute = "public"
)

Defines values for EnumComponentRoute.

type EnumComponentUsage added in v0.78.0

type EnumComponentUsage string

EnumComponentUsage defines model for enum-component-usage.

const (
	EnumComponentUsagePrimary EnumComponentUsage = "primary"

	EnumComponentUsageReplica EnumComponentUsage = "replica"
)

Defines values for EnumComponentUsage.

type EnumKafkaAclPermissions added in v0.78.0

type EnumKafkaAclPermissions string

EnumKafkaAclPermissions defines model for enum-kafka-acl-permissions.

const (
	EnumKafkaAclPermissionsAdmin EnumKafkaAclPermissions = "admin"

	EnumKafkaAclPermissionsRead EnumKafkaAclPermissions = "read"

	EnumKafkaAclPermissionsReadwrite EnumKafkaAclPermissions = "readwrite"

	EnumKafkaAclPermissionsWrite EnumKafkaAclPermissions = "write"
)

Defines values for EnumKafkaAclPermissions.

type EnumKafkaAuthMethod added in v0.78.0

type EnumKafkaAuthMethod string

EnumKafkaAuthMethod defines model for enum-kafka-auth-method.

const (
	EnumKafkaAuthMethodCertificate EnumKafkaAuthMethod = "certificate"

	EnumKafkaAuthMethodSasl EnumKafkaAuthMethod = "sasl"
)

Defines values for EnumKafkaAuthMethod.

type EnumPgPoolMode added in v0.78.0

type EnumPgPoolMode string

EnumPgPoolMode defines model for enum-pg-pool-mode.

const (
	EnumPgPoolModeSession EnumPgPoolMode = "session"

	EnumPgPoolModeStatement EnumPgPoolMode = "statement"

	EnumPgPoolModeTransaction EnumPgPoolMode = "transaction"
)

Defines values for EnumPgPoolMode.

type EnumPgSynchronousReplication added in v0.78.0

type EnumPgSynchronousReplication string

EnumPgSynchronousReplication defines model for enum-pg-synchronous-replication.

const (
	EnumPgSynchronousReplicationOff EnumPgSynchronousReplication = "off"

	EnumPgSynchronousReplicationQuorum EnumPgSynchronousReplication = "quorum"
)

Defines values for EnumPgSynchronousReplication.

type EnumPgVariant added in v0.78.0

type EnumPgVariant string

EnumPgVariant defines model for enum-pg-variant.

const (
	EnumPgVariantAiven EnumPgVariant = "aiven"

	EnumPgVariantTimescale EnumPgVariant = "timescale"
)

Defines values for EnumPgVariant.

type EnumServiceState added in v0.78.0

type EnumServiceState string

EnumServiceState defines model for enum-service-state.

const (
	EnumServiceStatePoweroff EnumServiceState = "poweroff"

	EnumServiceStateRebalancing EnumServiceState = "rebalancing"

	EnumServiceStateRebuilding EnumServiceState = "rebuilding"

	EnumServiceStateRunning EnumServiceState = "running"
)

Defines values for EnumServiceState.

type Event

type Event struct {
	// Event payload. This is a free-form map
	Payload *map[string]interface{} `json:"payload,omitempty"`

	// Time at which the event happened, millisecond resolution
	Timestamp *time.Time `json:"timestamp,omitempty"`
}

A notable event which happened on the infrastructure

type EvictInstancePoolMembersJSONBody

type EvictInstancePoolMembersJSONBody struct {
	Instances *[]string `json:"instances,omitempty"`
}

EvictInstancePoolMembersJSONBody defines parameters for EvictInstancePoolMembers.

type EvictInstancePoolMembersJSONRequestBody

type EvictInstancePoolMembersJSONRequestBody EvictInstancePoolMembersJSONBody

EvictInstancePoolMembersJSONRequestBody defines body for EvictInstancePoolMembers for application/json ContentType.

type EvictInstancePoolMembersResponse

type EvictInstancePoolMembersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Operation
}

func ParseEvictInstancePoolMembersResponse

func ParseEvictInstancePoolMembersResponse(rsp *http.Response) (*EvictInstancePoolMembersResponse, error)

ParseEvictInstancePoolMembersResponse parses an HTTP response from a EvictInstancePoolMembersWithResponse call

func (EvictInstancePoolMembersResponse) Status

Status returns HTTPResponse.Status

func (EvictInstancePoolMembersResponse) StatusCode

func (r EvictInstancePoolMembersResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type EvictSksNodepoolMembersJSONBody

type EvictSksNodepoolMembersJSONBody struct {
	Instances *[]string `json:"instances,omitempty"`
}

EvictSksNodepoolMembersJSONBody defines parameters for EvictSksNodepoolMembers.

type EvictSksNodepoolMembersJSONRequestBody

type EvictSksNodepoolMembersJSONRequestBody EvictSksNodepoolMembersJSONBody

EvictSksNodepoolMembersJSONRequestBody defines body for EvictSksNodepoolMembers for application/json ContentType.

type EvictSksNodepoolMembersResponse

type EvictSksNodepoolMembersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Operation
}

func ParseEvictSksNodepoolMembersResponse

func ParseEvictSksNodepoolMembersResponse(rsp *http.Response) (*EvictSksNodepoolMembersResponse, error)

ParseEvictSksNodepoolMembersResponse parses an HTTP response from a EvictSksNodepoolMembersWithResponse call

func (EvictSksNodepoolMembersResponse) Status

Status returns HTTPResponse.Status

func (EvictSksNodepoolMembersResponse) StatusCode

func (r EvictSksNodepoolMembersResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ExportSnapshotResponse

type ExportSnapshotResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Operation
}

func ParseExportSnapshotResponse

func ParseExportSnapshotResponse(rsp *http.Response) (*ExportSnapshotResponse, error)

ParseExportSnapshotResponse parses an HTTP response from a ExportSnapshotWithResponse call

func (ExportSnapshotResponse) Status

func (r ExportSnapshotResponse) Status() string

Status returns HTTPResponse.Status

func (ExportSnapshotResponse) StatusCode

func (r ExportSnapshotResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GenerateSksClusterKubeconfigJSONBody

type GenerateSksClusterKubeconfigJSONBody SksKubeconfigRequest

GenerateSksClusterKubeconfigJSONBody defines parameters for GenerateSksClusterKubeconfig.

type GenerateSksClusterKubeconfigJSONRequestBody

type GenerateSksClusterKubeconfigJSONRequestBody GenerateSksClusterKubeconfigJSONBody

GenerateSksClusterKubeconfigJSONRequestBody defines body for GenerateSksClusterKubeconfig for application/json ContentType.

type GenerateSksClusterKubeconfigResponse

type GenerateSksClusterKubeconfigResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Kubeconfig *string `json:"kubeconfig,omitempty"`
	}
}

func ParseGenerateSksClusterKubeconfigResponse

func ParseGenerateSksClusterKubeconfigResponse(rsp *http.Response) (*GenerateSksClusterKubeconfigResponse, error)

ParseGenerateSksClusterKubeconfigResponse parses an HTTP response from a GenerateSksClusterKubeconfigWithResponse call

func (GenerateSksClusterKubeconfigResponse) Status

Status returns HTTPResponse.Status

func (GenerateSksClusterKubeconfigResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetAntiAffinityGroupResponse

type GetAntiAffinityGroupResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *AntiAffinityGroup
}

func ParseGetAntiAffinityGroupResponse

func ParseGetAntiAffinityGroupResponse(rsp *http.Response) (*GetAntiAffinityGroupResponse, error)

ParseGetAntiAffinityGroupResponse parses an HTTP response from a GetAntiAffinityGroupWithResponse call

func (GetAntiAffinityGroupResponse) Status

Status returns HTTPResponse.Status

func (GetAntiAffinityGroupResponse) StatusCode

func (r GetAntiAffinityGroupResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetDbaasCaCertificateResponse

type GetDbaasCaCertificateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Certificate *string `json:"certificate,omitempty"`
	}
}

func ParseGetDbaasCaCertificateResponse

func ParseGetDbaasCaCertificateResponse(rsp *http.Response) (*GetDbaasCaCertificateResponse, error)

ParseGetDbaasCaCertificateResponse parses an HTTP response from a GetDbaasCaCertificateWithResponse call

func (GetDbaasCaCertificateResponse) Status

Status returns HTTPResponse.Status

func (GetDbaasCaCertificateResponse) StatusCode

func (r GetDbaasCaCertificateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetDbaasServiceKafkaResponse added in v0.78.0

type GetDbaasServiceKafkaResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DbaasServiceKafka
}

func ParseGetDbaasServiceKafkaResponse added in v0.78.0

func ParseGetDbaasServiceKafkaResponse(rsp *http.Response) (*GetDbaasServiceKafkaResponse, error)

ParseGetDbaasServiceKafkaResponse parses an HTTP response from a GetDbaasServiceKafkaWithResponse call

func (GetDbaasServiceKafkaResponse) Status added in v0.78.0

Status returns HTTPResponse.Status

func (GetDbaasServiceKafkaResponse) StatusCode added in v0.78.0

func (r GetDbaasServiceKafkaResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetDbaasServiceMysqlResponse added in v0.78.0

type GetDbaasServiceMysqlResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DbaasServiceMysql
}

func ParseGetDbaasServiceMysqlResponse added in v0.78.0

func ParseGetDbaasServiceMysqlResponse(rsp *http.Response) (*GetDbaasServiceMysqlResponse, error)

ParseGetDbaasServiceMysqlResponse parses an HTTP response from a GetDbaasServiceMysqlWithResponse call

func (GetDbaasServiceMysqlResponse) Status added in v0.78.0

Status returns HTTPResponse.Status

func (GetDbaasServiceMysqlResponse) StatusCode added in v0.78.0

func (r GetDbaasServiceMysqlResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetDbaasServicePgResponse added in v0.78.0

type GetDbaasServicePgResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DbaasServicePg
}

func ParseGetDbaasServicePgResponse added in v0.78.0

func ParseGetDbaasServicePgResponse(rsp *http.Response) (*GetDbaasServicePgResponse, error)

ParseGetDbaasServicePgResponse parses an HTTP response from a GetDbaasServicePgWithResponse call

func (GetDbaasServicePgResponse) Status added in v0.78.0

func (r GetDbaasServicePgResponse) Status() string

Status returns HTTPResponse.Status

func (GetDbaasServicePgResponse) StatusCode added in v0.78.0

func (r GetDbaasServicePgResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetDbaasServiceRedisResponse added in v0.78.0

type GetDbaasServiceRedisResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DbaasServiceRedis
}

func ParseGetDbaasServiceRedisResponse added in v0.78.0

func ParseGetDbaasServiceRedisResponse(rsp *http.Response) (*GetDbaasServiceRedisResponse, error)

ParseGetDbaasServiceRedisResponse parses an HTTP response from a GetDbaasServiceRedisWithResponse call

func (GetDbaasServiceRedisResponse) Status added in v0.78.0

Status returns HTTPResponse.Status

func (GetDbaasServiceRedisResponse) StatusCode added in v0.78.0

func (r GetDbaasServiceRedisResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetDbaasServiceTypeResponse

type GetDbaasServiceTypeResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DbaasServiceType
}

func ParseGetDbaasServiceTypeResponse

func ParseGetDbaasServiceTypeResponse(rsp *http.Response) (*GetDbaasServiceTypeResponse, error)

ParseGetDbaasServiceTypeResponse parses an HTTP response from a GetDbaasServiceTypeWithResponse call

func (GetDbaasServiceTypeResponse) Status

Status returns HTTPResponse.Status

func (GetDbaasServiceTypeResponse) StatusCode

func (r GetDbaasServiceTypeResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetDbaasSettingsKafkaResponse added in v0.78.0

type GetDbaasSettingsKafkaResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Settings *struct {
			// Kafka broker configuration values
			Kafka *struct {
				AdditionalProperties *bool                   `json:"additionalProperties,omitempty"`
				Properties           *map[string]interface{} `json:"properties,omitempty"`
				Title                *string                 `json:"title,omitempty"`
				Type                 *string                 `json:"type,omitempty"`
			} `json:"kafka,omitempty"`

			// Kafka Connect configuration values
			KafkaConnect *struct {
				AdditionalProperties *bool                   `json:"additionalProperties,omitempty"`
				Properties           *map[string]interface{} `json:"properties,omitempty"`
				Title                *string                 `json:"title,omitempty"`
				Type                 *string                 `json:"type,omitempty"`
			} `json:"kafka-connect,omitempty"`

			// Kafka REST configuration
			KafkaRest *struct {
				AdditionalProperties *bool                   `json:"additionalProperties,omitempty"`
				Properties           *map[string]interface{} `json:"properties,omitempty"`
				Title                *string                 `json:"title,omitempty"`
				Type                 *string                 `json:"type,omitempty"`
			} `json:"kafka-rest,omitempty"`

			// Schema Registry configuration
			SchemaRegistry *struct {
				AdditionalProperties *bool                   `json:"additionalProperties,omitempty"`
				Properties           *map[string]interface{} `json:"properties,omitempty"`
				Title                *string                 `json:"title,omitempty"`
				Type                 *string                 `json:"type,omitempty"`
			} `json:"schema-registry,omitempty"`
		} `json:"settings,omitempty"`
	}
}

func ParseGetDbaasSettingsKafkaResponse added in v0.78.0

func ParseGetDbaasSettingsKafkaResponse(rsp *http.Response) (*GetDbaasSettingsKafkaResponse, error)

ParseGetDbaasSettingsKafkaResponse parses an HTTP response from a GetDbaasSettingsKafkaWithResponse call

func (GetDbaasSettingsKafkaResponse) Status added in v0.78.0

Status returns HTTPResponse.Status

func (GetDbaasSettingsKafkaResponse) StatusCode added in v0.78.0

func (r GetDbaasSettingsKafkaResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetDbaasSettingsMysqlResponse added in v0.78.0

type GetDbaasSettingsMysqlResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Settings *struct {
			// mysql.conf configuration values
			Mysql *struct {
				AdditionalProperties *bool                   `json:"additionalProperties,omitempty"`
				Properties           *map[string]interface{} `json:"properties,omitempty"`
				Title                *string                 `json:"title,omitempty"`
				Type                 *string                 `json:"type,omitempty"`
			} `json:"mysql,omitempty"`
		} `json:"settings,omitempty"`
	}
}

func ParseGetDbaasSettingsMysqlResponse added in v0.78.0

func ParseGetDbaasSettingsMysqlResponse(rsp *http.Response) (*GetDbaasSettingsMysqlResponse, error)

ParseGetDbaasSettingsMysqlResponse parses an HTTP response from a GetDbaasSettingsMysqlWithResponse call

func (GetDbaasSettingsMysqlResponse) Status added in v0.78.0

Status returns HTTPResponse.Status

func (GetDbaasSettingsMysqlResponse) StatusCode added in v0.78.0

func (r GetDbaasSettingsMysqlResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetDbaasSettingsPgResponse added in v0.78.0

type GetDbaasSettingsPgResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Settings *struct {
			// postgresql.conf configuration values
			Pg *struct {
				AdditionalProperties *bool                   `json:"additionalProperties,omitempty"`
				Properties           *map[string]interface{} `json:"properties,omitempty"`
				Title                *string                 `json:"title,omitempty"`
				Type                 *string                 `json:"type,omitempty"`
			} `json:"pg,omitempty"`

			// PGBouncer connection pooling settings
			Pgbouncer *struct {
				AdditionalProperties *bool                   `json:"additionalProperties,omitempty"`
				Properties           *map[string]interface{} `json:"properties,omitempty"`
				Title                *string                 `json:"title,omitempty"`
				Type                 *string                 `json:"type,omitempty"`
			} `json:"pgbouncer,omitempty"`

			// PGLookout settings
			Pglookout *struct {
				AdditionalProperties *bool                   `json:"additionalProperties,omitempty"`
				Properties           *map[string]interface{} `json:"properties,omitempty"`
				Title                *string                 `json:"title,omitempty"`
				Type                 *string                 `json:"type,omitempty"`
			} `json:"pglookout,omitempty"`

			// TimescaleDB extension configuration values
			Timescaledb *struct {
				AdditionalProperties *bool                   `json:"additionalProperties,omitempty"`
				Properties           *map[string]interface{} `json:"properties,omitempty"`
				Title                *string                 `json:"title,omitempty"`
				Type                 *string                 `json:"type,omitempty"`
			} `json:"timescaledb,omitempty"`
		} `json:"settings,omitempty"`
	}
}

func ParseGetDbaasSettingsPgResponse added in v0.78.0

func ParseGetDbaasSettingsPgResponse(rsp *http.Response) (*GetDbaasSettingsPgResponse, error)

ParseGetDbaasSettingsPgResponse parses an HTTP response from a GetDbaasSettingsPgWithResponse call

func (GetDbaasSettingsPgResponse) Status added in v0.78.0

Status returns HTTPResponse.Status

func (GetDbaasSettingsPgResponse) StatusCode added in v0.78.0

func (r GetDbaasSettingsPgResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetDbaasSettingsRedisResponse added in v0.79.0

type GetDbaasSettingsRedisResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Settings *struct {
			// Redis configuration values
			Redis *struct {
				AdditionalProperties *bool                   `json:"additionalProperties,omitempty"`
				Properties           *map[string]interface{} `json:"properties,omitempty"`
				Title                *string                 `json:"title,omitempty"`
				Type                 *string                 `json:"type,omitempty"`
			} `json:"redis,omitempty"`
		} `json:"settings,omitempty"`
	}
}

func ParseGetDbaasSettingsRedisResponse added in v0.79.0

func ParseGetDbaasSettingsRedisResponse(rsp *http.Response) (*GetDbaasSettingsRedisResponse, error)

ParseGetDbaasSettingsRedisResponse parses an HTTP response from a GetDbaasSettingsRedisWithResponse call

func (GetDbaasSettingsRedisResponse) Status added in v0.79.0

Status returns HTTPResponse.Status

func (GetDbaasSettingsRedisResponse) StatusCode added in v0.79.0

func (r GetDbaasSettingsRedisResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetDeployTargetResponse

type GetDeployTargetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DeployTarget
}

func ParseGetDeployTargetResponse

func ParseGetDeployTargetResponse(rsp *http.Response) (*GetDeployTargetResponse, error)

ParseGetDeployTargetResponse parses an HTTP response from a GetDeployTargetWithResponse call

func (GetDeployTargetResponse) Status

func (r GetDeployTargetResponse) Status() string

Status returns HTTPResponse.Status

func (GetDeployTargetResponse) StatusCode

func (r GetDeployTargetResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetDnsDomainRecordResponse added in v0.78.0

type GetDnsDomainRecordResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DnsDomainRecord
}

func ParseGetDnsDomainRecordResponse added in v0.78.0

func ParseGetDnsDomainRecordResponse(rsp *http.Response) (*GetDnsDomainRecordResponse, error)

ParseGetDnsDomainRecordResponse parses an HTTP response from a GetDnsDomainRecordWithResponse call

func (GetDnsDomainRecordResponse) Status added in v0.78.0

Status returns HTTPResponse.Status

func (GetDnsDomainRecordResponse) StatusCode added in v0.78.0

func (r GetDnsDomainRecordResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetDnsDomainResponse added in v0.78.0

type GetDnsDomainResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DnsDomain
}

func ParseGetDnsDomainResponse added in v0.78.0

func ParseGetDnsDomainResponse(rsp *http.Response) (*GetDnsDomainResponse, error)

ParseGetDnsDomainResponse parses an HTTP response from a GetDnsDomainWithResponse call

func (GetDnsDomainResponse) Status added in v0.78.0

func (r GetDnsDomainResponse) Status() string

Status returns HTTPResponse.Status

func (GetDnsDomainResponse) StatusCode added in v0.78.0

func (r GetDnsDomainResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetElasticIpResponse

type GetElasticIpResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ElasticIp
}

func ParseGetElasticIpResponse

func ParseGetElasticIpResponse(rsp *http.Response) (*GetElasticIpResponse, error)

ParseGetElasticIpResponse parses an HTTP response from a GetElasticIpWithResponse call

func (GetElasticIpResponse) Status

func (r GetElasticIpResponse) Status() string

Status returns HTTPResponse.Status

func (GetElasticIpResponse) StatusCode

func (r GetElasticIpResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetInstancePoolResponse

type GetInstancePoolResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *InstancePool
}

func ParseGetInstancePoolResponse

func ParseGetInstancePoolResponse(rsp *http.Response) (*GetInstancePoolResponse, error)

ParseGetInstancePoolResponse parses an HTTP response from a GetInstancePoolWithResponse call

func (GetInstancePoolResponse) Status

func (r GetInstancePoolResponse) Status() string

Status returns HTTPResponse.Status

func (GetInstancePoolResponse) StatusCode

func (r GetInstancePoolResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetInstanceResponse

type GetInstanceResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Instance
}

func ParseGetInstanceResponse

func ParseGetInstanceResponse(rsp *http.Response) (*GetInstanceResponse, error)

ParseGetInstanceResponse parses an HTTP response from a GetInstanceWithResponse call

func (GetInstanceResponse) Status

func (r GetInstanceResponse) Status() string

Status returns HTTPResponse.Status

func (GetInstanceResponse) StatusCode

func (r GetInstanceResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetInstanceTypeResponse

type GetInstanceTypeResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *InstanceType
}

func ParseGetInstanceTypeResponse

func ParseGetInstanceTypeResponse(rsp *http.Response) (*GetInstanceTypeResponse, error)

ParseGetInstanceTypeResponse parses an HTTP response from a GetInstanceTypeWithResponse call

func (GetInstanceTypeResponse) Status

func (r GetInstanceTypeResponse) Status() string

Status returns HTTPResponse.Status

func (GetInstanceTypeResponse) StatusCode

func (r GetInstanceTypeResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetLoadBalancerResponse

type GetLoadBalancerResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *LoadBalancer
}

func ParseGetLoadBalancerResponse

func ParseGetLoadBalancerResponse(rsp *http.Response) (*GetLoadBalancerResponse, error)

ParseGetLoadBalancerResponse parses an HTTP response from a GetLoadBalancerWithResponse call

func (GetLoadBalancerResponse) Status

func (r GetLoadBalancerResponse) Status() string

Status returns HTTPResponse.Status

func (GetLoadBalancerResponse) StatusCode

func (r GetLoadBalancerResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetLoadBalancerServiceResponse

type GetLoadBalancerServiceResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *LoadBalancerService
}

func ParseGetLoadBalancerServiceResponse

func ParseGetLoadBalancerServiceResponse(rsp *http.Response) (*GetLoadBalancerServiceResponse, error)

ParseGetLoadBalancerServiceResponse parses an HTTP response from a GetLoadBalancerServiceWithResponse call

func (GetLoadBalancerServiceResponse) Status

Status returns HTTPResponse.Status

func (GetLoadBalancerServiceResponse) StatusCode

func (r GetLoadBalancerServiceResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetOperationResponse

type GetOperationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Operation
}

func ParseGetOperationResponse

func ParseGetOperationResponse(rsp *http.Response) (*GetOperationResponse, error)

ParseGetOperationResponse parses an HTTP response from a GetOperationWithResponse call

func (GetOperationResponse) Status

func (r GetOperationResponse) Status() string

Status returns HTTPResponse.Status

func (GetOperationResponse) StatusCode

func (r GetOperationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetPrivateNetworkResponse

type GetPrivateNetworkResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PrivateNetwork
}

func ParseGetPrivateNetworkResponse

func ParseGetPrivateNetworkResponse(rsp *http.Response) (*GetPrivateNetworkResponse, error)

ParseGetPrivateNetworkResponse parses an HTTP response from a GetPrivateNetworkWithResponse call

func (GetPrivateNetworkResponse) Status

func (r GetPrivateNetworkResponse) Status() string

Status returns HTTPResponse.Status

func (GetPrivateNetworkResponse) StatusCode

func (r GetPrivateNetworkResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetQuotaResponse

type GetQuotaResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Quota
}

func ParseGetQuotaResponse

func ParseGetQuotaResponse(rsp *http.Response) (*GetQuotaResponse, error)

ParseGetQuotaResponse parses an HTTP response from a GetQuotaWithResponse call

func (GetQuotaResponse) Status

func (r GetQuotaResponse) Status() string

Status returns HTTPResponse.Status

func (GetQuotaResponse) StatusCode

func (r GetQuotaResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetSecurityGroupResponse

type GetSecurityGroupResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SecurityGroup
}

func ParseGetSecurityGroupResponse

func ParseGetSecurityGroupResponse(rsp *http.Response) (*GetSecurityGroupResponse, error)

ParseGetSecurityGroupResponse parses an HTTP response from a GetSecurityGroupWithResponse call

func (GetSecurityGroupResponse) Status

func (r GetSecurityGroupResponse) Status() string

Status returns HTTPResponse.Status

func (GetSecurityGroupResponse) StatusCode

func (r GetSecurityGroupResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetSksClusterAuthorityCertParamsAuthority

type GetSksClusterAuthorityCertParamsAuthority string

GetSksClusterAuthorityCertParamsAuthority defines parameters for GetSksClusterAuthorityCert.

type GetSksClusterAuthorityCertResponse

type GetSksClusterAuthorityCertResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Cacert *string `json:"cacert,omitempty"`
	}
}

func ParseGetSksClusterAuthorityCertResponse

func ParseGetSksClusterAuthorityCertResponse(rsp *http.Response) (*GetSksClusterAuthorityCertResponse, error)

ParseGetSksClusterAuthorityCertResponse parses an HTTP response from a GetSksClusterAuthorityCertWithResponse call

func (GetSksClusterAuthorityCertResponse) Status

Status returns HTTPResponse.Status

func (GetSksClusterAuthorityCertResponse) StatusCode

func (r GetSksClusterAuthorityCertResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetSksClusterResponse

type GetSksClusterResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SksCluster
}

func ParseGetSksClusterResponse

func ParseGetSksClusterResponse(rsp *http.Response) (*GetSksClusterResponse, error)

ParseGetSksClusterResponse parses an HTTP response from a GetSksClusterWithResponse call

func (GetSksClusterResponse) Status

func (r GetSksClusterResponse) Status() string

Status returns HTTPResponse.Status

func (GetSksClusterResponse) StatusCode

func (r GetSksClusterResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetSksNodepoolResponse

type GetSksNodepoolResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SksNodepool
}

func ParseGetSksNodepoolResponse

func ParseGetSksNodepoolResponse(rsp *http.Response) (*GetSksNodepoolResponse, error)

ParseGetSksNodepoolResponse parses an HTTP response from a GetSksNodepoolWithResponse call

func (GetSksNodepoolResponse) Status

func (r GetSksNodepoolResponse) Status() string

Status returns HTTPResponse.Status

func (GetSksNodepoolResponse) StatusCode

func (r GetSksNodepoolResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetSnapshotResponse

type GetSnapshotResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Snapshot
}

func ParseGetSnapshotResponse

func ParseGetSnapshotResponse(rsp *http.Response) (*GetSnapshotResponse, error)

ParseGetSnapshotResponse parses an HTTP response from a GetSnapshotWithResponse call

func (GetSnapshotResponse) Status

func (r GetSnapshotResponse) Status() string

Status returns HTTPResponse.Status

func (GetSnapshotResponse) StatusCode

func (r GetSnapshotResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetSosPresignedUrlParams

type GetSosPresignedUrlParams struct {
	Key *string `json:"key,omitempty"`
}

GetSosPresignedUrlParams defines parameters for GetSosPresignedUrl.

type GetSosPresignedUrlResponse

type GetSosPresignedUrlResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Url *string `json:"url,omitempty"`
	}
}

func ParseGetSosPresignedUrlResponse

func ParseGetSosPresignedUrlResponse(rsp *http.Response) (*GetSosPresignedUrlResponse, error)

ParseGetSosPresignedUrlResponse parses an HTTP response from a GetSosPresignedUrlWithResponse call

func (GetSosPresignedUrlResponse) Status

Status returns HTTPResponse.Status

func (GetSosPresignedUrlResponse) StatusCode

func (r GetSosPresignedUrlResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetSshKeyResponse

type GetSshKeyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SshKey
}

func ParseGetSshKeyResponse

func ParseGetSshKeyResponse(rsp *http.Response) (*GetSshKeyResponse, error)

ParseGetSshKeyResponse parses an HTTP response from a GetSshKeyWithResponse call

func (GetSshKeyResponse) Status

func (r GetSshKeyResponse) Status() string

Status returns HTTPResponse.Status

func (GetSshKeyResponse) StatusCode

func (r GetSshKeyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTemplateResponse

type GetTemplateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Template
}

func ParseGetTemplateResponse

func ParseGetTemplateResponse(rsp *http.Response) (*GetTemplateResponse, error)

ParseGetTemplateResponse parses an HTTP response from a GetTemplateWithResponse call

func (GetTemplateResponse) Status

func (r GetTemplateResponse) Status() string

Status returns HTTPResponse.Status

func (GetTemplateResponse) StatusCode

func (r GetTemplateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type HttpRequestDoer

type HttpRequestDoer interface {
	Do(req *http.Request) (*http.Response, error)
}

Doer performs HTTP requests.

The standard http.Client implements this interface.

type Instance

type Instance struct {
	// Instance Anti-affinity Groups
	AntiAffinityGroups *[]AntiAffinityGroup `json:"anti-affinity-groups,omitempty"`

	// Instance creation date
	CreatedAt *time.Time `json:"created-at,omitempty"`

	// Deploy target
	DeployTarget *DeployTarget `json:"deploy-target,omitempty"`

	// Instance disk size in GB
	DiskSize *int64 `json:"disk-size,omitempty"`

	// Instance Elastic IPs
	ElasticIps *[]ElasticIp `json:"elastic-ips,omitempty"`

	// Instance ID
	Id *string `json:"id,omitempty"`

	// Compute instance type
	InstanceType *InstanceType `json:"instance-type,omitempty"`

	// Instance IPv6 address
	Ipv6Address *string `json:"ipv6-address,omitempty"`
	Labels      *Labels `json:"labels,omitempty"`

	// Resource manager
	Manager *Manager `json:"manager,omitempty"`

	// Instance name
	Name *string `json:"name,omitempty"`

	// Instance Private Networks
	PrivateNetworks *[]PrivateNetwork `json:"private-networks,omitempty"`

	// Instance public IPv4 address
	PublicIp *string `json:"public-ip,omitempty"`

	// Instance Security Groups
	SecurityGroups *[]SecurityGroup `json:"security-groups,omitempty"`

	// Instance Snapshots
	Snapshots *[]Snapshot `json:"snapshots,omitempty"`

	// SSH key
	SshKey *SshKey `json:"ssh-key,omitempty"`

	// Instance state
	State *InstanceState `json:"state,omitempty"`

	// Instance template
	Template *Template `json:"template,omitempty"`

	// Instance Cloud-init user-data
	UserData *string `json:"user-data,omitempty"`
}

Instance

type InstancePool

type InstancePool struct {
	// Instance Pool Anti-affinity Groups
	AntiAffinityGroups *[]AntiAffinityGroup `json:"anti-affinity-groups,omitempty"`

	// Deploy target
	DeployTarget *DeployTarget `json:"deploy-target,omitempty"`

	// Instance Pool description
	Description *string `json:"description,omitempty"`

	// Instances disk size in GB
	DiskSize *int64 `json:"disk-size,omitempty"`

	// Instances Elastic IPs
	ElasticIps *[]ElasticIp `json:"elastic-ips,omitempty"`

	// Instance Pool ID
	Id *string `json:"id,omitempty"`

	// The instances created by the Instance Pool will be prefixed with this value (default: pool)
	InstancePrefix *string `json:"instance-prefix,omitempty"`

	// Compute instance type
	InstanceType *InstanceType `json:"instance-type,omitempty"`

	// Instances
	Instances *[]Instance `json:"instances,omitempty"`

	// Enable IPv6 for instances
	Ipv6Enabled *bool   `json:"ipv6-enabled,omitempty"`
	Labels      *Labels `json:"labels,omitempty"`

	// Resource manager
	Manager *Manager `json:"manager,omitempty"`

	// Instance Pool name
	Name *string `json:"name,omitempty"`

	// Instance Pool Private Networks
	PrivateNetworks *[]PrivateNetwork `json:"private-networks,omitempty"`

	// Instance Pool Security Groups
	SecurityGroups *[]SecurityGroup `json:"security-groups,omitempty"`

	// Number of instances
	Size *int64 `json:"size,omitempty"`

	// SSH key
	SshKey *SshKey `json:"ssh-key,omitempty"`

	// Instance Pool state
	State *InstancePoolState `json:"state,omitempty"`

	// Instance template
	Template *Template `json:"template,omitempty"`

	// Instances Cloud-init user-data
	UserData *string `json:"user-data,omitempty"`
}

Instance Pool

type InstancePoolState

type InstancePoolState string

Instance Pool state

const (
	InstancePoolStateCreating InstancePoolState = "creating"

	InstancePoolStateDestroying InstancePoolState = "destroying"

	InstancePoolStateRunning InstancePoolState = "running"

	InstancePoolStateScalingDown InstancePoolState = "scaling-down"

	InstancePoolStateScalingUp InstancePoolState = "scaling-up"
)

Defines values for InstancePoolState.

type InstanceState

type InstanceState string

Instance state

const (
	InstanceStateDestroyed InstanceState = "destroyed"

	InstanceStateDestroying InstanceState = "destroying"

	InstanceStateError InstanceState = "error"

	InstanceStateExpunging InstanceState = "expunging"

	InstanceStateMigrating InstanceState = "migrating"

	InstanceStateRunning InstanceState = "running"

	InstanceStateStarting InstanceState = "starting"

	InstanceStateStopped InstanceState = "stopped"

	InstanceStateStopping InstanceState = "stopping"
)

Defines values for InstanceState.

type InstanceType

type InstanceType struct {
	// Requires authorization or publicly available
	Authorized *bool `json:"authorized,omitempty"`

	// CPU count
	Cpus *int64 `json:"cpus,omitempty"`

	// Instance type family
	Family *InstanceTypeFamily `json:"family,omitempty"`

	// GPU count
	Gpus *int64 `json:"gpus,omitempty"`

	// Instance type ID
	Id *string `json:"id,omitempty"`

	// Available memory
	Memory *int64 `json:"memory,omitempty"`

	// Instance type size
	Size *InstanceTypeSize `json:"size,omitempty"`
}

Compute instance type

type InstanceTypeFamily

type InstanceTypeFamily string

Instance type family

const (
	InstanceTypeFamilyColossus InstanceTypeFamily = "colossus"

	InstanceTypeFamilyCpu InstanceTypeFamily = "cpu"

	InstanceTypeFamilyGpu InstanceTypeFamily = "gpu"

	InstanceTypeFamilyGpu2 InstanceTypeFamily = "gpu2"

	InstanceTypeFamilyMemory InstanceTypeFamily = "memory"

	InstanceTypeFamilyStandard InstanceTypeFamily = "standard"

	InstanceTypeFamilyStorage InstanceTypeFamily = "storage"
)

Defines values for InstanceTypeFamily.

type InstanceTypeSize

type InstanceTypeSize string

Instance type size

const (
	InstanceTypeSizeColossus InstanceTypeSize = "colossus"

	InstanceTypeSizeExtraLarge InstanceTypeSize = "extra-large"

	InstanceTypeSizeHuge InstanceTypeSize = "huge"

	InstanceTypeSizeJumbo InstanceTypeSize = "jumbo"

	InstanceTypeSizeLarge InstanceTypeSize = "large"

	InstanceTypeSizeMedium InstanceTypeSize = "medium"

	InstanceTypeSizeMega InstanceTypeSize = "mega"

	InstanceTypeSizeMicro InstanceTypeSize = "micro"

	InstanceTypeSizeSmall InstanceTypeSize = "small"

	InstanceTypeSizeTiny InstanceTypeSize = "tiny"

	InstanceTypeSizeTitan InstanceTypeSize = "titan"
)

Defines values for InstanceTypeSize.

type Labels

type Labels struct {
	AdditionalProperties map[string]string `json:"-"`
}

Labels defines model for labels.

func (Labels) Get

func (a Labels) Get(fieldName string) (value string, found bool)

Getter for additional properties for Labels. Returns the specified element and whether it was found

func (Labels) MarshalJSON

func (a Labels) MarshalJSON() ([]byte, error)

Override default JSON handling for Labels to handle AdditionalProperties

func (*Labels) Set

func (a *Labels) Set(fieldName string, value string)

Setter for additional properties for Labels

func (*Labels) UnmarshalJSON

func (a *Labels) UnmarshalJSON(b []byte) error

Override default JSON handling for Labels to handle AdditionalProperties

type ListAntiAffinityGroupsResponse

type ListAntiAffinityGroupsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		AntiAffinityGroups *[]AntiAffinityGroup `json:"anti-affinity-groups,omitempty"`
	}
}

func ParseListAntiAffinityGroupsResponse

func ParseListAntiAffinityGroupsResponse(rsp *http.Response) (*ListAntiAffinityGroupsResponse, error)

ParseListAntiAffinityGroupsResponse parses an HTTP response from a ListAntiAffinityGroupsWithResponse call

func (ListAntiAffinityGroupsResponse) Status

Status returns HTTPResponse.Status

func (ListAntiAffinityGroupsResponse) StatusCode

func (r ListAntiAffinityGroupsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListDbaasServiceTypesResponse

type ListDbaasServiceTypesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		DbaasServiceTypes *[]DbaasServiceType `json:"dbaas-service-types,omitempty"`
	}
}

func ParseListDbaasServiceTypesResponse

func ParseListDbaasServiceTypesResponse(rsp *http.Response) (*ListDbaasServiceTypesResponse, error)

ParseListDbaasServiceTypesResponse parses an HTTP response from a ListDbaasServiceTypesWithResponse call

func (ListDbaasServiceTypesResponse) Status

Status returns HTTPResponse.Status

func (ListDbaasServiceTypesResponse) StatusCode

func (r ListDbaasServiceTypesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListDbaasServicesResponse

type ListDbaasServicesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		DbaasServices *[]DbaasServiceCommon `json:"dbaas-services,omitempty"`
	}
}

func ParseListDbaasServicesResponse

func ParseListDbaasServicesResponse(rsp *http.Response) (*ListDbaasServicesResponse, error)

ParseListDbaasServicesResponse parses an HTTP response from a ListDbaasServicesWithResponse call

func (ListDbaasServicesResponse) Status

func (r ListDbaasServicesResponse) Status() string

Status returns HTTPResponse.Status

func (ListDbaasServicesResponse) StatusCode

func (r ListDbaasServicesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListDeployTargetsResponse

type ListDeployTargetsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		DeployTargets *[]DeployTarget `json:"deploy-targets,omitempty"`
	}
}

func ParseListDeployTargetsResponse

func ParseListDeployTargetsResponse(rsp *http.Response) (*ListDeployTargetsResponse, error)

ParseListDeployTargetsResponse parses an HTTP response from a ListDeployTargetsWithResponse call

func (ListDeployTargetsResponse) Status

func (r ListDeployTargetsResponse) Status() string

Status returns HTTPResponse.Status

func (ListDeployTargetsResponse) StatusCode

func (r ListDeployTargetsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListDnsDomainRecordsResponse added in v0.78.0

type ListDnsDomainRecordsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		DnsDomainRecords *[]DnsDomainRecord `json:"dns-domain-records,omitempty"`
	}
}

func ParseListDnsDomainRecordsResponse added in v0.78.0

func ParseListDnsDomainRecordsResponse(rsp *http.Response) (*ListDnsDomainRecordsResponse, error)

ParseListDnsDomainRecordsResponse parses an HTTP response from a ListDnsDomainRecordsWithResponse call

func (ListDnsDomainRecordsResponse) Status added in v0.78.0

Status returns HTTPResponse.Status

func (ListDnsDomainRecordsResponse) StatusCode added in v0.78.0

func (r ListDnsDomainRecordsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListDnsDomainsResponse added in v0.78.0

type ListDnsDomainsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		DnsDomains *[]DnsDomain `json:"dns-domains,omitempty"`
	}
}

func ParseListDnsDomainsResponse added in v0.78.0

func ParseListDnsDomainsResponse(rsp *http.Response) (*ListDnsDomainsResponse, error)

ParseListDnsDomainsResponse parses an HTTP response from a ListDnsDomainsWithResponse call

func (ListDnsDomainsResponse) Status added in v0.78.0

func (r ListDnsDomainsResponse) Status() string

Status returns HTTPResponse.Status

func (ListDnsDomainsResponse) StatusCode added in v0.78.0

func (r ListDnsDomainsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListElasticIpsResponse

type ListElasticIpsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		ElasticIps *[]ElasticIp `json:"elastic-ips,omitempty"`
	}
}

func ParseListElasticIpsResponse

func ParseListElasticIpsResponse(rsp *http.Response) (*ListElasticIpsResponse, error)

ParseListElasticIpsResponse parses an HTTP response from a ListElasticIpsWithResponse call

func (ListElasticIpsResponse) Status

func (r ListElasticIpsResponse) Status() string

Status returns HTTPResponse.Status

func (ListElasticIpsResponse) StatusCode

func (r ListElasticIpsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListEventsParams

type ListEventsParams struct {
	From *time.Time `json:"from,omitempty"`
	To   *time.Time `json:"to,omitempty"`
}

ListEventsParams defines parameters for ListEvents.

type ListEventsResponse

type ListEventsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]Event
}

func ParseListEventsResponse

func ParseListEventsResponse(rsp *http.Response) (*ListEventsResponse, error)

ParseListEventsResponse parses an HTTP response from a ListEventsWithResponse call

func (ListEventsResponse) Status

func (r ListEventsResponse) Status() string

Status returns HTTPResponse.Status

func (ListEventsResponse) StatusCode

func (r ListEventsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListInstancePoolsResponse

type ListInstancePoolsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		InstancePools *[]InstancePool `json:"instance-pools,omitempty"`
	}
}

func ParseListInstancePoolsResponse

func ParseListInstancePoolsResponse(rsp *http.Response) (*ListInstancePoolsResponse, error)

ParseListInstancePoolsResponse parses an HTTP response from a ListInstancePoolsWithResponse call

func (ListInstancePoolsResponse) Status

func (r ListInstancePoolsResponse) Status() string

Status returns HTTPResponse.Status

func (ListInstancePoolsResponse) StatusCode

func (r ListInstancePoolsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListInstanceTypesResponse

type ListInstanceTypesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		InstanceTypes *[]InstanceType `json:"instance-types,omitempty"`
	}
}

func ParseListInstanceTypesResponse

func ParseListInstanceTypesResponse(rsp *http.Response) (*ListInstanceTypesResponse, error)

ParseListInstanceTypesResponse parses an HTTP response from a ListInstanceTypesWithResponse call

func (ListInstanceTypesResponse) Status

func (r ListInstanceTypesResponse) Status() string

Status returns HTTPResponse.Status

func (ListInstanceTypesResponse) StatusCode

func (r ListInstanceTypesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListInstancesParams

type ListInstancesParams struct {
	ManagerId   *string                         `json:"manager-id,omitempty"`
	ManagerType *ListInstancesParamsManagerType `json:"manager-type,omitempty"`
}

ListInstancesParams defines parameters for ListInstances.

type ListInstancesParamsManagerType

type ListInstancesParamsManagerType string

ListInstancesParamsManagerType defines parameters for ListInstances.

type ListInstancesResponse

type ListInstancesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Instances *[]Instance `json:"instances,omitempty"`
	}
}

func ParseListInstancesResponse

func ParseListInstancesResponse(rsp *http.Response) (*ListInstancesResponse, error)

ParseListInstancesResponse parses an HTTP response from a ListInstancesWithResponse call

func (ListInstancesResponse) Status

func (r ListInstancesResponse) Status() string

Status returns HTTPResponse.Status

func (ListInstancesResponse) StatusCode

func (r ListInstancesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListLoadBalancersResponse

type ListLoadBalancersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		LoadBalancers *[]LoadBalancer `json:"load-balancers,omitempty"`
	}
}

func ParseListLoadBalancersResponse

func ParseListLoadBalancersResponse(rsp *http.Response) (*ListLoadBalancersResponse, error)

ParseListLoadBalancersResponse parses an HTTP response from a ListLoadBalancersWithResponse call

func (ListLoadBalancersResponse) Status

func (r ListLoadBalancersResponse) Status() string

Status returns HTTPResponse.Status

func (ListLoadBalancersResponse) StatusCode

func (r ListLoadBalancersResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListPrivateNetworksResponse

type ListPrivateNetworksResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		PrivateNetworks *[]PrivateNetwork `json:"private-networks,omitempty"`
	}
}

func ParseListPrivateNetworksResponse

func ParseListPrivateNetworksResponse(rsp *http.Response) (*ListPrivateNetworksResponse, error)

ParseListPrivateNetworksResponse parses an HTTP response from a ListPrivateNetworksWithResponse call

func (ListPrivateNetworksResponse) Status

Status returns HTTPResponse.Status

func (ListPrivateNetworksResponse) StatusCode

func (r ListPrivateNetworksResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListQuotasResponse

type ListQuotasResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Quotas *[]Quota `json:"quotas,omitempty"`
	}
}

func ParseListQuotasResponse

func ParseListQuotasResponse(rsp *http.Response) (*ListQuotasResponse, error)

ParseListQuotasResponse parses an HTTP response from a ListQuotasWithResponse call

func (ListQuotasResponse) Status

func (r ListQuotasResponse) Status() string

Status returns HTTPResponse.Status

func (ListQuotasResponse) StatusCode

func (r ListQuotasResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListSecurityGroupsResponse

type ListSecurityGroupsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		SecurityGroups *[]SecurityGroup `json:"security-groups,omitempty"`
	}
}

func ParseListSecurityGroupsResponse

func ParseListSecurityGroupsResponse(rsp *http.Response) (*ListSecurityGroupsResponse, error)

ParseListSecurityGroupsResponse parses an HTTP response from a ListSecurityGroupsWithResponse call

func (ListSecurityGroupsResponse) Status

Status returns HTTPResponse.Status

func (ListSecurityGroupsResponse) StatusCode

func (r ListSecurityGroupsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListSksClusterVersionsParams added in v0.79.0

type ListSksClusterVersionsParams struct {
	IncludeDeprecated *string `json:"include-deprecated,omitempty"`
}

ListSksClusterVersionsParams defines parameters for ListSksClusterVersions.

type ListSksClusterVersionsResponse

type ListSksClusterVersionsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		SksClusterVersions *[]string `json:"sks-cluster-versions,omitempty"`
	}
}

func ParseListSksClusterVersionsResponse

func ParseListSksClusterVersionsResponse(rsp *http.Response) (*ListSksClusterVersionsResponse, error)

ParseListSksClusterVersionsResponse parses an HTTP response from a ListSksClusterVersionsWithResponse call

func (ListSksClusterVersionsResponse) Status

Status returns HTTPResponse.Status

func (ListSksClusterVersionsResponse) StatusCode

func (r ListSksClusterVersionsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListSksClustersResponse

type ListSksClustersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		SksClusters *[]SksCluster `json:"sks-clusters,omitempty"`
	}
}

func ParseListSksClustersResponse

func ParseListSksClustersResponse(rsp *http.Response) (*ListSksClustersResponse, error)

ParseListSksClustersResponse parses an HTTP response from a ListSksClustersWithResponse call

func (ListSksClustersResponse) Status

func (r ListSksClustersResponse) Status() string

Status returns HTTPResponse.Status

func (ListSksClustersResponse) StatusCode

func (r ListSksClustersResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListSnapshotsResponse

type ListSnapshotsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Snapshots *[]Snapshot `json:"snapshots,omitempty"`
	}
}

func ParseListSnapshotsResponse

func ParseListSnapshotsResponse(rsp *http.Response) (*ListSnapshotsResponse, error)

ParseListSnapshotsResponse parses an HTTP response from a ListSnapshotsWithResponse call

func (ListSnapshotsResponse) Status

func (r ListSnapshotsResponse) Status() string

Status returns HTTPResponse.Status

func (ListSnapshotsResponse) StatusCode

func (r ListSnapshotsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListSshKeysResponse

type ListSshKeysResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		SshKeys *[]SshKey `json:"ssh-keys,omitempty"`
	}
}

func ParseListSshKeysResponse

func ParseListSshKeysResponse(rsp *http.Response) (*ListSshKeysResponse, error)

ParseListSshKeysResponse parses an HTTP response from a ListSshKeysWithResponse call

func (ListSshKeysResponse) Status

func (r ListSshKeysResponse) Status() string

Status returns HTTPResponse.Status

func (ListSshKeysResponse) StatusCode

func (r ListSshKeysResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListTemplatesParams

type ListTemplatesParams struct {
	Visibility *ListTemplatesParamsVisibility `json:"visibility,omitempty"`
	Family     *string                        `json:"family,omitempty"`
}

ListTemplatesParams defines parameters for ListTemplates.

type ListTemplatesParamsVisibility

type ListTemplatesParamsVisibility string

ListTemplatesParamsVisibility defines parameters for ListTemplates.

type ListTemplatesResponse

type ListTemplatesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Templates *[]Template `json:"templates,omitempty"`
	}
}

func ParseListTemplatesResponse

func ParseListTemplatesResponse(rsp *http.Response) (*ListTemplatesResponse, error)

ParseListTemplatesResponse parses an HTTP response from a ListTemplatesWithResponse call

func (ListTemplatesResponse) Status

func (r ListTemplatesResponse) Status() string

Status returns HTTPResponse.Status

func (ListTemplatesResponse) StatusCode

func (r ListTemplatesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListZonesResponse

type ListZonesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Zones *[]Zone `json:"zones,omitempty"`
	}
}

func ParseListZonesResponse

func ParseListZonesResponse(rsp *http.Response) (*ListZonesResponse, error)

ParseListZonesResponse parses an HTTP response from a ListZonesWithResponse call

func (ListZonesResponse) Status

func (r ListZonesResponse) Status() string

Status returns HTTPResponse.Status

func (ListZonesResponse) StatusCode

func (r ListZonesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type LoadBalancer

type LoadBalancer struct {
	// Load Balancer creation date
	CreatedAt *time.Time `json:"created-at,omitempty"`

	// Load Balancer description
	Description *string `json:"description,omitempty"`

	// Load Balancer ID
	Id *string `json:"id,omitempty"`

	// Load Balancer public IP
	Ip     *string `json:"ip,omitempty"`
	Labels *Labels `json:"labels,omitempty"`

	// Load Balancer name
	Name *string `json:"name,omitempty"`

	// Load Balancer Services
	Services *[]LoadBalancerService `json:"services,omitempty"`

	// Load Balancer state
	State *LoadBalancerState `json:"state,omitempty"`
}

Load Balancer

type LoadBalancerServerStatus

type LoadBalancerServerStatus struct {
	// Backend server public IP
	PublicIp *string `json:"public-ip,omitempty"`

	// Status of the instance's healthcheck
	Status *LoadBalancerServerStatusStatus `json:"status,omitempty"`
}

Load Balancer Service status

type LoadBalancerServerStatusStatus

type LoadBalancerServerStatusStatus string

Status of the instance's healthcheck

const (
	LoadBalancerServerStatusStatusFailure LoadBalancerServerStatusStatus = "failure"

	LoadBalancerServerStatusStatusSuccess LoadBalancerServerStatusStatus = "success"
)

Defines values for LoadBalancerServerStatusStatus.

type LoadBalancerService

type LoadBalancerService struct {
	// Load Balancer Service description
	Description *string `json:"description,omitempty"`

	// Load Balancer Service healthcheck
	Healthcheck *LoadBalancerServiceHealthcheck `json:"healthcheck,omitempty"`

	// Healthcheck status per backend server
	HealthcheckStatus *[]LoadBalancerServerStatus `json:"healthcheck-status,omitempty"`

	// Load Balancer Service ID
	Id *string `json:"id,omitempty"`

	// Instance Pool
	InstancePool *InstancePool `json:"instance-pool,omitempty"`

	// Load Balancer Service name
	Name *string `json:"name,omitempty"`

	// Port exposed on the Load Balancer's public IP
	Port *int64 `json:"port,omitempty"`

	// Network traffic protocol
	Protocol *LoadBalancerServiceProtocol `json:"protocol,omitempty"`

	// Load Balancer Service state
	State *LoadBalancerServiceState `json:"state,omitempty"`

	// Load balancing strategy
	Strategy *LoadBalancerServiceStrategy `json:"strategy,omitempty"`

	// Port on which the network traffic will be forwarded to on the receiving instance
	TargetPort *int64 `json:"target-port,omitempty"`
}

Load Balancer Service

type LoadBalancerServiceHealthcheck

type LoadBalancerServiceHealthcheck struct {
	// Healthcheck interval (default: 10)
	Interval *int64 `json:"interval,omitempty"`

	// Healthcheck mode
	Mode *LoadBalancerServiceHealthcheckMode `json:"mode,omitempty"`

	// Healthcheck port
	Port *int64 `json:"port,omitempty"`

	// Number of retries before considering a Service failed
	Retries *int64 `json:"retries,omitempty"`

	// Healthcheck timeout value (default: 2)
	Timeout *int64 `json:"timeout,omitempty"`

	// SNI domain for HTTPS healthchecks
	TlsSni *string `json:"tls-sni,omitempty"`

	// Healthcheck URI
	Uri *string `json:"uri,omitempty"`
}

Load Balancer Service healthcheck

type LoadBalancerServiceHealthcheckMode

type LoadBalancerServiceHealthcheckMode string

Healthcheck mode

const (
	LoadBalancerServiceHealthcheckModeHttp LoadBalancerServiceHealthcheckMode = "http"

	LoadBalancerServiceHealthcheckModeHttps LoadBalancerServiceHealthcheckMode = "https"

	LoadBalancerServiceHealthcheckModeTcp LoadBalancerServiceHealthcheckMode = "tcp"
)

Defines values for LoadBalancerServiceHealthcheckMode.

type LoadBalancerServiceProtocol

type LoadBalancerServiceProtocol string

Network traffic protocol

const (
	LoadBalancerServiceProtocolTcp LoadBalancerServiceProtocol = "tcp"

	LoadBalancerServiceProtocolUdp LoadBalancerServiceProtocol = "udp"
)

Defines values for LoadBalancerServiceProtocol.

type LoadBalancerServiceState

type LoadBalancerServiceState string

Load Balancer Service state

const (
	LoadBalancerServiceStateCreating LoadBalancerServiceState = "creating"

	LoadBalancerServiceStateDeleting LoadBalancerServiceState = "deleting"

	LoadBalancerServiceStateError LoadBalancerServiceState = "error"

	LoadBalancerServiceStateRunning LoadBalancerServiceState = "running"

	LoadBalancerServiceStateUpdating LoadBalancerServiceState = "updating"
)

Defines values for LoadBalancerServiceState.

type LoadBalancerServiceStrategy

type LoadBalancerServiceStrategy string

Load balancing strategy

const (
	LoadBalancerServiceStrategyRoundRobin LoadBalancerServiceStrategy = "round-robin"

	LoadBalancerServiceStrategySourceHash LoadBalancerServiceStrategy = "source-hash"
)

Defines values for LoadBalancerServiceStrategy.

type LoadBalancerState

type LoadBalancerState string

Load Balancer state

const (
	LoadBalancerStateCreating LoadBalancerState = "creating"

	LoadBalancerStateDeleting LoadBalancerState = "deleting"

	LoadBalancerStateError LoadBalancerState = "error"

	LoadBalancerStateRunning LoadBalancerState = "running"
)

Defines values for LoadBalancerState.

type Manager

type Manager struct {
	// Manager ID
	Id *string `json:"id,omitempty"`

	// Manager type
	Type *ManagerType `json:"type,omitempty"`
}

Resource manager

type ManagerType

type ManagerType string

Manager type

const (
	ManagerTypeInstancePool ManagerType = "instance-pool"

	ManagerTypeSksNodepool ManagerType = "sks-nodepool"
)

Defines values for ManagerType.

type MockClient

func NewMockClient

func NewMockClient() *MockClient

func (*MockClient) Do

func (c *MockClient) Do(req *http.Request) (*http.Response, error)

type Operation

type Operation struct {
	// Operation ID
	Id *string `json:"id,omitempty"`

	// Operation message
	Message *string `json:"message,omitempty"`

	// Operation failure reason
	Reason *OperationReason `json:"reason,omitempty"`

	// Resource reference
	Reference *Reference `json:"reference,omitempty"`

	// Operation status
	State *OperationState `json:"state,omitempty"`
}

Operation

type OperationReason

type OperationReason string

Operation failure reason

const (
	OperationReasonBusy OperationReason = "busy"

	OperationReasonConflict OperationReason = "conflict"

	OperationReasonFault OperationReason = "fault"

	OperationReasonForbidden OperationReason = "forbidden"

	OperationReasonIncorrect OperationReason = "incorrect"

	OperationReasonInterrupted OperationReason = "interrupted"

	OperationReasonNotFound OperationReason = "not-found"

	OperationReasonPartial OperationReason = "partial"

	OperationReasonUnavailable OperationReason = "unavailable"

	OperationReasonUnknown OperationReason = "unknown"

	OperationReasonUnsupported OperationReason = "unsupported"
)

Defines values for OperationReason.

type OperationState

type OperationState string

Operation status

const (
	OperationStateFailure OperationState = "failure"

	OperationStatePending OperationState = "pending"

	OperationStateSuccess OperationState = "success"

	OperationStateTimeout OperationState = "timeout"
)

Defines values for OperationState.

type PollFunc

type PollFunc func(ctx context.Context) (bool, interface{}, error)

PollFunc represents a function invoked periodically in a polling loop. It returns a boolean flag true if the job is completed or false if polling must continue, and any error that occurred during the polling (which interrupts the polling regardless of the boolean flag value). Upon successful completion, an interface descring an opaque operation can be returned to the caller, which will have to perform type assertion depending on the PollFunc implementation.

type Poller

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

Poller represents a poller instance.

func NewPoller

func NewPoller() *Poller

NewPoller returns a Poller instance.

func (*Poller) Poll

func (p *Poller) Poll(ctx context.Context, pf PollFunc) (interface{}, error)

Poll starts the polling routine, executing the provided polling function at the configured polling interval. Upon successful polling, an opaque operation is returned to the caller, which actual type has to asserted depending on the PollFunc executed.

func (*Poller) WithInterval

func (p *Poller) WithInterval(interval time.Duration) *Poller

WithInterval sets the interval at which the polling function will be executed (default: 3s).

func (*Poller) WithTimeout

func (p *Poller) WithTimeout(timeout time.Duration) *Poller

WithTimeout sets the time out value after which the polling routine will be cancelled (default: no time out).

type PrivateNetwork

type PrivateNetwork struct {
	// Private Network description
	Description *string `json:"description,omitempty"`

	// Private Network end IP address
	EndIp *string `json:"end-ip,omitempty"`

	// Private Network ID
	Id     *string `json:"id,omitempty"`
	Labels *Labels `json:"labels,omitempty"`

	// Private Network leased IP addresses
	Leases *[]PrivateNetworkLease `json:"leases,omitempty"`

	// Private Network name
	Name *string `json:"name,omitempty"`

	// Private Network netmask
	Netmask *string `json:"netmask,omitempty"`

	// Private Network start IP address
	StartIp *string `json:"start-ip,omitempty"`
}

Private Network

type PrivateNetworkLease

type PrivateNetworkLease struct {
	// Attached instance ID
	InstanceId *string `json:"instance-id,omitempty"`

	// Private Network IP address
	Ip *string `json:"ip,omitempty"`
}

Private Network leased IP address

type Quota

type Quota struct {
	// Resource Limit. -1 for Unlimited
	Limit *int64 `json:"limit,omitempty"`

	// Resource Name
	Resource *string `json:"resource,omitempty"`

	// Resource Usage
	Usage *int64 `json:"usage,omitempty"`
}

Organization Quota

type RebootInstanceResponse

type RebootInstanceResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Operation
}

func ParseRebootInstanceResponse

func ParseRebootInstanceResponse(rsp *http.Response) (*RebootInstanceResponse, error)

ParseRebootInstanceResponse parses an HTTP response from a RebootInstanceWithResponse call

func (RebootInstanceResponse) Status

func (r RebootInstanceResponse) Status() string

Status returns HTTPResponse.Status

func (RebootInstanceResponse) StatusCode

func (r RebootInstanceResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Reference

type Reference struct {
	// Command name
	Command *string `json:"command,omitempty"`

	// Reference ID
	Id *string `json:"id,omitempty"`

	// Link to the referenced resource
	Link *string `json:"link,omitempty"`
}

Resource reference

type RegisterSshKeyJSONBody

type RegisterSshKeyJSONBody struct {
	// Private Network name
	Name string `json:"name"`

	// Public key value
	PublicKey string `json:"public-key"`
}

RegisterSshKeyJSONBody defines parameters for RegisterSshKey.

type RegisterSshKeyJSONRequestBody

type RegisterSshKeyJSONRequestBody RegisterSshKeyJSONBody

RegisterSshKeyJSONRequestBody defines body for RegisterSshKey for application/json ContentType.

type RegisterSshKeyResponse

type RegisterSshKeyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Operation
}

func ParseRegisterSshKeyResponse

func ParseRegisterSshKeyResponse(rsp *http.Response) (*RegisterSshKeyResponse, error)

ParseRegisterSshKeyResponse parses an HTTP response from a RegisterSshKeyWithResponse call

func (RegisterSshKeyResponse) Status

func (r RegisterSshKeyResponse) Status() string

Status returns HTTPResponse.Status

func (RegisterSshKeyResponse) StatusCode

func (r RegisterSshKeyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RegisterTemplateJSONBody

type RegisterTemplateJSONBody struct {
	// Boot mode (default: legacy)
	BootMode *RegisterTemplateJSONBodyBootMode `json:"boot-mode,omitempty"`

	// Template MD5 checksum
	Checksum string `json:"checksum"`

	// Template default user
	DefaultUser *string `json:"default-user,omitempty"`

	// Template description
	Description *string `json:"description,omitempty"`

	// Template name
	Name string `json:"name"`

	// Enable password based login
	PasswordEnabled bool `json:"password-enabled"`

	// Template size
	Size *int64 `json:"size,omitempty"`

	// Enable SSH key based login
	SshKeyEnabled bool `json:"ssh-key-enabled"`

	// Template source URL
	Url string `json:"url"`
}

RegisterTemplateJSONBody defines parameters for RegisterTemplate.

type RegisterTemplateJSONBodyBootMode

type RegisterTemplateJSONBodyBootMode string

RegisterTemplateJSONBodyBootMode defines parameters for RegisterTemplate.

type RegisterTemplateJSONRequestBody

type RegisterTemplateJSONRequestBody RegisterTemplateJSONBody

RegisterTemplateJSONRequestBody defines body for RegisterTemplate for application/json ContentType.

type RegisterTemplateResponse

type RegisterTemplateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Operation
}

func ParseRegisterTemplateResponse

func ParseRegisterTemplateResponse(rsp *http.Response) (*RegisterTemplateResponse, error)

ParseRegisterTemplateResponse parses an HTTP response from a RegisterTemplateWithResponse call

func (RegisterTemplateResponse) Status

func (r RegisterTemplateResponse) Status() string

Status returns HTTPResponse.Status

func (RegisterTemplateResponse) StatusCode

func (r RegisterTemplateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RemoveExternalSourceFromSecurityGroupJSONBody

type RemoveExternalSourceFromSecurityGroupJSONBody struct {
	// CIDR-formatted network to remove
	Cidr string `json:"cidr"`
}

RemoveExternalSourceFromSecurityGroupJSONBody defines parameters for RemoveExternalSourceFromSecurityGroup.

type RemoveExternalSourceFromSecurityGroupJSONRequestBody

type RemoveExternalSourceFromSecurityGroupJSONRequestBody RemoveExternalSourceFromSecurityGroupJSONBody

RemoveExternalSourceFromSecurityGroupJSONRequestBody defines body for RemoveExternalSourceFromSecurityGroup for application/json ContentType.

type RemoveExternalSourceFromSecurityGroupResponse

type RemoveExternalSourceFromSecurityGroupResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Operation
}

func ParseRemoveExternalSourceFromSecurityGroupResponse

func ParseRemoveExternalSourceFromSecurityGroupResponse(rsp *http.Response) (*RemoveExternalSourceFromSecurityGroupResponse, error)

ParseRemoveExternalSourceFromSecurityGroupResponse parses an HTTP response from a RemoveExternalSourceFromSecurityGroupWithResponse call

func (RemoveExternalSourceFromSecurityGroupResponse) Status

Status returns HTTPResponse.Status

func (RemoveExternalSourceFromSecurityGroupResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type RequestEditorFn

type RequestEditorFn func(ctx context.Context, req *http.Request) error

RequestEditorFn is the function signature for the RequestEditor callback function

func MultiRequestsEditor

func MultiRequestsEditor(fns ...RequestEditorFn) RequestEditorFn

MultiRequestsEditor is an oapi-codegen compatible RequestEditorFn function that executes multiple RequestEditorFn functions sequentially.

type ResetElasticIpFieldParamsField

type ResetElasticIpFieldParamsField string

ResetElasticIpFieldParamsField defines parameters for ResetElasticIpField.

type ResetElasticIpFieldResponse

type ResetElasticIpFieldResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Operation
}

func ParseResetElasticIpFieldResponse

func ParseResetElasticIpFieldResponse(rsp *http.Response) (*ResetElasticIpFieldResponse, error)

ParseResetElasticIpFieldResponse parses an HTTP response from a ResetElasticIpFieldWithResponse call

func (ResetElasticIpFieldResponse) Status

Status returns HTTPResponse.Status

func (ResetElasticIpFieldResponse) StatusCode

func (r ResetElasticIpFieldResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ResetInstanceFieldParamsField

type ResetInstanceFieldParamsField string

ResetInstanceFieldParamsField defines parameters for ResetInstanceField.

type ResetInstanceFieldResponse

type ResetInstanceFieldResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Operation
}

func ParseResetInstanceFieldResponse

func ParseResetInstanceFieldResponse(rsp *http.Response) (*ResetInstanceFieldResponse, error)

ParseResetInstanceFieldResponse parses an HTTP response from a ResetInstanceFieldWithResponse call

func (ResetInstanceFieldResponse) Status

Status returns HTTPResponse.Status

func (ResetInstanceFieldResponse) StatusCode

func (r ResetInstanceFieldResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ResetInstanceJSONBody

type ResetInstanceJSONBody struct {
	// Instance disk size in GB
	DiskSize *int64 `json:"disk-size,omitempty"`

	// Instance template
	Template *Template `json:"template,omitempty"`
}

ResetInstanceJSONBody defines parameters for ResetInstance.

type ResetInstanceJSONRequestBody

type ResetInstanceJSONRequestBody ResetInstanceJSONBody

ResetInstanceJSONRequestBody defines body for ResetInstance for application/json ContentType.

type ResetInstancePoolFieldParamsField

type ResetInstancePoolFieldParamsField string

ResetInstancePoolFieldParamsField defines parameters for ResetInstancePoolField.

type ResetInstancePoolFieldResponse

type ResetInstancePoolFieldResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Operation
}

func ParseResetInstancePoolFieldResponse

func ParseResetInstancePoolFieldResponse(rsp *http.Response) (*ResetInstancePoolFieldResponse, error)

ParseResetInstancePoolFieldResponse parses an HTTP response from a ResetInstancePoolFieldWithResponse call

func (ResetInstancePoolFieldResponse) Status

Status returns HTTPResponse.Status

func (ResetInstancePoolFieldResponse) StatusCode

func (r ResetInstancePoolFieldResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ResetInstanceResponse

type ResetInstanceResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Operation
}

func ParseResetInstanceResponse

func ParseResetInstanceResponse(rsp *http.Response) (*ResetInstanceResponse, error)

ParseResetInstanceResponse parses an HTTP response from a ResetInstanceWithResponse call

func (ResetInstanceResponse) Status

func (r ResetInstanceResponse) Status() string

Status returns HTTPResponse.Status

func (ResetInstanceResponse) StatusCode

func (r ResetInstanceResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ResetLoadBalancerFieldParamsField

type ResetLoadBalancerFieldParamsField string

ResetLoadBalancerFieldParamsField defines parameters for ResetLoadBalancerField.

type ResetLoadBalancerFieldResponse

type ResetLoadBalancerFieldResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Operation
}

func ParseResetLoadBalancerFieldResponse

func ParseResetLoadBalancerFieldResponse(rsp *http.Response) (*ResetLoadBalancerFieldResponse, error)

ParseResetLoadBalancerFieldResponse parses an HTTP response from a ResetLoadBalancerFieldWithResponse call

func (ResetLoadBalancerFieldResponse) Status

Status returns HTTPResponse.Status

func (ResetLoadBalancerFieldResponse) StatusCode

func (r ResetLoadBalancerFieldResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ResetLoadBalancerServiceFieldParamsField

type ResetLoadBalancerServiceFieldParamsField string

ResetLoadBalancerServiceFieldParamsField defines parameters for ResetLoadBalancerServiceField.

type ResetLoadBalancerServiceFieldResponse

type ResetLoadBalancerServiceFieldResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Operation
}

func ParseResetLoadBalancerServiceFieldResponse

func ParseResetLoadBalancerServiceFieldResponse(rsp *http.Response) (*ResetLoadBalancerServiceFieldResponse, error)

ParseResetLoadBalancerServiceFieldResponse parses an HTTP response from a ResetLoadBalancerServiceFieldWithResponse call

func (ResetLoadBalancerServiceFieldResponse) Status

Status returns HTTPResponse.Status

func (ResetLoadBalancerServiceFieldResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ResetPrivateNetworkFieldParamsField

type ResetPrivateNetworkFieldParamsField string

ResetPrivateNetworkFieldParamsField defines parameters for ResetPrivateNetworkField.

type ResetPrivateNetworkFieldResponse

type ResetPrivateNetworkFieldResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Operation
}

func ParseResetPrivateNetworkFieldResponse

func ParseResetPrivateNetworkFieldResponse(rsp *http.Response) (*ResetPrivateNetworkFieldResponse, error)

ParseResetPrivateNetworkFieldResponse parses an HTTP response from a ResetPrivateNetworkFieldWithResponse call

func (ResetPrivateNetworkFieldResponse) Status

Status returns HTTPResponse.Status

func (ResetPrivateNetworkFieldResponse) StatusCode

func (r ResetPrivateNetworkFieldResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ResetSksClusterFieldParamsField

type ResetSksClusterFieldParamsField string

ResetSksClusterFieldParamsField defines parameters for ResetSksClusterField.

type ResetSksClusterFieldResponse

type ResetSksClusterFieldResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Operation
}

func ParseResetSksClusterFieldResponse

func ParseResetSksClusterFieldResponse(rsp *http.Response) (*ResetSksClusterFieldResponse, error)

ParseResetSksClusterFieldResponse parses an HTTP response from a ResetSksClusterFieldWithResponse call

func (ResetSksClusterFieldResponse) Status

Status returns HTTPResponse.Status

func (ResetSksClusterFieldResponse) StatusCode

func (r ResetSksClusterFieldResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ResetSksNodepoolFieldParamsField

type ResetSksNodepoolFieldParamsField string

ResetSksNodepoolFieldParamsField defines parameters for ResetSksNodepoolField.

type ResetSksNodepoolFieldResponse

type ResetSksNodepoolFieldResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Operation
}

func ParseResetSksNodepoolFieldResponse

func ParseResetSksNodepoolFieldResponse(rsp *http.Response) (*ResetSksNodepoolFieldResponse, error)

ParseResetSksNodepoolFieldResponse parses an HTTP response from a ResetSksNodepoolFieldWithResponse call

func (ResetSksNodepoolFieldResponse) Status

Status returns HTTPResponse.Status

func (ResetSksNodepoolFieldResponse) StatusCode

func (r ResetSksNodepoolFieldResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ResizeInstanceDiskJSONBody

type ResizeInstanceDiskJSONBody struct {
	// Instance disk size in GB
	DiskSize int64 `json:"disk-size"`
}

ResizeInstanceDiskJSONBody defines parameters for ResizeInstanceDisk.

type ResizeInstanceDiskJSONRequestBody

type ResizeInstanceDiskJSONRequestBody ResizeInstanceDiskJSONBody

ResizeInstanceDiskJSONRequestBody defines body for ResizeInstanceDisk for application/json ContentType.

type ResizeInstanceDiskResponse

type ResizeInstanceDiskResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Operation
}

func ParseResizeInstanceDiskResponse

func ParseResizeInstanceDiskResponse(rsp *http.Response) (*ResizeInstanceDiskResponse, error)

ParseResizeInstanceDiskResponse parses an HTTP response from a ResizeInstanceDiskWithResponse call

func (ResizeInstanceDiskResponse) Status

Status returns HTTPResponse.Status

func (ResizeInstanceDiskResponse) StatusCode

func (r ResizeInstanceDiskResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RevertInstanceToSnapshotJSONBody

type RevertInstanceToSnapshotJSONBody struct {
	// Snapshot ID
	Id string `json:"id"`
}

RevertInstanceToSnapshotJSONBody defines parameters for RevertInstanceToSnapshot.

type RevertInstanceToSnapshotJSONRequestBody

type RevertInstanceToSnapshotJSONRequestBody RevertInstanceToSnapshotJSONBody

RevertInstanceToSnapshotJSONRequestBody defines body for RevertInstanceToSnapshot for application/json ContentType.

type RevertInstanceToSnapshotResponse

type RevertInstanceToSnapshotResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Operation
}

func ParseRevertInstanceToSnapshotResponse

func ParseRevertInstanceToSnapshotResponse(rsp *http.Response) (*RevertInstanceToSnapshotResponse, error)

ParseRevertInstanceToSnapshotResponse parses an HTTP response from a RevertInstanceToSnapshotWithResponse call

func (RevertInstanceToSnapshotResponse) Status

Status returns HTTPResponse.Status

func (RevertInstanceToSnapshotResponse) StatusCode

func (r RevertInstanceToSnapshotResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RotateSksCcmCredentialsResponse

type RotateSksCcmCredentialsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Operation
}

func ParseRotateSksCcmCredentialsResponse

func ParseRotateSksCcmCredentialsResponse(rsp *http.Response) (*RotateSksCcmCredentialsResponse, error)

ParseRotateSksCcmCredentialsResponse parses an HTTP response from a RotateSksCcmCredentialsWithResponse call

func (RotateSksCcmCredentialsResponse) Status

Status returns HTTPResponse.Status

func (RotateSksCcmCredentialsResponse) StatusCode

func (r RotateSksCcmCredentialsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ScaleInstanceJSONBody

type ScaleInstanceJSONBody struct {
	// Compute instance type
	InstanceType InstanceType `json:"instance-type"`
}

ScaleInstanceJSONBody defines parameters for ScaleInstance.

type ScaleInstanceJSONRequestBody

type ScaleInstanceJSONRequestBody ScaleInstanceJSONBody

ScaleInstanceJSONRequestBody defines body for ScaleInstance for application/json ContentType.

type ScaleInstancePoolJSONBody

type ScaleInstancePoolJSONBody struct {
	// Number of managed instances
	Size int64 `json:"size"`
}

ScaleInstancePoolJSONBody defines parameters for ScaleInstancePool.

type ScaleInstancePoolJSONRequestBody

type ScaleInstancePoolJSONRequestBody ScaleInstancePoolJSONBody

ScaleInstancePoolJSONRequestBody defines body for ScaleInstancePool for application/json ContentType.

type ScaleInstancePoolResponse

type ScaleInstancePoolResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Operation
}

func ParseScaleInstancePoolResponse

func ParseScaleInstancePoolResponse(rsp *http.Response) (*ScaleInstancePoolResponse, error)

ParseScaleInstancePoolResponse parses an HTTP response from a ScaleInstancePoolWithResponse call

func (ScaleInstancePoolResponse) Status

func (r ScaleInstancePoolResponse) Status() string

Status returns HTTPResponse.Status

func (ScaleInstancePoolResponse) StatusCode

func (r ScaleInstancePoolResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ScaleInstanceResponse

type ScaleInstanceResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Operation
}

func ParseScaleInstanceResponse

func ParseScaleInstanceResponse(rsp *http.Response) (*ScaleInstanceResponse, error)

ParseScaleInstanceResponse parses an HTTP response from a ScaleInstanceWithResponse call

func (ScaleInstanceResponse) Status

func (r ScaleInstanceResponse) Status() string

Status returns HTTPResponse.Status

func (ScaleInstanceResponse) StatusCode

func (r ScaleInstanceResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ScaleSksNodepoolJSONBody

type ScaleSksNodepoolJSONBody struct {
	// Number of instances
	Size int64 `json:"size"`
}

ScaleSksNodepoolJSONBody defines parameters for ScaleSksNodepool.

type ScaleSksNodepoolJSONRequestBody

type ScaleSksNodepoolJSONRequestBody ScaleSksNodepoolJSONBody

ScaleSksNodepoolJSONRequestBody defines body for ScaleSksNodepool for application/json ContentType.

type ScaleSksNodepoolResponse

type ScaleSksNodepoolResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Operation
}

func ParseScaleSksNodepoolResponse

func ParseScaleSksNodepoolResponse(rsp *http.Response) (*ScaleSksNodepoolResponse, error)

ParseScaleSksNodepoolResponse parses an HTTP response from a ScaleSksNodepoolWithResponse call

func (ScaleSksNodepoolResponse) Status

func (r ScaleSksNodepoolResponse) Status() string

Status returns HTTPResponse.Status

func (ScaleSksNodepoolResponse) StatusCode

func (r ScaleSksNodepoolResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SecurityGroup

type SecurityGroup struct {
	// Security Group description
	Description *string `json:"description,omitempty"`

	// Security Group external sources
	ExternalSources *[]string `json:"external-sources,omitempty"`

	// Security Group ID
	Id *string `json:"id,omitempty"`

	// Security Group name
	Name *string `json:"name,omitempty"`

	// Security Group rules
	Rules *[]SecurityGroupRule `json:"rules,omitempty"`
}

Security Group

type SecurityGroupResource

type SecurityGroupResource struct {
	// Security Group ID
	Id string `json:"id"`

	// Security Group name
	Name *string `json:"name,omitempty"`
}

Security Group

type SecurityGroupRule

type SecurityGroupRule struct {
	// Security Group rule description
	Description *string `json:"description,omitempty"`

	// End port of the range
	EndPort *int64 `json:"end-port,omitempty"`

	// Network flow direction to match
	FlowDirection *SecurityGroupRuleFlowDirection `json:"flow-direction,omitempty"`

	// ICMP details
	Icmp *struct {
		Code *int64 `json:"code,omitempty"`
		Type *int64 `json:"type,omitempty"`
	} `json:"icmp,omitempty"`

	// Security Group rule ID
	Id *string `json:"id,omitempty"`

	// CIDR-formatted network allowed
	Network *string `json:"network,omitempty"`

	// Network protocol
	Protocol *SecurityGroupRuleProtocol `json:"protocol,omitempty"`

	// Security Group
	SecurityGroup *SecurityGroupResource `json:"security-group,omitempty"`

	// Start port of the range
	StartPort *int64 `json:"start-port,omitempty"`
}

Security Group rule

type SecurityGroupRuleFlowDirection

type SecurityGroupRuleFlowDirection string

Network flow direction to match

const (
	SecurityGroupRuleFlowDirectionEgress SecurityGroupRuleFlowDirection = "egress"

	SecurityGroupRuleFlowDirectionIngress SecurityGroupRuleFlowDirection = "ingress"
)

Defines values for SecurityGroupRuleFlowDirection.

type SecurityGroupRuleProtocol

type SecurityGroupRuleProtocol string

Network protocol

const (
	SecurityGroupRuleProtocolAh SecurityGroupRuleProtocol = "ah"

	SecurityGroupRuleProtocolEsp SecurityGroupRuleProtocol = "esp"

	SecurityGroupRuleProtocolGre SecurityGroupRuleProtocol = "gre"

	SecurityGroupRuleProtocolIcmp SecurityGroupRuleProtocol = "icmp"

	SecurityGroupRuleProtocolIcmpv6 SecurityGroupRuleProtocol = "icmpv6"

	SecurityGroupRuleProtocolIpip SecurityGroupRuleProtocol = "ipip"

	SecurityGroupRuleProtocolTcp SecurityGroupRuleProtocol = "tcp"

	SecurityGroupRuleProtocolUdp SecurityGroupRuleProtocol = "udp"
)

Defines values for SecurityGroupRuleProtocol.

type SksCluster

type SksCluster struct {
	// Cluster addons
	Addons *[]SksClusterAddons `json:"addons,omitempty"`

	// Enable auto upgrade of the control plane to the latest patch version available
	AutoUpgrade *bool `json:"auto-upgrade,omitempty"`

	// Cluster CNI
	Cni *SksClusterCni `json:"cni,omitempty"`

	// Cluster creation date
	CreatedAt *time.Time `json:"created-at,omitempty"`

	// Cluster description
	Description *string `json:"description,omitempty"`

	// Cluster endpoint
	Endpoint *string `json:"endpoint,omitempty"`

	// Cluster ID
	Id     *string `json:"id,omitempty"`
	Labels *Labels `json:"labels,omitempty"`

	// Cluster level
	Level *SksClusterLevel `json:"level,omitempty"`

	// Cluster name
	Name *string `json:"name,omitempty"`

	// Cluster Nodepools
	Nodepools *[]SksNodepool `json:"nodepools,omitempty"`

	// Cluster state
	State *SksClusterState `json:"state,omitempty"`

	// Control plane Kubernetes version
	Version *string `json:"version,omitempty"`
}

SKS Cluster

type SksClusterAddons

type SksClusterAddons string

SksClusterAddons defines model for SksCluster.Addons.

const (
	SksClusterAddonsExoscaleCloudController SksClusterAddons = "exoscale-cloud-controller"

	SksClusterAddonsMetricsServer SksClusterAddons = "metrics-server"
)

Defines values for SksClusterAddons.

type SksClusterCni

type SksClusterCni string

Cluster CNI

const (
	SksClusterCniCalico SksClusterCni = "calico"
)

Defines values for SksClusterCni.

type SksClusterLevel

type SksClusterLevel string

Cluster level

const (
	SksClusterLevelPro SksClusterLevel = "pro"

	SksClusterLevelStarter SksClusterLevel = "starter"
)

Defines values for SksClusterLevel.

type SksClusterState

type SksClusterState string

Cluster state

const (
	SksClusterStateCreating SksClusterState = "creating"

	SksClusterStateDeleting SksClusterState = "deleting"

	SksClusterStateError SksClusterState = "error"

	SksClusterStateRotatingCcmCredentials SksClusterState = "rotating-ccm-credentials"

	SksClusterStateRunning SksClusterState = "running"

	SksClusterStateSuspending SksClusterState = "suspending"

	SksClusterStateUpdating SksClusterState = "updating"

	SksClusterStateUpgrading SksClusterState = "upgrading"
)

Defines values for SksClusterState.

type SksKubeconfigRequest

type SksKubeconfigRequest struct {
	// List of roles. The certificate present in the Kubeconfig will have these roles set in the Org field.
	Groups *[]string `json:"groups,omitempty"`

	// Validity in seconds of the Kubeconfig user certificate (default: 30 days)
	Ttl *int64 `json:"ttl,omitempty"`

	// User name in the generated Kubeconfig. The certificate present in the Kubeconfig will also have this name set for the CN field.
	User *string `json:"user,omitempty"`
}

Kubeconfig request for a SKS cluster

type SksNodepool

type SksNodepool struct {
	// Nodepool addons
	Addons *[]SksNodepoolAddons `json:"addons,omitempty"`

	// Nodepool Anti-affinity Groups
	AntiAffinityGroups *[]AntiAffinityGroup `json:"anti-affinity-groups,omitempty"`

	// Nodepool creation date
	CreatedAt *time.Time `json:"created-at,omitempty"`

	// Deploy target
	DeployTarget *DeployTarget `json:"deploy-target,omitempty"`

	// Nodepool description
	Description *string `json:"description,omitempty"`

	// Nodepool instances disk size in GB
	DiskSize *int64 `json:"disk-size,omitempty"`

	// Nodepool ID
	Id *string `json:"id,omitempty"`

	// Instance Pool
	InstancePool *InstancePool `json:"instance-pool,omitempty"`

	// The instances created by the Nodepool will be prefixed with this value (default: pool)
	InstancePrefix *string `json:"instance-prefix,omitempty"`

	// Compute instance type
	InstanceType *InstanceType `json:"instance-type,omitempty"`
	Labels       *Labels       `json:"labels,omitempty"`

	// Nodepool name
	Name *string `json:"name,omitempty"`

	// Nodepool Private Networks
	PrivateNetworks *[]PrivateNetwork `json:"private-networks,omitempty"`

	// Nodepool Security Groups
	SecurityGroups *[]SecurityGroup `json:"security-groups,omitempty"`

	// Number of instances
	Size *int64 `json:"size,omitempty"`

	// Nodepool state
	State  *SksNodepoolState  `json:"state,omitempty"`
	Taints *SksNodepoolTaints `json:"taints,omitempty"`

	// Instance template
	Template *Template `json:"template,omitempty"`

	// Nodepool version
	Version *string `json:"version,omitempty"`
}

SKS Nodepool

type SksNodepoolAddons

type SksNodepoolAddons string

SksNodepoolAddons defines model for SksNodepool.Addons.

const (
	SksNodepoolAddonsLinbit SksNodepoolAddons = "linbit"
)

Defines values for SksNodepoolAddons.

type SksNodepoolState

type SksNodepoolState string

Nodepool state

const (
	SksNodepoolStateCreating SksNodepoolState = "creating"

	SksNodepoolStateDeleting SksNodepoolState = "deleting"

	SksNodepoolStateError SksNodepoolState = "error"

	SksNodepoolStateRenewingToken SksNodepoolState = "renewing-token"

	SksNodepoolStateRunning SksNodepoolState = "running"

	SksNodepoolStateUpdating SksNodepoolState = "updating"
)

Defines values for SksNodepoolState.

type SksNodepoolTaint added in v0.78.0

type SksNodepoolTaint struct {
	// Nodepool taint effect
	Effect SksNodepoolTaintEffect `json:"effect"`

	// Nodepool taint value
	Value string `json:"value"`
}

Nodepool taint

type SksNodepoolTaintEffect added in v0.78.0

type SksNodepoolTaintEffect string

Nodepool taint effect

const (
	SksNodepoolTaintEffectNoExecute SksNodepoolTaintEffect = "NoExecute"

	SksNodepoolTaintEffectNoSchedule SksNodepoolTaintEffect = "NoSchedule"

	SksNodepoolTaintEffectPreferNoSchedule SksNodepoolTaintEffect = "PreferNoSchedule"
)

Defines values for SksNodepoolTaintEffect.

type SksNodepoolTaints added in v0.78.0

type SksNodepoolTaints struct {
	AdditionalProperties map[string]SksNodepoolTaint `json:"-"`
}

SksNodepoolTaints defines model for sks-nodepool-taints.

func (SksNodepoolTaints) Get added in v0.78.0

func (a SksNodepoolTaints) Get(fieldName string) (value SksNodepoolTaint, found bool)

Getter for additional properties for SksNodepoolTaints. Returns the specified element and whether it was found

func (SksNodepoolTaints) MarshalJSON added in v0.78.0

func (a SksNodepoolTaints) MarshalJSON() ([]byte, error)

Override default JSON handling for SksNodepoolTaints to handle AdditionalProperties

func (*SksNodepoolTaints) Set added in v0.78.0

func (a *SksNodepoolTaints) Set(fieldName string, value SksNodepoolTaint)

Setter for additional properties for SksNodepoolTaints

func (*SksNodepoolTaints) UnmarshalJSON added in v0.78.0

func (a *SksNodepoolTaints) UnmarshalJSON(b []byte) error

Override default JSON handling for SksNodepoolTaints to handle AdditionalProperties

type SksOidc added in v0.80.2

type SksOidc struct {
	// OpenID client ID
	ClientId string `json:"client-id"`

	// JWT claim to use as the user's group
	GroupsClaim *string `json:"groups-claim,omitempty"`

	// Prefix prepended to group claims
	GroupsPrefix *string `json:"groups-prefix,omitempty"`

	// OpenID provider URL
	IssuerUrl string `json:"issuer-url"`

	// A key=value pair that describes a required claim in the ID Token
	RequiredClaim *string `json:"required-claim,omitempty"`

	// JWT claim to use as the user name
	UsernameClaim *string `json:"username-claim,omitempty"`

	// Prefix prepended to username claims
	UsernamePrefix *string `json:"username-prefix,omitempty"`
}

SKS Cluster OpenID config map

type Snapshot

type Snapshot struct {
	// Snapshot creation date
	CreatedAt *time.Time `json:"created-at,omitempty"`

	// Exported snapshot information
	Export *struct {
		// Exported snapshot disk file MD5 checksum
		Md5sum *string `json:"md5sum,omitempty"`

		// Exported snapshot disk file pre-signed URL
		PresignedUrl *string `json:"presigned-url,omitempty"`
	} `json:"export,omitempty"`

	// Snapshot ID
	Id *string `json:"id,omitempty"`

	// Instance
	Instance *Instance `json:"instance,omitempty"`

	// Snapshot name
	Name *string `json:"name,omitempty"`

	// Snapshot size in GB
	Size *int64 `json:"size,omitempty"`

	// Snapshot state
	State *SnapshotState `json:"state,omitempty"`
}

Snapshot

type SnapshotState

type SnapshotState string

Snapshot state

const (
	SnapshotStateDeleted SnapshotState = "deleted"

	SnapshotStateDeleting SnapshotState = "deleting"

	SnapshotStateError SnapshotState = "error"

	SnapshotStateExported SnapshotState = "exported"

	SnapshotStateExporting SnapshotState = "exporting"

	SnapshotStateReady SnapshotState = "ready"

	SnapshotStateSnapshotting SnapshotState = "snapshotting"
)

Defines values for SnapshotState.

type SshKey

type SshKey struct {
	// SSH key fingerprint
	Fingerprint *string `json:"fingerprint,omitempty"`

	// SSH key name
	Name *string `json:"name,omitempty"`
}

SSH key

type StartInstanceJSONBody added in v0.75.0

type StartInstanceJSONBody struct {
	// Boot in Rescue Mode, using named profile (supported: netboot, netboot-efi)
	RescueProfile *StartInstanceJSONBodyRescueProfile `json:"rescue-profile,omitempty"`
}

StartInstanceJSONBody defines parameters for StartInstance.

type StartInstanceJSONBodyRescueProfile added in v0.75.0

type StartInstanceJSONBodyRescueProfile string

StartInstanceJSONBodyRescueProfile defines parameters for StartInstance.

type StartInstanceJSONRequestBody added in v0.75.0

type StartInstanceJSONRequestBody StartInstanceJSONBody

StartInstanceJSONRequestBody defines body for StartInstance for application/json ContentType.

type StartInstanceResponse

type StartInstanceResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Operation
}

func ParseStartInstanceResponse

func ParseStartInstanceResponse(rsp *http.Response) (*StartInstanceResponse, error)

ParseStartInstanceResponse parses an HTTP response from a StartInstanceWithResponse call

func (StartInstanceResponse) Status

func (r StartInstanceResponse) Status() string

Status returns HTTPResponse.Status

func (StartInstanceResponse) StatusCode

func (r StartInstanceResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type StopInstanceResponse

type StopInstanceResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Operation
}

func ParseStopInstanceResponse

func ParseStopInstanceResponse(rsp *http.Response) (*StopInstanceResponse, error)

ParseStopInstanceResponse parses an HTTP response from a StopInstanceWithResponse call

func (StopInstanceResponse) Status

func (r StopInstanceResponse) Status() string

Status returns HTTPResponse.Status

func (StopInstanceResponse) StatusCode

func (r StopInstanceResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Template

type Template struct {
	// Boot mode (default: legacy)
	BootMode *TemplateBootMode `json:"boot-mode,omitempty"`

	// Template build
	Build *string `json:"build,omitempty"`

	// Template MD5 checksum
	Checksum *string `json:"checksum,omitempty"`

	// Template creation date
	CreatedAt *time.Time `json:"created-at,omitempty"`

	// Template default user
	DefaultUser *string `json:"default-user,omitempty"`

	// Template description
	Description *string `json:"description,omitempty"`

	// Template family
	Family *string `json:"family,omitempty"`

	// Template ID
	Id *string `json:"id,omitempty"`

	// Template maintainer
	Maintainer *string `json:"maintainer,omitempty"`

	// Template name
	Name *string `json:"name,omitempty"`

	// Enable password based login
	PasswordEnabled *bool `json:"password-enabled,omitempty"`

	// Template size
	Size *int64 `json:"size,omitempty"`

	// Enable SSH key based login
	SshKeyEnabled *bool `json:"ssh-key-enabled,omitempty"`

	// Template source URL
	Url *string `json:"url,omitempty"`

	// Template version
	Version *string `json:"version,omitempty"`

	// Template visibility
	Visibility *TemplateVisibility `json:"visibility,omitempty"`
}

Instance template

type TemplateBootMode

type TemplateBootMode string

Boot mode (default: legacy)

const (
	TemplateBootModeLegacy TemplateBootMode = "legacy"

	TemplateBootModeUefi TemplateBootMode = "uefi"
)

Defines values for TemplateBootMode.

type TemplateVisibility

type TemplateVisibility string

Template visibility

const (
	TemplateVisibilityPrivate TemplateVisibility = "private"

	TemplateVisibilityPublic TemplateVisibility = "public"
)

Defines values for TemplateVisibility.

type UpdateDbaasServiceKafkaJSONBody added in v0.78.0

type UpdateDbaasServiceKafkaJSONBody struct {
	// Kafka authentication methods
	AuthenticationMethods *struct {
		// Enable certificate/SSL authentication
		Certificate *bool `json:"certificate,omitempty"`

		// Enable SASL authentication
		Sasl *bool `json:"sasl,omitempty"`
	} `json:"authentication-methods,omitempty"`

	// Allow incoming connections from CIDR address block, e.g. '10.20.0.0/16'
	IpFilter *[]string `json:"ip-filter,omitempty"`

	// Allow clients to connect to kafka_connect from the public internet for service nodes that are in a project VPC or another type of private network
	KafkaConnectEnabled *bool `json:"kafka-connect-enabled,omitempty"`

	// Kafka Connect configuration values
	KafkaConnectSettings *map[string]interface{} `json:"kafka-connect-settings,omitempty"`

	// Enable Kafka-REST service
	KafkaRestEnabled *bool `json:"kafka-rest-enabled,omitempty"`

	// Kafka REST configuration
	KafkaRestSettings *map[string]interface{} `json:"kafka-rest-settings,omitempty"`

	// Kafka-specific settings
	KafkaSettings *map[string]interface{} `json:"kafka-settings,omitempty"`

	// Automatic maintenance settings
	Maintenance *struct {
		// Day of week for installing updates
		Dow UpdateDbaasServiceKafkaJSONBodyMaintenanceDow `json:"dow"`

		// Time for installing updates, UTC
		Time string `json:"time"`
	} `json:"maintenance,omitempty"`

	// Subscription plan
	Plan *string `json:"plan,omitempty"`

	// Power-on the service (true) or power-off (false)
	Powered *bool `json:"powered,omitempty"`

	// Enable Schema-Registry service
	SchemaRegistryEnabled *bool `json:"schema-registry-enabled,omitempty"`

	// Schema Registry configuration
	SchemaRegistrySettings *map[string]interface{} `json:"schema-registry-settings,omitempty"`

	// Service is protected against termination and powering off
	TerminationProtection *bool `json:"termination-protection,omitempty"`
}

UpdateDbaasServiceKafkaJSONBody defines parameters for UpdateDbaasServiceKafka.

type UpdateDbaasServiceKafkaJSONBodyMaintenanceDow added in v0.78.0

type UpdateDbaasServiceKafkaJSONBodyMaintenanceDow string

UpdateDbaasServiceKafkaJSONBodyMaintenanceDow defines parameters for UpdateDbaasServiceKafka.

type UpdateDbaasServiceKafkaJSONRequestBody added in v0.78.0

type UpdateDbaasServiceKafkaJSONRequestBody UpdateDbaasServiceKafkaJSONBody

UpdateDbaasServiceKafkaJSONRequestBody defines body for UpdateDbaasServiceKafka for application/json ContentType.

type UpdateDbaasServiceKafkaResponse added in v0.78.0

type UpdateDbaasServiceKafkaResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DbaasServiceKafka
}

func ParseUpdateDbaasServiceKafkaResponse added in v0.78.0

func ParseUpdateDbaasServiceKafkaResponse(rsp *http.Response) (*UpdateDbaasServiceKafkaResponse, error)

ParseUpdateDbaasServiceKafkaResponse parses an HTTP response from a UpdateDbaasServiceKafkaWithResponse call

func (UpdateDbaasServiceKafkaResponse) Status added in v0.78.0

Status returns HTTPResponse.Status

func (UpdateDbaasServiceKafkaResponse) StatusCode added in v0.78.0

func (r UpdateDbaasServiceKafkaResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateDbaasServiceMysqlJSONBody added in v0.78.0

type UpdateDbaasServiceMysqlJSONBody struct {
	BackupSchedule *struct {
		// The hour of day (in UTC) when backup for the service is started. New backup is only started if previous backup has already completed.
		BackupHour *int64 `json:"backup-hour,omitempty"`

		// The minute of an hour when backup for the service is started. New backup is only started if previous backup has already completed.
		BackupMinute *int64 `json:"backup-minute,omitempty"`
	} `json:"backup-schedule,omitempty"`

	// The minimum amount of time in seconds to keep binlog entries before deletion. This may be extended for services that require binlog entries for longer than the default for example if using the MySQL Debezium Kafka connector.
	BinlogRetentionPeriod *int64 `json:"binlog-retention-period,omitempty"`

	// Allow incoming connections from CIDR address block, e.g. '10.20.0.0/16'
	IpFilter *[]string `json:"ip-filter,omitempty"`

	// Automatic maintenance settings
	Maintenance *struct {
		// Day of week for installing updates
		Dow UpdateDbaasServiceMysqlJSONBodyMaintenanceDow `json:"dow"`

		// Time for installing updates, UTC
		Time string `json:"time"`
	} `json:"maintenance,omitempty"`

	// Migrate data from existing server
	Migration *map[string]interface{} `json:"migration,omitempty"`

	// MySQL-specific settings
	MysqlSettings *map[string]interface{} `json:"mysql-settings,omitempty"`

	// Subscription plan
	Plan *string `json:"plan,omitempty"`

	// Power-on the service (true) or power-off (false)
	Powered *bool `json:"powered,omitempty"`

	// Service is protected against termination and powering off
	TerminationProtection *bool `json:"termination-protection,omitempty"`
}

UpdateDbaasServiceMysqlJSONBody defines parameters for UpdateDbaasServiceMysql.

type UpdateDbaasServiceMysqlJSONBodyMaintenanceDow added in v0.78.0

type UpdateDbaasServiceMysqlJSONBodyMaintenanceDow string

UpdateDbaasServiceMysqlJSONBodyMaintenanceDow defines parameters for UpdateDbaasServiceMysql.

type UpdateDbaasServiceMysqlJSONRequestBody added in v0.78.0

type UpdateDbaasServiceMysqlJSONRequestBody UpdateDbaasServiceMysqlJSONBody

UpdateDbaasServiceMysqlJSONRequestBody defines body for UpdateDbaasServiceMysql for application/json ContentType.

type UpdateDbaasServiceMysqlResponse added in v0.78.0

type UpdateDbaasServiceMysqlResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DbaasServiceMysql
}

func ParseUpdateDbaasServiceMysqlResponse added in v0.78.0

func ParseUpdateDbaasServiceMysqlResponse(rsp *http.Response) (*UpdateDbaasServiceMysqlResponse, error)

ParseUpdateDbaasServiceMysqlResponse parses an HTTP response from a UpdateDbaasServiceMysqlWithResponse call

func (UpdateDbaasServiceMysqlResponse) Status added in v0.78.0

Status returns HTTPResponse.Status

func (UpdateDbaasServiceMysqlResponse) StatusCode added in v0.78.0

func (r UpdateDbaasServiceMysqlResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateDbaasServicePgJSONBody added in v0.78.0

type UpdateDbaasServicePgJSONBody struct {
	BackupSchedule *struct {
		// The hour of day (in UTC) when backup for the service is started. New backup is only started if previous backup has already completed.
		BackupHour *int64 `json:"backup-hour,omitempty"`

		// The minute of an hour when backup for the service is started. New backup is only started if previous backup has already completed.
		BackupMinute *int64 `json:"backup-minute,omitempty"`
	} `json:"backup-schedule,omitempty"`

	// Allow incoming connections from CIDR address block, e.g. '10.20.0.0/16'
	IpFilter *[]string `json:"ip-filter,omitempty"`

	// Automatic maintenance settings
	Maintenance *struct {
		// Day of week for installing updates
		Dow UpdateDbaasServicePgJSONBodyMaintenanceDow `json:"dow"`

		// Time for installing updates, UTC
		Time string `json:"time"`
	} `json:"maintenance,omitempty"`

	// Migrate data from existing server
	Migration *map[string]interface{} `json:"migration,omitempty"`

	// PostgreSQL-specific settings
	PgSettings *map[string]interface{} `json:"pg-settings,omitempty"`

	// PGBouncer connection pooling settings
	PgbouncerSettings *map[string]interface{} `json:"pgbouncer-settings,omitempty"`

	// PGLookout settings
	PglookoutSettings *map[string]interface{} `json:"pglookout-settings,omitempty"`

	// Subscription plan
	Plan *string `json:"plan,omitempty"`

	// Power-on the service (true) or power-off (false)
	Powered *bool `json:"powered,omitempty"`

	// Percentage of total RAM that the database server uses for shared memory buffers. Valid range is 20-60 (float), which corresponds to 20% - 60%. This setting adjusts the shared_buffers configuration value.
	SharedBuffersPercentage *int64                        `json:"shared-buffers-percentage,omitempty"`
	SynchronousReplication  *EnumPgSynchronousReplication `json:"synchronous-replication,omitempty"`

	// Service is protected against termination and powering off
	TerminationProtection *bool `json:"termination-protection,omitempty"`

	// TimescaleDB extension configuration values
	TimescaledbSettings *map[string]interface{} `json:"timescaledb-settings,omitempty"`
	Variant             *EnumPgVariant          `json:"variant,omitempty"`

	// Sets the maximum amount of memory to be used by a query operation (such as a sort or hash table) before writing to temporary disk files, in MB. Default is 1MB + 0.075% of total RAM (up to 32MB).
	WorkMem *int64 `json:"work-mem,omitempty"`
}

UpdateDbaasServicePgJSONBody defines parameters for UpdateDbaasServicePg.

type UpdateDbaasServicePgJSONBodyMaintenanceDow added in v0.78.0

type UpdateDbaasServicePgJSONBodyMaintenanceDow string

UpdateDbaasServicePgJSONBodyMaintenanceDow defines parameters for UpdateDbaasServicePg.

type UpdateDbaasServicePgJSONRequestBody added in v0.78.0

type UpdateDbaasServicePgJSONRequestBody UpdateDbaasServicePgJSONBody

UpdateDbaasServicePgJSONRequestBody defines body for UpdateDbaasServicePg for application/json ContentType.

type UpdateDbaasServicePgResponse added in v0.78.0

type UpdateDbaasServicePgResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DbaasServicePg
}

func ParseUpdateDbaasServicePgResponse added in v0.78.0

func ParseUpdateDbaasServicePgResponse(rsp *http.Response) (*UpdateDbaasServicePgResponse, error)

ParseUpdateDbaasServicePgResponse parses an HTTP response from a UpdateDbaasServicePgWithResponse call

func (UpdateDbaasServicePgResponse) Status added in v0.78.0

Status returns HTTPResponse.Status

func (UpdateDbaasServicePgResponse) StatusCode added in v0.78.0

func (r UpdateDbaasServicePgResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateDbaasServiceRedisJSONBody added in v0.78.0

type UpdateDbaasServiceRedisJSONBody struct {
	// Allow incoming connections from CIDR address block, e.g. '10.20.0.0/16'
	IpFilter *[]string `json:"ip-filter,omitempty"`

	// Automatic maintenance settings
	Maintenance *struct {
		// Day of week for installing updates
		Dow UpdateDbaasServiceRedisJSONBodyMaintenanceDow `json:"dow"`

		// Time for installing updates, UTC
		Time string `json:"time"`
	} `json:"maintenance,omitempty"`

	// Migrate data from existing server
	Migration *map[string]interface{} `json:"migration,omitempty"`

	// Subscription plan
	Plan *string `json:"plan,omitempty"`

	// Power-on the service (true) or power-off (false)
	Powered *bool `json:"powered,omitempty"`

	// Redis.conf settings
	RedisSettings *map[string]interface{} `json:"redis-settings,omitempty"`

	// Service is protected against termination and powering off
	TerminationProtection *bool `json:"termination-protection,omitempty"`
}

UpdateDbaasServiceRedisJSONBody defines parameters for UpdateDbaasServiceRedis.

type UpdateDbaasServiceRedisJSONBodyMaintenanceDow added in v0.78.0

type UpdateDbaasServiceRedisJSONBodyMaintenanceDow string

UpdateDbaasServiceRedisJSONBodyMaintenanceDow defines parameters for UpdateDbaasServiceRedis.

type UpdateDbaasServiceRedisJSONRequestBody added in v0.78.0

type UpdateDbaasServiceRedisJSONRequestBody UpdateDbaasServiceRedisJSONBody

UpdateDbaasServiceRedisJSONRequestBody defines body for UpdateDbaasServiceRedis for application/json ContentType.

type UpdateDbaasServiceRedisResponse added in v0.78.0

type UpdateDbaasServiceRedisResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DbaasServiceRedis
}

func ParseUpdateDbaasServiceRedisResponse added in v0.78.0

func ParseUpdateDbaasServiceRedisResponse(rsp *http.Response) (*UpdateDbaasServiceRedisResponse, error)

ParseUpdateDbaasServiceRedisResponse parses an HTTP response from a UpdateDbaasServiceRedisWithResponse call

func (UpdateDbaasServiceRedisResponse) Status added in v0.78.0

Status returns HTTPResponse.Status

func (UpdateDbaasServiceRedisResponse) StatusCode added in v0.78.0

func (r UpdateDbaasServiceRedisResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateElasticIpJSONBody

type UpdateElasticIpJSONBody struct {
	// Elastic IP description
	Description *string `json:"description,omitempty"`

	// Elastic IP address healthcheck
	Healthcheck *ElasticIpHealthcheck `json:"healthcheck,omitempty"`
}

UpdateElasticIpJSONBody defines parameters for UpdateElasticIp.

type UpdateElasticIpJSONRequestBody

type UpdateElasticIpJSONRequestBody UpdateElasticIpJSONBody

UpdateElasticIpJSONRequestBody defines body for UpdateElasticIp for application/json ContentType.

type UpdateElasticIpResponse

type UpdateElasticIpResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Operation
}

func ParseUpdateElasticIpResponse

func ParseUpdateElasticIpResponse(rsp *http.Response) (*UpdateElasticIpResponse, error)

ParseUpdateElasticIpResponse parses an HTTP response from a UpdateElasticIpWithResponse call

func (UpdateElasticIpResponse) Status

func (r UpdateElasticIpResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateElasticIpResponse) StatusCode

func (r UpdateElasticIpResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateInstanceJSONBody

type UpdateInstanceJSONBody struct {
	Labels *Labels `json:"labels,omitempty"`

	// Instance name
	Name *string `json:"name,omitempty"`

	// Instance Cloud-init user-data
	UserData *string `json:"user-data,omitempty"`
}

UpdateInstanceJSONBody defines parameters for UpdateInstance.

type UpdateInstanceJSONRequestBody

type UpdateInstanceJSONRequestBody UpdateInstanceJSONBody

UpdateInstanceJSONRequestBody defines body for UpdateInstance for application/json ContentType.

type UpdateInstancePoolJSONBody

type UpdateInstancePoolJSONBody struct {
	// Instance Pool Anti-affinity Groups
	AntiAffinityGroups *[]AntiAffinityGroup `json:"anti-affinity-groups,omitempty"`

	// Deploy target
	DeployTarget *DeployTarget `json:"deploy-target,omitempty"`

	// Instance Pool description
	Description *string `json:"description,omitempty"`

	// Instances disk size in GB
	DiskSize *int64 `json:"disk-size,omitempty"`

	// Instances Elastic IPs
	ElasticIps *[]ElasticIp `json:"elastic-ips,omitempty"`

	// Prefix to apply to instances names (default: pool)
	InstancePrefix *string `json:"instance-prefix,omitempty"`

	// Compute instance type
	InstanceType *InstanceType `json:"instance-type,omitempty"`

	// Enable IPv6 for instances
	Ipv6Enabled *bool   `json:"ipv6-enabled,omitempty"`
	Labels      *Labels `json:"labels,omitempty"`

	// Instance Pool name
	Name *string `json:"name,omitempty"`

	// Instance Pool Private Networks
	PrivateNetworks *[]PrivateNetwork `json:"private-networks,omitempty"`

	// Instance Pool Security Groups
	SecurityGroups *[]SecurityGroup `json:"security-groups,omitempty"`

	// SSH key
	SshKey *SshKey `json:"ssh-key,omitempty"`

	// Instance template
	Template *Template `json:"template,omitempty"`

	// Instances Cloud-init user-data
	UserData *string `json:"user-data,omitempty"`
}

UpdateInstancePoolJSONBody defines parameters for UpdateInstancePool.

type UpdateInstancePoolJSONRequestBody

type UpdateInstancePoolJSONRequestBody UpdateInstancePoolJSONBody

UpdateInstancePoolJSONRequestBody defines body for UpdateInstancePool for application/json ContentType.

type UpdateInstancePoolResponse

type UpdateInstancePoolResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Operation
}

func ParseUpdateInstancePoolResponse

func ParseUpdateInstancePoolResponse(rsp *http.Response) (*UpdateInstancePoolResponse, error)

ParseUpdateInstancePoolResponse parses an HTTP response from a UpdateInstancePoolWithResponse call

func (UpdateInstancePoolResponse) Status

Status returns HTTPResponse.Status

func (UpdateInstancePoolResponse) StatusCode

func (r UpdateInstancePoolResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateInstanceResponse

type UpdateInstanceResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Operation
}

func ParseUpdateInstanceResponse

func ParseUpdateInstanceResponse(rsp *http.Response) (*UpdateInstanceResponse, error)

ParseUpdateInstanceResponse parses an HTTP response from a UpdateInstanceWithResponse call

func (UpdateInstanceResponse) Status

func (r UpdateInstanceResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateInstanceResponse) StatusCode

func (r UpdateInstanceResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateLoadBalancerJSONBody

type UpdateLoadBalancerJSONBody struct {
	Description *string `json:"description,omitempty"`
	Labels      *Labels `json:"labels,omitempty"`
	Name        *string `json:"name,omitempty"`
}

UpdateLoadBalancerJSONBody defines parameters for UpdateLoadBalancer.

type UpdateLoadBalancerJSONRequestBody

type UpdateLoadBalancerJSONRequestBody UpdateLoadBalancerJSONBody

UpdateLoadBalancerJSONRequestBody defines body for UpdateLoadBalancer for application/json ContentType.

type UpdateLoadBalancerResponse

type UpdateLoadBalancerResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Operation
}

func ParseUpdateLoadBalancerResponse

func ParseUpdateLoadBalancerResponse(rsp *http.Response) (*UpdateLoadBalancerResponse, error)

ParseUpdateLoadBalancerResponse parses an HTTP response from a UpdateLoadBalancerWithResponse call

func (UpdateLoadBalancerResponse) Status

Status returns HTTPResponse.Status

func (UpdateLoadBalancerResponse) StatusCode

func (r UpdateLoadBalancerResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateLoadBalancerServiceJSONBody

type UpdateLoadBalancerServiceJSONBody struct {
	// Load Balancer Service description
	Description *string `json:"description,omitempty"`

	// Load Balancer Service healthcheck
	Healthcheck *LoadBalancerServiceHealthcheck `json:"healthcheck,omitempty"`

	// Load Balancer Service name
	Name *string `json:"name,omitempty"`

	// Port exposed on the Load Balancer's public IP
	Port *int64 `json:"port,omitempty"`

	// Network traffic protocol
	Protocol *UpdateLoadBalancerServiceJSONBodyProtocol `json:"protocol,omitempty"`

	// Load balancing strategy
	Strategy *UpdateLoadBalancerServiceJSONBodyStrategy `json:"strategy,omitempty"`

	// Port on which the network traffic will be forwarded to on the receiving instance
	TargetPort *int64 `json:"target-port,omitempty"`
}

UpdateLoadBalancerServiceJSONBody defines parameters for UpdateLoadBalancerService.

type UpdateLoadBalancerServiceJSONBodyProtocol

type UpdateLoadBalancerServiceJSONBodyProtocol string

UpdateLoadBalancerServiceJSONBodyProtocol defines parameters for UpdateLoadBalancerService.

type UpdateLoadBalancerServiceJSONBodyStrategy

type UpdateLoadBalancerServiceJSONBodyStrategy string

UpdateLoadBalancerServiceJSONBodyStrategy defines parameters for UpdateLoadBalancerService.

type UpdateLoadBalancerServiceJSONRequestBody

type UpdateLoadBalancerServiceJSONRequestBody UpdateLoadBalancerServiceJSONBody

UpdateLoadBalancerServiceJSONRequestBody defines body for UpdateLoadBalancerService for application/json ContentType.

type UpdateLoadBalancerServiceResponse

type UpdateLoadBalancerServiceResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Operation
}

func ParseUpdateLoadBalancerServiceResponse

func ParseUpdateLoadBalancerServiceResponse(rsp *http.Response) (*UpdateLoadBalancerServiceResponse, error)

ParseUpdateLoadBalancerServiceResponse parses an HTTP response from a UpdateLoadBalancerServiceWithResponse call

func (UpdateLoadBalancerServiceResponse) Status

Status returns HTTPResponse.Status

func (UpdateLoadBalancerServiceResponse) StatusCode

func (r UpdateLoadBalancerServiceResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdatePrivateNetworkInstanceIpJSONBody

type UpdatePrivateNetworkInstanceIpJSONBody struct {
	// Instance
	Instance Instance `json:"instance"`

	// Static IP address lease for the corresponding network interface
	Ip *string `json:"ip,omitempty"`
}

UpdatePrivateNetworkInstanceIpJSONBody defines parameters for UpdatePrivateNetworkInstanceIp.

type UpdatePrivateNetworkInstanceIpJSONRequestBody

type UpdatePrivateNetworkInstanceIpJSONRequestBody UpdatePrivateNetworkInstanceIpJSONBody

UpdatePrivateNetworkInstanceIpJSONRequestBody defines body for UpdatePrivateNetworkInstanceIp for application/json ContentType.

type UpdatePrivateNetworkInstanceIpResponse

type UpdatePrivateNetworkInstanceIpResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Operation
}

func ParseUpdatePrivateNetworkInstanceIpResponse

func ParseUpdatePrivateNetworkInstanceIpResponse(rsp *http.Response) (*UpdatePrivateNetworkInstanceIpResponse, error)

ParseUpdatePrivateNetworkInstanceIpResponse parses an HTTP response from a UpdatePrivateNetworkInstanceIpWithResponse call

func (UpdatePrivateNetworkInstanceIpResponse) Status

Status returns HTTPResponse.Status

func (UpdatePrivateNetworkInstanceIpResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type UpdatePrivateNetworkJSONBody

type UpdatePrivateNetworkJSONBody struct {
	// Private Network description
	Description *string `json:"description,omitempty"`

	// Private Network end IP address
	EndIp  *string `json:"end-ip,omitempty"`
	Labels *Labels `json:"labels,omitempty"`

	// Private Network name
	Name *string `json:"name,omitempty"`

	// Private Network netmask
	Netmask *string `json:"netmask,omitempty"`

	// Private Network start IP address
	StartIp *string `json:"start-ip,omitempty"`
}

UpdatePrivateNetworkJSONBody defines parameters for UpdatePrivateNetwork.

type UpdatePrivateNetworkJSONRequestBody

type UpdatePrivateNetworkJSONRequestBody UpdatePrivateNetworkJSONBody

UpdatePrivateNetworkJSONRequestBody defines body for UpdatePrivateNetwork for application/json ContentType.

type UpdatePrivateNetworkResponse

type UpdatePrivateNetworkResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Operation
}

func ParseUpdatePrivateNetworkResponse

func ParseUpdatePrivateNetworkResponse(rsp *http.Response) (*UpdatePrivateNetworkResponse, error)

ParseUpdatePrivateNetworkResponse parses an HTTP response from a UpdatePrivateNetworkWithResponse call

func (UpdatePrivateNetworkResponse) Status

Status returns HTTPResponse.Status

func (UpdatePrivateNetworkResponse) StatusCode

func (r UpdatePrivateNetworkResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateSksClusterJSONBody

type UpdateSksClusterJSONBody struct {
	// Enable auto upgrade of the control plane to the latest patch version available
	AutoUpgrade *bool `json:"auto-upgrade,omitempty"`

	// Cluster description
	Description *string `json:"description,omitempty"`
	Labels      *Labels `json:"labels,omitempty"`

	// Cluster name
	Name *string `json:"name,omitempty"`
}

UpdateSksClusterJSONBody defines parameters for UpdateSksCluster.

type UpdateSksClusterJSONRequestBody

type UpdateSksClusterJSONRequestBody UpdateSksClusterJSONBody

UpdateSksClusterJSONRequestBody defines body for UpdateSksCluster for application/json ContentType.

type UpdateSksClusterResponse

type UpdateSksClusterResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Operation
}

func ParseUpdateSksClusterResponse

func ParseUpdateSksClusterResponse(rsp *http.Response) (*UpdateSksClusterResponse, error)

ParseUpdateSksClusterResponse parses an HTTP response from a UpdateSksClusterWithResponse call

func (UpdateSksClusterResponse) Status

func (r UpdateSksClusterResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateSksClusterResponse) StatusCode

func (r UpdateSksClusterResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateSksNodepoolJSONBody

type UpdateSksNodepoolJSONBody struct {
	// Nodepool Anti-affinity Groups
	AntiAffinityGroups *[]AntiAffinityGroup `json:"anti-affinity-groups,omitempty"`

	// Deploy target
	DeployTarget *DeployTarget `json:"deploy-target,omitempty"`

	// Nodepool description
	Description *string `json:"description,omitempty"`

	// Nodepool instances disk size in GB
	DiskSize *int64 `json:"disk-size,omitempty"`

	// Prefix to apply to managed instances names (default: pool)
	InstancePrefix *string `json:"instance-prefix,omitempty"`

	// Compute instance type
	InstanceType *InstanceType `json:"instance-type,omitempty"`
	Labels       *Labels       `json:"labels,omitempty"`

	// Nodepool name
	Name *string `json:"name,omitempty"`

	// Nodepool Private Networks
	PrivateNetworks *[]PrivateNetwork `json:"private-networks,omitempty"`

	// Nodepool Security Groups
	SecurityGroups *[]SecurityGroup   `json:"security-groups,omitempty"`
	Taints         *SksNodepoolTaints `json:"taints,omitempty"`
}

UpdateSksNodepoolJSONBody defines parameters for UpdateSksNodepool.

type UpdateSksNodepoolJSONRequestBody

type UpdateSksNodepoolJSONRequestBody UpdateSksNodepoolJSONBody

UpdateSksNodepoolJSONRequestBody defines body for UpdateSksNodepool for application/json ContentType.

type UpdateSksNodepoolResponse

type UpdateSksNodepoolResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Operation
}

func ParseUpdateSksNodepoolResponse

func ParseUpdateSksNodepoolResponse(rsp *http.Response) (*UpdateSksNodepoolResponse, error)

ParseUpdateSksNodepoolResponse parses an HTTP response from a UpdateSksNodepoolWithResponse call

func (UpdateSksNodepoolResponse) Status

func (r UpdateSksNodepoolResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateSksNodepoolResponse) StatusCode

func (r UpdateSksNodepoolResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateTemplateJSONBody

type UpdateTemplateJSONBody struct {
	// Template Description
	Description *string `json:"description,omitempty"`

	// Template name
	Name *string `json:"name,omitempty"`
}

UpdateTemplateJSONBody defines parameters for UpdateTemplate.

type UpdateTemplateJSONRequestBody

type UpdateTemplateJSONRequestBody UpdateTemplateJSONBody

UpdateTemplateJSONRequestBody defines body for UpdateTemplate for application/json ContentType.

type UpdateTemplateResponse

type UpdateTemplateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Operation
}

func ParseUpdateTemplateResponse

func ParseUpdateTemplateResponse(rsp *http.Response) (*UpdateTemplateResponse, error)

ParseUpdateTemplateResponse parses an HTTP response from a UpdateTemplateWithResponse call

func (UpdateTemplateResponse) Status

func (r UpdateTemplateResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateTemplateResponse) StatusCode

func (r UpdateTemplateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpgradeSksClusterJSONBody

type UpgradeSksClusterJSONBody struct {
	// Control plane Kubernetes version
	Version string `json:"version"`
}

UpgradeSksClusterJSONBody defines parameters for UpgradeSksCluster.

type UpgradeSksClusterJSONRequestBody

type UpgradeSksClusterJSONRequestBody UpgradeSksClusterJSONBody

UpgradeSksClusterJSONRequestBody defines body for UpgradeSksCluster for application/json ContentType.

type UpgradeSksClusterResponse

type UpgradeSksClusterResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Operation
}

func ParseUpgradeSksClusterResponse

func ParseUpgradeSksClusterResponse(rsp *http.Response) (*UpgradeSksClusterResponse, error)

ParseUpgradeSksClusterResponse parses an HTTP response from a UpgradeSksClusterWithResponse call

func (UpgradeSksClusterResponse) Status

func (r UpgradeSksClusterResponse) Status() string

Status returns HTTPResponse.Status

func (UpgradeSksClusterResponse) StatusCode

func (r UpgradeSksClusterResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpgradeSksClusterServiceLevelResponse

type UpgradeSksClusterServiceLevelResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Operation
}

func ParseUpgradeSksClusterServiceLevelResponse

func ParseUpgradeSksClusterServiceLevelResponse(rsp *http.Response) (*UpgradeSksClusterServiceLevelResponse, error)

ParseUpgradeSksClusterServiceLevelResponse parses an HTTP response from a UpgradeSksClusterServiceLevelWithResponse call

func (UpgradeSksClusterServiceLevelResponse) Status

Status returns HTTPResponse.Status

func (UpgradeSksClusterServiceLevelResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type Zone

type Zone struct {
	// Zone short name
	Name *ZoneName `json:"name,omitempty"`
}

Zone

type ZoneName

type ZoneName string

Zone short name

const (
	ZoneNameAtVie1 ZoneName = "at-vie-1"

	ZoneNameBgSof1 ZoneName = "bg-sof-1"

	ZoneNameChGva2 ZoneName = "ch-gva-2"

	ZoneNameChZrh1 ZoneName = "ch-zrh-1"

	ZoneNameDeFra1 ZoneName = "de-fra-1"

	ZoneNameDeMuc1 ZoneName = "de-muc-1"
)

Defines values for ZoneName.

Jump to

Keyboard shortcuts

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