Documentation
¶
Overview ¶
Package v3 provides primitives to interact with the openapi HTTP API.
Code generated by github.com/egoscale/v3/generator version v0.0.1 DO NOT EDIT.
Package v3 provides primitives to interact with the openapi HTTP API.
Code generated by github.com/egoscale/v3/generator version v0.0.1 DO NOT EDIT.
Package v3 provides primitives to interact with the openapi HTTP API.
Code generated by github.com/egoscale/v3/generator version v0.0.1 DO NOT EDIT.
Index ¶
- Constants
- Variables
- func Bool(b bool) *bool
- func Int64(i int64) *int64
- func Ptr[T any](v T) *T
- func String(s string) *string
- type AccessKey
- type AccessKeyOperation
- type AccessKeyResource
- type AccessKeyResourceDomain
- type AccessKeyResourceResourceType
- type AccessKeyType
- type AccessKeyVersion
- type AddExternalSourceToSecurityGroupRequest
- type AddRuleToSecurityGroupRequest
- type AddRuleToSecurityGroupRequestFlowDirection
- type AddRuleToSecurityGroupRequestICMP
- type AddRuleToSecurityGroupRequestProtocol
- type AddServiceToLoadBalancerRequest
- type AddServiceToLoadBalancerRequestProtocol
- type AddServiceToLoadBalancerRequestStrategy
- type AntiAffinityGroup
- type AntiAffinityGroupRef
- type AttachBlockStorageVolumeToInstanceRequest
- type AttachDBAASServiceToEndpointRequest
- type AttachInstanceToElasticIPRequest
- type AttachInstanceToPrivateNetworkRequest
- type AttachInstanceToPrivateNetworkRequestInstance
- type AttachInstanceToSecurityGroupRequest
- type BlockStorageSnapshot
- type BlockStorageSnapshotRef
- type BlockStorageSnapshotState
- type BlockStorageSnapshotTarget
- type BlockStorageVolume
- type BlockStorageVolumeRef
- type BlockStorageVolumeState
- type BlockStorageVolumeTarget
- type Client
- func (c Client) AddExternalSourceToSecurityGroup(ctx context.Context, id UUID, req AddExternalSourceToSecurityGroupRequest) (*Operation, error)
- func (c Client) AddInstanceProtection(ctx context.Context, id UUID) (*Operation, error)
- func (c Client) AddRuleToSecurityGroup(ctx context.Context, id UUID, req AddRuleToSecurityGroupRequest) (*Operation, error)
- func (c Client) AddServiceToLoadBalancer(ctx context.Context, id UUID, req AddServiceToLoadBalancerRequest) (*Operation, error)
- func (c Client) AttachBlockStorageVolumeToInstance(ctx context.Context, id UUID, req AttachBlockStorageVolumeToInstanceRequest) (*Operation, error)
- func (c Client) AttachDBAASServiceToEndpoint(ctx context.Context, sourceServiceName string, ...) (*Operation, error)
- func (c Client) AttachInstanceToElasticIP(ctx context.Context, id UUID, req AttachInstanceToElasticIPRequest) (*Operation, error)
- func (c Client) AttachInstanceToPrivateNetwork(ctx context.Context, id UUID, req AttachInstanceToPrivateNetworkRequest) (*Operation, error)
- func (c Client) AttachInstanceToSecurityGroup(ctx context.Context, id UUID, req AttachInstanceToSecurityGroupRequest) (*Operation, error)
- func (c Client) CopyTemplate(ctx context.Context, id UUID, req CopyTemplateRequest) (*Operation, error)
- func (c Client) CreateAPIKey(ctx context.Context, req CreateAPIKeyRequest) (*IAMAPIKeyCreated, error)
- func (c Client) CreateAntiAffinityGroup(ctx context.Context, req CreateAntiAffinityGroupRequest) (*Operation, error)
- func (c Client) CreateBlockStorageSnapshot(ctx context.Context, id UUID, req CreateBlockStorageSnapshotRequest) (*Operation, error)
- func (c Client) CreateBlockStorageVolume(ctx context.Context, req CreateBlockStorageVolumeRequest) (*Operation, error)
- func (c Client) CreateDBAASExternalEndpointDatadog(ctx context.Context, name string, req DBAASEndpointDatadogInputCreate) (*Operation, error)
- func (c Client) CreateDBAASExternalEndpointElasticsearch(ctx context.Context, name string, req DBAASEndpointElasticsearchInputCreate) (*Operation, error)
- func (c Client) CreateDBAASExternalEndpointOpensearch(ctx context.Context, name string, req DBAASEndpointOpensearchInputCreate) (*Operation, error)
- func (c Client) CreateDBAASExternalEndpointPrometheus(ctx context.Context, name string, req DBAASEndpointPrometheusPayload) (*Operation, error)
- func (c Client) CreateDBAASExternalEndpointRsyslog(ctx context.Context, name string, req DBAASEndpointRsyslogInputCreate) (*Operation, error)
- func (c Client) CreateDBAASIntegration(ctx context.Context, req CreateDBAASIntegrationRequest) (*Operation, error)
- func (c Client) CreateDBAASKafkaSchemaRegistryAclConfig(ctx context.Context, name string, req DBAASKafkaSchemaRegistryAclEntry) (*Operation, error)
- func (c Client) CreateDBAASKafkaTopicAclConfig(ctx context.Context, name string, req DBAASKafkaTopicAclEntry) (*Operation, error)
- func (c Client) CreateDBAASKafkaUser(ctx context.Context, serviceName string, req CreateDBAASKafkaUserRequest) (*Operation, error)
- func (c Client) CreateDBAASMysqlDatabase(ctx context.Context, serviceName string, req CreateDBAASMysqlDatabaseRequest) (*Operation, error)
- func (c Client) CreateDBAASMysqlUser(ctx context.Context, serviceName string, req CreateDBAASMysqlUserRequest) (*Operation, error)
- func (c Client) CreateDBAASOpensearchUser(ctx context.Context, serviceName string, req CreateDBAASOpensearchUserRequest) (*Operation, error)
- func (c Client) CreateDBAASPGConnectionPool(ctx context.Context, serviceName string, ...) (*Operation, error)
- func (c Client) CreateDBAASPGDatabase(ctx context.Context, serviceName string, req CreateDBAASPGDatabaseRequest) (*Operation, error)
- func (c Client) CreateDBAASPGUpgradeCheck(ctx context.Context, service string, req CreateDBAASPGUpgradeCheckRequest) (*DBAASTask, error)
- func (c Client) CreateDBAASPostgresUser(ctx context.Context, serviceName string, req CreateDBAASPostgresUserRequest) (*Operation, error)
- func (c Client) CreateDBAASServiceGrafana(ctx context.Context, name string, req CreateDBAASServiceGrafanaRequest) (*Operation, error)
- func (c Client) CreateDBAASServiceKafka(ctx context.Context, name string, req CreateDBAASServiceKafkaRequest) (*Operation, error)
- func (c Client) CreateDBAASServiceMysql(ctx context.Context, name string, req CreateDBAASServiceMysqlRequest) (*Operation, error)
- func (c Client) CreateDBAASServiceOpensearch(ctx context.Context, name string, req CreateDBAASServiceOpensearchRequest) (*Operation, error)
- func (c Client) CreateDBAASServicePG(ctx context.Context, name string, req CreateDBAASServicePGRequest) (*Operation, error)
- func (c Client) CreateDBAASServiceThanos(ctx context.Context, name string, req CreateDBAASServiceThanosRequest) (*Operation, error)
- func (c Client) CreateDBAASServiceValkey(ctx context.Context, name string, req CreateDBAASServiceValkeyRequest) (*Operation, error)
- func (c Client) CreateDBAASTaskMigrationCheck(ctx context.Context, service string, req CreateDBAASTaskMigrationCheckRequest) (*Operation, error)
- func (c Client) CreateDBAASValkeyUser(ctx context.Context, serviceName string, req CreateDBAASValkeyUserRequest) (*Operation, error)
- func (c Client) CreateDNSDomain(ctx context.Context, req CreateDNSDomainRequest) (*Operation, error)
- func (c Client) CreateDNSDomainRecord(ctx context.Context, domainID UUID, req CreateDNSDomainRecordRequest) (*Operation, error)
- func (c Client) CreateDeployment(ctx context.Context, req CreateDeploymentRequest) (*Operation, error)
- func (c Client) CreateElasticIP(ctx context.Context, req CreateElasticIPRequest) (*Operation, error)
- func (c Client) CreateIAMRole(ctx context.Context, req CreateIAMRoleRequest) (*Operation, error)
- func (c Client) CreateInstance(ctx context.Context, req CreateInstanceRequest) (*Operation, error)
- func (c Client) CreateInstancePool(ctx context.Context, req CreateInstancePoolRequest) (*Operation, error)
- func (c Client) CreateLoadBalancer(ctx context.Context, req CreateLoadBalancerRequest) (*Operation, error)
- func (c Client) CreateModel(ctx context.Context, req CreateModelRequest) (*Operation, error)
- func (c Client) CreatePrivateNetwork(ctx context.Context, req CreatePrivateNetworkRequest) (*Operation, error)
- func (c Client) CreateSKSCluster(ctx context.Context, req CreateSKSClusterRequest) (*Operation, error)
- func (c Client) CreateSKSNodepool(ctx context.Context, id UUID, req CreateSKSNodepoolRequest) (*Operation, error)
- func (c Client) CreateSecurityGroup(ctx context.Context, req CreateSecurityGroupRequest) (*Operation, error)
- func (c Client) CreateSnapshot(ctx context.Context, id UUID) (*Operation, error)
- func (c Client) CreateUser(ctx context.Context, req CreateUserRequest) (*Operation, error)
- func (c Client) DeleteAPIKey(ctx context.Context, id string) (*Operation, error)
- func (c Client) DeleteAntiAffinityGroup(ctx context.Context, id UUID) (*Operation, error)
- func (c Client) DeleteBlockStorageSnapshot(ctx context.Context, id UUID) (*Operation, error)
- func (c Client) DeleteBlockStorageVolume(ctx context.Context, id UUID) (*Operation, error)
- func (c Client) DeleteDBAASExternalEndpointDatadog(ctx context.Context, endpointID UUID) (*Operation, error)
- func (c Client) DeleteDBAASExternalEndpointElasticsearch(ctx context.Context, endpointID UUID) (*Operation, error)
- func (c Client) DeleteDBAASExternalEndpointOpensearch(ctx context.Context, endpointID UUID) (*Operation, error)
- func (c Client) DeleteDBAASExternalEndpointPrometheus(ctx context.Context, endpointID UUID) (*Operation, error)
- func (c Client) DeleteDBAASExternalEndpointRsyslog(ctx context.Context, endpointID UUID) (*Operation, error)
- func (c Client) DeleteDBAASIntegration(ctx context.Context, id UUID) (*Operation, error)
- func (c Client) DeleteDBAASKafkaSchemaRegistryAclConfig(ctx context.Context, name string, aclID string) (*Operation, error)
- func (c Client) DeleteDBAASKafkaTopicAclConfig(ctx context.Context, name string, aclID string) (*Operation, error)
- func (c Client) DeleteDBAASKafkaUser(ctx context.Context, serviceName string, username string) (*Operation, error)
- func (c Client) DeleteDBAASMysqlDatabase(ctx context.Context, serviceName string, databaseName string) (*Operation, error)
- func (c Client) DeleteDBAASMysqlUser(ctx context.Context, serviceName string, username string) (*Operation, error)
- func (c Client) DeleteDBAASOpensearchUser(ctx context.Context, serviceName string, username string) (*Operation, error)
- func (c Client) DeleteDBAASPGConnectionPool(ctx context.Context, serviceName string, connectionPoolName string) (*Operation, error)
- func (c Client) DeleteDBAASPGDatabase(ctx context.Context, serviceName string, databaseName string) (*Operation, error)
- func (c Client) DeleteDBAASPostgresUser(ctx context.Context, serviceName string, username string) (*Operation, error)
- func (c Client) DeleteDBAASService(ctx context.Context, name string) (*Operation, error)
- func (c Client) DeleteDBAASServiceGrafana(ctx context.Context, name string) (*Operation, error)
- func (c Client) DeleteDBAASServiceKafka(ctx context.Context, name string) (*Operation, error)
- func (c Client) DeleteDBAASServiceMysql(ctx context.Context, name string) (*Operation, error)
- func (c Client) DeleteDBAASServiceOpensearch(ctx context.Context, name string) (*Operation, error)
- func (c Client) DeleteDBAASServicePG(ctx context.Context, name string) (*Operation, error)
- func (c Client) DeleteDBAASServiceThanos(ctx context.Context, name string) (*Operation, error)
- func (c Client) DeleteDBAASServiceValkey(ctx context.Context, name string) (*Operation, error)
- func (c Client) DeleteDBAASValkeyUser(ctx context.Context, serviceName string, username string) (*Operation, error)
- func (c Client) DeleteDNSDomain(ctx context.Context, id UUID) (*Operation, error)
- func (c Client) DeleteDNSDomainRecord(ctx context.Context, domainID UUID, recordID UUID) (*Operation, error)
- func (c Client) DeleteDeployment(ctx context.Context, id UUID) (*Operation, error)
- func (c Client) DeleteElasticIP(ctx context.Context, id UUID) (*Operation, error)
- func (c Client) DeleteIAMRole(ctx context.Context, id UUID) (*Operation, error)
- func (c Client) DeleteInstance(ctx context.Context, id UUID) (*Operation, error)
- func (c Client) DeleteInstancePool(ctx context.Context, id UUID) (*Operation, error)
- func (c Client) DeleteLoadBalancer(ctx context.Context, id UUID) (*Operation, error)
- func (c Client) DeleteLoadBalancerService(ctx context.Context, id UUID, serviceID UUID) (*Operation, error)
- func (c Client) DeleteModel(ctx context.Context, id UUID) (*Operation, error)
- func (c Client) DeletePrivateNetwork(ctx context.Context, id UUID) (*Operation, error)
- func (c Client) DeleteReverseDNSElasticIP(ctx context.Context, id UUID) (*Operation, error)
- func (c Client) DeleteReverseDNSInstance(ctx context.Context, id UUID) (*Operation, error)
- func (c Client) DeleteRuleFromSecurityGroup(ctx context.Context, id UUID, ruleID UUID) (*Operation, error)
- func (c Client) DeleteSKSCluster(ctx context.Context, id UUID) (*Operation, error)
- func (c Client) DeleteSKSNodepool(ctx context.Context, id UUID, sksNodepoolID UUID) (*Operation, error)
- func (c Client) DeleteSSHKey(ctx context.Context, name string) (*Operation, error)
- func (c Client) DeleteSecurityGroup(ctx context.Context, id UUID) (*Operation, error)
- func (c Client) DeleteSnapshot(ctx context.Context, id UUID) (*Operation, error)
- func (c Client) DeleteTemplate(ctx context.Context, id UUID) (*Operation, error)
- func (c Client) DeleteUser(ctx context.Context, id UUID) (*Operation, error)
- func (c Client) DetachBlockStorageVolume(ctx context.Context, id UUID) (*Operation, error)
- func (c Client) DetachDBAASServiceFromEndpoint(ctx context.Context, sourceServiceName string, ...) (*Operation, error)
- func (c Client) DetachInstanceFromElasticIP(ctx context.Context, id UUID, req DetachInstanceFromElasticIPRequest) (*Operation, error)
- func (c Client) DetachInstanceFromPrivateNetwork(ctx context.Context, id UUID, req DetachInstanceFromPrivateNetworkRequest) (*Operation, error)
- func (c Client) DetachInstanceFromSecurityGroup(ctx context.Context, id UUID, req DetachInstanceFromSecurityGroupRequest) (*Operation, error)
- func (c Client) EnableDBAASMysqlWrites(ctx context.Context, name string) (*Operation, error)
- func (c Client) EnableTpm(ctx context.Context, id UUID) (*Operation, error)
- func (c Client) EvictInstancePoolMembers(ctx context.Context, id UUID, req EvictInstancePoolMembersRequest) (*Operation, error)
- func (c Client) EvictSKSNodepoolMembers(ctx context.Context, id UUID, sksNodepoolID UUID, ...) (*Operation, error)
- func (c Client) ExportSnapshot(ctx context.Context, id UUID) (*Operation, error)
- func (c Client) GenerateSKSClusterKubeconfig(ctx context.Context, id UUID, req SKSKubeconfigRequest) (*GenerateSKSClusterKubeconfigResponse, error)
- func (c Client) GetAPIKey(ctx context.Context, id string) (*IAMAPIKey, error)
- func (c Client) GetActiveNodepoolTemplate(ctx context.Context, kubeVersion string, ...) (*GetActiveNodepoolTemplateResponse, error)
- func (c Client) GetAntiAffinityGroup(ctx context.Context, id UUID) (*AntiAffinityGroup, error)
- func (c Client) GetBlockStorageSnapshot(ctx context.Context, id UUID) (*BlockStorageSnapshot, error)
- func (c Client) GetBlockStorageVolume(ctx context.Context, id UUID) (*BlockStorageVolume, error)
- func (c Client) GetConsoleProxyURL(ctx context.Context, id UUID) (*GetConsoleProxyURLResponse, error)
- func (c Client) GetDBAASCACertificate(ctx context.Context) (*GetDBAASCACertificateResponse, error)
- func (c Client) GetDBAASExternalEndpointDatadog(ctx context.Context, endpointID UUID) (*DBAASExternalEndpointDatadogOutput, error)
- func (c Client) GetDBAASExternalEndpointElasticsearch(ctx context.Context, endpointID UUID) (*DBAASEndpointElasticsearchOutput, error)
- func (c Client) GetDBAASExternalEndpointOpensearch(ctx context.Context, endpointID UUID) (*DBAASEndpointOpensearchOutput, error)
- func (c Client) GetDBAASExternalEndpointPrometheus(ctx context.Context, endpointID UUID) (*DBAASEndpointExternalPrometheusOutput, error)
- func (c Client) GetDBAASExternalEndpointRsyslog(ctx context.Context, endpointID UUID) (*DBAASExternalEndpointRsyslogOutput, error)
- func (c Client) GetDBAASExternalIntegration(ctx context.Context, integrationID UUID) (*DBAASExternalIntegration, error)
- func (c Client) GetDBAASExternalIntegrationSettingsDatadog(ctx context.Context, integrationID UUID) (*GetDBAASExternalIntegrationSettingsDatadogResponse, error)
- func (c Client) GetDBAASIntegration(ctx context.Context, id UUID) (*DBAASIntegration, error)
- func (c Client) GetDBAASKafkaAclConfig(ctx context.Context, name string) (*DBAASKafkaAcls, error)
- func (c Client) GetDBAASMigrationStatus(ctx context.Context, name string) (*DBAASMigrationStatus, error)
- func (c Client) GetDBAASOpensearchAclConfig(ctx context.Context, name string) (*DBAASOpensearchAclConfig, error)
- func (c Client) GetDBAASServiceGrafana(ctx context.Context, name string) (*DBAASServiceGrafana, error)
- func (c Client) GetDBAASServiceKafka(ctx context.Context, name string) (*DBAASServiceKafka, error)
- func (c Client) GetDBAASServiceLogs(ctx context.Context, serviceName string, req GetDBAASServiceLogsRequest) (*DBAASServiceLogs, error)
- func (c Client) GetDBAASServiceMetrics(ctx context.Context, serviceName string, req GetDBAASServiceMetricsRequest) (*GetDBAASServiceMetricsResponse, error)
- func (c Client) GetDBAASServiceMysql(ctx context.Context, name string) (*DBAASServiceMysql, error)
- func (c Client) GetDBAASServiceOpensearch(ctx context.Context, name string) (*DBAASServiceOpensearch, error)
- func (c Client) GetDBAASServicePG(ctx context.Context, name string) (*DBAASServicePG, error)
- func (c Client) GetDBAASServiceThanos(ctx context.Context, name string) (*DBAASServiceThanos, error)
- func (c Client) GetDBAASServiceType(ctx context.Context, serviceTypeName string) (*DBAASServiceType, error)
- func (c Client) GetDBAASServiceValkey(ctx context.Context, name string) (*DBAASServiceValkey, error)
- func (c Client) GetDBAASSettingsGrafana(ctx context.Context) (*GetDBAASSettingsGrafanaResponse, error)
- func (c Client) GetDBAASSettingsKafka(ctx context.Context) (*GetDBAASSettingsKafkaResponse, error)
- func (c Client) GetDBAASSettingsMysql(ctx context.Context) (*GetDBAASSettingsMysqlResponse, error)
- func (c Client) GetDBAASSettingsOpensearch(ctx context.Context) (*GetDBAASSettingsOpensearchResponse, error)
- func (c Client) GetDBAASSettingsPG(ctx context.Context) (*GetDBAASSettingsPGResponse, error)
- func (c Client) GetDBAASSettingsThanos(ctx context.Context) (*GetDBAASSettingsThanosResponse, error)
- func (c Client) GetDBAASSettingsValkey(ctx context.Context) (*GetDBAASSettingsValkeyResponse, error)
- func (c Client) GetDBAASTask(ctx context.Context, service string, id UUID) (*DBAASTask, error)
- func (c Client) GetDNSDomain(ctx context.Context, id UUID) (*DNSDomain, error)
- func (c Client) GetDNSDomainRecord(ctx context.Context, domainID UUID, recordID UUID) (*DNSDomainRecord, error)
- func (c Client) GetDNSDomainZoneFile(ctx context.Context, id UUID) (*GetDNSDomainZoneFileResponse, error)
- func (c Client) GetDeployTarget(ctx context.Context, id UUID) (*DeployTarget, error)
- func (c Client) GetDeployment(ctx context.Context, id UUID) (*GetDeploymentResponse, error)
- func (c Client) GetDeploymentLogs(ctx context.Context, id UUID, opts ...GetDeploymentLogsOpt) (*GetDeploymentLogsResponse, error)
- func (c Client) GetElasticIP(ctx context.Context, id UUID) (*ElasticIP, error)
- func (c Client) GetEnvImpact(ctx context.Context, period string) (*EnvImpactReport, error)
- func (c Client) GetIAMOrganizationPolicy(ctx context.Context) (*IAMPolicy, error)
- func (c Client) GetIAMRole(ctx context.Context, id UUID) (*IAMRole, error)
- func (c Client) GetInferenceEngineHelp(ctx context.Context, opts ...GetInferenceEngineHelpOpt) (*GetInferenceEngineHelpResponse, error)
- func (c Client) GetInstance(ctx context.Context, id UUID) (*Instance, error)
- func (c Client) GetInstancePool(ctx context.Context, id UUID) (*InstancePool, error)
- func (c Client) GetInstanceType(ctx context.Context, id UUID) (*InstanceType, error)
- func (c Client) GetLoadBalancer(ctx context.Context, id UUID) (*LoadBalancer, error)
- func (c Client) GetLoadBalancerService(ctx context.Context, id UUID, serviceID UUID) (*LoadBalancerService, error)
- func (c Client) GetModel(ctx context.Context, id UUID) (*GetModelResponse, error)
- func (c Client) GetOperation(ctx context.Context, id UUID) (*Operation, error)
- func (c Client) GetOrganization(ctx context.Context) (*Organization, error)
- func (c Client) GetPrivateNetwork(ctx context.Context, id UUID) (*PrivateNetwork, error)
- func (c Client) GetQuota(ctx context.Context, entity string) (*Quota, error)
- func (c Client) GetReverseDNSElasticIP(ctx context.Context, id UUID) (*ReverseDNSRecord, error)
- func (c Client) GetReverseDNSInstance(ctx context.Context, id UUID) (*ReverseDNSRecord, error)
- func (c Client) GetSKSCluster(ctx context.Context, id UUID) (*SKSCluster, error)
- func (c Client) GetSKSClusterAuthorityCert(ctx context.Context, id UUID, authority GetSKSClusterAuthorityCertAuthority) (*GetSKSClusterAuthorityCertResponse, error)
- func (c Client) GetSKSClusterInspection(ctx context.Context, id UUID) (*GetSKSClusterInspectionResponse, error)
- func (c Client) GetSKSNodepool(ctx context.Context, id UUID, sksNodepoolID UUID) (*SKSNodepool, error)
- func (c Client) GetSOSPresignedURL(ctx context.Context, bucket string, opts ...GetSOSPresignedURLOpt) (*GetSOSPresignedURLResponse, error)
- func (c Client) GetSSHKey(ctx context.Context, name string) (*SSHKey, error)
- func (c Client) GetSecurityGroup(ctx context.Context, id UUID) (*SecurityGroup, error)
- func (c Client) GetSnapshot(ctx context.Context, id UUID) (*Snapshot, error)
- func (c Client) GetTemplate(ctx context.Context, id UUID) (*Template, error)
- func (c Client) GetUsageReport(ctx context.Context, opts ...GetUsageReportOpt) (*GetUsageReportResponse, error)
- func (c Client) GetZoneAPIEndpoint(ctx context.Context, zoneName ZoneName) (Endpoint, error)
- func (c Client) GetZoneName(ctx context.Context, endpoint Endpoint) (ZoneName, error)
- func (c Client) ListAIInstanceTypes(ctx context.Context) (*ListAIInstanceTypesResponse, error)
- func (c Client) ListAPIKeys(ctx context.Context) (*ListAPIKeysResponse, error)
- func (c Client) ListAntiAffinityGroups(ctx context.Context) (*ListAntiAffinityGroupsResponse, error)
- func (c Client) ListBlockStorageSnapshots(ctx context.Context) (*ListBlockStorageSnapshotsResponse, error)
- func (c Client) ListBlockStorageVolumes(ctx context.Context, opts ...ListBlockStorageVolumesOpt) (*ListBlockStorageVolumesResponse, error)
- func (c Client) ListDBAASExternalEndpointTypes(ctx context.Context) (*ListDBAASExternalEndpointTypesResponse, error)
- func (c Client) ListDBAASExternalEndpoints(ctx context.Context) (*ListDBAASExternalEndpointsResponse, error)
- func (c Client) ListDBAASExternalIntegrations(ctx context.Context, serviceName string) (*ListDBAASExternalIntegrationsResponse, error)
- func (c Client) ListDBAASIntegrationSettings(ctx context.Context, integrationType string, sourceType string, ...) (*ListDBAASIntegrationSettingsResponse, error)
- func (c Client) ListDBAASIntegrationTypes(ctx context.Context) (*ListDBAASIntegrationTypesResponse, error)
- func (c Client) ListDBAASServiceTypes(ctx context.Context) (*ListDBAASServiceTypesResponse, error)
- func (c Client) ListDBAASServices(ctx context.Context) (*ListDBAASServicesResponse, error)
- func (c Client) ListDNSDomainRecords(ctx context.Context, domainID UUID) (*ListDNSDomainRecordsResponse, error)
- func (c Client) ListDNSDomains(ctx context.Context) (*ListDNSDomainsResponse, error)
- func (c Client) ListDeployTargets(ctx context.Context) (*ListDeployTargetsResponse, error)
- func (c Client) ListDeployments(ctx context.Context) (*ListDeploymentsResponse, error)
- func (c Client) ListElasticIPS(ctx context.Context) (*ListElasticIPSResponse, error)
- func (c Client) ListEvents(ctx context.Context, opts ...ListEventsOpt) ([]Event, error)
- func (c Client) ListIAMRoles(ctx context.Context) (*ListIAMRolesResponse, error)
- func (c Client) ListInstancePools(ctx context.Context) (*ListInstancePoolsResponse, error)
- func (c Client) ListInstanceTypes(ctx context.Context) (*ListInstanceTypesResponse, error)
- func (c Client) ListInstances(ctx context.Context, opts ...ListInstancesOpt) (*ListInstancesResponse, error)
- func (c Client) ListLoadBalancers(ctx context.Context) (*ListLoadBalancersResponse, error)
- func (c Client) ListModels(ctx context.Context) (*ListModelsResponse, error)
- func (c Client) ListPrivateNetworks(ctx context.Context) (*ListPrivateNetworksResponse, error)
- func (c Client) ListQuotas(ctx context.Context) (*ListQuotasResponse, error)
- func (c Client) ListSKSClusterDeprecatedResources(ctx context.Context, id UUID) ([]SKSClusterDeprecatedResource, error)
- func (c Client) ListSKSClusterVersions(ctx context.Context, opts ...ListSKSClusterVersionsOpt) (*ListSKSClusterVersionsResponse, error)
- func (c Client) ListSKSClusters(ctx context.Context) (*ListSKSClustersResponse, error)
- func (c Client) ListSOSBucketsUsage(ctx context.Context) (*ListSOSBucketsUsageResponse, error)
- func (c Client) ListSSHKeys(ctx context.Context) (*ListSSHKeysResponse, error)
- func (c Client) ListSecurityGroups(ctx context.Context, opts ...ListSecurityGroupsOpt) (*ListSecurityGroupsResponse, error)
- func (c Client) ListSnapshots(ctx context.Context) (*ListSnapshotsResponse, error)
- func (c Client) ListTemplates(ctx context.Context, opts ...ListTemplatesOpt) (*ListTemplatesResponse, error)
- func (c Client) ListUsers(ctx context.Context) (*ListUsersResponse, error)
- func (c Client) ListZones(ctx context.Context) (*ListZonesResponse, error)
- func (c Client) PromoteSnapshotToTemplate(ctx context.Context, id UUID, req PromoteSnapshotToTemplateRequest) (*Operation, error)
- func (c Client) RebootInstance(ctx context.Context, id UUID) (*Operation, error)
- func (c Client) RegisterSSHKey(ctx context.Context, req RegisterSSHKeyRequest) (*Operation, error)
- func (c Client) RegisterTemplate(ctx context.Context, req RegisterTemplateRequest) (*Operation, error)
- func (c Client) RemoveExternalSourceFromSecurityGroup(ctx context.Context, id UUID, req RemoveExternalSourceFromSecurityGroupRequest) (*Operation, error)
- func (c Client) RemoveInstanceProtection(ctx context.Context, id UUID) (*Operation, error)
- func (c Client) ResetDBAASGrafanaUserPassword(ctx context.Context, serviceName string, username string, ...) (*Operation, error)
- func (c Client) ResetDBAASKafkaUserPassword(ctx context.Context, serviceName string, username string, ...) (*Operation, error)
- func (c Client) ResetDBAASMysqlUserPassword(ctx context.Context, serviceName string, username string, ...) (*Operation, error)
- func (c Client) ResetDBAASOpensearchUserPassword(ctx context.Context, serviceName string, username string, ...) (*Operation, error)
- func (c Client) ResetDBAASPostgresUserPassword(ctx context.Context, serviceName string, username string, ...) (*Operation, error)
- func (c Client) ResetDBAASValkeyUserPassword(ctx context.Context, serviceName string, username string, ...) (*Operation, error)
- func (c Client) ResetElasticIPField(ctx context.Context, id UUID, field ResetElasticIPFieldField) (*Operation, error)
- func (c Client) ResetIAMOrganizationPolicy(ctx context.Context) (*Operation, error)
- func (c Client) ResetInstance(ctx context.Context, id UUID, req ResetInstanceRequest) (*Operation, error)
- func (c Client) ResetInstanceField(ctx context.Context, id UUID, field ResetInstanceFieldField) (*Operation, error)
- func (c Client) ResetInstancePassword(ctx context.Context, id UUID) (*Operation, error)
- func (c Client) ResetInstancePoolField(ctx context.Context, id UUID, field ResetInstancePoolFieldField) (*Operation, error)
- func (c Client) ResetLoadBalancerField(ctx context.Context, id UUID, field ResetLoadBalancerFieldField) (*Operation, error)
- func (c Client) ResetLoadBalancerServiceField(ctx context.Context, id UUID, serviceID UUID, ...) (*Operation, error)
- func (c Client) ResetPrivateNetworkField(ctx context.Context, id UUID, field ResetPrivateNetworkFieldField) (*Operation, error)
- func (c Client) ResizeBlockStorageVolume(ctx context.Context, id UUID, req ResizeBlockStorageVolumeRequest) (*BlockStorageVolume, error)
- func (c Client) ResizeInstanceDisk(ctx context.Context, id UUID, req ResizeInstanceDiskRequest) (*Operation, error)
- func (c Client) RevealDBAASGrafanaUserPassword(ctx context.Context, serviceName string, username string) (*DBAASUserGrafanaSecrets, error)
- func (c Client) RevealDBAASKafkaConnectPassword(ctx context.Context, serviceName string) (*DBAASUserKafkaConnectSecrets, error)
- func (c Client) RevealDBAASKafkaUserPassword(ctx context.Context, serviceName string, username string) (*DBAASUserKafkaSecrets, error)
- func (c Client) RevealDBAASMysqlUserPassword(ctx context.Context, serviceName string, username string) (*DBAASUserMysqlSecrets, error)
- func (c Client) RevealDBAASOpensearchUserPassword(ctx context.Context, serviceName string, username string) (*DBAASUserOpensearchSecrets, error)
- func (c Client) RevealDBAASPostgresUserPassword(ctx context.Context, serviceName string, username string) (*DBAASUserPostgresSecrets, error)
- func (c Client) RevealDBAASThanosUserPassword(ctx context.Context, serviceName string, username string) (*DBAASUserThanosSecrets, error)
- func (c Client) RevealDBAASValkeyUserPassword(ctx context.Context, serviceName string, username string) (*DBAASUserValkeySecrets, error)
- func (c Client) RevealDeploymentAPIKey(ctx context.Context, id UUID) (*RevealDeploymentAPIKeyResponse, error)
- func (c Client) RevealInstancePassword(ctx context.Context, id UUID) (*InstancePassword, error)
- func (c Client) RevertInstanceToSnapshot(ctx context.Context, instanceID UUID, req RevertInstanceToSnapshotRequest) (*Operation, error)
- func (c Client) RotateSKSCcmCredentials(ctx context.Context, id UUID) (*Operation, error)
- func (c Client) RotateSKSCsiCredentials(ctx context.Context, id UUID) (*Operation, error)
- func (c Client) RotateSKSKarpenterCredentials(ctx context.Context, id UUID) (*Operation, error)
- func (c Client) RotateSKSOperatorsCA(ctx context.Context, id UUID) (*Operation, error)
- func (c Client) ScaleDeployment(ctx context.Context, id UUID, req ScaleDeploymentRequest) (*Operation, error)
- func (c Client) ScaleInstance(ctx context.Context, id UUID, req ScaleInstanceRequest) (*Operation, error)
- func (c Client) ScaleInstancePool(ctx context.Context, id UUID, req ScaleInstancePoolRequest) (*Operation, error)
- func (c Client) ScaleSKSNodepool(ctx context.Context, id UUID, sksNodepoolID UUID, req ScaleSKSNodepoolRequest) (*Operation, error)
- func (c Client) StartDBAASGrafanaMaintenance(ctx context.Context, name string) (*Operation, error)
- func (c Client) StartDBAASKafkaMaintenance(ctx context.Context, name string) (*Operation, error)
- func (c Client) StartDBAASMysqlMaintenance(ctx context.Context, name string) (*Operation, error)
- func (c Client) StartDBAASOpensearchMaintenance(ctx context.Context, name string) (*Operation, error)
- func (c Client) StartDBAASPGMaintenance(ctx context.Context, name string) (*Operation, error)
- func (c Client) StartDBAASThanosMaintenance(ctx context.Context, name string) (*Operation, error)
- func (c Client) StartDBAASValkeyMaintenance(ctx context.Context, name string) (*Operation, error)
- func (c Client) StartInstance(ctx context.Context, id UUID, req StartInstanceRequest) (*Operation, error)
- func (c Client) StopDBAASMysqlMigration(ctx context.Context, name string) (*Operation, error)
- func (c Client) StopDBAASPGMigration(ctx context.Context, name string) (*Operation, error)
- func (c Client) StopDBAASValkeyMigration(ctx context.Context, name string) (*Operation, error)
- func (c Client) StopInstance(ctx context.Context, id UUID) (*Operation, error)
- func (c Client) UpdateBlockStorageSnapshot(ctx context.Context, id UUID, req UpdateBlockStorageSnapshotRequest) (*Operation, error)
- func (c Client) UpdateBlockStorageVolume(ctx context.Context, id UUID, req UpdateBlockStorageVolumeRequest) (*Operation, error)
- func (c Client) UpdateDBAASExternalEndpointDatadog(ctx context.Context, endpointID UUID, req DBAASEndpointDatadogInputUpdate) (*Operation, error)
- func (c Client) UpdateDBAASExternalEndpointElasticsearch(ctx context.Context, endpointID UUID, ...) (*Operation, error)
- func (c Client) UpdateDBAASExternalEndpointOpensearch(ctx context.Context, endpointID UUID, req DBAASEndpointOpensearchInputUpdate) (*Operation, error)
- func (c Client) UpdateDBAASExternalEndpointPrometheus(ctx context.Context, endpointID UUID, req DBAASEndpointPrometheusPayload) (*Operation, error)
- func (c Client) UpdateDBAASExternalEndpointRsyslog(ctx context.Context, endpointID UUID, req DBAASEndpointRsyslogInputUpdate) (*Operation, error)
- func (c Client) UpdateDBAASExternalIntegrationSettingsDatadog(ctx context.Context, integrationID UUID, ...) (*Operation, error)
- func (c Client) UpdateDBAASIntegration(ctx context.Context, id UUID, req UpdateDBAASIntegrationRequest) (*Operation, error)
- func (c Client) UpdateDBAASOpensearchAclConfig(ctx context.Context, name string, req DBAASOpensearchAclConfig) (*Operation, error)
- func (c Client) UpdateDBAASPGConnectionPool(ctx context.Context, serviceName string, connectionPoolName string, ...) (*Operation, error)
- func (c Client) UpdateDBAASPostgresAllowReplication(ctx context.Context, serviceName string, username string, ...) (*DBAASPostgresUsers, error)
- func (c Client) UpdateDBAASServiceGrafana(ctx context.Context, name string, req UpdateDBAASServiceGrafanaRequest) (*Operation, error)
- func (c Client) UpdateDBAASServiceKafka(ctx context.Context, name string, req UpdateDBAASServiceKafkaRequest) (*Operation, error)
- func (c Client) UpdateDBAASServiceMysql(ctx context.Context, name string, req UpdateDBAASServiceMysqlRequest) (*Operation, error)
- func (c Client) UpdateDBAASServiceOpensearch(ctx context.Context, name string, req UpdateDBAASServiceOpensearchRequest) (*Operation, error)
- func (c Client) UpdateDBAASServicePG(ctx context.Context, name string, req UpdateDBAASServicePGRequest) (*Operation, error)
- func (c Client) UpdateDBAASServiceThanos(ctx context.Context, name string, req UpdateDBAASServiceThanosRequest) (*Operation, error)
- func (c Client) UpdateDBAASServiceValkey(ctx context.Context, name string, req UpdateDBAASServiceValkeyRequest) (*Operation, error)
- func (c Client) UpdateDNSDomainRecord(ctx context.Context, domainID UUID, recordID UUID, ...) (*Operation, error)
- func (c Client) UpdateDeployment(ctx context.Context, id UUID, req UpdateDeploymentRequest) (*Operation, error)
- func (c Client) UpdateElasticIP(ctx context.Context, id UUID, req UpdateElasticIPRequest) (*Operation, error)
- func (c Client) UpdateIAMAssumeRolePolicy(ctx context.Context, id UUID, req IAMPolicy) (*Operation, error)
- func (c Client) UpdateIAMOrganizationPolicy(ctx context.Context, req IAMPolicy) (*Operation, error)
- func (c Client) UpdateIAMRole(ctx context.Context, id UUID, req UpdateIAMRoleRequest) (*Operation, error)
- func (c Client) UpdateIAMRolePolicy(ctx context.Context, id UUID, req IAMPolicy) (*Operation, error)
- func (c Client) UpdateInstance(ctx context.Context, id UUID, req UpdateInstanceRequest) (*Operation, error)
- func (c Client) UpdateInstancePool(ctx context.Context, id UUID, req UpdateInstancePoolRequest) (*Operation, error)
- func (c Client) UpdateLoadBalancer(ctx context.Context, id UUID, req UpdateLoadBalancerRequest) (*Operation, error)
- func (c Client) UpdateLoadBalancerService(ctx context.Context, id UUID, serviceID UUID, ...) (*Operation, error)
- func (c Client) UpdatePrivateNetwork(ctx context.Context, id UUID, req UpdatePrivateNetworkRequest) (*Operation, error)
- func (c Client) UpdatePrivateNetworkInstanceIP(ctx context.Context, id UUID, req UpdatePrivateNetworkInstanceIPRequest) (*Operation, error)
- func (c Client) UpdateReverseDNSElasticIP(ctx context.Context, id UUID, req UpdateReverseDNSElasticIPRequest) (*Operation, error)
- func (c Client) UpdateReverseDNSInstance(ctx context.Context, id UUID, req UpdateReverseDNSInstanceRequest) (*Operation, error)
- func (c Client) UpdateSKSCluster(ctx context.Context, id UUID, req UpdateSKSClusterRequest) (*Operation, error)
- func (c Client) UpdateSKSNodepool(ctx context.Context, id UUID, sksNodepoolID UUID, req UpdateSKSNodepoolRequest) (*Operation, error)
- func (c Client) UpdateTemplate(ctx context.Context, id UUID, req UpdateTemplateRequest) (*Operation, error)
- func (c Client) UpdateUserRole(ctx context.Context, id UUID, req UpdateUserRoleRequest) (*Operation, error)
- func (c Client) UpgradeSKSCluster(ctx context.Context, id UUID, req UpgradeSKSClusterRequest) (*Operation, error)
- func (c Client) UpgradeSKSClusterServiceLevel(ctx context.Context, id UUID) (*Operation, error)
- func (c Client) Validate(s any) error
- func (c Client) Wait(ctx context.Context, op *Operation, states ...OperationState) (*Operation, error)
- func (c *Client) WithEndpoint(endpoint Endpoint) *Client
- func (c *Client) WithHTTPClient(client *http.Client) *Client
- func (c *Client) WithHttpClient(client *http.Client) *Client
- func (c *Client) WithRequestInterceptor(f ...RequestInterceptorFn) *Client
- func (c *Client) WithTrace() *Client
- func (c *Client) WithUserAgent(ua string) *Client
- func (c *Client) WithWaitTimeout(t time.Duration) *Client
- type ClientOpt
- func ClientOptWithEndpoint(endpoint Endpoint) ClientOpt
- func ClientOptWithHTTPClient(v *http.Client) ClientOpt
- func ClientOptWithRequestInterceptors(f ...RequestInterceptorFn) ClientOpt
- func ClientOptWithTrace() ClientOpt
- func ClientOptWithUserAgent(ua string) ClientOpt
- func ClientOptWithValidator(validate *validator.Validate) ClientOpt
- func ClientOptWithWaitTimeout(t time.Duration) ClientOpt
- type CopyTemplateRequest
- type CreateAPIKeyRequest
- type CreateAntiAffinityGroupRequest
- type CreateBlockStorageSnapshotRequest
- type CreateBlockStorageVolumeRequest
- type CreateDBAASIntegrationRequest
- type CreateDBAASKafkaUserRequest
- type CreateDBAASMysqlDatabaseRequest
- type CreateDBAASMysqlUserRequest
- type CreateDBAASOpensearchUserRequest
- type CreateDBAASPGConnectionPoolRequest
- type CreateDBAASPGDatabaseRequest
- type CreateDBAASPGUpgradeCheckRequest
- type CreateDBAASPostgresUserRequest
- type CreateDBAASServiceGrafanaRequest
- type CreateDBAASServiceGrafanaRequestMaintenance
- type CreateDBAASServiceGrafanaRequestMaintenanceDow
- type CreateDBAASServiceKafkaRequest
- type CreateDBAASServiceKafkaRequestAuthenticationMethods
- type CreateDBAASServiceKafkaRequestMaintenance
- type CreateDBAASServiceKafkaRequestMaintenanceDow
- type CreateDBAASServiceMysqlRequest
- type CreateDBAASServiceMysqlRequestBackupSchedule
- type CreateDBAASServiceMysqlRequestIntegrations
- type CreateDBAASServiceMysqlRequestIntegrationsType
- type CreateDBAASServiceMysqlRequestMaintenance
- type CreateDBAASServiceMysqlRequestMaintenanceDow
- type CreateDBAASServiceMysqlRequestMigration
- type CreateDBAASServiceOpensearchRequest
- type CreateDBAASServiceOpensearchRequestIndexPatterns
- type CreateDBAASServiceOpensearchRequestIndexPatternsSortingAlgorithm
- type CreateDBAASServiceOpensearchRequestIndexTemplate
- type CreateDBAASServiceOpensearchRequestMaintenance
- type CreateDBAASServiceOpensearchRequestMaintenanceDow
- type CreateDBAASServiceOpensearchRequestOpensearchDashboards
- type CreateDBAASServicePGRequest
- type CreateDBAASServicePGRequestBackupSchedule
- type CreateDBAASServicePGRequestIntegrations
- type CreateDBAASServicePGRequestIntegrationsType
- type CreateDBAASServicePGRequestMaintenance
- type CreateDBAASServicePGRequestMaintenanceDow
- type CreateDBAASServicePGRequestMigration
- type CreateDBAASServiceThanosRequest
- type CreateDBAASServiceThanosRequestMaintenance
- type CreateDBAASServiceThanosRequestMaintenanceDow
- type CreateDBAASServiceValkeyRequest
- type CreateDBAASServiceValkeyRequestMaintenance
- type CreateDBAASServiceValkeyRequestMaintenanceDow
- type CreateDBAASServiceValkeyRequestMigration
- type CreateDBAASTaskMigrationCheckRequest
- type CreateDBAASValkeyUserRequest
- type CreateDNSDomainRecordRequest
- type CreateDNSDomainRecordRequestType
- type CreateDNSDomainRequest
- type CreateDeploymentRequest
- type CreateElasticIPRequest
- type CreateElasticIPRequestAddressfamily
- type CreateIAMRoleRequest
- type CreateInstancePoolRequest
- type CreateInstancePoolRequestPublicIPAssignment
- type CreateInstanceRequest
- type CreateLoadBalancerRequest
- type CreateModelRequest
- type CreatePrivateNetworkRequest
- type CreateSKSClusterRequest
- type CreateSKSClusterRequestCni
- type CreateSKSClusterRequestLevel
- type CreateSKSNodepoolRequest
- type CreateSKSNodepoolRequestPublicIPAssignment
- type CreateSecurityGroupRequest
- type CreateUserRequest
- type DBAASBackupConfig
- type DBAASDatabaseName
- type DBAASDatadogTag
- type DBAASEndpointDatadogCommon
- type DBAASEndpointDatadogInputCreate
- type DBAASEndpointDatadogInputCreateSettings
- type DBAASEndpointDatadogInputUpdate
- type DBAASEndpointDatadogInputUpdateSettings
- type DBAASEndpointDatadogSettings
- type DBAASEndpointDatadogSettingsSettings
- type DBAASEndpointElasticsearch
- type DBAASEndpointElasticsearchInputCreate
- type DBAASEndpointElasticsearchInputCreateSettings
- type DBAASEndpointElasticsearchInputUpdate
- type DBAASEndpointElasticsearchInputUpdateSettings
- type DBAASEndpointElasticsearchOptionalFields
- type DBAASEndpointElasticsearchOutput
- type DBAASEndpointElasticsearchSecrets
- type DBAASEndpointExternalPrometheusOutput
- type DBAASEndpointExternalPrometheusOutputSettings
- type DBAASEndpointOpensearch
- type DBAASEndpointOpensearchInputCreate
- type DBAASEndpointOpensearchInputCreateSettings
- type DBAASEndpointOpensearchInputUpdate
- type DBAASEndpointOpensearchInputUpdateSettings
- type DBAASEndpointOpensearchOptionalFields
- type DBAASEndpointOpensearchOutput
- type DBAASEndpointOpensearchSecrets
- type DBAASEndpointPrometheus
- type DBAASEndpointPrometheusPayload
- type DBAASEndpointPrometheusPayloadSettings
- type DBAASEndpointPrometheusSecrets
- type DBAASEndpointRsyslog
- type DBAASEndpointRsyslogInputCreate
- type DBAASEndpointRsyslogInputCreateSettings
- type DBAASEndpointRsyslogInputUpdate
- type DBAASEndpointRsyslogInputUpdateSettings
- type DBAASEndpointRsyslogOptionalFields
- type DBAASEndpointRsyslogSecrets
- type DBAASExternalEndpoint
- type DBAASExternalEndpointDatadogOutput
- type DBAASExternalEndpointDatadogOutputSettings
- type DBAASExternalEndpointRsyslogOutput
- type DBAASExternalIntegration
- type DBAASIntegration
- type DBAASIntegrationSettingsDatadog
- type DBAASIntegrationType
- type DBAASIntegrationTypeSettings
- type DBAASKafkaAclID
- type DBAASKafkaAcls
- type DBAASKafkaSchemaRegistryAclEntry
- type DBAASKafkaSchemaRegistryAclEntryPermission
- type DBAASKafkaTopicAclEntry
- type DBAASKafkaTopicAclEntryPermission
- type DBAASMigrationStatus
- type DBAASMigrationStatusDetails
- type DBAASMysqlDatabaseName
- type DBAASMysqlUserPassword
- type DBAASNodeState
- type DBAASNodeStateProgressUpdate
- type DBAASNodeStateProgressUpdatePhase
- type DBAASNodeStateRole
- type DBAASNodeStateState
- type DBAASOpensearchAclConfig
- type DBAASOpensearchAclConfigAcls
- type DBAASOpensearchAclConfigAclsRules
- type DBAASPGDatabaseName
- type DBAASPGPoolName
- type DBAASPGPoolSize
- type DBAASPGPoolUsername
- type DBAASPGTargetVersions
- type DBAASPlan
- type DBAASPostgresUsers
- type DBAASPostgresUsersUsers
- type DBAASServiceBackup
- type DBAASServiceCommon
- type DBAASServiceComponents
- type DBAASServiceComponentsRoute
- type DBAASServiceComponentsUsage
- type DBAASServiceGrafana
- type DBAASServiceGrafanaComponents
- type DBAASServiceGrafanaConnectionInfo
- type DBAASServiceGrafanaPrometheusURI
- type DBAASServiceGrafanaUsers
- type DBAASServiceKafka
- type DBAASServiceKafkaAuthenticationMethods
- type DBAASServiceKafkaComponents
- type DBAASServiceKafkaConnectionInfo
- type DBAASServiceKafkaPrometheusURI
- type DBAASServiceKafkaUsers
- type DBAASServiceLogs
- type DBAASServiceLogsLogs
- type DBAASServiceMaintenance
- type DBAASServiceMaintenanceDow
- type DBAASServiceMysql
- type DBAASServiceMysqlBackupSchedule
- type DBAASServiceMysqlComponents
- type DBAASServiceMysqlConnectionInfo
- type DBAASServiceMysqlPrometheusURI
- type DBAASServiceMysqlUsers
- type DBAASServiceName
- type DBAASServiceNotification
- type DBAASServiceNotificationLevel
- type DBAASServiceNotificationType
- type DBAASServiceOpensearch
- type DBAASServiceOpensearchComponents
- type DBAASServiceOpensearchConnectionInfo
- type DBAASServiceOpensearchIndexPatterns
- type DBAASServiceOpensearchIndexPatternsSortingAlgorithm
- type DBAASServiceOpensearchIndexTemplate
- type DBAASServiceOpensearchOpensearchDashboards
- type DBAASServiceOpensearchPrometheusURI
- type DBAASServiceOpensearchUsers
- type DBAASServicePG
- type DBAASServicePGBackupSchedule
- type DBAASServicePGComponents
- type DBAASServicePGConnectionInfo
- type DBAASServicePGConnectionPools
- type DBAASServicePGPrometheusURI
- type DBAASServicePGUsers
- type DBAASServiceThanos
- type DBAASServiceThanosComponents
- type DBAASServiceThanosConnectionInfo
- type DBAASServiceThanosPrometheusURI
- type DBAASServiceThanosUsers
- type DBAASServiceType
- type DBAASServiceTypeName
- type DBAASServiceUpdate
- type DBAASServiceValkey
- type DBAASServiceValkeyComponents
- type DBAASServiceValkeyConnectionInfo
- type DBAASServiceValkeyPrometheusURI
- type DBAASServiceValkeyUsers
- type DBAASServiceValkeyUsersAccessControl
- type DBAASTask
- type DBAASTaskResultCodes
- type DBAASUserGrafanaSecrets
- type DBAASUserKafkaConnectSecrets
- type DBAASUserKafkaSecrets
- type DBAASUserMysqlSecrets
- type DBAASUserOpensearchSecrets
- type DBAASUserPassword
- type DBAASUserPostgresSecrets
- type DBAASUserThanosSecrets
- type DBAASUserUsername
- type DBAASUserValkeySecrets
- type DNSDomain
- type DNSDomainRecord
- type DNSDomainRecordType
- type DeleteModelConflictResponse
- type DeployTarget
- type DeployTargetRef
- type DeployTargetType
- type DetachDBAASServiceFromEndpointRequest
- type DetachInstanceFromElasticIPRequest
- type DetachInstanceFromPrivateNetworkRequest
- type DetachInstanceFromSecurityGroupRequest
- type DomainName
- type ElasticIP
- type ElasticIPAddressfamily
- type ElasticIPHealthcheck
- type ElasticIPHealthcheckMode
- type ElasticIPRef
- type Endpoint
- type EnumComponentRoute
- type EnumComponentUsage
- type EnumDatadogSite
- type EnumExternalEndpointTypes
- type EnumIntegrationTypes
- type EnumKafkaAuthMethod
- type EnumMasterLinkStatus
- type EnumMigrationMethod
- type EnumMigrationStatus
- type EnumMysqlAuthenticationPlugin
- type EnumOpensearchRulePermission
- type EnumPGPoolMode
- type EnumPGSynchronousReplication
- type EnumPGVariant
- type EnumRsyslogFormat
- type EnumServiceState
- type EnumSortOrder
- type EnvImpactDetail
- type EnvImpactIndicator
- type EnvImpactReport
- type EnvMetadataEntry
- type EnvProduct
- type ErrorResponse
- type Event
- type EvictInstancePoolMembersRequest
- type EvictSKSNodepoolMembersRequest
- type GenerateSKSClusterKubeconfigResponse
- type GetActiveNodepoolTemplateResponse
- type GetActiveNodepoolTemplateVariant
- type GetConfederatioUsageResponse
- type GetConsoleProxyURLResponse
- type GetDBAASCACertificateResponse
- type GetDBAASExternalIntegrationSettingsDatadogResponse
- type GetDBAASServiceLogsRequest
- type GetDBAASServiceMetricsRequest
- type GetDBAASServiceMetricsRequestPeriod
- type GetDBAASServiceMetricsResponse
- type GetDBAASSettingsGrafanaResponse
- type GetDBAASSettingsGrafanaResponseSettings
- type GetDBAASSettingsGrafanaResponseSettingsGrafana
- type GetDBAASSettingsKafkaResponse
- type GetDBAASSettingsKafkaResponseSettings
- type GetDBAASSettingsKafkaResponseSettingsKafka
- type GetDBAASSettingsKafkaResponseSettingsKafkaConnect
- type GetDBAASSettingsKafkaResponseSettingsKafkaRest
- type GetDBAASSettingsKafkaResponseSettingsSchemaRegistry
- type GetDBAASSettingsMysqlResponse
- type GetDBAASSettingsMysqlResponseSettings
- type GetDBAASSettingsMysqlResponseSettingsMysql
- type GetDBAASSettingsOpensearchResponse
- type GetDBAASSettingsOpensearchResponseSettings
- type GetDBAASSettingsOpensearchResponseSettingsOpensearch
- type GetDBAASSettingsPGResponse
- type GetDBAASSettingsPGResponseSettings
- type GetDBAASSettingsPGResponseSettingsPG
- type GetDBAASSettingsPGResponseSettingsPgbouncer
- type GetDBAASSettingsPGResponseSettingsPglookout
- type GetDBAASSettingsPGResponseSettingsTimescaledb
- type GetDBAASSettingsThanosResponse
- type GetDBAASSettingsThanosResponseSettings
- type GetDBAASSettingsThanosResponseSettingsThanos
- type GetDBAASSettingsValkeyResponse
- type GetDBAASSettingsValkeyResponseSettings
- type GetDBAASSettingsValkeyResponseSettingsValkey
- type GetDNSDomainZoneFileResponse
- type GetDeploymentLogsEntry
- type GetDeploymentLogsOpt
- type GetDeploymentLogsResponse
- type GetDeploymentResponse
- type GetDeploymentResponseState
- type GetInferenceEngineHelpOpt
- type GetInferenceEngineHelpResponse
- type GetModelResponse
- type GetModelResponseState
- type GetOrganizationUsageResponse
- type GetSKSClusterAuthorityCertAuthority
- type GetSKSClusterAuthorityCertResponse
- type GetSKSClusterInspectionResponse
- type GetSOSPresignedURLOpt
- type GetSOSPresignedURLResponse
- type GetUsageReportOpt
- type GetUsageReportResponse
- type GetUsageReportResponseUsage
- type IAMAPIKey
- type IAMAPIKeyCreated
- type IAMPolicy
- type IAMPolicyDefaultServiceStrategy
- type IAMRole
- type IAMServicePolicy
- type IAMServicePolicyRule
- type IAMServicePolicyRuleAction
- type IAMServicePolicyType
- type InferenceEngineParameterEntry
- type InferenceEngineVersion
- type Instance
- type InstancePassword
- type InstancePool
- type InstancePoolRef
- type InstancePoolState
- type InstancePrivateNetworks
- type InstanceRef
- type InstanceState
- type InstanceTarget
- type InstanceType
- type InstanceTypeEntry
- type InstanceTypeFamily
- type InstanceTypeRef
- type InstanceTypeSize
- type JSONSchemaGrafana
- type JSONSchemaGrafanaAlertingErrorORTimeout
- type JSONSchemaGrafanaAlertingNodataORNullvalues
- type JSONSchemaGrafanaAuthAzuread
- type JSONSchemaGrafanaAuthGenericOauth
- type JSONSchemaGrafanaAuthGithub
- type JSONSchemaGrafanaAuthGitlab
- type JSONSchemaGrafanaAuthGoogle
- type JSONSchemaGrafanaCookieSamesite
- type JSONSchemaGrafanaDateFormats
- type JSONSchemaGrafanaSMTPServer
- type JSONSchemaGrafanaSMTPServerStarttlsPolicy
- type JSONSchemaGrafanaUserAutoAssignOrgRole
- type JSONSchemaKafka
- type JSONSchemaKafkaCompressionType
- type JSONSchemaKafkaConnect
- type JSONSchemaKafkaConnectConnectorClientConfigOverridePolicy
- type JSONSchemaKafkaConnectConsumerAutoOffsetReset
- type JSONSchemaKafkaConnectConsumerIsolationLevel
- type JSONSchemaKafkaConnectProducerCompressionType
- type JSONSchemaKafkaLogCleanupAndCompaction
- type JSONSchemaKafkaLogMessageTimestampType
- type JSONSchemaKafkaRest
- type JSONSchemaKafkaRestConsumerRequestTimeoutMS
- type JSONSchemaKafkaRestNameStrategy
- type JSONSchemaKafkaRestProducerCompressionType
- type JSONSchemaMysql
- type JSONSchemaMysqlInternalTmpMemStorageEngine
- type JSONSchemaOpensearch
- type JSONSchemaOpensearchAuthFailureListeners
- type JSONSchemaOpensearchAuthFailureListenersIPRateLimiting
- type JSONSchemaOpensearchAuthFailureListenersIPRateLimitingType
- type JSONSchemaOpensearchAuthFailureListenersInternalAuthenticationBackendLimiting
- type JSONSchemaOpensearchAuthFailureListenersInternalAuthenticationBackendLimitingAuthenticationBackend
- type JSONSchemaOpensearchAuthFailureListenersInternalAuthenticationBackendLimitingType
- type JSONSchemaOpensearchEmailSender
- type JSONSchemaOpensearchIsmHistory
- type JSONSchemaOpensearchSearchBackpressure
- type JSONSchemaOpensearchSearchBackpressureMode
- type JSONSchemaOpensearchSearchBackpressureNodeDuress
- type JSONSchemaOpensearchSearchBackpressureSearchShardTask
- type JSONSchemaOpensearchSearchBackpressureSearchTask
- type JSONSchemaOpensearchShardIndexingPressure
- type JSONSchemaOpensearchShardIndexingPressureOperatingFactor
- type JSONSchemaOpensearchShardIndexingPressurePrimaryParameter
- type JSONSchemaOpensearchShardIndexingPressurePrimaryParameterNode
- type JSONSchemaOpensearchShardIndexingPressurePrimaryParameterShard
- type JSONSchemaPG
- type JSONSchemaPGAutovacuum
- type JSONSchemaPGBGWriter
- type JSONSchemaPGDefaultToastCompression
- type JSONSchemaPGIoMethod
- type JSONSchemaPGLogErrorVerbosity
- type JSONSchemaPGPGStatStatementsTrack
- type JSONSchemaPGPasswordEncryption
- type JSONSchemaPGTrackCommitTimestamp
- type JSONSchemaPGTrackFunctions
- type JSONSchemaPGTrackIoTiming
- type JSONSchemaPGWal
- type JSONSchemaPgbouncer
- type JSONSchemaPgbouncerAutodbPoolMode
- type JSONSchemaPglookout
- type JSONSchemaSchemaRegistry
- type JSONSchemaThanos
- type JSONSchemaThanosCompactor
- type JSONSchemaThanosQuery
- type JSONSchemaThanosQueryFrontend
- type JSONSchemaTimescaledb
- type JSONSchemaValkey
- type JSONSchemaValkeyAclChannelsDefault
- type JSONSchemaValkeyMaxmemoryPolicy
- type JSONSchemaValkeyPersistence
- type KubeletImageGC
- type Labels
- type ListAIInstanceTypesResponse
- type ListAPIKeysResponse
- type ListAntiAffinityGroupsResponse
- type ListBlockStorageSnapshotsResponse
- type ListBlockStorageVolumesOpt
- type ListBlockStorageVolumesResponse
- type ListDBAASExternalEndpointTypesResponse
- type ListDBAASExternalEndpointTypesResponseEndpointTypes
- type ListDBAASExternalEndpointsResponse
- type ListDBAASExternalIntegrationsResponse
- type ListDBAASIntegrationSettingsResponse
- type ListDBAASIntegrationSettingsResponseSettings
- type ListDBAASIntegrationTypesResponse
- type ListDBAASServiceTypesResponse
- type ListDBAASServicesResponse
- type ListDNSDomainRecordsResponse
- type ListDNSDomainsResponse
- type ListDeployTargetsResponse
- type ListDeploymentsResponse
- type ListDeploymentsResponseEntry
- type ListDeploymentsResponseEntryState
- type ListElasticIPSResponse
- type ListEventsOpt
- type ListIAMRolesResponse
- type ListInstancePoolsResponse
- type ListInstanceTypesResponse
- type ListInstancesManagerType
- type ListInstancesOpt
- type ListInstancesResponse
- type ListInstancesResponseInstances
- type ListInstancesResponseInstancesPrivateNetworks
- type ListLoadBalancersResponse
- type ListModelsResponse
- type ListModelsResponseEntry
- type ListModelsResponseEntryState
- type ListPrivateNetworksResponse
- type ListQuotasResponse
- type ListSKSClusterVersionsOpt
- type ListSKSClusterVersionsResponse
- type ListSKSClustersResponse
- type ListSOSBucketsUsageResponse
- type ListSSHKeysResponse
- type ListSecurityGroupsOpt
- type ListSecurityGroupsResponse
- type ListSecurityGroupsVisibility
- type ListSnapshotsResponse
- type ListTemplatesOpt
- type ListTemplatesResponse
- type ListTemplatesVisibility
- type ListUsersResponse
- type ListZonesResponse
- type LoadBalancer
- type LoadBalancerServerStatus
- type LoadBalancerServerStatusStatus
- type LoadBalancerService
- type LoadBalancerServiceHealthcheck
- type LoadBalancerServiceHealthcheckMode
- type LoadBalancerServiceProtocol
- type LoadBalancerServiceState
- type LoadBalancerServiceStrategy
- type LoadBalancerState
- type Manager
- type ManagerType
- type ModelRef
- type Networking
- type Operation
- type OperationReason
- type OperationReference
- type OperationState
- type Organization
- type OrganizationUsage
- type PrivateNetwork
- type PrivateNetworkLease
- type PrivateNetworkOptions
- type PrivateNetworkRef
- type PromoteSnapshotToTemplateRequest
- type PublicIPAssignment
- type Quota
- type RegisterSSHKeyRequest
- type RegisterTemplateRequest
- type RegisterTemplateRequestBootMode
- type RemoveExternalSourceFromSecurityGroupRequest
- type RequestInterceptorFn
- type ResetDBAASGrafanaUserPasswordRequest
- type ResetDBAASKafkaUserPasswordRequest
- type ResetDBAASMysqlUserPasswordRequest
- type ResetDBAASOpensearchUserPasswordRequest
- type ResetDBAASPostgresUserPasswordRequest
- type ResetDBAASValkeyUserPasswordRequest
- type ResetElasticIPFieldField
- type ResetInstanceFieldField
- type ResetInstancePoolFieldField
- type ResetInstanceRequest
- type ResetLoadBalancerFieldField
- type ResetLoadBalancerServiceFieldField
- type ResetPrivateNetworkFieldField
- type ResizeBlockStorageVolumeRequest
- type ResizeInstanceDiskRequest
- type Resource
- type RevealDeploymentAPIKeyResponse
- type ReverseDNSRecord
- type RevertInstanceToSnapshotRequest
- type SKSAudit
- type SKSAuditBearerToken
- type SKSAuditCreate
- type SKSAuditEndpoint
- type SKSAuditInitialBackoff
- type SKSAuditUpdate
- type SKSCluster
- type SKSClusterCni
- type SKSClusterDeprecatedResource
- type SKSClusterLabels
- type SKSClusterLevel
- type SKSClusterRef
- type SKSClusterState
- type SKSKubeconfigRequest
- type SKSNodepool
- type SKSNodepoolLabels
- type SKSNodepoolPublicIPAssignment
- type SKSNodepoolState
- type SKSNodepoolTaint
- type SKSNodepoolTaintEffect
- type SKSNodepoolTaints
- type SKSOidc
- type SOSBucketUsage
- type SSHKey
- type SSHKeyRef
- type ScaleDeploymentRequest
- type ScaleInstancePoolRequest
- type ScaleInstanceRequest
- type ScaleSKSNodepoolRequest
- type SecurityGroup
- type SecurityGroupRef
- type SecurityGroupResource
- type SecurityGroupResourceVisibility
- type SecurityGroupRule
- type SecurityGroupRuleFlowDirection
- type SecurityGroupRuleICMP
- type SecurityGroupRuleProtocol
- type Snapshot
- type SnapshotExport
- type SnapshotRef
- type SnapshotState
- type StartInstanceRequest
- type StartInstanceRequestRescueProfile
- type Template
- type TemplateBootMode
- type TemplateRef
- type TemplateVisibility
- type UUID
- type UpdateBlockStorageSnapshotRequest
- type UpdateBlockStorageVolumeRequest
- type UpdateDBAASExternalIntegrationSettingsDatadogRequest
- type UpdateDBAASIntegrationRequest
- type UpdateDBAASPGConnectionPoolRequest
- type UpdateDBAASPostgresAllowReplicationRequest
- type UpdateDBAASServiceGrafanaRequest
- type UpdateDBAASServiceGrafanaRequestMaintenance
- type UpdateDBAASServiceGrafanaRequestMaintenanceDow
- type UpdateDBAASServiceKafkaRequest
- type UpdateDBAASServiceKafkaRequestAuthenticationMethods
- type UpdateDBAASServiceKafkaRequestMaintenance
- type UpdateDBAASServiceKafkaRequestMaintenanceDow
- type UpdateDBAASServiceMysqlRequest
- type UpdateDBAASServiceMysqlRequestBackupSchedule
- type UpdateDBAASServiceMysqlRequestMaintenance
- type UpdateDBAASServiceMysqlRequestMaintenanceDow
- type UpdateDBAASServiceMysqlRequestMigration
- type UpdateDBAASServiceOpensearchRequest
- type UpdateDBAASServiceOpensearchRequestIndexPatterns
- type UpdateDBAASServiceOpensearchRequestIndexPatternsSortingAlgorithm
- type UpdateDBAASServiceOpensearchRequestIndexTemplate
- type UpdateDBAASServiceOpensearchRequestMaintenance
- type UpdateDBAASServiceOpensearchRequestMaintenanceDow
- type UpdateDBAASServiceOpensearchRequestOpensearchDashboards
- type UpdateDBAASServicePGRequest
- type UpdateDBAASServicePGRequestBackupSchedule
- type UpdateDBAASServicePGRequestMaintenance
- type UpdateDBAASServicePGRequestMaintenanceDow
- type UpdateDBAASServicePGRequestMigration
- type UpdateDBAASServiceThanosRequest
- type UpdateDBAASServiceThanosRequestMaintenance
- type UpdateDBAASServiceThanosRequestMaintenanceDow
- type UpdateDBAASServiceValkeyRequest
- type UpdateDBAASServiceValkeyRequestMaintenance
- type UpdateDBAASServiceValkeyRequestMaintenanceDow
- type UpdateDBAASServiceValkeyRequestMigration
- type UpdateDNSDomainRecordRequest
- type UpdateDeploymentRequest
- type UpdateElasticIPRequest
- type UpdateIAMRoleRequest
- type UpdateInstancePoolRequest
- type UpdateInstancePoolRequestPublicIPAssignment
- type UpdateInstanceRequest
- type UpdateLoadBalancerRequest
- type UpdateLoadBalancerServiceRequest
- type UpdateLoadBalancerServiceRequestProtocol
- type UpdateLoadBalancerServiceRequestStrategy
- type UpdatePrivateNetworkInstanceIPRequest
- type UpdatePrivateNetworkInstanceIPRequestInstance
- type UpdatePrivateNetworkRequest
- type UpdateReverseDNSElasticIPRequest
- type UpdateReverseDNSInstanceRequest
- type UpdateSKSClusterRequest
- type UpdateSKSNodepoolRequest
- type UpdateSKSNodepoolRequestPublicIPAssignment
- type UpdateTemplateRequest
- type UpdateUserRoleRequest
- type UpgradeSKSClusterRequest
- type User
- type Zone
- type ZoneName
Constants ¶
const Version = "v3.1.30"
Version represents the current egoscale v3 version.
Variables ¶
var ( ErrBadRequest = errors.New(http.StatusText(http.StatusBadRequest)) ErrPaymentRequired = errors.New(http.StatusText(http.StatusPaymentRequired)) ErrForbidden = errors.New(http.StatusText(http.StatusForbidden)) ErrNotFound = errors.New(http.StatusText(http.StatusNotFound)) ErrMethodNotAllowed = errors.New(http.StatusText(http.StatusMethodNotAllowed)) ErrNotAcceptable = errors.New(http.StatusText(http.StatusNotAcceptable)) ErrProxyAuthRequired = errors.New(http.StatusText(http.StatusProxyAuthRequired)) ErrRequestTimeout = errors.New(http.StatusText(http.StatusRequestTimeout)) ErrConflict = errors.New(http.StatusText(http.StatusConflict)) ErrGone = errors.New(http.StatusText(http.StatusGone)) ErrLengthRequired = errors.New(http.StatusText(http.StatusLengthRequired)) ErrPreconditionFailed = errors.New(http.StatusText(http.StatusPreconditionFailed)) ErrRequestEntityTooLarge = errors.New(http.StatusText(http.StatusRequestEntityTooLarge)) ErrRequestURITooLong = errors.New(http.StatusText(http.StatusRequestURITooLong)) ErrUnsupportedMediaType = errors.New(http.StatusText(http.StatusUnsupportedMediaType)) ErrRequestedRangeNotSatisfiable = errors.New(http.StatusText(http.StatusRequestedRangeNotSatisfiable)) ErrExpectationFailed = errors.New(http.StatusText(http.StatusExpectationFailed)) ErrTeapot = errors.New(http.StatusText(http.StatusTeapot)) ErrMisdirectedRequest = errors.New(http.StatusText(http.StatusMisdirectedRequest)) ErrUnprocessableEntity = errors.New(http.StatusText(http.StatusUnprocessableEntity)) ErrLocked = errors.New(http.StatusText(http.StatusLocked)) ErrFailedDependency = errors.New(http.StatusText(http.StatusFailedDependency)) ErrTooEarly = errors.New(http.StatusText(http.StatusTooEarly)) ErrUpgradeRequired = errors.New(http.StatusText(http.StatusUpgradeRequired)) ErrPreconditionRequired = errors.New(http.StatusText(http.StatusPreconditionRequired)) ErrTooManyRequests = errors.New(http.StatusText(http.StatusTooManyRequests)) ErrRequestHeaderFieldsTooLarge = errors.New(http.StatusText(http.StatusRequestHeaderFieldsTooLarge)) ErrInternalServerError = errors.New(http.StatusText(http.StatusInternalServerError)) ErrNotImplemented = errors.New(http.StatusText(http.StatusNotImplemented)) ErrBadGateway = errors.New(http.StatusText(http.StatusBadGateway)) ErrGatewayTimeout = errors.New(http.StatusText(http.StatusGatewayTimeout)) ErrHTTPVersionNotSupported = errors.New(http.StatusText(http.StatusHTTPVersionNotSupported)) ErrVariantAlsoNegotiates = errors.New(http.StatusText(http.StatusVariantAlsoNegotiates)) ErrInsufficientStorage = errors.New(http.StatusText(http.StatusInsufficientStorage)) ErrLoopDetected = errors.New(http.StatusText(http.StatusLoopDetected)) ErrNotExtended = errors.New(http.StatusText(http.StatusNotExtended)) ErrNetworkAuthenticationRequired = errors.New(http.StatusText(http.StatusNetworkAuthenticationRequired)) )
var UserAgent = getDefaultUserAgent()
Deprecated: use ClientOptWithUserAgent instead.
Functions ¶
Types ¶
type AccessKey ¶
type AccessKey struct {
// IAM Access Key
Key string `json:"key,omitempty"`
// IAM Access Key name
Name string `json:"name,omitempty"`
// IAM Access Key operations
Operations []string `json:"operations,omitempty"`
// IAM Access Key Resources
Resources []AccessKeyResource `json:"resources,omitempty"`
// IAM Access Key Secret
Secret string `json:"secret,omitempty"`
// IAM Access Key tags
Tags []string `json:"tags,omitempty"`
// IAM Access Key type
Type AccessKeyType `json:"type,omitempty"`
// IAM Access Key version
Version AccessKeyVersion `json:"version,omitempty"`
}
IAM Access Key
type AccessKeyOperation ¶
type AccessKeyOperation struct {
// Name of the operation
Operation string `json:"operation,omitempty"`
// Tags associated with the operation
Tags []string `json:"tags,omitempty"`
}
Access key operation
type AccessKeyResource ¶
type AccessKeyResource struct {
// Resource domain
Domain AccessKeyResourceDomain `json:"domain,omitempty"`
// Resource name
ResourceName string `json:"resource-name,omitempty"`
// Resource type
ResourceType AccessKeyResourceResourceType `json:"resource-type,omitempty"`
}
Access key resource
type AccessKeyResourceDomain ¶
type AccessKeyResourceDomain string
const ( AccessKeyResourceDomainPartner AccessKeyResourceDomain = "partner" AccessKeyResourceDomainSOS AccessKeyResourceDomain = "sos" )
type AccessKeyResourceResourceType ¶
type AccessKeyResourceResourceType string
const ( AccessKeyResourceResourceTypeProduct AccessKeyResourceResourceType = "product" AccessKeyResourceResourceTypeBucket AccessKeyResourceResourceType = "bucket" )
type AccessKeyType ¶
type AccessKeyType string
const ( AccessKeyTypeRestricted AccessKeyType = "restricted" AccessKeyTypeUnrestricted AccessKeyType = "unrestricted" )
type AccessKeyVersion ¶
type AccessKeyVersion string
const ( AccessKeyVersionV2 AccessKeyVersion = "v2" AccessKeyVersionV1 AccessKeyVersion = "v1" )
type AddExternalSourceToSecurityGroupRequest ¶
type AddExternalSourceToSecurityGroupRequest struct {
// CIDR-formatted network to add
Cidr string `json:"cidr" validate:"required"`
}
type AddRuleToSecurityGroupRequest ¶
type AddRuleToSecurityGroupRequest struct {
// Security Group rule description
Description string `json:"description,omitempty" validate:"omitempty,lte=255"`
// End port of the range
EndPort int64 `json:"end-port,omitempty" validate:"omitempty,gte=1,lte=65535"`
// Network flow direction to match
FlowDirection AddRuleToSecurityGroupRequestFlowDirection `json:"flow-direction" validate:"required"`
// ICMP details (default: -1 (ANY))
ICMP *AddRuleToSecurityGroupRequestICMP `json:"icmp,omitempty"`
// CIDR-formatted network allowed
Network string `json:"network,omitempty"`
// Network protocol
Protocol AddRuleToSecurityGroupRequestProtocol `json:"protocol" validate:"required"`
// Security Group
SecurityGroup *SecurityGroupResource `json:"security-group,omitempty"`
// Start port of the range
StartPort int64 `json:"start-port,omitempty" validate:"omitempty,gte=1,lte=65535"`
}
type AddRuleToSecurityGroupRequestFlowDirection ¶
type AddRuleToSecurityGroupRequestFlowDirection string
const ( AddRuleToSecurityGroupRequestFlowDirectionIngress AddRuleToSecurityGroupRequestFlowDirection = "ingress" AddRuleToSecurityGroupRequestFlowDirectionEgress AddRuleToSecurityGroupRequestFlowDirection = "egress" )
type AddRuleToSecurityGroupRequestICMP ¶
type AddRuleToSecurityGroupRequestICMP struct {
Code *int64 `json:"code,omitempty" validate:"omitempty,gte=-1,lte=254"`
Type *int64 `json:"type,omitempty" validate:"omitempty,gte=-1,lte=254"`
}
ICMP details (default: -1 (ANY))
type AddRuleToSecurityGroupRequestProtocol ¶
type AddRuleToSecurityGroupRequestProtocol string
const ( AddRuleToSecurityGroupRequestProtocolTCP AddRuleToSecurityGroupRequestProtocol = "tcp" AddRuleToSecurityGroupRequestProtocolEsp AddRuleToSecurityGroupRequestProtocol = "esp" AddRuleToSecurityGroupRequestProtocolICMP AddRuleToSecurityGroupRequestProtocol = "icmp" AddRuleToSecurityGroupRequestProtocolUDP AddRuleToSecurityGroupRequestProtocol = "udp" AddRuleToSecurityGroupRequestProtocolGre AddRuleToSecurityGroupRequestProtocol = "gre" AddRuleToSecurityGroupRequestProtocolAh AddRuleToSecurityGroupRequestProtocol = "ah" AddRuleToSecurityGroupRequestProtocolIpip AddRuleToSecurityGroupRequestProtocol = "ipip" AddRuleToSecurityGroupRequestProtocolIcmpv6 AddRuleToSecurityGroupRequestProtocol = "icmpv6" )
type AddServiceToLoadBalancerRequest ¶
type AddServiceToLoadBalancerRequest struct {
// Load Balancer Service description
Description string `json:"description,omitempty" validate:"omitempty,lte=255"`
// Load Balancer Service healthcheck
Healthcheck *LoadBalancerServiceHealthcheck `json:"healthcheck" validate:"required"`
// Instance Pool
InstancePool *InstancePool `json:"instance-pool" validate:"required"`
// Load Balancer Service name
Name string `json:"name" validate:"required,gte=1,lte=255"`
// Port exposed on the Load Balancer's public IP
Port int64 `json:"port" validate:"required,gte=1,lte=65535"`
// Network traffic protocol
Protocol AddServiceToLoadBalancerRequestProtocol `json:"protocol" validate:"required"`
// Load balancing strategy
Strategy AddServiceToLoadBalancerRequestStrategy `json:"strategy" validate:"required"`
// Port on which the network traffic will be forwarded to on the receiving instance
TargetPort int64 `json:"target-port" validate:"required,gte=1,lte=65535"`
}
type AddServiceToLoadBalancerRequestProtocol ¶
type AddServiceToLoadBalancerRequestProtocol string
const ( AddServiceToLoadBalancerRequestProtocolTCP AddServiceToLoadBalancerRequestProtocol = "tcp" AddServiceToLoadBalancerRequestProtocolUDP AddServiceToLoadBalancerRequestProtocol = "udp" )
type AddServiceToLoadBalancerRequestStrategy ¶
type AddServiceToLoadBalancerRequestStrategy string
const ( AddServiceToLoadBalancerRequestStrategyRoundRobin AddServiceToLoadBalancerRequestStrategy = "round-robin" AddServiceToLoadBalancerRequestStrategyMaglevHash AddServiceToLoadBalancerRequestStrategy = "maglev-hash" AddServiceToLoadBalancerRequestStrategySourceHash AddServiceToLoadBalancerRequestStrategy = "source-hash" )
type AntiAffinityGroup ¶
type AntiAffinityGroup struct {
// Anti-affinity Group description
Description string `json:"description,omitempty" validate:"omitempty,lte=255"`
// Anti-affinity Group ID
ID UUID `json:"id,omitempty"`
// Anti-affinity Group instances
Instances []Instance `json:"instances,omitempty"`
// Anti-affinity Group name
Name string `json:"name,omitempty" validate:"omitempty,gte=1,lte=255"`
}
Anti-affinity Group
type AntiAffinityGroupRef ¶ added in v3.1.34
type AntiAffinityGroupRef struct {
// Anti-affinity group ID
ID UUID `json:"id,omitempty"`
}
Anti-affinity group reference
type AttachBlockStorageVolumeToInstanceRequest ¶
type AttachBlockStorageVolumeToInstanceRequest struct {
// Target Instance
Instance *InstanceTarget `json:"instance" validate:"required"`
}
type AttachDBAASServiceToEndpointRequest ¶ added in v3.1.2
type AttachDBAASServiceToEndpointRequest struct {
// External endpoint id
DestEndpointID UUID `json:"dest-endpoint-id" validate:"required"`
Type EnumExternalEndpointTypes `json:"type" validate:"required"`
}
type AttachInstanceToElasticIPRequest ¶
type AttachInstanceToElasticIPRequest struct {
// Target Instance
Instance *InstanceTarget `json:"instance" validate:"required"`
}
type AttachInstanceToPrivateNetworkRequest ¶
type AttachInstanceToPrivateNetworkRequest struct {
// Compute instance
Instance *AttachInstanceToPrivateNetworkRequestInstance `json:"instance" validate:"required"`
// Static IP address lease for the corresponding network interface
IP net.IP `json:"ip,omitempty"`
}
type AttachInstanceToPrivateNetworkRequestInstance ¶
type AttachInstanceToPrivateNetworkRequestInstance struct {
// Instance ID
ID UUID `json:"id,omitempty"`
}
Compute instance
type AttachInstanceToSecurityGroupRequest ¶
type AttachInstanceToSecurityGroupRequest struct {
// Instance
Instance *Instance `json:"instance" validate:"required"`
}
type BlockStorageSnapshot ¶
type BlockStorageSnapshot struct {
// Target block storage volume
BlockStorageVolume *BlockStorageVolumeTarget `json:"block-storage-volume,omitempty"`
// Snapshot creation date
CreatedAT time.Time `json:"created-at,omitempty"`
// Snapshot ID
ID UUID `json:"id,omitempty"`
Labels Labels `json:"labels,omitempty"`
// Snapshot name
Name string `json:"name,omitempty" validate:"omitempty,gte=1,lte=255"`
// Snapshot size
Size int64 `json:"size,omitempty" validate:"omitempty,gte=1"`
// Snapshot state
State BlockStorageSnapshotState `json:"state,omitempty"`
// Original Volume size
VolumeSize int64 `json:"volume-size,omitempty" validate:"omitempty,gte=0"`
}
Block storage snapshot
type BlockStorageSnapshotRef ¶ added in v3.1.34
type BlockStorageSnapshotRef struct {
// Block storage snapshot ID
ID UUID `json:"id,omitempty"`
}
Target block storage snapshot
type BlockStorageSnapshotState ¶
type BlockStorageSnapshotState string
const ( BlockStorageSnapshotStatePartiallyDestroyed BlockStorageSnapshotState = "partially-destroyed" BlockStorageSnapshotStateDestroying BlockStorageSnapshotState = "destroying" BlockStorageSnapshotStateCreating BlockStorageSnapshotState = "creating" BlockStorageSnapshotStateCreated BlockStorageSnapshotState = "created" BlockStorageSnapshotStatePromoting BlockStorageSnapshotState = "promoting" BlockStorageSnapshotStateError BlockStorageSnapshotState = "error" BlockStorageSnapshotStateDestroyed BlockStorageSnapshotState = "destroyed" BlockStorageSnapshotStateAllocated BlockStorageSnapshotState = "allocated" )
type BlockStorageSnapshotTarget ¶
type BlockStorageSnapshotTarget = BlockStorageSnapshotRef
type BlockStorageVolume ¶
type BlockStorageVolume struct {
// Volume snapshots, if any
BlockStorageSnapshots []BlockStorageSnapshotTarget `json:"block-storage-snapshots,omitempty"`
// Volume block size
Blocksize int64 `json:"blocksize,omitempty" validate:"omitempty,gte=0"`
// Volume creation date
CreatedAT time.Time `json:"created-at,omitempty"`
// Volume ID
ID UUID `json:"id,omitempty"`
// Target Instance
Instance *InstanceTarget `json:"instance,omitempty"`
Labels Labels `json:"labels,omitempty"`
// Volume name
Name string `json:"name,omitempty" validate:"omitempty,gte=1,lte=255"`
// Volume size
Size int64 `json:"size,omitempty" validate:"omitempty,gte=1"`
// Volume state
State BlockStorageVolumeState `json:"state,omitempty"`
}
Block storage volume
type BlockStorageVolumeRef ¶ added in v3.1.34
type BlockStorageVolumeRef struct {
// Block storage volume ID
ID UUID `json:"id,omitempty"`
}
Target block storage volume
type BlockStorageVolumeState ¶
type BlockStorageVolumeState string
const ( BlockStorageVolumeStateSnapshotting BlockStorageVolumeState = "snapshotting" BlockStorageVolumeStateDeleted BlockStorageVolumeState = "deleted" BlockStorageVolumeStateCreating BlockStorageVolumeState = "creating" BlockStorageVolumeStateDetached BlockStorageVolumeState = "detached" BlockStorageVolumeStateDeleting BlockStorageVolumeState = "deleting" BlockStorageVolumeStateAttaching BlockStorageVolumeState = "attaching" BlockStorageVolumeStateError BlockStorageVolumeState = "error" BlockStorageVolumeStateAttached BlockStorageVolumeState = "attached" BlockStorageVolumeStateDetaching BlockStorageVolumeState = "detaching" )
type BlockStorageVolumeTarget ¶
type BlockStorageVolumeTarget = BlockStorageVolumeRef
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client represents an Exoscale API client.
func NewClient ¶
func NewClient(credentials *credentials.Credentials, opts ...ClientOpt) (*Client, error)
NewClient returns a new Exoscale API client.
func (Client) AddExternalSourceToSecurityGroup ¶
func (c Client) AddExternalSourceToSecurityGroup(ctx context.Context, id UUID, req AddExternalSourceToSecurityGroupRequest) (*Operation, error)
Add an external source as a member of a Security Group
func (Client) AddInstanceProtection ¶
Set instance destruction protection
func (Client) AddRuleToSecurityGroup ¶
func (c Client) AddRuleToSecurityGroup(ctx context.Context, id UUID, req AddRuleToSecurityGroupRequest) (*Operation, error)
Create a Security Group rule
func (Client) AddServiceToLoadBalancer ¶
func (c Client) AddServiceToLoadBalancer(ctx context.Context, id UUID, req AddServiceToLoadBalancerRequest) (*Operation, error)
Add a Load Balancer Service
func (Client) AttachBlockStorageVolumeToInstance ¶
func (c Client) AttachBlockStorageVolumeToInstance(ctx context.Context, id UUID, req AttachBlockStorageVolumeToInstanceRequest) (*Operation, error)
Attach block storage volume to an instance
func (Client) AttachDBAASServiceToEndpoint ¶ added in v3.1.2
func (c Client) AttachDBAASServiceToEndpoint(ctx context.Context, sourceServiceName string, req AttachDBAASServiceToEndpointRequest) (*Operation, error)
[BETA] Create a new DBaaS connection between a DBaaS service and an external service
func (Client) AttachInstanceToElasticIP ¶
func (c Client) AttachInstanceToElasticIP(ctx context.Context, id UUID, req AttachInstanceToElasticIPRequest) (*Operation, error)
Attach a Compute instance to an Elastic IP
func (Client) AttachInstanceToPrivateNetwork ¶
func (c Client) AttachInstanceToPrivateNetwork(ctx context.Context, id UUID, req AttachInstanceToPrivateNetworkRequest) (*Operation, error)
Attach a Compute instance to a Private Network
func (Client) AttachInstanceToSecurityGroup ¶
func (c Client) AttachInstanceToSecurityGroup(ctx context.Context, id UUID, req AttachInstanceToSecurityGroupRequest) (*Operation, error)
Attach a Compute instance to a Security Group
func (Client) CopyTemplate ¶
func (c Client) CopyTemplate(ctx context.Context, id UUID, req CopyTemplateRequest) (*Operation, error)
Copy a Template from a zone to another
func (Client) CreateAPIKey ¶
func (c Client) CreateAPIKey(ctx context.Context, req CreateAPIKeyRequest) (*IAMAPIKeyCreated, error)
func (Client) CreateAntiAffinityGroup ¶
func (c Client) CreateAntiAffinityGroup(ctx context.Context, req CreateAntiAffinityGroupRequest) (*Operation, error)
Create an Anti-affinity Group
func (Client) CreateBlockStorageSnapshot ¶
func (c Client) CreateBlockStorageSnapshot(ctx context.Context, id UUID, req CreateBlockStorageSnapshotRequest) (*Operation, error)
Create a block storage snapshot
func (Client) CreateBlockStorageVolume ¶
func (c Client) CreateBlockStorageVolume(ctx context.Context, req CreateBlockStorageVolumeRequest) (*Operation, error)
Create a block storage volume
func (Client) CreateDBAASExternalEndpointDatadog ¶ added in v3.1.2
func (c Client) CreateDBAASExternalEndpointDatadog(ctx context.Context, name string, req DBAASEndpointDatadogInputCreate) (*Operation, error)
[BETA] Create DataDog external integration endpoint
func (Client) CreateDBAASExternalEndpointElasticsearch ¶ added in v3.1.2
func (c Client) CreateDBAASExternalEndpointElasticsearch(ctx context.Context, name string, req DBAASEndpointElasticsearchInputCreate) (*Operation, error)
[BETA] Create ElasticSearch Logs external integration endpoint
func (Client) CreateDBAASExternalEndpointOpensearch ¶ added in v3.1.2
func (c Client) CreateDBAASExternalEndpointOpensearch(ctx context.Context, name string, req DBAASEndpointOpensearchInputCreate) (*Operation, error)
[BETA] Create OpenSearch Logs external integration endpoint
func (Client) CreateDBAASExternalEndpointPrometheus ¶ added in v3.1.2
func (c Client) CreateDBAASExternalEndpointPrometheus(ctx context.Context, name string, req DBAASEndpointPrometheusPayload) (*Operation, error)
[BETA] Create Prometheus external integration endpoint
func (Client) CreateDBAASExternalEndpointRsyslog ¶ added in v3.1.2
func (c Client) CreateDBAASExternalEndpointRsyslog(ctx context.Context, name string, req DBAASEndpointRsyslogInputCreate) (*Operation, error)
[BETA] Create RSyslog external integration endpoint
func (Client) CreateDBAASIntegration ¶
func (c Client) CreateDBAASIntegration(ctx context.Context, req CreateDBAASIntegrationRequest) (*Operation, error)
[BETA] Create a new DBaaS integration between two services
func (Client) CreateDBAASKafkaSchemaRegistryAclConfig ¶
func (Client) CreateDBAASKafkaTopicAclConfig ¶
func (Client) CreateDBAASKafkaUser ¶
func (Client) CreateDBAASMysqlDatabase ¶
func (Client) CreateDBAASMysqlUser ¶
func (Client) CreateDBAASOpensearchUser ¶
func (Client) CreateDBAASPGConnectionPool ¶
func (c Client) CreateDBAASPGConnectionPool(ctx context.Context, serviceName string, req CreateDBAASPGConnectionPoolRequest) (*Operation, error)
Create a DBaaS PostgreSQL connection pool
func (Client) CreateDBAASPGDatabase ¶
func (Client) CreateDBAASPGUpgradeCheck ¶
func (c Client) CreateDBAASPGUpgradeCheck(ctx context.Context, service string, req CreateDBAASPGUpgradeCheckRequest) (*DBAASTask, error)
Check whether you can upgrade Postgres service to a newer version
func (Client) CreateDBAASPostgresUser ¶
func (Client) CreateDBAASServiceGrafana ¶
func (c Client) CreateDBAASServiceGrafana(ctx context.Context, name string, req CreateDBAASServiceGrafanaRequest) (*Operation, error)
Create a DBaaS Grafana service
func (Client) CreateDBAASServiceKafka ¶
func (c Client) CreateDBAASServiceKafka(ctx context.Context, name string, req CreateDBAASServiceKafkaRequest) (*Operation, error)
Create a DBaaS Kafka service
func (Client) CreateDBAASServiceMysql ¶
func (c Client) CreateDBAASServiceMysql(ctx context.Context, name string, req CreateDBAASServiceMysqlRequest) (*Operation, error)
Create a DBaaS MySQL service
func (Client) CreateDBAASServiceOpensearch ¶
func (c Client) CreateDBAASServiceOpensearch(ctx context.Context, name string, req CreateDBAASServiceOpensearchRequest) (*Operation, error)
Create a DBaaS OpenSearch service
func (Client) CreateDBAASServicePG ¶
func (Client) CreateDBAASServiceThanos ¶ added in v3.1.32
func (c Client) CreateDBAASServiceThanos(ctx context.Context, name string, req CreateDBAASServiceThanosRequest) (*Operation, error)
Create a DBaaS Thanos service
func (Client) CreateDBAASServiceValkey ¶ added in v3.1.11
func (c Client) CreateDBAASServiceValkey(ctx context.Context, name string, req CreateDBAASServiceValkeyRequest) (*Operation, error)
Create a DBaaS Valkey service
func (Client) CreateDBAASTaskMigrationCheck ¶
func (c Client) CreateDBAASTaskMigrationCheck(ctx context.Context, service string, req CreateDBAASTaskMigrationCheckRequest) (*Operation, error)
Create a DBaaS task to check migration
func (Client) CreateDBAASValkeyUser ¶ added in v3.1.11
func (Client) CreateDNSDomain ¶
func (c Client) CreateDNSDomain(ctx context.Context, req CreateDNSDomainRequest) (*Operation, error)
Create DNS domain
func (Client) CreateDNSDomainRecord ¶
func (c Client) CreateDNSDomainRecord(ctx context.Context, domainID UUID, req CreateDNSDomainRecordRequest) (*Operation, error)
Create DNS domain record
func (Client) CreateDeployment ¶ added in v3.1.29
func (c Client) CreateDeployment(ctx context.Context, req CreateDeploymentRequest) (*Operation, error)
Deploy a model on an inference server
func (Client) CreateElasticIP ¶
func (c Client) CreateElasticIP(ctx context.Context, req CreateElasticIPRequest) (*Operation, error)
Create an Elastic IP
func (Client) CreateIAMRole ¶
Create IAM Role
func (Client) CreateInstance ¶
Create a Compute instance
func (Client) CreateInstancePool ¶
func (c Client) CreateInstancePool(ctx context.Context, req CreateInstancePoolRequest) (*Operation, error)
Create an Instance Pool
func (Client) CreateLoadBalancer ¶
func (c Client) CreateLoadBalancer(ctx context.Context, req CreateLoadBalancerRequest) (*Operation, error)
Create a Load Balancer
func (Client) CreateModel ¶ added in v3.1.29
Model files will be downloaded from Huggingface. If the model is under a license then you must provide a Huggingface access token for an account that signed the license agreement If the model is under a license then you must provide a Huggingface access token for an account that signed the license agreement
func (Client) CreatePrivateNetwork ¶
func (c Client) CreatePrivateNetwork(ctx context.Context, req CreatePrivateNetworkRequest) (*Operation, error)
Create a Private Network
func (Client) CreateSKSCluster ¶
func (c Client) CreateSKSCluster(ctx context.Context, req CreateSKSClusterRequest) (*Operation, error)
Create an SKS cluster
func (Client) CreateSKSNodepool ¶
func (c Client) CreateSKSNodepool(ctx context.Context, id UUID, req CreateSKSNodepoolRequest) (*Operation, error)
Create a new SKS Nodepool
func (Client) CreateSecurityGroup ¶
func (c Client) CreateSecurityGroup(ctx context.Context, req CreateSecurityGroupRequest) (*Operation, error)
Create a Security Group
func (Client) CreateSnapshot ¶
Create a Snapshot of a Compute instance
func (Client) CreateUser ¶ added in v3.1.8
func (Client) DeleteAPIKey ¶
func (Client) DeleteAntiAffinityGroup ¶
Delete an Anti-affinity Group
func (Client) DeleteBlockStorageSnapshot ¶
Delete a block storage snapshot, data will be unrecoverable
func (Client) DeleteBlockStorageVolume ¶
Delete a block storage volume, data will be unrecoverable
func (Client) DeleteDBAASExternalEndpointDatadog ¶ added in v3.1.2
func (c Client) DeleteDBAASExternalEndpointDatadog(ctx context.Context, endpointID UUID) (*Operation, error)
[BETA] Delete DataDog external integration endpoint
func (Client) DeleteDBAASExternalEndpointElasticsearch ¶ added in v3.1.2
func (c Client) DeleteDBAASExternalEndpointElasticsearch(ctx context.Context, endpointID UUID) (*Operation, error)
[BETA] Delete ElasticSearch logs external integration endpoint
func (Client) DeleteDBAASExternalEndpointOpensearch ¶ added in v3.1.2
func (c Client) DeleteDBAASExternalEndpointOpensearch(ctx context.Context, endpointID UUID) (*Operation, error)
[BETA] Delete OpenSearch logs external integration endpoint
func (Client) DeleteDBAASExternalEndpointPrometheus ¶ added in v3.1.2
func (c Client) DeleteDBAASExternalEndpointPrometheus(ctx context.Context, endpointID UUID) (*Operation, error)
[BETA] Delete Prometheus external integration endpoint
func (Client) DeleteDBAASExternalEndpointRsyslog ¶ added in v3.1.2
func (c Client) DeleteDBAASExternalEndpointRsyslog(ctx context.Context, endpointID UUID) (*Operation, error)
[BETA] Delete RSyslog external integration endpoint
func (Client) DeleteDBAASIntegration ¶
[BETA] Delete a DBaaS Integration
func (Client) DeleteDBAASKafkaSchemaRegistryAclConfig ¶
func (Client) DeleteDBAASKafkaTopicAclConfig ¶
func (Client) DeleteDBAASKafkaUser ¶
func (Client) DeleteDBAASMysqlDatabase ¶
func (Client) DeleteDBAASMysqlUser ¶
func (Client) DeleteDBAASOpensearchUser ¶
func (Client) DeleteDBAASPGConnectionPool ¶
func (c Client) DeleteDBAASPGConnectionPool(ctx context.Context, serviceName string, connectionPoolName string) (*Operation, error)
Delete a DBaaS PostgreSQL connection pool
func (Client) DeleteDBAASPGDatabase ¶
func (Client) DeleteDBAASPostgresUser ¶
func (Client) DeleteDBAASService ¶
Delete a DBaaS service
func (Client) DeleteDBAASServiceGrafana ¶
func (Client) DeleteDBAASServiceKafka ¶
func (Client) DeleteDBAASServiceMysql ¶
func (Client) DeleteDBAASServiceOpensearch ¶
func (Client) DeleteDBAASServicePG ¶
func (Client) DeleteDBAASServiceThanos ¶ added in v3.1.32
func (Client) DeleteDBAASServiceValkey ¶ added in v3.1.11
func (Client) DeleteDBAASValkeyUser ¶ added in v3.1.11
func (Client) DeleteDNSDomain ¶
Delete DNS Domain
func (Client) DeleteDNSDomainRecord ¶
func (c Client) DeleteDNSDomainRecord(ctx context.Context, domainID UUID, recordID UUID) (*Operation, error)
Delete DNS domain record
func (Client) DeleteDeployment ¶ added in v3.1.29
Delete Deployment
func (Client) DeleteElasticIP ¶
Delete an Elastic IP
func (Client) DeleteIAMRole ¶
Delete IAM Role
func (Client) DeleteInstance ¶
Delete a Compute instance
func (Client) DeleteInstancePool ¶
Delete an Instance Pool
func (Client) DeleteLoadBalancer ¶
Delete a Load Balancer
func (Client) DeleteLoadBalancerService ¶
func (c Client) DeleteLoadBalancerService(ctx context.Context, id UUID, serviceID UUID) (*Operation, error)
Delete a Load Balancer Service
func (Client) DeleteModel ¶ added in v3.1.29
Delete Model
func (Client) DeletePrivateNetwork ¶
Delete a Private Network
func (Client) DeleteReverseDNSElasticIP ¶
Delete the PTR DNS record for an elastic IP
func (Client) DeleteReverseDNSInstance ¶
Delete the PTR DNS record for an instance
func (Client) DeleteRuleFromSecurityGroup ¶
func (c Client) DeleteRuleFromSecurityGroup(ctx context.Context, id UUID, ruleID UUID) (*Operation, error)
Delete a Security Group rule
func (Client) DeleteSKSCluster ¶
Delete an SKS cluster
func (Client) DeleteSKSNodepool ¶
func (c Client) DeleteSKSNodepool(ctx context.Context, id UUID, sksNodepoolID UUID) (*Operation, error)
Delete an SKS Nodepool
func (Client) DeleteSSHKey ¶
Delete a SSH key
func (Client) DeleteSecurityGroup ¶
Delete a Security Group
func (Client) DeleteSnapshot ¶
Delete a Snapshot
func (Client) DeleteTemplate ¶
Delete a Template
func (Client) DeleteUser ¶ added in v3.1.8
func (Client) DetachBlockStorageVolume ¶
Detach block storage volume
func (Client) DetachDBAASServiceFromEndpoint ¶ added in v3.1.2
func (c Client) DetachDBAASServiceFromEndpoint(ctx context.Context, sourceServiceName string, req DetachDBAASServiceFromEndpointRequest) (*Operation, error)
[BETA] Detach a DBaaS external integration from a service
func (Client) DetachInstanceFromElasticIP ¶
func (c Client) DetachInstanceFromElasticIP(ctx context.Context, id UUID, req DetachInstanceFromElasticIPRequest) (*Operation, error)
Detach a Compute instance from an Elastic IP
func (Client) DetachInstanceFromPrivateNetwork ¶
func (c Client) DetachInstanceFromPrivateNetwork(ctx context.Context, id UUID, req DetachInstanceFromPrivateNetworkRequest) (*Operation, error)
Detach a Compute instance from a Private Network
func (Client) DetachInstanceFromSecurityGroup ¶
func (c Client) DetachInstanceFromSecurityGroup(ctx context.Context, id UUID, req DetachInstanceFromSecurityGroupRequest) (*Operation, error)
Detach a Compute instance from a Security Group
func (Client) EnableDBAASMysqlWrites ¶ added in v3.1.2
func (Client) EvictInstancePoolMembers ¶
func (c Client) EvictInstancePoolMembers(ctx context.Context, id UUID, req EvictInstancePoolMembersRequest) (*Operation, error)
This operation evicts the specified Compute instances member from the Instance Pool, shrinking it to `<current pool size> - <# evicted members>`.
func (Client) EvictSKSNodepoolMembers ¶
func (c Client) EvictSKSNodepoolMembers(ctx context.Context, id UUID, sksNodepoolID UUID, req EvictSKSNodepoolMembersRequest) (*Operation, error)
This operation evicts the specified Compute instances member from the Nodepool, shrinking it to `<current nodepool size> - <# evicted members>`.
func (Client) ExportSnapshot ¶
Export a Snapshot
func (Client) GenerateSKSClusterKubeconfig ¶
func (c Client) GenerateSKSClusterKubeconfig(ctx context.Context, id UUID, req SKSKubeconfigRequest) (*GenerateSKSClusterKubeconfigResponse, error)
This operation returns a Kubeconfig file encoded in base64.
func (Client) GetActiveNodepoolTemplate ¶ added in v3.1.27
func (c Client) GetActiveNodepoolTemplate(ctx context.Context, kubeVersion string, variant GetActiveNodepoolTemplateVariant) (*GetActiveNodepoolTemplateResponse, error)
Get the active template for a given kube version and variant (standard | nvidia)
func (Client) GetAntiAffinityGroup ¶
Retrieve Anti-affinity Group details
func (Client) GetBlockStorageSnapshot ¶
func (c Client) GetBlockStorageSnapshot(ctx context.Context, id UUID) (*BlockStorageSnapshot, error)
Retrieve block storage snapshot details
func (Client) GetBlockStorageVolume ¶
Retrieve block storage volume details
func (Client) GetConsoleProxyURL ¶
func (c Client) GetConsoleProxyURL(ctx context.Context, id UUID) (*GetConsoleProxyURLResponse, error)
Retrieve signed url valid for 60 seconds to connect via console-proxy websocket to VM VNC console.
func (Client) GetDBAASCACertificate ¶
func (c Client) GetDBAASCACertificate(ctx context.Context) (*GetDBAASCACertificateResponse, error)
Returns a CA Certificate required to reach a DBaaS service through a TLS-protected connection.
func (Client) GetDBAASExternalEndpointDatadog ¶ added in v3.1.2
func (c Client) GetDBAASExternalEndpointDatadog(ctx context.Context, endpointID UUID) (*DBAASExternalEndpointDatadogOutput, error)
[BETA] Get DataDog external endpoint settings
func (Client) GetDBAASExternalEndpointElasticsearch ¶ added in v3.1.2
func (c Client) GetDBAASExternalEndpointElasticsearch(ctx context.Context, endpointID UUID) (*DBAASEndpointElasticsearchOutput, error)
[BETA] Get ElasticSearch Logs external integration endpoint settings
func (Client) GetDBAASExternalEndpointOpensearch ¶ added in v3.1.2
func (c Client) GetDBAASExternalEndpointOpensearch(ctx context.Context, endpointID UUID) (*DBAASEndpointOpensearchOutput, error)
[BETA] Get OpenSearch Logs external integration endpoint settings
func (Client) GetDBAASExternalEndpointPrometheus ¶ added in v3.1.2
func (c Client) GetDBAASExternalEndpointPrometheus(ctx context.Context, endpointID UUID) (*DBAASEndpointExternalPrometheusOutput, error)
[BETA] Get Prometheus external integration endpoint settings
func (Client) GetDBAASExternalEndpointRsyslog ¶ added in v3.1.2
func (c Client) GetDBAASExternalEndpointRsyslog(ctx context.Context, endpointID UUID) (*DBAASExternalEndpointRsyslogOutput, error)
[BETA] Get RSyslog external integration endpoint settings
func (Client) GetDBAASExternalIntegration ¶ added in v3.1.2
func (c Client) GetDBAASExternalIntegration(ctx context.Context, integrationID UUID) (*DBAASExternalIntegration, error)
[BETA] Get a DBaaS external integration
func (Client) GetDBAASExternalIntegrationSettingsDatadog ¶ added in v3.1.3
func (c Client) GetDBAASExternalIntegrationSettingsDatadog(ctx context.Context, integrationID UUID) (*GetDBAASExternalIntegrationSettingsDatadogResponse, error)
[BETA] Get Datadog integration settings
func (Client) GetDBAASIntegration ¶
[BETA] Get a DBaaS Integration
func (Client) GetDBAASKafkaAclConfig ¶
func (Client) GetDBAASMigrationStatus ¶
func (c Client) GetDBAASMigrationStatus(ctx context.Context, name string) (*DBAASMigrationStatus, error)
Get a DBaaS migration status
func (Client) GetDBAASOpensearchAclConfig ¶
func (Client) GetDBAASServiceGrafana ¶
func (Client) GetDBAASServiceKafka ¶
func (Client) GetDBAASServiceLogs ¶
func (c Client) GetDBAASServiceLogs(ctx context.Context, serviceName string, req GetDBAASServiceLogsRequest) (*DBAASServiceLogs, error)
Get logs of DBaaS service
func (Client) GetDBAASServiceMetrics ¶
func (c Client) GetDBAASServiceMetrics(ctx context.Context, serviceName string, req GetDBAASServiceMetricsRequest) (*GetDBAASServiceMetricsResponse, error)
Get metrics of DBaaS service
func (Client) GetDBAASServiceMysql ¶
Get a DBaaS MySQL service
func (Client) GetDBAASServiceOpensearch ¶
func (c Client) GetDBAASServiceOpensearch(ctx context.Context, name string) (*DBAASServiceOpensearch, error)
Get a DBaaS OpenSearch service
func (Client) GetDBAASServicePG ¶
Get a DBaaS PostgreSQL service
func (Client) GetDBAASServiceThanos ¶ added in v3.1.32
func (c Client) GetDBAASServiceThanos(ctx context.Context, name string) (*DBAASServiceThanos, error)
Get a DBaaS Thanos service
func (Client) GetDBAASServiceType ¶
func (c Client) GetDBAASServiceType(ctx context.Context, serviceTypeName string) (*DBAASServiceType, error)
Get a DBaaS service type
func (Client) GetDBAASServiceValkey ¶ added in v3.1.11
func (c Client) GetDBAASServiceValkey(ctx context.Context, name string) (*DBAASServiceValkey, error)
Get a DBaaS Valkey service
func (Client) GetDBAASSettingsGrafana ¶
func (c Client) GetDBAASSettingsGrafana(ctx context.Context) (*GetDBAASSettingsGrafanaResponse, error)
Get DBaaS Grafana settings
func (Client) GetDBAASSettingsKafka ¶
func (c Client) GetDBAASSettingsKafka(ctx context.Context) (*GetDBAASSettingsKafkaResponse, error)
Get DBaaS Kafka settings
func (Client) GetDBAASSettingsMysql ¶
func (c Client) GetDBAASSettingsMysql(ctx context.Context) (*GetDBAASSettingsMysqlResponse, error)
Get DBaaS MySQL settings
func (Client) GetDBAASSettingsOpensearch ¶
func (c Client) GetDBAASSettingsOpensearch(ctx context.Context) (*GetDBAASSettingsOpensearchResponse, error)
Get DBaaS OpenSearch settings
func (Client) GetDBAASSettingsPG ¶
func (c Client) GetDBAASSettingsPG(ctx context.Context) (*GetDBAASSettingsPGResponse, error)
Get DBaaS PostgreSQL settings
func (Client) GetDBAASSettingsThanos ¶ added in v3.1.33
func (c Client) GetDBAASSettingsThanos(ctx context.Context) (*GetDBAASSettingsThanosResponse, error)
Get DBaaS Thanos settings
func (Client) GetDBAASSettingsValkey ¶ added in v3.1.12
func (c Client) GetDBAASSettingsValkey(ctx context.Context) (*GetDBAASSettingsValkeyResponse, error)
Returns the default settings for Valkey.
func (Client) GetDBAASTask ¶
Get a DBaaS task
func (Client) GetDNSDomain ¶
Retrieve DNS domain details
func (Client) GetDNSDomainRecord ¶
func (c Client) GetDNSDomainRecord(ctx context.Context, domainID UUID, recordID UUID) (*DNSDomainRecord, error)
Retrieve DNS domain record details
func (Client) GetDNSDomainZoneFile ¶
func (c Client) GetDNSDomainZoneFile(ctx context.Context, id UUID) (*GetDNSDomainZoneFileResponse, error)
Retrieve DNS domain zone file
func (Client) GetDeployTarget ¶
Retrieve Deploy Target details
func (Client) GetDeployment ¶ added in v3.1.29
Get Deployment details
func (Client) GetDeploymentLogs ¶ added in v3.1.29
func (c Client) GetDeploymentLogs(ctx context.Context, id UUID, opts ...GetDeploymentLogsOpt) (*GetDeploymentLogsResponse, error)
Return logs for the vLLM deployment (deploy/<release-name>--deployment-vllm). Optional ?stream=true to request streaming (may not be supported).
func (Client) GetElasticIP ¶
Retrieve Elastic IP details
func (Client) GetEnvImpact ¶ added in v3.1.15
[BETA] Returns environmental impact reports for an organization
func (Client) GetIAMOrganizationPolicy ¶
Retrieve IAM Organization Policy
func (Client) GetIAMRole ¶
Retrieve IAM Role
func (Client) GetInferenceEngineHelp ¶ added in v3.1.32
func (c Client) GetInferenceEngineHelp(ctx context.Context, opts ...GetInferenceEngineHelpOpt) (*GetInferenceEngineHelpResponse, error)
Get list of allowed inference engine parameters with their descriptions and allowed values
func (Client) GetInstance ¶
Retrieve Compute instance details
func (Client) GetInstancePool ¶
Retrieve Instance Pool details
func (Client) GetInstanceType ¶
Retrieve Instance Type details
func (Client) GetLoadBalancer ¶
Retrieve Load Balancer details
func (Client) GetLoadBalancerService ¶
func (c Client) GetLoadBalancerService(ctx context.Context, id UUID, serviceID UUID) (*LoadBalancerService, error)
Retrieve Load Balancer Service details
func (Client) GetOperation ¶
Retrieve Operation details
func (Client) GetOrganization ¶
func (c Client) GetOrganization(ctx context.Context) (*Organization, error)
Retrieve an organization
func (Client) GetPrivateNetwork ¶
Retrieve Private Network details
func (Client) GetReverseDNSElasticIP ¶
Query the PTR DNS records for an elastic IP
func (Client) GetReverseDNSInstance ¶
Query the PTR DNS records for an instance
func (Client) GetSKSCluster ¶
Retrieve SKS cluster details
func (Client) GetSKSClusterAuthorityCert ¶
func (c Client) GetSKSClusterAuthorityCert(ctx context.Context, id UUID, authority GetSKSClusterAuthorityCertAuthority) (*GetSKSClusterAuthorityCertResponse, error)
This operation returns the certificate for the given SKS cluster authority encoded in base64.
func (Client) GetSKSClusterInspection ¶
func (c Client) GetSKSClusterInspection(ctx context.Context, id UUID) (*GetSKSClusterInspectionResponse, error)
Helps troubleshoot common problems when deploying a kubernetes cluster. Inspections run every couple of minutes.
func (Client) GetSKSNodepool ¶
func (c Client) GetSKSNodepool(ctx context.Context, id UUID, sksNodepoolID UUID) (*SKSNodepool, error)
Retrieve SKS Nodepool details
func (Client) GetSOSPresignedURL ¶
func (c Client) GetSOSPresignedURL(ctx context.Context, bucket string, opts ...GetSOSPresignedURLOpt) (*GetSOSPresignedURLResponse, error)
Generates Presigned Download URL for SOS object
func (Client) GetSecurityGroup ¶
Retrieve Security Group details
func (Client) GetSnapshot ¶
Retrieve Snapshot details
func (Client) GetTemplate ¶
Retrieve Template details
func (Client) GetUsageReport ¶ added in v3.1.15
func (c Client) GetUsageReport(ctx context.Context, opts ...GetUsageReportOpt) (*GetUsageReportResponse, error)
Returns aggregated usage reports for an organization
func (Client) GetZoneAPIEndpoint ¶
func (Client) GetZoneName ¶
func (Client) ListAIInstanceTypes ¶ added in v3.1.34
func (c Client) ListAIInstanceTypes(ctx context.Context) (*ListAIInstanceTypesResponse, error)
List available instance types with authorization status based on GPU availability
func (Client) ListAPIKeys ¶
func (c Client) ListAPIKeys(ctx context.Context) (*ListAPIKeysResponse, error)
func (Client) ListAntiAffinityGroups ¶
func (c Client) ListAntiAffinityGroups(ctx context.Context) (*ListAntiAffinityGroupsResponse, error)
List Anti-affinity Groups
func (Client) ListBlockStorageSnapshots ¶
func (c Client) ListBlockStorageSnapshots(ctx context.Context) (*ListBlockStorageSnapshotsResponse, error)
List block storage snapshots
func (Client) ListBlockStorageVolumes ¶
func (c Client) ListBlockStorageVolumes(ctx context.Context, opts ...ListBlockStorageVolumesOpt) (*ListBlockStorageVolumesResponse, error)
List block storage volumes
func (Client) ListDBAASExternalEndpointTypes ¶ added in v3.1.2
func (c Client) ListDBAASExternalEndpointTypes(ctx context.Context) (*ListDBAASExternalEndpointTypesResponse, error)
[BETA] List available external endpoint types and their schemas for DBaaS external integrations
func (Client) ListDBAASExternalEndpoints ¶ added in v3.1.2
func (c Client) ListDBAASExternalEndpoints(ctx context.Context) (*ListDBAASExternalEndpointsResponse, error)
[BETA] List available external endpoints for integrations
func (Client) ListDBAASExternalIntegrations ¶ added in v3.1.2
func (c Client) ListDBAASExternalIntegrations(ctx context.Context, serviceName string) (*ListDBAASExternalIntegrationsResponse, error)
[BETA] List all DBaaS connections between services and external endpoints
func (Client) ListDBAASIntegrationSettings ¶
func (c Client) ListDBAASIntegrationSettings(ctx context.Context, integrationType string, sourceType string, destType string) (*ListDBAASIntegrationSettingsResponse, error)
[BETA] Get DBaaS integration settings
func (Client) ListDBAASIntegrationTypes ¶
func (c Client) ListDBAASIntegrationTypes(ctx context.Context) (*ListDBAASIntegrationTypesResponse, error)
[BETA] Get DBaaS integration types
func (Client) ListDBAASServiceTypes ¶
func (c Client) ListDBAASServiceTypes(ctx context.Context) (*ListDBAASServiceTypesResponse, error)
List available service types for DBaaS
func (Client) ListDBAASServices ¶
func (c Client) ListDBAASServices(ctx context.Context) (*ListDBAASServicesResponse, error)
List DBaaS services
func (Client) ListDNSDomainRecords ¶
func (c Client) ListDNSDomainRecords(ctx context.Context, domainID UUID) (*ListDNSDomainRecordsResponse, error)
List DNS domain records
func (Client) ListDNSDomains ¶
func (c Client) ListDNSDomains(ctx context.Context) (*ListDNSDomainsResponse, error)
List DNS domains
func (Client) ListDeployTargets ¶
func (c Client) ListDeployTargets(ctx context.Context) (*ListDeployTargetsResponse, error)
List Deploy Targets
func (Client) ListDeployments ¶ added in v3.1.29
func (c Client) ListDeployments(ctx context.Context) (*ListDeploymentsResponse, error)
List Deployments
func (Client) ListElasticIPS ¶
func (c Client) ListElasticIPS(ctx context.Context) (*ListElasticIPSResponse, error)
List Elastic IPs
func (Client) ListEvents ¶
Retrieve Mutation Events for a given date range. Defaults to retrieving Events for the past 24 hours. Both a `from` and `to` arguments can be specified to filter Events over a specific period. Events will be the the most descriptive possible but not all fields are mandatory
func (Client) ListIAMRoles ¶
func (c Client) ListIAMRoles(ctx context.Context) (*ListIAMRolesResponse, error)
List IAM Roles
func (Client) ListInstancePools ¶
func (c Client) ListInstancePools(ctx context.Context) (*ListInstancePoolsResponse, error)
List Instance Pools
func (Client) ListInstanceTypes ¶
func (c Client) ListInstanceTypes(ctx context.Context) (*ListInstanceTypesResponse, error)
List Compute instance Types
func (Client) ListInstances ¶
func (c Client) ListInstances(ctx context.Context, opts ...ListInstancesOpt) (*ListInstancesResponse, error)
List Compute instances
func (Client) ListLoadBalancers ¶
func (c Client) ListLoadBalancers(ctx context.Context) (*ListLoadBalancersResponse, error)
List Load Balancers
func (Client) ListModels ¶ added in v3.1.29
func (c Client) ListModels(ctx context.Context) (*ListModelsResponse, error)
List Models
func (Client) ListPrivateNetworks ¶
func (c Client) ListPrivateNetworks(ctx context.Context) (*ListPrivateNetworksResponse, error)
List Private Networks
func (Client) ListQuotas ¶
func (c Client) ListQuotas(ctx context.Context) (*ListQuotasResponse, error)
List Organization Quotas
func (Client) ListSKSClusterDeprecatedResources ¶
func (c Client) ListSKSClusterDeprecatedResources(ctx context.Context, id UUID) ([]SKSClusterDeprecatedResource, error)
This operation returns the deprecated resources for a given cluster
func (Client) ListSKSClusterVersions ¶
func (c Client) ListSKSClusterVersions(ctx context.Context, opts ...ListSKSClusterVersionsOpt) (*ListSKSClusterVersionsResponse, error)
List available versions for SKS clusters
func (Client) ListSKSClusters ¶
func (c Client) ListSKSClusters(ctx context.Context) (*ListSKSClustersResponse, error)
List SKS clusters
func (Client) ListSOSBucketsUsage ¶
func (c Client) ListSOSBucketsUsage(ctx context.Context) (*ListSOSBucketsUsageResponse, error)
List SOS Buckets Usage
func (Client) ListSSHKeys ¶
func (c Client) ListSSHKeys(ctx context.Context) (*ListSSHKeysResponse, error)
List SSH keys
func (Client) ListSecurityGroups ¶
func (c Client) ListSecurityGroups(ctx context.Context, opts ...ListSecurityGroupsOpt) (*ListSecurityGroupsResponse, error)
Lists security groups. When visibility is set to public, lists public security groups. Public security groups are objects maintained by Exoscale which contain source addresses for relevant services hosted by Exoscale. They can be used a source in ingress rules and as a destination in egress rules.
func (Client) ListSnapshots ¶
func (c Client) ListSnapshots(ctx context.Context) (*ListSnapshotsResponse, error)
List Snapshots
func (Client) ListTemplates ¶
func (c Client) ListTemplates(ctx context.Context, opts ...ListTemplatesOpt) (*ListTemplatesResponse, error)
List Templates
func (Client) ListUsers ¶ added in v3.1.8
func (c Client) ListUsers(ctx context.Context) (*ListUsersResponse, error)
func (Client) ListZones ¶
func (c Client) ListZones(ctx context.Context) (*ListZonesResponse, error)
List Zones
func (Client) PromoteSnapshotToTemplate ¶
func (c Client) PromoteSnapshotToTemplate(ctx context.Context, id UUID, req PromoteSnapshotToTemplateRequest) (*Operation, error)
Promote a Snapshot to a Template
func (Client) RebootInstance ¶
Reboot a Compute instance
func (Client) RegisterSSHKey ¶
Import SSH key
func (Client) RegisterTemplate ¶
func (c Client) RegisterTemplate(ctx context.Context, req RegisterTemplateRequest) (*Operation, error)
Register a Template
func (Client) RemoveExternalSourceFromSecurityGroup ¶
func (c Client) RemoveExternalSourceFromSecurityGroup(ctx context.Context, id UUID, req RemoveExternalSourceFromSecurityGroupRequest) (*Operation, error)
Remove an external source from a Security Group
func (Client) RemoveInstanceProtection ¶
Remove instance destruction protection
func (Client) ResetDBAASGrafanaUserPassword ¶
func (c Client) ResetDBAASGrafanaUserPassword(ctx context.Context, serviceName string, username string, req ResetDBAASGrafanaUserPasswordRequest) (*Operation, error)
If no password is provided one will be generated automatically.
func (Client) ResetDBAASKafkaUserPassword ¶
func (c Client) ResetDBAASKafkaUserPassword(ctx context.Context, serviceName string, username string, req ResetDBAASKafkaUserPasswordRequest) (*Operation, error)
If no password is provided one will be generated automatically.
func (Client) ResetDBAASMysqlUserPassword ¶
func (c Client) ResetDBAASMysqlUserPassword(ctx context.Context, serviceName string, username string, req ResetDBAASMysqlUserPasswordRequest) (*Operation, error)
If no password is provided one will be generated automatically.
func (Client) ResetDBAASOpensearchUserPassword ¶
func (c Client) ResetDBAASOpensearchUserPassword(ctx context.Context, serviceName string, username string, req ResetDBAASOpensearchUserPasswordRequest) (*Operation, error)
If no password is provided one will be generated automatically.
func (Client) ResetDBAASPostgresUserPassword ¶
func (c Client) ResetDBAASPostgresUserPassword(ctx context.Context, serviceName string, username string, req ResetDBAASPostgresUserPasswordRequest) (*Operation, error)
If no password is provided one will be generated automatically.
func (Client) ResetDBAASValkeyUserPassword ¶ added in v3.1.11
func (c Client) ResetDBAASValkeyUserPassword(ctx context.Context, serviceName string, username string, req ResetDBAASValkeyUserPasswordRequest) (*Operation, error)
If no password is provided one will be generated automatically.
func (Client) ResetElasticIPField ¶
func (c Client) ResetElasticIPField(ctx context.Context, id UUID, field ResetElasticIPFieldField) (*Operation, error)
Reset an Elastic IP field to its default value
func (Client) ResetIAMOrganizationPolicy ¶ added in v3.1.10
Reset IAM Organization Policy
func (Client) ResetInstance ¶
func (c Client) ResetInstance(ctx context.Context, id UUID, req ResetInstanceRequest) (*Operation, error)
This operation re-installs a Compute instance to a base template. If target template is provided it will be used to recreated instance from. Warning: the operation wipes all data stored on the disk.
func (Client) ResetInstanceField ¶
func (c Client) ResetInstanceField(ctx context.Context, id UUID, field ResetInstanceFieldField) (*Operation, error)
Reset Instance field
func (Client) ResetInstancePassword ¶
Reset a compute instance password
func (Client) ResetInstancePoolField ¶
func (c Client) ResetInstancePoolField(ctx context.Context, id UUID, field ResetInstancePoolFieldField) (*Operation, error)
Reset an Instance Pool field to its default value
func (Client) ResetLoadBalancerField ¶
func (c Client) ResetLoadBalancerField(ctx context.Context, id UUID, field ResetLoadBalancerFieldField) (*Operation, error)
Reset a Load Balancer field to its default value
func (Client) ResetLoadBalancerServiceField ¶
func (c Client) ResetLoadBalancerServiceField(ctx context.Context, id UUID, serviceID UUID, field ResetLoadBalancerServiceFieldField) (*Operation, error)
Reset a Load Balancer Service field to its default value
func (Client) ResetPrivateNetworkField ¶
func (c Client) ResetPrivateNetworkField(ctx context.Context, id UUID, field ResetPrivateNetworkFieldField) (*Operation, error)
Reset Private Network field
func (Client) ResizeBlockStorageVolume ¶
func (c Client) ResizeBlockStorageVolume(ctx context.Context, id UUID, req ResizeBlockStorageVolumeRequest) (*BlockStorageVolume, error)
This operation resizes a Block storage volume. Note: the volume can only grow, cannot be shrunk. Only detached volumes or volumes attached to stopped instances can be resized.
func (Client) ResizeInstanceDisk ¶
func (c Client) ResizeInstanceDisk(ctx context.Context, id UUID, req ResizeInstanceDiskRequest) (*Operation, error)
This operation resizes a Compute instance's disk volume. Note: the disk can only grow, cannot be shrunk.
func (Client) RevealDBAASGrafanaUserPassword ¶
func (Client) RevealDBAASKafkaConnectPassword ¶ added in v3.1.2
func (Client) RevealDBAASKafkaUserPassword ¶
func (Client) RevealDBAASMysqlUserPassword ¶
func (Client) RevealDBAASOpensearchUserPassword ¶
func (Client) RevealDBAASPostgresUserPassword ¶
func (Client) RevealDBAASThanosUserPassword ¶ added in v3.1.32
func (Client) RevealDBAASValkeyUserPassword ¶ added in v3.1.11
func (Client) RevealDeploymentAPIKey ¶ added in v3.1.29
func (c Client) RevealDeploymentAPIKey(ctx context.Context, id UUID) (*RevealDeploymentAPIKeyResponse, error)
Get Deployment API Key
func (Client) RevealInstancePassword ¶
Reveal the password used during instance creation or the latest password reset. This is only available for VMs created against templates having the `password-enabled` property set to `true`. creation or resets. creation or resets.
func (Client) RevertInstanceToSnapshot ¶
func (c Client) RevertInstanceToSnapshot(ctx context.Context, instanceID UUID, req RevertInstanceToSnapshotRequest) (*Operation, error)
This operation reverts the snapshot to the Compute instance volume, restoring stored data as it was at the time of the snapshot. The Compute instance must be previously stopped.
func (Client) RotateSKSCcmCredentials ¶
Rotate Exoscale CCM credentials
func (Client) RotateSKSCsiCredentials ¶ added in v3.1.16
Rotate Exoscale CSI credentials
func (Client) RotateSKSKarpenterCredentials ¶ added in v3.1.27
Rotate Exoscale Karpenter credentials
func (Client) RotateSKSOperatorsCA ¶
Rotate operators certificate authority
func (Client) ScaleDeployment ¶ added in v3.1.29
func (c Client) ScaleDeployment(ctx context.Context, id UUID, req ScaleDeploymentRequest) (*Operation, error)
Scale Deployment
func (Client) ScaleInstance ¶
func (c Client) ScaleInstance(ctx context.Context, id UUID, req ScaleInstanceRequest) (*Operation, error)
This operation changes the Compute instance's type. Note: the new Instance Type must be within the same family (e.g. a standard instance cannot be scaled to gpu2 or storage).
func (Client) ScaleInstancePool ¶
func (c Client) ScaleInstancePool(ctx context.Context, id UUID, req ScaleInstancePoolRequest) (*Operation, error)
Scale an Instance Pool
func (Client) ScaleSKSNodepool ¶
func (c Client) ScaleSKSNodepool(ctx context.Context, id UUID, sksNodepoolID UUID, req ScaleSKSNodepoolRequest) (*Operation, error)
Scale a SKS Nodepool
func (Client) StartDBAASGrafanaMaintenance ¶
func (Client) StartDBAASKafkaMaintenance ¶
func (Client) StartDBAASMysqlMaintenance ¶
func (Client) StartDBAASOpensearchMaintenance ¶
func (Client) StartDBAASPGMaintenance ¶
func (Client) StartDBAASThanosMaintenance ¶ added in v3.1.32
func (Client) StartDBAASValkeyMaintenance ¶ added in v3.1.11
func (Client) StartInstance ¶
func (c Client) StartInstance(ctx context.Context, id UUID, req StartInstanceRequest) (*Operation, error)
This operation starts a virtual machine, potentially using a rescue profile if specified
func (Client) StopDBAASMysqlMigration ¶
func (Client) StopDBAASPGMigration ¶
func (Client) StopDBAASValkeyMigration ¶ added in v3.1.11
func (Client) StopInstance ¶
Stop a Compute instance
func (Client) UpdateBlockStorageSnapshot ¶
func (c Client) UpdateBlockStorageSnapshot(ctx context.Context, id UUID, req UpdateBlockStorageSnapshotRequest) (*Operation, error)
Update block storage volume snapshot
func (Client) UpdateBlockStorageVolume ¶
func (c Client) UpdateBlockStorageVolume(ctx context.Context, id UUID, req UpdateBlockStorageVolumeRequest) (*Operation, error)
Update block storage volume
func (Client) UpdateDBAASExternalEndpointDatadog ¶ added in v3.1.2
func (c Client) UpdateDBAASExternalEndpointDatadog(ctx context.Context, endpointID UUID, req DBAASEndpointDatadogInputUpdate) (*Operation, error)
[BETA] Update DataDog external integration endpoint
func (Client) UpdateDBAASExternalEndpointElasticsearch ¶ added in v3.1.2
func (c Client) UpdateDBAASExternalEndpointElasticsearch(ctx context.Context, endpointID UUID, req DBAASEndpointElasticsearchInputUpdate) (*Operation, error)
[BETA] Update ElasticSearch Logs external integration endpoint
func (Client) UpdateDBAASExternalEndpointOpensearch ¶ added in v3.1.2
func (c Client) UpdateDBAASExternalEndpointOpensearch(ctx context.Context, endpointID UUID, req DBAASEndpointOpensearchInputUpdate) (*Operation, error)
[BETA] Update OpenSearch Logs external integration endpoint
func (Client) UpdateDBAASExternalEndpointPrometheus ¶ added in v3.1.2
func (c Client) UpdateDBAASExternalEndpointPrometheus(ctx context.Context, endpointID UUID, req DBAASEndpointPrometheusPayload) (*Operation, error)
[BETA] Update Prometheus external integration endpoint
func (Client) UpdateDBAASExternalEndpointRsyslog ¶ added in v3.1.2
func (c Client) UpdateDBAASExternalEndpointRsyslog(ctx context.Context, endpointID UUID, req DBAASEndpointRsyslogInputUpdate) (*Operation, error)
[BETA] Update RSyslog external integration endpoint
func (Client) UpdateDBAASExternalIntegrationSettingsDatadog ¶ added in v3.1.3
func (c Client) UpdateDBAASExternalIntegrationSettingsDatadog(ctx context.Context, integrationID UUID, req UpdateDBAASExternalIntegrationSettingsDatadogRequest) (*Operation, error)
[BETA] Manage Datadog integration settings
func (Client) UpdateDBAASIntegration ¶
func (c Client) UpdateDBAASIntegration(ctx context.Context, id UUID, req UpdateDBAASIntegrationRequest) (*Operation, error)
[BETA] Update a existing DBaaS integration
func (Client) UpdateDBAASOpensearchAclConfig ¶
func (Client) UpdateDBAASPGConnectionPool ¶
func (c Client) UpdateDBAASPGConnectionPool(ctx context.Context, serviceName string, connectionPoolName string, req UpdateDBAASPGConnectionPoolRequest) (*Operation, error)
Update a DBaaS PostgreSQL connection pool
func (Client) UpdateDBAASPostgresAllowReplication ¶
func (c Client) UpdateDBAASPostgresAllowReplication(ctx context.Context, serviceName string, username string, req UpdateDBAASPostgresAllowReplicationRequest) (*DBAASPostgresUsers, error)
func (Client) UpdateDBAASServiceGrafana ¶
func (Client) UpdateDBAASServiceKafka ¶
func (c Client) UpdateDBAASServiceKafka(ctx context.Context, name string, req UpdateDBAASServiceKafkaRequest) (*Operation, error)
Update a DBaaS Kafka service
func (Client) UpdateDBAASServiceMysql ¶
func (c Client) UpdateDBAASServiceMysql(ctx context.Context, name string, req UpdateDBAASServiceMysqlRequest) (*Operation, error)
Update a DBaaS MySQL service
func (Client) UpdateDBAASServiceOpensearch ¶
func (c Client) UpdateDBAASServiceOpensearch(ctx context.Context, name string, req UpdateDBAASServiceOpensearchRequest) (*Operation, error)
Update a DBaaS OpenSearch service
func (Client) UpdateDBAASServicePG ¶
func (c Client) UpdateDBAASServicePG(ctx context.Context, name string, req UpdateDBAASServicePGRequest) (*Operation, error)
Update a DBaaS PostgreSQL service
func (Client) UpdateDBAASServiceThanos ¶ added in v3.1.32
func (c Client) UpdateDBAASServiceThanos(ctx context.Context, name string, req UpdateDBAASServiceThanosRequest) (*Operation, error)
Update a DBaaS Thanos service
func (Client) UpdateDBAASServiceValkey ¶ added in v3.1.11
func (c Client) UpdateDBAASServiceValkey(ctx context.Context, name string, req UpdateDBAASServiceValkeyRequest) (*Operation, error)
Update a DBaaS Valkey service
func (Client) UpdateDNSDomainRecord ¶
func (c Client) UpdateDNSDomainRecord(ctx context.Context, domainID UUID, recordID UUID, req UpdateDNSDomainRecordRequest) (*Operation, error)
Update DNS domain record
func (Client) UpdateDeployment ¶ added in v3.1.34
func (c Client) UpdateDeployment(ctx context.Context, id UUID, req UpdateDeploymentRequest) (*Operation, error)
Update AI deployment
func (Client) UpdateElasticIP ¶
func (c Client) UpdateElasticIP(ctx context.Context, id UUID, req UpdateElasticIPRequest) (*Operation, error)
Update an Elastic IP
func (Client) UpdateIAMAssumeRolePolicy ¶ added in v3.1.34
func (c Client) UpdateIAMAssumeRolePolicy(ctx context.Context, id UUID, req IAMPolicy) (*Operation, error)
Update IAM Assume role Policy
func (Client) UpdateIAMOrganizationPolicy ¶
Update IAM Organization Policy
func (Client) UpdateIAMRole ¶
func (c Client) UpdateIAMRole(ctx context.Context, id UUID, req UpdateIAMRoleRequest) (*Operation, error)
Update IAM Role
func (Client) UpdateIAMRolePolicy ¶
func (c Client) UpdateIAMRolePolicy(ctx context.Context, id UUID, req IAMPolicy) (*Operation, error)
Update IAM Role Policy
func (Client) UpdateInstance ¶
func (c Client) UpdateInstance(ctx context.Context, id UUID, req UpdateInstanceRequest) (*Operation, error)
Update a Compute instance
func (Client) UpdateInstancePool ¶
func (c Client) UpdateInstancePool(ctx context.Context, id UUID, req UpdateInstancePoolRequest) (*Operation, error)
Update an Instance Pool
func (Client) UpdateLoadBalancer ¶
func (c Client) UpdateLoadBalancer(ctx context.Context, id UUID, req UpdateLoadBalancerRequest) (*Operation, error)
Update a Load Balancer
func (Client) UpdateLoadBalancerService ¶
func (c Client) UpdateLoadBalancerService(ctx context.Context, id UUID, serviceID UUID, req UpdateLoadBalancerServiceRequest) (*Operation, error)
Update a Load Balancer Service
func (Client) UpdatePrivateNetwork ¶
func (c Client) UpdatePrivateNetwork(ctx context.Context, id UUID, req UpdatePrivateNetworkRequest) (*Operation, error)
Update a Private Network
func (Client) UpdatePrivateNetworkInstanceIP ¶
func (c Client) UpdatePrivateNetworkInstanceIP(ctx context.Context, id UUID, req UpdatePrivateNetworkInstanceIPRequest) (*Operation, error)
Update the IP address of an instance attached to a managed private network
func (Client) UpdateReverseDNSElasticIP ¶
func (c Client) UpdateReverseDNSElasticIP(ctx context.Context, id UUID, req UpdateReverseDNSElasticIPRequest) (*Operation, error)
Update/Create the PTR DNS record for an elastic IP
func (Client) UpdateReverseDNSInstance ¶
func (c Client) UpdateReverseDNSInstance(ctx context.Context, id UUID, req UpdateReverseDNSInstanceRequest) (*Operation, error)
Update/Create the PTR DNS record for an instance
func (Client) UpdateSKSCluster ¶
func (c Client) UpdateSKSCluster(ctx context.Context, id UUID, req UpdateSKSClusterRequest) (*Operation, error)
Update an SKS cluster
func (Client) UpdateSKSNodepool ¶
func (c Client) UpdateSKSNodepool(ctx context.Context, id UUID, sksNodepoolID UUID, req UpdateSKSNodepoolRequest) (*Operation, error)
Update an SKS Nodepool
func (Client) UpdateTemplate ¶
func (c Client) UpdateTemplate(ctx context.Context, id UUID, req UpdateTemplateRequest) (*Operation, error)
Update template attributes
func (Client) UpdateUserRole ¶ added in v3.1.8
func (Client) UpgradeSKSCluster ¶
func (c Client) UpgradeSKSCluster(ctx context.Context, id UUID, req UpgradeSKSClusterRequest) (*Operation, error)
Upgrade an SKS cluster
func (Client) UpgradeSKSClusterServiceLevel ¶
Upgrade a SKS cluster to pro
func (Client) Wait ¶
func (c Client) Wait(ctx context.Context, op *Operation, states ...OperationState) (*Operation, error)
Wait is a helper that waits for async operation to reach the final state. Final states are one of: failure, success, timeout. If states argument are given, returns an error if the final state not match on of those.
func (*Client) WithEndpoint ¶
WithEndpoint returns a copy of Client with new zone Endpoint.
func (*Client) WithHTTPClient ¶ added in v3.1.7
WithHTTPClient returns a copy of Client with new http.Client.
func (*Client) WithHttpClient ¶
WithHttpClient returns a copy of Client with new http.Client. Deprecated: use WithHTTPClient instead.
func (*Client) WithRequestInterceptor ¶
func (c *Client) WithRequestInterceptor(f ...RequestInterceptorFn) *Client
WithRequestInterceptor returns a copy of Client with new RequestInterceptors.
func (*Client) WithUserAgent ¶ added in v3.1.5
WithUserAgent returns a copy of Client with new User-Agent.
type ClientOpt ¶
ClientOpt represents a function setting Exoscale API client option.
func ClientOptWithEndpoint ¶
ClientOptWithEndpoint returns a ClientOpt With a given zone Endpoint.
func ClientOptWithHTTPClient ¶
ClientOptWithHTTPClient returns a ClientOpt overriding the default http.Client. Note: the Exoscale API client will chain additional middleware (http.RoundTripper) on the HTTP client internally, which can alter the HTTP requests and responses. If you don't want any other middleware than the ones currently set to your HTTP client, you should duplicate it and pass a copy instead.
func ClientOptWithRequestInterceptors ¶
func ClientOptWithRequestInterceptors(f ...RequestInterceptorFn) ClientOpt
ClientOptWithRequestInterceptors returns a ClientOpt With given RequestInterceptors.
func ClientOptWithTrace ¶
func ClientOptWithTrace() ClientOpt
ClientOptWithTrace returns a ClientOpt enabling HTTP request/response tracing.
func ClientOptWithUserAgent ¶ added in v3.1.5
ClientOptWithUserAgent returns a ClientOpt setting the user agent header.
func ClientOptWithValidator ¶
ClientOptWithValidator returns a ClientOpt with a given validator.
func ClientOptWithWaitTimeout ¶ added in v3.1.8
ClientOptWithWaitTimeout returns a ClientOpt With a given wait timeout.
type CopyTemplateRequest ¶
type CopyTemplateRequest struct {
// Zone
TargetZone *Zone `json:"target-zone" validate:"required"`
}
type CreateAPIKeyRequest ¶
type CreateBlockStorageVolumeRequest ¶
type CreateBlockStorageVolumeRequest struct {
// Target block storage snapshot
BlockStorageSnapshot *BlockStorageSnapshotTarget `json:"block-storage-snapshot,omitempty"`
Labels Labels `json:"labels,omitempty"`
// Volume name
Name string `json:"name,omitempty" validate:"omitempty,lte=255"`
// Volume size in GiB.
// When a snapshot ID is supplied, this defaults to the size of the source volume, but can be set to a larger value.
Size int64 `json:"size,omitempty" validate:"omitempty,gte=1"`
}
type CreateDBAASIntegrationRequest ¶
type CreateDBAASIntegrationRequest struct {
DestService DBAASServiceName `json:"dest-service" validate:"required,gte=0,lte=63"`
IntegrationType EnumIntegrationTypes `json:"integration-type" validate:"required"`
// Integration settings
Settings map[string]any `json:"settings,omitempty"`
SourceService DBAASServiceName `json:"source-service" validate:"required,gte=0,lte=63"`
}
type CreateDBAASKafkaUserRequest ¶
type CreateDBAASKafkaUserRequest struct {
Username DBAASUserUsername `json:"username" validate:"required,gte=1,lte=64"`
}
type CreateDBAASMysqlDatabaseRequest ¶
type CreateDBAASMysqlDatabaseRequest struct {
DatabaseName DBAASDatabaseName `json:"database-name" validate:"required,gte=1,lte=40"`
}
type CreateDBAASMysqlUserRequest ¶
type CreateDBAASMysqlUserRequest struct {
Authentication EnumMysqlAuthenticationPlugin `json:"authentication,omitempty"`
Username DBAASUserUsername `json:"username" validate:"required,gte=1,lte=64"`
}
type CreateDBAASOpensearchUserRequest ¶
type CreateDBAASOpensearchUserRequest struct {
Username DBAASUserUsername `json:"username" validate:"required,gte=1,lte=64"`
}
type CreateDBAASPGConnectionPoolRequest ¶
type CreateDBAASPGConnectionPoolRequest struct {
DatabaseName DBAASDatabaseName `json:"database-name" validate:"required,gte=1,lte=40"`
Mode EnumPGPoolMode `json:"mode,omitempty"`
Name DBAASPGPoolName `json:"name" validate:"required,gte=1,lte=63"`
Size DBAASPGPoolSize `json:"size,omitempty" validate:"omitempty,gte=1,lte=10000"`
Username DBAASPGPoolUsername `json:"username,omitempty" validate:"omitempty,gte=1,lte=64"`
}
type CreateDBAASPGDatabaseRequest ¶
type CreateDBAASPGDatabaseRequest struct {
DatabaseName DBAASDatabaseName `json:"database-name" validate:"required,gte=1,lte=40"`
// Default string sort order (LC_COLLATE) for PostgreSQL database
LCCollate string `json:"lc-collate,omitempty" validate:"omitempty,lte=128"`
// Default character classification (LC_CTYPE) for PostgreSQL database
LCCtype string `json:"lc-ctype,omitempty" validate:"omitempty,lte=128"`
}
type CreateDBAASPGUpgradeCheckRequest ¶
type CreateDBAASPGUpgradeCheckRequest struct {
TargetVersion DBAASPGTargetVersions `json:"target-version" validate:"required"`
}
type CreateDBAASPostgresUserRequest ¶
type CreateDBAASPostgresUserRequest struct {
AllowReplication *bool `json:"allow-replication,omitempty"`
Username DBAASUserUsername `json:"username" validate:"required,gte=1,lte=64"`
}
type CreateDBAASServiceGrafanaRequest ¶
type CreateDBAASServiceGrafanaRequest struct {
ForkFromService DBAASServiceName `json:"fork-from-service,omitempty" validate:"omitempty,gte=0,lte=63"`
// Grafana settings
GrafanaSettings *JSONSchemaGrafana `json:"grafana-settings,omitempty"`
// Allowed CIDR address blocks for incoming connections
IPFilter []string `json:"ip-filter,omitempty"`
// Automatic maintenance settings
Maintenance *CreateDBAASServiceGrafanaRequestMaintenance `json:"maintenance,omitempty"`
// Subscription plan
Plan string `json:"plan" validate:"required,gte=1,lte=128"`
// Service is protected against termination and powering off
TerminationProtection *bool `json:"termination-protection,omitempty"`
}
type CreateDBAASServiceGrafanaRequestMaintenance ¶
type CreateDBAASServiceGrafanaRequestMaintenance struct {
// Day of week for installing updates
Dow CreateDBAASServiceGrafanaRequestMaintenanceDow `json:"dow" validate:"required"`
// Time for installing updates, UTC
Time string `json:"time" validate:"required,gte=8,lte=8"`
}
Automatic maintenance settings
type CreateDBAASServiceGrafanaRequestMaintenanceDow ¶
type CreateDBAASServiceGrafanaRequestMaintenanceDow string
const ( CreateDBAASServiceGrafanaRequestMaintenanceDowSaturday CreateDBAASServiceGrafanaRequestMaintenanceDow = "saturday" CreateDBAASServiceGrafanaRequestMaintenanceDowTuesday CreateDBAASServiceGrafanaRequestMaintenanceDow = "tuesday" CreateDBAASServiceGrafanaRequestMaintenanceDowNever CreateDBAASServiceGrafanaRequestMaintenanceDow = "never" CreateDBAASServiceGrafanaRequestMaintenanceDowWednesday CreateDBAASServiceGrafanaRequestMaintenanceDow = "wednesday" CreateDBAASServiceGrafanaRequestMaintenanceDowSunday CreateDBAASServiceGrafanaRequestMaintenanceDow = "sunday" CreateDBAASServiceGrafanaRequestMaintenanceDowFriday CreateDBAASServiceGrafanaRequestMaintenanceDow = "friday" CreateDBAASServiceGrafanaRequestMaintenanceDowMonday CreateDBAASServiceGrafanaRequestMaintenanceDow = "monday" CreateDBAASServiceGrafanaRequestMaintenanceDowThursday CreateDBAASServiceGrafanaRequestMaintenanceDow = "thursday" )
type CreateDBAASServiceKafkaRequest ¶
type CreateDBAASServiceKafkaRequest struct {
// Kafka authentication methods
AuthenticationMethods *CreateDBAASServiceKafkaRequestAuthenticationMethods `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 *JSONSchemaKafkaConnect `json:"kafka-connect-settings,omitempty"`
// Enable Kafka-REST service
KafkaRestEnabled *bool `json:"kafka-rest-enabled,omitempty"`
// Kafka REST configuration
KafkaRestSettings *JSONSchemaKafkaRest `json:"kafka-rest-settings,omitempty"`
// Kafka broker configuration values
KafkaSettings *JSONSchemaKafka `json:"kafka-settings,omitempty"`
// Automatic maintenance settings
Maintenance *CreateDBAASServiceKafkaRequestMaintenance `json:"maintenance,omitempty"`
// Subscription plan
Plan string `json:"plan" validate:"required,gte=1,lte=128"`
// Enable Schema-Registry service
SchemaRegistryEnabled *bool `json:"schema-registry-enabled,omitempty"`
// Schema Registry configuration
SchemaRegistrySettings *JSONSchemaSchemaRegistry `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" validate:"omitempty,gte=1"`
}
type CreateDBAASServiceKafkaRequestAuthenticationMethods ¶
type CreateDBAASServiceKafkaRequestAuthenticationMethods struct {
// Enable certificate/SSL authentication
Certificate *bool `json:"certificate,omitempty"`
// Enable SASL authentication
Sasl *bool `json:"sasl,omitempty"`
}
Kafka authentication methods
type CreateDBAASServiceKafkaRequestMaintenance ¶
type CreateDBAASServiceKafkaRequestMaintenance struct {
// Day of week for installing updates
Dow CreateDBAASServiceKafkaRequestMaintenanceDow `json:"dow" validate:"required"`
// Time for installing updates, UTC
Time string `json:"time" validate:"required,gte=8,lte=8"`
}
Automatic maintenance settings
type CreateDBAASServiceKafkaRequestMaintenanceDow ¶
type CreateDBAASServiceKafkaRequestMaintenanceDow string
const ( CreateDBAASServiceKafkaRequestMaintenanceDowSaturday CreateDBAASServiceKafkaRequestMaintenanceDow = "saturday" CreateDBAASServiceKafkaRequestMaintenanceDowTuesday CreateDBAASServiceKafkaRequestMaintenanceDow = "tuesday" CreateDBAASServiceKafkaRequestMaintenanceDowNever CreateDBAASServiceKafkaRequestMaintenanceDow = "never" CreateDBAASServiceKafkaRequestMaintenanceDowWednesday CreateDBAASServiceKafkaRequestMaintenanceDow = "wednesday" CreateDBAASServiceKafkaRequestMaintenanceDowSunday CreateDBAASServiceKafkaRequestMaintenanceDow = "sunday" CreateDBAASServiceKafkaRequestMaintenanceDowFriday CreateDBAASServiceKafkaRequestMaintenanceDow = "friday" CreateDBAASServiceKafkaRequestMaintenanceDowMonday CreateDBAASServiceKafkaRequestMaintenanceDow = "monday" CreateDBAASServiceKafkaRequestMaintenanceDowThursday CreateDBAASServiceKafkaRequestMaintenanceDow = "thursday" )
type CreateDBAASServiceMysqlRequest ¶
type CreateDBAASServiceMysqlRequest struct {
AdminPassword string `json:"admin-password,omitempty" validate:"omitempty,gte=8,lte=256"`
// Custom username for admin user. This must be set only when a new service is being created.
AdminUsername string `json:"admin-username,omitempty" validate:"omitempty,gte=1,lte=64"`
BackupSchedule *CreateDBAASServiceMysqlRequestBackupSchedule `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" validate:"omitempty,gte=600,lte=86400"`
ForkFromService DBAASServiceName `json:"fork-from-service,omitempty" validate:"omitempty,gte=0,lte=63"`
// Service integrations to be enabled when creating the service.
Integrations []CreateDBAASServiceMysqlRequestIntegrations `json:"integrations,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 *CreateDBAASServiceMysqlRequestMaintenance `json:"maintenance,omitempty"`
// Migrate data from existing server
Migration *CreateDBAASServiceMysqlRequestMigration `json:"migration,omitempty"`
// mysql.conf configuration values
MysqlSettings *JSONSchemaMysql `json:"mysql-settings,omitempty"`
// Subscription plan
Plan string `json:"plan" validate:"required,gte=1,lte=128"`
// ISO time of a backup to recover from for services that support arbitrary times
RecoveryBackupTime string `json:"recovery-backup-time,omitempty" validate:"omitempty,gte=1"`
// Service is protected against termination and powering off
TerminationProtection *bool `json:"termination-protection,omitempty"`
// MySQL major version
Version string `json:"version,omitempty" validate:"omitempty,gte=1"`
}
type CreateDBAASServiceMysqlRequestBackupSchedule ¶
type CreateDBAASServiceMysqlRequestBackupSchedule 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" validate:"omitempty,gte=0,lte=23"`
// 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" validate:"omitempty,gte=0,lte=59"`
}
type CreateDBAASServiceMysqlRequestIntegrations ¶
type CreateDBAASServiceMysqlRequestIntegrations struct {
DestService DBAASServiceName `json:"dest-service,omitempty" validate:"omitempty,gte=0,lte=63"`
// Integration settings
Settings map[string]any `json:"settings,omitempty"`
SourceService DBAASServiceName `json:"source-service,omitempty" validate:"omitempty,gte=0,lte=63"`
// Integration type
Type CreateDBAASServiceMysqlRequestIntegrationsType `json:"type" validate:"required"`
}
type CreateDBAASServiceMysqlRequestIntegrationsType ¶
type CreateDBAASServiceMysqlRequestIntegrationsType string
const (
CreateDBAASServiceMysqlRequestIntegrationsTypeReadReplica CreateDBAASServiceMysqlRequestIntegrationsType = "read_replica"
)
type CreateDBAASServiceMysqlRequestMaintenance ¶
type CreateDBAASServiceMysqlRequestMaintenance struct {
// Day of week for installing updates
Dow CreateDBAASServiceMysqlRequestMaintenanceDow `json:"dow" validate:"required"`
// Time for installing updates, UTC
Time string `json:"time" validate:"required,gte=8,lte=8"`
}
Automatic maintenance settings
type CreateDBAASServiceMysqlRequestMaintenanceDow ¶
type CreateDBAASServiceMysqlRequestMaintenanceDow string
const ( CreateDBAASServiceMysqlRequestMaintenanceDowSaturday CreateDBAASServiceMysqlRequestMaintenanceDow = "saturday" CreateDBAASServiceMysqlRequestMaintenanceDowTuesday CreateDBAASServiceMysqlRequestMaintenanceDow = "tuesday" CreateDBAASServiceMysqlRequestMaintenanceDowNever CreateDBAASServiceMysqlRequestMaintenanceDow = "never" CreateDBAASServiceMysqlRequestMaintenanceDowWednesday CreateDBAASServiceMysqlRequestMaintenanceDow = "wednesday" CreateDBAASServiceMysqlRequestMaintenanceDowSunday CreateDBAASServiceMysqlRequestMaintenanceDow = "sunday" CreateDBAASServiceMysqlRequestMaintenanceDowFriday CreateDBAASServiceMysqlRequestMaintenanceDow = "friday" CreateDBAASServiceMysqlRequestMaintenanceDowMonday CreateDBAASServiceMysqlRequestMaintenanceDow = "monday" CreateDBAASServiceMysqlRequestMaintenanceDowThursday CreateDBAASServiceMysqlRequestMaintenanceDow = "thursday" )
type CreateDBAASServiceMysqlRequestMigration ¶
type CreateDBAASServiceMysqlRequestMigration struct {
// Database name for bootstrapping the initial connection
Dbname string `json:"dbname,omitempty" validate:"omitempty,gte=1,lte=63"`
// Hostname or IP address of the server where to migrate data from
Host string `json:"host" validate:"required,gte=1,lte=255"`
// Comma-separated list of databases, which should be ignored during migration (supported by MySQL only at the moment)
IgnoreDbs string `json:"ignore-dbs,omitempty" validate:"omitempty,gte=1,lte=2048"`
Method EnumMigrationMethod `json:"method,omitempty"`
// Password for authentication with the server where to migrate data from
Password string `json:"password,omitempty" validate:"omitempty,gte=1,lte=255"`
// Port number of the server where to migrate data from
Port int64 `json:"port" validate:"required,gte=1,lte=65535"`
// The server where to migrate data from is secured with SSL
SSL *bool `json:"ssl,omitempty"`
// User name for authentication with the server where to migrate data from
Username string `json:"username,omitempty" validate:"omitempty,gte=1,lte=255"`
}
Migrate data from existing server
type CreateDBAASServiceOpensearchRequest ¶
type CreateDBAASServiceOpensearchRequest struct {
ForkFromService DBAASServiceName `json:"fork-from-service,omitempty" validate:"omitempty,gte=0,lte=63"`
// Allows you to create glob style patterns and set a max number of indexes matching this pattern you want to keep. Creating indexes exceeding this value will cause the oldest one to get deleted. You could for example create a pattern looking like 'logs.?' and then create index logs.1, logs.2 etc, it will delete logs.1 once you create logs.6. Do note 'logs.?' does not apply to logs.10. Note: Setting max_index_count to 0 will do nothing and the pattern gets ignored.
IndexPatterns []CreateDBAASServiceOpensearchRequestIndexPatterns `json:"index-patterns,omitempty"`
// Template settings for all new indexes
IndexTemplate *CreateDBAASServiceOpensearchRequestIndexTemplate `json:"index-template,omitempty"`
// Allow incoming connections from CIDR address block, e.g. '10.20.0.0/16'
IPFilter []string `json:"ip-filter,omitempty"`
// Aiven automation resets index.refresh_interval to default value for every index to be sure that indices are always visible to search. If it doesn't fit your case, you can disable this by setting up this flag to true.
KeepIndexRefreshInterval *bool `json:"keep-index-refresh-interval,omitempty"`
// Automatic maintenance settings
Maintenance *CreateDBAASServiceOpensearchRequestMaintenance `json:"maintenance,omitempty"`
// Maximum number of indexes to keep before deleting the oldest one
MaxIndexCount *int64 `json:"max-index-count,omitempty" validate:"omitempty,gte=0"`
// OpenSearch Dashboards settings
OpensearchDashboards *CreateDBAASServiceOpensearchRequestOpensearchDashboards `json:"opensearch-dashboards,omitempty"`
// OpenSearch settings
OpensearchSettings *JSONSchemaOpensearch `json:"opensearch-settings,omitempty"`
// Subscription plan
Plan string `json:"plan" validate:"required,gte=1,lte=128"`
// Name of a backup to recover from for services that support backup names
RecoveryBackupName string `json:"recovery-backup-name,omitempty" validate:"omitempty,gte=1"`
// Service is protected against termination and powering off
TerminationProtection *bool `json:"termination-protection,omitempty"`
// OpenSearch major version
Version string `json:"version,omitempty" validate:"omitempty,gte=1"`
}
type CreateDBAASServiceOpensearchRequestIndexPatterns ¶
type CreateDBAASServiceOpensearchRequestIndexPatterns struct {
// Maximum number of indexes to keep
MaxIndexCount *int64 `json:"max-index-count,omitempty" validate:"omitempty,gte=0"`
// fnmatch pattern
Pattern string `json:"pattern,omitempty" validate:"omitempty,lte=1024"`
// Deletion sorting algorithm
SortingAlgorithm CreateDBAASServiceOpensearchRequestIndexPatternsSortingAlgorithm `json:"sorting-algorithm,omitempty"`
}
type CreateDBAASServiceOpensearchRequestIndexPatternsSortingAlgorithm ¶
type CreateDBAASServiceOpensearchRequestIndexPatternsSortingAlgorithm string
const ( CreateDBAASServiceOpensearchRequestIndexPatternsSortingAlgorithmAlphabetical CreateDBAASServiceOpensearchRequestIndexPatternsSortingAlgorithm = "alphabetical" CreateDBAASServiceOpensearchRequestIndexPatternsSortingAlgorithmCreationDate CreateDBAASServiceOpensearchRequestIndexPatternsSortingAlgorithm = "creation_date" )
type CreateDBAASServiceOpensearchRequestIndexTemplate ¶
type CreateDBAASServiceOpensearchRequestIndexTemplate struct {
// The maximum number of nested JSON objects that a single document can contain across all nested types. This limit helps to prevent out of memory errors when a document contains too many nested objects. Default is 10000.
MappingNestedObjectsLimit *int64 `json:"mapping-nested-objects-limit,omitempty" validate:"omitempty,gte=0,lte=100000"`
// The number of replicas each primary shard has.
NumberOfReplicas *int64 `json:"number-of-replicas,omitempty" validate:"omitempty,gte=0,lte=29"`
// The number of primary shards that an index should have.
NumberOfShards int64 `json:"number-of-shards,omitempty" validate:"omitempty,gte=1,lte=1024"`
}
Template settings for all new indexes
type CreateDBAASServiceOpensearchRequestMaintenance ¶
type CreateDBAASServiceOpensearchRequestMaintenance struct {
// Day of week for installing updates
Dow CreateDBAASServiceOpensearchRequestMaintenanceDow `json:"dow" validate:"required"`
// Time for installing updates, UTC
Time string `json:"time" validate:"required,gte=8,lte=8"`
}
Automatic maintenance settings
type CreateDBAASServiceOpensearchRequestMaintenanceDow ¶
type CreateDBAASServiceOpensearchRequestMaintenanceDow string
const ( CreateDBAASServiceOpensearchRequestMaintenanceDowSaturday CreateDBAASServiceOpensearchRequestMaintenanceDow = "saturday" CreateDBAASServiceOpensearchRequestMaintenanceDowTuesday CreateDBAASServiceOpensearchRequestMaintenanceDow = "tuesday" CreateDBAASServiceOpensearchRequestMaintenanceDowNever CreateDBAASServiceOpensearchRequestMaintenanceDow = "never" CreateDBAASServiceOpensearchRequestMaintenanceDowWednesday CreateDBAASServiceOpensearchRequestMaintenanceDow = "wednesday" CreateDBAASServiceOpensearchRequestMaintenanceDowSunday CreateDBAASServiceOpensearchRequestMaintenanceDow = "sunday" CreateDBAASServiceOpensearchRequestMaintenanceDowFriday CreateDBAASServiceOpensearchRequestMaintenanceDow = "friday" CreateDBAASServiceOpensearchRequestMaintenanceDowMonday CreateDBAASServiceOpensearchRequestMaintenanceDow = "monday" CreateDBAASServiceOpensearchRequestMaintenanceDowThursday CreateDBAASServiceOpensearchRequestMaintenanceDow = "thursday" )
type CreateDBAASServiceOpensearchRequestOpensearchDashboards ¶
type CreateDBAASServiceOpensearchRequestOpensearchDashboards struct {
// Enable or disable OpenSearch Dashboards (default: true)
Enabled *bool `json:"enabled,omitempty"`
// Limits the maximum amount of memory (in MiB) the OpenSearch Dashboards process can use. This sets the max_old_space_size option of the nodejs running the OpenSearch Dashboards. Note: the memory reserved by OpenSearch Dashboards is not available for OpenSearch. (default: 128)
MaxOldSpaceSize int64 `json:"max-old-space-size,omitempty" validate:"omitempty,gte=64,lte=1024"`
// Timeout in milliseconds for requests made by OpenSearch Dashboards towards OpenSearch (default: 30000)
OpensearchRequestTimeout int64 `json:"opensearch-request-timeout,omitempty" validate:"omitempty,gte=5000,lte=120000"`
}
OpenSearch Dashboards settings
type CreateDBAASServicePGRequest ¶
type CreateDBAASServicePGRequest 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" validate:"omitempty,gte=8,lte=256"`
// Custom username for admin user. This must be set only when a new service is being created.
AdminUsername string `json:"admin-username,omitempty" validate:"omitempty,gte=1,lte=64"`
BackupSchedule *CreateDBAASServicePGRequestBackupSchedule `json:"backup-schedule,omitempty"`
ForkFromService DBAASServiceName `json:"fork-from-service,omitempty" validate:"omitempty,gte=0,lte=63"`
// Service integrations to be enabled when creating the service.
Integrations []CreateDBAASServicePGRequestIntegrations `json:"integrations,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 *CreateDBAASServicePGRequestMaintenance `json:"maintenance,omitempty"`
// Migrate data from existing server
Migration *CreateDBAASServicePGRequestMigration `json:"migration,omitempty"`
// postgresql.conf configuration values
PGSettings *JSONSchemaPG `json:"pg-settings,omitempty"`
// System-wide settings for pgbouncer.
PgbouncerSettings *JSONSchemaPgbouncer `json:"pgbouncer-settings,omitempty"`
// System-wide settings for pglookout.
PglookoutSettings *JSONSchemaPglookout `json:"pglookout-settings,omitempty"`
// Subscription plan
Plan string `json:"plan" validate:"required,gte=1,lte=128"`
// ISO time of a backup to recover from for services that support arbitrary times
RecoveryBackupTime string `json:"recovery-backup-time,omitempty" validate:"omitempty,gte=1"`
// 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.
SynchronousReplication EnumPGSynchronousReplication `json:"synchronous-replication,omitempty"`
// Service is protected against termination and powering off
TerminationProtection *bool `json:"termination-protection,omitempty"`
// System-wide settings for the timescaledb extension
TimescaledbSettings *JSONSchemaTimescaledb `json:"timescaledb-settings,omitempty"`
Variant EnumPGVariant `json:"variant,omitempty"`
Version DBAASPGTargetVersions `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" validate:"omitempty,gte=1,lte=1024"`
}
type CreateDBAASServicePGRequestBackupSchedule ¶
type CreateDBAASServicePGRequestBackupSchedule 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" validate:"omitempty,gte=0,lte=23"`
// 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" validate:"omitempty,gte=0,lte=59"`
}
type CreateDBAASServicePGRequestIntegrations ¶
type CreateDBAASServicePGRequestIntegrations struct {
DestService DBAASServiceName `json:"dest-service,omitempty" validate:"omitempty,gte=0,lte=63"`
// Integration settings
Settings map[string]any `json:"settings,omitempty"`
SourceService DBAASServiceName `json:"source-service,omitempty" validate:"omitempty,gte=0,lte=63"`
// Integration type
Type CreateDBAASServicePGRequestIntegrationsType `json:"type" validate:"required"`
}
type CreateDBAASServicePGRequestIntegrationsType ¶
type CreateDBAASServicePGRequestIntegrationsType string
const (
CreateDBAASServicePGRequestIntegrationsTypeReadReplica CreateDBAASServicePGRequestIntegrationsType = "read_replica"
)
type CreateDBAASServicePGRequestMaintenance ¶
type CreateDBAASServicePGRequestMaintenance struct {
// Day of week for installing updates
Dow CreateDBAASServicePGRequestMaintenanceDow `json:"dow" validate:"required"`
// Time for installing updates, UTC
Time string `json:"time" validate:"required,gte=8,lte=8"`
}
Automatic maintenance settings
type CreateDBAASServicePGRequestMaintenanceDow ¶
type CreateDBAASServicePGRequestMaintenanceDow string
const ( CreateDBAASServicePGRequestMaintenanceDowSaturday CreateDBAASServicePGRequestMaintenanceDow = "saturday" CreateDBAASServicePGRequestMaintenanceDowTuesday CreateDBAASServicePGRequestMaintenanceDow = "tuesday" CreateDBAASServicePGRequestMaintenanceDowNever CreateDBAASServicePGRequestMaintenanceDow = "never" CreateDBAASServicePGRequestMaintenanceDowWednesday CreateDBAASServicePGRequestMaintenanceDow = "wednesday" CreateDBAASServicePGRequestMaintenanceDowSunday CreateDBAASServicePGRequestMaintenanceDow = "sunday" CreateDBAASServicePGRequestMaintenanceDowFriday CreateDBAASServicePGRequestMaintenanceDow = "friday" CreateDBAASServicePGRequestMaintenanceDowMonday CreateDBAASServicePGRequestMaintenanceDow = "monday" CreateDBAASServicePGRequestMaintenanceDowThursday CreateDBAASServicePGRequestMaintenanceDow = "thursday" )
type CreateDBAASServicePGRequestMigration ¶
type CreateDBAASServicePGRequestMigration struct {
// Database name for bootstrapping the initial connection
Dbname string `json:"dbname,omitempty" validate:"omitempty,gte=1,lte=63"`
// Hostname or IP address of the server where to migrate data from
Host string `json:"host" validate:"required,gte=1,lte=255"`
// Comma-separated list of databases, which should be ignored during migration (supported by MySQL only at the moment)
IgnoreDbs string `json:"ignore-dbs,omitempty" validate:"omitempty,gte=1,lte=2048"`
Method EnumMigrationMethod `json:"method,omitempty"`
// Password for authentication with the server where to migrate data from
Password string `json:"password,omitempty" validate:"omitempty,gte=1,lte=255"`
// Port number of the server where to migrate data from
Port int64 `json:"port" validate:"required,gte=1,lte=65535"`
// The server where to migrate data from is secured with SSL
SSL *bool `json:"ssl,omitempty"`
// User name for authentication with the server where to migrate data from
Username string `json:"username,omitempty" validate:"omitempty,gte=1,lte=255"`
}
Migrate data from existing server
type CreateDBAASServiceThanosRequest ¶ added in v3.1.32
type CreateDBAASServiceThanosRequest struct {
// Allowed CIDR address blocks for incoming connections
IPFilter []string `json:"ip-filter,omitempty"`
// Automatic maintenance settings
Maintenance *CreateDBAASServiceThanosRequestMaintenance `json:"maintenance,omitempty"`
// Subscription plan
Plan string `json:"plan" validate:"required,gte=1,lte=128"`
// Service is protected against termination and powering off
TerminationProtection *bool `json:"termination-protection,omitempty"`
// Thanos settings
ThanosSettings *JSONSchemaThanos `json:"thanos-settings,omitempty"`
}
type CreateDBAASServiceThanosRequestMaintenance ¶ added in v3.1.32
type CreateDBAASServiceThanosRequestMaintenance struct {
// Day of week for installing updates
Dow CreateDBAASServiceThanosRequestMaintenanceDow `json:"dow" validate:"required"`
// Time for installing updates, UTC
Time string `json:"time" validate:"required,gte=8,lte=8"`
}
Automatic maintenance settings
type CreateDBAASServiceThanosRequestMaintenanceDow ¶ added in v3.1.32
type CreateDBAASServiceThanosRequestMaintenanceDow string
const ( CreateDBAASServiceThanosRequestMaintenanceDowSaturday CreateDBAASServiceThanosRequestMaintenanceDow = "saturday" CreateDBAASServiceThanosRequestMaintenanceDowTuesday CreateDBAASServiceThanosRequestMaintenanceDow = "tuesday" CreateDBAASServiceThanosRequestMaintenanceDowNever CreateDBAASServiceThanosRequestMaintenanceDow = "never" CreateDBAASServiceThanosRequestMaintenanceDowWednesday CreateDBAASServiceThanosRequestMaintenanceDow = "wednesday" CreateDBAASServiceThanosRequestMaintenanceDowSunday CreateDBAASServiceThanosRequestMaintenanceDow = "sunday" CreateDBAASServiceThanosRequestMaintenanceDowFriday CreateDBAASServiceThanosRequestMaintenanceDow = "friday" CreateDBAASServiceThanosRequestMaintenanceDowMonday CreateDBAASServiceThanosRequestMaintenanceDow = "monday" CreateDBAASServiceThanosRequestMaintenanceDowThursday CreateDBAASServiceThanosRequestMaintenanceDow = "thursday" )
type CreateDBAASServiceValkeyRequest ¶ added in v3.1.11
type CreateDBAASServiceValkeyRequest struct {
ForkFromService DBAASServiceName `json:"fork-from-service,omitempty" validate:"omitempty,gte=0,lte=63"`
// Allow incoming connections from CIDR address block, e.g. '10.20.0.0/16'
IPFilter []string `json:"ip-filter,omitempty"`
// Automatic maintenance settings
Maintenance *CreateDBAASServiceValkeyRequestMaintenance `json:"maintenance,omitempty"`
// Migrate data from existing server
Migration *CreateDBAASServiceValkeyRequestMigration `json:"migration,omitempty"`
// Subscription plan
Plan string `json:"plan" validate:"required,gte=1,lte=128"`
// Name of a backup to recover from for services that support backup names
RecoveryBackupName string `json:"recovery-backup-name,omitempty" validate:"omitempty,gte=1"`
// Service is protected against termination and powering off
TerminationProtection *bool `json:"termination-protection,omitempty"`
// Valkey settings
ValkeySettings *JSONSchemaValkey `json:"valkey-settings,omitempty"`
}
type CreateDBAASServiceValkeyRequestMaintenance ¶ added in v3.1.11
type CreateDBAASServiceValkeyRequestMaintenance struct {
// Day of week for installing updates
Dow CreateDBAASServiceValkeyRequestMaintenanceDow `json:"dow" validate:"required"`
// Time for installing updates, UTC
Time string `json:"time" validate:"required,gte=8,lte=8"`
}
Automatic maintenance settings
type CreateDBAASServiceValkeyRequestMaintenanceDow ¶ added in v3.1.11
type CreateDBAASServiceValkeyRequestMaintenanceDow string
const ( CreateDBAASServiceValkeyRequestMaintenanceDowSaturday CreateDBAASServiceValkeyRequestMaintenanceDow = "saturday" CreateDBAASServiceValkeyRequestMaintenanceDowTuesday CreateDBAASServiceValkeyRequestMaintenanceDow = "tuesday" CreateDBAASServiceValkeyRequestMaintenanceDowNever CreateDBAASServiceValkeyRequestMaintenanceDow = "never" CreateDBAASServiceValkeyRequestMaintenanceDowWednesday CreateDBAASServiceValkeyRequestMaintenanceDow = "wednesday" CreateDBAASServiceValkeyRequestMaintenanceDowSunday CreateDBAASServiceValkeyRequestMaintenanceDow = "sunday" CreateDBAASServiceValkeyRequestMaintenanceDowFriday CreateDBAASServiceValkeyRequestMaintenanceDow = "friday" CreateDBAASServiceValkeyRequestMaintenanceDowMonday CreateDBAASServiceValkeyRequestMaintenanceDow = "monday" CreateDBAASServiceValkeyRequestMaintenanceDowThursday CreateDBAASServiceValkeyRequestMaintenanceDow = "thursday" )
type CreateDBAASServiceValkeyRequestMigration ¶ added in v3.1.11
type CreateDBAASServiceValkeyRequestMigration struct {
// Database name for bootstrapping the initial connection
Dbname string `json:"dbname,omitempty" validate:"omitempty,gte=1,lte=63"`
// Hostname or IP address of the server where to migrate data from
Host string `json:"host" validate:"required,gte=1,lte=255"`
// Comma-separated list of databases, which should be ignored during migration (supported by MySQL only at the moment)
IgnoreDbs string `json:"ignore-dbs,omitempty" validate:"omitempty,gte=1,lte=2048"`
Method EnumMigrationMethod `json:"method,omitempty"`
// Password for authentication with the server where to migrate data from
Password string `json:"password,omitempty" validate:"omitempty,gte=1,lte=255"`
// Port number of the server where to migrate data from
Port int64 `json:"port" validate:"required,gte=1,lte=65535"`
// The server where to migrate data from is secured with SSL
SSL *bool `json:"ssl,omitempty"`
// User name for authentication with the server where to migrate data from
Username string `json:"username,omitempty" validate:"omitempty,gte=1,lte=255"`
}
Migrate data from existing server
type CreateDBAASTaskMigrationCheckRequest ¶
type CreateDBAASTaskMigrationCheckRequest struct {
// Comma-separated list of databases, which should be ignored during migration (supported by MySQL only at the moment)
IgnoreDbs string `json:"ignore-dbs,omitempty" validate:"omitempty,gte=1,lte=2048"`
Method EnumMigrationMethod `json:"method,omitempty"`
// Service URI of the source MySQL or PostgreSQL database with admin credentials.
SourceServiceURI string `json:"source-service-uri" validate:"required,gte=1,lte=512"`
}
type CreateDBAASValkeyUserRequest ¶ added in v3.1.11
type CreateDBAASValkeyUserRequest struct {
Username DBAASUserUsername `json:"username" validate:"required,gte=1,lte=64"`
}
type CreateDNSDomainRecordRequest ¶
type CreateDNSDomainRecordRequest struct {
// DNS domain record content
Content string `json:"content" validate:"required"`
// DNS domain record name
Name string `json:"name" validate:"required"`
// DNS domain record priority
Priority int64 `json:"priority,omitempty" validate:"omitempty,gte=0"`
// DNS domain record TTL
Ttl int64 `json:"ttl,omitempty" validate:"omitempty,gte=0"`
// DNS domain record type
Type CreateDNSDomainRecordRequestType `json:"type" validate:"required"`
}
type CreateDNSDomainRecordRequestType ¶
type CreateDNSDomainRecordRequestType string
const ( CreateDNSDomainRecordRequestTypeNS CreateDNSDomainRecordRequestType = "NS" CreateDNSDomainRecordRequestTypeCAA CreateDNSDomainRecordRequestType = "CAA" CreateDNSDomainRecordRequestTypeNAPTR CreateDNSDomainRecordRequestType = "NAPTR" CreateDNSDomainRecordRequestTypePOOL CreateDNSDomainRecordRequestType = "POOL" CreateDNSDomainRecordRequestTypeA CreateDNSDomainRecordRequestType = "A" CreateDNSDomainRecordRequestTypeHINFO CreateDNSDomainRecordRequestType = "HINFO" CreateDNSDomainRecordRequestTypeCNAME CreateDNSDomainRecordRequestType = "CNAME" CreateDNSDomainRecordRequestTypeSSHFP CreateDNSDomainRecordRequestType = "SSHFP" CreateDNSDomainRecordRequestTypeSRV CreateDNSDomainRecordRequestType = "SRV" CreateDNSDomainRecordRequestTypeAAAA CreateDNSDomainRecordRequestType = "AAAA" CreateDNSDomainRecordRequestTypeMX CreateDNSDomainRecordRequestType = "MX" CreateDNSDomainRecordRequestTypeTXT CreateDNSDomainRecordRequestType = "TXT" CreateDNSDomainRecordRequestTypeALIAS CreateDNSDomainRecordRequestType = "ALIAS" CreateDNSDomainRecordRequestTypeURL CreateDNSDomainRecordRequestType = "URL" )
type CreateDNSDomainRequest ¶
type CreateDNSDomainRequest struct {
// Domain name
UnicodeName string `json:"unicode-name,omitempty"`
}
DNS Domain
type CreateDeploymentRequest ¶ added in v3.1.29
type CreateDeploymentRequest struct {
// Number of GPUs (1-8)
GpuCount int64 `json:"gpu-count" validate:"required,gte=1"`
// GPU type family (e.g., gpua5000, gpu3080ti)
GpuType string `json:"gpu-type" validate:"required"`
// Optional extra inference engine server CLI args
InferenceEngineParameters []string `json:"inference-engine-parameters,omitempty"`
// Inference engine version
InferenceEngineVersion InferenceEngineVersion `json:"inference-engine-version,omitempty"`
Model *ModelRef `json:"model" validate:"required"`
// Deployment name
Name string `json:"name" validate:"required,gte=1"`
// Number of replicas (>=1)
Replicas int64 `json:"replicas" validate:"required,gte=1"`
}
Deployment an AI model onto a set of GPUs
type CreateElasticIPRequest ¶
type CreateElasticIPRequest struct {
// Elastic IP address family (default: :inet4)
Addressfamily CreateElasticIPRequestAddressfamily `json:"addressfamily,omitempty"`
// Elastic IP description
Description string `json:"description,omitempty" validate:"omitempty,lte=255"`
// Elastic IP address healthcheck
Healthcheck *ElasticIPHealthcheck `json:"healthcheck,omitempty"`
Labels Labels `json:"labels,omitempty"`
}
type CreateElasticIPRequestAddressfamily ¶
type CreateElasticIPRequestAddressfamily string
const ( CreateElasticIPRequestAddressfamilyInet4 CreateElasticIPRequestAddressfamily = "inet4" CreateElasticIPRequestAddressfamilyInet6 CreateElasticIPRequestAddressfamily = "inet6" )
type CreateIAMRoleRequest ¶
type CreateIAMRoleRequest struct {
// Policy
AssumeRolePolicy *IAMPolicy `json:"assume-role-policy,omitempty"`
// IAM Role description
Description string `json:"description,omitempty" validate:"omitempty,gte=1,lte=255"`
// Sets if the IAM Role Policy is editable or not (default: true). This setting cannot be changed after creation
Editable *bool `json:"editable,omitempty"`
Labels Labels `json:"labels,omitempty"`
// Maximum TTL requester is allowed to ask for when assuming a role
MaxSessionTtl int64 `json:"max-session-ttl,omitempty" validate:"omitempty,gt=0"`
// IAM Role name
Name string `json:"name" validate:"required,gte=1,lte=191"`
// IAM Role permissions
Permissions []string `json:"permissions,omitempty"`
// Policy
Policy *IAMPolicy `json:"policy,omitempty"`
}
type CreateInstancePoolRequest ¶
type CreateInstancePoolRequest struct {
// Instance Pool Anti-affinity Groups
AntiAffinityGroups []AntiAffinityGroup `json:"anti-affinity-groups,omitempty"`
// Enable application consistent snapshots
ApplicationConsistentSnapshotEnabled *bool `json:"application-consistent-snapshot-enabled,omitempty"`
// Deploy target reference
DeployTarget *DeployTarget `json:"deploy-target,omitempty"`
// Instance Pool description
Description string `json:"description,omitempty" validate:"omitempty,lte=255"`
// Instances disk size in GiB
DiskSize int64 `json:"disk-size" validate:"required,gte=10,lte=51200"`
// Instances Elastic IPs
ElasticIPS []ElasticIP `json:"elastic-ips,omitempty"`
// Prefix to apply to Instances names (default: pool)
InstancePrefix string `json:"instance-prefix,omitempty" validate:"omitempty,gte=1,lte=30"`
// Instance type reference
InstanceType *InstanceType `json:"instance-type" validate:"required"`
// Enable IPv6. DEPRECATED: use `public-ip-assignments`.
Ipv6Enabled *bool `json:"ipv6-enabled,omitempty"`
Labels Labels `json:"labels,omitempty"`
// Minimum number of running Instances
MinAvailable int64 `json:"min-available,omitempty" validate:"omitempty,gte=0"`
// Instance Pool name
Name string `json:"name" validate:"required,gte=1,lte=255"`
// Instance Pool Private Networks
PrivateNetworks []PrivateNetwork `json:"private-networks,omitempty"`
// Determines public IP assignment of the Instances. Type `none` is final and can't be changed later on.
PublicIPAssignment CreateInstancePoolRequestPublicIPAssignment `json:"public-ip-assignment,omitempty"`
// Instance Pool Security Groups
SecurityGroups []SecurityGroup `json:"security-groups,omitempty"`
// Number of Instances
Size int64 `json:"size" validate:"required,gt=0"`
// SSH key reference
SSHKey *SSHKey `json:"ssh-key,omitempty"`
// Instances SSH Keys
SSHKeys []SSHKey `json:"ssh-keys,omitempty"`
// Template reference
Template *Template `json:"template" validate:"required"`
// Instances Cloud-init user-data
UserData string `json:"user-data,omitempty" validate:"omitempty,gte=1,lte=32768"`
}
type CreateInstancePoolRequestPublicIPAssignment ¶
type CreateInstancePoolRequestPublicIPAssignment string
const ( CreateInstancePoolRequestPublicIPAssignmentInet4 CreateInstancePoolRequestPublicIPAssignment = "inet4" CreateInstancePoolRequestPublicIPAssignmentDual CreateInstancePoolRequestPublicIPAssignment = "dual" CreateInstancePoolRequestPublicIPAssignmentNone CreateInstancePoolRequestPublicIPAssignment = "none" )
type CreateInstanceRequest ¶
type CreateInstanceRequest struct {
// Instance Anti-affinity Groups
AntiAffinityGroups []AntiAffinityGroup `json:"anti-affinity-groups,omitempty"`
// Enable application-consistent snapshot for the instance
ApplicationConsistentSnapshotEnabled *bool `json:"application-consistent-snapshot-enabled,omitempty"`
// Start Instance on creation (default: true)
AutoStart *bool `json:"auto-start,omitempty"`
// Deploy target reference
DeployTarget *DeployTarget `json:"deploy-target,omitempty"`
// Instance disk size in GiB
DiskSize int64 `json:"disk-size" validate:"required,gte=10,lte=51200"`
// Instance type reference
InstanceType *InstanceType `json:"instance-type" validate:"required"`
// Enable IPv6. DEPRECATED: use `public-ip-assignments`.
Ipv6Enabled *bool `json:"ipv6-enabled,omitempty"`
Labels Labels `json:"labels,omitempty"`
// Instance name
Name string `json:"name,omitempty" validate:"omitempty,gte=1,lte=255"`
PublicIPAssignment PublicIPAssignment `json:"public-ip-assignment,omitempty"`
// Enable secure boot
SecurebootEnabled *bool `json:"secureboot-enabled,omitempty"`
// Instance Security Groups
SecurityGroups []SecurityGroup `json:"security-groups,omitempty"`
// SSH key reference
SSHKey *SSHKey `json:"ssh-key,omitempty"`
// Instance SSH Keys
SSHKeys []SSHKey `json:"ssh-keys,omitempty"`
// Template reference
Template *Template `json:"template" validate:"required"`
// Enable Trusted Platform Module (TPM)
TpmEnabled *bool `json:"tpm-enabled,omitempty"`
// Instance Cloud-init user-data (base64 encoded)
UserData string `json:"user-data,omitempty" validate:"omitempty,gte=1,lte=32768"`
}
type CreateModelRequest ¶ added in v3.1.29
type CreateModelRequest struct {
// Huggingface Token
HuggingfaceToken string `json:"huggingface-token,omitempty"`
// Model name
Name string `json:"name" validate:"required,gte=1"`
}
AI model
type CreatePrivateNetworkRequest ¶
type CreatePrivateNetworkRequest struct {
// Private Network description
Description string `json:"description,omitempty" validate:"omitempty,lte=255"`
// Private Network end IP address
EndIP net.IP `json:"end-ip,omitempty"`
Labels Labels `json:"labels,omitempty"`
// Private Network name
Name string `json:"name" validate:"required,gte=1,lte=255"`
// Private Network netmask
Netmask net.IP `json:"netmask,omitempty"`
// Private Network DHCP Options
Options *PrivateNetworkOptions `json:"options,omitempty"`
// Private Network start IP address
StartIP net.IP `json:"start-ip,omitempty"`
}
type CreateSKSClusterRequest ¶
type CreateSKSClusterRequest struct {
// Cluster addons
Addons []string `json:"addons,omitempty"`
// Kubernetes Audit parameters
Audit *SKSAuditCreate `json:"audit,omitempty"`
// Enable auto upgrade of the control plane to the latest patch version available
AutoUpgrade *bool `json:"auto-upgrade,omitempty"`
// Cluster CNI
Cni CreateSKSClusterRequestCni `json:"cni,omitempty"`
// Creates an ad-hoc security group based on the choice of the selected CNI
CreateDefaultSecurityGroup *bool `json:"create-default-security-group,omitempty"`
// Cluster description
Description *string `json:"description,omitempty" validate:"omitempty,lte=255"`
// Indicates whether to deploy the Kubernetes network proxy. When unspecified, defaults to `true` unless Cilium CNI is selected
EnableKubeProxy *bool `json:"enable-kube-proxy,omitempty"`
// A list of Kubernetes-only Alpha features to enable for API server component
FeatureGates []string `json:"feature-gates,omitempty"`
Labels SKSClusterLabels `json:"labels,omitempty"`
// Cluster service level
Level CreateSKSClusterRequestLevel `json:"level" validate:"required"`
// Cluster name
Name string `json:"name" validate:"required,gte=1,lte=255"`
// Cluster networking configuration.
Networking *Networking `json:"networking,omitempty"`
// SKS Cluster OpenID config map
Oidc *SKSOidc `json:"oidc,omitempty"`
// Control plane Kubernetes version
Version string `json:"version" validate:"required"`
}
type CreateSKSClusterRequestCni ¶
type CreateSKSClusterRequestCni string
const ( CreateSKSClusterRequestCniCalico CreateSKSClusterRequestCni = "calico" CreateSKSClusterRequestCniCilium CreateSKSClusterRequestCni = "cilium" )
type CreateSKSClusterRequestLevel ¶
type CreateSKSClusterRequestLevel string
const ( CreateSKSClusterRequestLevelStarter CreateSKSClusterRequestLevel = "starter" CreateSKSClusterRequestLevelPro CreateSKSClusterRequestLevel = "pro" )
type CreateSKSNodepoolRequest ¶
type CreateSKSNodepoolRequest struct {
// Nodepool addons
Addons []string `json:"addons,omitempty"`
// Nodepool Anti-affinity Groups
AntiAffinityGroups []AntiAffinityGroup `json:"anti-affinity-groups,omitempty"`
// Deploy target reference
DeployTarget *DeployTarget `json:"deploy-target,omitempty"`
// Nodepool description
Description string `json:"description,omitempty" validate:"omitempty,lte=255"`
// Nodepool instances disk size in GiB
DiskSize int64 `json:"disk-size" validate:"required,gte=20,lte=51200"`
// Prefix to apply to instances names (default: pool), lowercase only
InstancePrefix string `json:"instance-prefix,omitempty" validate:"omitempty,gte=1,lte=30"`
// Instance type reference
InstanceType *InstanceType `json:"instance-type" validate:"required"`
// Kubelet image GC options
KubeletImageGC *KubeletImageGC `json:"kubelet-image-gc,omitempty"`
Labels SKSNodepoolLabels `json:"labels,omitempty"`
// Nodepool name, lowercase only
Name string `json:"name" validate:"required,gte=1,lte=255"`
// Nodepool Private Networks
PrivateNetworks []PrivateNetwork `json:"private-networks,omitempty"`
// Configures public IP assignment of the Instances with:
// * both IPv4 and IPv6 (`dual`) addressing.
// * both IPv4 and IPv6 (`dual`) addressing.
PublicIPAssignment CreateSKSNodepoolRequestPublicIPAssignment `json:"public-ip-assignment,omitempty"`
// Nodepool Security Groups
SecurityGroups []SecurityGroup `json:"security-groups,omitempty"`
// Number of instances
Size int64 `json:"size" validate:"required,gt=0"`
Taints SKSNodepoolTaints `json:"taints,omitempty"`
}
type CreateSKSNodepoolRequestPublicIPAssignment ¶ added in v3.1.2
type CreateSKSNodepoolRequestPublicIPAssignment string
const ( CreateSKSNodepoolRequestPublicIPAssignmentInet4 CreateSKSNodepoolRequestPublicIPAssignment = "inet4" CreateSKSNodepoolRequestPublicIPAssignmentDual CreateSKSNodepoolRequestPublicIPAssignment = "dual" )
type CreateUserRequest ¶ added in v3.1.8
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" validate:"omitempty,gte=0"`
// Maximum age of the oldest frequent backup in service types supporting different backup schedules
FrequentOldestAgeMinutes int64 `json:"frequent-oldest-age-minutes,omitempty" validate:"omitempty,gte=0"`
// Interval of taking a frequent backup in service types supporting different backup schedules
InfrequentIntervalMinutes int64 `json:"infrequent-interval-minutes,omitempty" validate:"omitempty,gte=0"`
// Maximum age of the oldest infrequent backup in service types supporting different backup schedules
InfrequentOldestAgeMinutes int64 `json:"infrequent-oldest-age-minutes,omitempty" validate:"omitempty,gte=0"`
// 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" validate:"omitempty,gt=0"`
// Maximum number of backups to keep. Zero when no backups are created.
MaxCount int64 `json:"max-count,omitempty" validate:"omitempty,gte=0"`
// 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 DBAASDatabaseName ¶
type DBAASDatabaseName string
type DBAASDatadogTag ¶ added in v3.1.2
type DBAASEndpointDatadogCommon ¶ added in v3.1.7
type DBAASEndpointDatadogCommon struct {
// Custom tags provided by user
DatadogTags []DBAASDatadogTag `json:"datadog-tags,omitempty"`
// Disable kafka consumer group metrics. Applies only when attached to kafka services.
DisableConsumerStats *bool `json:"disable-consumer-stats,omitempty"`
// Number of separate instances to fetch kafka consumer statistics with. Applies only when attached to kafka services.
KafkaConsumerCheckInstances int64 `json:"kafka-consumer-check-instances,omitempty" validate:"omitempty,gte=1,lte=100"`
// Number of seconds that datadog will wait to get consumer statistics from brokers. Applies only when attached to kafka services.
KafkaConsumerStatsTimeout int64 `json:"kafka-consumer-stats-timeout,omitempty" validate:"omitempty,gte=2,lte=300"`
// Maximum number of partition contexts to send. Applies only when attached to kafka services.
MaxPartitionContexts int64 `json:"max-partition-contexts,omitempty" validate:"omitempty,gte=200,lte=200000"`
}
type DBAASEndpointDatadogInputCreate ¶ added in v3.1.7
type DBAASEndpointDatadogInputCreate struct {
Settings *DBAASEndpointDatadogInputCreateSettings `json:"settings,omitempty"`
}
type DBAASEndpointDatadogInputCreateSettings ¶ added in v3.1.7
type DBAASEndpointDatadogInputCreateSettings struct {
// Datadog API key
DatadogAPIKey string `json:"datadog-api-key" validate:"required,gte=1,lte=256"`
// Custom tags provided by user
DatadogTags []DBAASDatadogTag `json:"datadog-tags,omitempty"`
// Disable kafka consumer group metrics. Applies only when attached to kafka services.
DisableConsumerStats *bool `json:"disable-consumer-stats,omitempty"`
// Number of separate instances to fetch kafka consumer statistics with. Applies only when attached to kafka services.
KafkaConsumerCheckInstances int64 `json:"kafka-consumer-check-instances,omitempty" validate:"omitempty,gte=1,lte=100"`
// Number of seconds that datadog will wait to get consumer statistics from brokers. Applies only when attached to kafka services.
KafkaConsumerStatsTimeout int64 `json:"kafka-consumer-stats-timeout,omitempty" validate:"omitempty,gte=2,lte=300"`
// Maximum number of partition contexts to send. Applies only when attached to kafka services.
MaxPartitionContexts int64 `json:"max-partition-contexts,omitempty" validate:"omitempty,gte=200,lte=200000"`
Site EnumDatadogSite `json:"site" validate:"required"`
}
type DBAASEndpointDatadogInputUpdate ¶ added in v3.1.7
type DBAASEndpointDatadogInputUpdate struct {
Settings *DBAASEndpointDatadogInputUpdateSettings `json:"settings,omitempty"`
}
type DBAASEndpointDatadogInputUpdateSettings ¶ added in v3.1.7
type DBAASEndpointDatadogInputUpdateSettings struct {
// Datadog API key
DatadogAPIKey string `json:"datadog-api-key" validate:"required,gte=1,lte=256"`
// Custom tags provided by user
DatadogTags []DBAASDatadogTag `json:"datadog-tags,omitempty"`
// Disable kafka consumer group metrics. Applies only when attached to kafka services.
DisableConsumerStats *bool `json:"disable-consumer-stats,omitempty"`
// Number of separate instances to fetch kafka consumer statistics with. Applies only when attached to kafka services.
KafkaConsumerCheckInstances int64 `json:"kafka-consumer-check-instances,omitempty" validate:"omitempty,gte=1,lte=100"`
// Number of seconds that datadog will wait to get consumer statistics from brokers. Applies only when attached to kafka services.
KafkaConsumerStatsTimeout int64 `json:"kafka-consumer-stats-timeout,omitempty" validate:"omitempty,gte=2,lte=300"`
// Maximum number of partition contexts to send. Applies only when attached to kafka services.
MaxPartitionContexts int64 `json:"max-partition-contexts,omitempty" validate:"omitempty,gte=200,lte=200000"`
Site EnumDatadogSite `json:"site,omitempty"`
}
type DBAASEndpointDatadogSettings ¶ added in v3.1.7
type DBAASEndpointDatadogSettings struct {
// External integration DataDog configuration
Settings *DBAASEndpointDatadogSettingsSettings `json:"settings,omitempty"`
}
type DBAASEndpointDatadogSettingsSettings ¶ added in v3.1.7
type DBAASEndpointDatadogSettingsSettings struct {
// Custom tags provided by user
DatadogTags []DBAASDatadogTag `json:"datadog-tags,omitempty"`
// Disable kafka consumer group metrics. Applies only when attached to kafka services.
DisableConsumerStats *bool `json:"disable-consumer-stats,omitempty"`
// Number of separate instances to fetch kafka consumer statistics with. Applies only when attached to kafka services.
KafkaConsumerCheckInstances int64 `json:"kafka-consumer-check-instances,omitempty" validate:"omitempty,gte=1,lte=100"`
// Number of seconds that datadog will wait to get consumer statistics from brokers. Applies only when attached to kafka services.
KafkaConsumerStatsTimeout int64 `json:"kafka-consumer-stats-timeout,omitempty" validate:"omitempty,gte=2,lte=300"`
// Maximum number of partition contexts to send. Applies only when attached to kafka services.
MaxPartitionContexts int64 `json:"max-partition-contexts,omitempty" validate:"omitempty,gte=200,lte=200000"`
Site EnumDatadogSite `json:"site,omitempty"`
}
External integration DataDog configuration
type DBAASEndpointElasticsearch ¶ added in v3.1.2
type DBAASEndpointElasticsearch struct {
// Maximum number of days of logs to keep
IndexDaysMax int64 `json:"index-days-max,omitempty" validate:"omitempty,gte=1,lte=10000"`
// Elasticsearch index prefix
IndexPrefix string `json:"index-prefix" validate:"required,gte=1,lte=1000"`
// Elasticsearch request timeout limit
Timeout int64 `json:"timeout,omitempty" validate:"omitempty,gte=10,lte=120"`
// Elasticsearch connection URL
URL string `json:"url" validate:"required,gte=12,lte=2048"`
}
type DBAASEndpointElasticsearchInputCreate ¶ added in v3.1.7
type DBAASEndpointElasticsearchInputCreate struct {
Settings *DBAASEndpointElasticsearchInputCreateSettings `json:"settings,omitempty"`
}
type DBAASEndpointElasticsearchInputCreateSettings ¶ added in v3.1.7
type DBAASEndpointElasticsearchInputCreateSettings struct {
// PEM encoded CA certificate
CA string `json:"ca,omitempty" validate:"omitempty,lte=16384"`
// Maximum number of days of logs to keep
IndexDaysMax int64 `json:"index-days-max,omitempty" validate:"omitempty,gte=1,lte=10000"`
// Elasticsearch index prefix
IndexPrefix string `json:"index-prefix" validate:"required,gte=1,lte=1000"`
// Elasticsearch request timeout limit
Timeout int64 `json:"timeout,omitempty" validate:"omitempty,gte=10,lte=120"`
// Elasticsearch connection URL
URL string `json:"url" validate:"required,gte=12,lte=2048"`
}
type DBAASEndpointElasticsearchInputUpdate ¶ added in v3.1.7
type DBAASEndpointElasticsearchInputUpdate struct {
Settings *DBAASEndpointElasticsearchInputUpdateSettings `json:"settings,omitempty"`
}
type DBAASEndpointElasticsearchInputUpdateSettings ¶ added in v3.1.7
type DBAASEndpointElasticsearchInputUpdateSettings struct {
// PEM encoded CA certificate
CA string `json:"ca,omitempty" validate:"omitempty,lte=16384"`
// Maximum number of days of logs to keep
IndexDaysMax int64 `json:"index-days-max,omitempty" validate:"omitempty,gte=1,lte=10000"`
// Elasticsearch index prefix
IndexPrefix string `json:"index-prefix,omitempty" validate:"omitempty,gte=1,lte=1000"`
// Elasticsearch request timeout limit
Timeout int64 `json:"timeout,omitempty" validate:"omitempty,gte=10,lte=120"`
// Elasticsearch connection URL
URL string `json:"url,omitempty" validate:"omitempty,gte=12,lte=2048"`
}
type DBAASEndpointElasticsearchOptionalFields ¶ added in v3.1.7
type DBAASEndpointElasticsearchOptionalFields struct {
// Maximum number of days of logs to keep
IndexDaysMax int64 `json:"index-days-max,omitempty" validate:"omitempty,gte=1,lte=10000"`
// Elasticsearch index prefix
IndexPrefix string `json:"index-prefix,omitempty" validate:"omitempty,gte=1,lte=1000"`
// Elasticsearch request timeout limit
Timeout int64 `json:"timeout,omitempty" validate:"omitempty,gte=10,lte=120"`
// Elasticsearch connection URL
URL string `json:"url,omitempty" validate:"omitempty,gte=12,lte=2048"`
}
type DBAASEndpointElasticsearchOutput ¶ added in v3.1.2
type DBAASEndpointElasticsearchOutput struct {
// External integration endpoint id
ID UUID `json:"id,omitempty"`
// External integration endpoint name
Name string `json:"name,omitempty"`
Settings *DBAASEndpointElasticsearchOptionalFields `json:"settings,omitempty"`
Type EnumExternalEndpointTypes `json:"type,omitempty"`
}
type DBAASEndpointElasticsearchSecrets ¶ added in v3.1.6
type DBAASEndpointElasticsearchSecrets struct {
// PEM encoded CA certificate
CA string `json:"ca,omitempty" validate:"omitempty,lte=16384"`
}
type DBAASEndpointExternalPrometheusOutput ¶ added in v3.1.2
type DBAASEndpointExternalPrometheusOutput struct {
// External integration endpoint id
ID UUID `json:"id,omitempty"`
// External integration endpoint name
Name string `json:"name,omitempty"`
// External integration Prometheus configuration
Settings *DBAASEndpointExternalPrometheusOutputSettings `json:"settings,omitempty"`
Type EnumExternalEndpointTypes `json:"type,omitempty"`
}
type DBAASEndpointExternalPrometheusOutputSettings ¶ added in v3.1.7
type DBAASEndpointExternalPrometheusOutputSettings struct {
// Prometheus basic authentication username
BasicAuthUsername string `json:"basic-auth-username,omitempty" validate:"omitempty,gte=5,lte=32"`
}
External integration Prometheus configuration
type DBAASEndpointOpensearch ¶ added in v3.1.2
type DBAASEndpointOpensearch struct {
// Maximum number of days of logs to keep
IndexDaysMax int64 `json:"index-days-max,omitempty" validate:"omitempty,gte=1,lte=10000"`
// OpenSearch index prefix
IndexPrefix string `json:"index-prefix" validate:"required,gte=1,lte=1000"`
// OpenSearch request timeout limit
Timeout int64 `json:"timeout,omitempty" validate:"omitempty,gte=10,lte=120"`
// OpenSearch connection URL
URL string `json:"url" validate:"required,gte=12,lte=2048"`
}
type DBAASEndpointOpensearchInputCreate ¶ added in v3.1.7
type DBAASEndpointOpensearchInputCreate struct {
Settings *DBAASEndpointOpensearchInputCreateSettings `json:"settings,omitempty"`
}
type DBAASEndpointOpensearchInputCreateSettings ¶ added in v3.1.7
type DBAASEndpointOpensearchInputCreateSettings struct {
// PEM encoded CA certificate
CA string `json:"ca,omitempty" validate:"omitempty,lte=16384"`
// Maximum number of days of logs to keep
IndexDaysMax int64 `json:"index-days-max,omitempty" validate:"omitempty,gte=1,lte=10000"`
// OpenSearch index prefix
IndexPrefix string `json:"index-prefix" validate:"required,gte=1,lte=1000"`
// OpenSearch request timeout limit
Timeout int64 `json:"timeout,omitempty" validate:"omitempty,gte=10,lte=120"`
// OpenSearch connection URL
URL string `json:"url" validate:"required,gte=12,lte=2048"`
}
type DBAASEndpointOpensearchInputUpdate ¶ added in v3.1.7
type DBAASEndpointOpensearchInputUpdate struct {
Settings *DBAASEndpointOpensearchInputUpdateSettings `json:"settings,omitempty"`
}
type DBAASEndpointOpensearchInputUpdateSettings ¶ added in v3.1.7
type DBAASEndpointOpensearchInputUpdateSettings struct {
// PEM encoded CA certificate
CA string `json:"ca,omitempty" validate:"omitempty,lte=16384"`
// Maximum number of days of logs to keep
IndexDaysMax int64 `json:"index-days-max,omitempty" validate:"omitempty,gte=1,lte=10000"`
// OpenSearch index prefix
IndexPrefix string `json:"index-prefix,omitempty" validate:"omitempty,gte=1,lte=1000"`
// OpenSearch request timeout limit
Timeout int64 `json:"timeout,omitempty" validate:"omitempty,gte=10,lte=120"`
// OpenSearch connection URL
URL string `json:"url,omitempty" validate:"omitempty,gte=12,lte=2048"`
}
type DBAASEndpointOpensearchOptionalFields ¶ added in v3.1.7
type DBAASEndpointOpensearchOptionalFields struct {
// Maximum number of days of logs to keep
IndexDaysMax int64 `json:"index-days-max,omitempty" validate:"omitempty,gte=1,lte=10000"`
// OpenSearch index prefix
IndexPrefix string `json:"index-prefix,omitempty" validate:"omitempty,gte=1,lte=1000"`
// OpenSearch request timeout limit
Timeout int64 `json:"timeout,omitempty" validate:"omitempty,gte=10,lte=120"`
// OpenSearch connection URL
URL string `json:"url,omitempty" validate:"omitempty,gte=12,lte=2048"`
}
type DBAASEndpointOpensearchOutput ¶ added in v3.1.2
type DBAASEndpointOpensearchOutput struct {
// External integration endpoint id
ID UUID `json:"id,omitempty"`
// External integration endpoint name
Name string `json:"name,omitempty"`
Settings *DBAASEndpointOpensearchOptionalFields `json:"settings,omitempty"`
Type EnumExternalEndpointTypes `json:"type,omitempty"`
}
type DBAASEndpointOpensearchSecrets ¶ added in v3.1.6
type DBAASEndpointOpensearchSecrets struct {
// PEM encoded CA certificate
CA string `json:"ca,omitempty" validate:"omitempty,lte=16384"`
}
type DBAASEndpointPrometheus ¶ added in v3.1.2
type DBAASEndpointPrometheus struct {
// Prometheus basic authentication username
BasicAuthUsername string `json:"basic-auth-username,omitempty" validate:"omitempty,gte=5,lte=32"`
}
type DBAASEndpointPrometheusPayload ¶ added in v3.1.6
type DBAASEndpointPrometheusPayload struct {
Settings *DBAASEndpointPrometheusPayloadSettings `json:"settings,omitempty"`
}
type DBAASEndpointPrometheusPayloadSettings ¶ added in v3.1.6
type DBAASEndpointPrometheusPayloadSettings struct {
// Prometheus basic authentication password
BasicAuthPassword string `json:"basic-auth-password,omitempty" validate:"omitempty,gte=8,lte=64"`
// Prometheus basic authentication username
BasicAuthUsername string `json:"basic-auth-username,omitempty" validate:"omitempty,gte=5,lte=32"`
}
type DBAASEndpointPrometheusSecrets ¶ added in v3.1.6
type DBAASEndpointPrometheusSecrets struct {
// Prometheus basic authentication password
BasicAuthPassword string `json:"basic-auth-password,omitempty" validate:"omitempty,gte=8,lte=64"`
}
type DBAASEndpointRsyslog ¶ added in v3.1.2
type DBAASEndpointRsyslog struct {
Format EnumRsyslogFormat `json:"format" validate:"required"`
// Custom syslog message format
Logline string `json:"logline,omitempty" validate:"omitempty,gte=1,lte=512"`
// Rsyslog max message size
MaxMessageSize int64 `json:"max-message-size,omitempty" validate:"omitempty,gte=2048,lte=2.147483647e+09"`
// Rsyslog server port
Port int64 `json:"port" validate:"required,gte=1,lte=65535"`
// Structured data block for log message
SD string `json:"sd,omitempty" validate:"omitempty,lte=1024"`
// Rsyslog server IP address or hostname
Server string `json:"server" validate:"required,gte=4,lte=255"`
// Require TLS
Tls *bool `json:"tls" validate:"required"`
}
type DBAASEndpointRsyslogInputCreate ¶ added in v3.1.7
type DBAASEndpointRsyslogInputCreate struct {
Settings *DBAASEndpointRsyslogInputCreateSettings `json:"settings,omitempty"`
}
type DBAASEndpointRsyslogInputCreateSettings ¶ added in v3.1.7
type DBAASEndpointRsyslogInputCreateSettings struct {
// PEM encoded CA certificate
CA string `json:"ca,omitempty" validate:"omitempty,lte=16384"`
// PEM encoded client certificate
Cert string `json:"cert,omitempty" validate:"omitempty,lte=16384"`
Format EnumRsyslogFormat `json:"format" validate:"required"`
// PEM encoded client key
Key string `json:"key,omitempty" validate:"omitempty,lte=16384"`
// Custom syslog message format
Logline string `json:"logline,omitempty" validate:"omitempty,gte=1,lte=512"`
// Rsyslog max message size
MaxMessageSize int64 `json:"max-message-size,omitempty" validate:"omitempty,gte=2048,lte=2.147483647e+09"`
// Rsyslog server port
Port int64 `json:"port" validate:"required,gte=1,lte=65535"`
// Structured data block for log message
SD string `json:"sd,omitempty" validate:"omitempty,lte=1024"`
// Rsyslog server IP address or hostname
Server string `json:"server" validate:"required,gte=4,lte=255"`
// Require TLS
Tls *bool `json:"tls" validate:"required"`
}
type DBAASEndpointRsyslogInputUpdate ¶ added in v3.1.7
type DBAASEndpointRsyslogInputUpdate struct {
Settings *DBAASEndpointRsyslogInputUpdateSettings `json:"settings,omitempty"`
}
type DBAASEndpointRsyslogInputUpdateSettings ¶ added in v3.1.7
type DBAASEndpointRsyslogInputUpdateSettings struct {
// PEM encoded CA certificate
CA string `json:"ca,omitempty" validate:"omitempty,lte=16384"`
// PEM encoded client certificate
Cert string `json:"cert,omitempty" validate:"omitempty,lte=16384"`
Format EnumRsyslogFormat `json:"format,omitempty"`
// PEM encoded client key
Key string `json:"key,omitempty" validate:"omitempty,lte=16384"`
// Custom syslog message format
Logline string `json:"logline,omitempty" validate:"omitempty,gte=1,lte=512"`
// Rsyslog max message size
MaxMessageSize int64 `json:"max-message-size,omitempty" validate:"omitempty,gte=2048,lte=2.147483647e+09"`
// Rsyslog server port
Port int64 `json:"port,omitempty" validate:"omitempty,gte=1,lte=65535"`
// Structured data block for log message
SD string `json:"sd,omitempty" validate:"omitempty,lte=1024"`
// Rsyslog server IP address or hostname
Server string `json:"server,omitempty" validate:"omitempty,gte=4,lte=255"`
// Require TLS
Tls *bool `json:"tls,omitempty"`
}
type DBAASEndpointRsyslogOptionalFields ¶ added in v3.1.7
type DBAASEndpointRsyslogOptionalFields struct {
Format EnumRsyslogFormat `json:"format,omitempty"`
// Custom syslog message format
Logline string `json:"logline,omitempty" validate:"omitempty,gte=1,lte=512"`
// Rsyslog max message size
MaxMessageSize int64 `json:"max-message-size,omitempty" validate:"omitempty,gte=2048,lte=2.147483647e+09"`
// Rsyslog server port
Port int64 `json:"port,omitempty" validate:"omitempty,gte=1,lte=65535"`
// Structured data block for log message
SD string `json:"sd,omitempty" validate:"omitempty,lte=1024"`
// Rsyslog server IP address or hostname
Server string `json:"server,omitempty" validate:"omitempty,gte=4,lte=255"`
// Require TLS
Tls *bool `json:"tls,omitempty"`
}
type DBAASEndpointRsyslogSecrets ¶ added in v3.1.6
type DBAASEndpointRsyslogSecrets struct {
// PEM encoded CA certificate
CA string `json:"ca,omitempty" validate:"omitempty,lte=16384"`
// PEM encoded client certificate
Cert string `json:"cert,omitempty" validate:"omitempty,lte=16384"`
// PEM encoded client key
Key string `json:"key,omitempty" validate:"omitempty,lte=16384"`
}
type DBAASExternalEndpoint ¶ added in v3.1.2
type DBAASExternalEndpoint struct {
// External integration endpoint id
ID UUID `json:"id,omitempty"`
// External integration endpoint name
Name string `json:"name,omitempty"`
Type EnumExternalEndpointTypes `json:"type,omitempty"`
}
type DBAASExternalEndpointDatadogOutput ¶ added in v3.1.2
type DBAASExternalEndpointDatadogOutput struct {
// External integration endpoint id
ID UUID `json:"id,omitempty"`
// External integration endpoint name
Name string `json:"name,omitempty"`
// External integration DataDog configuration
Settings *DBAASExternalEndpointDatadogOutputSettings `json:"settings,omitempty"`
Type EnumExternalEndpointTypes `json:"type,omitempty"`
}
type DBAASExternalEndpointDatadogOutputSettings ¶ added in v3.1.7
type DBAASExternalEndpointDatadogOutputSettings struct {
// Custom tags provided by user
DatadogTags []DBAASDatadogTag `json:"datadog-tags,omitempty"`
// Disable kafka consumer group metrics. Applies only when attached to kafka services.
DisableConsumerStats *bool `json:"disable-consumer-stats,omitempty"`
// Number of separate instances to fetch kafka consumer statistics with. Applies only when attached to kafka services.
KafkaConsumerCheckInstances int64 `json:"kafka-consumer-check-instances,omitempty" validate:"omitempty,gte=1,lte=100"`
// Number of seconds that datadog will wait to get consumer statistics from brokers. Applies only when attached to kafka services.
KafkaConsumerStatsTimeout int64 `json:"kafka-consumer-stats-timeout,omitempty" validate:"omitempty,gte=2,lte=300"`
// Maximum number of partition contexts to send. Applies only when attached to kafka services.
MaxPartitionContexts int64 `json:"max-partition-contexts,omitempty" validate:"omitempty,gte=200,lte=200000"`
Site EnumDatadogSite `json:"site,omitempty"`
}
External integration DataDog configuration
type DBAASExternalEndpointRsyslogOutput ¶ added in v3.1.2
type DBAASExternalEndpointRsyslogOutput struct {
// External integration endpoint id
ID UUID `json:"id,omitempty"`
// External integration endpoint name
Name string `json:"name,omitempty"`
Settings *DBAASEndpointRsyslogOptionalFields `json:"settings,omitempty"`
Type EnumExternalEndpointTypes `json:"type,omitempty"`
}
type DBAASExternalIntegration ¶ added in v3.1.2
type DBAASExternalIntegration struct {
// Description of the integration
Description string `json:"description" validate:"required"`
// External destination endpoint id
DestEndpointID string `json:"dest-endpoint-id,omitempty"`
// External destination endpoint name
DestEndpointName string `json:"dest-endpoint-name,omitempty"`
// Endpoint integration UUID
IntegrationID UUID `json:"integration-id,omitempty"`
// DBaaS source service name
SourceServiceName string `json:"source-service-name" validate:"required"`
SourceServiceType DBAASServiceTypeName `json:"source-service-type" validate:"required,gte=0,lte=64"`
// Integration status
Status string `json:"status,omitempty"`
Type EnumExternalEndpointTypes `json:"type" validate:"required"`
}
Integrations with other services
type DBAASIntegration ¶
type DBAASIntegration struct {
// Description of the integration
Description string `json:"description,omitempty"`
// Destination service name
Dest string `json:"dest,omitempty"`
// Integration id
ID UUID `json:"id,omitempty"`
// Whether the integration is active or not
ISActive *bool `json:"is-active,omitempty"`
// Whether the integration is enabled or not
ISEnabled *bool `json:"is-enabled,omitempty"`
// Integration settings
Settings map[string]any `json:"settings,omitempty"`
// Source service name
Source string `json:"source,omitempty"`
// Integration status
Status string `json:"status,omitempty"`
// Integration type
Type string `json:"type,omitempty"`
}
type DBAASIntegrationSettingsDatadog ¶ added in v3.1.3
type DBAASIntegrationSettingsDatadog struct {
// Database monitoring: view query metrics, explain plans, and execution details. Correlate queries with host metrics.
DatadogDbmEnabled *bool `json:"datadog-dbm-enabled,omitempty"`
// Integrate PgBouncer with Datadog to track connection pool metrics and monitor application traffic.
DatadogPgbouncerEnabled *bool `json:"datadog-pgbouncer-enabled,omitempty"`
}
type DBAASIntegrationType ¶
type DBAASIntegrationType struct {
// The description of the destination service types.
DestDescription string `json:"dest-description,omitempty"`
// A list of the destination service types the integration supports.
DestServiceTypes []string `json:"dest-service-types,omitempty"`
// A JSON schema of additional settings of the integration.
Settings *DBAASIntegrationTypeSettings `json:"settings,omitempty"`
// The description of the source service types.
SourceDescription string `json:"source-description,omitempty"`
// A list of the source service types the integration supports.
SourceServiceTypes []string `json:"source-service-types,omitempty"`
// The type of the integration.
Type string `json:"type,omitempty"`
}
type DBAASIntegrationTypeSettings ¶
type DBAASIntegrationTypeSettings struct {
AdditionalProperties *bool `json:"additionalProperties,omitempty"`
Properties map[string]any `json:"properties,omitempty"`
Title string `json:"title,omitempty"`
Type string `json:"type,omitempty"`
}
A JSON schema of additional settings of the integration.
type DBAASKafkaAclID ¶
type DBAASKafkaAclID string
type DBAASKafkaAcls ¶
type DBAASKafkaAcls struct {
SchemaRegistryAcl []DBAASKafkaSchemaRegistryAclEntry `json:"schema-registry-acl,omitempty"`
TopicAcl []DBAASKafkaTopicAclEntry `json:"topic-acl,omitempty"`
}
type DBAASKafkaSchemaRegistryAclEntry ¶
type DBAASKafkaSchemaRegistryAclEntry struct {
ID DBAASKafkaAclID `json:"id,omitempty" validate:"omitempty,gte=1,lte=40"`
// Kafka Schema Registry permission
Permission DBAASKafkaSchemaRegistryAclEntryPermission `json:"permission" validate:"required"`
// Kafka Schema Registry name or pattern
Resource string `json:"resource" validate:"required,gte=1,lte=249"`
// Kafka username or username pattern
Username string `json:"username" validate:"required,gte=1,lte=64"`
}
type DBAASKafkaSchemaRegistryAclEntryPermission ¶
type DBAASKafkaSchemaRegistryAclEntryPermission string
const ( DBAASKafkaSchemaRegistryAclEntryPermissionSchemaRegistryRead DBAASKafkaSchemaRegistryAclEntryPermission = "schema_registry_read" DBAASKafkaSchemaRegistryAclEntryPermissionSchemaRegistryWrite DBAASKafkaSchemaRegistryAclEntryPermission = "schema_registry_write" )
type DBAASKafkaTopicAclEntry ¶
type DBAASKafkaTopicAclEntry struct {
ID DBAASKafkaAclID `json:"id,omitempty" validate:"omitempty,gte=1,lte=40"`
// Kafka permission
Permission DBAASKafkaTopicAclEntryPermission `json:"permission" validate:"required"`
// Kafka topic name or pattern
Topic string `json:"topic" validate:"required,gte=1,lte=249"`
// Kafka username or username pattern
Username string `json:"username" validate:"required,gte=1,lte=64"`
}
type DBAASKafkaTopicAclEntryPermission ¶
type DBAASKafkaTopicAclEntryPermission string
const ( DBAASKafkaTopicAclEntryPermissionAdmin DBAASKafkaTopicAclEntryPermission = "admin" DBAASKafkaTopicAclEntryPermissionRead DBAASKafkaTopicAclEntryPermission = "read" DBAASKafkaTopicAclEntryPermissionReadwrite DBAASKafkaTopicAclEntryPermission = "readwrite" DBAASKafkaTopicAclEntryPermissionWrite DBAASKafkaTopicAclEntryPermission = "write" )
type DBAASMigrationStatus ¶
type DBAASMigrationStatus struct {
// Migration status per database
Details []DBAASMigrationStatusDetails `json:"details,omitempty"`
// Error message in case that migration has failed
Error string `json:"error,omitempty"`
// Migration method. Empty in case of multiple methods or error
Method string `json:"method,omitempty"`
// Migration status
Status string `json:"status,omitempty"`
}
type DBAASMigrationStatusDetails ¶
type DBAASMigrationStatusDetails struct {
// Migrated db name
Dbname string `json:"dbname,omitempty"`
// Error message in case that migration has failed
Error string `json:"error,omitempty"`
// Migration method
Method string `json:"method,omitempty"`
Status EnumMigrationStatus `json:"status,omitempty"`
}
type DBAASMysqlDatabaseName ¶
type DBAASMysqlDatabaseName string
type DBAASMysqlUserPassword ¶ added in v3.1.34
type DBAASMysqlUserPassword string
type DBAASNodeState ¶
type DBAASNodeState struct {
// Name of the service node
Name string `json:"name" validate:"required"`
// 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" validate:"required"`
}
Automatic maintenance settings
type DBAASNodeStateProgressUpdate ¶
type DBAASNodeStateProgressUpdate struct {
// Indicates whether this phase has been completed or not
Completed *bool `json:"completed" validate:"required"`
// Current progress for this phase. May be missing or null.
Current int64 `json:"current,omitempty" validate:"omitempty,gte=0"`
// Maximum progress value for this phase. May be missing or null. May change.
Max int64 `json:"max,omitempty" validate:"omitempty,gte=0"`
// Minimum progress value for this phase. May be missing or null.
Min int64 `json:"min,omitempty" validate:"omitempty,gte=0"`
// Key identifying this phase
Phase DBAASNodeStateProgressUpdatePhase `json:"phase" validate:"required"`
// 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
const ( DBAASNodeStateProgressUpdatePhaseStream DBAASNodeStateProgressUpdatePhase = "stream" DBAASNodeStateProgressUpdatePhaseBasebackup DBAASNodeStateProgressUpdatePhase = "basebackup" DBAASNodeStateProgressUpdatePhasePrepare DBAASNodeStateProgressUpdatePhase = "prepare" DBAASNodeStateProgressUpdatePhaseFinalize DBAASNodeStateProgressUpdatePhase = "finalize" )
type DBAASNodeStateRole ¶
type DBAASNodeStateRole string
const ( DBAASNodeStateRoleStandby DBAASNodeStateRole = "standby" DBAASNodeStateRoleMaster DBAASNodeStateRole = "master" DBAASNodeStateRoleReadReplica DBAASNodeStateRole = "read-replica" )
type DBAASNodeStateState ¶
type DBAASNodeStateState string
const ( DBAASNodeStateStateLeaving DBAASNodeStateState = "leaving" DBAASNodeStateStateRunning DBAASNodeStateState = "running" DBAASNodeStateStateSyncingData DBAASNodeStateState = "syncing_data" DBAASNodeStateStateSettingUPVm DBAASNodeStateState = "setting_up_vm" DBAASNodeStateStateUnknown DBAASNodeStateState = "unknown" )
type DBAASOpensearchAclConfig ¶
type DBAASOpensearchAclConfig struct {
// Enable OpenSearch ACLs. When disabled authenticated service users have unrestricted access.
AclEnabled *bool `json:"acl-enabled,omitempty"`
// List of OpenSearch ACLs
Acls []DBAASOpensearchAclConfigAcls `json:"acls,omitempty"`
// Enable to enforce index rules in a limited fashion for requests that use the _mget, _msearch, and _bulk APIs
ExtendedAclEnabled *bool `json:"extended-acl-enabled,omitempty"`
}
type DBAASOpensearchAclConfigAcls ¶
type DBAASOpensearchAclConfigAcls struct {
Rules []DBAASOpensearchAclConfigAclsRules `json:"rules,omitempty"`
Username DBAASUserUsername `json:"username,omitempty" validate:"omitempty,gte=1,lte=64"`
}
type DBAASOpensearchAclConfigAclsRules ¶
type DBAASOpensearchAclConfigAclsRules struct {
// OpenSearch index pattern
Index string `json:"index" validate:"required,lte=249"`
Permission EnumOpensearchRulePermission `json:"permission,omitempty"`
}
type DBAASPGDatabaseName ¶
type DBAASPGDatabaseName string
type DBAASPGPoolName ¶
type DBAASPGPoolName string
type DBAASPGPoolSize ¶
type DBAASPGPoolSize int64
type DBAASPGPoolUsername ¶
type DBAASPGPoolUsername string
type DBAASPGTargetVersions ¶
type DBAASPGTargetVersions string
const ( DBAASPGTargetVersions14 DBAASPGTargetVersions = "14" DBAASPGTargetVersions17 DBAASPGTargetVersions = "17" DBAASPGTargetVersions15 DBAASPGTargetVersions = "15" DBAASPGTargetVersions18 DBAASPGTargetVersions = "18" DBAASPGTargetVersions13 DBAASPGTargetVersions = "13" DBAASPGTargetVersions16 DBAASPGTargetVersions = "16" )
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"`
// Instance family subset which the service can use
Family string `json:"family,omitempty"`
// DBaaS plan max memory allocated percentage
MaxMemoryPercent int64 `json:"max-memory-percent,omitempty" validate:"omitempty,gt=0"`
// DBaaS plan name
Name string `json:"name,omitempty"`
// DBaaS plan node count
NodeCount int64 `json:"node-count,omitempty" validate:"omitempty,gt=0"`
// DBaaS plan CPU count per node
NodeCPUCount int64 `json:"node-cpu-count,omitempty" validate:"omitempty,gt=0"`
// DBaaS plan memory count per node
NodeMemory int64 `json:"node-memory,omitempty" validate:"omitempty,gt=0"`
// Zones where the plan is available
Zones []string `json:"zones,omitempty"`
}
DBaaS plan
type DBAASPostgresUsers ¶
type DBAASPostgresUsers struct {
Users []DBAASPostgresUsersUsers `json:"users,omitempty"`
}
type DBAASPostgresUsersUsers ¶
type DBAASPostgresUsersUsers struct {
AllowReplication *bool `json:"allow-replication,omitempty"`
Username DBAASUserUsername `json:"username" validate:"required,gte=1,lte=64"`
}
type DBAASServiceBackup ¶
type DBAASServiceBackup struct {
// Internal name of this backup
BackupName string `json:"backup-name" validate:"required"`
// Backup timestamp (ISO 8601)
BackupTime time.Time `json:"backup-time" validate:"required"`
// Backup's original size before compression
DataSize int64 `json:"data-size" validate:"required,gte=0"`
}
List of backups for the service
type DBAASServiceCommon ¶
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" validate:"omitempty,gte=0"`
// Service integrations
Integrations []DBAASIntegration `json:"integrations,omitempty"`
Name DBAASServiceName `json:"name" validate:"required,gte=0,lte=63"`
// Number of service nodes in the active plan
NodeCount int64 `json:"node-count,omitempty" validate:"omitempty,gte=0"`
// Number of CPUs for each node
NodeCPUCount int64 `json:"node-cpu-count,omitempty" validate:"omitempty,gte=0"`
// TODO UNIT of memory for each node
NodeMemory int64 `json:"node-memory,omitempty" validate:"omitempty,gte=0"`
// Service notifications
Notifications []DBAASServiceNotification `json:"notifications,omitempty"`
// Subscription plan
Plan string `json:"plan" validate:"required"`
State EnumServiceState `json:"state,omitempty"`
// Service is protected against termination and powering off
TerminationProtection *bool `json:"termination-protection,omitempty"`
Type DBAASServiceTypeName `json:"type" validate:"required,gte=0,lte=64"`
// Service last update timestamp (ISO 8601)
UpdatedAT time.Time `json:"updated-at,omitempty"`
// The zone where the service is running
Zone string `json:"zone,omitempty"`
}
type DBAASServiceComponents ¶
type DBAASServiceComponents struct {
// Service component name
Component string `json:"component" validate:"required"`
// DNS name for connecting to the service component
Host string `json:"host" validate:"required"`
KafkaAuthenticationMethod EnumKafkaAuthMethod `json:"kafka-authentication-method,omitempty"`
// Path component of the service URL (useful only if service component is HTTP or HTTPS endpoint)
Path string `json:"path,omitempty"`
// Port number for connecting to the service component
Port int64 `json:"port" validate:"required,gte=0,lte=65535"`
// Network access route
Route DBAASServiceComponentsRoute `json:"route" validate:"required"`
// 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"`
// DNS usage name
Usage DBAASServiceComponentsUsage `json:"usage" validate:"required"`
}
Service component information objects
type DBAASServiceComponentsRoute ¶
type DBAASServiceComponentsRoute string
const ( DBAASServiceComponentsRouteDynamic DBAASServiceComponentsRoute = "dynamic" DBAASServiceComponentsRoutePrivate DBAASServiceComponentsRoute = "private" DBAASServiceComponentsRoutePublic DBAASServiceComponentsRoute = "public" DBAASServiceComponentsRoutePrivatelink DBAASServiceComponentsRoute = "privatelink" )
type DBAASServiceComponentsUsage ¶
type DBAASServiceComponentsUsage string
const ( DBAASServiceComponentsUsagePrimary DBAASServiceComponentsUsage = "primary" DBAASServiceComponentsUsageReplica DBAASServiceComponentsUsage = "replica" )
type DBAASServiceGrafana ¶
type DBAASServiceGrafana struct {
// List of backups for the service
Backups []DBAASServiceBackup `json:"backups,omitempty"`
// Service component information objects
Components []DBAASServiceGrafanaComponents `json:"components,omitempty"`
// Grafana connection information properties
ConnectionInfo *DBAASServiceGrafanaConnectionInfo `json:"connection-info,omitempty"`
// Service creation timestamp (ISO 8601)
CreatedAT time.Time `json:"created-at,omitempty"`
// DbaaS service description
Description string `json:"description,omitempty"`
// TODO UNIT disk space for data storage
DiskSize int64 `json:"disk-size,omitempty" validate:"omitempty,gte=0"`
// Grafana settings
GrafanaSettings *JSONSchemaGrafana `json:"grafana-settings,omitempty"`
// Service integrations
Integrations []DBAASIntegration `json:"integrations,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" validate:"required,gte=0,lte=63"`
// Number of service nodes in the active plan
NodeCount int64 `json:"node-count,omitempty" validate:"omitempty,gte=0"`
// Number of CPUs for each node
NodeCPUCount int64 `json:"node-cpu-count,omitempty" validate:"omitempty,gte=0"`
// TODO UNIT of memory for each node
NodeMemory int64 `json:"node-memory,omitempty" validate:"omitempty,gte=0"`
// State of individual service nodes
NodeStates []DBAASNodeState `json:"node-states,omitempty"`
// Service notifications
Notifications []DBAASServiceNotification `json:"notifications,omitempty"`
// Subscription plan
Plan string `json:"plan" validate:"required"`
// Prometheus integration URI
PrometheusURI *DBAASServiceGrafanaPrometheusURI `json:"prometheus-uri" validate:"required"`
State EnumServiceState `json:"state,omitempty"`
// Service is protected against termination and powering off
TerminationProtection *bool `json:"termination-protection,omitempty"`
Type DBAASServiceTypeName `json:"type" validate:"required,gte=0,lte=64"`
// 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]any `json:"uri-params,omitempty"`
// List of service users
Users []DBAASServiceGrafanaUsers `json:"users,omitempty"`
// Grafana version
Version string `json:"version,omitempty"`
// The zone where the service is running
Zone string `json:"zone,omitempty"`
}
type DBAASServiceGrafanaComponents ¶
type DBAASServiceGrafanaComponents struct {
// Service component name
Component string `json:"component" validate:"required"`
// DNS name for connecting to the service component
Host string `json:"host" validate:"required"`
// Port number for connecting to the service component
Port int64 `json:"port" validate:"required,gte=0,lte=65535"`
Route EnumComponentRoute `json:"route" validate:"required"`
Usage EnumComponentUsage `json:"usage" validate:"required"`
}
type DBAASServiceGrafanaConnectionInfo ¶
type DBAASServiceGrafanaConnectionInfo struct {
Password string `json:"password,omitempty"`
URI string `json:"uri,omitempty"`
Username string `json:"username,omitempty"`
}
Grafana connection information properties
type DBAASServiceGrafanaPrometheusURI ¶ added in v3.1.14
type DBAASServiceGrafanaPrometheusURI struct {
Host string `json:"host,omitempty"`
Port int64 `json:"port,omitempty" validate:"omitempty,gte=0,lte=65535"`
}
Prometheus integration URI
type DBAASServiceKafka ¶
type DBAASServiceKafka struct {
// Kafka authentication methods
AuthenticationMethods *DBAASServiceKafkaAuthenticationMethods `json:"authentication-methods,omitempty"`
// List of backups for the service
Backups []DBAASServiceBackup `json:"backups,omitempty"`
// Service component information objects
Components []DBAASServiceKafkaComponents `json:"components,omitempty"`
// Kafka connection information properties
ConnectionInfo *DBAASServiceKafkaConnectionInfo `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" validate:"omitempty,gte=0"`
// Service integrations
Integrations []DBAASIntegration `json:"integrations,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 *JSONSchemaKafkaConnect `json:"kafka-connect-settings,omitempty"`
// Whether Kafka REST is enabled
KafkaRestEnabled *bool `json:"kafka-rest-enabled,omitempty"`
// Kafka REST configuration
KafkaRestSettings *JSONSchemaKafkaRest `json:"kafka-rest-settings,omitempty"`
// Kafka broker configuration values
KafkaSettings *JSONSchemaKafka `json:"kafka-settings,omitempty"`
// Automatic maintenance settings
Maintenance *DBAASServiceMaintenance `json:"maintenance,omitempty"`
Name DBAASServiceName `json:"name" validate:"required,gte=0,lte=63"`
// Number of service nodes in the active plan
NodeCount int64 `json:"node-count,omitempty" validate:"omitempty,gte=0"`
// Number of CPUs for each node
NodeCPUCount int64 `json:"node-cpu-count,omitempty" validate:"omitempty,gte=0"`
// TODO UNIT of memory for each node
NodeMemory int64 `json:"node-memory,omitempty" validate:"omitempty,gte=0"`
// State of individual service nodes
NodeStates []DBAASNodeState `json:"node-states,omitempty"`
// Service notifications
Notifications []DBAASServiceNotification `json:"notifications,omitempty"`
// Subscription plan
Plan string `json:"plan" validate:"required"`
// Prometheus integration URI
PrometheusURI *DBAASServiceKafkaPrometheusURI `json:"prometheus-uri" validate:"required"`
// Whether Schema-Registry is enabled
SchemaRegistryEnabled *bool `json:"schema-registry-enabled,omitempty"`
// Schema Registry configuration
SchemaRegistrySettings *JSONSchemaSchemaRegistry `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" validate:"required,gte=0,lte=64"`
// 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]any `json:"uri-params,omitempty"`
// List of service users
Users []DBAASServiceKafkaUsers `json:"users,omitempty"`
// Kafka version
Version string `json:"version,omitempty"`
// The zone where the service is running
Zone string `json:"zone,omitempty"`
}
type DBAASServiceKafkaAuthenticationMethods ¶
type DBAASServiceKafkaAuthenticationMethods struct {
// Whether certificate/SSL authentication is enabled
Certificate *bool `json:"certificate,omitempty"`
// Whether SASL authentication is enabled
Sasl *bool `json:"sasl,omitempty"`
}
Kafka authentication methods
type DBAASServiceKafkaComponents ¶
type DBAASServiceKafkaComponents struct {
// Service component name
Component string `json:"component" validate:"required"`
// DNS name for connecting to the service component
Host string `json:"host" validate:"required"`
KafkaAuthenticationMethod EnumKafkaAuthMethod `json:"kafka-authentication-method,omitempty"`
// Port number for connecting to the service component
Port int64 `json:"port" validate:"required,gte=0,lte=65535"`
Route EnumComponentRoute `json:"route" validate:"required"`
Usage EnumComponentUsage `json:"usage" validate:"required"`
}
type DBAASServiceKafkaConnectionInfo ¶
type DBAASServiceKafkaConnectionInfo struct {
AccessCert string `json:"access-cert,omitempty"`
AccessKey string `json:"access-key,omitempty"`
ConnectURI string `json:"connect-uri,omitempty"`
Nodes []string `json:"nodes,omitempty"`
RegistryURI string `json:"registry-uri,omitempty"`
RestURI string `json:"rest-uri,omitempty"`
}
Kafka connection information properties
type DBAASServiceKafkaPrometheusURI ¶ added in v3.1.14
type DBAASServiceKafkaPrometheusURI struct {
Host string `json:"host,omitempty"`
Port int64 `json:"port,omitempty" validate:"omitempty,gte=0,lte=65535"`
}
Prometheus integration URI
type DBAASServiceKafkaUsers ¶
type DBAASServiceKafkaUsers 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"`
}
type DBAASServiceLogs ¶
type DBAASServiceLogs struct {
FirstLogOffset string `json:"first-log-offset,omitempty"`
Logs []DBAASServiceLogsLogs `json:"logs,omitempty"`
Offset string `json:"offset,omitempty"`
}
type DBAASServiceLogsLogs ¶
type DBAASServiceMaintenance ¶
type DBAASServiceMaintenance struct {
// Day of week for installing updates
Dow DBAASServiceMaintenanceDow `json:"dow" validate:"required"`
// Time for installing updates, UTC
Time string `json:"time" validate:"required,gte=8,lte=8"`
// List of updates waiting to be installed
Updates []DBAASServiceUpdate `json:"updates" validate:"required"`
}
Automatic maintenance settings
type DBAASServiceMaintenanceDow ¶
type DBAASServiceMaintenanceDow string
const ( DBAASServiceMaintenanceDowSaturday DBAASServiceMaintenanceDow = "saturday" DBAASServiceMaintenanceDowTuesday DBAASServiceMaintenanceDow = "tuesday" DBAASServiceMaintenanceDowNever DBAASServiceMaintenanceDow = "never" DBAASServiceMaintenanceDowWednesday DBAASServiceMaintenanceDow = "wednesday" DBAASServiceMaintenanceDowSunday DBAASServiceMaintenanceDow = "sunday" DBAASServiceMaintenanceDowFriday DBAASServiceMaintenanceDow = "friday" DBAASServiceMaintenanceDowMonday DBAASServiceMaintenanceDow = "monday" DBAASServiceMaintenanceDowThursday DBAASServiceMaintenanceDow = "thursday" )
type DBAASServiceMysql ¶
type DBAASServiceMysql struct {
// Backup schedule
BackupSchedule *DBAASServiceMysqlBackupSchedule `json:"backup-schedule,omitempty"`
// List of backups for the service
Backups []DBAASServiceBackup `json:"backups,omitempty"`
// Service component information objects
Components []DBAASServiceMysqlComponents `json:"components,omitempty"`
// MySQL connection information properties
ConnectionInfo *DBAASServiceMysqlConnectionInfo `json:"connection-info,omitempty"`
// Service creation timestamp (ISO 8601)
CreatedAT time.Time `json:"created-at,omitempty"`
// List of MySQL databases
Databases []DBAASMysqlDatabaseName `json:"databases,omitempty"`
// TODO UNIT disk space for data storage
DiskSize int64 `json:"disk-size,omitempty" validate:"omitempty,gte=0"`
// Service integrations
Integrations []DBAASIntegration `json:"integrations,omitempty"`
// Allowed CIDR address blocks for incoming connections
IPFilter []string `json:"ip-filter,omitempty"`
// Automatic maintenance settings
Maintenance *DBAASServiceMaintenance `json:"maintenance,omitempty"`
// mysql.conf configuration values
MysqlSettings *JSONSchemaMysql `json:"mysql-settings,omitempty"`
Name DBAASServiceName `json:"name" validate:"required,gte=0,lte=63"`
// Number of service nodes in the active plan
NodeCount int64 `json:"node-count,omitempty" validate:"omitempty,gte=0"`
// Number of CPUs for each node
NodeCPUCount int64 `json:"node-cpu-count,omitempty" validate:"omitempty,gte=0"`
// TODO UNIT of memory for each node
NodeMemory int64 `json:"node-memory,omitempty" validate:"omitempty,gte=0"`
// State of individual service nodes
NodeStates []DBAASNodeState `json:"node-states,omitempty"`
// Service notifications
Notifications []DBAASServiceNotification `json:"notifications,omitempty"`
// Subscription plan
Plan string `json:"plan" validate:"required"`
// Prometheus integration URI
PrometheusURI *DBAASServiceMysqlPrometheusURI `json:"prometheus-uri" validate:"required"`
State EnumServiceState `json:"state,omitempty"`
// Service is protected against termination and powering off
TerminationProtection *bool `json:"termination-protection,omitempty"`
Type DBAASServiceTypeName `json:"type" validate:"required,gte=0,lte=64"`
// 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]any `json:"uri-params,omitempty"`
// List of service users
Users []DBAASServiceMysqlUsers `json:"users,omitempty"`
// MySQL version
Version string `json:"version,omitempty"`
// The zone where the service is running
Zone string `json:"zone,omitempty"`
}
type DBAASServiceMysqlBackupSchedule ¶
type DBAASServiceMysqlBackupSchedule 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" validate:"omitempty,gte=0,lte=23"`
// 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" validate:"omitempty,gte=0,lte=59"`
}
Backup schedule
type DBAASServiceMysqlComponents ¶
type DBAASServiceMysqlComponents struct {
// Service component name
Component string `json:"component" validate:"required"`
// DNS name for connecting to the service component
Host string `json:"host" validate:"required"`
// Port number for connecting to the service component
Port int64 `json:"port" validate:"required,gte=0,lte=65535"`
Route EnumComponentRoute `json:"route" validate:"required"`
Usage EnumComponentUsage `json:"usage" validate:"required"`
}
type DBAASServiceMysqlConnectionInfo ¶
type DBAASServiceMysqlConnectionInfo struct {
Params []map[string]string `json:"params,omitempty"`
Standby []string `json:"standby,omitempty"`
URI []string `json:"uri,omitempty"`
}
MySQL connection information properties
type DBAASServiceMysqlPrometheusURI ¶ added in v3.1.14
type DBAASServiceMysqlPrometheusURI struct {
Host string `json:"host,omitempty"`
Port int64 `json:"port,omitempty" validate:"omitempty,gte=0,lte=65535"`
}
Prometheus integration URI
type DBAASServiceMysqlUsers ¶
type DBAASServiceName ¶
type DBAASServiceName string
type DBAASServiceNotification ¶
type DBAASServiceNotification struct {
// Notification level
Level DBAASServiceNotificationLevel `json:"level" validate:"required"`
// Human notification message
Message string `json:"message" validate:"required,gte=1,lte=1024"`
// Notification type
Metadata map[string]any `json:"metadata" validate:"required"`
// Notification type
Type DBAASServiceNotificationType `json:"type" validate:"required"`
}
Service notifications
type DBAASServiceNotificationLevel ¶
type DBAASServiceNotificationLevel string
const ( DBAASServiceNotificationLevelWarning DBAASServiceNotificationLevel = "warning" DBAASServiceNotificationLevelNotice DBAASServiceNotificationLevel = "notice" )
type DBAASServiceNotificationType ¶
type DBAASServiceNotificationType string
const ( DBAASServiceNotificationTypeServicePoweredOffRemoval DBAASServiceNotificationType = "service_powered_off_removal" DBAASServiceNotificationTypeServiceEndOfLife DBAASServiceNotificationType = "service_end_of_life" )
type DBAASServiceOpensearch ¶
type DBAASServiceOpensearch struct {
// List of backups for the service
Backups []DBAASServiceBackup `json:"backups,omitempty"`
// Service component information objects
Components []DBAASServiceOpensearchComponents `json:"components,omitempty"`
// Opensearch connection information properties
ConnectionInfo *DBAASServiceOpensearchConnectionInfo `json:"connection-info,omitempty"`
// Service creation timestamp (ISO 8601)
CreatedAT time.Time `json:"created-at,omitempty"`
// DbaaS service description
Description string `json:"description,omitempty"`
// TODO UNIT disk space for data storage
DiskSize int64 `json:"disk-size,omitempty" validate:"omitempty,gte=0"`
// Allows you to create glob style patterns and set a max number of indexes matching this pattern you want to keep. Creating indexes exceeding this value will cause the oldest one to get deleted. You could for example create a pattern looking like 'logs.?' and then create index logs.1, logs.2 etc, it will delete logs.1 once you create logs.6. Do note 'logs.?' does not apply to logs.10. Note: Setting max_index_count to 0 will do nothing and the pattern gets ignored.
IndexPatterns []DBAASServiceOpensearchIndexPatterns `json:"index-patterns,omitempty"`
// Template settings for all new indexes
IndexTemplate *DBAASServiceOpensearchIndexTemplate `json:"index-template,omitempty"`
// Service integrations
Integrations []DBAASIntegration `json:"integrations,omitempty"`
// Allowed CIDR address blocks for incoming connections
IPFilter []string `json:"ip-filter,omitempty"`
// Aiven automation resets index.refresh_interval to default value for every index to be sure that indices are always visible to search. If it doesn't fit your case, you can disable this by setting up this flag to true.
KeepIndexRefreshInterval *bool `json:"keep-index-refresh-interval,omitempty"`
// Automatic maintenance settings
Maintenance *DBAASServiceMaintenance `json:"maintenance,omitempty"`
// Maximum number of indexes to keep before deleting the oldest one
MaxIndexCount *int64 `json:"max-index-count,omitempty" validate:"omitempty,gte=0"`
Name DBAASServiceName `json:"name" validate:"required,gte=0,lte=63"`
// Number of service nodes in the active plan
NodeCount int64 `json:"node-count,omitempty" validate:"omitempty,gte=0"`
// Number of CPUs for each node
NodeCPUCount int64 `json:"node-cpu-count,omitempty" validate:"omitempty,gte=0"`
// TODO UNIT of memory for each node
NodeMemory int64 `json:"node-memory,omitempty" validate:"omitempty,gte=0"`
// State of individual service nodes
NodeStates []DBAASNodeState `json:"node-states,omitempty"`
// Service notifications
Notifications []DBAASServiceNotification `json:"notifications,omitempty"`
// OpenSearch Dashboards settings
OpensearchDashboards *DBAASServiceOpensearchOpensearchDashboards `json:"opensearch-dashboards,omitempty"`
// OpenSearch settings
OpensearchSettings *JSONSchemaOpensearch `json:"opensearch-settings,omitempty"`
// Subscription plan
Plan string `json:"plan" validate:"required"`
// Prometheus integration URI
PrometheusURI *DBAASServiceOpensearchPrometheusURI `json:"prometheus-uri" validate:"required"`
State EnumServiceState `json:"state,omitempty"`
// Service is protected against termination and powering off
TerminationProtection *bool `json:"termination-protection,omitempty"`
Type DBAASServiceTypeName `json:"type" validate:"required,gte=0,lte=64"`
// 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]any `json:"uri-params,omitempty"`
// List of service users
Users []DBAASServiceOpensearchUsers `json:"users,omitempty"`
// OpenSearch version
Version string `json:"version,omitempty"`
// The zone where the service is running
Zone string `json:"zone,omitempty"`
}
type DBAASServiceOpensearchComponents ¶
type DBAASServiceOpensearchComponents struct {
// Service component name
Component string `json:"component" validate:"required"`
// DNS name for connecting to the service component
Host string `json:"host" validate:"required"`
// Port number for connecting to the service component
Port int64 `json:"port" validate:"required,gte=0,lte=65535"`
Route EnumComponentRoute `json:"route" validate:"required"`
Usage EnumComponentUsage `json:"usage" validate:"required"`
}
type DBAASServiceOpensearchConnectionInfo ¶
type DBAASServiceOpensearchConnectionInfo struct {
DashboardURI string `json:"dashboard-uri,omitempty"`
Password string `json:"password,omitempty"`
URI []string `json:"uri,omitempty"`
Username string `json:"username,omitempty"`
}
Opensearch connection information properties
type DBAASServiceOpensearchIndexPatterns ¶
type DBAASServiceOpensearchIndexPatterns struct {
// Maximum number of indexes to keep
MaxIndexCount *int64 `json:"max-index-count,omitempty" validate:"omitempty,gte=0"`
// fnmatch pattern
Pattern string `json:"pattern,omitempty" validate:"omitempty,lte=1024"`
// Deletion sorting algorithm
SortingAlgorithm DBAASServiceOpensearchIndexPatternsSortingAlgorithm `json:"sorting-algorithm,omitempty"`
}
type DBAASServiceOpensearchIndexPatternsSortingAlgorithm ¶
type DBAASServiceOpensearchIndexPatternsSortingAlgorithm string
const ( DBAASServiceOpensearchIndexPatternsSortingAlgorithmAlphabetical DBAASServiceOpensearchIndexPatternsSortingAlgorithm = "alphabetical" DBAASServiceOpensearchIndexPatternsSortingAlgorithmCreationDate DBAASServiceOpensearchIndexPatternsSortingAlgorithm = "creation_date" )
type DBAASServiceOpensearchIndexTemplate ¶
type DBAASServiceOpensearchIndexTemplate struct {
// The maximum number of nested JSON objects that a single document can contain across all nested types. This limit helps to prevent out of memory errors when a document contains too many nested objects. Default is 10000.
MappingNestedObjectsLimit int64 `json:"mapping-nested-objects-limit,omitempty" validate:"omitempty,gte=0,lte=100000"`
// The number of replicas each primary shard has.
NumberOfReplicas int64 `json:"number-of-replicas,omitempty" validate:"omitempty,gte=0,lte=29"`
// The number of primary shards that an index should have.
NumberOfShards int64 `json:"number-of-shards,omitempty" validate:"omitempty,gte=1,lte=1024"`
}
Template settings for all new indexes
type DBAASServiceOpensearchOpensearchDashboards ¶
type DBAASServiceOpensearchOpensearchDashboards struct {
// Enable or disable OpenSearch Dashboards (default: true)
Enabled *bool `json:"enabled,omitempty"`
// Limits the maximum amount of memory (in MiB) the OpenSearch Dashboards process can use. This sets the max_old_space_size option of the nodejs running the OpenSearch Dashboards. Note: the memory reserved by OpenSearch Dashboards is not available for OpenSearch. (default: 128)
MaxOldSpaceSize int64 `json:"max-old-space-size,omitempty" validate:"omitempty,gte=64,lte=1024"`
// Timeout in milliseconds for requests made by OpenSearch Dashboards towards OpenSearch (default: 30000)
OpensearchRequestTimeout int64 `json:"opensearch-request-timeout,omitempty" validate:"omitempty,gte=5000,lte=120000"`
}
OpenSearch Dashboards settings
type DBAASServiceOpensearchPrometheusURI ¶ added in v3.1.14
type DBAASServiceOpensearchPrometheusURI struct {
Host string `json:"host,omitempty"`
Port int64 `json:"port,omitempty" validate:"omitempty,gte=0,lte=65535"`
}
Prometheus integration URI
type DBAASServicePG ¶
type DBAASServicePG struct {
// Backup schedule
BackupSchedule *DBAASServicePGBackupSchedule `json:"backup-schedule,omitempty"`
// List of backups for the service
Backups []DBAASServiceBackup `json:"backups,omitempty"`
// Service component information objects
Components []DBAASServicePGComponents `json:"components,omitempty"`
// PG connection information properties
ConnectionInfo *DBAASServicePGConnectionInfo `json:"connection-info,omitempty"`
// PostgreSQL PGBouncer connection pools
ConnectionPools []DBAASServicePGConnectionPools `json:"connection-pools,omitempty"`
// Service creation timestamp (ISO 8601)
CreatedAT time.Time `json:"created-at,omitempty"`
// List of PostgreSQL databases
Databases []DBAASDatabaseName `json:"databases,omitempty"`
// TODO UNIT disk space for data storage
DiskSize int64 `json:"disk-size,omitempty" validate:"omitempty,gte=0"`
// Service integrations
Integrations []DBAASIntegration `json:"integrations,omitempty"`
// Allowed CIDR address blocks for incoming connections
IPFilter []string `json:"ip-filter,omitempty"`
// Automatic maintenance settings
Maintenance *DBAASServiceMaintenance `json:"maintenance,omitempty"`
// Maximum number of connections allowed to an instance
MaxConnections int64 `json:"max-connections,omitempty" validate:"omitempty,gt=0"`
Name DBAASServiceName `json:"name" validate:"required,gte=0,lte=63"`
// Number of service nodes in the active plan
NodeCount int64 `json:"node-count,omitempty" validate:"omitempty,gte=0"`
// Number of CPUs for each node
NodeCPUCount int64 `json:"node-cpu-count,omitempty" validate:"omitempty,gte=0"`
// TODO UNIT of memory for each node
NodeMemory int64 `json:"node-memory,omitempty" validate:"omitempty,gte=0"`
// State of individual service nodes
NodeStates []DBAASNodeState `json:"node-states,omitempty"`
// Service notifications
Notifications []DBAASServiceNotification `json:"notifications,omitempty"`
// postgresql.conf configuration values
PGSettings *JSONSchemaPG `json:"pg-settings,omitempty"`
// System-wide settings for pgbouncer.
PgbouncerSettings *JSONSchemaPgbouncer `json:"pgbouncer-settings,omitempty"`
// System-wide settings for pglookout.
PglookoutSettings *JSONSchemaPglookout `json:"pglookout-settings,omitempty"`
// Subscription plan
Plan string `json:"plan" validate:"required"`
// Prometheus integration URI
PrometheusURI *DBAASServicePGPrometheusURI `json:"prometheus-uri" validate:"required"`
// 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.
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"`
// System-wide settings for the timescaledb extension
TimescaledbSettings *JSONSchemaTimescaledb `json:"timescaledb-settings,omitempty"`
Type DBAASServiceTypeName `json:"type" validate:"required,gte=0,lte=64"`
// 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]any `json:"uri-params,omitempty"`
// List of service users
Users []DBAASServicePGUsers `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" validate:"omitempty,gte=1,lte=1024"`
// The zone where the service is running
Zone string `json:"zone,omitempty"`
}
type DBAASServicePGBackupSchedule ¶
type DBAASServicePGBackupSchedule 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" validate:"omitempty,gte=0,lte=23"`
// 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" validate:"omitempty,gte=0,lte=59"`
}
Backup schedule
type DBAASServicePGComponents ¶
type DBAASServicePGComponents struct {
// Service component name
Component string `json:"component" validate:"required"`
// DNS name for connecting to the service component
Host string `json:"host" validate:"required"`
// Port number for connecting to the service component
Port int64 `json:"port" validate:"required,gte=0,lte=65535"`
Route EnumComponentRoute `json:"route" validate:"required"`
Usage EnumComponentUsage `json:"usage" validate:"required"`
}
type DBAASServicePGConnectionInfo ¶
type DBAASServicePGConnectionInfo struct {
Params []map[string]string `json:"params,omitempty"`
Standby []string `json:"standby,omitempty"`
Syncing []string `json:"syncing,omitempty"`
URI []string `json:"uri,omitempty"`
}
PG connection information properties
type DBAASServicePGConnectionPools ¶
type DBAASServicePGConnectionPools struct {
// Connection URI for the DB pool
ConnectionURI string `json:"connection-uri" validate:"required"`
Database DBAASDatabaseName `json:"database" validate:"required,gte=1,lte=40"`
Mode EnumPGPoolMode `json:"mode" validate:"required"`
Name DBAASPGPoolName `json:"name" validate:"required,gte=1,lte=63"`
Size DBAASPGPoolSize `json:"size" validate:"required,gte=1,lte=10000"`
Username DBAASPGPoolUsername `json:"username" validate:"required,gte=1,lte=64"`
}
type DBAASServicePGPrometheusURI ¶ added in v3.1.14
type DBAASServicePGPrometheusURI struct {
Host string `json:"host,omitempty"`
Port int64 `json:"port,omitempty" validate:"omitempty,gte=0,lte=65535"`
}
Prometheus integration URI
type DBAASServicePGUsers ¶
type DBAASServicePGUsers struct {
AllowReplication *bool `json:"allow-replication,omitempty"`
// Account password. A missing field indicates a user overridden password.
Password string `json:"password,omitempty"`
// Account type
Type string `json:"type" validate:"required"`
// Account username
Username string `json:"username" validate:"required"`
}
List of service users
type DBAASServiceThanos ¶ added in v3.1.26
type DBAASServiceThanos struct {
// List of backups for the service
Backups []DBAASServiceBackup `json:"backups,omitempty"`
// Service component information objects
Components []DBAASServiceThanosComponents `json:"components,omitempty"`
// Thanos connection information properties
ConnectionInfo *DBAASServiceThanosConnectionInfo `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" validate:"omitempty,gte=0"`
// Service integrations
Integrations []DBAASIntegration `json:"integrations,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" validate:"required,gte=0,lte=63"`
// Number of service nodes in the active plan
NodeCount int64 `json:"node-count,omitempty" validate:"omitempty,gte=0"`
// Number of CPUs for each node
NodeCPUCount int64 `json:"node-cpu-count,omitempty" validate:"omitempty,gte=0"`
// TODO UNIT of memory for each node
NodeMemory int64 `json:"node-memory,omitempty" validate:"omitempty,gte=0"`
// State of individual service nodes
NodeStates []DBAASNodeState `json:"node-states,omitempty"`
// Service notifications
Notifications []DBAASServiceNotification `json:"notifications,omitempty"`
// Subscription plan
Plan string `json:"plan" validate:"required"`
// Prometheus integration URI
PrometheusURI *DBAASServiceThanosPrometheusURI `json:"prometheus-uri" validate:"required"`
State EnumServiceState `json:"state,omitempty"`
// Service is protected against termination and powering off
TerminationProtection *bool `json:"termination-protection,omitempty"`
// Thanos settings
ThanosSettings *JSONSchemaThanos `json:"thanos-settings,omitempty"`
Type DBAASServiceTypeName `json:"type" validate:"required,gte=0,lte=64"`
// 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]any `json:"uri-params,omitempty"`
// List of service users
Users []DBAASServiceThanosUsers `json:"users,omitempty"`
// The zone where the service is running
Zone string `json:"zone,omitempty"`
}
type DBAASServiceThanosComponents ¶ added in v3.1.26
type DBAASServiceThanosComponents struct {
// Service component name
Component string `json:"component" validate:"required"`
// DNS name for connecting to the service component
Host string `json:"host" validate:"required"`
// Port number for connecting to the service component
Port int64 `json:"port" validate:"required,gte=0,lte=65535"`
Route EnumComponentRoute `json:"route" validate:"required"`
// 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" validate:"required"`
}
type DBAASServiceThanosConnectionInfo ¶ added in v3.1.26
type DBAASServiceThanosConnectionInfo struct {
QueryFrontendURI string `json:"query-frontend-uri,omitempty"`
QueryURI string `json:"query-uri,omitempty"`
ReceiverRemoteWriteURI string `json:"receiver-remote-write-uri,omitempty"`
RulerURI string `json:"ruler-uri,omitempty"`
}
Thanos connection information properties
type DBAASServiceThanosPrometheusURI ¶ added in v3.1.26
type DBAASServiceThanosPrometheusURI struct {
Host string `json:"host,omitempty"`
Port int64 `json:"port,omitempty" validate:"omitempty,gte=0,lte=65535"`
}
Prometheus integration URI
type DBAASServiceThanosUsers ¶ added in v3.1.32
type DBAASServiceType ¶
type DBAASServiceType struct {
// DbaaS service available versions
AvailableVersions []string `json:"available-versions,omitempty"`
// DbaaS service default version
DefaultVersion string `json:"default-version,omitempty"`
// DbaaS service description
Description string `json:"description,omitempty"`
Name DBAASServiceTypeName `json:"name,omitempty" validate:"omitempty,gte=0,lte=64"`
// DbaaS service plans
Plans []DBAASPlan `json:"plans,omitempty"`
}
DBaaS service
type DBAASServiceTypeName ¶
type DBAASServiceTypeName string
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 DBAASServiceValkey ¶ added in v3.1.10
type DBAASServiceValkey struct {
// List of backups for the service
Backups []DBAASServiceBackup `json:"backups,omitempty"`
// Service component information objects
Components []DBAASServiceValkeyComponents `json:"components,omitempty"`
// Valkey connection information properties
ConnectionInfo *DBAASServiceValkeyConnectionInfo `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" validate:"omitempty,gte=0"`
// Service integrations
Integrations []DBAASIntegration `json:"integrations,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" validate:"required,gte=0,lte=63"`
// Number of service nodes in the active plan
NodeCount int64 `json:"node-count,omitempty" validate:"omitempty,gte=0"`
// Number of CPUs for each node
NodeCPUCount int64 `json:"node-cpu-count,omitempty" validate:"omitempty,gte=0"`
// TODO UNIT of memory for each node
NodeMemory int64 `json:"node-memory,omitempty" validate:"omitempty,gte=0"`
// State of individual service nodes
NodeStates []DBAASNodeState `json:"node-states,omitempty"`
// Service notifications
Notifications []DBAASServiceNotification `json:"notifications,omitempty"`
// Subscription plan
Plan string `json:"plan" validate:"required"`
// Prometheus integration URI
PrometheusURI *DBAASServiceValkeyPrometheusURI `json:"prometheus-uri" validate:"required"`
State EnumServiceState `json:"state,omitempty"`
// Service is protected against termination and powering off
TerminationProtection *bool `json:"termination-protection,omitempty"`
Type DBAASServiceTypeName `json:"type" validate:"required,gte=0,lte=64"`
// 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]any `json:"uri-params,omitempty"`
// List of service users
Users []DBAASServiceValkeyUsers `json:"users,omitempty"`
// Valkey settings
ValkeySettings *JSONSchemaValkey `json:"valkey-settings,omitempty"`
// Valkey version
Version string `json:"version,omitempty"`
// The zone where the service is running
Zone string `json:"zone,omitempty"`
}
type DBAASServiceValkeyComponents ¶ added in v3.1.10
type DBAASServiceValkeyComponents struct {
// Service component name
Component string `json:"component" validate:"required"`
// DNS name for connecting to the service component
Host string `json:"host" validate:"required"`
// Port number for connecting to the service component
Port int64 `json:"port" validate:"required,gte=0,lte=65535"`
Route EnumComponentRoute `json:"route" validate:"required"`
// 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" validate:"required"`
}
type DBAASServiceValkeyConnectionInfo ¶ added in v3.1.10
type DBAASServiceValkeyConnectionInfo struct {
Password string `json:"password,omitempty"`
Slave []string `json:"slave,omitempty"`
URI []string `json:"uri,omitempty"`
}
Valkey connection information properties
type DBAASServiceValkeyPrometheusURI ¶ added in v3.1.14
type DBAASServiceValkeyPrometheusURI struct {
Host string `json:"host,omitempty"`
Port int64 `json:"port,omitempty" validate:"omitempty,gte=0,lte=65535"`
}
Prometheus integration URI
type DBAASServiceValkeyUsers ¶ added in v3.1.10
type DBAASServiceValkeyUsers struct {
AccessControl *DBAASServiceValkeyUsersAccessControl `json:"access-control,omitempty"`
Password string `json:"password,omitempty"`
Type string `json:"type,omitempty"`
Username string `json:"username,omitempty"`
}
type DBAASServiceValkeyUsersAccessControl ¶ added in v3.1.10
type DBAASTask ¶
type DBAASTask struct {
CreateTime time.Time `json:"create-time,omitempty"`
ID UUID `json:"id,omitempty"`
Result string `json:"result,omitempty"`
ResultCodes []DBAASTaskResultCodes `json:"result-codes,omitempty"`
Success *bool `json:"success,omitempty"`
TaskType string `json:"task-type,omitempty"`
}
type DBAASTaskResultCodes ¶
type DBAASUserGrafanaSecrets ¶
type DBAASUserGrafanaSecrets struct {
// Grafana password
Password string `json:"password,omitempty"`
// Grafana username
Username string `json:"username,omitempty"`
}
Grafana User secrets
type DBAASUserKafkaConnectSecrets ¶ added in v3.1.2
type DBAASUserKafkaConnectSecrets struct {
// Kafka Connect password
Password string `json:"password,omitempty"`
// Kafka Connect username
Username string `json:"username,omitempty"`
}
Kafka Connect secrets
type DBAASUserKafkaSecrets ¶
type DBAASUserKafkaSecrets struct {
// Kafka certificate
AccessCert string `json:"access-cert,omitempty"`
AccessCertExpiry time.Time `json:"access-cert-expiry,omitempty"`
// Kafka access key
AccessKey string `json:"access-key,omitempty"`
// Kafka password
Password string `json:"password,omitempty"`
// Kafka username
Username string `json:"username,omitempty"`
}
Kafka User secrets
type DBAASUserMysqlSecrets ¶
type DBAASUserMysqlSecrets struct {
// MySQL password
Password string `json:"password,omitempty"`
// MySQL username
Username string `json:"username,omitempty"`
}
MySQL User secrets
type DBAASUserOpensearchSecrets ¶
type DBAASUserOpensearchSecrets struct {
// Opensearch password
Password string `json:"password,omitempty"`
// Opensearch username
Username string `json:"username,omitempty"`
}
Opensearch User secrets
type DBAASUserPassword ¶
type DBAASUserPassword string
type DBAASUserPostgresSecrets ¶
type DBAASUserPostgresSecrets struct {
// Postgres password
Password string `json:"password,omitempty"`
// Postgres username
Username string `json:"username,omitempty"`
}
Postgres User secrets
type DBAASUserThanosSecrets ¶ added in v3.1.32
type DBAASUserThanosSecrets struct {
// Thanos password
Password string `json:"password,omitempty"`
// Thanos username
Username string `json:"username,omitempty"`
}
Thanos User secrets
type DBAASUserUsername ¶
type DBAASUserUsername string
type DBAASUserValkeySecrets ¶ added in v3.1.11
type DBAASUserValkeySecrets struct {
// Valkey password
Password string `json:"password,omitempty"`
// Valkey username
Username string `json:"username,omitempty"`
}
Valkey User secrets
type DNSDomain ¶
type DNSDomain struct {
// DNS domain creation date
CreatedAT time.Time `json:"created-at,omitempty"`
// DNS domain ID
ID UUID `json:"id,omitempty"`
// DNS domain unicode name
UnicodeName string `json:"unicode-name,omitempty" validate:"omitempty,gte=1,lte=255"`
}
DNS domain
type DNSDomainRecord ¶
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 UUID `json:"id,omitempty"`
// DNS domain record name
Name string `json:"name,omitempty"`
// DNS domain record priority
Priority int64 `json:"priority,omitempty" validate:"omitempty,gte=0"`
// DNS domain record system status
SystemRecord *bool `json:"system-record,omitempty"`
// DNS domain record TTL
Ttl int64 `json:"ttl,omitempty" validate:"omitempty,gte=0"`
// DNS domain record type
Type DNSDomainRecordType `json:"type,omitempty"`
// DNS domain record update date
UpdatedAT time.Time `json:"updated-at,omitempty"`
}
DNS domain record
type DNSDomainRecordType ¶
type DNSDomainRecordType string
const ( DNSDomainRecordTypeNS DNSDomainRecordType = "NS" DNSDomainRecordTypeCAA DNSDomainRecordType = "CAA" DNSDomainRecordTypeNAPTR DNSDomainRecordType = "NAPTR" DNSDomainRecordTypePOOL DNSDomainRecordType = "POOL" DNSDomainRecordTypeA DNSDomainRecordType = "A" DNSDomainRecordTypeHINFO DNSDomainRecordType = "HINFO" DNSDomainRecordTypeCNAME DNSDomainRecordType = "CNAME" DNSDomainRecordTypeSOA DNSDomainRecordType = "SOA" DNSDomainRecordTypeSSHFP DNSDomainRecordType = "SSHFP" DNSDomainRecordTypeSRV DNSDomainRecordType = "SRV" DNSDomainRecordTypeAAAA DNSDomainRecordType = "AAAA" DNSDomainRecordTypeMX DNSDomainRecordType = "MX" DNSDomainRecordTypeTXT DNSDomainRecordType = "TXT" DNSDomainRecordTypeALIAS DNSDomainRecordType = "ALIAS" DNSDomainRecordTypeURL DNSDomainRecordType = "URL" DNSDomainRecordTypeSPF DNSDomainRecordType = "SPF" )
type DeleteModelConflictResponse ¶ added in v3.1.29
type DeleteModelConflictResponse struct {
// Deployments using models
Deployments []string `json:"deployments,omitempty"`
}
Model is in use: deletion forbidden
type DeployTarget ¶
type DeployTarget struct {
// Deploy Target description
Description string `json:"description,omitempty" validate:"omitempty,lte=255"`
// Deploy Target ID
ID UUID `json:"id" validate:"required"`
// Deploy Target name
Name string `json:"name,omitempty" validate:"omitempty,gte=1,lte=255"`
// Deploy Target type
Type DeployTargetType `json:"type,omitempty"`
}
Deploy target
type DeployTargetRef ¶ added in v3.1.34
type DeployTargetRef struct {
// Deploy target ID
ID UUID `json:"id,omitempty"`
}
Deploy target reference
type DeployTargetType ¶
type DeployTargetType string
const ( DeployTargetTypeEdge DeployTargetType = "edge" DeployTargetTypeDedicated DeployTargetType = "dedicated" )
type DetachDBAASServiceFromEndpointRequest ¶ added in v3.1.2
type DetachDBAASServiceFromEndpointRequest struct {
// External Integration ID
IntegrationID UUID `json:"integration-id" validate:"required"`
}
type DetachInstanceFromElasticIPRequest ¶
type DetachInstanceFromElasticIPRequest struct {
// Target Instance
Instance *InstanceTarget `json:"instance" validate:"required"`
}
type DetachInstanceFromPrivateNetworkRequest ¶
type DetachInstanceFromPrivateNetworkRequest struct {
// Instance
Instance *Instance `json:"instance" validate:"required"`
}
type DetachInstanceFromSecurityGroupRequest ¶
type DetachInstanceFromSecurityGroupRequest struct {
// Instance
Instance *Instance `json:"instance" validate:"required"`
}
type DomainName ¶
type DomainName string
type ElasticIP ¶
type ElasticIP struct {
// Elastic IP address family
Addressfamily ElasticIPAddressfamily `json:"addressfamily,omitempty"`
// Elastic IP cidr
Cidr string `json:"cidr,omitempty"`
// Elastic IP description
Description string `json:"description,omitempty" validate:"omitempty,lte=255"`
// Elastic IP address healthcheck
Healthcheck *ElasticIPHealthcheck `json:"healthcheck,omitempty"`
// Elastic IP ID
ID UUID `json:"id,omitempty"`
// Elastic IP address
IP string `json:"ip,omitempty"`
Labels Labels `json:"labels,omitempty"`
}
Elastic IP
type ElasticIPAddressfamily ¶
type ElasticIPAddressfamily string
const ( ElasticIPAddressfamilyInet4 ElasticIPAddressfamily = "inet4" ElasticIPAddressfamilyInet6 ElasticIPAddressfamily = "inet6" )
type ElasticIPHealthcheck ¶
type ElasticIPHealthcheck struct {
// Interval between the checks in seconds (default: 10)
Interval int64 `json:"interval,omitempty" validate:"omitempty,gte=5,lte=300"`
// Health check mode
Mode ElasticIPHealthcheckMode `json:"mode" validate:"required"`
// Health check port
Port int64 `json:"port" validate:"required,gte=1,lte=65535"`
// Number of attempts before considering the target unhealthy (default: 3)
StrikesFail int64 `json:"strikes-fail,omitempty" validate:"omitempty,gte=1,lte=20"`
// Number of attempts before considering the target healthy (default: 2)
StrikesOk int64 `json:"strikes-ok,omitempty" validate:"omitempty,gte=1,lte=20"`
// Health check timeout value in seconds (default: 2)
Timeout int64 `json:"timeout,omitempty" validate:"omitempty,gte=2,lte=60"`
// Skip TLS verification
TlsSkipVerify *bool `json:"tls-skip-verify,omitempty"`
// An optional domain or subdomain to check TLS against
TlsSNI string `json:"tls-sni,omitempty" validate:"omitempty,gte=1,lte=255"`
// An endpoint to use for the health check, for example '/status'
URI string `json:"uri,omitempty" validate:"omitempty,gte=1,lte=255"`
}
Elastic IP address healthcheck
type ElasticIPHealthcheckMode ¶
type ElasticIPHealthcheckMode string
const ( ElasticIPHealthcheckModeTCP ElasticIPHealthcheckMode = "tcp" ElasticIPHealthcheckModeHTTP ElasticIPHealthcheckMode = "http" ElasticIPHealthcheckModeHttps ElasticIPHealthcheckMode = "https" )
type ElasticIPRef ¶ added in v3.1.34
type ElasticIPRef struct {
// Elastic IP ID
ID UUID `json:"id,omitempty"`
}
Elastic IP reference
type Endpoint ¶
type Endpoint string
Endpoint represents a zone endpoint.
const ( CHGva2 Endpoint = "https://api-ch-gva-2.exoscale.com/v2" CHDk2 Endpoint = "https://api-ch-dk-2.exoscale.com/v2" DEFra1 Endpoint = "https://api-de-fra-1.exoscale.com/v2" DEMuc1 Endpoint = "https://api-de-muc-1.exoscale.com/v2" ATVie1 Endpoint = "https://api-at-vie-1.exoscale.com/v2" ATVie2 Endpoint = "https://api-at-vie-2.exoscale.com/v2" BGSof1 Endpoint = "https://api-bg-sof-1.exoscale.com/v2" HrZag1 Endpoint = "https://api-hr-zag-1.exoscale.com/v2" )
type EnumComponentRoute ¶
type EnumComponentRoute string
const ( EnumComponentRouteDynamic EnumComponentRoute = "dynamic" EnumComponentRoutePrivate EnumComponentRoute = "private" EnumComponentRoutePublic EnumComponentRoute = "public" EnumComponentRoutePrivatelink EnumComponentRoute = "privatelink" )
type EnumComponentUsage ¶
type EnumComponentUsage string
const ( EnumComponentUsagePrimary EnumComponentUsage = "primary" EnumComponentUsageReplica EnumComponentUsage = "replica" )
type EnumDatadogSite ¶ added in v3.1.2
type EnumDatadogSite string
const ( EnumDatadogSiteUs3DatadoghqCom EnumDatadogSite = "us3.datadoghq.com" EnumDatadogSiteDdogGovCom EnumDatadogSite = "ddog-gov.com" EnumDatadogSiteDatadoghqEU EnumDatadogSite = "datadoghq.eu" EnumDatadogSiteUs5DatadoghqCom EnumDatadogSite = "us5.datadoghq.com" EnumDatadogSiteAp1DatadoghqCom EnumDatadogSite = "ap1.datadoghq.com" EnumDatadogSiteDatadoghqCom EnumDatadogSite = "datadoghq.com" )
type EnumExternalEndpointTypes ¶ added in v3.1.2
type EnumExternalEndpointTypes string
const ( EnumExternalEndpointTypesPrometheus EnumExternalEndpointTypes = "prometheus" EnumExternalEndpointTypesOpensearch EnumExternalEndpointTypes = "opensearch" EnumExternalEndpointTypesRsyslog EnumExternalEndpointTypes = "rsyslog" EnumExternalEndpointTypesDatadog EnumExternalEndpointTypes = "datadog" EnumExternalEndpointTypesElasticsearch EnumExternalEndpointTypes = "elasticsearch" )
type EnumIntegrationTypes ¶
type EnumIntegrationTypes string
const ( EnumIntegrationTypesDatasource EnumIntegrationTypes = "datasource" EnumIntegrationTypesLogs EnumIntegrationTypes = "logs" EnumIntegrationTypesMetrics EnumIntegrationTypes = "metrics" )
type EnumKafkaAuthMethod ¶
type EnumKafkaAuthMethod string
const ( EnumKafkaAuthMethodCertificate EnumKafkaAuthMethod = "certificate" EnumKafkaAuthMethodSasl EnumKafkaAuthMethod = "sasl" )
type EnumMasterLinkStatus ¶
type EnumMasterLinkStatus string
const ( EnumMasterLinkStatusUP EnumMasterLinkStatus = "up" EnumMasterLinkStatusDown EnumMasterLinkStatus = "down" )
type EnumMigrationMethod ¶
type EnumMigrationMethod string
const ( EnumMigrationMethodDump EnumMigrationMethod = "dump" EnumMigrationMethodReplication EnumMigrationMethod = "replication" )
type EnumMigrationStatus ¶
type EnumMigrationStatus string
const ( EnumMigrationStatusRunning EnumMigrationStatus = "running" EnumMigrationStatusSyncing EnumMigrationStatus = "syncing" EnumMigrationStatusFailed EnumMigrationStatus = "failed" EnumMigrationStatusDone EnumMigrationStatus = "done" )
type EnumMysqlAuthenticationPlugin ¶
type EnumMysqlAuthenticationPlugin string
const ( EnumMysqlAuthenticationPluginCachingSha2Password EnumMysqlAuthenticationPlugin = "caching_sha2_password" EnumMysqlAuthenticationPluginMysqlNativePassword EnumMysqlAuthenticationPlugin = "mysql_native_password" )
type EnumOpensearchRulePermission ¶
type EnumOpensearchRulePermission string
const ( EnumOpensearchRulePermissionAdmin EnumOpensearchRulePermission = "admin" EnumOpensearchRulePermissionRead EnumOpensearchRulePermission = "read" EnumOpensearchRulePermissionDeny EnumOpensearchRulePermission = "deny" EnumOpensearchRulePermissionReadwrite EnumOpensearchRulePermission = "readwrite" EnumOpensearchRulePermissionWrite EnumOpensearchRulePermission = "write" )
type EnumPGPoolMode ¶
type EnumPGPoolMode string
const ( EnumPGPoolModeTransaction EnumPGPoolMode = "transaction" EnumPGPoolModeStatement EnumPGPoolMode = "statement" EnumPGPoolModeSession EnumPGPoolMode = "session" )
type EnumPGSynchronousReplication ¶
type EnumPGSynchronousReplication string
const ( EnumPGSynchronousReplicationQuorum EnumPGSynchronousReplication = "quorum" EnumPGSynchronousReplicationOff EnumPGSynchronousReplication = "off" )
type EnumPGVariant ¶
type EnumPGVariant string
const ( EnumPGVariantTimescale EnumPGVariant = "timescale" EnumPGVariantAiven EnumPGVariant = "aiven" )
type EnumRsyslogFormat ¶ added in v3.1.2
type EnumRsyslogFormat string
const ( EnumRsyslogFormatCustom EnumRsyslogFormat = "custom" EnumRsyslogFormatRfc3164 EnumRsyslogFormat = "rfc3164" EnumRsyslogFormatRfc5424 EnumRsyslogFormat = "rfc5424" )
type EnumServiceState ¶
type EnumServiceState string
const ( EnumServiceStateRunning EnumServiceState = "running" EnumServiceStateRebuilding EnumServiceState = "rebuilding" EnumServiceStateRebalancing EnumServiceState = "rebalancing" EnumServiceStatePoweroff EnumServiceState = "poweroff" )
type EnumSortOrder ¶
type EnumSortOrder string
const ( EnumSortOrderDesc EnumSortOrder = "desc" EnumSortOrderAsc EnumSortOrder = "asc" )
type EnvImpactDetail ¶ added in v3.1.28
type EnvImpactIndicator ¶ added in v3.1.28
type EnvImpactIndicator struct {
// Amount
Amount float64 `json:"amount,omitempty"`
// Details
Details []EnvImpactDetail `json:"details,omitempty"`
// Unit
Unit string `json:"unit,omitempty"`
// Value
Value string `json:"value,omitempty"`
}
type EnvImpactReport ¶ added in v3.1.28
type EnvImpactReport struct {
// Metadata
Metadata []EnvMetadataEntry `json:"metadata,omitempty"`
// Products
Products []EnvProduct `json:"products,omitempty"`
}
type EnvMetadataEntry ¶ added in v3.1.28
type EnvProduct ¶ added in v3.1.28
type EnvProduct struct {
// Impacts
Impacts []EnvImpactIndicator `json:"impacts,omitempty"`
// Metadata
Metadata []EnvMetadataEntry `json:"metadata,omitempty"`
// Value
Value string `json:"value,omitempty"`
}
type ErrorResponse ¶ added in v3.1.29
type ErrorResponse struct {
// Error description
Error string `json:"error,omitempty"`
}
Error
type Event ¶
type Event struct {
// Body parameters (free form map)
BodyParams map[string]any `json:"body-params,omitempty"`
// Operation processing time
ElapsedMS int64 `json:"elapsed-ms,omitempty" validate:"omitempty,gt=0"`
// Query string parameters (free form map)
GetParams map[string]any `json:"get-params,omitempty"`
// Operation handler name
Handler string `json:"handler,omitempty"`
// IAM API Key
IAMAPIKey *IAMAPIKey `json:"iam-api-key,omitempty"`
// IAM Role
IAMRole *IAMRole `json:"iam-role,omitempty"`
// User
IAMUser *User `json:"iam-user,omitempty"`
// Operation message
Message string `json:"message,omitempty"`
// URI path parameters (free form map)
PathParams map[string]any `json:"path-params,omitempty"`
// Operation unique identifier
RequestID string `json:"request-id,omitempty"`
// Client IP address
SourceIP string `json:"source-ip,omitempty"`
// Operation HTTP status
Status int64 `json:"status,omitempty" validate:"omitempty,gt=0"`
// Time at which the event happened, millisecond resolution
Timestamp time.Time `json:"timestamp,omitempty"`
// Operation request URI
URI string `json:"uri,omitempty"`
// Operation targeted zone
Zone string `json:"zone,omitempty"`
}
A notable Mutation Event which happened on the infrastructure
type EvictInstancePoolMembersRequest ¶
type EvictInstancePoolMembersRequest struct {
Instances []UUID `json:"instances,omitempty"`
}
type EvictSKSNodepoolMembersRequest ¶
type EvictSKSNodepoolMembersRequest struct {
Instances []UUID `json:"instances,omitempty"`
}
type GenerateSKSClusterKubeconfigResponse ¶
type GenerateSKSClusterKubeconfigResponse struct {
Kubeconfig string `json:"kubeconfig,omitempty"`
}
type GetActiveNodepoolTemplateResponse ¶ added in v3.1.27
type GetActiveNodepoolTemplateResponse struct {
ActiveTemplate UUID `json:"active-template,omitempty"`
}
type GetActiveNodepoolTemplateVariant ¶ added in v3.1.27
type GetActiveNodepoolTemplateVariant string
const ( GetActiveNodepoolTemplateVariantStandard GetActiveNodepoolTemplateVariant = "standard" GetActiveNodepoolTemplateVariantNvidia GetActiveNodepoolTemplateVariant = "nvidia" )
type GetConfederatioUsageResponse ¶ added in v3.1.34
type GetConfederatioUsageResponse struct {
OrganizationsUsages map[string]OrganizationUsage `json:"organizations_usages" validate:"required"`
}
GPU usage for all organizations
type GetDBAASCACertificateResponse ¶
type GetDBAASCACertificateResponse struct {
Certificate string `json:"certificate,omitempty"`
}
type GetDBAASExternalIntegrationSettingsDatadogResponse ¶ added in v3.1.3
type GetDBAASExternalIntegrationSettingsDatadogResponse struct {
Settings *DBAASIntegrationSettingsDatadog `json:"settings,omitempty"`
}
type GetDBAASServiceLogsRequest ¶
type GetDBAASServiceLogsRequest struct {
// How many log entries to receive at most, up to 500 (default: 100)
Limit int64 `json:"limit,omitempty" validate:"omitempty,gte=1,lte=500"`
// Opaque offset identifier
Offset string `json:"offset,omitempty"`
SortOrder EnumSortOrder `json:"sort-order,omitempty"`
}
type GetDBAASServiceMetricsRequest ¶
type GetDBAASServiceMetricsRequest struct {
// Metrics time period (default: hour)
Period GetDBAASServiceMetricsRequestPeriod `json:"period,omitempty"`
}
type GetDBAASServiceMetricsRequestPeriod ¶
type GetDBAASServiceMetricsRequestPeriod string
const ( GetDBAASServiceMetricsRequestPeriodHour GetDBAASServiceMetricsRequestPeriod = "hour" GetDBAASServiceMetricsRequestPeriodWeek GetDBAASServiceMetricsRequestPeriod = "week" GetDBAASServiceMetricsRequestPeriodYear GetDBAASServiceMetricsRequestPeriod = "year" GetDBAASServiceMetricsRequestPeriodMonth GetDBAASServiceMetricsRequestPeriod = "month" GetDBAASServiceMetricsRequestPeriodDay GetDBAASServiceMetricsRequestPeriod = "day" )
type GetDBAASSettingsGrafanaResponse ¶
type GetDBAASSettingsGrafanaResponse struct {
Settings *GetDBAASSettingsGrafanaResponseSettings `json:"settings,omitempty"`
}
type GetDBAASSettingsGrafanaResponseSettings ¶
type GetDBAASSettingsGrafanaResponseSettings struct {
// Grafana configuration values
Grafana *GetDBAASSettingsGrafanaResponseSettingsGrafana `json:"grafana,omitempty"`
}
type GetDBAASSettingsGrafanaResponseSettingsGrafana ¶
type GetDBAASSettingsGrafanaResponseSettingsGrafana struct {
AdditionalProperties *bool `json:"additionalProperties,omitempty"`
Properties map[string]any `json:"properties,omitempty"`
Title string `json:"title,omitempty"`
Type string `json:"type,omitempty"`
}
Grafana configuration values
type GetDBAASSettingsKafkaResponse ¶
type GetDBAASSettingsKafkaResponse struct {
Settings *GetDBAASSettingsKafkaResponseSettings `json:"settings,omitempty"`
}
type GetDBAASSettingsKafkaResponseSettings ¶
type GetDBAASSettingsKafkaResponseSettings struct {
// Kafka broker configuration values
Kafka *GetDBAASSettingsKafkaResponseSettingsKafka `json:"kafka,omitempty"`
// Kafka Connect configuration values
KafkaConnect *GetDBAASSettingsKafkaResponseSettingsKafkaConnect `json:"kafka-connect,omitempty"`
// Kafka REST configuration
KafkaRest *GetDBAASSettingsKafkaResponseSettingsKafkaRest `json:"kafka-rest,omitempty"`
// Schema Registry configuration
SchemaRegistry *GetDBAASSettingsKafkaResponseSettingsSchemaRegistry `json:"schema-registry,omitempty"`
}
type GetDBAASSettingsKafkaResponseSettingsKafka ¶
type GetDBAASSettingsKafkaResponseSettingsKafka struct {
AdditionalProperties *bool `json:"additionalProperties,omitempty"`
Properties map[string]any `json:"properties,omitempty"`
Title string `json:"title,omitempty"`
Type string `json:"type,omitempty"`
}
Kafka broker configuration values
type GetDBAASSettingsKafkaResponseSettingsKafkaConnect ¶
type GetDBAASSettingsKafkaResponseSettingsKafkaConnect struct {
AdditionalProperties *bool `json:"additionalProperties,omitempty"`
Properties map[string]any `json:"properties,omitempty"`
Title string `json:"title,omitempty"`
Type string `json:"type,omitempty"`
}
Kafka Connect configuration values
type GetDBAASSettingsKafkaResponseSettingsKafkaRest ¶
type GetDBAASSettingsKafkaResponseSettingsKafkaRest struct {
AdditionalProperties *bool `json:"additionalProperties,omitempty"`
Properties map[string]any `json:"properties,omitempty"`
Title string `json:"title,omitempty"`
Type string `json:"type,omitempty"`
}
Kafka REST configuration
type GetDBAASSettingsKafkaResponseSettingsSchemaRegistry ¶
type GetDBAASSettingsKafkaResponseSettingsSchemaRegistry struct {
AdditionalProperties *bool `json:"additionalProperties,omitempty"`
Properties map[string]any `json:"properties,omitempty"`
Title string `json:"title,omitempty"`
Type string `json:"type,omitempty"`
}
Schema Registry configuration
type GetDBAASSettingsMysqlResponse ¶
type GetDBAASSettingsMysqlResponse struct {
Settings *GetDBAASSettingsMysqlResponseSettings `json:"settings,omitempty"`
}
type GetDBAASSettingsMysqlResponseSettings ¶
type GetDBAASSettingsMysqlResponseSettings struct {
// mysql.conf configuration values
Mysql *GetDBAASSettingsMysqlResponseSettingsMysql `json:"mysql,omitempty"`
}
type GetDBAASSettingsMysqlResponseSettingsMysql ¶
type GetDBAASSettingsMysqlResponseSettingsMysql struct {
AdditionalProperties *bool `json:"additionalProperties,omitempty"`
Properties map[string]any `json:"properties,omitempty"`
Title string `json:"title,omitempty"`
Type string `json:"type,omitempty"`
}
mysql.conf configuration values
type GetDBAASSettingsOpensearchResponse ¶
type GetDBAASSettingsOpensearchResponse struct {
Settings *GetDBAASSettingsOpensearchResponseSettings `json:"settings,omitempty"`
}
type GetDBAASSettingsOpensearchResponseSettings ¶
type GetDBAASSettingsOpensearchResponseSettings struct {
// OpenSearch configuration values
Opensearch *GetDBAASSettingsOpensearchResponseSettingsOpensearch `json:"opensearch,omitempty"`
}
type GetDBAASSettingsOpensearchResponseSettingsOpensearch ¶
type GetDBAASSettingsOpensearchResponseSettingsOpensearch struct {
AdditionalProperties *bool `json:"additionalProperties,omitempty"`
Properties map[string]any `json:"properties,omitempty"`
Title string `json:"title,omitempty"`
Type string `json:"type,omitempty"`
}
OpenSearch configuration values
type GetDBAASSettingsPGResponse ¶
type GetDBAASSettingsPGResponse struct {
Settings *GetDBAASSettingsPGResponseSettings `json:"settings,omitempty"`
}
type GetDBAASSettingsPGResponseSettings ¶
type GetDBAASSettingsPGResponseSettings struct {
// postgresql.conf configuration values
PG *GetDBAASSettingsPGResponseSettingsPG `json:"pg,omitempty"`
// PGBouncer connection pooling settings
Pgbouncer *GetDBAASSettingsPGResponseSettingsPgbouncer `json:"pgbouncer,omitempty"`
// PGLookout settings
Pglookout *GetDBAASSettingsPGResponseSettingsPglookout `json:"pglookout,omitempty"`
// TimescaleDB extension configuration values
Timescaledb *GetDBAASSettingsPGResponseSettingsTimescaledb `json:"timescaledb,omitempty"`
}
type GetDBAASSettingsPGResponseSettingsPG ¶
type GetDBAASSettingsPGResponseSettingsPG struct {
AdditionalProperties *bool `json:"additionalProperties,omitempty"`
Properties map[string]any `json:"properties,omitempty"`
Title string `json:"title,omitempty"`
Type string `json:"type,omitempty"`
}
postgresql.conf configuration values
type GetDBAASSettingsPGResponseSettingsPgbouncer ¶
type GetDBAASSettingsPGResponseSettingsPgbouncer struct {
AdditionalProperties *bool `json:"additionalProperties,omitempty"`
Properties map[string]any `json:"properties,omitempty"`
Title string `json:"title,omitempty"`
Type string `json:"type,omitempty"`
}
PGBouncer connection pooling settings
type GetDBAASSettingsPGResponseSettingsPglookout ¶
type GetDBAASSettingsPGResponseSettingsPglookout struct {
AdditionalProperties *bool `json:"additionalProperties,omitempty"`
Properties map[string]any `json:"properties,omitempty"`
Title string `json:"title,omitempty"`
Type string `json:"type,omitempty"`
}
PGLookout settings
type GetDBAASSettingsPGResponseSettingsTimescaledb ¶
type GetDBAASSettingsPGResponseSettingsTimescaledb struct {
AdditionalProperties *bool `json:"additionalProperties,omitempty"`
Properties map[string]any `json:"properties,omitempty"`
Title string `json:"title,omitempty"`
Type string `json:"type,omitempty"`
}
TimescaleDB extension configuration values
type GetDBAASSettingsThanosResponse ¶ added in v3.1.33
type GetDBAASSettingsThanosResponse struct {
Settings *GetDBAASSettingsThanosResponseSettings `json:"settings,omitempty"`
}
type GetDBAASSettingsThanosResponseSettings ¶ added in v3.1.33
type GetDBAASSettingsThanosResponseSettings struct {
// Thanos configuration values
Thanos *GetDBAASSettingsThanosResponseSettingsThanos `json:"thanos,omitempty"`
}
type GetDBAASSettingsThanosResponseSettingsThanos ¶ added in v3.1.33
type GetDBAASSettingsThanosResponseSettingsThanos struct {
AdditionalProperties *bool `json:"additionalProperties,omitempty"`
Properties map[string]any `json:"properties,omitempty"`
Title string `json:"title,omitempty"`
Type string `json:"type,omitempty"`
}
Thanos configuration values
type GetDBAASSettingsValkeyResponse ¶ added in v3.1.12
type GetDBAASSettingsValkeyResponse struct {
Settings *GetDBAASSettingsValkeyResponseSettings `json:"settings,omitempty"`
}
type GetDBAASSettingsValkeyResponseSettings ¶ added in v3.1.12
type GetDBAASSettingsValkeyResponseSettings struct {
// Valkey configuration values
Valkey *GetDBAASSettingsValkeyResponseSettingsValkey `json:"valkey,omitempty"`
}
type GetDBAASSettingsValkeyResponseSettingsValkey ¶ added in v3.1.12
type GetDBAASSettingsValkeyResponseSettingsValkey struct {
AdditionalProperties *bool `json:"additionalProperties,omitempty"`
Properties map[string]any `json:"properties,omitempty"`
Title string `json:"title,omitempty"`
Type string `json:"type,omitempty"`
}
Valkey configuration values
type GetDNSDomainZoneFileResponse ¶
type GetDNSDomainZoneFileResponse struct {
ZoneFile string `json:"zone-file,omitempty"`
}
type GetDeploymentLogsEntry ¶ added in v3.1.34
type GetDeploymentLogsEntry struct {
// Log message content
Message string `json:"message,omitempty"`
// Node identifier
Node string `json:"node,omitempty"`
// Timestamp of the log entry
Time string `json:"time,omitempty"`
}
A single log entry
type GetDeploymentLogsOpt ¶ added in v3.1.34
func GetDeploymentLogsWithStream ¶ added in v3.1.34
func GetDeploymentLogsWithStream(stream bool) GetDeploymentLogsOpt
func GetDeploymentLogsWithTail ¶ added in v3.1.34
func GetDeploymentLogsWithTail(tail int64) GetDeploymentLogsOpt
type GetDeploymentLogsResponse ¶ added in v3.1.29
type GetDeploymentLogsResponse struct {
// List of log entries
Logs []GetDeploymentLogsEntry `json:"logs,omitempty"`
}
Deployment logs
type GetDeploymentResponse ¶ added in v3.1.29
type GetDeploymentResponse struct {
// Creation time
CreatedAT time.Time `json:"created-at,omitempty"`
// Deployment URL (nullable)
DeploymentURL string `json:"deployment-url,omitempty"`
// Number of GPUs
GpuCount int64 `json:"gpu-count,omitempty" validate:"omitempty,gte=1"`
// GPU type family
GpuType string `json:"gpu-type,omitempty" validate:"omitempty,gte=1"`
// Deployment ID
ID UUID `json:"id,omitempty"`
// Optional extra inference engine server CLI args
InferenceEngineParameters []string `json:"inference-engine-parameters,omitempty"`
// Inference engine version
InferenceEngineVersion InferenceEngineVersion `json:"inference-engine-version,omitempty"`
Model *ModelRef `json:"model,omitempty"`
// Deployment name
Name string `json:"name,omitempty" validate:"omitempty,gte=1"`
// Number of replicas (>=0)
Replicas int64 `json:"replicas,omitempty" validate:"omitempty,gte=0"`
// Service level
ServiceLevel string `json:"service-level,omitempty" validate:"omitempty,gte=1"`
// Deployment state
State GetDeploymentResponseState `json:"state,omitempty"`
// Deployment state details
StateDetails string `json:"state-details,omitempty"`
// Update time
UpdatedAT time.Time `json:"updated-at,omitempty"`
}
AI deployment
type GetDeploymentResponseState ¶ added in v3.1.34
type GetDeploymentResponseState string
const ( GetDeploymentResponseStateReady GetDeploymentResponseState = "ready" GetDeploymentResponseStateCreating GetDeploymentResponseState = "creating" GetDeploymentResponseStateError GetDeploymentResponseState = "error" GetDeploymentResponseStateDeploying GetDeploymentResponseState = "deploying" )
type GetInferenceEngineHelpOpt ¶ added in v3.1.34
func GetInferenceEngineHelpWithVersion ¶ added in v3.1.34
func GetInferenceEngineHelpWithVersion(version string) GetInferenceEngineHelpOpt
type GetInferenceEngineHelpResponse ¶ added in v3.1.32
type GetInferenceEngineHelpResponse struct {
Parameters []InferenceEngineParameterEntry `json:"parameters,omitempty"`
}
List of allowed inference-engine parameters
type GetModelResponse ¶ added in v3.1.29
type GetModelResponse struct {
// Creation time
CreatedAT time.Time `json:"created-at,omitempty"`
// Model ID
ID UUID `json:"id,omitempty"`
// Model size (nullable)
ModelSize int64 `json:"model-size,omitempty" validate:"omitempty,gte=0"`
// Model name
Name string `json:"name,omitempty" validate:"omitempty,gte=1"`
// Model state
State GetModelResponseState `json:"state,omitempty"`
// Update time
UpdatedAT time.Time `json:"updated-at,omitempty"`
}
AI model
type GetModelResponseState ¶ added in v3.1.34
type GetModelResponseState string
const ( GetModelResponseStateReady GetModelResponseState = "ready" GetModelResponseStateCreating GetModelResponseState = "creating" GetModelResponseStateDownloading GetModelResponseState = "downloading" GetModelResponseStateError GetModelResponseState = "error" GetModelResponseStateCreated GetModelResponseState = "created" )
type GetOrganizationUsageResponse ¶ added in v3.1.34
type GetOrganizationUsageResponse struct {
// Total GPU count
Gpu int64 `json:"gpu,omitempty" validate:"omitempty,gte=0"`
}
GPU usage for an organization
type GetSKSClusterAuthorityCertAuthority ¶
type GetSKSClusterAuthorityCertAuthority string
const ( GetSKSClusterAuthorityCertAuthorityControlPlane GetSKSClusterAuthorityCertAuthority = "control-plane" GetSKSClusterAuthorityCertAuthorityAggregation GetSKSClusterAuthorityCertAuthority = "aggregation" GetSKSClusterAuthorityCertAuthorityKubelet GetSKSClusterAuthorityCertAuthority = "kubelet" )
type GetSKSClusterAuthorityCertResponse ¶
type GetSKSClusterAuthorityCertResponse struct {
Cacert string `json:"cacert,omitempty"`
}
type GetSOSPresignedURLOpt ¶
func GetSOSPresignedURLWithKey ¶
func GetSOSPresignedURLWithKey(key string) GetSOSPresignedURLOpt
type GetSOSPresignedURLResponse ¶
type GetSOSPresignedURLResponse struct {
URL string `json:"url,omitempty"`
}
type GetUsageReportOpt ¶ added in v3.1.15
func GetUsageReportWithPeriod ¶ added in v3.1.15
func GetUsageReportWithPeriod(period string) GetUsageReportOpt
type GetUsageReportResponse ¶ added in v3.1.15
type GetUsageReportResponse struct {
Usage []GetUsageReportResponseUsage `json:"usage,omitempty"`
}
type GetUsageReportResponseUsage ¶ added in v3.1.15
type GetUsageReportResponseUsage struct {
// Description
Description string `json:"description,omitempty"`
// Period Start Date
From string `json:"from,omitempty"`
// Product
Product string `json:"product,omitempty"`
// Quantity
Quantity string `json:"quantity,omitempty"`
// Period End Date
To string `json:"to,omitempty"`
// Unit
Unit string `json:"unit,omitempty"`
// Variable
Variable string `json:"variable,omitempty"`
}
Usage
type IAMAPIKey ¶
type IAMAPIKey struct {
// IAM API Key
Key string `json:"key,omitempty"`
// IAM API Key name
Name string `json:"name,omitempty"`
// IAM API Key Role ID
RoleID UUID `json:"role-id,omitempty"`
}
IAM API Key
type IAMAPIKeyCreated ¶
type IAMAPIKeyCreated struct {
// IAM API Key
Key string `json:"key,omitempty"`
// IAM API Key name
Name string `json:"name,omitempty"`
// IAM API Key Role ID
RoleID UUID `json:"role-id,omitempty"`
// IAM API Key Secret
Secret string `json:"secret,omitempty"`
}
IAM API Key
type IAMPolicy ¶
type IAMPolicy struct {
// IAM default service strategy
DefaultServiceStrategy IAMPolicyDefaultServiceStrategy `json:"default-service-strategy" validate:"required"`
// IAM services
Services map[string]IAMServicePolicy `json:"services" validate:"required"`
}
Policy
type IAMPolicyDefaultServiceStrategy ¶
type IAMPolicyDefaultServiceStrategy string
const ( IAMPolicyDefaultServiceStrategyAllow IAMPolicyDefaultServiceStrategy = "allow" IAMPolicyDefaultServiceStrategyDeny IAMPolicyDefaultServiceStrategy = "deny" )
type IAMRole ¶
type IAMRole struct {
// Policy
AssumeRolePolicy *IAMPolicy `json:"assume-role-policy,omitempty"`
// IAM Role description
Description string `json:"description,omitempty" validate:"omitempty,gte=1,lte=255"`
// IAM Role mutability
Editable *bool `json:"editable,omitempty"`
// IAM Role ID
ID UUID `json:"id,omitempty"`
Labels Labels `json:"labels,omitempty"`
// Maximum TTL requester is allowed to ask for when assuming a role
MaxSessionTtl int64 `json:"max-session-ttl,omitempty" validate:"omitempty,gt=0"`
// IAM Role name
Name string `json:"name,omitempty" validate:"omitempty,gte=1,lte=255"`
// IAM Role permissions
Permissions []string `json:"permissions,omitempty"`
// Policy
Policy *IAMPolicy `json:"policy,omitempty"`
}
IAM Role
type IAMServicePolicy ¶
type IAMServicePolicy struct {
Rules []IAMServicePolicyRule `json:"rules,omitempty"`
Type IAMServicePolicyType `json:"type,omitempty"`
}
type IAMServicePolicyRule ¶
type IAMServicePolicyRule struct {
Action IAMServicePolicyRuleAction `json:"action,omitempty"`
Expression string `json:"expression,omitempty"`
Resources []string `json:"resources,omitempty"`
}
type IAMServicePolicyRuleAction ¶
type IAMServicePolicyRuleAction string
const ( IAMServicePolicyRuleActionAllow IAMServicePolicyRuleAction = "allow" IAMServicePolicyRuleActionDeny IAMServicePolicyRuleAction = "deny" )
type IAMServicePolicyType ¶
type IAMServicePolicyType string
const ( IAMServicePolicyTypeRules IAMServicePolicyType = "rules" IAMServicePolicyTypeAllow IAMServicePolicyType = "allow" IAMServicePolicyTypeDeny IAMServicePolicyType = "deny" )
type InferenceEngineParameterEntry ¶ added in v3.1.32
type InferenceEngineParameterEntry struct {
// Allowed values
AllowedValues []string `json:"allowed-values,omitempty"`
// Default value if nothing is specified
Default string `json:"default,omitempty"`
// Parameter description
Description string `json:"description,omitempty"`
// Flag name
Flags []string `json:"flags,omitempty"`
// Parameter name
Name string `json:"name,omitempty"`
// Section
Section string `json:"section,omitempty"`
// Parameter type
Type string `json:"type,omitempty"`
}
inference-engine parameter definition
type InferenceEngineVersion ¶ added in v3.1.34
type InferenceEngineVersion string
Inference engine version
const ( InferenceEngineVersion0120 InferenceEngineVersion = "0.12.0" InferenceEngineVersion0151 InferenceEngineVersion = "0.15.1" )
type Instance ¶
type Instance struct {
// Instance Anti-affinity Groups
AntiAffinityGroups []AntiAffinityGroup `json:"anti-affinity-groups,omitempty"`
// Indicates if the instance will take application-consistent snapshots
ApplicationConsistentSnapshotEnabled *bool `json:"application-consistent-snapshot-enabled,omitempty"`
// Instance creation date
CreatedAT time.Time `json:"created-at,omitempty"`
// Deploy target reference
DeployTarget *DeployTarget `json:"deploy-target,omitempty"`
// Instance disk size in GiB
DiskSize int64 `json:"disk-size,omitempty" validate:"omitempty,gte=10,lte=51200"`
// Instance Elastic IPs
ElasticIPS []ElasticIP `json:"elastic-ips,omitempty"`
// Instance ID
ID UUID `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"`
// Instance MAC address
MACAddress string `json:"mac-address,omitempty"`
// Resource manager
Manager *Manager `json:"manager,omitempty"`
// Instance name
Name string `json:"name,omitempty" validate:"omitempty,gte=1,lte=255"`
// Instance Private Networks
PrivateNetworks []InstancePrivateNetworks `json:"private-networks,omitempty"`
// Instance public IPv4 address
PublicIP net.IP `json:"public-ip,omitempty"`
PublicIPAssignment PublicIPAssignment `json:"public-ip-assignment,omitempty"`
// Indicates if the instance has secure boot enabled
SecurebootEnabled *bool `json:"secureboot-enabled,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 SSH Keys
SSHKeys []SSHKey `json:"ssh-keys,omitempty"`
State InstanceState `json:"state,omitempty"`
// Instance template
Template *Template `json:"template,omitempty"`
// Indicates if the instance has tpm enabled
TpmEnabled *bool `json:"tpm-enabled,omitempty"`
// Instance Cloud-init user-data (base64 encoded)
UserData string `json:"user-data,omitempty" validate:"omitempty,gte=1"`
}
Instance
type InstancePassword ¶
type InstancePassword struct {
// Password
Password string `json:"password,omitempty"`
}
Instance password
type InstancePool ¶
type InstancePool struct {
// Instance Pool Anti-affinity Groups
AntiAffinityGroups []AntiAffinityGroup `json:"anti-affinity-groups,omitempty"`
// Enable application consistent snapshots
ApplicationConsistentSnapshotEnabled *bool `json:"application-consistent-snapshot-enabled,omitempty"`
// Deploy target reference
DeployTarget *DeployTarget `json:"deploy-target,omitempty"`
// Instance Pool description
Description string `json:"description,omitempty" validate:"omitempty,gte=1,lte=255"`
// Instances disk size in GiB
DiskSize int64 `json:"disk-size,omitempty" validate:"omitempty,gte=10,lte=51200"`
// Instances Elastic IPs
ElasticIPS []ElasticIP `json:"elastic-ips,omitempty"`
// Instance Pool ID
ID UUID `json:"id,omitempty"`
// The instances created by the Instance Pool will be prefixed with this value (default: pool)
InstancePrefix string `json:"instance-prefix,omitempty" validate:"omitempty,gte=1,lte=30"`
// Instance type reference
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"`
// Minimum number of running instances
MinAvailable int64 `json:"min-available,omitempty" validate:"omitempty,gte=0"`
// Instance Pool name
Name string `json:"name,omitempty" validate:"omitempty,gte=1,lte=255"`
// Instance Pool Private Networks
PrivateNetworks []PrivateNetwork `json:"private-networks,omitempty"`
PublicIPAssignment PublicIPAssignment `json:"public-ip-assignment,omitempty"`
// Instance Pool Security Groups
SecurityGroups []SecurityGroup `json:"security-groups,omitempty"`
// Number of instances
Size int64 `json:"size,omitempty" validate:"omitempty,gt=0"`
// SSH key reference
SSHKey *SSHKey `json:"ssh-key,omitempty"`
// Instances SSH keys
SSHKeys []SSHKey `json:"ssh-keys,omitempty"`
// Instance Pool state
State InstancePoolState `json:"state,omitempty"`
// Template reference
Template *Template `json:"template,omitempty"`
// Instances Cloud-init user-data
UserData string `json:"user-data,omitempty" validate:"omitempty,gte=1"`
}
Instance Pool
type InstancePoolRef ¶ added in v3.1.34
type InstancePoolRef struct {
// Instance Pool ID
ID UUID `json:"id,omitempty"`
}
Target Instance Pool
type InstancePoolState ¶
type InstancePoolState string
const ( InstancePoolStateScalingUP InstancePoolState = "scaling-up" InstancePoolStateScalingDown InstancePoolState = "scaling-down" InstancePoolStateDestroying InstancePoolState = "destroying" InstancePoolStateCreating InstancePoolState = "creating" InstancePoolStateSuspended InstancePoolState = "suspended" InstancePoolStateRunning InstancePoolState = "running" InstancePoolStateUpdating InstancePoolState = "updating" )
type InstancePrivateNetworks ¶
type InstancePrivateNetworks struct {
// Private Network ID
ID UUID `json:"id,omitempty"`
// Private Network MAC address
MACAddress string `json:"mac-address,omitempty"`
}
Private Network
type InstanceRef ¶ added in v3.1.34
type InstanceRef struct {
// Instance ID
ID UUID `json:"id,omitempty"`
}
Target Instance
type InstanceState ¶
type InstanceState string
const ( InstanceStateExpunging InstanceState = "expunging" InstanceStateStarting InstanceState = "starting" InstanceStateDestroying InstanceState = "destroying" InstanceStateRunning InstanceState = "running" InstanceStateStopping InstanceState = "stopping" InstanceStateStopped InstanceState = "stopped" InstanceStateMigrating InstanceState = "migrating" InstanceStateError InstanceState = "error" InstanceStateDestroyed InstanceState = "destroyed" )
type InstanceTarget ¶
type InstanceTarget = InstanceRef
type InstanceType ¶
type InstanceType struct {
// Requires authorization or publicly available
Authorized *bool `json:"authorized,omitempty"`
// CPU count
Cpus int64 `json:"cpus,omitempty" validate:"omitempty,gt=0"`
// Instance type family
Family InstanceTypeFamily `json:"family,omitempty"`
// GPU count
Gpus int64 `json:"gpus,omitempty" validate:"omitempty,gt=0"`
// Instance type ID
ID UUID `json:"id,omitempty"`
// Available memory
Memory int64 `json:"memory,omitempty" validate:"omitempty,gt=0"`
// Instance type size
Size InstanceTypeSize `json:"size,omitempty"`
// Instance Type available zones
Zones []ZoneName `json:"zones,omitempty"`
}
Compute instance type
type InstanceTypeEntry ¶ added in v3.1.34
type InstanceTypeEntry struct {
// Whether this instance type is authorized based on server availability
Authorized *bool `json:"authorized,omitempty"`
// GPU family name
Family string `json:"family,omitempty"`
}
Instance type with authorization status
type InstanceTypeFamily ¶
type InstanceTypeFamily string
const ( InstanceTypeFamilyGpu3 InstanceTypeFamily = "gpu3" InstanceTypeFamilyGpua30 InstanceTypeFamily = "gpua30" InstanceTypeFamilyGpu3080ti InstanceTypeFamily = "gpu3080ti" InstanceTypeFamilyGpu2 InstanceTypeFamily = "gpu2" InstanceTypeFamilyGpu InstanceTypeFamily = "gpu" InstanceTypeFamilyMemory InstanceTypeFamily = "memory" InstanceTypeFamilyGpua5000 InstanceTypeFamily = "gpua5000" InstanceTypeFamilyGpurtx6000pro InstanceTypeFamily = "gpurtx6000pro" InstanceTypeFamilyStorage InstanceTypeFamily = "storage" InstanceTypeFamilyStandard InstanceTypeFamily = "standard" InstanceTypeFamilyColossus InstanceTypeFamily = "colossus" InstanceTypeFamilyCPU InstanceTypeFamily = "cpu" )
type InstanceTypeRef ¶ added in v3.1.34
type InstanceTypeRef struct {
// Instance type ID
ID UUID `json:"id,omitempty"`
}
Instance type reference
type InstanceTypeSize ¶
type InstanceTypeSize string
const ( InstanceTypeSizeLarge InstanceTypeSize = "large" InstanceTypeSizeHuge InstanceTypeSize = "huge" InstanceTypeSizeJumbo InstanceTypeSize = "jumbo" InstanceTypeSizeMedium InstanceTypeSize = "medium" InstanceTypeSizeMega InstanceTypeSize = "mega" InstanceTypeSizeSmall InstanceTypeSize = "small" InstanceTypeSizeExtraLarge InstanceTypeSize = "extra-large" InstanceTypeSizeTitan48c InstanceTypeSize = "titan48c" InstanceTypeSizeTitan InstanceTypeSize = "titan" InstanceTypeSizeMicro InstanceTypeSize = "micro" InstanceTypeSizeColossus InstanceTypeSize = "colossus" InstanceTypeSizeTiny InstanceTypeSize = "tiny" )
type JSONSchemaGrafana ¶
type JSONSchemaGrafana struct {
// Enable or disable Grafana legacy alerting functionality. This should not be enabled with unified_alerting_enabled.
AlertingEnabled *bool `json:"alerting_enabled,omitempty"`
// Default error or timeout setting for new alerting rules
AlertingErrorORTimeout JSONSchemaGrafanaAlertingErrorORTimeout `json:"alerting_error_or_timeout,omitempty"`
// Max number of alert annotations that Grafana stores. 0 (default) keeps all alert annotations.
AlertingMaxAnnotationsToKeep int `json:"alerting_max_annotations_to_keep,omitempty" validate:"omitempty,gte=0,lte=1e+06"`
// Default value for 'no data or null values' for new alerting rules
AlertingNodataORNullvalues JSONSchemaGrafanaAlertingNodataORNullvalues `json:"alerting_nodata_or_nullvalues,omitempty"`
// Allow embedding Grafana dashboards with iframe/frame/object/embed tags. Disabled by default to limit impact of clickjacking
AllowEmbedding *bool `json:"allow_embedding,omitempty"`
// Azure AD OAuth integration
AuthAzuread *JSONSchemaGrafanaAuthAzuread `json:"auth_azuread,omitempty"`
// Enable or disable basic authentication form, used by Grafana built-in login
AuthBasicEnabled *bool `json:"auth_basic_enabled,omitempty"`
// Generic OAuth integration
AuthGenericOauth *JSONSchemaGrafanaAuthGenericOauth `json:"auth_generic_oauth,omitempty"`
// Github Auth integration
AuthGithub *JSONSchemaGrafanaAuthGithub `json:"auth_github,omitempty"`
// GitLab Auth integration
AuthGitlab *JSONSchemaGrafanaAuthGitlab `json:"auth_gitlab,omitempty"`
// Google Auth integration
AuthGoogle *JSONSchemaGrafanaAuthGoogle `json:"auth_google,omitempty"`
// Cookie SameSite attribute: 'strict' prevents sending cookie for cross-site requests, effectively disabling direct linking from other sites to Grafana. 'lax' is the default value.
CookieSamesite JSONSchemaGrafanaCookieSamesite `json:"cookie_samesite,omitempty"`
// Serve the web frontend using a custom CNAME pointing to the Aiven DNS name
CustomDomain *string `json:"custom_domain,omitempty" validate:"omitempty,lte=255"`
// This feature is new in Grafana 9 and is quite resource intensive. It may cause low-end plans to work more slowly while the dashboard previews are rendering.
DashboardPreviewsEnabled *bool `json:"dashboard_previews_enabled,omitempty"`
// Signed sequence of decimal numbers, followed by a unit suffix (ms, s, m, h, d), e.g. 30s, 1h
DashboardsMinRefreshInterval string `json:"dashboards_min_refresh_interval,omitempty" validate:"omitempty,lte=16"`
// Dashboard versions to keep per dashboard
DashboardsVersionsToKeep int `json:"dashboards_versions_to_keep,omitempty" validate:"omitempty,gte=1,lte=100"`
// Send 'X-Grafana-User' header to data source
DataproxySendUserHeader *bool `json:"dataproxy_send_user_header,omitempty"`
// Timeout for data proxy requests in seconds
DataproxyTimeout int `json:"dataproxy_timeout,omitempty" validate:"omitempty,gte=15,lte=90"`
// Grafana date format specifications
DateFormats *JSONSchemaGrafanaDateFormats `json:"date_formats,omitempty"`
// Set to true to disable gravatar. Defaults to false (gravatar is enabled)
DisableGravatar *bool `json:"disable_gravatar,omitempty"`
// Editors can manage folders, teams and dashboards created by them
EditorsCanAdmin *bool `json:"editors_can_admin,omitempty"`
// Google Analytics ID
GoogleAnalyticsUAID string `json:"google_analytics_ua_id,omitempty" validate:"omitempty,lte=64"`
// Enable Grafana /metrics endpoint
MetricsEnabled *bool `json:"metrics_enabled,omitempty"`
// Enforce user lookup based on email instead of the unique ID provided by the IdP
OauthAllowInsecureEmailLookup *bool `json:"oauth_allow_insecure_email_lookup,omitempty"`
// Store logs for the service so that they are available in the HTTP API and console.
ServiceLog *bool `json:"service_log,omitempty"`
// SMTP server settings
SMTPServer *JSONSchemaGrafanaSMTPServer `json:"smtp_server,omitempty"`
// Enable or disable Grafana unified alerting functionality. By default this is enabled and any legacy alerts will be migrated on upgrade to Grafana 9+. To stay on legacy alerting, set unified_alerting_enabled to false and alerting_enabled to true. See https://grafana.com/docs/grafana/latest/alerting/set-up/migrating-alerts/ for more details.
UnifiedAlertingEnabled *bool `json:"unified_alerting_enabled,omitempty"`
// Auto-assign new users on signup to main organization. Defaults to false
UserAutoAssignOrg *bool `json:"user_auto_assign_org,omitempty"`
// Set role for new signups. Defaults to Viewer
UserAutoAssignOrgRole JSONSchemaGrafanaUserAutoAssignOrgRole `json:"user_auto_assign_org_role,omitempty"`
// Users with view-only permission can edit but not save dashboards
ViewersCanEdit *bool `json:"viewers_can_edit,omitempty"`
// Setting to enable/disable Write-Ahead Logging. The default value is false (disabled).
Wal *bool `json:"wal,omitempty"`
}
Grafana settings
type JSONSchemaGrafanaAlertingErrorORTimeout ¶
type JSONSchemaGrafanaAlertingErrorORTimeout string
const ( JSONSchemaGrafanaAlertingErrorORTimeoutAlerting JSONSchemaGrafanaAlertingErrorORTimeout = "alerting" JSONSchemaGrafanaAlertingErrorORTimeoutKeepState JSONSchemaGrafanaAlertingErrorORTimeout = "keep_state" )
type JSONSchemaGrafanaAlertingNodataORNullvalues ¶
type JSONSchemaGrafanaAlertingNodataORNullvalues string
const ( JSONSchemaGrafanaAlertingNodataORNullvaluesAlerting JSONSchemaGrafanaAlertingNodataORNullvalues = "alerting" JSONSchemaGrafanaAlertingNodataORNullvaluesNOData JSONSchemaGrafanaAlertingNodataORNullvalues = "no_data" JSONSchemaGrafanaAlertingNodataORNullvaluesKeepState JSONSchemaGrafanaAlertingNodataORNullvalues = "keep_state" JSONSchemaGrafanaAlertingNodataORNullvaluesOk JSONSchemaGrafanaAlertingNodataORNullvalues = "ok" )
type JSONSchemaGrafanaAuthAzuread ¶ added in v3.1.19
type JSONSchemaGrafanaAuthAzuread struct {
// Automatically sign-up users on successful sign-in
AllowSignUP *bool `json:"allow_sign_up,omitempty"`
// Allowed domains
AllowedDomains []string `json:"allowed_domains,omitempty"`
// Require users to belong to one of given groups
AllowedGroups []string `json:"allowed_groups,omitempty"`
// Authorization URL
AuthURL string `json:"auth_url" validate:"required,lte=2048"`
// Client ID from provider
ClientID string `json:"client_id" validate:"required,lte=1024"`
// Client secret from provider
ClientSecret string `json:"client_secret" validate:"required,lte=1024"`
// Token URL
TokenURL string `json:"token_url" validate:"required,lte=2048"`
}
Azure AD OAuth integration
type JSONSchemaGrafanaAuthGenericOauth ¶ added in v3.1.19
type JSONSchemaGrafanaAuthGenericOauth struct {
// Automatically sign-up users on successful sign-in
AllowSignUP *bool `json:"allow_sign_up,omitempty"`
// Allowed domains
AllowedDomains []string `json:"allowed_domains,omitempty"`
// Require user to be member of one of the listed organizations
AllowedOrganizations []string `json:"allowed_organizations,omitempty"`
// API URL
APIURL string `json:"api_url" validate:"required,lte=2048"`
// Authorization URL
AuthURL string `json:"auth_url" validate:"required,lte=2048"`
// Allow users to bypass the login screen and automatically log in
AutoLogin *bool `json:"auto_login,omitempty"`
// Client ID from provider
ClientID string `json:"client_id" validate:"required,lte=1024"`
// Client secret from provider
ClientSecret string `json:"client_secret" validate:"required,lte=1024"`
// Name of the OAuth integration
Name string `json:"name,omitempty" validate:"omitempty,lte=128"`
// OAuth scopes
Scopes []string `json:"scopes,omitempty"`
// Token URL
TokenURL string `json:"token_url" validate:"required,lte=2048"`
}
Generic OAuth integration
type JSONSchemaGrafanaAuthGithub ¶ added in v3.1.19
type JSONSchemaGrafanaAuthGithub struct {
// Automatically sign-up users on successful sign-in
AllowSignUP *bool `json:"allow_sign_up,omitempty"`
// Require users to belong to one of given organizations
AllowedOrganizations []string `json:"allowed_organizations,omitempty"`
// Allow users to bypass the login screen and automatically log in
AutoLogin *bool `json:"auto_login,omitempty"`
// Client ID from provider
ClientID string `json:"client_id" validate:"required,lte=1024"`
// Client secret from provider
ClientSecret string `json:"client_secret" validate:"required,lte=1024"`
// Stop automatically syncing user roles
SkipOrgRoleSync *bool `json:"skip_org_role_sync,omitempty"`
// Require users to belong to one of given team IDs
TeamIDS []int `json:"team_ids,omitempty"`
}
Github Auth integration
type JSONSchemaGrafanaAuthGitlab ¶ added in v3.1.19
type JSONSchemaGrafanaAuthGitlab struct {
// Automatically sign-up users on successful sign-in
AllowSignUP *bool `json:"allow_sign_up,omitempty"`
// Require users to belong to one of given groups
AllowedGroups []string `json:"allowed_groups" validate:"required"`
// API URL. This only needs to be set when using self hosted GitLab
APIURL string `json:"api_url,omitempty" validate:"omitempty,lte=2048"`
// Authorization URL. This only needs to be set when using self hosted GitLab
AuthURL string `json:"auth_url,omitempty" validate:"omitempty,lte=2048"`
// Client ID from provider
ClientID string `json:"client_id" validate:"required,lte=1024"`
// Client secret from provider
ClientSecret string `json:"client_secret" validate:"required,lte=1024"`
// Token URL. This only needs to be set when using self hosted GitLab
TokenURL string `json:"token_url,omitempty" validate:"omitempty,lte=2048"`
}
GitLab Auth integration
type JSONSchemaGrafanaAuthGoogle ¶ added in v3.1.19
type JSONSchemaGrafanaAuthGoogle struct {
// Automatically sign-up users on successful sign-in
AllowSignUP *bool `json:"allow_sign_up,omitempty"`
// Domains allowed to sign-in to this Grafana
AllowedDomains []string `json:"allowed_domains" validate:"required"`
// Client ID from provider
ClientID string `json:"client_id" validate:"required,lte=1024"`
// Client secret from provider
ClientSecret string `json:"client_secret" validate:"required,lte=1024"`
}
Google Auth integration
type JSONSchemaGrafanaCookieSamesite ¶
type JSONSchemaGrafanaCookieSamesite string
const ( JSONSchemaGrafanaCookieSamesiteLax JSONSchemaGrafanaCookieSamesite = "lax" JSONSchemaGrafanaCookieSamesiteStrict JSONSchemaGrafanaCookieSamesite = "strict" JSONSchemaGrafanaCookieSamesiteNone JSONSchemaGrafanaCookieSamesite = "none" )
type JSONSchemaGrafanaDateFormats ¶ added in v3.1.19
type JSONSchemaGrafanaDateFormats struct {
// Default time zone for user preferences. Value 'browser' uses browser local time zone.
DefaultTimezone string `json:"default_timezone,omitempty" validate:"omitempty,lte=64"`
// Moment.js style format string for cases where full date is shown
FullDate string `json:"full_date,omitempty" validate:"omitempty,lte=128"`
// Moment.js style format string used when a time requiring day accuracy is shown
IntervalDay string `json:"interval_day,omitempty" validate:"omitempty,lte=128"`
// Moment.js style format string used when a time requiring hour accuracy is shown
IntervalHour string `json:"interval_hour,omitempty" validate:"omitempty,lte=128"`
// Moment.js style format string used when a time requiring minute accuracy is shown
IntervalMinute string `json:"interval_minute,omitempty" validate:"omitempty,lte=128"`
// Moment.js style format string used when a time requiring month accuracy is shown
IntervalMonth string `json:"interval_month,omitempty" validate:"omitempty,lte=128"`
// Moment.js style format string used when a time requiring second accuracy is shown
IntervalSecond string `json:"interval_second,omitempty" validate:"omitempty,lte=128"`
// Moment.js style format string used when a time requiring year accuracy is shown
IntervalYear string `json:"interval_year,omitempty" validate:"omitempty,lte=128"`
}
Grafana date format specifications
type JSONSchemaGrafanaSMTPServer ¶ added in v3.1.19
type JSONSchemaGrafanaSMTPServer struct {
// Address used for sending emails
FromAddress string `json:"from_address" validate:"required,lte=319"`
// Name used in outgoing emails, defaults to Grafana
FromName *string `json:"from_name,omitempty" validate:"omitempty,lte=128"`
// Server hostname or IP
Host string `json:"host" validate:"required,lte=255"`
// Password for SMTP authentication
Password *string `json:"password,omitempty" validate:"omitempty,lte=255"`
// SMTP server port
Port int `json:"port" validate:"required,gte=1,lte=65535"`
// Skip verifying server certificate. Defaults to false
SkipVerify *bool `json:"skip_verify,omitempty"`
// Either OpportunisticStartTLS, MandatoryStartTLS or NoStartTLS. Default is OpportunisticStartTLS.
StarttlsPolicy JSONSchemaGrafanaSMTPServerStarttlsPolicy `json:"starttls_policy,omitempty"`
// Username for SMTP authentication
Username *string `json:"username,omitempty" validate:"omitempty,lte=255"`
}
SMTP server settings
type JSONSchemaGrafanaSMTPServerStarttlsPolicy ¶ added in v3.1.19
type JSONSchemaGrafanaSMTPServerStarttlsPolicy string
const ( JSONSchemaGrafanaSMTPServerStarttlsPolicyOpportunisticStartTLS JSONSchemaGrafanaSMTPServerStarttlsPolicy = "OpportunisticStartTLS" JSONSchemaGrafanaSMTPServerStarttlsPolicyMandatoryStartTLS JSONSchemaGrafanaSMTPServerStarttlsPolicy = "MandatoryStartTLS" JSONSchemaGrafanaSMTPServerStarttlsPolicyNoStartTLS JSONSchemaGrafanaSMTPServerStarttlsPolicy = "NoStartTLS" )
type JSONSchemaGrafanaUserAutoAssignOrgRole ¶
type JSONSchemaGrafanaUserAutoAssignOrgRole string
const ( JSONSchemaGrafanaUserAutoAssignOrgRoleViewer JSONSchemaGrafanaUserAutoAssignOrgRole = "Viewer" JSONSchemaGrafanaUserAutoAssignOrgRoleAdmin JSONSchemaGrafanaUserAutoAssignOrgRole = "Admin" JSONSchemaGrafanaUserAutoAssignOrgRoleEditor JSONSchemaGrafanaUserAutoAssignOrgRole = "Editor" )
type JSONSchemaKafka ¶
type JSONSchemaKafka struct {
// Enable auto creation of topics
AutoCreateTopicsEnable *bool `json:"auto_create_topics_enable,omitempty"`
// Specify the final compression type for a given topic. This configuration accepts the standard compression codecs ('gzip', 'snappy', 'lz4', 'zstd'). It additionally accepts 'uncompressed' which is equivalent to no compression; and 'producer' which means retain the original compression codec set by the producer.
CompressionType JSONSchemaKafkaCompressionType `json:"compression_type,omitempty"`
// Idle connections timeout: the server socket processor threads close the connections that idle for longer than this.
ConnectionsMaxIdleMS int `json:"connections_max_idle_ms,omitempty" validate:"omitempty,gte=1000,lte=3.6e+06"`
// Replication factor for autocreated topics
DefaultReplicationFactor int `json:"default_replication_factor,omitempty" validate:"omitempty,gte=1,lte=10"`
// The amount of time, in milliseconds, the group coordinator will wait for more consumers to join a new group before performing the first rebalance. A longer delay means potentially fewer rebalances, but increases the time until processing begins. The default value for this is 3 seconds. During development and testing it might be desirable to set this to 0 in order to not delay test execution time.
GroupInitialRebalanceDelayMS int `json:"group_initial_rebalance_delay_ms,omitempty" validate:"omitempty,gte=0,lte=300000"`
// The maximum allowed session timeout for registered consumers. Longer timeouts give consumers more time to process messages in between heartbeats at the cost of a longer time to detect failures.
GroupMaxSessionTimeoutMS int `json:"group_max_session_timeout_ms,omitempty" validate:"omitempty,gte=0,lte=1.8e+06"`
// The minimum allowed session timeout for registered consumers. Longer timeouts give consumers more time to process messages in between heartbeats at the cost of a longer time to detect failures.
GroupMinSessionTimeoutMS int `json:"group_min_session_timeout_ms,omitempty" validate:"omitempty,gte=0,lte=60000"`
// Configure log cleaner for topic compaction
LogCleanupAndCompaction *JSONSchemaKafkaLogCleanupAndCompaction `json:"log-cleanup-and-compaction,omitempty"`
// The number of messages accumulated on a log partition before messages are flushed to disk
LogFlushIntervalMessages int `json:"log_flush_interval_messages,omitempty" validate:"omitempty,gte=1,lte=9.223372036854776e+18"`
// The maximum time in ms that a message in any topic is kept in memory before flushed to disk. If not set, the value in log.flush.scheduler.interval.ms is used
LogFlushIntervalMS int `json:"log_flush_interval_ms,omitempty" validate:"omitempty,gte=0,lte=9.223372036854776e+18"`
// The interval with which Kafka adds an entry to the offset index
LogIndexIntervalBytes int `json:"log_index_interval_bytes,omitempty" validate:"omitempty,gte=0,lte=1.048576e+08"`
// The maximum size in bytes of the offset index
LogIndexSizeMaxBytes int `json:"log_index_size_max_bytes,omitempty" validate:"omitempty,gte=1.048576e+06,lte=1.048576e+08"`
// The maximum size of local log segments that can grow for a partition before it gets eligible for deletion. If set to -2, the value of log.retention.bytes is used. The effective value should always be less than or equal to log.retention.bytes value.
LogLocalRetentionBytes int `json:"log_local_retention_bytes,omitempty" validate:"omitempty,gte=-2,lte=9.223372036854776e+18"`
// The number of milliseconds to keep the local log segments before it gets eligible for deletion. If set to -2, the value of log.retention.ms is used. The effective value should always be less than or equal to log.retention.ms value.
LogLocalRetentionMS int `json:"log_local_retention_ms,omitempty" validate:"omitempty,gte=-2,lte=9.223372036854776e+18"`
// This configuration controls whether down-conversion of message formats is enabled to satisfy consume requests.
LogMessageDownconversionEnable *bool `json:"log_message_downconversion_enable,omitempty"`
// The maximum difference allowed between the timestamp when a broker receives a message and the timestamp specified in the message
LogMessageTimestampDifferenceMaxMS int `json:"log_message_timestamp_difference_max_ms,omitempty" validate:"omitempty,gte=0,lte=9.223372036854776e+18"`
// Define whether the timestamp in the message is message create time or log append time.
LogMessageTimestampType JSONSchemaKafkaLogMessageTimestampType `json:"log_message_timestamp_type,omitempty"`
// Should pre allocate file when create new segment?
LogPreallocate *bool `json:"log_preallocate,omitempty"`
// The maximum size of the log before deleting messages
LogRetentionBytes int `json:"log_retention_bytes,omitempty" validate:"omitempty,gte=-1,lte=9.223372036854776e+18"`
// The number of hours to keep a log file before deleting it
LogRetentionHours int `json:"log_retention_hours,omitempty" validate:"omitempty,gte=-1,lte=2.147483647e+09"`
// The number of milliseconds to keep a log file before deleting it (in milliseconds), If not set, the value in log.retention.minutes is used. If set to -1, no time limit is applied.
LogRetentionMS int `json:"log_retention_ms,omitempty" validate:"omitempty,gte=-1,lte=9.223372036854776e+18"`
// The maximum jitter to subtract from logRollTimeMillis (in milliseconds). If not set, the value in log.roll.jitter.hours is used
LogRollJitterMS int `json:"log_roll_jitter_ms,omitempty" validate:"omitempty,gte=0,lte=9.223372036854776e+18"`
// The maximum time before a new log segment is rolled out (in milliseconds).
LogRollMS int `json:"log_roll_ms,omitempty" validate:"omitempty,gte=1,lte=9.223372036854776e+18"`
// The maximum size of a single log file
LogSegmentBytes int `json:"log_segment_bytes,omitempty" validate:"omitempty,gte=1.048576e+07,lte=1.073741824e+09"`
// The amount of time to wait before deleting a file from the filesystem
LogSegmentDeleteDelayMS int `json:"log_segment_delete_delay_ms,omitempty" validate:"omitempty,gte=0,lte=3.6e+06"`
// The maximum number of connections allowed from each ip address (defaults to 2147483647).
MaxConnectionsPerIP int `json:"max_connections_per_ip,omitempty" validate:"omitempty,gte=256,lte=2.147483647e+09"`
// The maximum number of incremental fetch sessions that the broker will maintain.
MaxIncrementalFetchSessionCacheSlots int `json:"max_incremental_fetch_session_cache_slots,omitempty" validate:"omitempty,gte=1000,lte=10000"`
// The maximum size of message that the server can receive.
MessageMaxBytes int `json:"message_max_bytes,omitempty" validate:"omitempty,gte=0,lte=1.000012e+08"`
// When a producer sets acks to 'all' (or '-1'), min.insync.replicas specifies the minimum number of replicas that must acknowledge a write for the write to be considered successful.
MinInsyncReplicas int `json:"min_insync_replicas,omitempty" validate:"omitempty,gte=1,lte=7"`
// Number of partitions for autocreated topics
NumPartitions int `json:"num_partitions,omitempty" validate:"omitempty,gte=1,lte=1000"`
// Log retention window in minutes for offsets topic
OffsetsRetentionMinutes int `json:"offsets_retention_minutes,omitempty" validate:"omitempty,gte=1,lte=2.147483647e+09"`
// The purge interval (in number of requests) of the producer request purgatory(defaults to 1000).
ProducerPurgatoryPurgeIntervalRequests int `json:"producer_purgatory_purge_interval_requests,omitempty" validate:"omitempty,gte=10,lte=10000"`
// The number of bytes of messages to attempt to fetch for each partition (defaults to 1048576). This is not an absolute maximum, if the first record batch in the first non-empty partition of the fetch is larger than this value, the record batch will still be returned to ensure that progress can be made.
ReplicaFetchMaxBytes int `json:"replica_fetch_max_bytes,omitempty" validate:"omitempty,gte=1.048576e+06,lte=1.048576e+08"`
// Maximum bytes expected for the entire fetch response (defaults to 10485760). Records are fetched in batches, and if the first record batch in the first non-empty partition of the fetch is larger than this value, the record batch will still be returned to ensure that progress can be made. As such, this is not an absolute maximum.
ReplicaFetchResponseMaxBytes int `json:"replica_fetch_response_max_bytes,omitempty" validate:"omitempty,gte=1.048576e+07,lte=1.048576e+09"`
// The (optional) comma-delimited setting for the broker to use to verify that the JWT was issued for one of the expected audiences.
SaslOauthbearerExpectedAudience string `json:"sasl_oauthbearer_expected_audience,omitempty" validate:"omitempty,lte=128"`
// Optional setting for the broker to use to verify that the JWT was created by the expected issuer.
SaslOauthbearerExpectedIssuer string `json:"sasl_oauthbearer_expected_issuer,omitempty" validate:"omitempty,lte=128"`
// OIDC JWKS endpoint URL. By setting this the SASL SSL OAuth2/OIDC authentication is enabled. See also other options for SASL OAuth2/OIDC.
SaslOauthbearerJwksEndpointURL string `json:"sasl_oauthbearer_jwks_endpoint_url,omitempty" validate:"omitempty,lte=2048"`
// Name of the scope from which to extract the subject claim from the JWT. Defaults to sub.
SaslOauthbearerSubClaimName string `json:"sasl_oauthbearer_sub_claim_name,omitempty" validate:"omitempty,lte=128"`
// The maximum number of bytes in a socket request (defaults to 104857600).
SocketRequestMaxBytes int `json:"socket_request_max_bytes,omitempty" validate:"omitempty,gte=1.048576e+07,lte=2.097152e+08"`
// Enable verification that checks that the partition has been added to the transaction before writing transactional records to the partition
TransactionPartitionVerificationEnable *bool `json:"transaction_partition_verification_enable,omitempty"`
// The interval at which to remove transactions that have expired due to transactional.id.expiration.ms passing (defaults to 3600000 (1 hour)).
TransactionRemoveExpiredTransactionCleanupIntervalMS int `json:"transaction_remove_expired_transaction_cleanup_interval_ms,omitempty" validate:"omitempty,gte=600000,lte=3.6e+06"`
// The transaction topic segment bytes should be kept relatively small in order to facilitate faster log compaction and cache loads (defaults to 104857600 (100 mebibytes)).
TransactionStateLogSegmentBytes int `json:"transaction_state_log_segment_bytes,omitempty" validate:"omitempty,gte=1.048576e+06,lte=2.147483647e+09"`
}
Kafka broker configuration values
type JSONSchemaKafkaCompressionType ¶ added in v3.1.8
type JSONSchemaKafkaCompressionType string
const ( JSONSchemaKafkaCompressionTypeGzip JSONSchemaKafkaCompressionType = "gzip" JSONSchemaKafkaCompressionTypeSnappy JSONSchemaKafkaCompressionType = "snappy" JSONSchemaKafkaCompressionTypeLz4 JSONSchemaKafkaCompressionType = "lz4" JSONSchemaKafkaCompressionTypeZstd JSONSchemaKafkaCompressionType = "zstd" JSONSchemaKafkaCompressionTypeUncompressed JSONSchemaKafkaCompressionType = "uncompressed" JSONSchemaKafkaCompressionTypeProducer JSONSchemaKafkaCompressionType = "producer" )
type JSONSchemaKafkaConnect ¶
type JSONSchemaKafkaConnect struct {
// Defines what client configurations can be overridden by the connector. Default is None
ConnectorClientConfigOverridePolicy JSONSchemaKafkaConnectConnectorClientConfigOverridePolicy `json:"connector_client_config_override_policy,omitempty"`
// What to do when there is no initial offset in Kafka or if the current offset does not exist any more on the server. Default is earliest
ConsumerAutoOffsetReset JSONSchemaKafkaConnectConsumerAutoOffsetReset `json:"consumer_auto_offset_reset,omitempty"`
// Records are fetched in batches by the consumer, and if the first record batch in the first non-empty partition of the fetch is larger than this value, the record batch will still be returned to ensure that the consumer can make progress. As such, this is not a absolute maximum.
ConsumerFetchMaxBytes int `json:"consumer_fetch_max_bytes,omitempty" validate:"omitempty,gte=1.048576e+06,lte=1.048576e+08"`
// Transaction read isolation level. read_uncommitted is the default, but read_committed can be used if consume-exactly-once behavior is desired.
ConsumerIsolationLevel JSONSchemaKafkaConnectConsumerIsolationLevel `json:"consumer_isolation_level,omitempty"`
// Records are fetched in batches by the consumer.If the first record batch in the first non-empty partition of the fetch is larger than this limit, the batch will still be returned to ensure that the consumer can make progress.
ConsumerMaxPartitionFetchBytes int `json:"consumer_max_partition_fetch_bytes,omitempty" validate:"omitempty,gte=1.048576e+06,lte=1.048576e+08"`
// The maximum delay in milliseconds between invocations of poll() when using consumer group management (defaults to 300000).
ConsumerMaxPollIntervalMS int `json:"consumer_max_poll_interval_ms,omitempty" validate:"omitempty,gte=1,lte=2.147483647e+09"`
// The maximum number of records returned in a single call to poll() (defaults to 500).
ConsumerMaxPollRecords int `json:"consumer_max_poll_records,omitempty" validate:"omitempty,gte=1,lte=10000"`
// The interval at which to try committing offsets for tasks (defaults to 60000).
OffsetFlushIntervalMS int `json:"offset_flush_interval_ms,omitempty" validate:"omitempty,gte=1,lte=1e+08"`
// Maximum number of milliseconds to wait for records to flush and partition offset data to be committed to offset storage before cancelling the process and restoring the offset data to be committed in a future attempt (defaults to 5000).
OffsetFlushTimeoutMS int `json:"offset_flush_timeout_ms,omitempty" validate:"omitempty,gte=1,lte=2.147483647e+09"`
// This setting gives the upper bound of the batch size to be sent. If there are fewer than this many bytes accumulated for this partition, the producer will 'linger' for the linger.ms time waiting for more records to show up. A batch size of zero will disable batching entirely (defaults to 16384).
ProducerBatchSize int `json:"producer_batch_size,omitempty" validate:"omitempty,gte=0,lte=5.24288e+06"`
// The total bytes of memory the producer can use to buffer records waiting to be sent to the broker (defaults to 33554432).
ProducerBufferMemory int `json:"producer_buffer_memory,omitempty" validate:"omitempty,gte=5.24288e+06,lte=1.34217728e+08"`
// Specify the default compression type for producers. This configuration accepts the standard compression codecs ('gzip', 'snappy', 'lz4', 'zstd'). It additionally accepts 'none' which is the default and equivalent to no compression.
ProducerCompressionType JSONSchemaKafkaConnectProducerCompressionType `json:"producer_compression_type,omitempty"`
// This setting gives the upper bound on the delay for batching: once there is batch.size worth of records for a partition it will be sent immediately regardless of this setting, however if there are fewer than this many bytes accumulated for this partition the producer will 'linger' for the specified time waiting for more records to show up. Defaults to 0.
ProducerLingerMS int `json:"producer_linger_ms,omitempty" validate:"omitempty,gte=0,lte=5000"`
// This setting will limit the number of record batches the producer will send in a single request to avoid sending huge requests.
ProducerMaxRequestSize int `json:"producer_max_request_size,omitempty" validate:"omitempty,gte=131072,lte=6.7108864e+07"`
// The maximum delay that is scheduled in order to wait for the return of one or more departed workers before rebalancing and reassigning their connectors and tasks to the group. During this period the connectors and tasks of the departed workers remain unassigned. Defaults to 5 minutes.
ScheduledRebalanceMaxDelayMS int `json:"scheduled_rebalance_max_delay_ms,omitempty" validate:"omitempty,gte=0,lte=600000"`
// The timeout in milliseconds used to detect failures when using Kafka’s group management facilities (defaults to 10000).
SessionTimeoutMS int `json:"session_timeout_ms,omitempty" validate:"omitempty,gte=1,lte=2.147483647e+09"`
}
Kafka Connect configuration values
type JSONSchemaKafkaConnectConnectorClientConfigOverridePolicy ¶ added in v3.1.8
type JSONSchemaKafkaConnectConnectorClientConfigOverridePolicy string
const ( JSONSchemaKafkaConnectConnectorClientConfigOverridePolicyNone JSONSchemaKafkaConnectConnectorClientConfigOverridePolicy = "None" JSONSchemaKafkaConnectConnectorClientConfigOverridePolicyAll JSONSchemaKafkaConnectConnectorClientConfigOverridePolicy = "All" )
type JSONSchemaKafkaConnectConsumerAutoOffsetReset ¶ added in v3.1.8
type JSONSchemaKafkaConnectConsumerAutoOffsetReset string
const ( JSONSchemaKafkaConnectConsumerAutoOffsetResetEarliest JSONSchemaKafkaConnectConsumerAutoOffsetReset = "earliest" JSONSchemaKafkaConnectConsumerAutoOffsetResetLatest JSONSchemaKafkaConnectConsumerAutoOffsetReset = "latest" )
type JSONSchemaKafkaConnectConsumerIsolationLevel ¶ added in v3.1.8
type JSONSchemaKafkaConnectConsumerIsolationLevel string
const ( JSONSchemaKafkaConnectConsumerIsolationLevelReadUncommitted JSONSchemaKafkaConnectConsumerIsolationLevel = "read_uncommitted" JSONSchemaKafkaConnectConsumerIsolationLevelReadCommitted JSONSchemaKafkaConnectConsumerIsolationLevel = "read_committed" )
type JSONSchemaKafkaConnectProducerCompressionType ¶ added in v3.1.8
type JSONSchemaKafkaConnectProducerCompressionType string
const ( JSONSchemaKafkaConnectProducerCompressionTypeGzip JSONSchemaKafkaConnectProducerCompressionType = "gzip" JSONSchemaKafkaConnectProducerCompressionTypeSnappy JSONSchemaKafkaConnectProducerCompressionType = "snappy" JSONSchemaKafkaConnectProducerCompressionTypeLz4 JSONSchemaKafkaConnectProducerCompressionType = "lz4" JSONSchemaKafkaConnectProducerCompressionTypeZstd JSONSchemaKafkaConnectProducerCompressionType = "zstd" JSONSchemaKafkaConnectProducerCompressionTypeNone JSONSchemaKafkaConnectProducerCompressionType = "none" )
type JSONSchemaKafkaLogCleanupAndCompaction ¶ added in v3.1.8
type JSONSchemaKafkaLogCleanupAndCompaction struct {
// How long are delete records retained?
LogCleanerDeleteRetentionMS int `json:"log_cleaner_delete_retention_ms,omitempty" validate:"omitempty,gte=0,lte=3.1556926e+11"`
// The maximum amount of time message will remain uncompacted. Only applicable for logs that are being compacted
LogCleanerMaxCompactionLagMS int `json:"log_cleaner_max_compaction_lag_ms,omitempty" validate:"omitempty,gte=30000,lte=9.223372036854776e+18"`
// Controls log compactor frequency. Larger value means more frequent compactions but also more space wasted for logs. Consider setting log.cleaner.max.compaction.lag.ms to enforce compactions sooner, instead of setting a very high value for this option.
LogCleanerMinCleanableRatio float64 `json:"log_cleaner_min_cleanable_ratio,omitempty" validate:"omitempty,gte=0.2,lte=0.9"`
// The minimum time a message will remain uncompacted in the log. Only applicable for logs that are being compacted.
LogCleanerMinCompactionLagMS int `json:"log_cleaner_min_compaction_lag_ms,omitempty" validate:"omitempty,gte=0,lte=9.223372036854776e+18"`
// The default cleanup policy for segments beyond the retention window
LogCleanupPolicy string `json:"log_cleanup_policy,omitempty"`
}
Configure log cleaner for topic compaction
type JSONSchemaKafkaLogMessageTimestampType ¶ added in v3.1.8
type JSONSchemaKafkaLogMessageTimestampType string
const ( JSONSchemaKafkaLogMessageTimestampTypeCreateTime JSONSchemaKafkaLogMessageTimestampType = "CreateTime" JSONSchemaKafkaLogMessageTimestampTypeLogAppendTime JSONSchemaKafkaLogMessageTimestampType = "LogAppendTime" )
type JSONSchemaKafkaRest ¶
type JSONSchemaKafkaRest struct {
// If true the consumer's offset will be periodically committed to Kafka in the background
ConsumerEnableAutoCommit *bool `json:"consumer_enable_auto_commit,omitempty"`
// Maximum number of bytes in unencoded message keys and values by a single request
ConsumerRequestMaxBytes int `json:"consumer_request_max_bytes,omitempty" validate:"omitempty,gte=0,lte=6.7108864e+08"`
// The maximum total time to wait for messages for a request if the maximum number of messages has not yet been reached
ConsumerRequestTimeoutMS JSONSchemaKafkaRestConsumerRequestTimeoutMS `json:"consumer_request_timeout_ms,omitempty"`
// Name strategy to use when selecting subject for storing schemas
NameStrategy JSONSchemaKafkaRestNameStrategy `json:"name_strategy,omitempty"`
// If true, validate that given schema is registered under expected subject name by the used name strategy when producing messages.
NameStrategyValidation *bool `json:"name_strategy_validation,omitempty"`
// The number of acknowledgments the producer requires the leader to have received before considering a request complete. If set to 'all' or '-1', the leader will wait for the full set of in-sync replicas to acknowledge the record.
ProducerAcks string `json:"producer_acks,omitempty"`
// Specify the default compression type for producers. This configuration accepts the standard compression codecs ('gzip', 'snappy', 'lz4', 'zstd'). It additionally accepts 'none' which is the default and equivalent to no compression.
ProducerCompressionType JSONSchemaKafkaRestProducerCompressionType `json:"producer_compression_type,omitempty"`
// Wait for up to the given delay to allow batching records together
ProducerLingerMS int `json:"producer_linger_ms,omitempty" validate:"omitempty,gte=0,lte=5000"`
// The maximum size of a request in bytes. Note that Kafka broker can also cap the record batch size.
ProducerMaxRequestSize int `json:"producer_max_request_size,omitempty" validate:"omitempty,gte=0,lte=2.147483647e+09"`
// Maximum number of SimpleConsumers that can be instantiated per broker
SimpleconsumerPoolSizeMax int `json:"simpleconsumer_pool_size_max,omitempty" validate:"omitempty,gte=10,lte=250"`
}
Kafka REST configuration
type JSONSchemaKafkaRestConsumerRequestTimeoutMS ¶ added in v3.1.8
type JSONSchemaKafkaRestConsumerRequestTimeoutMS int
const ( JSONSchemaKafkaRestConsumerRequestTimeoutMS1000 JSONSchemaKafkaRestConsumerRequestTimeoutMS = 1000 JSONSchemaKafkaRestConsumerRequestTimeoutMS15000 JSONSchemaKafkaRestConsumerRequestTimeoutMS = 15000 JSONSchemaKafkaRestConsumerRequestTimeoutMS30000 JSONSchemaKafkaRestConsumerRequestTimeoutMS = 30000 )
type JSONSchemaKafkaRestNameStrategy ¶ added in v3.1.8
type JSONSchemaKafkaRestNameStrategy string
const ( JSONSchemaKafkaRestNameStrategyTopicName JSONSchemaKafkaRestNameStrategy = "topic_name" JSONSchemaKafkaRestNameStrategyRecordName JSONSchemaKafkaRestNameStrategy = "record_name" JSONSchemaKafkaRestNameStrategyTopicRecordName JSONSchemaKafkaRestNameStrategy = "topic_record_name" )
type JSONSchemaKafkaRestProducerCompressionType ¶ added in v3.1.8
type JSONSchemaKafkaRestProducerCompressionType string
const ( JSONSchemaKafkaRestProducerCompressionTypeGzip JSONSchemaKafkaRestProducerCompressionType = "gzip" JSONSchemaKafkaRestProducerCompressionTypeSnappy JSONSchemaKafkaRestProducerCompressionType = "snappy" JSONSchemaKafkaRestProducerCompressionTypeLz4 JSONSchemaKafkaRestProducerCompressionType = "lz4" JSONSchemaKafkaRestProducerCompressionTypeZstd JSONSchemaKafkaRestProducerCompressionType = "zstd" JSONSchemaKafkaRestProducerCompressionTypeNone JSONSchemaKafkaRestProducerCompressionType = "none" )
type JSONSchemaMysql ¶
type JSONSchemaMysql struct {
// The number of seconds that the mysqld server waits for a connect packet before responding with Bad handshake
ConnectTimeout int `json:"connect_timeout,omitempty" validate:"omitempty,gte=2,lte=3600"`
// Default server time zone as an offset from UTC (from -12:00 to +12:00), a time zone name, or 'SYSTEM' to use the MySQL server default.
DefaultTimeZone string `json:"default_time_zone,omitempty" validate:"omitempty,gte=2,lte=100"`
// The maximum permitted result length in bytes for the GROUP_CONCAT() function.
GroupConcatMaxLen int `json:"group_concat_max_len,omitempty" validate:"omitempty,gte=4,lte=1.8446744073709552e+19"`
// The time, in seconds, before cached statistics expire
InformationSchemaStatsExpiry int `json:"information_schema_stats_expiry,omitempty" validate:"omitempty,gte=900,lte=3.1536e+07"`
// Maximum size for the InnoDB change buffer, as a percentage of the total size of the buffer pool. Default is 25
InnodbChangeBufferMaxSize int `json:"innodb_change_buffer_max_size,omitempty" validate:"omitempty,gte=0,lte=50"`
// Specifies whether flushing a page from the InnoDB buffer pool also flushes other dirty pages in the same extent (default is 1): 0 - dirty pages in the same extent are not flushed, 1 - flush contiguous dirty pages in the same extent, 2 - flush dirty pages in the same extent
InnodbFlushNeighbors int `json:"innodb_flush_neighbors,omitempty" validate:"omitempty,gte=0,lte=2"`
// Minimum length of words that are stored in an InnoDB FULLTEXT index. Changing this parameter will lead to a restart of the MySQL service.
InnodbFTMinTokenSize int `json:"innodb_ft_min_token_size,omitempty" validate:"omitempty,gte=0,lte=16"`
// This option is used to specify your own InnoDB FULLTEXT index stopword list for all InnoDB tables.
InnodbFTServerStopwordTable *string `json:"innodb_ft_server_stopword_table,omitempty" validate:"omitempty,lte=1024"`
// The length of time in seconds an InnoDB transaction waits for a row lock before giving up. Default is 120.
InnodbLockWaitTimeout int `json:"innodb_lock_wait_timeout,omitempty" validate:"omitempty,gte=1,lte=3600"`
// The size in bytes of the buffer that InnoDB uses to write to the log files on disk.
InnodbLogBufferSize int `json:"innodb_log_buffer_size,omitempty" validate:"omitempty,gte=1.048576e+06,lte=4.294967295e+09"`
// The upper limit in bytes on the size of the temporary log files used during online DDL operations for InnoDB tables.
InnodbOnlineAlterLogMaxSize int `json:"innodb_online_alter_log_max_size,omitempty" validate:"omitempty,gte=65536,lte=1.099511627776e+12"`
// When enabled, information about all deadlocks in InnoDB user transactions is recorded in the error log. Disabled by default.
InnodbPrintAllDeadlocks *bool `json:"innodb_print_all_deadlocks,omitempty"`
// The number of I/O threads for read operations in InnoDB. Default is 4. Changing this parameter will lead to a restart of the MySQL service.
InnodbReadIoThreads int `json:"innodb_read_io_threads,omitempty" validate:"omitempty,gte=1,lte=64"`
// When enabled a transaction timeout causes InnoDB to abort and roll back the entire transaction. Changing this parameter will lead to a restart of the MySQL service.
InnodbRollbackOnTimeout *bool `json:"innodb_rollback_on_timeout,omitempty"`
// Defines the maximum number of threads permitted inside of InnoDB. Default is 0 (infinite concurrency - no limit)
InnodbThreadConcurrency int `json:"innodb_thread_concurrency,omitempty" validate:"omitempty,gte=0,lte=1000"`
// The number of I/O threads for write operations in InnoDB. Default is 4. Changing this parameter will lead to a restart of the MySQL service.
InnodbWriteIoThreads int `json:"innodb_write_io_threads,omitempty" validate:"omitempty,gte=1,lte=64"`
// The number of seconds the server waits for activity on an interactive connection before closing it.
InteractiveTimeout int `json:"interactive_timeout,omitempty" validate:"omitempty,gte=30,lte=604800"`
// The storage engine for in-memory internal temporary tables.
InternalTmpMemStorageEngine JSONSchemaMysqlInternalTmpMemStorageEngine `json:"internal_tmp_mem_storage_engine,omitempty"`
// The slow log output destination when slow_query_log is ON. To enable MySQL AI Insights, choose INSIGHTS. To use MySQL AI Insights and the mysql.slow_log table at the same time, choose INSIGHTS,TABLE. To only use the mysql.slow_log table, choose TABLE. To silence slow logs, choose NONE.
LogOutput string `json:"log_output,omitempty"`
// The slow_query_logs work as SQL statements that take more than long_query_time seconds to execute. Default is 10s
LongQueryTime float64 `json:"long_query_time,omitempty" validate:"omitempty,gte=0,lte=3600"`
// Size of the largest message in bytes that can be received by the server. Default is 67108864 (64M)
MaxAllowedPacket int `json:"max_allowed_packet,omitempty" validate:"omitempty,gte=102400,lte=1.073741824e+09"`
// Limits the size of internal in-memory tables. Also set tmp_table_size. Default is 16777216 (16M)
MaxHeapTableSize int `json:"max_heap_table_size,omitempty" validate:"omitempty,gte=1.048576e+06,lte=1.073741824e+09"`
// Start sizes of connection buffer and result buffer. Default is 16384 (16K). Changing this parameter will lead to a restart of the MySQL service.
NetBufferLength int `json:"net_buffer_length,omitempty" validate:"omitempty,gte=1024,lte=1.048576e+06"`
// The number of seconds to wait for more data from a connection before aborting the read.
NetReadTimeout int `json:"net_read_timeout,omitempty" validate:"omitempty,gte=1,lte=3600"`
// The number of seconds to wait for a block to be written to a connection before aborting the write.
NetWriteTimeout int `json:"net_write_timeout,omitempty" validate:"omitempty,gte=1,lte=3600"`
// Slow query log enables capturing of slow queries. Setting slow_query_log to false also truncates the mysql.slow_log table. Default is off
SlowQueryLog *bool `json:"slow_query_log,omitempty"`
// Sort buffer size in bytes for ORDER BY optimization. Default is 262144 (256K)
SortBufferSize int `json:"sort_buffer_size,omitempty" validate:"omitempty,gte=32768,lte=1.073741824e+09"`
// Global SQL mode. Set to empty to use MySQL server defaults. When creating a new service and not setting this field Aiven default SQL mode (strict, SQL standard compliant) will be assigned.
SQLMode string `json:"sql_mode,omitempty" validate:"omitempty,lte=1024"`
// Require primary key to be defined for new tables or old tables modified with ALTER TABLE and fail if missing. It is recommended to always have primary keys because various functionality may break if any large table is missing them.
SQLRequirePrimaryKey *bool `json:"sql_require_primary_key,omitempty"`
// Limits the size of internal in-memory tables. Also set max_heap_table_size. Default is 16777216 (16M)
TmpTableSize int `json:"tmp_table_size,omitempty" validate:"omitempty,gte=1.048576e+06,lte=1.073741824e+09"`
// The number of seconds the server waits for activity on a noninteractive connection before closing it.
WaitTimeout int `json:"wait_timeout,omitempty" validate:"omitempty,gte=1,lte=2.147483e+06"`
}
mysql.conf configuration values
type JSONSchemaMysqlInternalTmpMemStorageEngine ¶ added in v3.1.8
type JSONSchemaMysqlInternalTmpMemStorageEngine string
const ( JSONSchemaMysqlInternalTmpMemStorageEngineTempTable JSONSchemaMysqlInternalTmpMemStorageEngine = "TempTable" JSONSchemaMysqlInternalTmpMemStorageEngineMEMORY JSONSchemaMysqlInternalTmpMemStorageEngine = "MEMORY" )
type JSONSchemaOpensearch ¶
type JSONSchemaOpensearch struct {
// Explicitly allow or block automatic creation of indices. Defaults to true
ActionAutoCreateIndexEnabled *bool `json:"action_auto_create_index_enabled,omitempty"`
// Require explicit index names when deleting
ActionDestructiveRequiresName *bool `json:"action_destructive_requires_name,omitempty"`
// Opensearch Security Plugin Settings
AuthFailureListeners *JSONSchemaOpensearchAuthFailureListeners `json:"auth_failure_listeners,omitempty"`
// Controls the number of shards allowed in the cluster per data node
ClusterMaxShardsPerNode int `json:"cluster_max_shards_per_node,omitempty" validate:"omitempty,gte=100,lte=10000"`
// How many concurrent incoming/outgoing shard recoveries (normally replicas) are allowed to happen on a node. Defaults to 2.
ClusterRoutingAllocationNodeConcurrentRecoveries int `json:"cluster_routing_allocation_node_concurrent_recoveries,omitempty" validate:"omitempty,gte=2,lte=16"`
// Opensearch Email Sender Settings
EmailSender *JSONSchemaOpensearchEmailSender `json:"email-sender,omitempty"`
// Enable/Disable security audit
EnableSecurityAudit *bool `json:"enable_security_audit,omitempty"`
// Maximum content length for HTTP requests to the OpenSearch HTTP API, in bytes.
HTTPMaxContentLength int `json:"http_max_content_length,omitempty" validate:"omitempty,gte=1,lte=2.147483647e+09"`
// The max size of allowed headers, in bytes
HTTPMaxHeaderSize int `json:"http_max_header_size,omitempty" validate:"omitempty,gte=1024,lte=262144"`
// The max length of an HTTP URL, in bytes
HTTPMaxInitialLineLength int `json:"http_max_initial_line_length,omitempty" validate:"omitempty,gte=1024,lte=65536"`
// Relative amount. Maximum amount of heap memory used for field data cache. This is an expert setting; decreasing the value too much will increase overhead of loading field data; too much memory used for field data cache will decrease amount of heap available for other operations.
IndicesFielddataCacheSize *int `json:"indices_fielddata_cache_size,omitempty" validate:"omitempty,gte=3,lte=100"`
// Percentage value. Default is 10%. Total amount of heap used for indexing buffer, before writing segments to disk. This is an expert setting. Too low value will slow down indexing; too high value will increase indexing performance but causes performance issues for query performance.
IndicesMemoryIndexBufferSize int `json:"indices_memory_index_buffer_size,omitempty" validate:"omitempty,gte=3,lte=40"`
// Absolute value. Default is unbound. Doesn't work without indices.memory.index_buffer_size. Maximum amount of heap used for query cache, an absolute indices.memory.index_buffer_size maximum hard limit.
IndicesMemoryMaxIndexBufferSize int `json:"indices_memory_max_index_buffer_size,omitempty" validate:"omitempty,gte=3,lte=2048"`
// Absolute value. Default is 48mb. Doesn't work without indices.memory.index_buffer_size. Minimum amount of heap used for query cache, an absolute indices.memory.index_buffer_size minimal hard limit.
IndicesMemoryMinIndexBufferSize int `json:"indices_memory_min_index_buffer_size,omitempty" validate:"omitempty,gte=3,lte=2048"`
// Percentage value. Default is 10%. Maximum amount of heap used for query cache. This is an expert setting. Too low value will decrease query performance and increase performance for other operations; too high value will cause issues with other OpenSearch functionality.
IndicesQueriesCacheSize int `json:"indices_queries_cache_size,omitempty" validate:"omitempty,gte=3,lte=40"`
// Maximum number of clauses Lucene BooleanQuery can have. The default value (1024) is relatively high, and increasing it may cause performance issues. Investigate other approaches first before increasing this value.
IndicesQueryBoolMaxClauseCount int `json:"indices_query_bool_max_clause_count,omitempty" validate:"omitempty,gte=64,lte=4096"`
// Limits total inbound and outbound recovery traffic for each node. Applies to both peer recoveries as well as snapshot recoveries (i.e., restores from a snapshot). Defaults to 40mb
IndicesRecoveryMaxBytesPerSec int `json:"indices_recovery_max_bytes_per_sec,omitempty" validate:"omitempty,gte=40,lte=400"`
// Number of file chunks sent in parallel for each recovery. Defaults to 2.
IndicesRecoveryMaxConcurrentFileChunks int `json:"indices_recovery_max_concurrent_file_chunks,omitempty" validate:"omitempty,gte=2,lte=5"`
// Opensearch ISM History Settings
IsmHistory *JSONSchemaOpensearchIsmHistory `json:"ism-history,omitempty"`
// Enable or disable KNN memory circuit breaker. Defaults to true.
KnnMemoryCircuitBreakerEnabled *bool `json:"knn_memory_circuit_breaker_enabled,omitempty"`
// Maximum amount of memory that can be used for KNN index. Defaults to 50% of the JVM heap size.
KnnMemoryCircuitBreakerLimit int `json:"knn_memory_circuit_breaker_limit,omitempty" validate:"omitempty,gte=3,lte=100"`
// Compatibility mode sets OpenSearch to report its version as 7.10 so clients continue to work. Default is false
OverrideMainResponseVersion *bool `json:"override_main_response_version,omitempty"`
// Enable or disable filtering of alerting by backend roles. Requires Security plugin. Defaults to false
PluginsAlertingFilterByBackendRoles *bool `json:"plugins_alerting_filter_by_backend_roles,omitempty"`
// Whitelisted addresses for reindexing. Changing this value will cause all OpenSearch instances to restart.
ReindexRemoteWhitelist []string `json:"reindex_remote_whitelist"`
// Script compilation circuit breaker limits the number of inline script compilations within a period of time. Default is use-context
ScriptMaxCompilationsRate string `json:"script_max_compilations_rate,omitempty" validate:"omitempty,lte=1024"`
// Search Backpressure Settings
SearchBackpressure *JSONSchemaOpensearchSearchBackpressure `json:"search_backpressure,omitempty"`
// Maximum number of aggregation buckets allowed in a single response. OpenSearch default value is used when this is not defined.
SearchMaxBuckets *int `json:"search_max_buckets,omitempty" validate:"omitempty,gte=1,lte=1e+06"`
// Shard indexing back pressure settings
ShardIndexingPressure *JSONSchemaOpensearchShardIndexingPressure `json:"shard_indexing_pressure,omitempty"`
// Size for the thread pool queue. See documentation for exact details.
ThreadPoolAnalyzeQueueSize int `json:"thread_pool_analyze_queue_size,omitempty" validate:"omitempty,gte=10,lte=2000"`
// Size for the thread pool. See documentation for exact details. Do note this may have maximum value depending on CPU count - value is automatically lowered if set to higher than maximum value.
ThreadPoolAnalyzeSize int `json:"thread_pool_analyze_size,omitempty" validate:"omitempty,gte=1,lte=128"`
// Size for the thread pool. See documentation for exact details. Do note this may have maximum value depending on CPU count - value is automatically lowered if set to higher than maximum value.
ThreadPoolForceMergeSize int `json:"thread_pool_force_merge_size,omitempty" validate:"omitempty,gte=1,lte=128"`
// Size for the thread pool queue. See documentation for exact details.
ThreadPoolGetQueueSize int `json:"thread_pool_get_queue_size,omitempty" validate:"omitempty,gte=10,lte=2000"`
// Size for the thread pool. See documentation for exact details. Do note this may have maximum value depending on CPU count - value is automatically lowered if set to higher than maximum value.
ThreadPoolGetSize int `json:"thread_pool_get_size,omitempty" validate:"omitempty,gte=1,lte=128"`
// Size for the thread pool queue. See documentation for exact details.
ThreadPoolSearchQueueSize int `json:"thread_pool_search_queue_size,omitempty" validate:"omitempty,gte=10,lte=2000"`
// Size for the thread pool. See documentation for exact details. Do note this may have maximum value depending on CPU count - value is automatically lowered if set to higher than maximum value.
ThreadPoolSearchSize int `json:"thread_pool_search_size,omitempty" validate:"omitempty,gte=1,lte=128"`
// Size for the thread pool queue. See documentation for exact details.
ThreadPoolSearchThrottledQueueSize int `json:"thread_pool_search_throttled_queue_size,omitempty" validate:"omitempty,gte=10,lte=2000"`
// Size for the thread pool. See documentation for exact details. Do note this may have maximum value depending on CPU count - value is automatically lowered if set to higher than maximum value.
ThreadPoolSearchThrottledSize int `json:"thread_pool_search_throttled_size,omitempty" validate:"omitempty,gte=1,lte=128"`
// Size for the thread pool queue. See documentation for exact details.
ThreadPoolWriteQueueSize int `json:"thread_pool_write_queue_size,omitempty" validate:"omitempty,gte=10,lte=2000"`
// Size for the thread pool. See documentation for exact details. Do note this may have maximum value depending on CPU count - value is automatically lowered if set to higher than maximum value.
ThreadPoolWriteSize int `json:"thread_pool_write_size,omitempty" validate:"omitempty,gte=1,lte=128"`
}
OpenSearch settings
type JSONSchemaOpensearchAuthFailureListeners ¶ added in v3.1.19
type JSONSchemaOpensearchAuthFailureListeners struct {
// Internal Authentication Backend Limiting
InternalAuthenticationBackendLimiting *JSONSchemaOpensearchAuthFailureListenersInternalAuthenticationBackendLimiting `json:"internal_authentication_backend_limiting,omitempty"`
// IP address rate limiting settings
IPRateLimiting *JSONSchemaOpensearchAuthFailureListenersIPRateLimiting `json:"ip_rate_limiting,omitempty"`
}
Opensearch Security Plugin Settings
type JSONSchemaOpensearchAuthFailureListenersIPRateLimiting ¶ added in v3.1.19
type JSONSchemaOpensearchAuthFailureListenersIPRateLimiting struct {
// The number of login attempts allowed before login is blocked
AllowedTries int `json:"allowed_tries,omitempty" validate:"omitempty,gte=1,lte=2.147483647e+09"`
// The duration of time that login remains blocked after a failed login
BlockExpirySeconds int `json:"block_expiry_seconds,omitempty" validate:"omitempty,gte=1,lte=36000"`
// The maximum number of blocked IP addresses
MaxBlockedClients int `json:"max_blocked_clients,omitempty" validate:"omitempty,gte=0,lte=2.147483647e+09"`
// The maximum number of tracked IP addresses that have failed login
MaxTrackedClients int `json:"max_tracked_clients,omitempty" validate:"omitempty,gte=0,lte=2.147483647e+09"`
// The window of time in which the value for `allowed_tries` is enforced
TimeWindowSeconds int `json:"time_window_seconds,omitempty" validate:"omitempty,gte=1,lte=36000"`
// The type of rate limiting
Type JSONSchemaOpensearchAuthFailureListenersIPRateLimitingType `json:"type,omitempty" validate:"omitempty,lte=1024"`
}
IP address rate limiting settings
type JSONSchemaOpensearchAuthFailureListenersIPRateLimitingType ¶ added in v3.1.19
type JSONSchemaOpensearchAuthFailureListenersIPRateLimitingType string
const (
JSONSchemaOpensearchAuthFailureListenersIPRateLimitingTypeIP JSONSchemaOpensearchAuthFailureListenersIPRateLimitingType = "ip"
)
type JSONSchemaOpensearchAuthFailureListenersInternalAuthenticationBackendLimiting ¶ added in v3.1.19
type JSONSchemaOpensearchAuthFailureListenersInternalAuthenticationBackendLimiting struct {
// The number of login attempts allowed before login is blocked
AllowedTries int `json:"allowed_tries,omitempty" validate:"omitempty,gte=0,lte=2.147483647e+09"`
// The internal backend. Enter `internal`
AuthenticationBackend JSONSchemaOpensearchAuthFailureListenersInternalAuthenticationBackendLimitingAuthenticationBackend `json:"authentication_backend,omitempty" validate:"omitempty,lte=1024"`
// The duration of time that login remains blocked after a failed login
BlockExpirySeconds int `json:"block_expiry_seconds,omitempty" validate:"omitempty,gte=0,lte=2.147483647e+09"`
// The maximum number of blocked IP addresses
MaxBlockedClients int `json:"max_blocked_clients,omitempty" validate:"omitempty,gte=0,lte=2.147483647e+09"`
// The maximum number of tracked IP addresses that have failed login
MaxTrackedClients int `json:"max_tracked_clients,omitempty" validate:"omitempty,gte=0,lte=2.147483647e+09"`
// The window of time in which the value for `allowed_tries` is enforced
TimeWindowSeconds int `json:"time_window_seconds,omitempty" validate:"omitempty,gte=0,lte=2.147483647e+09"`
// The type of rate limiting
Type JSONSchemaOpensearchAuthFailureListenersInternalAuthenticationBackendLimitingType `json:"type,omitempty" validate:"omitempty,lte=1024"`
}
Internal Authentication Backend Limiting
type JSONSchemaOpensearchAuthFailureListenersInternalAuthenticationBackendLimitingAuthenticationBackend ¶ added in v3.1.19
type JSONSchemaOpensearchAuthFailureListenersInternalAuthenticationBackendLimitingAuthenticationBackend string
const (
JSONSchemaOpensearchAuthFailureListenersInternalAuthenticationBackendLimitingAuthenticationBackendInternal JSONSchemaOpensearchAuthFailureListenersInternalAuthenticationBackendLimitingAuthenticationBackend = "internal"
)
type JSONSchemaOpensearchAuthFailureListenersInternalAuthenticationBackendLimitingType ¶ added in v3.1.19
type JSONSchemaOpensearchAuthFailureListenersInternalAuthenticationBackendLimitingType string
const (
JSONSchemaOpensearchAuthFailureListenersInternalAuthenticationBackendLimitingTypeUsername JSONSchemaOpensearchAuthFailureListenersInternalAuthenticationBackendLimitingType = "username"
)
type JSONSchemaOpensearchEmailSender ¶ added in v3.1.8
type JSONSchemaOpensearchEmailSender struct {
// This should be identical to the Sender name defined in Opensearch dashboards
EmailSenderName string `json:"email_sender_name" validate:"required,lte=40"`
// Sender password for Opensearch alerts to authenticate with SMTP server
EmailSenderPassword string `json:"email_sender_password" validate:"required,lte=1024"`
// Sender username for Opensearch alerts
EmailSenderUsername string `json:"email_sender_username" validate:"required,lte=320"`
}
Opensearch Email Sender Settings
type JSONSchemaOpensearchIsmHistory ¶ added in v3.1.8
type JSONSchemaOpensearchIsmHistory struct {
// Specifies whether ISM is enabled or not
IsmEnabled *bool `json:"ism_enabled" validate:"required"`
// Specifies whether audit history is enabled or not. The logs from ISM are automatically indexed to a logs document.
IsmHistoryEnabled *bool `json:"ism_history_enabled,omitempty"`
// The maximum age before rolling over the audit history index in hours
IsmHistoryMaxAge int `json:"ism_history_max_age,omitempty" validate:"omitempty,gte=1,lte=2.147483647e+09"`
// The maximum number of documents before rolling over the audit history index.
IsmHistoryMaxDocs int `json:"ism_history_max_docs,omitempty" validate:"omitempty,gte=1,lte=9.223372036854776e+18"`
// The time between rollover checks for the audit history index in hours.
IsmHistoryRolloverCheckPeriod int `json:"ism_history_rollover_check_period,omitempty" validate:"omitempty,gte=1,lte=2.147483647e+09"`
// How long audit history indices are kept in days.
IsmHistoryRolloverRetentionPeriod int `json:"ism_history_rollover_retention_period,omitempty" validate:"omitempty,gte=1,lte=2.147483647e+09"`
}
Opensearch ISM History Settings
type JSONSchemaOpensearchSearchBackpressure ¶ added in v3.1.19
type JSONSchemaOpensearchSearchBackpressure struct {
// The search backpressure mode. Valid values are monitor_only, enforced, or disabled. Default is monitor_only
Mode JSONSchemaOpensearchSearchBackpressureMode `json:"mode,omitempty"`
// Node duress settings
NodeDuress *JSONSchemaOpensearchSearchBackpressureNodeDuress `json:"node_duress,omitempty"`
// Search shard settings
SearchShardTask *JSONSchemaOpensearchSearchBackpressureSearchShardTask `json:"search_shard_task,omitempty"`
// Search task settings
SearchTask *JSONSchemaOpensearchSearchBackpressureSearchTask `json:"search_task,omitempty"`
}
Search Backpressure Settings
type JSONSchemaOpensearchSearchBackpressureMode ¶ added in v3.1.19
type JSONSchemaOpensearchSearchBackpressureMode string
const ( JSONSchemaOpensearchSearchBackpressureModeMonitorOnly JSONSchemaOpensearchSearchBackpressureMode = "monitor_only" JSONSchemaOpensearchSearchBackpressureModeEnforced JSONSchemaOpensearchSearchBackpressureMode = "enforced" JSONSchemaOpensearchSearchBackpressureModeDisabled JSONSchemaOpensearchSearchBackpressureMode = "disabled" )
type JSONSchemaOpensearchSearchBackpressureNodeDuress ¶ added in v3.1.19
type JSONSchemaOpensearchSearchBackpressureNodeDuress struct {
// The CPU usage threshold (as a percentage) required for a node to be considered to be under duress. Default is 0.9
CPUThreshold float64 `json:"cpu_threshold,omitempty" validate:"omitempty,gte=0,lte=1"`
// The heap usage threshold (as a percentage) required for a node to be considered to be under duress. Default is 0.7
HeapThreshold float64 `json:"heap_threshold,omitempty" validate:"omitempty,gte=0,lte=1"`
// The number of successive limit breaches after which the node is considered to be under duress. Default is 3
NumSuccessiveBreaches int `json:"num_successive_breaches,omitempty" validate:"omitempty,gte=1"`
}
Node duress settings
type JSONSchemaOpensearchSearchBackpressureSearchShardTask ¶ added in v3.1.19
type JSONSchemaOpensearchSearchBackpressureSearchShardTask struct {
// The maximum number of search tasks to cancel in a single iteration of the observer thread. Default is 10.0
CancellationBurst float64 `json:"cancellation_burst,omitempty" validate:"omitempty,gte=1"`
// The maximum number of tasks to cancel per millisecond of elapsed time. Default is 0.003
CancellationRate float64 `json:"cancellation_rate,omitempty" validate:"omitempty,gte=0"`
// The maximum number of tasks to cancel, as a percentage of successful task completions. Default is 0.1
CancellationRatio float64 `json:"cancellation_ratio,omitempty" validate:"omitempty,gte=0,lte=1"`
// The CPU usage threshold (in milliseconds) required for a single search shard task before it is considered for cancellation. Default is 15000
CPUTimeMillisThreshold int `json:"cpu_time_millis_threshold,omitempty" validate:"omitempty,gte=0"`
// The elapsed time threshold (in milliseconds) required for a single search shard task before it is considered for cancellation. Default is 30000
ElapsedTimeMillisThreshold int `json:"elapsed_time_millis_threshold,omitempty" validate:"omitempty,gte=0"`
// The number of previously completed search shard tasks to consider when calculating the rolling average of heap usage. Default is 100
HeapMovingAverageWindowSize int `json:"heap_moving_average_window_size,omitempty" validate:"omitempty,gte=0"`
// The heap usage threshold (as a percentage) required for a single search shard task before it is considered for cancellation. Default is 0.5
HeapPercentThreshold float64 `json:"heap_percent_threshold,omitempty" validate:"omitempty,gte=0,lte=1"`
// The minimum variance required for a single search shard task’s heap usage compared to the rolling average of previously completed tasks before it is considered for cancellation. Default is 2.0
HeapVariance float64 `json:"heap_variance,omitempty" validate:"omitempty,gte=0"`
// The heap usage threshold (as a percentage) required for the sum of heap usages of all search shard tasks before cancellation is applied. Default is 0.5
TotalHeapPercentThreshold float64 `json:"total_heap_percent_threshold,omitempty" validate:"omitempty,gte=0,lte=1"`
}
Search shard settings
type JSONSchemaOpensearchSearchBackpressureSearchTask ¶ added in v3.1.19
type JSONSchemaOpensearchSearchBackpressureSearchTask struct {
// The maximum number of search tasks to cancel in a single iteration of the observer thread. Default is 5.0
CancellationBurst float64 `json:"cancellation_burst,omitempty" validate:"omitempty,gte=1"`
// The maximum number of search tasks to cancel per millisecond of elapsed time. Default is 0.003
CancellationRate float64 `json:"cancellation_rate,omitempty" validate:"omitempty,gte=0"`
// The maximum number of search tasks to cancel, as a percentage of successful search task completions. Default is 0.1
CancellationRatio float64 `json:"cancellation_ratio,omitempty" validate:"omitempty,gte=0,lte=1"`
// The CPU usage threshold (in milliseconds) required for an individual parent task before it is considered for cancellation. Default is 30000
CPUTimeMillisThreshold int `json:"cpu_time_millis_threshold,omitempty" validate:"omitempty,gte=0"`
// The elapsed time threshold (in milliseconds) required for an individual parent task before it is considered for cancellation. Default is 45000
ElapsedTimeMillisThreshold int `json:"elapsed_time_millis_threshold,omitempty" validate:"omitempty,gte=0"`
// The window size used to calculate the rolling average of the heap usage for the completed parent tasks. Default is 10
HeapMovingAverageWindowSize int `json:"heap_moving_average_window_size,omitempty" validate:"omitempty,gte=0"`
// The heap usage threshold (as a percentage) required for an individual parent task before it is considered for cancellation. Default is 0.2
HeapPercentThreshold float64 `json:"heap_percent_threshold,omitempty" validate:"omitempty,gte=0,lte=1"`
// The heap usage variance required for an individual parent task before it is considered for cancellation. A task is considered for cancellation when taskHeapUsage is greater than or equal to heapUsageMovingAverage * variance. Default is 2.0
HeapVariance float64 `json:"heap_variance,omitempty" validate:"omitempty,gte=0"`
// The heap usage threshold (as a percentage) required for the sum of heap usages of all search tasks before cancellation is applied. Default is 0.5
TotalHeapPercentThreshold float64 `json:"total_heap_percent_threshold,omitempty" validate:"omitempty,gte=0,lte=1"`
}
Search task settings
type JSONSchemaOpensearchShardIndexingPressure ¶ added in v3.1.19
type JSONSchemaOpensearchShardIndexingPressure struct {
// Enable or disable shard indexing backpressure. Default is false
Enabled *bool `json:"enabled,omitempty"`
// Run shard indexing backpressure in shadow mode or enforced mode. In shadow mode (value set as false), shard indexing backpressure tracks all granular-level metrics, but it doesn’t actually reject any indexing requests. In enforced mode (value set as true), shard indexing backpressure rejects any requests to the cluster that might cause a dip in its performance. Default is false
Enforced *bool `json:"enforced,omitempty"`
// Operating factor
OperatingFactor *JSONSchemaOpensearchShardIndexingPressureOperatingFactor `json:"operating_factor,omitempty"`
// Primary parameter
PrimaryParameter *JSONSchemaOpensearchShardIndexingPressurePrimaryParameter `json:"primary_parameter,omitempty"`
}
Shard indexing back pressure settings
type JSONSchemaOpensearchShardIndexingPressureOperatingFactor ¶ added in v3.1.19
type JSONSchemaOpensearchShardIndexingPressureOperatingFactor struct {
// Specify the lower occupancy limit of the allocated quota of memory for the shard. If the total memory usage of a shard is below this limit, shard indexing backpressure decreases the current allocated memory for that shard. Default is 0.75
Lower float64 `json:"lower,omitempty" validate:"omitempty,gte=0"`
// Specify the optimal occupancy of the allocated quota of memory for the shard. If the total memory usage of a shard is at this level, shard indexing backpressure doesn’t change the current allocated memory for that shard. Default is 0.85
Optimal float64 `json:"optimal,omitempty" validate:"omitempty,gte=0"`
// Specify the upper occupancy limit of the allocated quota of memory for the shard. If the total memory usage of a shard is above this limit, shard indexing backpressure increases the current allocated memory for that shard. Default is 0.95
Upper float64 `json:"upper,omitempty" validate:"omitempty,gte=0"`
}
Operating factor
type JSONSchemaOpensearchShardIndexingPressurePrimaryParameter ¶ added in v3.1.19
type JSONSchemaOpensearchShardIndexingPressurePrimaryParameter struct {
Node *JSONSchemaOpensearchShardIndexingPressurePrimaryParameterNode `json:"node,omitempty"`
Shard *JSONSchemaOpensearchShardIndexingPressurePrimaryParameterShard `json:"shard,omitempty"`
}
Primary parameter
type JSONSchemaOpensearchShardIndexingPressurePrimaryParameterNode ¶ added in v3.1.19
type JSONSchemaOpensearchShardIndexingPressurePrimaryParameterNode struct {
// Define the percentage of the node-level memory threshold that acts as a soft indicator for strain on a node. Default is 0.7
SoftLimit float64 `json:"soft_limit,omitempty" validate:"omitempty,gte=0"`
}
type JSONSchemaOpensearchShardIndexingPressurePrimaryParameterShard ¶ added in v3.1.19
type JSONSchemaOpensearchShardIndexingPressurePrimaryParameterShard struct {
// Specify the minimum assigned quota for a new shard in any role (coordinator, primary, or replica). Shard indexing backpressure increases or decreases this allocated quota based on the inflow of traffic for the shard. Default is 0.001
MinLimit float64 `json:"min_limit,omitempty" validate:"omitempty,gte=0"`
}
type JSONSchemaPG ¶
type JSONSchemaPG struct {
// Autovacuum settings
Autovacuum *JSONSchemaPGAutovacuum `json:"autovacuum,omitempty"`
// Background (BG) writer settings
BGWriter *JSONSchemaPGBGWriter `json:"bg-writer,omitempty"`
// This is the amount of time, in milliseconds, to wait on a lock before checking to see if there is a deadlock condition. The default is `1000` (upstream default).
DeadlockTimeout int `json:"deadlock_timeout,omitempty" validate:"omitempty,gte=500,lte=1.8e+06"`
// Specifies the default TOAST compression method for values of compressible columns. The default is `lz4`. Only available for PostgreSQL 14+.
DefaultToastCompression JSONSchemaPGDefaultToastCompression `json:"default_toast_compression,omitempty"`
// Time out sessions with open transactions after this number of milliseconds
IdleInTransactionSessionTimeout int `json:"idle_in_transaction_session_timeout,omitempty" validate:"omitempty,gte=0,lte=6.048e+08"`
// EXPERIMENTAL: Controls the largest I/O size in operations that combine I/O in 8kB units. Version 17 and up only.
IoCombineLimit int `json:"io_combine_limit,omitempty" validate:"omitempty,gte=1,lte=32"`
// EXPERIMENTAL: Controls the largest I/O size in operations that combine I/O in 8kB units, and silently limits the user-settable parameter io_combine_limit. Version 18 and up only. Changing this parameter causes a service restart.
IoMaxCombineLimit int `json:"io_max_combine_limit,omitempty" validate:"omitempty,gte=1,lte=128"`
// EXPERIMENTAL: Controls the maximum number of I/O operations that one process can execute simultaneously. Version 18 and up only. Changing this parameter causes a service restart.
IoMaxConcurrency int `json:"io_max_concurrency,omitempty" validate:"omitempty,gte=-1,lte=1024"`
// EXPERIMENTAL: Controls the maximum number of I/O operations that one process can execute simultaneously. Version 18 and up only. Changing this parameter causes a service restart.
IoMethod JSONSchemaPGIoMethod `json:"io_method,omitempty"`
// EXPERIMENTAL: Number of IO worker processes, for io_method=worker. Version 18 and up only. Changing this parameter causes a service restart.
IoWorkers int `json:"io_workers,omitempty" validate:"omitempty,gte=1,lte=32"`
// Controls system-wide use of Just-in-Time Compilation (JIT).
Jit *bool `json:"jit,omitempty"`
// Controls the amount of detail written in the server log for each message that is logged.
LogErrorVerbosity JSONSchemaPGLogErrorVerbosity `json:"log_error_verbosity,omitempty"`
// Choose from one of the available log formats.
LogLinePrefix string `json:"log_line_prefix,omitempty"`
// Log statements that take more than this number of milliseconds to run, -1 disables
LogMinDurationStatement int `json:"log_min_duration_statement,omitempty" validate:"omitempty,gte=-1,lte=8.64e+07"`
// Log statements for each temporary file created larger than this number of kilobytes, -1 disables
LogTempFiles int `json:"log_temp_files,omitempty" validate:"omitempty,gte=-1,lte=2.147483647e+09"`
// PostgreSQL maximum number of files that can be open per process. The default is `1000` (upstream default). Changing this parameter causes a service restart.
MaxFilesPerProcess int `json:"max_files_per_process,omitempty" validate:"omitempty,gte=1000,lte=4096"`
// PostgreSQL maximum locks per transaction. Changing this parameter causes a service restart.
MaxLocksPerTransaction int `json:"max_locks_per_transaction,omitempty" validate:"omitempty,gte=64,lte=6400"`
// PostgreSQL maximum logical replication workers (taken from the pool of max_parallel_workers). The default is `4` (upstream default). Changing this parameter causes a service restart.
MaxLogicalReplicationWorkers int `json:"max_logical_replication_workers,omitempty" validate:"omitempty,gte=4,lte=256"`
// Sets the maximum number of workers that the system can support for parallel queries. The default is `8` (upstream default).
MaxParallelWorkers int `json:"max_parallel_workers,omitempty" validate:"omitempty,gte=0,lte=96"`
// Sets the maximum number of workers that can be started by a single Gather or Gather Merge node. The default is `2` (upstream default).
MaxParallelWorkersPerGather int `json:"max_parallel_workers_per_gather,omitempty" validate:"omitempty,gte=0,lte=96"`
// PostgreSQL maximum predicate locks per transaction. The default is `64` (upstream default). Changing this parameter causes a service restart.
MaxPredLocksPerTransaction int `json:"max_pred_locks_per_transaction,omitempty" validate:"omitempty,gte=64,lte=5120"`
// PostgreSQL maximum prepared transactions. The default is `0`. Changing this parameter causes a service restart.
MaxPreparedTransactions int `json:"max_prepared_transactions,omitempty" validate:"omitempty,gte=0,lte=10000"`
// PostgreSQL maximum replication slots. The default is `20`. Changing this parameter causes a service restart.
MaxReplicationSlots int `json:"max_replication_slots,omitempty" validate:"omitempty,gte=8,lte=256"`
// Maximum depth of the stack in bytes. The default is `2097152` (upstream default).
MaxStackDepth int `json:"max_stack_depth,omitempty" validate:"omitempty,gte=2.097152e+06,lte=6.291456e+06"`
// Max standby archive delay in milliseconds. The default is `30000` (upstream default).
MaxStandbyArchiveDelay int `json:"max_standby_archive_delay,omitempty" validate:"omitempty,gte=1,lte=4.32e+07"`
// Max standby streaming delay in milliseconds. The default is `30000` (upstream default).
MaxStandbyStreamingDelay int `json:"max_standby_streaming_delay,omitempty" validate:"omitempty,gte=1,lte=4.32e+07"`
// Maximum number of synchronization workers per subscription. The default is `2`.
MaxSyncWorkersPerSubscription int `json:"max_sync_workers_per_subscription,omitempty" validate:"omitempty,gte=2,lte=8"`
// Sets the maximum number of background processes that the system can support. The default is `8`. Changing this parameter causes a service restart.
MaxWorkerProcesses int `json:"max_worker_processes,omitempty" validate:"omitempty,gte=8,lte=288"`
// Chooses the algorithm for encrypting passwords.
PasswordEncryption JSONSchemaPGPasswordEncryption `json:"password_encryption,omitempty"`
// Sets the time interval in seconds to run pg_partman's scheduled tasks. The default is `3600`.
PGPartmanBgwInterval int `json:"pg_partman_bgw.interval,omitempty" validate:"omitempty,gte=3600,lte=604800"`
// Controls which role to use for pg_partman's scheduled background tasks.
PGPartmanBgwRole string `json:"pg_partman_bgw.role,omitempty" validate:"omitempty,lte=64"`
// Enables or disables query plan monitoring. Changing this parameter causes a service restart. Only available for PostgreSQL 13+.
PGStatMonitorPgsmEnableQueryPlan *bool `json:"pg_stat_monitor.pgsm_enable_query_plan,omitempty"`
// Sets the maximum number of buckets. Changing this parameter causes a service restart. Only available for PostgreSQL 13+.
PGStatMonitorPgsmMaxBuckets int `json:"pg_stat_monitor.pgsm_max_buckets,omitempty" validate:"omitempty,gte=1,lte=10"`
// Controls which statements are counted. Specify top to track top-level statements (those issued directly by clients), all to also track nested statements (such as statements invoked within functions), or none to disable statement statistics collection. The default is `top`.
PGStatStatementsTrack JSONSchemaPGPGStatStatementsTrack `json:"pg_stat_statements.track,omitempty"`
// PostgreSQL temporary file limit in KiB, -1 for unlimited
TempFileLimit int `json:"temp_file_limit,omitempty" validate:"omitempty,gte=-1,lte=2.147483647e+09"`
// PostgreSQL service timezone
Timezone string `json:"timezone,omitempty" validate:"omitempty,lte=64"`
// Specifies the number of bytes reserved to track the currently executing command for each active session. Changing this parameter causes a service restart.
TrackActivityQuerySize int `json:"track_activity_query_size,omitempty" validate:"omitempty,gte=1024,lte=10240"`
// Record commit time of transactions. Changing this parameter causes a service restart.
TrackCommitTimestamp JSONSchemaPGTrackCommitTimestamp `json:"track_commit_timestamp,omitempty"`
// Enables tracking of function call counts and time used.
TrackFunctions JSONSchemaPGTrackFunctions `json:"track_functions,omitempty"`
// Enables timing of database I/O calls. The default is `off`. When on, it will repeatedly query the operating system for the current time, which may cause significant overhead on some platforms.
TrackIoTiming JSONSchemaPGTrackIoTiming `json:"track_io_timing,omitempty"`
// Write-ahead log (WAL) settings
Wal *JSONSchemaPGWal `json:"wal,omitempty"`
}
postgresql.conf configuration values
type JSONSchemaPGAutovacuum ¶ added in v3.1.8
type JSONSchemaPGAutovacuum struct {
// Specifies a fraction of the table size to add to autovacuum_analyze_threshold when deciding whether to trigger an ANALYZE (e.g. `0.2` for 20% of the table size). The default is `0.2`.
AutovacuumAnalyzeScaleFactor float64 `json:"autovacuum_analyze_scale_factor,omitempty" validate:"omitempty,gte=0,lte=1"`
// Specifies the minimum number of inserted, updated or deleted tuples needed to trigger an ANALYZE in any one table. The default is `50`.
AutovacuumAnalyzeThreshold int `json:"autovacuum_analyze_threshold,omitempty" validate:"omitempty,gte=0,lte=2.147483647e+09"`
// Specifies the maximum age (in transactions) that a table's pg_class.relfrozenxid field can attain before a VACUUM operation is forced to prevent transaction ID wraparound within the table. The system launches autovacuum processes to prevent wraparound even when autovacuum is otherwise disabled. Changing this parameter causes a service restart.
AutovacuumFreezeMaxAge int `json:"autovacuum_freeze_max_age,omitempty" validate:"omitempty,gte=2e+08,lte=1.5e+09"`
// Specifies the maximum number of autovacuum processes (other than the autovacuum launcher) that may be running at any one time. The default is `3`. Changing this parameter causes a service restart.
AutovacuumMaxWorkers int `json:"autovacuum_max_workers,omitempty" validate:"omitempty,gte=1,lte=20"`
// Specifies the minimum delay between autovacuum runs on any given database. The delay is measured in seconds. The default is `60`.
AutovacuumNaptime int `json:"autovacuum_naptime,omitempty" validate:"omitempty,gte=1,lte=86400"`
// Specifies the cost delay value that will be used in automatic VACUUM operations. If `-1` is specified, the regular vacuum_cost_delay value will be used. The default is `2` (upstream default).
AutovacuumVacuumCostDelay int `json:"autovacuum_vacuum_cost_delay,omitempty" validate:"omitempty,gte=-1,lte=100"`
// Specifies the cost limit value that will be used in automatic VACUUM operations. If `-1` is specified, the regular vacuum_cost_limit value will be used. The default is `-1` (upstream default).
AutovacuumVacuumCostLimit int `json:"autovacuum_vacuum_cost_limit,omitempty" validate:"omitempty,gte=-1,lte=10000"`
// Specifies a fraction of the table size to add to autovacuum_vacuum_threshold when deciding whether to trigger a VACUUM (e.g. `0.2` for 20% of the table size). The default is `0.2`.
AutovacuumVacuumScaleFactor float64 `json:"autovacuum_vacuum_scale_factor,omitempty" validate:"omitempty,gte=0,lte=1"`
// Specifies the minimum number of updated or deleted tuples needed to trigger a VACUUM in any one table. The default is `50`.
AutovacuumVacuumThreshold int `json:"autovacuum_vacuum_threshold,omitempty" validate:"omitempty,gte=0,lte=2.147483647e+09"`
// Causes each action executed by autovacuum to be logged if it ran for at least the specified number of milliseconds. Setting this to zero logs all autovacuum actions. Minus-one disables logging autovacuum actions. The default is `1000`.
LogAutovacuumMinDuration int `json:"log_autovacuum_min_duration,omitempty" validate:"omitempty,gte=-1,lte=2.147483647e+09"`
}
Autovacuum settings
type JSONSchemaPGBGWriter ¶ added in v3.1.8
type JSONSchemaPGBGWriter struct {
// Specifies the delay between activity rounds for the background writer in milliseconds. The default is `200`.
BgwriterDelay int `json:"bgwriter_delay,omitempty" validate:"omitempty,gte=10,lte=10000"`
// Whenever more than bgwriter_flush_after bytes have been written by the background writer, attempt to force the OS to issue these writes to the underlying storage. Specified in kilobytes. Setting of 0 disables forced writeback. The default is `512`.
BgwriterFlushAfter int `json:"bgwriter_flush_after,omitempty" validate:"omitempty,gte=0,lte=2048"`
// In each round, no more than this many buffers will be written by the background writer. Setting this to zero disables background writing. The default is `100`.
BgwriterLruMaxpages int `json:"bgwriter_lru_maxpages,omitempty" validate:"omitempty,gte=0,lte=1.073741823e+09"`
// The average recent need for new buffers is multiplied by bgwriter_lru_multiplier to arrive at an estimate of the number that will be needed during the next round, (up to bgwriter_lru_maxpages). 1.0 represents a “just in time” policy of writing exactly the number of buffers predicted to be needed. Larger values provide some cushion against spikes in demand, while smaller values intentionally leave writes to be done by server processes. The default is `2.0`.
BgwriterLruMultiplier float64 `json:"bgwriter_lru_multiplier,omitempty" validate:"omitempty,gte=0,lte=10"`
}
Background (BG) writer settings
type JSONSchemaPGDefaultToastCompression ¶ added in v3.1.8
type JSONSchemaPGDefaultToastCompression string
const ( JSONSchemaPGDefaultToastCompressionLz4 JSONSchemaPGDefaultToastCompression = "lz4" JSONSchemaPGDefaultToastCompressionPglz JSONSchemaPGDefaultToastCompression = "pglz" )
type JSONSchemaPGIoMethod ¶ added in v3.1.29
type JSONSchemaPGIoMethod string
const ( JSONSchemaPGIoMethodWorker JSONSchemaPGIoMethod = "worker" JSONSchemaPGIoMethodSync JSONSchemaPGIoMethod = "sync" JSONSchemaPGIoMethodIoUring JSONSchemaPGIoMethod = "io_uring" )
type JSONSchemaPGLogErrorVerbosity ¶ added in v3.1.8
type JSONSchemaPGLogErrorVerbosity string
const ( JSONSchemaPGLogErrorVerbosityTERSE JSONSchemaPGLogErrorVerbosity = "TERSE" JSONSchemaPGLogErrorVerbosityDEFAULT JSONSchemaPGLogErrorVerbosity = "DEFAULT" JSONSchemaPGLogErrorVerbosityVERBOSE JSONSchemaPGLogErrorVerbosity = "VERBOSE" )
type JSONSchemaPGPGStatStatementsTrack ¶ added in v3.1.8
type JSONSchemaPGPGStatStatementsTrack string
const ( JSONSchemaPGPGStatStatementsTrackAll JSONSchemaPGPGStatStatementsTrack = "all" JSONSchemaPGPGStatStatementsTrackTop JSONSchemaPGPGStatStatementsTrack = "top" JSONSchemaPGPGStatStatementsTrackNone JSONSchemaPGPGStatStatementsTrack = "none" )
type JSONSchemaPGPasswordEncryption ¶ added in v3.1.29
type JSONSchemaPGPasswordEncryption string
const ( JSONSchemaPGPasswordEncryptionMd5 JSONSchemaPGPasswordEncryption = "md5" JSONSchemaPGPasswordEncryptionScramSha256 JSONSchemaPGPasswordEncryption = "scram-sha-256" )
type JSONSchemaPGTrackCommitTimestamp ¶ added in v3.1.8
type JSONSchemaPGTrackCommitTimestamp string
const ( JSONSchemaPGTrackCommitTimestampOff JSONSchemaPGTrackCommitTimestamp = "off" JSONSchemaPGTrackCommitTimestampOn JSONSchemaPGTrackCommitTimestamp = "on" )
type JSONSchemaPGTrackFunctions ¶ added in v3.1.8
type JSONSchemaPGTrackFunctions string
const ( JSONSchemaPGTrackFunctionsAll JSONSchemaPGTrackFunctions = "all" JSONSchemaPGTrackFunctionsPL JSONSchemaPGTrackFunctions = "pl" JSONSchemaPGTrackFunctionsNone JSONSchemaPGTrackFunctions = "none" )
type JSONSchemaPGTrackIoTiming ¶ added in v3.1.8
type JSONSchemaPGTrackIoTiming string
const ( JSONSchemaPGTrackIoTimingOff JSONSchemaPGTrackIoTiming = "off" JSONSchemaPGTrackIoTimingOn JSONSchemaPGTrackIoTiming = "on" )
type JSONSchemaPGWal ¶ added in v3.1.8
type JSONSchemaPGWal struct {
// PostgreSQL maximum WAL size (MB) reserved for replication slots. If `-1` is specified, replication slots may retain an unlimited amount of WAL files. The default is `-1` (upstream default). wal_keep_size minimum WAL size setting takes precedence over this.
MaxSlotWalKeepSize int `json:"max_slot_wal_keep_size,omitempty" validate:"omitempty,gte=-1,lte=2.147483647e+09"`
// PostgreSQL maximum WAL senders. The default is `20`. Changing this parameter causes a service restart.
MaxWalSenders int `json:"max_wal_senders,omitempty" validate:"omitempty,gte=20,lte=256"`
// Terminate replication connections that are inactive for longer than this amount of time, in milliseconds.
WalSenderTimeout int `json:"wal_sender_timeout,omitempty" validate:"omitempty,gte=0,lte=1.08e+07"`
// WAL flush interval in milliseconds. The default is `200`. Setting this parameter to a lower value may negatively impact performance.
WalWriterDelay int `json:"wal_writer_delay,omitempty" validate:"omitempty,gte=10,lte=200"`
}
Write-ahead log (WAL) settings
type JSONSchemaPgbouncer ¶
type JSONSchemaPgbouncer struct {
// If the automatically created database pools have been unused this many seconds, they are freed. If 0 then timeout is disabled. [seconds]
AutodbIdleTimeout int `json:"autodb_idle_timeout,omitempty" validate:"omitempty,gte=0,lte=86400"`
// Do not allow more than this many server connections per database (regardless of user). Setting it to 0 means unlimited.
AutodbMaxDBConnections int `json:"autodb_max_db_connections,omitempty" validate:"omitempty,gte=0,lte=2.147483647e+09"`
// PGBouncer pool mode
AutodbPoolMode JSONSchemaPgbouncerAutodbPoolMode `json:"autodb_pool_mode,omitempty"`
// If non-zero then create automatically a pool of that size per user when a pool doesn't exist.
AutodbPoolSize int `json:"autodb_pool_size,omitempty" validate:"omitempty,gte=0,lte=10000"`
// List of parameters to ignore when given in startup packet
IgnoreStartupParameters []string `json:"ignore_startup_parameters,omitempty"`
// PgBouncer tracks protocol-level named prepared statements related commands sent by the client in transaction and statement pooling modes when max_prepared_statements is set to a non-zero value. Setting it to 0 disables prepared statements. max_prepared_statements defaults to 100, and its maximum is 3000.
MaxPreparedStatements int `json:"max_prepared_statements,omitempty" validate:"omitempty,gte=0,lte=3000"`
// Add more server connections to pool if below this number. Improves behavior when usual load comes suddenly back after period of total inactivity. The value is effectively capped at the pool size.
MinPoolSize int `json:"min_pool_size,omitempty" validate:"omitempty,gte=0,lte=10000"`
// If a server connection has been idle more than this many seconds it will be dropped. If 0 then timeout is disabled. [seconds]
ServerIdleTimeout int `json:"server_idle_timeout,omitempty" validate:"omitempty,gte=0,lte=86400"`
// The pooler will close an unused server connection that has been connected longer than this. [seconds]
ServerLifetime int `json:"server_lifetime,omitempty" validate:"omitempty,gte=60,lte=86400"`
// Run server_reset_query (DISCARD ALL) in all pooling modes
ServerResetQueryAlways *bool `json:"server_reset_query_always,omitempty"`
}
System-wide settings for pgbouncer.
type JSONSchemaPgbouncerAutodbPoolMode ¶
type JSONSchemaPgbouncerAutodbPoolMode string
const ( JSONSchemaPgbouncerAutodbPoolModeTransaction JSONSchemaPgbouncerAutodbPoolMode = "transaction" JSONSchemaPgbouncerAutodbPoolModeSession JSONSchemaPgbouncerAutodbPoolMode = "session" JSONSchemaPgbouncerAutodbPoolModeStatement JSONSchemaPgbouncerAutodbPoolMode = "statement" )
type JSONSchemaPglookout ¶
type JSONSchemaPglookout struct {
// Number of seconds of master unavailability before triggering database failover to standby
MaxFailoverReplicationTimeLag int `json:"max_failover_replication_time_lag,omitempty" validate:"omitempty,gte=10,lte=9.223372036854776e+18"`
}
System-wide settings for pglookout.
type JSONSchemaSchemaRegistry ¶
type JSONSchemaSchemaRegistry struct {
// If true, Karapace / Schema Registry on the service nodes can participate in leader election. It might be needed to disable this when the schemas topic is replicated to a secondary cluster and Karapace / Schema Registry there must not participate in leader election. Defaults to `true`.
LeaderEligibility *bool `json:"leader_eligibility,omitempty"`
// The durable single partition topic that acts as the durable log for the data. This topic must be compacted to avoid losing data due to retention policy. Please note that changing this configuration in an existing Schema Registry / Karapace setup leads to previous schemas being inaccessible, data encoded with them potentially unreadable and schema ID sequence put out of order. It's only possible to do the switch while Schema Registry / Karapace is disabled. Defaults to `_schemas`.
TopicName string `json:"topic_name,omitempty" validate:"omitempty,gte=1,lte=249"`
}
Schema Registry configuration
type JSONSchemaThanos ¶ added in v3.1.26
type JSONSchemaThanos struct {
// Configuration options for Thanos Compactor.
Compactor *JSONSchemaThanosCompactor `json:"compactor,omitempty"`
// Configuration options for Thanos Query.
Query *JSONSchemaThanosQuery `json:"query,omitempty"`
// Configuration options for Thanos Query Frontend.
QueryFrontend *JSONSchemaThanosQueryFrontend `json:"query-frontend,omitempty"`
}
Thanos settings
type JSONSchemaThanosCompactor ¶ added in v3.1.26
type JSONSchemaThanosCompactor struct {
// Retention time for data in days for each resolution (5m, 1h, raw)
RetentionDays int `json:"retention.days,omitempty" validate:"omitempty,gte=0"`
}
Configuration options for Thanos Compactor.
type JSONSchemaThanosQuery ¶ added in v3.1.26
type JSONSchemaThanosQuery struct {
// Set the default evaluation interval for subqueries.
QueryDefaultEvaluationInterval string `json:"query.default-evaluation-interval,omitempty" validate:"omitempty,lte=20"`
// The maximum lookback duration for retrieving metrics during expression evaluations in PromQL. PromQL always evaluates the query for a certain timestamp, and it looks back for the given amount of time to get the latest sample. If it exceeds the maximum lookback delta, it assumes the series is stale and returns none (a gap). The lookback delta should be set to at least 2 times the slowest scrape interval. If unset, it will use the promql default of 5m.
QueryLookbackDelta string `json:"query.lookback-delta,omitempty" validate:"omitempty,lte=20"`
// The default metadata time range duration for retrieving labels through Labels and Series API when the range parameters are not specified. The zero value means the range covers the time since the beginning.
QueryMetadataDefaultTimeRange string `json:"query.metadata.default-time-range,omitempty" validate:"omitempty,lte=20"`
// Maximum time to process a query by the query node.
QueryTimeout string `json:"query.timeout,omitempty" validate:"omitempty,lte=20"`
// The maximum samples allowed for a single Series request. The Series call fails if this limit is exceeded. Set to 0 for no limit. NOTE: For efficiency, the limit is internally implemented as 'chunks limit' considering each chunk contains a maximum of 120 samples. The default value is 100 * store.limits.request-series.
StoreLimitsRequestSamples int `json:"store.limits.request-samples,omitempty" validate:"omitempty,gte=0,lte=1e+08"`
// The maximum series allowed for a single Series request. The Series call fails if this limit is exceeded. Set to 0 for no limit. The default value is 1000 * cpu_count.
StoreLimitsRequestSeries int `json:"store.limits.request-series,omitempty" validate:"omitempty,gte=0,lte=1e+08"`
}
Configuration options for Thanos Query.
type JSONSchemaThanosQueryFrontend ¶ added in v3.1.26
type JSONSchemaThanosQueryFrontend struct {
// Whether to align the query range boundaries with the step. If enabled, the query range boundaries will be aligned to the step, providing more accurate results for queries with high-resolution data.
QueryRangeAlignRangeWithStep *bool `json:"query-range.align-range-with-step,omitempty"`
}
Configuration options for Thanos Query Frontend.
type JSONSchemaTimescaledb ¶
type JSONSchemaTimescaledb struct {
// The number of background workers for timescaledb operations. You should configure this setting to the sum of your number of databases and the total number of concurrent background workers you want running at any given point in time. Changing this parameter causes a service restart.
MaxBackgroundWorkers int `json:"max_background_workers,omitempty" validate:"omitempty,gte=1,lte=4096"`
}
System-wide settings for the timescaledb extension
type JSONSchemaValkey ¶ added in v3.1.10
type JSONSchemaValkey struct {
// Determines default pub/sub channels' ACL for new users if ACL is not supplied. When this option is not defined, all_channels is assumed to keep backward compatibility. This option doesn't affect Valkey configuration acl-pubsub-default.
AclChannelsDefault JSONSchemaValkeyAclChannelsDefault `json:"acl_channels_default,omitempty"`
// Set Valkey IO thread count. Changing this will cause a restart of the Valkey service.
IoThreads int `json:"io_threads,omitempty" validate:"omitempty,gte=1,lte=32"`
// LFU maxmemory-policy counter decay time in minutes
LfuDecayTime int `json:"lfu_decay_time,omitempty" validate:"omitempty,gte=1,lte=120"`
// Counter logarithm factor for volatile-lfu and allkeys-lfu maxmemory-policies
LfuLogFactor int `json:"lfu_log_factor,omitempty" validate:"omitempty,gte=0,lte=100"`
// Valkey maxmemory-policy
MaxmemoryPolicy JSONSchemaValkeyMaxmemoryPolicy `json:"maxmemory_policy,omitempty"`
// Set notify-keyspace-events option
NotifyKeyspaceEvents string `json:"notify_keyspace_events,omitempty" validate:"omitempty,lte=32"`
// Set number of Valkey databases. Changing this will cause a restart of the Valkey service.
NumberOfDatabases int `json:"number_of_databases,omitempty" validate:"omitempty,gte=1,lte=128"`
// When persistence is 'rdb', Valkey does RDB dumps each 10 minutes if any key is changed. Also RDB dumps are done according to backup schedule for backup purposes. When persistence is 'off', no RDB dumps and backups are done, so data can be lost at any moment if service is restarted for any reason, or if service is powered off. Also service can't be forked.
Persistence JSONSchemaValkeyPersistence `json:"persistence,omitempty"`
// Set output buffer limit for pub / sub clients in MB. The value is the hard limit, the soft limit is 1/4 of the hard limit. When setting the limit, be mindful of the available memory in the selected service plan.
PubsubClientOutputBufferLimit int `json:"pubsub_client_output_buffer_limit,omitempty" validate:"omitempty,gte=32,lte=512"`
// Require SSL to access Valkey
SSL *bool `json:"ssl,omitempty"`
// Valkey idle connection timeout in seconds
Timeout int `json:"timeout,omitempty" validate:"omitempty,gte=0,lte=3.1536e+07"`
}
Valkey settings
type JSONSchemaValkeyAclChannelsDefault ¶ added in v3.1.10
type JSONSchemaValkeyAclChannelsDefault string
const ( JSONSchemaValkeyAclChannelsDefaultAllchannels JSONSchemaValkeyAclChannelsDefault = "allchannels" JSONSchemaValkeyAclChannelsDefaultResetchannels JSONSchemaValkeyAclChannelsDefault = "resetchannels" )
type JSONSchemaValkeyMaxmemoryPolicy ¶ added in v3.1.10
type JSONSchemaValkeyMaxmemoryPolicy string
const ( JSONSchemaValkeyMaxmemoryPolicyNoeviction JSONSchemaValkeyMaxmemoryPolicy = "noeviction" JSONSchemaValkeyMaxmemoryPolicyAllkeysLru JSONSchemaValkeyMaxmemoryPolicy = "allkeys-lru" JSONSchemaValkeyMaxmemoryPolicyVolatileLru JSONSchemaValkeyMaxmemoryPolicy = "volatile-lru" JSONSchemaValkeyMaxmemoryPolicyAllkeysRandom JSONSchemaValkeyMaxmemoryPolicy = "allkeys-random" JSONSchemaValkeyMaxmemoryPolicyVolatileRandom JSONSchemaValkeyMaxmemoryPolicy = "volatile-random" JSONSchemaValkeyMaxmemoryPolicyVolatileTtl JSONSchemaValkeyMaxmemoryPolicy = "volatile-ttl" JSONSchemaValkeyMaxmemoryPolicyVolatileLfu JSONSchemaValkeyMaxmemoryPolicy = "volatile-lfu" JSONSchemaValkeyMaxmemoryPolicyAllkeysLfu JSONSchemaValkeyMaxmemoryPolicy = "allkeys-lfu" )
type JSONSchemaValkeyPersistence ¶ added in v3.1.10
type JSONSchemaValkeyPersistence string
const ( JSONSchemaValkeyPersistenceOff JSONSchemaValkeyPersistence = "off" JSONSchemaValkeyPersistenceRdb JSONSchemaValkeyPersistence = "rdb" )
type KubeletImageGC ¶
type KubeletImageGC struct {
HighThreshold int64 `json:"high-threshold,omitempty" validate:"omitempty,gte=0"`
LowThreshold int64 `json:"low-threshold,omitempty" validate:"omitempty,gte=0"`
MinAge string `json:"min-age,omitempty"`
}
Kubelet image GC options
type ListAIInstanceTypesResponse ¶ added in v3.1.34
type ListAIInstanceTypesResponse struct {
InstanceTypes []InstanceTypeEntry `json:"instance-types,omitempty"`
}
List of available instance types with authorization status
type ListAPIKeysResponse ¶
type ListAPIKeysResponse struct {
APIKeys []IAMAPIKey `json:"api-keys,omitempty"`
}
func (ListAPIKeysResponse) FindIAMAPIKey ¶ added in v3.1.1
func (l ListAPIKeysResponse) FindIAMAPIKey(nameOrKey string) (IAMAPIKey, error)
FindIAMAPIKey attempts to find an IAMAPIKey by nameOrKey.
type ListAntiAffinityGroupsResponse ¶
type ListAntiAffinityGroupsResponse struct {
AntiAffinityGroups []AntiAffinityGroup `json:"anti-affinity-groups,omitempty"`
}
func (ListAntiAffinityGroupsResponse) FindAntiAffinityGroup ¶
func (l ListAntiAffinityGroupsResponse) FindAntiAffinityGroup(nameOrID string) (AntiAffinityGroup, error)
FindAntiAffinityGroup attempts to find an AntiAffinityGroup by nameOrID.
type ListBlockStorageSnapshotsResponse ¶
type ListBlockStorageSnapshotsResponse struct {
BlockStorageSnapshots []BlockStorageSnapshot `json:"block-storage-snapshots,omitempty"`
}
func (ListBlockStorageSnapshotsResponse) FindBlockStorageSnapshot ¶
func (l ListBlockStorageSnapshotsResponse) FindBlockStorageSnapshot(nameOrID string) (BlockStorageSnapshot, error)
FindBlockStorageSnapshot attempts to find an BlockStorageSnapshot by nameOrID.
type ListBlockStorageVolumesOpt ¶
func ListBlockStorageVolumesWithInstanceID ¶
func ListBlockStorageVolumesWithInstanceID(instanceID UUID) ListBlockStorageVolumesOpt
type ListBlockStorageVolumesResponse ¶
type ListBlockStorageVolumesResponse struct {
BlockStorageVolumes []BlockStorageVolume `json:"block-storage-volumes,omitempty"`
}
func (ListBlockStorageVolumesResponse) FindBlockStorageVolume ¶
func (l ListBlockStorageVolumesResponse) FindBlockStorageVolume(nameOrID string) (BlockStorageVolume, error)
FindBlockStorageVolume attempts to find an BlockStorageVolume by nameOrID.
type ListDBAASExternalEndpointTypesResponse ¶ added in v3.1.2
type ListDBAASExternalEndpointTypesResponse struct {
EndpointTypes []ListDBAASExternalEndpointTypesResponseEndpointTypes `json:"endpoint-types,omitempty"`
}
type ListDBAASExternalEndpointTypesResponseEndpointTypes ¶ added in v3.1.2
type ListDBAASExternalEndpointTypesResponseEndpointTypes struct {
ServiceTypes []string `json:"service-types,omitempty"`
Title string `json:"title,omitempty"`
Type EnumExternalEndpointTypes `json:"type,omitempty"`
}
type ListDBAASExternalEndpointsResponse ¶ added in v3.1.2
type ListDBAASExternalEndpointsResponse struct {
DBAASEndpoints []DBAASExternalEndpoint `json:"dbaas-endpoints,omitempty"`
}
func (ListDBAASExternalEndpointsResponse) FindDBAASExternalEndpoint ¶ added in v3.1.2
func (l ListDBAASExternalEndpointsResponse) FindDBAASExternalEndpoint(nameOrID string) (DBAASExternalEndpoint, error)
FindDBAASExternalEndpoint attempts to find an DBAASExternalEndpoint by nameOrID.
type ListDBAASExternalIntegrationsResponse ¶ added in v3.1.2
type ListDBAASExternalIntegrationsResponse struct {
ExternalIntegrations []DBAASExternalIntegration `json:"external-integrations,omitempty"`
}
type ListDBAASIntegrationSettingsResponse ¶
type ListDBAASIntegrationSettingsResponse struct {
// The JSON schema representing the settings for the given integration type, source, and destination service types.
Settings *ListDBAASIntegrationSettingsResponseSettings `json:"settings,omitempty"`
}
type ListDBAASIntegrationSettingsResponseSettings ¶
type ListDBAASIntegrationSettingsResponseSettings struct {
AdditionalProperties *bool `json:"additionalProperties,omitempty"`
Properties map[string]any `json:"properties,omitempty"`
Title string `json:"title,omitempty"`
Type string `json:"type,omitempty"`
}
The JSON schema representing the settings for the given integration type, source, and destination service types.
type ListDBAASIntegrationTypesResponse ¶
type ListDBAASIntegrationTypesResponse struct {
DBAASIntegrationTypes []DBAASIntegrationType `json:"dbaas-integration-types,omitempty"`
}
type ListDBAASServiceTypesResponse ¶
type ListDBAASServiceTypesResponse struct {
DBAASServiceTypes []DBAASServiceType `json:"dbaas-service-types,omitempty"`
}
func (ListDBAASServiceTypesResponse) FindDBAASServiceType ¶ added in v3.1.1
func (l ListDBAASServiceTypesResponse) FindDBAASServiceType(name string) (DBAASServiceType, error)
FindDBAASServiceType attempts to find an DBAASServiceType by name.
type ListDBAASServicesResponse ¶
type ListDBAASServicesResponse struct {
DBAASServices []DBAASServiceCommon `json:"dbaas-services,omitempty"`
}
func (ListDBAASServicesResponse) FindDBAASServiceCommon ¶ added in v3.1.1
func (l ListDBAASServicesResponse) FindDBAASServiceCommon(name string) (DBAASServiceCommon, error)
FindDBAASServiceCommon attempts to find an DBAASServiceCommon by name.
type ListDNSDomainRecordsResponse ¶
type ListDNSDomainRecordsResponse struct {
DNSDomainRecords []DNSDomainRecord `json:"dns-domain-records,omitempty"`
}
func (ListDNSDomainRecordsResponse) FindDNSDomainRecord ¶
func (l ListDNSDomainRecordsResponse) FindDNSDomainRecord(nameOrID string) (DNSDomainRecord, error)
FindDNSDomainRecord attempts to find an DNSDomainRecord by nameOrID.
type ListDNSDomainsResponse ¶
type ListDNSDomainsResponse struct {
DNSDomains []DNSDomain `json:"dns-domains,omitempty"`
}
func (ListDNSDomainsResponse) FindDNSDomain ¶ added in v3.1.1
func (l ListDNSDomainsResponse) FindDNSDomain(idOrUnicodeName string) (DNSDomain, error)
FindDNSDomain attempts to find an DNSDomain by idOrUnicodeName.
type ListDeployTargetsResponse ¶
type ListDeployTargetsResponse struct {
DeployTargets []DeployTarget `json:"deploy-targets,omitempty"`
}
func (ListDeployTargetsResponse) FindDeployTarget ¶
func (l ListDeployTargetsResponse) FindDeployTarget(nameOrID string) (DeployTarget, error)
FindDeployTarget attempts to find an DeployTarget by nameOrID.
type ListDeploymentsResponse ¶ added in v3.1.29
type ListDeploymentsResponse struct {
Deployments []ListDeploymentsResponseEntry `json:"deployments,omitempty"`
}
AI model list
func (ListDeploymentsResponse) FindListDeploymentsResponseEntry ¶ added in v3.1.31
func (l ListDeploymentsResponse) FindListDeploymentsResponseEntry(nameOrID string) (ListDeploymentsResponseEntry, error)
FindListDeploymentsResponseEntry attempts to find an ListDeploymentsResponseEntry by nameOrID.
type ListDeploymentsResponseEntry ¶ added in v3.1.29
type ListDeploymentsResponseEntry struct {
// Creation time
CreatedAT time.Time `json:"created-at,omitempty"`
// Deployment URL (nullable)
DeploymentURL string `json:"deployment-url,omitempty"`
// Number of GPUs
GpuCount int64 `json:"gpu-count,omitempty" validate:"omitempty,gte=1"`
// GPU type family
GpuType string `json:"gpu-type,omitempty" validate:"omitempty,gte=1"`
// Deployment ID
ID UUID `json:"id,omitempty"`
Model *ModelRef `json:"model,omitempty"`
// Deployment name
Name string `json:"name,omitempty" validate:"omitempty,gte=1"`
// Number of replicas (>=0)
Replicas int64 `json:"replicas,omitempty" validate:"omitempty,gte=0"`
// Service level
ServiceLevel string `json:"service-level,omitempty" validate:"omitempty,gte=1"`
// Deployment state
State ListDeploymentsResponseEntryState `json:"state,omitempty"`
// Update time
UpdatedAT time.Time `json:"updated-at,omitempty"`
}
AI deployment
type ListDeploymentsResponseEntryState ¶ added in v3.1.34
type ListDeploymentsResponseEntryState string
const ( ListDeploymentsResponseEntryStateReady ListDeploymentsResponseEntryState = "ready" ListDeploymentsResponseEntryStateCreating ListDeploymentsResponseEntryState = "creating" ListDeploymentsResponseEntryStateError ListDeploymentsResponseEntryState = "error" ListDeploymentsResponseEntryStateDeploying ListDeploymentsResponseEntryState = "deploying" )
type ListElasticIPSResponse ¶
type ListElasticIPSResponse struct {
ElasticIPS []ElasticIP `json:"elastic-ips,omitempty"`
}
func (ListElasticIPSResponse) FindElasticIP ¶ added in v3.1.1
func (l ListElasticIPSResponse) FindElasticIP(idOrIP string) (ElasticIP, error)
FindElasticIP attempts to find an ElasticIP by idOrIP.
type ListEventsOpt ¶
func ListEventsWithFrom ¶
func ListEventsWithFrom(from time.Time) ListEventsOpt
func ListEventsWithTo ¶
func ListEventsWithTo(to time.Time) ListEventsOpt
type ListIAMRolesResponse ¶
type ListIAMRolesResponse struct {
IAMRoles []IAMRole `json:"iam-roles,omitempty"`
}
func (ListIAMRolesResponse) FindIAMRole ¶
func (l ListIAMRolesResponse) FindIAMRole(nameOrID string) (IAMRole, error)
FindIAMRole attempts to find an IAMRole by nameOrID.
type ListInstancePoolsResponse ¶
type ListInstancePoolsResponse struct {
InstancePools []InstancePool `json:"instance-pools,omitempty"`
}
func (ListInstancePoolsResponse) FindInstancePool ¶
func (l ListInstancePoolsResponse) FindInstancePool(nameOrID string) (InstancePool, error)
FindInstancePool attempts to find an InstancePool by nameOrID.
type ListInstanceTypesResponse ¶
type ListInstanceTypesResponse struct {
InstanceTypes []InstanceType `json:"instance-types,omitempty"`
}
func (ListInstanceTypesResponse) FindInstanceType ¶ added in v3.1.1
func (l ListInstanceTypesResponse) FindInstanceType(id string) (InstanceType, error)
FindInstanceType attempts to find an InstanceType by id.
func (ListInstanceTypesResponse) FindInstanceTypeByIdOrFamilyAndSize ¶ added in v3.1.10
func (l ListInstanceTypesResponse) FindInstanceTypeByIdOrFamilyAndSize(familyAndSizeOrId string) (InstanceType, error)
FindInstanceType attempts to find an InstanceType by id, or by a string or the form FAMILY.SIZE or SIZE, where family defaults to "standard"
type ListInstancesManagerType ¶
type ListInstancesManagerType string
const (
ListInstancesManagerTypeInstancePool ListInstancesManagerType = "instance-pool"
)
type ListInstancesOpt ¶
func ListInstancesWithIPAddress ¶
func ListInstancesWithIPAddress(ipAddress string) ListInstancesOpt
func ListInstancesWithManagerID ¶
func ListInstancesWithManagerID(managerID UUID) ListInstancesOpt
func ListInstancesWithManagerType ¶
func ListInstancesWithManagerType(managerType ListInstancesManagerType) ListInstancesOpt
type ListInstancesResponse ¶
type ListInstancesResponse struct {
Instances []ListInstancesResponseInstances `json:"instances,omitempty"`
}
func (ListInstancesResponse) FindListInstancesResponseInstances ¶
func (l ListInstancesResponse) FindListInstancesResponseInstances(nameOrID string) (ListInstancesResponseInstances, error)
FindListInstancesResponseInstances attempts to find an ListInstancesResponseInstances by nameOrID.
type ListInstancesResponseInstances ¶
type ListInstancesResponseInstances struct {
// Instance creation date
CreatedAT time.Time `json:"created-at,omitempty"`
// Instance ID
ID UUID `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"`
// Instance MAC address
MACAddress string `json:"mac-address,omitempty"`
// Resource manager
Manager *Manager `json:"manager,omitempty"`
// Instance name
Name string `json:"name,omitempty" validate:"omitempty,gte=1,lte=255"`
// Instance Private Networks
PrivateNetworks []ListInstancesResponseInstancesPrivateNetworks `json:"private-networks,omitempty"`
// Instance public IPv4 address
PublicIP net.IP `json:"public-ip,omitempty"`
PublicIPAssignment PublicIPAssignment `json:"public-ip-assignment,omitempty"`
// Instance Security Groups
SecurityGroups []SecurityGroup `json:"security-groups,omitempty"`
// SSH key
SSHKey *SSHKey `json:"ssh-key,omitempty"`
// Instance SSH Keys
SSHKeys []SSHKey `json:"ssh-keys,omitempty"`
State InstanceState `json:"state,omitempty"`
// Instance template
Template *Template `json:"template,omitempty"`
}
Instance
type ListInstancesResponseInstancesPrivateNetworks ¶
type ListInstancesResponseInstancesPrivateNetworks struct {
// Private Network ID
ID UUID `json:"id,omitempty"`
// Private Network MAC address
MACAddress string `json:"mac-address,omitempty"`
}
Private Network
type ListLoadBalancersResponse ¶
type ListLoadBalancersResponse struct {
LoadBalancers []LoadBalancer `json:"load-balancers,omitempty"`
}
func (ListLoadBalancersResponse) FindLoadBalancer ¶
func (l ListLoadBalancersResponse) FindLoadBalancer(nameOrID string) (LoadBalancer, error)
FindLoadBalancer attempts to find an LoadBalancer by nameOrID.
type ListModelsResponse ¶ added in v3.1.29
type ListModelsResponse struct {
Models []ListModelsResponseEntry `json:"models,omitempty"`
}
AI model list
func (ListModelsResponse) FindListModelsResponseEntry ¶ added in v3.1.31
func (l ListModelsResponse) FindListModelsResponseEntry(nameOrID string) (ListModelsResponseEntry, error)
FindListModelsResponseEntry attempts to find an ListModelsResponseEntry by nameOrID.
type ListModelsResponseEntry ¶ added in v3.1.29
type ListModelsResponseEntry struct {
// Creation time
CreatedAT time.Time `json:"created-at,omitempty"`
// Model ID
ID UUID `json:"id,omitempty"`
// Model size (nullable)
ModelSize int64 `json:"model-size,omitempty" validate:"omitempty,gte=0"`
// Model name
Name string `json:"name,omitempty" validate:"omitempty,gte=1"`
// Model state
State ListModelsResponseEntryState `json:"state,omitempty"`
// Update time
UpdatedAT time.Time `json:"updated-at,omitempty"`
}
AI model
type ListModelsResponseEntryState ¶ added in v3.1.34
type ListModelsResponseEntryState string
const ( ListModelsResponseEntryStateReady ListModelsResponseEntryState = "ready" ListModelsResponseEntryStateCreating ListModelsResponseEntryState = "creating" ListModelsResponseEntryStateDownloading ListModelsResponseEntryState = "downloading" ListModelsResponseEntryStateError ListModelsResponseEntryState = "error" ListModelsResponseEntryStateCreated ListModelsResponseEntryState = "created" )
type ListPrivateNetworksResponse ¶
type ListPrivateNetworksResponse struct {
PrivateNetworks []PrivateNetwork `json:"private-networks,omitempty"`
}
func (ListPrivateNetworksResponse) FindPrivateNetwork ¶
func (l ListPrivateNetworksResponse) FindPrivateNetwork(nameOrID string) (PrivateNetwork, error)
FindPrivateNetwork attempts to find an PrivateNetwork by nameOrID.
type ListQuotasResponse ¶
type ListQuotasResponse struct {
Quotas []Quota `json:"quotas,omitempty"`
}
type ListSKSClusterVersionsOpt ¶
func ListSKSClusterVersionsWithIncludeDeprecated ¶
func ListSKSClusterVersionsWithIncludeDeprecated(includeDeprecated string) ListSKSClusterVersionsOpt
type ListSKSClusterVersionsResponse ¶
type ListSKSClusterVersionsResponse struct {
SKSClusterVersions []string `json:"sks-cluster-versions,omitempty"`
}
type ListSKSClustersResponse ¶
type ListSKSClustersResponse struct {
SKSClusters []SKSCluster `json:"sks-clusters,omitempty"`
}
func (ListSKSClustersResponse) FindSKSCluster ¶
func (l ListSKSClustersResponse) FindSKSCluster(nameOrID string) (SKSCluster, error)
FindSKSCluster attempts to find an SKSCluster by nameOrID.
type ListSOSBucketsUsageResponse ¶
type ListSOSBucketsUsageResponse struct {
SOSBucketsUsage []SOSBucketUsage `json:"sos-buckets-usage,omitempty"`
}
func (ListSOSBucketsUsageResponse) FindSOSBucketUsage ¶ added in v3.1.1
func (l ListSOSBucketsUsageResponse) FindSOSBucketUsage(name string) (SOSBucketUsage, error)
FindSOSBucketUsage attempts to find an SOSBucketUsage by name.
type ListSSHKeysResponse ¶
type ListSSHKeysResponse struct {
SSHKeys []SSHKey `json:"ssh-keys,omitempty"`
}
func (ListSSHKeysResponse) FindSSHKey ¶ added in v3.1.1
func (l ListSSHKeysResponse) FindSSHKey(nameOrFingerprint string) (SSHKey, error)
FindSSHKey attempts to find an SSHKey by nameOrFingerprint.
type ListSecurityGroupsOpt ¶
func ListSecurityGroupsWithVisibility ¶
func ListSecurityGroupsWithVisibility(visibility ListSecurityGroupsVisibility) ListSecurityGroupsOpt
type ListSecurityGroupsResponse ¶
type ListSecurityGroupsResponse struct {
SecurityGroups []SecurityGroup `json:"security-groups,omitempty"`
}
func (ListSecurityGroupsResponse) FindSecurityGroup ¶
func (l ListSecurityGroupsResponse) FindSecurityGroup(nameOrID string) (SecurityGroup, error)
FindSecurityGroup attempts to find an SecurityGroup by nameOrID.
type ListSecurityGroupsVisibility ¶
type ListSecurityGroupsVisibility string
const ( ListSecurityGroupsVisibilityPrivate ListSecurityGroupsVisibility = "private" ListSecurityGroupsVisibilityPublic ListSecurityGroupsVisibility = "public" )
type ListSnapshotsResponse ¶
type ListSnapshotsResponse struct {
Snapshots []Snapshot `json:"snapshots,omitempty"`
}
func (ListSnapshotsResponse) FindSnapshot ¶
func (l ListSnapshotsResponse) FindSnapshot(nameOrID string) (Snapshot, error)
FindSnapshot attempts to find an Snapshot by nameOrID.
type ListTemplatesOpt ¶
func ListTemplatesWithFamily ¶
func ListTemplatesWithFamily(family string) ListTemplatesOpt
func ListTemplatesWithVisibility ¶
func ListTemplatesWithVisibility(visibility ListTemplatesVisibility) ListTemplatesOpt
type ListTemplatesResponse ¶
type ListTemplatesResponse struct {
Templates []Template `json:"templates,omitempty"`
}
func (ListTemplatesResponse) FindTemplate ¶
func (l ListTemplatesResponse) FindTemplate(nameOrID string) (Template, error)
FindTemplate attempts to find an Template by nameOrID.
type ListTemplatesVisibility ¶
type ListTemplatesVisibility string
const ( ListTemplatesVisibilityPrivate ListTemplatesVisibility = "private" ListTemplatesVisibilityPublic ListTemplatesVisibility = "public" )
type ListUsersResponse ¶ added in v3.1.8
type ListUsersResponse struct {
Users []User `json:"users,omitempty"`
}
type ListZonesResponse ¶
type ListZonesResponse struct {
Zones []Zone `json:"zones,omitempty"`
}
type LoadBalancer ¶
type LoadBalancer struct {
// Load Balancer creation date
CreatedAT time.Time `json:"created-at,omitempty"`
// Load Balancer description
Description string `json:"description,omitempty" validate:"omitempty,lte=255"`
// Load Balancer ID
ID UUID `json:"id,omitempty"`
// Load Balancer public IP
IP net.IP `json:"ip,omitempty"`
Labels Labels `json:"labels,omitempty"`
// Load Balancer name
Name string `json:"name,omitempty" validate:"omitempty,gte=1,lte=255"`
// 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 net.IP `json:"public-ip,omitempty"`
// Status of the instance's healthcheck
Status LoadBalancerServerStatusStatus `json:"status,omitempty"`
}
Load Balancer Service status
type LoadBalancerServerStatusStatus ¶
type LoadBalancerServerStatusStatus string
const ( LoadBalancerServerStatusStatusFailure LoadBalancerServerStatusStatus = "failure" LoadBalancerServerStatusStatusSuccess LoadBalancerServerStatusStatus = "success" )
type LoadBalancerService ¶
type LoadBalancerService struct {
// Load Balancer Service description
Description string `json:"description,omitempty" validate:"omitempty,lte=255"`
// 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 UUID `json:"id,omitempty"`
// Instance Pool
InstancePool *InstancePool `json:"instance-pool,omitempty"`
// Load Balancer Service name
Name string `json:"name,omitempty" validate:"omitempty,gte=1,lte=255"`
// Port exposed on the Load Balancer's public IP
Port int64 `json:"port,omitempty" validate:"omitempty,gt=0"`
// 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" validate:"omitempty,gt=0"`
}
Load Balancer Service
type LoadBalancerServiceHealthcheck ¶
type LoadBalancerServiceHealthcheck struct {
// Healthcheck interval (default: 10). Must be greater than or equal to Timeout
Interval int64 `json:"interval,omitempty" validate:"omitempty,gte=5,lte=300"`
// Healthcheck mode
Mode LoadBalancerServiceHealthcheckMode `json:"mode,omitempty"`
// Healthcheck port
Port int64 `json:"port,omitempty" validate:"omitempty,gte=1,lte=65535"`
// Number of retries before considering a Service failed
Retries int64 `json:"retries,omitempty" validate:"omitempty,gte=1,lte=20"`
// Healthcheck timeout value (default: 2). Must be lower than or equal to Interval
Timeout int64 `json:"timeout,omitempty" validate:"omitempty,gte=2,lte=60"`
// SNI domain for HTTPS healthchecks
TlsSNI string `json:"tls-sni,omitempty" validate:"omitempty,gte=1,lte=255"`
// An endpoint to use for the HTTP healthcheck, e.g. '/status'
URI string `json:"uri,omitempty" validate:"omitempty,gte=1,lte=255"`
}
Load Balancer Service healthcheck
type LoadBalancerServiceHealthcheckMode ¶
type LoadBalancerServiceHealthcheckMode string
const ( LoadBalancerServiceHealthcheckModeTCP LoadBalancerServiceHealthcheckMode = "tcp" LoadBalancerServiceHealthcheckModeHTTP LoadBalancerServiceHealthcheckMode = "http" LoadBalancerServiceHealthcheckModeHttps LoadBalancerServiceHealthcheckMode = "https" )
type LoadBalancerServiceProtocol ¶
type LoadBalancerServiceProtocol string
const ( LoadBalancerServiceProtocolTCP LoadBalancerServiceProtocol = "tcp" LoadBalancerServiceProtocolUDP LoadBalancerServiceProtocol = "udp" )
type LoadBalancerServiceState ¶
type LoadBalancerServiceState string
const ( LoadBalancerServiceStateCreating LoadBalancerServiceState = "creating" LoadBalancerServiceStateDeleting LoadBalancerServiceState = "deleting" LoadBalancerServiceStateRunning LoadBalancerServiceState = "running" LoadBalancerServiceStateUpdating LoadBalancerServiceState = "updating" LoadBalancerServiceStateError LoadBalancerServiceState = "error" )
type LoadBalancerServiceStrategy ¶
type LoadBalancerServiceStrategy string
const ( LoadBalancerServiceStrategyRoundRobin LoadBalancerServiceStrategy = "round-robin" LoadBalancerServiceStrategyMaglevHash LoadBalancerServiceStrategy = "maglev-hash" LoadBalancerServiceStrategySourceHash LoadBalancerServiceStrategy = "source-hash" )
type LoadBalancerState ¶
type LoadBalancerState string
const ( LoadBalancerStateCreating LoadBalancerState = "creating" LoadBalancerStateMigrated LoadBalancerState = "migrated" LoadBalancerStateDeleting LoadBalancerState = "deleting" LoadBalancerStateRunning LoadBalancerState = "running" LoadBalancerStateMigrating LoadBalancerState = "migrating" LoadBalancerStateError LoadBalancerState = "error" )
type Manager ¶
type Manager struct {
// Manager ID
ID UUID `json:"id,omitempty"`
// Manager type
Type ManagerType `json:"type,omitempty"`
}
Resource manager
type ManagerType ¶
type ManagerType string
const ( ManagerTypeSKSNodepool ManagerType = "sks-nodepool" ManagerTypeInstancePool ManagerType = "instance-pool" )
type Networking ¶ added in v3.1.20
type Networking struct {
// CIDR Range for Pods in cluster. This must not overlap with any IP ranges assigned to pods. Max of two, comma-separated, dual-stack CIDRs is allowed.
// If not specified, defaults to 192.168.0.0/16.
ClusterCidr string `json:"cluster-cidr,omitempty"`
// Mask size for node cidr in cluster. It must be larger than the Pod CIDR subnet mask. Defaults to 24
NodeCidrMaskSizeIpv4 int64 `json:"node-cidr-mask-size-ipv4,omitempty" validate:"omitempty,gt=0"`
// Mask size for node cidr in cluster. It must be larger than the Pod CIDR subnet mask. Defaults to 64
NodeCidrMaskSizeIpv6 int64 `json:"node-cidr-mask-size-ipv6,omitempty" validate:"omitempty,gt=0"`
// CIDR range for service cluster IPs. This must not overlap with any IP ranges assigned to nodes or pods. Max of two, comma-separated, dual-stack CIDRs is allowed.
// If not specified, defaults to 10.96.0.0/12.
ServiceClusterIPRange string `json:"service-cluster-ip-range,omitempty"`
}
Cluster networking configuration.
type Operation ¶
type Operation struct {
// Operation ID
ID UUID `json:"id,omitempty"`
// Operation message
Message string `json:"message,omitempty"`
// Operation failure reason
Reason OperationReason `json:"reason,omitempty"`
// Related resource reference
Reference *OperationReference `json:"reference,omitempty"`
// Operation status
State OperationState `json:"state,omitempty"`
}
Operation
type OperationReason ¶
type OperationReason string
const ( OperationReasonIncorrect OperationReason = "incorrect" OperationReasonUnknown OperationReason = "unknown" OperationReasonForbidden OperationReason = "forbidden" OperationReasonBusy OperationReason = "busy" OperationReasonFault OperationReason = "fault" OperationReasonPartial OperationReason = "partial" OperationReasonNotFound OperationReason = "not-found" OperationReasonInterrupted OperationReason = "interrupted" OperationReasonUnsupported OperationReason = "unsupported" OperationReasonConflict OperationReason = "conflict" )
type OperationReference ¶
type OperationReference struct {
// Command name
Command string `json:"command,omitempty"`
// Reference ID
ID UUID `json:"id,omitempty"`
// Link to the referenced resource
Link string `json:"link,omitempty"`
}
Related resource reference
type OperationState ¶
type OperationState string
const ( OperationStateFailure OperationState = "failure" OperationStatePending OperationState = "pending" OperationStateSuccess OperationState = "success" OperationStateTimeout OperationState = "timeout" )
type Organization ¶
type Organization struct {
// Organization address
Address string `json:"address,omitempty"`
// Organization balance
Balance float64 `json:"balance,omitempty"`
// Organization city
City string `json:"city,omitempty"`
// Organization country
Country string `json:"country,omitempty"`
// Organization currency
Currency string `json:"currency,omitempty"`
// Organization ID
ID UUID `json:"id,omitempty"`
// Organization name
Name string `json:"name,omitempty"`
// Organization postcode
Postcode string `json:"postcode,omitempty"`
}
Organization
type OrganizationUsage ¶ added in v3.1.34
type OrganizationUsage struct {
// Total GPU count
Gpu int64 `json:"gpu" validate:"required,gte=0"`
}
Organization GPU usage
type PrivateNetwork ¶
type PrivateNetwork struct {
// Private Network description
Description string `json:"description,omitempty" validate:"omitempty,lte=255"`
// Private Network end IP address
EndIP net.IP `json:"end-ip,omitempty"`
// Private Network ID
ID UUID `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" validate:"omitempty,gte=1,lte=255"`
// Private Network netmask
Netmask net.IP `json:"netmask,omitempty"`
// Private Network DHCP Options
Options *PrivateNetworkOptions `json:"options,omitempty"`
// Private Network start IP address
StartIP net.IP `json:"start-ip,omitempty"`
// Private Network VXLAN ID
Vni int64 `json:"vni,omitempty" validate:"omitempty,gt=0"`
}
Private Network
type PrivateNetworkLease ¶
type PrivateNetworkLease struct {
// Attached instance ID
InstanceID UUID `json:"instance-id,omitempty"`
// Private Network IP address
IP net.IP `json:"ip,omitempty"`
}
Private Network leased IP address
type PrivateNetworkOptions ¶ added in v3.1.6
type PrivateNetworkOptions struct {
// DNS Servers
DNSServers []net.IP `json:"dns-servers,omitempty"`
// Domain search list, limited to 255 octets
DomainSearch []string `json:"domain-search,omitempty"`
// NTP Servers
NtpServers []net.IP `json:"ntp-servers,omitempty"`
// Routers
Routers []net.IP `json:"routers,omitempty"`
}
Private Network DHCP Options
type PrivateNetworkRef ¶ added in v3.1.34
type PrivateNetworkRef struct {
// Private network ID
ID UUID `json:"id,omitempty"`
}
Private network reference
type PromoteSnapshotToTemplateRequest ¶
type PromoteSnapshotToTemplateRequest struct {
// Template default user
DefaultUser string `json:"default-user,omitempty" validate:"omitempty,gte=1,lte=255"`
// Template description
Description string `json:"description,omitempty" validate:"omitempty,lte=4096"`
// Template name
Name string `json:"name" validate:"required,gte=1,lte=255"`
// Enable password-based login in the template
PasswordEnabled *bool `json:"password-enabled,omitempty"`
// Enable SSH key-based login in the template
SSHKeyEnabled *bool `json:"ssh-key-enabled,omitempty"`
}
type PublicIPAssignment ¶
type PublicIPAssignment string
const ( PublicIPAssignmentInet4 PublicIPAssignment = "inet4" PublicIPAssignmentDual PublicIPAssignment = "dual" PublicIPAssignmentNone PublicIPAssignment = "none" )
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 RegisterSSHKeyRequest ¶
type RegisterTemplateRequest ¶
type RegisterTemplateRequest struct {
// Template with support for Application Consistent Snapshots
ApplicationConsistentSnapshotEnabled *bool `json:"application-consistent-snapshot-enabled,omitempty"`
// Boot mode (default: legacy)
BootMode RegisterTemplateRequestBootMode `json:"boot-mode,omitempty"`
// Template build
Build string `json:"build,omitempty" validate:"omitempty,gte=1,lte=255"`
// Template MD5 checksum
Checksum string `json:"checksum" validate:"required,gte=1"`
// Template default user
DefaultUser string `json:"default-user,omitempty" validate:"omitempty,gte=1,lte=255"`
// Template description
Description string `json:"description,omitempty" validate:"omitempty,lte=255"`
// Template maintainer
Maintainer string `json:"maintainer,omitempty" validate:"omitempty,gte=1,lte=255"`
// Template name
Name string `json:"name" validate:"required,gte=1,lte=255"`
// Enable password-based login
PasswordEnabled *bool `json:"password-enabled" validate:"required"`
// Template size
Size int64 `json:"size,omitempty" validate:"omitempty,gt=0"`
// Enable SSH key-based login
SSHKeyEnabled *bool `json:"ssh-key-enabled" validate:"required"`
// Template source URL
URL string `json:"url" validate:"required,gte=1"`
// Template version
Version string `json:"version,omitempty" validate:"omitempty,gte=1,lte=255"`
}
type RegisterTemplateRequestBootMode ¶
type RegisterTemplateRequestBootMode string
const ( RegisterTemplateRequestBootModeLegacy RegisterTemplateRequestBootMode = "legacy" RegisterTemplateRequestBootModeUefi RegisterTemplateRequestBootMode = "uefi" )
type RemoveExternalSourceFromSecurityGroupRequest ¶
type RemoveExternalSourceFromSecurityGroupRequest struct {
// CIDR-formatted network to remove
Cidr string `json:"cidr" validate:"required"`
}
type RequestInterceptorFn ¶
RequestInterceptorFn is the function signature for the RequestInterceptor callback function
type ResetDBAASGrafanaUserPasswordRequest ¶
type ResetDBAASGrafanaUserPasswordRequest struct {
Password DBAASUserPassword `json:"password,omitempty" validate:"omitempty,gte=8,lte=256"`
}
type ResetDBAASKafkaUserPasswordRequest ¶
type ResetDBAASKafkaUserPasswordRequest struct {
Password DBAASUserPassword `json:"password,omitempty" validate:"omitempty,gte=8,lte=256"`
}
type ResetDBAASMysqlUserPasswordRequest ¶
type ResetDBAASMysqlUserPasswordRequest struct {
Authentication EnumMysqlAuthenticationPlugin `json:"authentication,omitempty"`
Password DBAASUserPassword `json:"password,omitempty" validate:"omitempty,gte=8,lte=256"`
}
type ResetDBAASOpensearchUserPasswordRequest ¶
type ResetDBAASOpensearchUserPasswordRequest struct {
Password DBAASUserPassword `json:"password,omitempty" validate:"omitempty,gte=8,lte=256"`
}
type ResetDBAASPostgresUserPasswordRequest ¶
type ResetDBAASPostgresUserPasswordRequest struct {
Password DBAASUserPassword `json:"password,omitempty" validate:"omitempty,gte=8,lte=256"`
}
type ResetDBAASValkeyUserPasswordRequest ¶ added in v3.1.11
type ResetDBAASValkeyUserPasswordRequest struct {
Password DBAASUserPassword `json:"password,omitempty" validate:"omitempty,gte=8,lte=256"`
}
type ResetElasticIPFieldField ¶
type ResetElasticIPFieldField string
const (
ResetElasticIPFieldFieldDescription ResetElasticIPFieldField = "description"
)
type ResetInstanceFieldField ¶
type ResetInstanceFieldField string
const (
ResetInstanceFieldFieldLabels ResetInstanceFieldField = "labels"
)
type ResetInstancePoolFieldField ¶
type ResetInstancePoolFieldField string
const ( ResetInstancePoolFieldFieldAntiAffinityGroups ResetInstancePoolFieldField = "anti-affinity-groups" ResetInstancePoolFieldFieldDescription ResetInstancePoolFieldField = "description" ResetInstancePoolFieldFieldLabels ResetInstancePoolFieldField = "labels" ResetInstancePoolFieldFieldSecurityGroups ResetInstancePoolFieldField = "security-groups" ResetInstancePoolFieldFieldElasticIPS ResetInstancePoolFieldField = "elastic-ips" ResetInstancePoolFieldFieldPrivateNetworks ResetInstancePoolFieldField = "private-networks" ResetInstancePoolFieldFieldSSHKey ResetInstancePoolFieldField = "ssh-key" ResetInstancePoolFieldFieldUserData ResetInstancePoolFieldField = "user-data" ResetInstancePoolFieldFieldDeployTarget ResetInstancePoolFieldField = "deploy-target" ResetInstancePoolFieldFieldIpv6Enabled ResetInstancePoolFieldField = "ipv6-enabled" )
type ResetInstanceRequest ¶
type ResetLoadBalancerFieldField ¶
type ResetLoadBalancerFieldField string
const ( ResetLoadBalancerFieldFieldDescription ResetLoadBalancerFieldField = "description" ResetLoadBalancerFieldFieldLabels ResetLoadBalancerFieldField = "labels" )
type ResetLoadBalancerServiceFieldField ¶
type ResetLoadBalancerServiceFieldField string
const (
ResetLoadBalancerServiceFieldFieldDescription ResetLoadBalancerServiceFieldField = "description"
)
type ResetPrivateNetworkFieldField ¶
type ResetPrivateNetworkFieldField string
const (
ResetPrivateNetworkFieldFieldLabels ResetPrivateNetworkFieldField = "labels"
)
type ResizeBlockStorageVolumeRequest ¶
type ResizeBlockStorageVolumeRequest struct {
// Volume size in GiB
Size int64 `json:"size" validate:"required,gt=0"`
}
type ResizeInstanceDiskRequest ¶
type ResizeInstanceDiskRequest struct {
// Instance disk size in GiB
DiskSize int64 `json:"disk-size" validate:"required,gte=10,lte=51200"`
}
type Resource ¶
type Resource struct {
// Resource ID
ID UUID `json:"id,omitempty"`
// Resource name
Name string `json:"name,omitempty"`
}
Resource
type RevealDeploymentAPIKeyResponse ¶ added in v3.1.29
type RevealDeploymentAPIKeyResponse struct {
APIKey string `json:"api-key,omitempty"`
}
AI deployment inference endpoint authentication key
type ReverseDNSRecord ¶
type ReverseDNSRecord struct {
DomainName DomainName `json:"domain-name,omitempty" validate:"omitempty,gte=1,lte=253"`
}
type RevertInstanceToSnapshotRequest ¶
type RevertInstanceToSnapshotRequest struct {
// Snapshot ID
ID UUID `json:"id" validate:"required"`
}
type SKSAudit ¶ added in v3.1.26
type SKSAudit struct {
// Enabled
Enabled *bool `json:"enabled,omitempty"`
Endpoint SKSAuditEndpoint `json:"endpoint,omitempty" validate:"omitempty,gte=1,lte=2000"`
InitialBackoff SKSAuditInitialBackoff `json:"initial-backoff,omitempty" validate:"omitempty,gte=1,lte=10"`
}
Kubernetes Audit parameters
type SKSAuditBearerToken ¶ added in v3.1.26
type SKSAuditBearerToken string
type SKSAuditCreate ¶ added in v3.1.26
type SKSAuditCreate struct {
BearerToken SKSAuditBearerToken `json:"bearer-token" validate:"required,gte=1,lte=2000"`
Endpoint SKSAuditEndpoint `json:"endpoint" validate:"required,gte=1,lte=2000"`
InitialBackoff SKSAuditInitialBackoff `json:"initial-backoff,omitempty" validate:"omitempty,gte=1,lte=10"`
}
Kubernetes Audit parameters
type SKSAuditEndpoint ¶ added in v3.1.26
type SKSAuditEndpoint string
type SKSAuditInitialBackoff ¶ added in v3.1.26
type SKSAuditInitialBackoff string
type SKSAuditUpdate ¶ added in v3.1.26
type SKSAuditUpdate struct {
BearerToken SKSAuditBearerToken `json:"bearer-token,omitempty" validate:"omitempty,gte=1,lte=2000"`
// Enable or Disable Kubernetes Audit
Enabled *bool `json:"enabled,omitempty"`
Endpoint SKSAuditEndpoint `json:"endpoint,omitempty" validate:"omitempty,gte=1,lte=2000"`
InitialBackoff SKSAuditInitialBackoff `json:"initial-backoff,omitempty" validate:"omitempty,gte=1,lte=10"`
}
Kubernetes Audit parameters
type SKSCluster ¶
type SKSCluster struct {
// Cluster addons
Addons []string `json:"addons,omitempty"`
// Kubernetes Audit parameters
Audit *SKSAudit `json:"audit,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" validate:"omitempty,lte=255"`
// Indicates whether to deploy the Kubernetes network proxy.
EnableKubeProxy *bool `json:"enable-kube-proxy,omitempty"`
// Indicates whether to add operators certificate authority (CA) as part of trusted CAs for the API server.
EnableOperatorsCA *bool `json:"enable-operators-ca,omitempty"`
// Cluster endpoint
Endpoint string `json:"endpoint,omitempty"`
// A list of Kubernetes-only Alpha features to enable for API server component
FeatureGates []string `json:"feature-gates,omitempty"`
// Cluster ID
ID UUID `json:"id,omitempty"`
Labels SKSClusterLabels `json:"labels,omitempty"`
// Cluster level
Level SKSClusterLevel `json:"level,omitempty"`
// Cluster name
Name string `json:"name,omitempty" validate:"omitempty,gte=1,lte=255"`
// 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 SKSClusterCni ¶
type SKSClusterCni string
const ( SKSClusterCniCalico SKSClusterCni = "calico" SKSClusterCniCilium SKSClusterCni = "cilium" )
type SKSClusterLabels ¶ added in v3.1.15
type SKSClusterLevel ¶
type SKSClusterLevel string
const ( SKSClusterLevelStarter SKSClusterLevel = "starter" SKSClusterLevelPro SKSClusterLevel = "pro" )
type SKSClusterRef ¶ added in v3.1.34
type SKSClusterRef struct {
// SKS cluster ID
ID UUID `json:"id,omitempty"`
}
SKS cluster reference
type SKSClusterState ¶
type SKSClusterState string
const ( SKSClusterStateRotatingCsiCredentials SKSClusterState = "rotating-csi-credentials" SKSClusterStateRotatingCcmCredentials SKSClusterState = "rotating-ccm-credentials" SKSClusterStateCreating SKSClusterState = "creating" SKSClusterStateUpgrading SKSClusterState = "upgrading" SKSClusterStateDeleting SKSClusterState = "deleting" SKSClusterStateRunning SKSClusterState = "running" SKSClusterStateSuspending SKSClusterState = "suspending" SKSClusterStateUpdating SKSClusterState = "updating" SKSClusterStateError SKSClusterState = "error" SKSClusterStateRotatingKarpenterCredentials SKSClusterState = "rotating-karpenter-credentials" SKSClusterStateResuming SKSClusterState = "resuming" )
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" validate:"required"`
// Validity in seconds of the Kubeconfig user certificate (default: 30 days)
Ttl int64 `json:"ttl,omitempty" validate:"omitempty,gt=0"`
// 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" validate:"required"`
}
Kubeconfig request for a SKS cluster
type SKSNodepool ¶
type SKSNodepool struct {
// Nodepool addons
Addons []string `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 reference
DeployTarget *DeployTarget `json:"deploy-target,omitempty"`
// Nodepool description
Description string `json:"description,omitempty" validate:"omitempty,lte=255"`
// Nodepool instances disk size in GiB
DiskSize int64 `json:"disk-size,omitempty" validate:"omitempty,gte=20,lte=51200"`
// Nodepool ID
ID UUID `json:"id,omitempty"`
// Target 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" validate:"omitempty,gte=1,lte=30"`
// Instance type reference
InstanceType *InstanceType `json:"instance-type,omitempty"`
// Kubelet image GC options
KubeletImageGC *KubeletImageGC `json:"kubelet-image-gc,omitempty"`
Labels SKSNodepoolLabels `json:"labels,omitempty"`
// Nodepool name
Name string `json:"name,omitempty" validate:"omitempty,gte=1,lte=255"`
// Nodepool Private Networks
PrivateNetworks []PrivateNetwork `json:"private-networks,omitempty"`
// Nodepool public IP assignment of the Instances:
// * IPv4 and IPv6 (`dual`) addressing.
// * IPv4 and IPv6 (`dual`) addressing.
PublicIPAssignment SKSNodepoolPublicIPAssignment `json:"public-ip-assignment,omitempty"`
// Nodepool Security Groups
SecurityGroups []SecurityGroup `json:"security-groups,omitempty"`
// Number of instances
Size int64 `json:"size,omitempty" validate:"omitempty,gte=0"`
// Nodepool state
State SKSNodepoolState `json:"state,omitempty"`
Taints SKSNodepoolTaints `json:"taints,omitempty"`
// Template reference
Template *Template `json:"template,omitempty"`
// Nodepool version
Version string `json:"version,omitempty"`
}
SKS Nodepool
type SKSNodepoolLabels ¶ added in v3.1.15
type SKSNodepoolPublicIPAssignment ¶ added in v3.1.2
type SKSNodepoolPublicIPAssignment string
const ( SKSNodepoolPublicIPAssignmentInet4 SKSNodepoolPublicIPAssignment = "inet4" SKSNodepoolPublicIPAssignmentDual SKSNodepoolPublicIPAssignment = "dual" )
type SKSNodepoolState ¶
type SKSNodepoolState string
const ( SKSNodepoolStateRenewingToken SKSNodepoolState = "renewing-token" SKSNodepoolStateCreating SKSNodepoolState = "creating" SKSNodepoolStateDeleting SKSNodepoolState = "deleting" SKSNodepoolStateRunning SKSNodepoolState = "running" SKSNodepoolStateScaling SKSNodepoolState = "scaling" SKSNodepoolStateUpdating SKSNodepoolState = "updating" SKSNodepoolStateError SKSNodepoolState = "error" )
type SKSNodepoolTaint ¶
type SKSNodepoolTaint struct {
// Nodepool taint effect
Effect SKSNodepoolTaintEffect `json:"effect" validate:"required"`
// Nodepool taint value
Value string `json:"value" validate:"required,gte=1,lte=255"`
}
Nodepool taint
type SKSNodepoolTaintEffect ¶
type SKSNodepoolTaintEffect string
const ( SKSNodepoolTaintEffectNoExecute SKSNodepoolTaintEffect = "NoExecute" SKSNodepoolTaintEffectNoSchedule SKSNodepoolTaintEffect = "NoSchedule" SKSNodepoolTaintEffectPreferNoSchedule SKSNodepoolTaintEffect = "PreferNoSchedule" )
type SKSNodepoolTaints ¶
type SKSNodepoolTaints map[string]SKSNodepoolTaint
type SKSOidc ¶
type SKSOidc struct {
// OpenID client ID
ClientID string `json:"client-id" validate:"required,gte=1,lte=255"`
// JWT claim to use as the user's group
GroupsClaim string `json:"groups-claim,omitempty" validate:"omitempty,gte=1,lte=255"`
// Prefix prepended to group claims
GroupsPrefix string `json:"groups-prefix,omitempty" validate:"omitempty,gte=1,lte=255"`
// OpenID provider URL
IssuerURL string `json:"issuer-url" validate:"required,gte=1,lte=255"`
// A key value map that describes a required claim in the ID Token
RequiredClaim map[string]string `json:"required-claim,omitempty"`
// JWT claim to use as the user name
UsernameClaim string `json:"username-claim,omitempty" validate:"omitempty,gte=1,lte=255"`
// Prefix prepended to username claims
UsernamePrefix string `json:"username-prefix,omitempty" validate:"omitempty,gte=1,lte=255"`
}
SKS Cluster OpenID config map
type SOSBucketUsage ¶
type SOSBucketUsage struct {
// SOS Bucket creation date
CreatedAT time.Time `json:"created-at,omitempty"`
// SOS Bucket name
Name string `json:"name,omitempty"`
// SOS Bucket size in B
Size int64 `json:"size,omitempty" validate:"omitempty,gte=0"`
ZoneName ZoneName `json:"zone-name,omitempty"`
}
SOS Bucket usage
type SSHKey ¶
type SSHKey struct {
// SSH key fingerprint
Fingerprint string `json:"fingerprint,omitempty"`
// SSH key name
Name string `json:"name,omitempty" validate:"omitempty,gte=1,lte=255"`
}
SSH key
type SSHKeyRef ¶ added in v3.1.34
type SSHKeyRef struct {
// SSH key name
Name string `json:"name,omitempty" validate:"omitempty,gte=1,lte=255"`
}
SSH key reference
type ScaleDeploymentRequest ¶ added in v3.1.29
type ScaleDeploymentRequest struct {
// Number of replicas (>=0)
Replicas int64 `json:"replicas" validate:"required,gte=0"`
}
Scale AI deployment
type ScaleInstancePoolRequest ¶
type ScaleInstancePoolRequest struct {
// Number of managed Instances
Size int64 `json:"size" validate:"required,gte=0"`
}
type ScaleInstanceRequest ¶
type ScaleInstanceRequest struct {
// Instance type reference
InstanceType *InstanceType `json:"instance-type" validate:"required"`
}
type ScaleSKSNodepoolRequest ¶
type ScaleSKSNodepoolRequest struct {
// Number of instances
Size int64 `json:"size" validate:"required,gte=0"`
}
type SecurityGroup ¶
type SecurityGroup struct {
// Security Group description
Description string `json:"description,omitempty" validate:"omitempty,lte=255"`
// Security Group external sources
ExternalSources []string `json:"external-sources,omitempty"`
// Security Group ID
ID UUID `json:"id,omitempty"`
// Security Group name
Name string `json:"name,omitempty" validate:"omitempty,gte=1,lte=255"`
// Security Group rules
Rules []SecurityGroupRule `json:"rules,omitempty"`
}
Security Group
type SecurityGroupRef ¶ added in v3.1.34
type SecurityGroupRef struct {
// Security group ID
ID UUID `json:"id,omitempty"`
}
Security group reference
type SecurityGroupResource ¶
type SecurityGroupResource struct {
// Security Group ID
ID UUID `json:"id,omitempty"`
// Security Group name
Name string `json:"name,omitempty" validate:"omitempty,gte=1,lte=255"`
// Whether this points to a public security group. This is only valid when in the context of
// a rule addition which uses a public security group as a source or destination.
Visibility SecurityGroupResourceVisibility `json:"visibility,omitempty"`
}
Security Group
type SecurityGroupResourceVisibility ¶
type SecurityGroupResourceVisibility string
const ( SecurityGroupResourceVisibilityPrivate SecurityGroupResourceVisibility = "private" SecurityGroupResourceVisibilityPublic SecurityGroupResourceVisibility = "public" )
type SecurityGroupRule ¶
type SecurityGroupRule struct {
// Security Group rule description
Description string `json:"description,omitempty" validate:"omitempty,lte=255"`
// End port of the range
EndPort int64 `json:"end-port,omitempty" validate:"omitempty,gte=1,lte=65535"`
// Network flow direction to match
FlowDirection SecurityGroupRuleFlowDirection `json:"flow-direction,omitempty"`
// ICMP details
ICMP *SecurityGroupRuleICMP `json:"icmp,omitempty"`
// Security Group rule ID
ID UUID `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" validate:"omitempty,gte=1,lte=65535"`
}
Security Group rule
type SecurityGroupRuleFlowDirection ¶
type SecurityGroupRuleFlowDirection string
const ( SecurityGroupRuleFlowDirectionIngress SecurityGroupRuleFlowDirection = "ingress" SecurityGroupRuleFlowDirectionEgress SecurityGroupRuleFlowDirection = "egress" )
type SecurityGroupRuleICMP ¶
type SecurityGroupRuleICMP struct {
Code int64 `json:"code,omitempty" validate:"omitempty,gte=-1,lte=254"`
Type int64 `json:"type,omitempty" validate:"omitempty,gte=-1,lte=254"`
}
ICMP details
type SecurityGroupRuleProtocol ¶
type SecurityGroupRuleProtocol string
const ( SecurityGroupRuleProtocolTCP SecurityGroupRuleProtocol = "tcp" SecurityGroupRuleProtocolEsp SecurityGroupRuleProtocol = "esp" SecurityGroupRuleProtocolICMP SecurityGroupRuleProtocol = "icmp" SecurityGroupRuleProtocolUDP SecurityGroupRuleProtocol = "udp" SecurityGroupRuleProtocolGre SecurityGroupRuleProtocol = "gre" SecurityGroupRuleProtocolAh SecurityGroupRuleProtocol = "ah" SecurityGroupRuleProtocolIpip SecurityGroupRuleProtocol = "ipip" SecurityGroupRuleProtocolIcmpv6 SecurityGroupRuleProtocol = "icmpv6" )
type Snapshot ¶
type Snapshot struct {
// Indicates whether the snapshot was taken using an application-consistent method
ApplicationConsistent *bool `json:"application-consistent,omitempty"`
// Snapshot creation date
CreatedAT time.Time `json:"created-at,omitempty"`
// Exported snapshot information
Export *SnapshotExport `json:"export,omitempty"`
// Snapshot ID
ID UUID `json:"id,omitempty"`
// Instance
Instance *Instance `json:"instance,omitempty"`
// Snapshot name
Name string `json:"name,omitempty" validate:"omitempty,gte=1,lte=255"`
// Snapshot size in GiB
Size int64 `json:"size,omitempty" validate:"omitempty,gte=10,lte=51200"`
// Snapshot state
State SnapshotState `json:"state,omitempty"`
}
Snapshot
type SnapshotExport ¶
type SnapshotExport 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"`
}
Exported snapshot information
type SnapshotRef ¶ added in v3.1.34
type SnapshotRef struct {
// Snapshot ID
ID UUID `json:"id,omitempty"`
}
Snapshot reference
type SnapshotState ¶
type SnapshotState string
const ( SnapshotStateSnapshotting SnapshotState = "snapshotting" SnapshotStateDeleted SnapshotState = "deleted" SnapshotStateExporting SnapshotState = "exporting" SnapshotStateReady SnapshotState = "ready" SnapshotStateDeleting SnapshotState = "deleting" SnapshotStateError SnapshotState = "error" SnapshotStateExported SnapshotState = "exported" )
type StartInstanceRequest ¶
type StartInstanceRequest struct {
// Boot in Rescue Mode, using named profile (supported: netboot, netboot-efi)
RescueProfile StartInstanceRequestRescueProfile `json:"rescue-profile,omitempty"`
}
type StartInstanceRequestRescueProfile ¶
type StartInstanceRequestRescueProfile string
const ( StartInstanceRequestRescueProfileNetbootEfi StartInstanceRequestRescueProfile = "netboot-efi" StartInstanceRequestRescueProfileNetboot StartInstanceRequestRescueProfile = "netboot" )
type Template ¶
type Template struct {
// Template with Qemu Guest Agent installed for application consistent snapshot
ApplicationConsistentSnapshotEnabled *bool `json:"application-consistent-snapshot-enabled,omitempty"`
// 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" validate:"omitempty,gte=1,lte=255"`
// Template description
Description string `json:"description,omitempty" validate:"omitempty,lte=255"`
// Template family
Family string `json:"family,omitempty"`
// Template ID
ID UUID `json:"id,omitempty"`
// Template maintainer
Maintainer string `json:"maintainer,omitempty"`
// Template name
Name string `json:"name,omitempty" validate:"omitempty,gte=1,lte=255"`
// Enable password-based login
PasswordEnabled *bool `json:"password-enabled,omitempty"`
// Template size
Size int64 `json:"size,omitempty" validate:"omitempty,gt=0"`
// 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"`
// Zones availability
Zones []ZoneName `json:"zones,omitempty"`
}
Instance template
type TemplateBootMode ¶
type TemplateBootMode string
const ( TemplateBootModeLegacy TemplateBootMode = "legacy" TemplateBootModeUefi TemplateBootMode = "uefi" )
type TemplateRef ¶ added in v3.1.34
type TemplateRef struct {
// Template ID
ID UUID `json:"id,omitempty"`
}
Template reference
type TemplateVisibility ¶
type TemplateVisibility string
const ( TemplateVisibilityPrivate TemplateVisibility = "private" TemplateVisibilityPublic TemplateVisibility = "public" )
type UpdateDBAASExternalIntegrationSettingsDatadogRequest ¶ added in v3.1.3
type UpdateDBAASExternalIntegrationSettingsDatadogRequest struct {
Settings *DBAASIntegrationSettingsDatadog `json:"settings,omitempty"`
}
type UpdateDBAASPGConnectionPoolRequest ¶
type UpdateDBAASPGConnectionPoolRequest struct {
DatabaseName DBAASDatabaseName `json:"database-name,omitempty" validate:"omitempty,gte=1,lte=40"`
Mode EnumPGPoolMode `json:"mode,omitempty"`
Size DBAASPGPoolSize `json:"size,omitempty" validate:"omitempty,gte=1,lte=10000"`
Username DBAASPGPoolUsername `json:"username,omitempty" validate:"omitempty,gte=1,lte=64"`
}
type UpdateDBAASPostgresAllowReplicationRequest ¶
type UpdateDBAASPostgresAllowReplicationRequest struct {
AllowReplication *bool `json:"allow-replication,omitempty"`
}
type UpdateDBAASServiceGrafanaRequest ¶
type UpdateDBAASServiceGrafanaRequest struct {
// Grafana settings
GrafanaSettings *JSONSchemaGrafana `json:"grafana-settings,omitempty"`
// Allowed CIDR address blocks for incoming connections
IPFilter []string `json:"ip-filter,omitempty"`
// Automatic maintenance settings
Maintenance *UpdateDBAASServiceGrafanaRequestMaintenance `json:"maintenance,omitempty"`
// Subscription plan
Plan string `json:"plan,omitempty" validate:"omitempty,gte=1,lte=128"`
// Service is protected against termination and powering off
TerminationProtection *bool `json:"termination-protection,omitempty"`
}
type UpdateDBAASServiceGrafanaRequestMaintenance ¶
type UpdateDBAASServiceGrafanaRequestMaintenance struct {
// Day of week for installing updates
Dow UpdateDBAASServiceGrafanaRequestMaintenanceDow `json:"dow" validate:"required"`
// Time for installing updates, UTC
Time string `json:"time" validate:"required,gte=8,lte=8"`
}
Automatic maintenance settings
type UpdateDBAASServiceGrafanaRequestMaintenanceDow ¶
type UpdateDBAASServiceGrafanaRequestMaintenanceDow string
const ( UpdateDBAASServiceGrafanaRequestMaintenanceDowSaturday UpdateDBAASServiceGrafanaRequestMaintenanceDow = "saturday" UpdateDBAASServiceGrafanaRequestMaintenanceDowTuesday UpdateDBAASServiceGrafanaRequestMaintenanceDow = "tuesday" UpdateDBAASServiceGrafanaRequestMaintenanceDowNever UpdateDBAASServiceGrafanaRequestMaintenanceDow = "never" UpdateDBAASServiceGrafanaRequestMaintenanceDowWednesday UpdateDBAASServiceGrafanaRequestMaintenanceDow = "wednesday" UpdateDBAASServiceGrafanaRequestMaintenanceDowSunday UpdateDBAASServiceGrafanaRequestMaintenanceDow = "sunday" UpdateDBAASServiceGrafanaRequestMaintenanceDowFriday UpdateDBAASServiceGrafanaRequestMaintenanceDow = "friday" UpdateDBAASServiceGrafanaRequestMaintenanceDowMonday UpdateDBAASServiceGrafanaRequestMaintenanceDow = "monday" UpdateDBAASServiceGrafanaRequestMaintenanceDowThursday UpdateDBAASServiceGrafanaRequestMaintenanceDow = "thursday" )
type UpdateDBAASServiceKafkaRequest ¶
type UpdateDBAASServiceKafkaRequest struct {
// Kafka authentication methods
AuthenticationMethods *UpdateDBAASServiceKafkaRequestAuthenticationMethods `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 *JSONSchemaKafkaConnect `json:"kafka-connect-settings,omitempty"`
// Enable Kafka-REST service
KafkaRestEnabled *bool `json:"kafka-rest-enabled,omitempty"`
// Kafka REST configuration
KafkaRestSettings *JSONSchemaKafkaRest `json:"kafka-rest-settings,omitempty"`
// Kafka broker configuration values
KafkaSettings *JSONSchemaKafka `json:"kafka-settings,omitempty"`
// Automatic maintenance settings
Maintenance *UpdateDBAASServiceKafkaRequestMaintenance `json:"maintenance,omitempty"`
// Subscription plan
Plan string `json:"plan,omitempty" validate:"omitempty,gte=1,lte=128"`
// Enable Schema-Registry service
SchemaRegistryEnabled *bool `json:"schema-registry-enabled,omitempty"`
// Schema Registry configuration
SchemaRegistrySettings *JSONSchemaSchemaRegistry `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" validate:"omitempty,gte=1"`
}
type UpdateDBAASServiceKafkaRequestAuthenticationMethods ¶
type UpdateDBAASServiceKafkaRequestAuthenticationMethods struct {
// Enable certificate/SSL authentication
Certificate *bool `json:"certificate,omitempty"`
// Enable SASL authentication
Sasl *bool `json:"sasl,omitempty"`
}
Kafka authentication methods
type UpdateDBAASServiceKafkaRequestMaintenance ¶
type UpdateDBAASServiceKafkaRequestMaintenance struct {
// Day of week for installing updates
Dow UpdateDBAASServiceKafkaRequestMaintenanceDow `json:"dow" validate:"required"`
// Time for installing updates, UTC
Time string `json:"time" validate:"required,gte=8,lte=8"`
}
Automatic maintenance settings
type UpdateDBAASServiceKafkaRequestMaintenanceDow ¶
type UpdateDBAASServiceKafkaRequestMaintenanceDow string
const ( UpdateDBAASServiceKafkaRequestMaintenanceDowSaturday UpdateDBAASServiceKafkaRequestMaintenanceDow = "saturday" UpdateDBAASServiceKafkaRequestMaintenanceDowTuesday UpdateDBAASServiceKafkaRequestMaintenanceDow = "tuesday" UpdateDBAASServiceKafkaRequestMaintenanceDowNever UpdateDBAASServiceKafkaRequestMaintenanceDow = "never" UpdateDBAASServiceKafkaRequestMaintenanceDowWednesday UpdateDBAASServiceKafkaRequestMaintenanceDow = "wednesday" UpdateDBAASServiceKafkaRequestMaintenanceDowSunday UpdateDBAASServiceKafkaRequestMaintenanceDow = "sunday" UpdateDBAASServiceKafkaRequestMaintenanceDowFriday UpdateDBAASServiceKafkaRequestMaintenanceDow = "friday" UpdateDBAASServiceKafkaRequestMaintenanceDowMonday UpdateDBAASServiceKafkaRequestMaintenanceDow = "monday" UpdateDBAASServiceKafkaRequestMaintenanceDowThursday UpdateDBAASServiceKafkaRequestMaintenanceDow = "thursday" )
type UpdateDBAASServiceMysqlRequest ¶
type UpdateDBAASServiceMysqlRequest struct {
BackupSchedule *UpdateDBAASServiceMysqlRequestBackupSchedule `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" validate:"omitempty,gte=600,lte=86400"`
// Allow incoming connections from CIDR address block, e.g. '10.20.0.0/16'
IPFilter []string `json:"ip-filter,omitempty"`
// Automatic maintenance settings
Maintenance *UpdateDBAASServiceMysqlRequestMaintenance `json:"maintenance,omitempty"`
// Migrate data from existing server
Migration *UpdateDBAASServiceMysqlRequestMigration `json:"migration,omitempty"`
// mysql.conf configuration values
MysqlSettings *JSONSchemaMysql `json:"mysql-settings,omitempty"`
// Subscription plan
Plan string `json:"plan,omitempty" validate:"omitempty,gte=1,lte=128"`
// Service is protected against termination and powering off
TerminationProtection *bool `json:"termination-protection,omitempty"`
}
type UpdateDBAASServiceMysqlRequestBackupSchedule ¶
type UpdateDBAASServiceMysqlRequestBackupSchedule 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" validate:"omitempty,gte=0,lte=23"`
// 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" validate:"omitempty,gte=0,lte=59"`
}
type UpdateDBAASServiceMysqlRequestMaintenance ¶
type UpdateDBAASServiceMysqlRequestMaintenance struct {
// Day of week for installing updates
Dow UpdateDBAASServiceMysqlRequestMaintenanceDow `json:"dow" validate:"required"`
// Time for installing updates, UTC
Time string `json:"time" validate:"required,gte=8,lte=8"`
}
Automatic maintenance settings
type UpdateDBAASServiceMysqlRequestMaintenanceDow ¶
type UpdateDBAASServiceMysqlRequestMaintenanceDow string
const ( UpdateDBAASServiceMysqlRequestMaintenanceDowSaturday UpdateDBAASServiceMysqlRequestMaintenanceDow = "saturday" UpdateDBAASServiceMysqlRequestMaintenanceDowTuesday UpdateDBAASServiceMysqlRequestMaintenanceDow = "tuesday" UpdateDBAASServiceMysqlRequestMaintenanceDowNever UpdateDBAASServiceMysqlRequestMaintenanceDow = "never" UpdateDBAASServiceMysqlRequestMaintenanceDowWednesday UpdateDBAASServiceMysqlRequestMaintenanceDow = "wednesday" UpdateDBAASServiceMysqlRequestMaintenanceDowSunday UpdateDBAASServiceMysqlRequestMaintenanceDow = "sunday" UpdateDBAASServiceMysqlRequestMaintenanceDowFriday UpdateDBAASServiceMysqlRequestMaintenanceDow = "friday" UpdateDBAASServiceMysqlRequestMaintenanceDowMonday UpdateDBAASServiceMysqlRequestMaintenanceDow = "monday" UpdateDBAASServiceMysqlRequestMaintenanceDowThursday UpdateDBAASServiceMysqlRequestMaintenanceDow = "thursday" )
type UpdateDBAASServiceMysqlRequestMigration ¶
type UpdateDBAASServiceMysqlRequestMigration struct {
// Database name for bootstrapping the initial connection
Dbname string `json:"dbname,omitempty" validate:"omitempty,gte=1,lte=63"`
// Hostname or IP address of the server where to migrate data from
Host string `json:"host" validate:"required,gte=1,lte=255"`
// Comma-separated list of databases, which should be ignored during migration (supported by MySQL only at the moment)
IgnoreDbs string `json:"ignore-dbs,omitempty" validate:"omitempty,gte=1,lte=2048"`
Method EnumMigrationMethod `json:"method,omitempty"`
// Password for authentication with the server where to migrate data from
Password string `json:"password,omitempty" validate:"omitempty,gte=1,lte=255"`
// Port number of the server where to migrate data from
Port int64 `json:"port" validate:"required,gte=1,lte=65535"`
// The server where to migrate data from is secured with SSL
SSL *bool `json:"ssl,omitempty"`
// User name for authentication with the server where to migrate data from
Username string `json:"username,omitempty" validate:"omitempty,gte=1,lte=255"`
}
Migrate data from existing server
type UpdateDBAASServiceOpensearchRequest ¶
type UpdateDBAASServiceOpensearchRequest struct {
// Allows you to create glob style patterns and set a max number of indexes matching this pattern you want to keep. Creating indexes exceeding this value will cause the oldest one to get deleted. You could for example create a pattern looking like 'logs.?' and then create index logs.1, logs.2 etc, it will delete logs.1 once you create logs.6. Do note 'logs.?' does not apply to logs.10. Note: Setting max_index_count to 0 will do nothing and the pattern gets ignored.
IndexPatterns []UpdateDBAASServiceOpensearchRequestIndexPatterns `json:"index-patterns,omitempty"`
// Template settings for all new indexes
IndexTemplate *UpdateDBAASServiceOpensearchRequestIndexTemplate `json:"index-template,omitempty"`
// Allow incoming connections from CIDR address block, e.g. '10.20.0.0/16'
IPFilter []string `json:"ip-filter,omitempty"`
// Aiven automation resets index.refresh_interval to default value for every index to be sure that indices are always visible to search. If it doesn't fit your case, you can disable this by setting up this flag to true.
KeepIndexRefreshInterval *bool `json:"keep-index-refresh-interval,omitempty"`
// Automatic maintenance settings
Maintenance *UpdateDBAASServiceOpensearchRequestMaintenance `json:"maintenance,omitempty"`
// Maximum number of indexes to keep before deleting the oldest one
MaxIndexCount *int64 `json:"max-index-count,omitempty" validate:"omitempty,gte=0"`
// OpenSearch Dashboards settings
OpensearchDashboards *UpdateDBAASServiceOpensearchRequestOpensearchDashboards `json:"opensearch-dashboards,omitempty"`
// OpenSearch settings
OpensearchSettings *JSONSchemaOpensearch `json:"opensearch-settings,omitempty"`
// Subscription plan
Plan string `json:"plan,omitempty" validate:"omitempty,gte=1,lte=128"`
// Service is protected against termination and powering off
TerminationProtection *bool `json:"termination-protection,omitempty"`
// Version
Version string `json:"version,omitempty"`
}
type UpdateDBAASServiceOpensearchRequestIndexPatterns ¶
type UpdateDBAASServiceOpensearchRequestIndexPatterns struct {
// Maximum number of indexes to keep
MaxIndexCount *int64 `json:"max-index-count,omitempty" validate:"omitempty,gte=0"`
// fnmatch pattern
Pattern string `json:"pattern,omitempty" validate:"omitempty,lte=1024"`
// Deletion sorting algorithm
SortingAlgorithm UpdateDBAASServiceOpensearchRequestIndexPatternsSortingAlgorithm `json:"sorting-algorithm,omitempty"`
}
type UpdateDBAASServiceOpensearchRequestIndexPatternsSortingAlgorithm ¶
type UpdateDBAASServiceOpensearchRequestIndexPatternsSortingAlgorithm string
const ( UpdateDBAASServiceOpensearchRequestIndexPatternsSortingAlgorithmAlphabetical UpdateDBAASServiceOpensearchRequestIndexPatternsSortingAlgorithm = "alphabetical" UpdateDBAASServiceOpensearchRequestIndexPatternsSortingAlgorithmCreationDate UpdateDBAASServiceOpensearchRequestIndexPatternsSortingAlgorithm = "creation_date" )
type UpdateDBAASServiceOpensearchRequestIndexTemplate ¶
type UpdateDBAASServiceOpensearchRequestIndexTemplate struct {
// The maximum number of nested JSON objects that a single document can contain across all nested types. This limit helps to prevent out of memory errors when a document contains too many nested objects. Default is 10000.
MappingNestedObjectsLimit *int64 `json:"mapping-nested-objects-limit,omitempty" validate:"omitempty,gte=0,lte=100000"`
// The number of replicas each primary shard has.
NumberOfReplicas *int64 `json:"number-of-replicas,omitempty" validate:"omitempty,gte=0,lte=29"`
// The number of primary shards that an index should have.
NumberOfShards int64 `json:"number-of-shards,omitempty" validate:"omitempty,gte=1,lte=1024"`
}
Template settings for all new indexes
type UpdateDBAASServiceOpensearchRequestMaintenance ¶
type UpdateDBAASServiceOpensearchRequestMaintenance struct {
// Day of week for installing updates
Dow UpdateDBAASServiceOpensearchRequestMaintenanceDow `json:"dow" validate:"required"`
// Time for installing updates, UTC
Time string `json:"time" validate:"required,gte=8,lte=8"`
}
Automatic maintenance settings
type UpdateDBAASServiceOpensearchRequestMaintenanceDow ¶
type UpdateDBAASServiceOpensearchRequestMaintenanceDow string
const ( UpdateDBAASServiceOpensearchRequestMaintenanceDowSaturday UpdateDBAASServiceOpensearchRequestMaintenanceDow = "saturday" UpdateDBAASServiceOpensearchRequestMaintenanceDowTuesday UpdateDBAASServiceOpensearchRequestMaintenanceDow = "tuesday" UpdateDBAASServiceOpensearchRequestMaintenanceDowNever UpdateDBAASServiceOpensearchRequestMaintenanceDow = "never" UpdateDBAASServiceOpensearchRequestMaintenanceDowWednesday UpdateDBAASServiceOpensearchRequestMaintenanceDow = "wednesday" UpdateDBAASServiceOpensearchRequestMaintenanceDowSunday UpdateDBAASServiceOpensearchRequestMaintenanceDow = "sunday" UpdateDBAASServiceOpensearchRequestMaintenanceDowFriday UpdateDBAASServiceOpensearchRequestMaintenanceDow = "friday" UpdateDBAASServiceOpensearchRequestMaintenanceDowMonday UpdateDBAASServiceOpensearchRequestMaintenanceDow = "monday" UpdateDBAASServiceOpensearchRequestMaintenanceDowThursday UpdateDBAASServiceOpensearchRequestMaintenanceDow = "thursday" )
type UpdateDBAASServiceOpensearchRequestOpensearchDashboards ¶
type UpdateDBAASServiceOpensearchRequestOpensearchDashboards struct {
// Enable or disable OpenSearch Dashboards (default: true)
Enabled *bool `json:"enabled,omitempty"`
// Limits the maximum amount of memory (in MiB) the OpenSearch Dashboards process can use. This sets the max_old_space_size option of the nodejs running the OpenSearch Dashboards. Note: the memory reserved by OpenSearch Dashboards is not available for OpenSearch. (default: 128)
MaxOldSpaceSize int64 `json:"max-old-space-size,omitempty" validate:"omitempty,gte=64,lte=1024"`
// Timeout in milliseconds for requests made by OpenSearch Dashboards towards OpenSearch (default: 30000)
OpensearchRequestTimeout int64 `json:"opensearch-request-timeout,omitempty" validate:"omitempty,gte=5000,lte=120000"`
}
OpenSearch Dashboards settings
type UpdateDBAASServicePGRequest ¶
type UpdateDBAASServicePGRequest struct {
BackupSchedule *UpdateDBAASServicePGRequestBackupSchedule `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 *UpdateDBAASServicePGRequestMaintenance `json:"maintenance,omitempty"`
// Migrate data from existing server
Migration *UpdateDBAASServicePGRequestMigration `json:"migration,omitempty"`
// postgresql.conf configuration values
PGSettings *JSONSchemaPG `json:"pg-settings,omitempty"`
// System-wide settings for pgbouncer.
PgbouncerSettings *JSONSchemaPgbouncer `json:"pgbouncer-settings,omitempty"`
// System-wide settings for pglookout.
PglookoutSettings *JSONSchemaPglookout `json:"pglookout-settings,omitempty"`
// Subscription plan
Plan string `json:"plan,omitempty" validate:"omitempty,gte=1,lte=128"`
// 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.
SynchronousReplication EnumPGSynchronousReplication `json:"synchronous-replication,omitempty"`
// Service is protected against termination and powering off
TerminationProtection *bool `json:"termination-protection,omitempty"`
// System-wide settings for the timescaledb extension
TimescaledbSettings *JSONSchemaTimescaledb `json:"timescaledb-settings,omitempty"`
Variant EnumPGVariant `json:"variant,omitempty"`
// 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" validate:"omitempty,gte=1,lte=1024"`
}
type UpdateDBAASServicePGRequestBackupSchedule ¶
type UpdateDBAASServicePGRequestBackupSchedule 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" validate:"omitempty,gte=0,lte=23"`
// 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" validate:"omitempty,gte=0,lte=59"`
}
type UpdateDBAASServicePGRequestMaintenance ¶
type UpdateDBAASServicePGRequestMaintenance struct {
// Day of week for installing updates
Dow UpdateDBAASServicePGRequestMaintenanceDow `json:"dow" validate:"required"`
// Time for installing updates, UTC
Time string `json:"time" validate:"required,gte=8,lte=8"`
}
Automatic maintenance settings
type UpdateDBAASServicePGRequestMaintenanceDow ¶
type UpdateDBAASServicePGRequestMaintenanceDow string
const ( UpdateDBAASServicePGRequestMaintenanceDowSaturday UpdateDBAASServicePGRequestMaintenanceDow = "saturday" UpdateDBAASServicePGRequestMaintenanceDowTuesday UpdateDBAASServicePGRequestMaintenanceDow = "tuesday" UpdateDBAASServicePGRequestMaintenanceDowNever UpdateDBAASServicePGRequestMaintenanceDow = "never" UpdateDBAASServicePGRequestMaintenanceDowWednesday UpdateDBAASServicePGRequestMaintenanceDow = "wednesday" UpdateDBAASServicePGRequestMaintenanceDowSunday UpdateDBAASServicePGRequestMaintenanceDow = "sunday" UpdateDBAASServicePGRequestMaintenanceDowFriday UpdateDBAASServicePGRequestMaintenanceDow = "friday" UpdateDBAASServicePGRequestMaintenanceDowMonday UpdateDBAASServicePGRequestMaintenanceDow = "monday" UpdateDBAASServicePGRequestMaintenanceDowThursday UpdateDBAASServicePGRequestMaintenanceDow = "thursday" )
type UpdateDBAASServicePGRequestMigration ¶
type UpdateDBAASServicePGRequestMigration struct {
// Database name for bootstrapping the initial connection
Dbname string `json:"dbname,omitempty" validate:"omitempty,gte=1,lte=63"`
// Hostname or IP address of the server where to migrate data from
Host string `json:"host" validate:"required,gte=1,lte=255"`
// Comma-separated list of databases, which should be ignored during migration (supported by MySQL only at the moment)
IgnoreDbs string `json:"ignore-dbs,omitempty" validate:"omitempty,gte=1,lte=2048"`
Method EnumMigrationMethod `json:"method,omitempty"`
// Password for authentication with the server where to migrate data from
Password string `json:"password,omitempty" validate:"omitempty,gte=1,lte=255"`
// Port number of the server where to migrate data from
Port int64 `json:"port" validate:"required,gte=1,lte=65535"`
// The server where to migrate data from is secured with SSL
SSL *bool `json:"ssl,omitempty"`
// User name for authentication with the server where to migrate data from
Username string `json:"username,omitempty" validate:"omitempty,gte=1,lte=255"`
}
Migrate data from existing server
type UpdateDBAASServiceThanosRequest ¶ added in v3.1.32
type UpdateDBAASServiceThanosRequest struct {
// Allowed CIDR address blocks for incoming connections
IPFilter []string `json:"ip-filter,omitempty"`
// Automatic maintenance settings
Maintenance *UpdateDBAASServiceThanosRequestMaintenance `json:"maintenance,omitempty"`
// Subscription plan
Plan string `json:"plan,omitempty" validate:"omitempty,gte=1,lte=128"`
// Service is protected against termination and powering off
TerminationProtection *bool `json:"termination-protection,omitempty"`
// Thanos settings
ThanosSettings *JSONSchemaThanos `json:"thanos-settings,omitempty"`
}
type UpdateDBAASServiceThanosRequestMaintenance ¶ added in v3.1.32
type UpdateDBAASServiceThanosRequestMaintenance struct {
// Day of week for installing updates
Dow UpdateDBAASServiceThanosRequestMaintenanceDow `json:"dow" validate:"required"`
// Time for installing updates, UTC
Time string `json:"time" validate:"required,gte=8,lte=8"`
}
Automatic maintenance settings
type UpdateDBAASServiceThanosRequestMaintenanceDow ¶ added in v3.1.32
type UpdateDBAASServiceThanosRequestMaintenanceDow string
const ( UpdateDBAASServiceThanosRequestMaintenanceDowSaturday UpdateDBAASServiceThanosRequestMaintenanceDow = "saturday" UpdateDBAASServiceThanosRequestMaintenanceDowTuesday UpdateDBAASServiceThanosRequestMaintenanceDow = "tuesday" UpdateDBAASServiceThanosRequestMaintenanceDowNever UpdateDBAASServiceThanosRequestMaintenanceDow = "never" UpdateDBAASServiceThanosRequestMaintenanceDowWednesday UpdateDBAASServiceThanosRequestMaintenanceDow = "wednesday" UpdateDBAASServiceThanosRequestMaintenanceDowSunday UpdateDBAASServiceThanosRequestMaintenanceDow = "sunday" UpdateDBAASServiceThanosRequestMaintenanceDowFriday UpdateDBAASServiceThanosRequestMaintenanceDow = "friday" UpdateDBAASServiceThanosRequestMaintenanceDowMonday UpdateDBAASServiceThanosRequestMaintenanceDow = "monday" UpdateDBAASServiceThanosRequestMaintenanceDowThursday UpdateDBAASServiceThanosRequestMaintenanceDow = "thursday" )
type UpdateDBAASServiceValkeyRequest ¶ added in v3.1.11
type UpdateDBAASServiceValkeyRequest 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 *UpdateDBAASServiceValkeyRequestMaintenance `json:"maintenance,omitempty"`
// Migrate data from existing server
Migration *UpdateDBAASServiceValkeyRequestMigration `json:"migration,omitempty"`
// Subscription plan
Plan string `json:"plan,omitempty" validate:"omitempty,gte=1,lte=128"`
// Service is protected against termination and powering off
TerminationProtection *bool `json:"termination-protection,omitempty"`
// Valkey settings
ValkeySettings *JSONSchemaValkey `json:"valkey-settings,omitempty"`
}
type UpdateDBAASServiceValkeyRequestMaintenance ¶ added in v3.1.11
type UpdateDBAASServiceValkeyRequestMaintenance struct {
// Day of week for installing updates
Dow UpdateDBAASServiceValkeyRequestMaintenanceDow `json:"dow" validate:"required"`
// Time for installing updates, UTC
Time string `json:"time" validate:"required,gte=8,lte=8"`
}
Automatic maintenance settings
type UpdateDBAASServiceValkeyRequestMaintenanceDow ¶ added in v3.1.11
type UpdateDBAASServiceValkeyRequestMaintenanceDow string
const ( UpdateDBAASServiceValkeyRequestMaintenanceDowSaturday UpdateDBAASServiceValkeyRequestMaintenanceDow = "saturday" UpdateDBAASServiceValkeyRequestMaintenanceDowTuesday UpdateDBAASServiceValkeyRequestMaintenanceDow = "tuesday" UpdateDBAASServiceValkeyRequestMaintenanceDowNever UpdateDBAASServiceValkeyRequestMaintenanceDow = "never" UpdateDBAASServiceValkeyRequestMaintenanceDowWednesday UpdateDBAASServiceValkeyRequestMaintenanceDow = "wednesday" UpdateDBAASServiceValkeyRequestMaintenanceDowSunday UpdateDBAASServiceValkeyRequestMaintenanceDow = "sunday" UpdateDBAASServiceValkeyRequestMaintenanceDowFriday UpdateDBAASServiceValkeyRequestMaintenanceDow = "friday" UpdateDBAASServiceValkeyRequestMaintenanceDowMonday UpdateDBAASServiceValkeyRequestMaintenanceDow = "monday" UpdateDBAASServiceValkeyRequestMaintenanceDowThursday UpdateDBAASServiceValkeyRequestMaintenanceDow = "thursday" )
type UpdateDBAASServiceValkeyRequestMigration ¶ added in v3.1.11
type UpdateDBAASServiceValkeyRequestMigration struct {
// Database name for bootstrapping the initial connection
Dbname string `json:"dbname,omitempty" validate:"omitempty,gte=1,lte=63"`
// Hostname or IP address of the server where to migrate data from
Host string `json:"host" validate:"required,gte=1,lte=255"`
// Comma-separated list of databases, which should be ignored during migration (supported by MySQL only at the moment)
IgnoreDbs string `json:"ignore-dbs,omitempty" validate:"omitempty,gte=1,lte=2048"`
Method EnumMigrationMethod `json:"method,omitempty"`
// Password for authentication with the server where to migrate data from
Password string `json:"password,omitempty" validate:"omitempty,gte=1,lte=255"`
// Port number of the server where to migrate data from
Port int64 `json:"port" validate:"required,gte=1,lte=65535"`
// The server where to migrate data from is secured with SSL
SSL *bool `json:"ssl,omitempty"`
// User name for authentication with the server where to migrate data from
Username string `json:"username,omitempty" validate:"omitempty,gte=1,lte=255"`
}
Migrate data from existing server
type UpdateDNSDomainRecordRequest ¶
type UpdateDNSDomainRecordRequest struct {
// DNS domain record content
Content string `json:"content,omitempty"`
// DNS domain record name
Name string `json:"name,omitempty"`
// DNS domain record priority
Priority int64 `json:"priority,omitempty" validate:"omitempty,gt=0"`
// DNS domain record TTL
Ttl int64 `json:"ttl,omitempty" validate:"omitempty,gt=0"`
}
type UpdateDeploymentRequest ¶ added in v3.1.34
type UpdateDeploymentRequest struct {
// Optional extra inference engine server CLI args
InferenceEngineParameters []string `json:"inference-engine-parameters,omitempty"`
// Inference engine version
InferenceEngineVersion InferenceEngineVersion `json:"inference-engine-version,omitempty"`
// Deployment name
Name string `json:"name,omitempty" validate:"omitempty,gte=1"`
}
Update AI deployment
type UpdateElasticIPRequest ¶
type UpdateElasticIPRequest struct {
// Elastic IP description
Description string `json:"description,omitempty" validate:"omitempty,lte=255"`
// Elastic IP address healthcheck
Healthcheck *ElasticIPHealthcheck `json:"healthcheck,omitempty"`
Labels Labels `json:"labels,omitempty"`
}
type UpdateIAMRoleRequest ¶
type UpdateIAMRoleRequest struct {
// IAM Role description
Description string `json:"description,omitempty" validate:"omitempty,gte=1,lte=255"`
Labels Labels `json:"labels,omitempty"`
// Maximum TTL requester is allowed to ask for when assuming a role
MaxSessionTtl int64 `json:"max-session-ttl,omitempty" validate:"omitempty,gt=0"`
// IAM Role permissions
Permissions []string `json:"permissions,omitempty"`
}
type UpdateInstancePoolRequest ¶
type UpdateInstancePoolRequest struct {
// Instance Pool Anti-affinity Groups
AntiAffinityGroups []AntiAffinityGroup `json:"anti-affinity-groups"`
// Enable application consistent snapshots
ApplicationConsistentSnapshotEnabled *bool `json:"application-consistent-snapshot-enabled,omitempty"`
// Deploy target reference
DeployTarget *DeployTarget `json:"deploy-target"`
// Instance Pool description
Description string `json:"description,omitempty" validate:"omitempty,lte=255"`
// Instances disk size in GiB
DiskSize int64 `json:"disk-size,omitempty" validate:"omitempty,gte=10,lte=51200"`
// Instances Elastic IPs
ElasticIPS []ElasticIP `json:"elastic-ips"`
// Prefix to apply to Instances names (default: pool)
InstancePrefix *string `json:"instance-prefix,omitempty"`
// Instance type reference
InstanceType *InstanceType `json:"instance-type,omitempty"`
// Enable IPv6. DEPRECATED: use `public-ip-assignments`.
Ipv6Enabled *bool `json:"ipv6-enabled,omitempty"`
Labels Labels `json:"labels,omitempty"`
// Minimum number of running Instances
MinAvailable *int64 `json:"min-available,omitempty" validate:"omitempty,gte=0"`
// Instance Pool name
Name string `json:"name,omitempty" validate:"omitempty,gte=1,lte=255"`
// Instance Pool Private Networks
PrivateNetworks []PrivateNetwork `json:"private-networks"`
// Determines public IP assignment of the Instances.
PublicIPAssignment UpdateInstancePoolRequestPublicIPAssignment `json:"public-ip-assignment,omitempty"`
// Instance Pool Security Groups
SecurityGroups []SecurityGroup `json:"security-groups"`
// SSH key reference
SSHKey *SSHKey `json:"ssh-key"`
// Instances SSH keys
SSHKeys []SSHKey `json:"ssh-keys"`
// Template reference
Template *Template `json:"template,omitempty"`
// Instances Cloud-init user-data
UserData *string `json:"user-data,omitempty" validate:"omitempty,gte=1"`
}
type UpdateInstancePoolRequestPublicIPAssignment ¶
type UpdateInstancePoolRequestPublicIPAssignment string
const ( UpdateInstancePoolRequestPublicIPAssignmentInet4 UpdateInstancePoolRequestPublicIPAssignment = "inet4" UpdateInstancePoolRequestPublicIPAssignmentDual UpdateInstancePoolRequestPublicIPAssignment = "dual" )
type UpdateInstanceRequest ¶
type UpdateInstanceRequest struct {
// Enable/Disable Application Consistent Snapshot for Instance
ApplicationConsistentSnapshotEnabled *bool `json:"application-consistent-snapshot-enabled,omitempty"`
Labels Labels `json:"labels"`
// Instance name
Name string `json:"name,omitempty" validate:"omitempty,gte=1,lte=255"`
PublicIPAssignment PublicIPAssignment `json:"public-ip-assignment,omitempty"`
// Instance Cloud-init user-data (base64 encoded)
UserData string `json:"user-data,omitempty" validate:"omitempty,gte=1,lte=32768"`
}
type UpdateLoadBalancerServiceRequest ¶
type UpdateLoadBalancerServiceRequest struct {
// Load Balancer Service description
Description string `json:"description,omitempty" validate:"omitempty,lte=255"`
// Load Balancer Service healthcheck
Healthcheck *LoadBalancerServiceHealthcheck `json:"healthcheck,omitempty"`
// Load Balancer Service name
Name string `json:"name,omitempty" validate:"omitempty,lte=255"`
// Port exposed on the Load Balancer's public IP
Port int64 `json:"port,omitempty" validate:"omitempty,gte=1,lte=65535"`
// Network traffic protocol
Protocol UpdateLoadBalancerServiceRequestProtocol `json:"protocol,omitempty"`
// Load balancing strategy
Strategy UpdateLoadBalancerServiceRequestStrategy `json:"strategy,omitempty"`
// Port on which the network traffic will be forwarded to on the receiving instance
TargetPort int64 `json:"target-port,omitempty" validate:"omitempty,gte=1,lte=65535"`
}
type UpdateLoadBalancerServiceRequestProtocol ¶
type UpdateLoadBalancerServiceRequestProtocol string
const ( UpdateLoadBalancerServiceRequestProtocolTCP UpdateLoadBalancerServiceRequestProtocol = "tcp" UpdateLoadBalancerServiceRequestProtocolUDP UpdateLoadBalancerServiceRequestProtocol = "udp" )
type UpdateLoadBalancerServiceRequestStrategy ¶
type UpdateLoadBalancerServiceRequestStrategy string
const ( UpdateLoadBalancerServiceRequestStrategyRoundRobin UpdateLoadBalancerServiceRequestStrategy = "round-robin" UpdateLoadBalancerServiceRequestStrategyMaglevHash UpdateLoadBalancerServiceRequestStrategy = "maglev-hash" UpdateLoadBalancerServiceRequestStrategySourceHash UpdateLoadBalancerServiceRequestStrategy = "source-hash" )
type UpdatePrivateNetworkInstanceIPRequest ¶
type UpdatePrivateNetworkInstanceIPRequest struct {
Instance *UpdatePrivateNetworkInstanceIPRequestInstance `json:"instance,omitempty"`
// Static IP address lease for the corresponding network interface
IP net.IP `json:"ip,omitempty"`
}
type UpdatePrivateNetworkInstanceIPRequestInstance ¶
type UpdatePrivateNetworkInstanceIPRequestInstance struct {
// Instance ID
ID UUID `json:"id" validate:"required"`
}
type UpdatePrivateNetworkRequest ¶
type UpdatePrivateNetworkRequest struct {
// Private Network description
Description string `json:"description,omitempty" validate:"omitempty,lte=255"`
// Private Network end IP address
EndIP net.IP `json:"end-ip,omitempty"`
Labels Labels `json:"labels,omitempty"`
// Private Network name
Name string `json:"name,omitempty" validate:"omitempty,gte=1,lte=255"`
// Private Network netmask
Netmask net.IP `json:"netmask,omitempty"`
// Private Network DHCP Options
Options *PrivateNetworkOptions `json:"options,omitempty"`
// Private Network start IP address
StartIP net.IP `json:"start-ip,omitempty"`
}
type UpdateReverseDNSElasticIPRequest ¶
type UpdateReverseDNSElasticIPRequest struct {
DomainName string `json:"domain-name,omitempty" validate:"omitempty,gte=1,lte=253"`
}
type UpdateReverseDNSInstanceRequest ¶
type UpdateReverseDNSInstanceRequest struct {
DomainName string `json:"domain-name,omitempty" validate:"omitempty,gte=1,lte=253"`
}
type UpdateSKSClusterRequest ¶
type UpdateSKSClusterRequest struct {
// Cluster addons
Addons []string `json:"addons,omitempty"`
// Kubernetes Audit parameters
Audit *SKSAuditUpdate `json:"audit,omitempty"`
// 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" validate:"omitempty,lte=255"`
// Add or remove the operators certificate authority (CA) from the list of trusted CAs of the api server. The default value is true
EnableOperatorsCA *bool `json:"enable-operators-ca,omitempty"`
// A list of Kubernetes-only Alpha features to enable for API server component
FeatureGates []string `json:"feature-gates"`
Labels SKSClusterLabels `json:"labels,omitempty"`
// Cluster name
Name string `json:"name,omitempty" validate:"omitempty,gte=1,lte=255"`
// SKS Cluster OpenID config map
Oidc *SKSOidc `json:"oidc"`
}
type UpdateSKSNodepoolRequest ¶
type UpdateSKSNodepoolRequest struct {
// Nodepool Anti-affinity Groups
AntiAffinityGroups []AntiAffinityGroup `json:"anti-affinity-groups,omitempty"`
// Deploy target reference
DeployTarget *DeployTarget `json:"deploy-target"`
// Nodepool description
Description string `json:"description,omitempty" validate:"omitempty,lte=255"`
// Nodepool instances disk size in GiB
DiskSize int64 `json:"disk-size,omitempty" validate:"omitempty,gte=20,lte=51200"`
// Prefix to apply to managed instances names (default: pool), lowercase only
InstancePrefix string `json:"instance-prefix,omitempty" validate:"omitempty,gte=1,lte=30"`
// Instance type reference
InstanceType *InstanceType `json:"instance-type,omitempty"`
Labels SKSNodepoolLabels `json:"labels,omitempty"`
// Nodepool name, lowercase only
Name string `json:"name,omitempty" validate:"omitempty,gte=1,lte=255"`
// Nodepool Private Networks
PrivateNetworks []PrivateNetwork `json:"private-networks,omitempty"`
// Configures public IP assignment of the Instances with:
// * both IPv4 and IPv6 (`dual`) addressing.
// * both IPv4 and IPv6 (`dual`) addressing.
PublicIPAssignment UpdateSKSNodepoolRequestPublicIPAssignment `json:"public-ip-assignment,omitempty"`
// Nodepool Security Groups
SecurityGroups []SecurityGroup `json:"security-groups,omitempty"`
Taints SKSNodepoolTaints `json:"taints,omitempty"`
}
type UpdateSKSNodepoolRequestPublicIPAssignment ¶ added in v3.1.2
type UpdateSKSNodepoolRequestPublicIPAssignment string
const ( UpdateSKSNodepoolRequestPublicIPAssignmentInet4 UpdateSKSNodepoolRequestPublicIPAssignment = "inet4" UpdateSKSNodepoolRequestPublicIPAssignmentDual UpdateSKSNodepoolRequestPublicIPAssignment = "dual" )
type UpdateTemplateRequest ¶
type UpdateUserRoleRequest ¶ added in v3.1.8
type UpdateUserRoleRequest struct {
// IAM Role
Role *IAMRole `json:"role,omitempty"`
}
type UpgradeSKSClusterRequest ¶
type UpgradeSKSClusterRequest struct {
// Control plane Kubernetes version
Version string `json:"version" validate:"required"`
}
type User ¶
type User struct {
// User Email
Email string `json:"email" validate:"required"`
// User ID
ID UUID `json:"id,omitempty"`
// True if the user has not yet created an Exoscale account
Pending *bool `json:"pending,omitempty"`
// IAM Role
Role *IAMRole `json:"role" validate:"required"`
// SSO enabled
Sso *bool `json:"sso,omitempty"`
// Two Factor Authentication enabled
TwoFactorAuthentication *bool `json:"two-factor-authentication,omitempty"`
}
User
type Zone ¶
type Zone struct {
// Zone API endpoint
APIEndpoint Endpoint `json:"api-endpoint,omitempty"`
Name ZoneName `json:"name,omitempty"`
// Zone SOS endpoint
SOSEndpoint Endpoint `json:"sos-endpoint,omitempty"`
}
Zone
type ZoneName ¶
type ZoneName string
const ( ZoneNameCHDk2 ZoneName = "ch-dk-2" ZoneNameDEMuc1 ZoneName = "de-muc-1" ZoneNameCHGva2 ZoneName = "ch-gva-2" ZoneNameATVie1 ZoneName = "at-vie-1" ZoneNameDEFra1 ZoneName = "de-fra-1" ZoneNameBGSof1 ZoneName = "bg-sof-1" ZoneNameATVie2 ZoneName = "at-vie-2" ZoneNameHrZag1 ZoneName = "hr-zag-1" )
Directories
¶
| Path | Synopsis |
|---|---|
|
generator
module
|
|
|
This package provides functions to interact with the Exoscale metadata server and retrieve user-data (Cloudinit or Ignition data).
|
This package provides functions to interact with the Exoscale metadata server and retrieve user-data (Cloudinit or Ignition data). |