Versions in this module Expand all Collapse all v2 v2.0.0 Nov 7, 2024 Changes in this version + const AuditLogActorTypeAdmin + const AuditLogActorTypeCloudflare + const AuditLogActorTypeUser + const CertificateCADigicert + const CertificateCAGoogle + const CertificateCALetsEncrypt + const CertificateRequestTypeKeylessCertificate + const CertificateRequestTypeOriginECC + const CertificateRequestTypeOriginRSA + const CloudflareTunnelStatusDegraded + const CloudflareTunnelStatusDown + const CloudflareTunnelStatusHealthy + const CloudflareTunnelStatusInactive + const CloudflareTunnelTunTypeCNI + const CloudflareTunnelTunTypeCfdTunnel + const CloudflareTunnelTunTypeGRE + const CloudflareTunnelTunTypeIPSec + const CloudflareTunnelTunTypeWARPConnector + const MemberStatusAccepted + const MemberStatusPending + const SortDirectionAsc + const SortDirectionDesc + type ASN = shared.ASN + type ASNParam = shared.ASNParam + type AdaptiveRouting struct + FailoverAcrossPools bool + JSON adaptiveRoutingJSON + func (r *AdaptiveRouting) UnmarshalJSON(data []byte) (err error) + type AdaptiveRoutingParam struct + FailoverAcrossPools param.Field[bool] + func (r AdaptiveRoutingParam) MarshalJSON() (data []byte, err error) + type AuditLog = shared.AuditLog + type AuditLogAction = shared.AuditLogAction + type AuditLogActor = shared.AuditLogActor + type AuditLogActorType = shared.AuditLogActorType + type AuditLogOwner = shared.AuditLogOwner + type AuditLogResource = shared.AuditLogResource + type CertificateCA = shared.CertificateCA + type CertificateRequestType = shared.CertificateRequestType + type CheckRegion string + const CheckRegionAllRegions + const CheckRegionEeu + const CheckRegionEnam + const CheckRegionMe + const CheckRegionNaf + const CheckRegionNeas + const CheckRegionNsam + const CheckRegionOc + const CheckRegionSaf + const CheckRegionSas + const CheckRegionSeas + const CheckRegionSsam + const CheckRegionWeu + const CheckRegionWnam + func (r CheckRegion) IsKnown() bool + type CloudflareTunnel = shared.CloudflareTunnel + type CloudflareTunnelConnection = shared.CloudflareTunnelConnection + type CloudflareTunnelStatus = shared.CloudflareTunnelStatus + type CloudflareTunnelTunType = shared.CloudflareTunnelTunType + type DefaultPools = string + type DefaultPoolsParam = string + type Error = apierror.Error + type ErrorData = shared.ErrorData + type FilterOptions struct + Disable bool + Healthy bool + JSON filterOptionsJSON + func (r *FilterOptions) UnmarshalJSON(data []byte) (err error) + type FilterOptionsParam struct + Disable param.Field[bool] + Healthy param.Field[bool] + func (r FilterOptionsParam) MarshalJSON() (data []byte, err error) + type Header struct + Host []Host + JSON headerJSON + func (r *Header) UnmarshalJSON(data []byte) (err error) + type HeaderParam struct + Host param.Field[[]HostParam] + func (r HeaderParam) MarshalJSON() (data []byte, err error) + type Host = string + type HostParam = string + type LoadBalancer struct + AdaptiveRouting AdaptiveRouting + CountryPools interface{} + CreatedOn time.Time + DefaultPools []DefaultPools + Description string + Enabled bool + FallbackPool interface{} + ID string + JSON loadBalancerJSON + LocationStrategy LocationStrategy + ModifiedOn time.Time + Name string + PopPools interface{} + Proxied bool + RandomSteering RandomSteering + RegionPools interface{} + Rules []Rules + SessionAffinity SessionAffinity + SessionAffinityAttributes SessionAffinityAttributes + SessionAffinityTTL float64 + SteeringPolicy SteeringPolicy + TTL float64 + func (r *LoadBalancer) UnmarshalJSON(data []byte) (err error) + type LoadBalancerDeleteResponse struct + ID string + JSON loadBalancerDeleteResponseJSON + func (r *LoadBalancerDeleteResponse) UnmarshalJSON(data []byte) (err error) + type LoadBalancerDeleteResponseEnvelope struct + Errors []shared.ResponseInfo + JSON loadBalancerDeleteResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result LoadBalancerDeleteResponse + Success LoadBalancerDeleteResponseEnvelopeSuccess + func (r *LoadBalancerDeleteResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type LoadBalancerDeleteResponseEnvelopeSuccess bool + const LoadBalancerDeleteResponseEnvelopeSuccessTrue + func (r LoadBalancerDeleteResponseEnvelopeSuccess) IsKnown() bool + type LoadBalancerEditParams struct + AdaptiveRouting param.Field[AdaptiveRoutingParam] + CountryPools param.Field[interface{}] + DefaultPools param.Field[[]DefaultPoolsParam] + Description param.Field[string] + Enabled param.Field[bool] + FallbackPool param.Field[interface{}] + LocationStrategy param.Field[LocationStrategyParam] + Name param.Field[string] + PopPools param.Field[interface{}] + Proxied param.Field[bool] + RandomSteering param.Field[RandomSteeringParam] + RegionPools param.Field[interface{}] + Rules param.Field[[]RulesParam] + SessionAffinity param.Field[SessionAffinity] + SessionAffinityAttributes param.Field[SessionAffinityAttributesParam] + SessionAffinityTTL param.Field[float64] + SteeringPolicy param.Field[SteeringPolicy] + TTL param.Field[float64] + func (r LoadBalancerEditParams) MarshalJSON() (data []byte, err error) + type LoadBalancerEditResponseEnvelope struct + Errors []shared.ResponseInfo + JSON loadBalancerEditResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result LoadBalancer + Success LoadBalancerEditResponseEnvelopeSuccess + func (r *LoadBalancerEditResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type LoadBalancerEditResponseEnvelopeSuccess bool + const LoadBalancerEditResponseEnvelopeSuccessTrue + func (r LoadBalancerEditResponseEnvelopeSuccess) IsKnown() bool + type LoadBalancerGetResponseEnvelope struct + Errors []shared.ResponseInfo + JSON loadBalancerGetResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result LoadBalancer + Success LoadBalancerGetResponseEnvelopeSuccess + func (r *LoadBalancerGetResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type LoadBalancerGetResponseEnvelopeSuccess bool + const LoadBalancerGetResponseEnvelopeSuccessTrue + func (r LoadBalancerGetResponseEnvelopeSuccess) IsKnown() bool + type LoadBalancerNewParams struct + AdaptiveRouting param.Field[AdaptiveRoutingParam] + CountryPools param.Field[interface{}] + DefaultPools param.Field[[]DefaultPoolsParam] + Description param.Field[string] + FallbackPool param.Field[interface{}] + LocationStrategy param.Field[LocationStrategyParam] + Name param.Field[string] + PopPools param.Field[interface{}] + Proxied param.Field[bool] + RandomSteering param.Field[RandomSteeringParam] + RegionPools param.Field[interface{}] + Rules param.Field[[]RulesParam] + SessionAffinity param.Field[SessionAffinity] + SessionAffinityAttributes param.Field[SessionAffinityAttributesParam] + SessionAffinityTTL param.Field[float64] + SteeringPolicy param.Field[SteeringPolicy] + TTL param.Field[float64] + func (r LoadBalancerNewParams) MarshalJSON() (data []byte, err error) + type LoadBalancerNewResponseEnvelope struct + Errors []shared.ResponseInfo + JSON loadBalancerNewResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result LoadBalancer + Success LoadBalancerNewResponseEnvelopeSuccess + func (r *LoadBalancerNewResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type LoadBalancerNewResponseEnvelopeSuccess bool + const LoadBalancerNewResponseEnvelopeSuccessTrue + func (r LoadBalancerNewResponseEnvelopeSuccess) IsKnown() bool + type LoadBalancerService struct + Monitors *MonitorService + Options []option.RequestOption + Pools *PoolService + Previews *PreviewService + Regions *RegionService + Searches *SearchService + func NewLoadBalancerService(opts ...option.RequestOption) (r *LoadBalancerService) + func (r *LoadBalancerService) Delete(ctx context.Context, zoneID string, loadBalancerID string, ...) (res *LoadBalancerDeleteResponse, err error) + func (r *LoadBalancerService) Edit(ctx context.Context, zoneID string, loadBalancerID string, ...) (res *LoadBalancer, err error) + func (r *LoadBalancerService) Get(ctx context.Context, zoneID string, loadBalancerID string, ...) (res *LoadBalancer, err error) + func (r *LoadBalancerService) List(ctx context.Context, zoneID string, opts ...option.RequestOption) (res *pagination.SinglePage[LoadBalancer], err error) + func (r *LoadBalancerService) ListAutoPaging(ctx context.Context, zoneID string, opts ...option.RequestOption) *pagination.SinglePageAutoPager[LoadBalancer] + func (r *LoadBalancerService) New(ctx context.Context, zoneID string, body LoadBalancerNewParams, ...) (res *LoadBalancer, err error) + func (r *LoadBalancerService) Update(ctx context.Context, zoneID string, loadBalancerID string, ...) (res *LoadBalancer, err error) + type LoadBalancerUpdateParams struct + AdaptiveRouting param.Field[AdaptiveRoutingParam] + CountryPools param.Field[interface{}] + DefaultPools param.Field[[]DefaultPoolsParam] + Description param.Field[string] + Enabled param.Field[bool] + FallbackPool param.Field[interface{}] + LocationStrategy param.Field[LocationStrategyParam] + Name param.Field[string] + PopPools param.Field[interface{}] + Proxied param.Field[bool] + RandomSteering param.Field[RandomSteeringParam] + RegionPools param.Field[interface{}] + Rules param.Field[[]RulesParam] + SessionAffinity param.Field[SessionAffinity] + SessionAffinityAttributes param.Field[SessionAffinityAttributesParam] + SessionAffinityTTL param.Field[float64] + SteeringPolicy param.Field[SteeringPolicy] + TTL param.Field[float64] + func (r LoadBalancerUpdateParams) MarshalJSON() (data []byte, err error) + type LoadBalancerUpdateResponseEnvelope struct + Errors []shared.ResponseInfo + JSON loadBalancerUpdateResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result LoadBalancer + Success LoadBalancerUpdateResponseEnvelopeSuccess + func (r *LoadBalancerUpdateResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type LoadBalancerUpdateResponseEnvelopeSuccess bool + const LoadBalancerUpdateResponseEnvelopeSuccessTrue + func (r LoadBalancerUpdateResponseEnvelopeSuccess) IsKnown() bool + type LoadShedding struct + DefaultPercent float64 + DefaultPolicy LoadSheddingDefaultPolicy + JSON loadSheddingJSON + SessionPercent float64 + SessionPolicy LoadSheddingSessionPolicy + func (r *LoadShedding) UnmarshalJSON(data []byte) (err error) + type LoadSheddingDefaultPolicy string + const LoadSheddingDefaultPolicyHash + const LoadSheddingDefaultPolicyRandom + func (r LoadSheddingDefaultPolicy) IsKnown() bool + type LoadSheddingParam struct + DefaultPercent param.Field[float64] + DefaultPolicy param.Field[LoadSheddingDefaultPolicy] + SessionPercent param.Field[float64] + SessionPolicy param.Field[LoadSheddingSessionPolicy] + func (r LoadSheddingParam) MarshalJSON() (data []byte, err error) + type LoadSheddingSessionPolicy string + const LoadSheddingSessionPolicyHash + func (r LoadSheddingSessionPolicy) IsKnown() bool + type LocationStrategy struct + JSON locationStrategyJSON + Mode LocationStrategyMode + PreferECS LocationStrategyPreferECS + func (r *LocationStrategy) UnmarshalJSON(data []byte) (err error) + type LocationStrategyMode string + const LocationStrategyModePop + const LocationStrategyModeResolverIP + func (r LocationStrategyMode) IsKnown() bool + type LocationStrategyParam struct + Mode param.Field[LocationStrategyMode] + PreferECS param.Field[LocationStrategyPreferECS] + func (r LocationStrategyParam) MarshalJSON() (data []byte, err error) + type LocationStrategyPreferECS string + const LocationStrategyPreferECSAlways + const LocationStrategyPreferECSGeo + const LocationStrategyPreferECSNever + const LocationStrategyPreferECSProximity + func (r LocationStrategyPreferECS) IsKnown() bool + type MemberParam = shared.MemberParam + type MemberRoleParam = shared.MemberRoleParam + type MemberRolesPermissionsParam = shared.MemberRolesPermissionsParam + type MemberStatus = shared.MemberStatus + type MemberUserParam = shared.MemberUserParam + type Monitor struct + AllowInsecure bool + ConsecutiveDown int64 + ConsecutiveUp int64 + CreatedOn time.Time + Description string + ExpectedBody string + ExpectedCodes string + FollowRedirects bool + Header interface{} + ID string + Interval int64 + JSON monitorJSON + Method string + ModifiedOn time.Time + Path string + Port int64 + ProbeZone string + Retries int64 + Timeout int64 + Type MonitorType + func (r *Monitor) UnmarshalJSON(data []byte) (err error) + type MonitorDeleteResponse struct + ID string + JSON monitorDeleteResponseJSON + func (r *MonitorDeleteResponse) UnmarshalJSON(data []byte) (err error) + type MonitorDeleteResponseEnvelope struct + Errors []shared.ResponseInfo + JSON monitorDeleteResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result MonitorDeleteResponse + Success MonitorDeleteResponseEnvelopeSuccess + func (r *MonitorDeleteResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type MonitorDeleteResponseEnvelopeSuccess bool + const MonitorDeleteResponseEnvelopeSuccessTrue + func (r MonitorDeleteResponseEnvelopeSuccess) IsKnown() bool + type MonitorEditParams struct + AllowInsecure param.Field[bool] + ConsecutiveDown param.Field[int64] + ConsecutiveUp param.Field[int64] + Description param.Field[string] + ExpectedBody param.Field[string] + ExpectedCodes param.Field[string] + FollowRedirects param.Field[bool] + Header param.Field[interface{}] + Interval param.Field[int64] + Method param.Field[string] + Path param.Field[string] + Port param.Field[int64] + ProbeZone param.Field[string] + Retries param.Field[int64] + Timeout param.Field[int64] + Type param.Field[MonitorEditParamsType] + func (r MonitorEditParams) MarshalJSON() (data []byte, err error) + type MonitorEditParamsType string + const MonitorEditParamsTypeHTTP + const MonitorEditParamsTypeHTTPS + const MonitorEditParamsTypeIcmpPing + const MonitorEditParamsTypeSmtp + const MonitorEditParamsTypeTCP + const MonitorEditParamsTypeUdpIcmp + func (r MonitorEditParamsType) IsKnown() bool + type MonitorEditResponseEnvelope struct + Errors []shared.ResponseInfo + JSON monitorEditResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result Monitor + Success MonitorEditResponseEnvelopeSuccess + func (r *MonitorEditResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type MonitorEditResponseEnvelopeSuccess bool + const MonitorEditResponseEnvelopeSuccessTrue + func (r MonitorEditResponseEnvelopeSuccess) IsKnown() bool + type MonitorGetResponseEnvelope struct + Errors []shared.ResponseInfo + JSON monitorGetResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result Monitor + Success MonitorGetResponseEnvelopeSuccess + func (r *MonitorGetResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type MonitorGetResponseEnvelopeSuccess bool + const MonitorGetResponseEnvelopeSuccessTrue + func (r MonitorGetResponseEnvelopeSuccess) IsKnown() bool + type MonitorNewParams struct + AllowInsecure param.Field[bool] + ConsecutiveDown param.Field[int64] + ConsecutiveUp param.Field[int64] + Description param.Field[string] + ExpectedBody param.Field[string] + ExpectedCodes param.Field[string] + FollowRedirects param.Field[bool] + Header param.Field[interface{}] + Interval param.Field[int64] + Method param.Field[string] + Path param.Field[string] + Port param.Field[int64] + ProbeZone param.Field[string] + Retries param.Field[int64] + Timeout param.Field[int64] + Type param.Field[MonitorNewParamsType] + func (r MonitorNewParams) MarshalJSON() (data []byte, err error) + type MonitorNewParamsType string + const MonitorNewParamsTypeHTTP + const MonitorNewParamsTypeHTTPS + const MonitorNewParamsTypeIcmpPing + const MonitorNewParamsTypeSmtp + const MonitorNewParamsTypeTCP + const MonitorNewParamsTypeUdpIcmp + func (r MonitorNewParamsType) IsKnown() bool + type MonitorNewResponseEnvelope struct + Errors []shared.ResponseInfo + JSON monitorNewResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result Monitor + Success MonitorNewResponseEnvelopeSuccess + func (r *MonitorNewResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type MonitorNewResponseEnvelopeSuccess bool + const MonitorNewResponseEnvelopeSuccessTrue + func (r MonitorNewResponseEnvelopeSuccess) IsKnown() bool + type MonitorPreviewNewParams struct + AllowInsecure param.Field[bool] + ConsecutiveDown param.Field[int64] + ConsecutiveUp param.Field[int64] + Description param.Field[string] + ExpectedBody param.Field[string] + ExpectedCodes param.Field[string] + FollowRedirects param.Field[bool] + Header param.Field[interface{}] + Interval param.Field[int64] + Method param.Field[string] + Path param.Field[string] + Port param.Field[int64] + ProbeZone param.Field[string] + Retries param.Field[int64] + Timeout param.Field[int64] + Type param.Field[MonitorPreviewNewParamsType] + func (r MonitorPreviewNewParams) MarshalJSON() (data []byte, err error) + type MonitorPreviewNewParamsType string + const MonitorPreviewNewParamsTypeHTTP + const MonitorPreviewNewParamsTypeHTTPS + const MonitorPreviewNewParamsTypeIcmpPing + const MonitorPreviewNewParamsTypeSmtp + const MonitorPreviewNewParamsTypeTCP + const MonitorPreviewNewParamsTypeUdpIcmp + func (r MonitorPreviewNewParamsType) IsKnown() bool + type MonitorPreviewNewResponse struct + JSON monitorPreviewNewResponseJSON + Pools map[string]string + PreviewID string + func (r *MonitorPreviewNewResponse) UnmarshalJSON(data []byte) (err error) + type MonitorPreviewNewResponseEnvelope struct + Errors []shared.ResponseInfo + JSON monitorPreviewNewResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result MonitorPreviewNewResponse + Success MonitorPreviewNewResponseEnvelopeSuccess + func (r *MonitorPreviewNewResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type MonitorPreviewNewResponseEnvelopeSuccess bool + const MonitorPreviewNewResponseEnvelopeSuccessTrue + func (r MonitorPreviewNewResponseEnvelopeSuccess) IsKnown() bool + type MonitorPreviewService struct + Options []option.RequestOption + func NewMonitorPreviewService(opts ...option.RequestOption) (r *MonitorPreviewService) + func (r *MonitorPreviewService) New(ctx context.Context, accountID string, monitorID string, ...) (res *MonitorPreviewNewResponse, err error) + type MonitorReferenceGetResponse struct + JSON monitorReferenceGetResponseJSON + ReferenceType MonitorReferenceGetResponseReferenceType + ResourceID string + ResourceName string + ResourceType string + func (r *MonitorReferenceGetResponse) UnmarshalJSON(data []byte) (err error) + type MonitorReferenceGetResponseEnvelope struct + Errors []shared.ResponseInfo + JSON monitorReferenceGetResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result []MonitorReferenceGetResponse + ResultInfo MonitorReferenceGetResponseEnvelopeResultInfo + Success MonitorReferenceGetResponseEnvelopeSuccess + func (r *MonitorReferenceGetResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type MonitorReferenceGetResponseEnvelopeResultInfo struct + Count float64 + JSON monitorReferenceGetResponseEnvelopeResultInfoJSON + Page float64 + PerPage float64 + TotalCount float64 + func (r *MonitorReferenceGetResponseEnvelopeResultInfo) UnmarshalJSON(data []byte) (err error) + type MonitorReferenceGetResponseEnvelopeSuccess bool + const MonitorReferenceGetResponseEnvelopeSuccessTrue + func (r MonitorReferenceGetResponseEnvelopeSuccess) IsKnown() bool + type MonitorReferenceGetResponseReferenceType string + const MonitorReferenceGetResponseReferenceTypeReferral + const MonitorReferenceGetResponseReferenceTypeReferrer + const MonitorReferenceGetResponseReferenceTypeStar + func (r MonitorReferenceGetResponseReferenceType) IsKnown() bool + type MonitorReferenceService struct + Options []option.RequestOption + func NewMonitorReferenceService(opts ...option.RequestOption) (r *MonitorReferenceService) + func (r *MonitorReferenceService) Get(ctx context.Context, accountID string, monitorID string, ...) (res *[]MonitorReferenceGetResponse, err error) + type MonitorService struct + Options []option.RequestOption + Previews *MonitorPreviewService + References *MonitorReferenceService + func NewMonitorService(opts ...option.RequestOption) (r *MonitorService) + func (r *MonitorService) Delete(ctx context.Context, accountID string, monitorID string, ...) (res *MonitorDeleteResponse, err error) + func (r *MonitorService) Edit(ctx context.Context, accountID string, monitorID string, ...) (res *Monitor, err error) + func (r *MonitorService) Get(ctx context.Context, accountID string, monitorID string, ...) (res *Monitor, err error) + func (r *MonitorService) List(ctx context.Context, accountID string, opts ...option.RequestOption) (res *pagination.SinglePage[Monitor], err error) + func (r *MonitorService) ListAutoPaging(ctx context.Context, accountID string, opts ...option.RequestOption) *pagination.SinglePageAutoPager[Monitor] + func (r *MonitorService) New(ctx context.Context, accountID string, body MonitorNewParams, ...) (res *Monitor, err error) + func (r *MonitorService) Update(ctx context.Context, accountID string, monitorID string, ...) (res *Monitor, err error) + type MonitorType string + const MonitorTypeHTTP + const MonitorTypeHTTPS + const MonitorTypeIcmpPing + const MonitorTypeSmtp + const MonitorTypeTCP + const MonitorTypeUdpIcmp + func (r MonitorType) IsKnown() bool + type MonitorUpdateParams struct + AllowInsecure param.Field[bool] + ConsecutiveDown param.Field[int64] + ConsecutiveUp param.Field[int64] + Description param.Field[string] + ExpectedBody param.Field[string] + ExpectedCodes param.Field[string] + FollowRedirects param.Field[bool] + Header param.Field[interface{}] + Interval param.Field[int64] + Method param.Field[string] + Path param.Field[string] + Port param.Field[int64] + ProbeZone param.Field[string] + Retries param.Field[int64] + Timeout param.Field[int64] + Type param.Field[MonitorUpdateParamsType] + func (r MonitorUpdateParams) MarshalJSON() (data []byte, err error) + type MonitorUpdateParamsType string + const MonitorUpdateParamsTypeHTTP + const MonitorUpdateParamsTypeHTTPS + const MonitorUpdateParamsTypeIcmpPing + const MonitorUpdateParamsTypeSmtp + const MonitorUpdateParamsTypeTCP + const MonitorUpdateParamsTypeUdpIcmp + func (r MonitorUpdateParamsType) IsKnown() bool + type MonitorUpdateResponseEnvelope struct + Errors []shared.ResponseInfo + JSON monitorUpdateResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result Monitor + Success MonitorUpdateResponseEnvelopeSuccess + func (r *MonitorUpdateResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type MonitorUpdateResponseEnvelopeSuccess bool + const MonitorUpdateResponseEnvelopeSuccessTrue + func (r MonitorUpdateResponseEnvelopeSuccess) IsKnown() bool + type NotificationFilter struct + JSON notificationFilterJSON + Origin FilterOptions + Pool FilterOptions + func (r *NotificationFilter) UnmarshalJSON(data []byte) (err error) + type NotificationFilterParam struct + Origin param.Field[FilterOptionsParam] + Pool param.Field[FilterOptionsParam] + func (r NotificationFilterParam) MarshalJSON() (data []byte, err error) + type Origin struct + Address string + DisabledAt time.Time + Enabled bool + Header Header + JSON originJSON + Name string + VirtualNetworkID string + Weight float64 + func (r *Origin) UnmarshalJSON(data []byte) (err error) + type OriginParam struct + Address param.Field[string] + Enabled param.Field[bool] + Header param.Field[HeaderParam] + Name param.Field[string] + VirtualNetworkID param.Field[string] + Weight param.Field[float64] + func (r OriginParam) MarshalJSON() (data []byte, err error) + type OriginSteering struct + JSON originSteeringJSON + Policy OriginSteeringPolicy + func (r *OriginSteering) UnmarshalJSON(data []byte) (err error) + type OriginSteeringParam struct + Policy param.Field[OriginSteeringPolicy] + func (r OriginSteeringParam) MarshalJSON() (data []byte, err error) + type OriginSteeringPolicy string + const OriginSteeringPolicyHash + const OriginSteeringPolicyLeastConnections + const OriginSteeringPolicyLeastOutstandingRequests + const OriginSteeringPolicyRandom + func (r OriginSteeringPolicy) IsKnown() bool + type Permission = shared.Permission + type PermissionGrant = shared.PermissionGrant + type PermissionGrantParam = shared.PermissionGrantParam + type Pool struct + CheckRegions []CheckRegion + CreatedOn time.Time + Description string + DisabledAt time.Time + Enabled bool + ID string + JSON poolJSON + Latitude float64 + LoadShedding LoadShedding + Longitude float64 + MinimumOrigins int64 + ModifiedOn time.Time + Monitor interface{} + Name string + NotificationEmail string + NotificationFilter NotificationFilter + OriginSteering OriginSteering + Origins []Origin + func (r *Pool) UnmarshalJSON(data []byte) (err error) + type PoolDeleteResponse struct + ID string + JSON poolDeleteResponseJSON + func (r *PoolDeleteResponse) UnmarshalJSON(data []byte) (err error) + type PoolDeleteResponseEnvelope struct + Errors []shared.ResponseInfo + JSON poolDeleteResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result PoolDeleteResponse + Success PoolDeleteResponseEnvelopeSuccess + func (r *PoolDeleteResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type PoolDeleteResponseEnvelopeSuccess bool + const PoolDeleteResponseEnvelopeSuccessTrue + func (r PoolDeleteResponseEnvelopeSuccess) IsKnown() bool + type PoolEditParams struct + CheckRegions param.Field[[]CheckRegion] + Description param.Field[string] + Enabled param.Field[bool] + Latitude param.Field[float64] + LoadShedding param.Field[LoadSheddingParam] + Longitude param.Field[float64] + MinimumOrigins param.Field[int64] + Monitor param.Field[interface{}] + Name param.Field[string] + NotificationEmail param.Field[string] + NotificationFilter param.Field[NotificationFilterParam] + OriginSteering param.Field[OriginSteeringParam] + Origins param.Field[[]OriginParam] + func (r PoolEditParams) MarshalJSON() (data []byte, err error) + type PoolEditResponseEnvelope struct + Errors []shared.ResponseInfo + JSON poolEditResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result Pool + Success PoolEditResponseEnvelopeSuccess + func (r *PoolEditResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type PoolEditResponseEnvelopeSuccess bool + const PoolEditResponseEnvelopeSuccessTrue + func (r PoolEditResponseEnvelopeSuccess) IsKnown() bool + type PoolGetResponseEnvelope struct + Errors []shared.ResponseInfo + JSON poolGetResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result Pool + Success PoolGetResponseEnvelopeSuccess + func (r *PoolGetResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type PoolGetResponseEnvelopeSuccess bool + const PoolGetResponseEnvelopeSuccessTrue + func (r PoolGetResponseEnvelopeSuccess) IsKnown() bool + type PoolHealthGetResponseEnvelope struct + Errors []shared.ResponseInfo + JSON poolHealthGetResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result PoolHealthGetResponseUnion + Success PoolHealthGetResponseEnvelopeSuccess + func (r *PoolHealthGetResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type PoolHealthGetResponseEnvelopeSuccess bool + const PoolHealthGetResponseEnvelopeSuccessTrue + func (r PoolHealthGetResponseEnvelopeSuccess) IsKnown() bool + type PoolHealthGetResponseUnion interface + ImplementsLoadBalancersPoolHealthGetResponseUnion func() + type PoolHealthNewParams struct + AllowInsecure param.Field[bool] + ConsecutiveDown param.Field[int64] + ConsecutiveUp param.Field[int64] + Description param.Field[string] + ExpectedBody param.Field[string] + ExpectedCodes param.Field[string] + FollowRedirects param.Field[bool] + Header param.Field[interface{}] + Interval param.Field[int64] + Method param.Field[string] + Path param.Field[string] + Port param.Field[int64] + ProbeZone param.Field[string] + Retries param.Field[int64] + Timeout param.Field[int64] + Type param.Field[PoolHealthNewParamsType] + func (r PoolHealthNewParams) MarshalJSON() (data []byte, err error) + type PoolHealthNewParamsType string + const PoolHealthNewParamsTypeHTTP + const PoolHealthNewParamsTypeHTTPS + const PoolHealthNewParamsTypeIcmpPing + const PoolHealthNewParamsTypeSmtp + const PoolHealthNewParamsTypeTCP + const PoolHealthNewParamsTypeUdpIcmp + func (r PoolHealthNewParamsType) IsKnown() bool + type PoolHealthNewResponse struct + JSON poolHealthNewResponseJSON + Pools map[string]string + PreviewID string + func (r *PoolHealthNewResponse) UnmarshalJSON(data []byte) (err error) + type PoolHealthNewResponseEnvelope struct + Errors []shared.ResponseInfo + JSON poolHealthNewResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result PoolHealthNewResponse + Success PoolHealthNewResponseEnvelopeSuccess + func (r *PoolHealthNewResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type PoolHealthNewResponseEnvelopeSuccess bool + const PoolHealthNewResponseEnvelopeSuccessTrue + func (r PoolHealthNewResponseEnvelopeSuccess) IsKnown() bool + type PoolHealthService struct + Options []option.RequestOption + func NewPoolHealthService(opts ...option.RequestOption) (r *PoolHealthService) + func (r *PoolHealthService) Get(ctx context.Context, accountID string, poolID string, ...) (res *PoolHealthGetResponseUnion, err error) + func (r *PoolHealthService) New(ctx context.Context, accountID string, poolID string, body PoolHealthNewParams, ...) (res *PoolHealthNewResponse, err error) + type PoolListParams struct + Monitor param.Field[interface{}] + func (r PoolListParams) URLQuery() (v url.Values) + type PoolNewParams struct + Description param.Field[string] + Enabled param.Field[bool] + Latitude param.Field[float64] + LoadShedding param.Field[LoadSheddingParam] + Longitude param.Field[float64] + MinimumOrigins param.Field[int64] + Monitor param.Field[interface{}] + Name param.Field[string] + NotificationEmail param.Field[string] + NotificationFilter param.Field[NotificationFilterParam] + OriginSteering param.Field[OriginSteeringParam] + Origins param.Field[[]OriginParam] + func (r PoolNewParams) MarshalJSON() (data []byte, err error) + type PoolNewResponseEnvelope struct + Errors []shared.ResponseInfo + JSON poolNewResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result Pool + Success PoolNewResponseEnvelopeSuccess + func (r *PoolNewResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type PoolNewResponseEnvelopeSuccess bool + const PoolNewResponseEnvelopeSuccessTrue + func (r PoolNewResponseEnvelopeSuccess) IsKnown() bool + type PoolReferenceGetResponse struct + JSON poolReferenceGetResponseJSON + ReferenceType PoolReferenceGetResponseReferenceType + ResourceID string + ResourceName string + ResourceType string + func (r *PoolReferenceGetResponse) UnmarshalJSON(data []byte) (err error) + type PoolReferenceGetResponseEnvelope struct + Errors []shared.ResponseInfo + JSON poolReferenceGetResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result []PoolReferenceGetResponse + ResultInfo PoolReferenceGetResponseEnvelopeResultInfo + Success PoolReferenceGetResponseEnvelopeSuccess + func (r *PoolReferenceGetResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type PoolReferenceGetResponseEnvelopeResultInfo struct + Count float64 + JSON poolReferenceGetResponseEnvelopeResultInfoJSON + Page float64 + PerPage float64 + TotalCount float64 + func (r *PoolReferenceGetResponseEnvelopeResultInfo) UnmarshalJSON(data []byte) (err error) + type PoolReferenceGetResponseEnvelopeSuccess bool + const PoolReferenceGetResponseEnvelopeSuccessTrue + func (r PoolReferenceGetResponseEnvelopeSuccess) IsKnown() bool + type PoolReferenceGetResponseReferenceType string + const PoolReferenceGetResponseReferenceTypeReferral + const PoolReferenceGetResponseReferenceTypeReferrer + const PoolReferenceGetResponseReferenceTypeStar + func (r PoolReferenceGetResponseReferenceType) IsKnown() bool + type PoolReferenceService struct + Options []option.RequestOption + func NewPoolReferenceService(opts ...option.RequestOption) (r *PoolReferenceService) + func (r *PoolReferenceService) Get(ctx context.Context, accountID string, poolID string, ...) (res *[]PoolReferenceGetResponse, err error) + type PoolService struct + Health *PoolHealthService + Options []option.RequestOption + References *PoolReferenceService + func NewPoolService(opts ...option.RequestOption) (r *PoolService) + func (r *PoolService) Delete(ctx context.Context, accountID string, poolID string, ...) (res *PoolDeleteResponse, err error) + func (r *PoolService) Edit(ctx context.Context, accountID string, poolID string, body PoolEditParams, ...) (res *Pool, err error) + func (r *PoolService) Get(ctx context.Context, accountID string, poolID string, ...) (res *Pool, err error) + func (r *PoolService) List(ctx context.Context, accountID string, query PoolListParams, ...) (res *pagination.SinglePage[Pool], err error) + func (r *PoolService) ListAutoPaging(ctx context.Context, accountID string, query PoolListParams, ...) *pagination.SinglePageAutoPager[Pool] + func (r *PoolService) New(ctx context.Context, accountID string, body PoolNewParams, ...) (res *Pool, err error) + func (r *PoolService) Update(ctx context.Context, accountID string, poolID string, body PoolUpdateParams, ...) (res *Pool, err error) + type PoolUpdateParams struct + CheckRegions param.Field[[]CheckRegion] + Description param.Field[string] + Enabled param.Field[bool] + Latitude param.Field[float64] + LoadShedding param.Field[LoadSheddingParam] + Longitude param.Field[float64] + MinimumOrigins param.Field[int64] + Monitor param.Field[interface{}] + Name param.Field[string] + NotificationEmail param.Field[string] + NotificationFilter param.Field[NotificationFilterParam] + OriginSteering param.Field[OriginSteeringParam] + Origins param.Field[[]OriginParam] + func (r PoolUpdateParams) MarshalJSON() (data []byte, err error) + type PoolUpdateResponseEnvelope struct + Errors []shared.ResponseInfo + JSON poolUpdateResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result Pool + Success PoolUpdateResponseEnvelopeSuccess + func (r *PoolUpdateResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type PoolUpdateResponseEnvelopeSuccess bool + const PoolUpdateResponseEnvelopeSuccessTrue + func (r PoolUpdateResponseEnvelopeSuccess) IsKnown() bool + type PreviewGetResponse map[string]PreviewGetResponseItem + type PreviewGetResponseEnvelope struct + Errors []shared.ResponseInfo + JSON previewGetResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result PreviewGetResponse + Success PreviewGetResponseEnvelopeSuccess + func (r *PreviewGetResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type PreviewGetResponseEnvelopeSuccess bool + const PreviewGetResponseEnvelopeSuccessTrue + func (r PreviewGetResponseEnvelopeSuccess) IsKnown() bool + type PreviewGetResponseItem struct + Healthy bool + JSON previewGetResponseItemJSON + Origins []map[string]PreviewGetResponseItemOrigin + func (r *PreviewGetResponseItem) UnmarshalJSON(data []byte) (err error) + type PreviewGetResponseItemOrigin struct + FailureReason string + Healthy bool + JSON previewGetResponseItemOriginJSON + RTT string + ResponseCode float64 + func (r *PreviewGetResponseItemOrigin) UnmarshalJSON(data []byte) (err error) + type PreviewService struct + Options []option.RequestOption + func NewPreviewService(opts ...option.RequestOption) (r *PreviewService) + func (r *PreviewService) Get(ctx context.Context, accountID string, previewID string, ...) (res *PreviewGetResponse, err error) + type RandomSteering struct + DefaultWeight float64 + JSON randomSteeringJSON + PoolWeights interface{} + func (r *RandomSteering) UnmarshalJSON(data []byte) (err error) + type RandomSteeringParam struct + DefaultWeight param.Field[float64] + PoolWeights param.Field[interface{}] + func (r RandomSteeringParam) MarshalJSON() (data []byte, err error) + type RegionGetParamsRegionID string + const RegionGetParamsRegionIDEeu + const RegionGetParamsRegionIDEnam + const RegionGetParamsRegionIDMe + const RegionGetParamsRegionIDNaf + const RegionGetParamsRegionIDNeas + const RegionGetParamsRegionIDNsam + const RegionGetParamsRegionIDOc + const RegionGetParamsRegionIDSaf + const RegionGetParamsRegionIDSas + const RegionGetParamsRegionIDSeas + const RegionGetParamsRegionIDSsam + const RegionGetParamsRegionIDWeu + const RegionGetParamsRegionIDWnam + func (r RegionGetParamsRegionID) IsKnown() bool + type RegionGetResponseEnvelope struct + Errors []shared.ResponseInfo + JSON regionGetResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result RegionGetResponseUnion + Success RegionGetResponseEnvelopeSuccess + func (r *RegionGetResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type RegionGetResponseEnvelopeSuccess bool + const RegionGetResponseEnvelopeSuccessTrue + func (r RegionGetResponseEnvelopeSuccess) IsKnown() bool + type RegionGetResponseUnion interface + ImplementsLoadBalancersRegionGetResponseUnion func() + type RegionListParams struct + CountryCodeA2 param.Field[string] + SubdivisionCode param.Field[string] + SubdivisionCodeA2 param.Field[string] + func (r RegionListParams) URLQuery() (v url.Values) + type RegionListResponseEnvelope struct + Errors []shared.ResponseInfo + JSON regionListResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result RegionListResponseUnion + Success RegionListResponseEnvelopeSuccess + func (r *RegionListResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type RegionListResponseEnvelopeSuccess bool + const RegionListResponseEnvelopeSuccessTrue + func (r RegionListResponseEnvelopeSuccess) IsKnown() bool + type RegionListResponseUnion interface + ImplementsLoadBalancersRegionListResponseUnion func() + type RegionService struct + Options []option.RequestOption + func NewRegionService(opts ...option.RequestOption) (r *RegionService) + func (r *RegionService) Get(ctx context.Context, accountID string, regionID RegionGetParamsRegionID, ...) (res *RegionGetResponseUnion, err error) + func (r *RegionService) List(ctx context.Context, accountID string, query RegionListParams, ...) (res *RegionListResponseUnion, err error) + type ResponseInfo = shared.ResponseInfo + type Role = shared.Role + type Rules struct + Condition string + Disabled bool + FixedResponse RulesFixedResponse + JSON rulesJSON + Name string + Overrides RulesOverrides + Priority int64 + Terminates bool + func (r *Rules) UnmarshalJSON(data []byte) (err error) + type RulesFixedResponse struct + ContentType string + JSON rulesFixedResponseJSON + Location string + MessageBody string + StatusCode int64 + func (r *RulesFixedResponse) UnmarshalJSON(data []byte) (err error) + type RulesFixedResponseParam struct + ContentType param.Field[string] + Location param.Field[string] + MessageBody param.Field[string] + StatusCode param.Field[int64] + func (r RulesFixedResponseParam) MarshalJSON() (data []byte, err error) + type RulesOverrides struct + AdaptiveRouting AdaptiveRouting + CountryPools interface{} + DefaultPools []DefaultPools + FallbackPool interface{} + JSON rulesOverridesJSON + LocationStrategy LocationStrategy + PopPools interface{} + RandomSteering RandomSteering + RegionPools interface{} + SessionAffinity SessionAffinity + SessionAffinityAttributes SessionAffinityAttributes + SessionAffinityTTL float64 + SteeringPolicy SteeringPolicy + TTL float64 + func (r *RulesOverrides) UnmarshalJSON(data []byte) (err error) + type RulesOverridesParam struct + AdaptiveRouting param.Field[AdaptiveRoutingParam] + CountryPools param.Field[interface{}] + DefaultPools param.Field[[]DefaultPoolsParam] + FallbackPool param.Field[interface{}] + LocationStrategy param.Field[LocationStrategyParam] + PopPools param.Field[interface{}] + RandomSteering param.Field[RandomSteeringParam] + RegionPools param.Field[interface{}] + SessionAffinity param.Field[SessionAffinity] + SessionAffinityAttributes param.Field[SessionAffinityAttributesParam] + SessionAffinityTTL param.Field[float64] + SteeringPolicy param.Field[SteeringPolicy] + TTL param.Field[float64] + func (r RulesOverridesParam) MarshalJSON() (data []byte, err error) + type RulesParam struct + Condition param.Field[string] + Disabled param.Field[bool] + FixedResponse param.Field[RulesFixedResponseParam] + Name param.Field[string] + Overrides param.Field[RulesOverridesParam] + Priority param.Field[int64] + Terminates param.Field[bool] + func (r RulesParam) MarshalJSON() (data []byte, err error) + type SearchGetParams struct + Page param.Field[interface{}] + PerPage param.Field[interface{}] + SearchParams param.Field[SearchGetParamsSearchParams] + func (r SearchGetParams) URLQuery() (v url.Values) + type SearchGetParamsSearchParams struct + Query param.Field[string] + References param.Field[SearchGetParamsSearchParamsReferences] + func (r SearchGetParamsSearchParams) URLQuery() (v url.Values) + type SearchGetParamsSearchParamsReferences string + const SearchGetParamsSearchParamsReferencesEmpty + const SearchGetParamsSearchParamsReferencesReferral + const SearchGetParamsSearchParamsReferencesReferrer + const SearchGetParamsSearchParamsReferencesStar + func (r SearchGetParamsSearchParamsReferences) IsKnown() bool + type SearchGetResponse = interface + type SearchGetResponseEnvelope struct + Errors []shared.ResponseInfo + JSON searchGetResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result []SearchGetResponse + ResultInfo SearchGetResponseEnvelopeResultInfo + Success SearchGetResponseEnvelopeSuccess + func (r *SearchGetResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type SearchGetResponseEnvelopeResultInfo struct + Count float64 + JSON searchGetResponseEnvelopeResultInfoJSON + Page float64 + PerPage float64 + TotalCount float64 + func (r *SearchGetResponseEnvelopeResultInfo) UnmarshalJSON(data []byte) (err error) + type SearchGetResponseEnvelopeSuccess bool + const SearchGetResponseEnvelopeSuccessTrue + func (r SearchGetResponseEnvelopeSuccess) IsKnown() bool + type SearchService struct + Options []option.RequestOption + func NewSearchService(opts ...option.RequestOption) (r *SearchService) + func (r *SearchService) Get(ctx context.Context, accountID string, query SearchGetParams, ...) (res *[]SearchGetResponse, err error) + type SessionAffinity string + const SessionAffinityCookie + const SessionAffinityEmpty + const SessionAffinityHeader + const SessionAffinityIPCookie + const SessionAffinityNone + func (r SessionAffinity) IsKnown() bool + type SessionAffinityAttributes struct + DrainDuration float64 + Headers []string + JSON sessionAffinityAttributesJSON + RequireAllHeaders bool + Samesite SessionAffinityAttributesSamesite + Secure SessionAffinityAttributesSecure + ZeroDowntimeFailover SessionAffinityAttributesZeroDowntimeFailover + func (r *SessionAffinityAttributes) UnmarshalJSON(data []byte) (err error) + type SessionAffinityAttributesParam struct + DrainDuration param.Field[float64] + Headers param.Field[[]string] + RequireAllHeaders param.Field[bool] + Samesite param.Field[SessionAffinityAttributesSamesite] + Secure param.Field[SessionAffinityAttributesSecure] + ZeroDowntimeFailover param.Field[SessionAffinityAttributesZeroDowntimeFailover] + func (r SessionAffinityAttributesParam) MarshalJSON() (data []byte, err error) + type SessionAffinityAttributesSamesite string + const SessionAffinityAttributesSamesiteAuto + const SessionAffinityAttributesSamesiteLax + const SessionAffinityAttributesSamesiteNone + const SessionAffinityAttributesSamesiteStrict + func (r SessionAffinityAttributesSamesite) IsKnown() bool + type SessionAffinityAttributesSecure string + const SessionAffinityAttributesSecureAlways + const SessionAffinityAttributesSecureAuto + const SessionAffinityAttributesSecureNever + func (r SessionAffinityAttributesSecure) IsKnown() bool + type SessionAffinityAttributesZeroDowntimeFailover string + const SessionAffinityAttributesZeroDowntimeFailoverNone + const SessionAffinityAttributesZeroDowntimeFailoverSticky + const SessionAffinityAttributesZeroDowntimeFailoverTemporary + func (r SessionAffinityAttributesZeroDowntimeFailover) IsKnown() bool + type SortDirection = shared.SortDirection + type SteeringPolicy string + const SteeringPolicyDynamicLatency + const SteeringPolicyEmpty + const SteeringPolicyGeo + const SteeringPolicyLeastConnections + const SteeringPolicyLeastOutstandingRequests + const SteeringPolicyOff + const SteeringPolicyProximity + const SteeringPolicyRandom + func (r SteeringPolicy) IsKnown() bool