Documentation
¶
Index ¶
- Constants
- type ASN
- type ASNParam
- type AuditLog
- type AuditLogAction
- type AuditLogActor
- type AuditLogActorType
- type AuditLogOwner
- type AuditLogResource
- type CertificateCA
- type CertificateRequestType
- type CloudflareTunnel
- type CloudflareTunnelConnection
- type CloudflareTunnelStatus
- type CloudflareTunnelTunType
- type ConfigDeleteParams
- type ConfigDeleteResponse
- type ConfigDeleteResponseEnvelope
- type ConfigDeleteResponseEnvelopeSuccess
- type ConfigEditParams
- type ConfigEditParamsCaching
- type ConfigEditParamsCachingHyperdriveHyperdriveCachingCommon
- type ConfigEditParamsCachingHyperdriveHyperdriveCachingEnabled
- type ConfigEditParamsCachingUnion
- type ConfigEditParamsOrigin
- type ConfigEditParamsOriginHyperdriveHyperdriveDatabase
- type ConfigEditParamsOriginHyperdriveHyperdriveDatabaseScheme
- type ConfigEditParamsOriginHyperdriveHyperdriveInternetOrigin
- type ConfigEditParamsOriginHyperdriveHyperdriveOverAccessOrigin
- type ConfigEditParamsOriginScheme
- type ConfigEditParamsOriginUnion
- type ConfigEditResponse
- type ConfigEditResponseEnvelope
- type ConfigEditResponseEnvelopeSuccess
- type ConfigGetParams
- type ConfigGetResponse
- type ConfigGetResponseEnvelope
- type ConfigGetResponseEnvelopeSuccess
- type ConfigListParams
- type ConfigListResponse
- type ConfigNewParams
- type ConfigNewResponse
- type ConfigNewResponseEnvelope
- type ConfigNewResponseEnvelopeSuccess
- type ConfigService
- func (r *ConfigService) Delete(ctx context.Context, hyperdriveID string, body ConfigDeleteParams, ...) (res *ConfigDeleteResponse, err error)
- func (r *ConfigService) Edit(ctx context.Context, hyperdriveID string, params ConfigEditParams, ...) (res *ConfigEditResponse, err error)
- func (r *ConfigService) Get(ctx context.Context, hyperdriveID string, query ConfigGetParams, ...) (res *ConfigGetResponse, err error)
- func (r *ConfigService) List(ctx context.Context, query ConfigListParams, opts ...option.RequestOption) (res *pagination.SinglePage[ConfigListResponse], err error)
- func (r *ConfigService) ListAutoPaging(ctx context.Context, query ConfigListParams, opts ...option.RequestOption) *pagination.SinglePageAutoPager[ConfigListResponse]
- func (r *ConfigService) New(ctx context.Context, params ConfigNewParams, opts ...option.RequestOption) (res *ConfigNewResponse, err error)
- func (r *ConfigService) Update(ctx context.Context, hyperdriveID string, params ConfigUpdateParams, ...) (res *ConfigUpdateResponse, err error)
- type ConfigUpdateParams
- type ConfigUpdateResponse
- type ConfigUpdateResponseEnvelope
- type ConfigUpdateResponseEnvelopeSuccess
- type Error
- type ErrorData
- type Hyperdrive
- type HyperdriveCaching
- type HyperdriveCachingHyperdriveHyperdriveCachingCommon
- type HyperdriveCachingHyperdriveHyperdriveCachingCommonParam
- type HyperdriveCachingHyperdriveHyperdriveCachingEnabled
- type HyperdriveCachingHyperdriveHyperdriveCachingEnabledParam
- type HyperdriveCachingParam
- type HyperdriveCachingUnion
- type HyperdriveCachingUnionParam
- type HyperdriveOrigin
- type HyperdriveOriginAccessProtectedDatabaseBehindCloudflareTunnel
- type HyperdriveOriginAccessProtectedDatabaseBehindCloudflareTunnelParam
- type HyperdriveOriginAccessProtectedDatabaseBehindCloudflareTunnelScheme
- type HyperdriveOriginParam
- type HyperdriveOriginPublicDatabase
- type HyperdriveOriginPublicDatabaseParam
- type HyperdriveOriginPublicDatabaseScheme
- type HyperdriveOriginScheme
- type HyperdriveOriginUnion
- type HyperdriveOriginUnionParam
- type HyperdriveParam
- type HyperdriveService
- type Member
- type MemberPoliciesAccess
- type MemberPoliciesPermissionGroup
- type MemberPoliciesPermissionGroupsMeta
- type MemberPoliciesResourceGroup
- type MemberPoliciesResourceGroupsMeta
- type MemberPoliciesResourceGroupsScope
- type MemberPoliciesResourceGroupsScopeObject
- type MemberPolicy
- type MemberStatus
- type MemberUser
- type Permission
- type PermissionGrant
- type PermissionGrantParam
- type RatePlan
- type RatePlanID
- type RatePlanParam
- type ResponseInfo
- type Role
- type RoleParam
- type RolePermissions
- type RolePermissionsParam
- type SortDirection
- type Subscription
- type SubscriptionFrequency
- type SubscriptionParam
- type SubscriptionState
- type Token
- type TokenCondition
- type TokenConditionCIDRList
- type TokenConditionCIDRListParam
- type TokenConditionParam
- type TokenConditionRequestIP
- type TokenConditionRequestIPParam
- type TokenParam
- type TokenPolicy
- type TokenPolicyEffect
- type TokenPolicyParam
- type TokenPolicyPermissionGroup
- type TokenPolicyPermissionGroupParam
- type TokenPolicyPermissionGroupsMeta
- type TokenPolicyPermissionGroupsMetaParam
- type TokenStatus
- type TokenValue
Constants ¶
const AuditLogActorTypeAdmin = shared.AuditLogActorTypeAdmin
This is an alias to an internal value.
const AuditLogActorTypeCloudflare = shared.AuditLogActorTypeCloudflare
This is an alias to an internal value.
const AuditLogActorTypeUser = shared.AuditLogActorTypeUser
This is an alias to an internal value.
const CertificateCADigicert = shared.CertificateCADigicert
This is an alias to an internal value.
const CertificateCAGoogle = shared.CertificateCAGoogle
This is an alias to an internal value.
const CertificateCALetsEncrypt = shared.CertificateCALetsEncrypt
This is an alias to an internal value.
const CertificateCASSLCom = shared.CertificateCASSLCom
This is an alias to an internal value.
const CertificateRequestTypeKeylessCertificate = shared.CertificateRequestTypeKeylessCertificate
This is an alias to an internal value.
const CertificateRequestTypeOriginECC = shared.CertificateRequestTypeOriginECC
This is an alias to an internal value.
const CertificateRequestTypeOriginRSA = shared.CertificateRequestTypeOriginRSA
This is an alias to an internal value.
const CloudflareTunnelStatusDegraded = shared.CloudflareTunnelStatusDegraded
This is an alias to an internal value.
const CloudflareTunnelStatusDown = shared.CloudflareTunnelStatusDown
This is an alias to an internal value.
const CloudflareTunnelStatusHealthy = shared.CloudflareTunnelStatusHealthy
This is an alias to an internal value.
const CloudflareTunnelStatusInactive = shared.CloudflareTunnelStatusInactive
This is an alias to an internal value.
const CloudflareTunnelTunTypeCNI = shared.CloudflareTunnelTunTypeCNI
This is an alias to an internal value.
const CloudflareTunnelTunTypeCfdTunnel = shared.CloudflareTunnelTunTypeCfdTunnel
This is an alias to an internal value.
const CloudflareTunnelTunTypeGRE = shared.CloudflareTunnelTunTypeGRE
This is an alias to an internal value.
const CloudflareTunnelTunTypeIPSec = shared.CloudflareTunnelTunTypeIPSec
This is an alias to an internal value.
const CloudflareTunnelTunTypeWARPConnector = shared.CloudflareTunnelTunTypeWARPConnector
This is an alias to an internal value.
const MemberPoliciesAccessAllow = shared.MemberPoliciesAccessAllow
This is an alias to an internal value.
const MemberPoliciesAccessDeny = shared.MemberPoliciesAccessDeny
This is an alias to an internal value.
const MemberStatusAccepted = shared.MemberStatusAccepted
This is an alias to an internal value.
const MemberStatusPending = shared.MemberStatusPending
This is an alias to an internal value.
const RatePlanIDBusiness = shared.RatePlanIDBusiness
This is an alias to an internal value.
const RatePlanIDEnterprise = shared.RatePlanIDEnterprise
This is an alias to an internal value.
const RatePlanIDFree = shared.RatePlanIDFree
This is an alias to an internal value.
const RatePlanIDLite = shared.RatePlanIDLite
This is an alias to an internal value.
const RatePlanIDPartnersBusiness = shared.RatePlanIDPartnersBusiness
This is an alias to an internal value.
const RatePlanIDPartnersEnterprise = shared.RatePlanIDPartnersEnterprise
This is an alias to an internal value.
const RatePlanIDPartnersFree = shared.RatePlanIDPartnersFree
This is an alias to an internal value.
const RatePlanIDPartnersPro = shared.RatePlanIDPartnersPro
This is an alias to an internal value.
const RatePlanIDPro = shared.RatePlanIDPro
This is an alias to an internal value.
const RatePlanIDProPlus = shared.RatePlanIDProPlus
This is an alias to an internal value.
const SortDirectionAsc = shared.SortDirectionAsc
This is an alias to an internal value.
const SortDirectionDesc = shared.SortDirectionDesc
This is an alias to an internal value.
const SubscriptionFrequencyMonthly = shared.SubscriptionFrequencyMonthly
This is an alias to an internal value.
const SubscriptionFrequencyQuarterly = shared.SubscriptionFrequencyQuarterly
This is an alias to an internal value.
const SubscriptionFrequencyWeekly = shared.SubscriptionFrequencyWeekly
This is an alias to an internal value.
const SubscriptionFrequencyYearly = shared.SubscriptionFrequencyYearly
This is an alias to an internal value.
const SubscriptionStateAwaitingPayment = shared.SubscriptionStateAwaitingPayment
This is an alias to an internal value.
const SubscriptionStateCancelled = shared.SubscriptionStateCancelled
This is an alias to an internal value.
const SubscriptionStateExpired = shared.SubscriptionStateExpired
This is an alias to an internal value.
const SubscriptionStateFailed = shared.SubscriptionStateFailed
This is an alias to an internal value.
const SubscriptionStatePaid = shared.SubscriptionStatePaid
This is an alias to an internal value.
const SubscriptionStateProvisioned = shared.SubscriptionStateProvisioned
This is an alias to an internal value.
const SubscriptionStateTrial = shared.SubscriptionStateTrial
This is an alias to an internal value.
const TokenPolicyEffectAllow = shared.TokenPolicyEffectAllow
This is an alias to an internal value.
const TokenPolicyEffectDeny = shared.TokenPolicyEffectDeny
This is an alias to an internal value.
const TokenStatusActive = shared.TokenStatusActive
This is an alias to an internal value.
const TokenStatusDisabled = shared.TokenStatusDisabled
This is an alias to an internal value.
const TokenStatusExpired = shared.TokenStatusExpired
This is an alias to an internal value.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuditLogAction ¶
type AuditLogAction = shared.AuditLogAction
This is an alias to an internal type.
type AuditLogActor ¶
type AuditLogActor = shared.AuditLogActor
This is an alias to an internal type.
type AuditLogActorType ¶
type AuditLogActorType = shared.AuditLogActorType
The type of actor, whether a User, Cloudflare Admin, or an Automated System.
This is an alias to an internal type.
type AuditLogOwner ¶
type AuditLogOwner = shared.AuditLogOwner
This is an alias to an internal type.
type AuditLogResource ¶
type AuditLogResource = shared.AuditLogResource
This is an alias to an internal type.
type CertificateCA ¶
type CertificateCA = shared.CertificateCA
The Certificate Authority that will issue the certificate
This is an alias to an internal type.
type CertificateRequestType ¶
type CertificateRequestType = shared.CertificateRequestType
Signature type desired on certificate ("origin-rsa" (rsa), "origin-ecc" (ecdsa), or "keyless-certificate" (for Keyless SSL servers).
This is an alias to an internal type.
type CloudflareTunnel ¶
type CloudflareTunnel = shared.CloudflareTunnel
A Cloudflare Tunnel that connects your origin to Cloudflare's edge.
This is an alias to an internal type.
type CloudflareTunnelConnection ¶
type CloudflareTunnelConnection = shared.CloudflareTunnelConnection
This is an alias to an internal type.
type CloudflareTunnelStatus ¶
type CloudflareTunnelStatus = shared.CloudflareTunnelStatus
The status of the tunnel. Valid values are `inactive` (tunnel has never been run), `degraded` (tunnel is active and able to serve traffic but in an unhealthy state), `healthy` (tunnel is active and able to serve traffic), or `down` (tunnel can not serve traffic as it has no connections to the Cloudflare Edge).
This is an alias to an internal type.
type CloudflareTunnelTunType ¶
type CloudflareTunnelTunType = shared.CloudflareTunnelTunType
The type of tunnel.
This is an alias to an internal type.
type ConfigDeleteParams ¶
type ConfigDeleteResponse ¶
type ConfigDeleteResponse = interface{}
type ConfigDeleteResponseEnvelope ¶
type ConfigDeleteResponseEnvelope struct {
Errors []shared.ResponseInfo `json:"errors,required"`
Messages []shared.ResponseInfo `json:"messages,required"`
Result ConfigDeleteResponse `json:"result,required,nullable"`
// Whether the API call was successful
Success ConfigDeleteResponseEnvelopeSuccess `json:"success,required"`
JSON configDeleteResponseEnvelopeJSON `json:"-"`
}
func (*ConfigDeleteResponseEnvelope) UnmarshalJSON ¶
func (r *ConfigDeleteResponseEnvelope) UnmarshalJSON(data []byte) (err error)
type ConfigDeleteResponseEnvelopeSuccess ¶
type ConfigDeleteResponseEnvelopeSuccess bool
Whether the API call was successful
const (
ConfigDeleteResponseEnvelopeSuccessTrue ConfigDeleteResponseEnvelopeSuccess = true
)
func (ConfigDeleteResponseEnvelopeSuccess) IsKnown ¶
func (r ConfigDeleteResponseEnvelopeSuccess) IsKnown() bool
type ConfigEditParams ¶
type ConfigEditParams struct {
// Identifier
AccountID param.Field[string] `path:"account_id,required"`
Caching param.Field[ConfigEditParamsCachingUnion] `json:"caching"`
Name param.Field[string] `json:"name"`
Origin param.Field[ConfigEditParamsOriginUnion] `json:"origin"`
}
func (ConfigEditParams) MarshalJSON ¶
func (r ConfigEditParams) MarshalJSON() (data []byte, err error)
type ConfigEditParamsCaching ¶
type ConfigEditParamsCaching struct {
// When set to true, disables the caching of SQL responses. (Default: false)
Disabled param.Field[bool] `json:"disabled"`
// When present, specifies max duration for which items should persist in the
// cache. Not returned if set to default. (Default: 60)
MaxAge param.Field[int64] `json:"max_age"`
// When present, indicates the number of seconds cache may serve the response after
// it becomes stale. Not returned if set to default. (Default: 15)
StaleWhileRevalidate param.Field[int64] `json:"stale_while_revalidate"`
}
func (ConfigEditParamsCaching) MarshalJSON ¶
func (r ConfigEditParamsCaching) MarshalJSON() (data []byte, err error)
type ConfigEditParamsCachingHyperdriveHyperdriveCachingCommon ¶
type ConfigEditParamsCachingHyperdriveHyperdriveCachingCommon struct {
// When set to true, disables the caching of SQL responses. (Default: false)
Disabled param.Field[bool] `json:"disabled"`
}
func (ConfigEditParamsCachingHyperdriveHyperdriveCachingCommon) MarshalJSON ¶
func (r ConfigEditParamsCachingHyperdriveHyperdriveCachingCommon) MarshalJSON() (data []byte, err error)
type ConfigEditParamsCachingHyperdriveHyperdriveCachingEnabled ¶
type ConfigEditParamsCachingHyperdriveHyperdriveCachingEnabled struct {
// When set to true, disables the caching of SQL responses. (Default: false)
Disabled param.Field[bool] `json:"disabled"`
// When present, specifies max duration for which items should persist in the
// cache. Not returned if set to default. (Default: 60)
MaxAge param.Field[int64] `json:"max_age"`
// When present, indicates the number of seconds cache may serve the response after
// it becomes stale. Not returned if set to default. (Default: 15)
StaleWhileRevalidate param.Field[int64] `json:"stale_while_revalidate"`
}
func (ConfigEditParamsCachingHyperdriveHyperdriveCachingEnabled) MarshalJSON ¶
func (r ConfigEditParamsCachingHyperdriveHyperdriveCachingEnabled) MarshalJSON() (data []byte, err error)
type ConfigEditParamsCachingUnion ¶
type ConfigEditParamsCachingUnion interface {
// contains filtered or unexported methods
}
Satisfied by hyperdrive.ConfigEditParamsCachingHyperdriveHyperdriveCachingCommon, hyperdrive.ConfigEditParamsCachingHyperdriveHyperdriveCachingEnabled, ConfigEditParamsCaching.
type ConfigEditParamsOrigin ¶
type ConfigEditParamsOrigin struct {
// The Client ID of the Access token to use when connecting to the origin database.
AccessClientID param.Field[string] `json:"access_client_id"`
// The Client Secret of the Access token to use when connecting to the origin
// database. This value is write-only and never returned by the API.
AccessClientSecret param.Field[string] `json:"access_client_secret"`
// The name of your origin database.
Database param.Field[string] `json:"database"`
// The host (hostname or IP) of your origin database.
Host param.Field[string] `json:"host"`
// The password required to access your origin database. This value is write-only
// and never returned by the API.
Password param.Field[string] `json:"password"`
// The port (default: 5432 for Postgres) of your origin database.
Port param.Field[int64] `json:"port"`
// Specifies the URL scheme used to connect to your origin database.
Scheme param.Field[ConfigEditParamsOriginScheme] `json:"scheme"`
// The user of your origin database.
User param.Field[string] `json:"user"`
}
func (ConfigEditParamsOrigin) MarshalJSON ¶
func (r ConfigEditParamsOrigin) MarshalJSON() (data []byte, err error)
type ConfigEditParamsOriginHyperdriveHyperdriveDatabase ¶
type ConfigEditParamsOriginHyperdriveHyperdriveDatabase struct {
// The name of your origin database.
Database param.Field[string] `json:"database"`
// The password required to access your origin database. This value is write-only
// and never returned by the API.
Password param.Field[string] `json:"password"`
// Specifies the URL scheme used to connect to your origin database.
Scheme param.Field[ConfigEditParamsOriginHyperdriveHyperdriveDatabaseScheme] `json:"scheme"`
// The user of your origin database.
User param.Field[string] `json:"user"`
}
func (ConfigEditParamsOriginHyperdriveHyperdriveDatabase) MarshalJSON ¶
func (r ConfigEditParamsOriginHyperdriveHyperdriveDatabase) MarshalJSON() (data []byte, err error)
type ConfigEditParamsOriginHyperdriveHyperdriveDatabaseScheme ¶
type ConfigEditParamsOriginHyperdriveHyperdriveDatabaseScheme string
Specifies the URL scheme used to connect to your origin database.
const ( ConfigEditParamsOriginHyperdriveHyperdriveDatabaseSchemePostgres ConfigEditParamsOriginHyperdriveHyperdriveDatabaseScheme = "postgres" ConfigEditParamsOriginHyperdriveHyperdriveDatabaseSchemePostgresql ConfigEditParamsOriginHyperdriveHyperdriveDatabaseScheme = "postgresql" )
func (ConfigEditParamsOriginHyperdriveHyperdriveDatabaseScheme) IsKnown ¶
func (r ConfigEditParamsOriginHyperdriveHyperdriveDatabaseScheme) IsKnown() bool
type ConfigEditParamsOriginHyperdriveHyperdriveInternetOrigin ¶
type ConfigEditParamsOriginHyperdriveHyperdriveInternetOrigin struct {
// The host (hostname or IP) of your origin database.
Host param.Field[string] `json:"host,required"`
// The port (default: 5432 for Postgres) of your origin database.
Port param.Field[int64] `json:"port,required"`
}
func (ConfigEditParamsOriginHyperdriveHyperdriveInternetOrigin) MarshalJSON ¶
func (r ConfigEditParamsOriginHyperdriveHyperdriveInternetOrigin) MarshalJSON() (data []byte, err error)
type ConfigEditParamsOriginHyperdriveHyperdriveOverAccessOrigin ¶
type ConfigEditParamsOriginHyperdriveHyperdriveOverAccessOrigin struct {
// The Client ID of the Access token to use when connecting to the origin database.
AccessClientID param.Field[string] `json:"access_client_id,required"`
// The Client Secret of the Access token to use when connecting to the origin
// database. This value is write-only and never returned by the API.
AccessClientSecret param.Field[string] `json:"access_client_secret,required"`
// The host (hostname or IP) of your origin database.
Host param.Field[string] `json:"host,required"`
}
func (ConfigEditParamsOriginHyperdriveHyperdriveOverAccessOrigin) MarshalJSON ¶
func (r ConfigEditParamsOriginHyperdriveHyperdriveOverAccessOrigin) MarshalJSON() (data []byte, err error)
type ConfigEditParamsOriginScheme ¶
type ConfigEditParamsOriginScheme string
Specifies the URL scheme used to connect to your origin database.
const ( ConfigEditParamsOriginSchemePostgres ConfigEditParamsOriginScheme = "postgres" ConfigEditParamsOriginSchemePostgresql ConfigEditParamsOriginScheme = "postgresql" )
func (ConfigEditParamsOriginScheme) IsKnown ¶
func (r ConfigEditParamsOriginScheme) IsKnown() bool
type ConfigEditParamsOriginUnion ¶
type ConfigEditParamsOriginUnion interface {
// contains filtered or unexported methods
}
Satisfied by hyperdrive.ConfigEditParamsOriginHyperdriveHyperdriveDatabase, hyperdrive.ConfigEditParamsOriginHyperdriveHyperdriveInternetOrigin, hyperdrive.ConfigEditParamsOriginHyperdriveHyperdriveOverAccessOrigin, ConfigEditParamsOrigin.
type ConfigEditResponse ¶ added in v4.1.0
type ConfigEditResponse struct {
// When the Hyperdrive configuration was created.
CreatedOn time.Time `json:"created_on" format:"date-time"`
// When the Hyperdrive configuration was last modified.
ModifiedOn time.Time `json:"modified_on" format:"date-time"`
JSON configEditResponseJSON `json:"-"`
Hyperdrive
}
func (*ConfigEditResponse) UnmarshalJSON ¶ added in v4.1.0
func (r *ConfigEditResponse) UnmarshalJSON(data []byte) (err error)
type ConfigEditResponseEnvelope ¶
type ConfigEditResponseEnvelope struct {
Errors []shared.ResponseInfo `json:"errors,required"`
Messages []shared.ResponseInfo `json:"messages,required"`
Result ConfigEditResponse `json:"result,required"`
// Whether the API call was successful
Success ConfigEditResponseEnvelopeSuccess `json:"success,required"`
JSON configEditResponseEnvelopeJSON `json:"-"`
}
func (*ConfigEditResponseEnvelope) UnmarshalJSON ¶
func (r *ConfigEditResponseEnvelope) UnmarshalJSON(data []byte) (err error)
type ConfigEditResponseEnvelopeSuccess ¶
type ConfigEditResponseEnvelopeSuccess bool
Whether the API call was successful
const (
ConfigEditResponseEnvelopeSuccessTrue ConfigEditResponseEnvelopeSuccess = true
)
func (ConfigEditResponseEnvelopeSuccess) IsKnown ¶
func (r ConfigEditResponseEnvelopeSuccess) IsKnown() bool
type ConfigGetParams ¶
type ConfigGetResponse ¶ added in v4.1.0
type ConfigGetResponse struct {
// When the Hyperdrive configuration was created.
CreatedOn time.Time `json:"created_on" format:"date-time"`
// When the Hyperdrive configuration was last modified.
ModifiedOn time.Time `json:"modified_on" format:"date-time"`
JSON configGetResponseJSON `json:"-"`
Hyperdrive
}
func (*ConfigGetResponse) UnmarshalJSON ¶ added in v4.1.0
func (r *ConfigGetResponse) UnmarshalJSON(data []byte) (err error)
type ConfigGetResponseEnvelope ¶
type ConfigGetResponseEnvelope struct {
Errors []shared.ResponseInfo `json:"errors,required"`
Messages []shared.ResponseInfo `json:"messages,required"`
Result ConfigGetResponse `json:"result,required"`
// Whether the API call was successful
Success ConfigGetResponseEnvelopeSuccess `json:"success,required"`
JSON configGetResponseEnvelopeJSON `json:"-"`
}
func (*ConfigGetResponseEnvelope) UnmarshalJSON ¶
func (r *ConfigGetResponseEnvelope) UnmarshalJSON(data []byte) (err error)
type ConfigGetResponseEnvelopeSuccess ¶
type ConfigGetResponseEnvelopeSuccess bool
Whether the API call was successful
const (
ConfigGetResponseEnvelopeSuccessTrue ConfigGetResponseEnvelopeSuccess = true
)
func (ConfigGetResponseEnvelopeSuccess) IsKnown ¶
func (r ConfigGetResponseEnvelopeSuccess) IsKnown() bool
type ConfigListParams ¶
type ConfigListResponse ¶ added in v4.1.0
type ConfigListResponse struct {
// When the Hyperdrive configuration was created.
CreatedOn time.Time `json:"created_on" format:"date-time"`
// When the Hyperdrive configuration was last modified.
ModifiedOn time.Time `json:"modified_on" format:"date-time"`
JSON configListResponseJSON `json:"-"`
Hyperdrive
}
func (*ConfigListResponse) UnmarshalJSON ¶ added in v4.1.0
func (r *ConfigListResponse) UnmarshalJSON(data []byte) (err error)
type ConfigNewParams ¶
type ConfigNewParams struct {
// Identifier
AccountID param.Field[string] `path:"account_id,required"`
Hyperdrive HyperdriveParam `json:"hyperdrive,required"`
}
func (ConfigNewParams) MarshalJSON ¶
func (r ConfigNewParams) MarshalJSON() (data []byte, err error)
type ConfigNewResponse ¶ added in v4.1.0
type ConfigNewResponse struct {
// When the Hyperdrive configuration was created.
CreatedOn time.Time `json:"created_on" format:"date-time"`
// When the Hyperdrive configuration was last modified.
ModifiedOn time.Time `json:"modified_on" format:"date-time"`
JSON configNewResponseJSON `json:"-"`
Hyperdrive
}
func (*ConfigNewResponse) UnmarshalJSON ¶ added in v4.1.0
func (r *ConfigNewResponse) UnmarshalJSON(data []byte) (err error)
type ConfigNewResponseEnvelope ¶
type ConfigNewResponseEnvelope struct {
Errors []shared.ResponseInfo `json:"errors,required"`
Messages []shared.ResponseInfo `json:"messages,required"`
Result ConfigNewResponse `json:"result,required"`
// Whether the API call was successful
Success ConfigNewResponseEnvelopeSuccess `json:"success,required"`
JSON configNewResponseEnvelopeJSON `json:"-"`
}
func (*ConfigNewResponseEnvelope) UnmarshalJSON ¶
func (r *ConfigNewResponseEnvelope) UnmarshalJSON(data []byte) (err error)
type ConfigNewResponseEnvelopeSuccess ¶
type ConfigNewResponseEnvelopeSuccess bool
Whether the API call was successful
const (
ConfigNewResponseEnvelopeSuccessTrue ConfigNewResponseEnvelopeSuccess = true
)
func (ConfigNewResponseEnvelopeSuccess) IsKnown ¶
func (r ConfigNewResponseEnvelopeSuccess) IsKnown() bool
type ConfigService ¶
type ConfigService struct {
Options []option.RequestOption
}
ConfigService contains methods and other services that help with interacting with the cloudflare API.
Note, unlike clients, this service does not read variables from the environment automatically. You should not instantiate this service directly, and instead use the NewConfigService method instead.
func NewConfigService ¶
func NewConfigService(opts ...option.RequestOption) (r *ConfigService)
NewConfigService generates a new service that applies the given options to each request. These options are applied after the parent client's options (if there is one), and before any request-specific options.
func (*ConfigService) Delete ¶
func (r *ConfigService) Delete(ctx context.Context, hyperdriveID string, body ConfigDeleteParams, opts ...option.RequestOption) (res *ConfigDeleteResponse, err error)
Deletes the specified Hyperdrive.
func (*ConfigService) Edit ¶
func (r *ConfigService) Edit(ctx context.Context, hyperdriveID string, params ConfigEditParams, opts ...option.RequestOption) (res *ConfigEditResponse, err error)
Patches and returns the specified Hyperdrive configuration. Custom caching settings are not kept if caching is disabled.
func (*ConfigService) Get ¶
func (r *ConfigService) Get(ctx context.Context, hyperdriveID string, query ConfigGetParams, opts ...option.RequestOption) (res *ConfigGetResponse, err error)
Returns the specified Hyperdrive configuration.
func (*ConfigService) List ¶
func (r *ConfigService) List(ctx context.Context, query ConfigListParams, opts ...option.RequestOption) (res *pagination.SinglePage[ConfigListResponse], err error)
Returns a list of Hyperdrives
func (*ConfigService) ListAutoPaging ¶
func (r *ConfigService) ListAutoPaging(ctx context.Context, query ConfigListParams, opts ...option.RequestOption) *pagination.SinglePageAutoPager[ConfigListResponse]
Returns a list of Hyperdrives
func (*ConfigService) New ¶
func (r *ConfigService) New(ctx context.Context, params ConfigNewParams, opts ...option.RequestOption) (res *ConfigNewResponse, err error)
Creates and returns a new Hyperdrive configuration.
func (*ConfigService) Update ¶
func (r *ConfigService) Update(ctx context.Context, hyperdriveID string, params ConfigUpdateParams, opts ...option.RequestOption) (res *ConfigUpdateResponse, err error)
Updates and returns the specified Hyperdrive configuration.
type ConfigUpdateParams ¶
type ConfigUpdateParams struct {
// Identifier
AccountID param.Field[string] `path:"account_id,required"`
Hyperdrive HyperdriveParam `json:"hyperdrive,required"`
}
func (ConfigUpdateParams) MarshalJSON ¶
func (r ConfigUpdateParams) MarshalJSON() (data []byte, err error)
type ConfigUpdateResponse ¶ added in v4.1.0
type ConfigUpdateResponse struct {
// When the Hyperdrive configuration was created.
CreatedOn time.Time `json:"created_on" format:"date-time"`
// When the Hyperdrive configuration was last modified.
ModifiedOn time.Time `json:"modified_on" format:"date-time"`
JSON configUpdateResponseJSON `json:"-"`
Hyperdrive
}
func (*ConfigUpdateResponse) UnmarshalJSON ¶ added in v4.1.0
func (r *ConfigUpdateResponse) UnmarshalJSON(data []byte) (err error)
type ConfigUpdateResponseEnvelope ¶
type ConfigUpdateResponseEnvelope struct {
Errors []shared.ResponseInfo `json:"errors,required"`
Messages []shared.ResponseInfo `json:"messages,required"`
Result ConfigUpdateResponse `json:"result,required"`
// Whether the API call was successful
Success ConfigUpdateResponseEnvelopeSuccess `json:"success,required"`
JSON configUpdateResponseEnvelopeJSON `json:"-"`
}
func (*ConfigUpdateResponseEnvelope) UnmarshalJSON ¶
func (r *ConfigUpdateResponseEnvelope) UnmarshalJSON(data []byte) (err error)
type ConfigUpdateResponseEnvelopeSuccess ¶
type ConfigUpdateResponseEnvelopeSuccess bool
Whether the API call was successful
const (
ConfigUpdateResponseEnvelopeSuccessTrue ConfigUpdateResponseEnvelopeSuccess = true
)
func (ConfigUpdateResponseEnvelopeSuccess) IsKnown ¶
func (r ConfigUpdateResponseEnvelopeSuccess) IsKnown() bool
type Hyperdrive ¶
type Hyperdrive struct {
// Identifier
ID string `json:"id,required"`
Name string `json:"name,required"`
Origin HyperdriveOrigin `json:"origin,required"`
Caching HyperdriveCaching `json:"caching"`
JSON hyperdriveJSON `json:"-"`
}
func (*Hyperdrive) UnmarshalJSON ¶
func (r *Hyperdrive) UnmarshalJSON(data []byte) (err error)
type HyperdriveCaching ¶
type HyperdriveCaching struct {
// When set to true, disables the caching of SQL responses. (Default: false)
Disabled bool `json:"disabled"`
// When present, specifies max duration for which items should persist in the
// cache. Not returned if set to default. (Default: 60)
MaxAge int64 `json:"max_age"`
// When present, indicates the number of seconds cache may serve the response after
// it becomes stale. Not returned if set to default. (Default: 15)
StaleWhileRevalidate int64 `json:"stale_while_revalidate"`
JSON hyperdriveCachingJSON `json:"-"`
// contains filtered or unexported fields
}
func (HyperdriveCaching) AsUnion ¶
func (r HyperdriveCaching) AsUnion() HyperdriveCachingUnion
AsUnion returns a HyperdriveCachingUnion interface which you can cast to the specific types for more type safety.
Possible runtime types of the union are hyperdrive.HyperdriveCachingHyperdriveHyperdriveCachingCommon, hyperdrive.HyperdriveCachingHyperdriveHyperdriveCachingEnabled.
func (*HyperdriveCaching) UnmarshalJSON ¶
func (r *HyperdriveCaching) UnmarshalJSON(data []byte) (err error)
type HyperdriveCachingHyperdriveHyperdriveCachingCommon ¶
type HyperdriveCachingHyperdriveHyperdriveCachingCommon struct {
// When set to true, disables the caching of SQL responses. (Default: false)
Disabled bool `json:"disabled"`
JSON hyperdriveCachingHyperdriveHyperdriveCachingCommonJSON `json:"-"`
}
func (*HyperdriveCachingHyperdriveHyperdriveCachingCommon) UnmarshalJSON ¶
func (r *HyperdriveCachingHyperdriveHyperdriveCachingCommon) UnmarshalJSON(data []byte) (err error)
type HyperdriveCachingHyperdriveHyperdriveCachingCommonParam ¶
type HyperdriveCachingHyperdriveHyperdriveCachingCommonParam struct {
// When set to true, disables the caching of SQL responses. (Default: false)
Disabled param.Field[bool] `json:"disabled"`
}
func (HyperdriveCachingHyperdriveHyperdriveCachingCommonParam) MarshalJSON ¶
func (r HyperdriveCachingHyperdriveHyperdriveCachingCommonParam) MarshalJSON() (data []byte, err error)
type HyperdriveCachingHyperdriveHyperdriveCachingEnabled ¶
type HyperdriveCachingHyperdriveHyperdriveCachingEnabled struct {
// When set to true, disables the caching of SQL responses. (Default: false)
Disabled bool `json:"disabled"`
// When present, specifies max duration for which items should persist in the
// cache. Not returned if set to default. (Default: 60)
MaxAge int64 `json:"max_age"`
// When present, indicates the number of seconds cache may serve the response after
// it becomes stale. Not returned if set to default. (Default: 15)
StaleWhileRevalidate int64 `json:"stale_while_revalidate"`
JSON hyperdriveCachingHyperdriveHyperdriveCachingEnabledJSON `json:"-"`
}
func (*HyperdriveCachingHyperdriveHyperdriveCachingEnabled) UnmarshalJSON ¶
func (r *HyperdriveCachingHyperdriveHyperdriveCachingEnabled) UnmarshalJSON(data []byte) (err error)
type HyperdriveCachingHyperdriveHyperdriveCachingEnabledParam ¶
type HyperdriveCachingHyperdriveHyperdriveCachingEnabledParam struct {
// When set to true, disables the caching of SQL responses. (Default: false)
Disabled param.Field[bool] `json:"disabled"`
// When present, specifies max duration for which items should persist in the
// cache. Not returned if set to default. (Default: 60)
MaxAge param.Field[int64] `json:"max_age"`
// When present, indicates the number of seconds cache may serve the response after
// it becomes stale. Not returned if set to default. (Default: 15)
StaleWhileRevalidate param.Field[int64] `json:"stale_while_revalidate"`
}
func (HyperdriveCachingHyperdriveHyperdriveCachingEnabledParam) MarshalJSON ¶
func (r HyperdriveCachingHyperdriveHyperdriveCachingEnabledParam) MarshalJSON() (data []byte, err error)
type HyperdriveCachingParam ¶
type HyperdriveCachingParam struct {
// When set to true, disables the caching of SQL responses. (Default: false)
Disabled param.Field[bool] `json:"disabled"`
// When present, specifies max duration for which items should persist in the
// cache. Not returned if set to default. (Default: 60)
MaxAge param.Field[int64] `json:"max_age"`
// When present, indicates the number of seconds cache may serve the response after
// it becomes stale. Not returned if set to default. (Default: 15)
StaleWhileRevalidate param.Field[int64] `json:"stale_while_revalidate"`
}
func (HyperdriveCachingParam) MarshalJSON ¶
func (r HyperdriveCachingParam) MarshalJSON() (data []byte, err error)
type HyperdriveCachingUnion ¶
type HyperdriveCachingUnion interface {
// contains filtered or unexported methods
}
Union satisfied by hyperdrive.HyperdriveCachingHyperdriveHyperdriveCachingCommon or hyperdrive.HyperdriveCachingHyperdriveHyperdriveCachingEnabled.
type HyperdriveCachingUnionParam ¶
type HyperdriveCachingUnionParam interface {
// contains filtered or unexported methods
}
Satisfied by hyperdrive.HyperdriveCachingHyperdriveHyperdriveCachingCommonParam, hyperdrive.HyperdriveCachingHyperdriveHyperdriveCachingEnabledParam, HyperdriveCachingParam.
type HyperdriveOrigin ¶
type HyperdriveOrigin struct {
// The name of your origin database.
Database string `json:"database,required"`
// The host (hostname or IP) of your origin database.
Host string `json:"host,required"`
// Specifies the URL scheme used to connect to your origin database.
Scheme HyperdriveOriginScheme `json:"scheme,required"`
// The user of your origin database.
User string `json:"user,required"`
// The Client ID of the Access token to use when connecting to the origin database.
AccessClientID string `json:"access_client_id"`
// The port (default: 5432 for Postgres) of your origin database.
Port int64 `json:"port"`
JSON hyperdriveOriginJSON `json:"-"`
// contains filtered or unexported fields
}
func (HyperdriveOrigin) AsUnion ¶
func (r HyperdriveOrigin) AsUnion() HyperdriveOriginUnion
AsUnion returns a HyperdriveOriginUnion interface which you can cast to the specific types for more type safety.
Possible runtime types of the union are hyperdrive.HyperdriveOriginPublicDatabase, hyperdrive.HyperdriveOriginAccessProtectedDatabaseBehindCloudflareTunnel.
func (*HyperdriveOrigin) UnmarshalJSON ¶
func (r *HyperdriveOrigin) UnmarshalJSON(data []byte) (err error)
type HyperdriveOriginAccessProtectedDatabaseBehindCloudflareTunnel ¶
type HyperdriveOriginAccessProtectedDatabaseBehindCloudflareTunnel struct {
// The Client ID of the Access token to use when connecting to the origin database.
AccessClientID string `json:"access_client_id,required"`
// The name of your origin database.
Database string `json:"database,required"`
// The host (hostname or IP) of your origin database.
Host string `json:"host,required"`
// Specifies the URL scheme used to connect to your origin database.
Scheme HyperdriveOriginAccessProtectedDatabaseBehindCloudflareTunnelScheme `json:"scheme,required"`
// The user of your origin database.
User string `json:"user,required"`
JSON hyperdriveOriginAccessProtectedDatabaseBehindCloudflareTunnelJSON `json:"-"`
}
func (*HyperdriveOriginAccessProtectedDatabaseBehindCloudflareTunnel) UnmarshalJSON ¶
func (r *HyperdriveOriginAccessProtectedDatabaseBehindCloudflareTunnel) UnmarshalJSON(data []byte) (err error)
type HyperdriveOriginAccessProtectedDatabaseBehindCloudflareTunnelParam ¶
type HyperdriveOriginAccessProtectedDatabaseBehindCloudflareTunnelParam struct {
// The Client ID of the Access token to use when connecting to the origin database.
AccessClientID param.Field[string] `json:"access_client_id,required"`
// The Client Secret of the Access token to use when connecting to the origin
// database. This value is write-only and never returned by the API.
AccessClientSecret param.Field[string] `json:"access_client_secret,required"`
// The name of your origin database.
Database param.Field[string] `json:"database,required"`
// The host (hostname or IP) of your origin database.
Host param.Field[string] `json:"host,required"`
// The password required to access your origin database. This value is write-only
// and never returned by the API.
Password param.Field[string] `json:"password,required"`
// Specifies the URL scheme used to connect to your origin database.
Scheme param.Field[HyperdriveOriginAccessProtectedDatabaseBehindCloudflareTunnelScheme] `json:"scheme,required"`
// The user of your origin database.
User param.Field[string] `json:"user,required"`
}
func (HyperdriveOriginAccessProtectedDatabaseBehindCloudflareTunnelParam) MarshalJSON ¶
func (r HyperdriveOriginAccessProtectedDatabaseBehindCloudflareTunnelParam) MarshalJSON() (data []byte, err error)
type HyperdriveOriginAccessProtectedDatabaseBehindCloudflareTunnelScheme ¶
type HyperdriveOriginAccessProtectedDatabaseBehindCloudflareTunnelScheme string
Specifies the URL scheme used to connect to your origin database.
const ( HyperdriveOriginAccessProtectedDatabaseBehindCloudflareTunnelSchemePostgres HyperdriveOriginAccessProtectedDatabaseBehindCloudflareTunnelScheme = "postgres" HyperdriveOriginAccessProtectedDatabaseBehindCloudflareTunnelSchemePostgresql HyperdriveOriginAccessProtectedDatabaseBehindCloudflareTunnelScheme = "postgresql" )
func (HyperdriveOriginAccessProtectedDatabaseBehindCloudflareTunnelScheme) IsKnown ¶
func (r HyperdriveOriginAccessProtectedDatabaseBehindCloudflareTunnelScheme) IsKnown() bool
type HyperdriveOriginParam ¶
type HyperdriveOriginParam struct {
// The name of your origin database.
Database param.Field[string] `json:"database,required"`
// The host (hostname or IP) of your origin database.
Host param.Field[string] `json:"host,required"`
// The password required to access your origin database. This value is write-only
// and never returned by the API.
Password param.Field[string] `json:"password,required"`
// Specifies the URL scheme used to connect to your origin database.
Scheme param.Field[HyperdriveOriginScheme] `json:"scheme,required"`
// The user of your origin database.
User param.Field[string] `json:"user,required"`
// The Client ID of the Access token to use when connecting to the origin database.
AccessClientID param.Field[string] `json:"access_client_id"`
// The Client Secret of the Access token to use when connecting to the origin
// database. This value is write-only and never returned by the API.
AccessClientSecret param.Field[string] `json:"access_client_secret"`
// The port (default: 5432 for Postgres) of your origin database.
Port param.Field[int64] `json:"port"`
}
func (HyperdriveOriginParam) MarshalJSON ¶
func (r HyperdriveOriginParam) MarshalJSON() (data []byte, err error)
type HyperdriveOriginPublicDatabase ¶
type HyperdriveOriginPublicDatabase struct {
// The name of your origin database.
Database string `json:"database,required"`
// The host (hostname or IP) of your origin database.
Host string `json:"host,required"`
// The port (default: 5432 for Postgres) of your origin database.
Port int64 `json:"port,required"`
// Specifies the URL scheme used to connect to your origin database.
Scheme HyperdriveOriginPublicDatabaseScheme `json:"scheme,required"`
// The user of your origin database.
User string `json:"user,required"`
JSON hyperdriveOriginPublicDatabaseJSON `json:"-"`
}
func (*HyperdriveOriginPublicDatabase) UnmarshalJSON ¶
func (r *HyperdriveOriginPublicDatabase) UnmarshalJSON(data []byte) (err error)
type HyperdriveOriginPublicDatabaseParam ¶
type HyperdriveOriginPublicDatabaseParam struct {
// The name of your origin database.
Database param.Field[string] `json:"database,required"`
// The host (hostname or IP) of your origin database.
Host param.Field[string] `json:"host,required"`
// The password required to access your origin database. This value is write-only
// and never returned by the API.
Password param.Field[string] `json:"password,required"`
// The port (default: 5432 for Postgres) of your origin database.
Port param.Field[int64] `json:"port,required"`
// Specifies the URL scheme used to connect to your origin database.
Scheme param.Field[HyperdriveOriginPublicDatabaseScheme] `json:"scheme,required"`
// The user of your origin database.
User param.Field[string] `json:"user,required"`
}
func (HyperdriveOriginPublicDatabaseParam) MarshalJSON ¶
func (r HyperdriveOriginPublicDatabaseParam) MarshalJSON() (data []byte, err error)
type HyperdriveOriginPublicDatabaseScheme ¶
type HyperdriveOriginPublicDatabaseScheme string
Specifies the URL scheme used to connect to your origin database.
const ( HyperdriveOriginPublicDatabaseSchemePostgres HyperdriveOriginPublicDatabaseScheme = "postgres" HyperdriveOriginPublicDatabaseSchemePostgresql HyperdriveOriginPublicDatabaseScheme = "postgresql" )
func (HyperdriveOriginPublicDatabaseScheme) IsKnown ¶
func (r HyperdriveOriginPublicDatabaseScheme) IsKnown() bool
type HyperdriveOriginScheme ¶
type HyperdriveOriginScheme string
Specifies the URL scheme used to connect to your origin database.
const ( HyperdriveOriginSchemePostgres HyperdriveOriginScheme = "postgres" HyperdriveOriginSchemePostgresql HyperdriveOriginScheme = "postgresql" )
func (HyperdriveOriginScheme) IsKnown ¶
func (r HyperdriveOriginScheme) IsKnown() bool
type HyperdriveOriginUnion ¶
type HyperdriveOriginUnion interface {
// contains filtered or unexported methods
}
Union satisfied by hyperdrive.HyperdriveOriginPublicDatabase or hyperdrive.HyperdriveOriginAccessProtectedDatabaseBehindCloudflareTunnel.
type HyperdriveOriginUnionParam ¶
type HyperdriveOriginUnionParam interface {
// contains filtered or unexported methods
}
Satisfied by hyperdrive.HyperdriveOriginPublicDatabaseParam, hyperdrive.HyperdriveOriginAccessProtectedDatabaseBehindCloudflareTunnelParam, HyperdriveOriginParam.
type HyperdriveParam ¶
type HyperdriveParam struct {
Name param.Field[string] `json:"name,required"`
Origin param.Field[HyperdriveOriginUnionParam] `json:"origin,required"`
Caching param.Field[HyperdriveCachingUnionParam] `json:"caching"`
}
func (HyperdriveParam) MarshalJSON ¶
func (r HyperdriveParam) MarshalJSON() (data []byte, err error)
type HyperdriveService ¶
type HyperdriveService struct {
Options []option.RequestOption
Configs *ConfigService
}
HyperdriveService contains methods and other services that help with interacting with the cloudflare API.
Note, unlike clients, this service does not read variables from the environment automatically. You should not instantiate this service directly, and instead use the NewHyperdriveService method instead.
func NewHyperdriveService ¶
func NewHyperdriveService(opts ...option.RequestOption) (r *HyperdriveService)
NewHyperdriveService generates a new service that applies the given options to each request. These options are applied after the parent client's options (if there is one), and before any request-specific options.
type MemberPoliciesAccess ¶
type MemberPoliciesAccess = shared.MemberPoliciesAccess
Allow or deny operations against the resources.
This is an alias to an internal type.
type MemberPoliciesPermissionGroup ¶
type MemberPoliciesPermissionGroup = shared.MemberPoliciesPermissionGroup
A named group of permissions that map to a group of operations against resources.
This is an alias to an internal type.
type MemberPoliciesPermissionGroupsMeta ¶
type MemberPoliciesPermissionGroupsMeta = shared.MemberPoliciesPermissionGroupsMeta
Attributes associated to the permission group.
This is an alias to an internal type.
type MemberPoliciesResourceGroup ¶
type MemberPoliciesResourceGroup = shared.MemberPoliciesResourceGroup
A group of scoped resources.
This is an alias to an internal type.
type MemberPoliciesResourceGroupsMeta ¶
type MemberPoliciesResourceGroupsMeta = shared.MemberPoliciesResourceGroupsMeta
Attributes associated to the resource group.
This is an alias to an internal type.
type MemberPoliciesResourceGroupsScope ¶
type MemberPoliciesResourceGroupsScope = shared.MemberPoliciesResourceGroupsScope
A scope is a combination of scope objects which provides additional context.
This is an alias to an internal type.
type MemberPoliciesResourceGroupsScopeObject ¶
type MemberPoliciesResourceGroupsScopeObject = shared.MemberPoliciesResourceGroupsScopeObject
A scope object represents any resource that can have actions applied against invite.
This is an alias to an internal type.
type MemberStatus ¶
type MemberStatus = shared.MemberStatus
A member's status in the account.
This is an alias to an internal type.
type MemberUser ¶
type MemberUser = shared.MemberUser
Details of the user associated to the membership.
This is an alias to an internal type.
type PermissionGrant ¶
type PermissionGrant = shared.PermissionGrant
This is an alias to an internal type.
type PermissionGrantParam ¶
type PermissionGrantParam = shared.PermissionGrantParam
This is an alias to an internal type.
type RatePlanID ¶ added in v4.1.0
type RatePlanID = shared.RatePlanID
The ID of the rate plan.
This is an alias to an internal type.
type RatePlanParam ¶
type RatePlanParam = shared.RatePlanParam
The rate plan applied to the subscription.
This is an alias to an internal type.
type RolePermissions ¶
type RolePermissions = shared.RolePermissions
This is an alias to an internal type.
type RolePermissionsParam ¶
type RolePermissionsParam = shared.RolePermissionsParam
This is an alias to an internal type.
type SortDirection ¶
type SortDirection = shared.SortDirection
Direction to order DNS records in.
This is an alias to an internal type.
type SubscriptionFrequency ¶
type SubscriptionFrequency = shared.SubscriptionFrequency
How often the subscription is renewed automatically.
This is an alias to an internal type.
type SubscriptionParam ¶
type SubscriptionParam = shared.SubscriptionParam
This is an alias to an internal type.
type SubscriptionState ¶
type SubscriptionState = shared.SubscriptionState
The state that the subscription is in.
This is an alias to an internal type.
type TokenCondition ¶
type TokenCondition = shared.TokenCondition
This is an alias to an internal type.
type TokenConditionCIDRList ¶
type TokenConditionCIDRList = shared.TokenConditionCIDRList
IPv4/IPv6 CIDR.
This is an alias to an internal type.
type TokenConditionCIDRListParam ¶
type TokenConditionCIDRListParam = shared.TokenConditionCIDRListParam
IPv4/IPv6 CIDR.
This is an alias to an internal type.
type TokenConditionParam ¶
type TokenConditionParam = shared.TokenConditionParam
This is an alias to an internal type.
type TokenConditionRequestIP ¶
type TokenConditionRequestIP = shared.TokenConditionRequestIP
Client IP restrictions.
This is an alias to an internal type.
type TokenConditionRequestIPParam ¶
type TokenConditionRequestIPParam = shared.TokenConditionRequestIPParam
Client IP restrictions.
This is an alias to an internal type.
type TokenPolicyEffect ¶
type TokenPolicyEffect = shared.TokenPolicyEffect
Allow or deny operations against the resources.
This is an alias to an internal type.
type TokenPolicyParam ¶
type TokenPolicyParam = shared.TokenPolicyParam
This is an alias to an internal type.
type TokenPolicyPermissionGroup ¶
type TokenPolicyPermissionGroup = shared.TokenPolicyPermissionGroup
A named group of permissions that map to a group of operations against resources.
This is an alias to an internal type.
type TokenPolicyPermissionGroupParam ¶
type TokenPolicyPermissionGroupParam = shared.TokenPolicyPermissionGroupParam
A named group of permissions that map to a group of operations against resources.
This is an alias to an internal type.
type TokenPolicyPermissionGroupsMeta ¶
type TokenPolicyPermissionGroupsMeta = shared.TokenPolicyPermissionGroupsMeta
Attributes associated to the permission group.
This is an alias to an internal type.
type TokenPolicyPermissionGroupsMetaParam ¶
type TokenPolicyPermissionGroupsMetaParam = shared.TokenPolicyPermissionGroupsMetaParam
Attributes associated to the permission group.
This is an alias to an internal type.
type TokenStatus ¶
type TokenStatus = shared.TokenStatus
Status of the token.
This is an alias to an internal type.
type TokenValue ¶
type TokenValue = shared.TokenValue
The token value.
This is an alias to an internal type.