connectivity

package
v7.3.0 Latest Latest
Warning

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

Go to latest
Published: May 20, 2026 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const AuditLogActorTypeAdmin = shared.AuditLogActorTypeAdmin

This is an alias to an internal value.

View Source
const AuditLogActorTypeCloudflare = shared.AuditLogActorTypeCloudflare

This is an alias to an internal value.

View Source
const AuditLogActorTypeUser = shared.AuditLogActorTypeUser

This is an alias to an internal value.

View Source
const CertificateCADigicert = shared.CertificateCADigicert

This is an alias to an internal value.

View Source
const CertificateCAGoogle = shared.CertificateCAGoogle

This is an alias to an internal value.

View Source
const CertificateCALetsEncrypt = shared.CertificateCALetsEncrypt

This is an alias to an internal value.

View Source
const CertificateCASSLCom = shared.CertificateCASSLCom

This is an alias to an internal value.

View Source
const CertificateRequestTypeKeylessCertificate = shared.CertificateRequestTypeKeylessCertificate

This is an alias to an internal value.

View Source
const CertificateRequestTypeOriginECC = shared.CertificateRequestTypeOriginECC

This is an alias to an internal value.

View Source
const CertificateRequestTypeOriginRSA = shared.CertificateRequestTypeOriginRSA

This is an alias to an internal value.

View Source
const CloudflareTunnelConfigSrcCloudflare = shared.CloudflareTunnelConfigSrcCloudflare

This is an alias to an internal value.

View Source
const CloudflareTunnelConfigSrcLocal = shared.CloudflareTunnelConfigSrcLocal

This is an alias to an internal value.

View Source
const CloudflareTunnelStatusDegraded = shared.CloudflareTunnelStatusDegraded

This is an alias to an internal value.

View Source
const CloudflareTunnelStatusDown = shared.CloudflareTunnelStatusDown

This is an alias to an internal value.

View Source
const CloudflareTunnelStatusHealthy = shared.CloudflareTunnelStatusHealthy

This is an alias to an internal value.

View Source
const CloudflareTunnelStatusInactive = shared.CloudflareTunnelStatusInactive

This is an alias to an internal value.

View Source
const CloudflareTunnelTunTypeCNI = shared.CloudflareTunnelTunTypeCNI

This is an alias to an internal value.

View Source
const CloudflareTunnelTunTypeCfdTunnel = shared.CloudflareTunnelTunTypeCfdTunnel

This is an alias to an internal value.

View Source
const CloudflareTunnelTunTypeGRE = shared.CloudflareTunnelTunTypeGRE

This is an alias to an internal value.

View Source
const CloudflareTunnelTunTypeIPSec = shared.CloudflareTunnelTunTypeIPSec

This is an alias to an internal value.

View Source
const CloudflareTunnelTunTypeMagic = shared.CloudflareTunnelTunTypeMagic

This is an alias to an internal value.

View Source
const CloudflareTunnelTunTypeWARP = shared.CloudflareTunnelTunTypeWARP

This is an alias to an internal value.

View Source
const CloudflareTunnelTunTypeWARPConnector = shared.CloudflareTunnelTunTypeWARPConnector

This is an alias to an internal value.

View Source
const MemberPoliciesAccessAllow = shared.MemberPoliciesAccessAllow

This is an alias to an internal value.

View Source
const MemberPoliciesAccessDeny = shared.MemberPoliciesAccessDeny

This is an alias to an internal value.

View Source
const MemberStatusAccepted = shared.MemberStatusAccepted

This is an alias to an internal value.

View Source
const MemberStatusPending = shared.MemberStatusPending

This is an alias to an internal value.

View Source
const RatePlanIDBusiness = shared.RatePlanIDBusiness

This is an alias to an internal value.

View Source
const RatePlanIDEnterprise = shared.RatePlanIDEnterprise

This is an alias to an internal value.

View Source
const RatePlanIDFree = shared.RatePlanIDFree

This is an alias to an internal value.

View Source
const RatePlanIDLite = shared.RatePlanIDLite

This is an alias to an internal value.

View Source
const RatePlanIDPartnersBusiness = shared.RatePlanIDPartnersBusiness

This is an alias to an internal value.

View Source
const RatePlanIDPartnersEnterprise = shared.RatePlanIDPartnersEnterprise

This is an alias to an internal value.

View Source
const RatePlanIDPartnersFree = shared.RatePlanIDPartnersFree

This is an alias to an internal value.

View Source
const RatePlanIDPartnersPro = shared.RatePlanIDPartnersPro

This is an alias to an internal value.

View Source
const RatePlanIDPro = shared.RatePlanIDPro

This is an alias to an internal value.

View Source
const RatePlanIDProPlus = shared.RatePlanIDProPlus

This is an alias to an internal value.

View Source
const SortDirectionAsc = shared.SortDirectionAsc

This is an alias to an internal value.

View Source
const SortDirectionDesc = shared.SortDirectionDesc

This is an alias to an internal value.

View Source
const SubscriptionFrequencyMonthly = shared.SubscriptionFrequencyMonthly

This is an alias to an internal value.

View Source
const SubscriptionFrequencyQuarterly = shared.SubscriptionFrequencyQuarterly

This is an alias to an internal value.

View Source
const SubscriptionFrequencyWeekly = shared.SubscriptionFrequencyWeekly

This is an alias to an internal value.

View Source
const SubscriptionFrequencyYearly = shared.SubscriptionFrequencyYearly

This is an alias to an internal value.

View Source
const SubscriptionStateAwaitingPayment = shared.SubscriptionStateAwaitingPayment

This is an alias to an internal value.

View Source
const SubscriptionStateCancelled = shared.SubscriptionStateCancelled

This is an alias to an internal value.

View Source
const SubscriptionStateExpired = shared.SubscriptionStateExpired

This is an alias to an internal value.

View Source
const SubscriptionStateFailed = shared.SubscriptionStateFailed

This is an alias to an internal value.

View Source
const SubscriptionStatePaid = shared.SubscriptionStatePaid

This is an alias to an internal value.

View Source
const SubscriptionStateProvisioned = shared.SubscriptionStateProvisioned

This is an alias to an internal value.

View Source
const SubscriptionStateTrial = shared.SubscriptionStateTrial

This is an alias to an internal value.

View Source
const TokenPolicyEffectAllow = shared.TokenPolicyEffectAllow

This is an alias to an internal value.

View Source
const TokenPolicyEffectDeny = shared.TokenPolicyEffectDeny

This is an alias to an internal value.

View Source
const TokenStatusActive = shared.TokenStatusActive

This is an alias to an internal value.

View Source
const TokenStatusDisabled = shared.TokenStatusDisabled

This is an alias to an internal value.

View Source
const TokenStatusExpired = shared.TokenStatusExpired

This is an alias to an internal value.

Variables

This section is empty.

Functions

This section is empty.

Types

type ASN

type ASN = shared.ASN

This is an alias to an internal type.

type ASNParam

type ASNParam = shared.ASNParam

This is an alias to an internal type.

type AuditLog

type AuditLog = shared.AuditLog

This is an alias to an internal type.

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 CloudflareTunnelConfigSrc

type CloudflareTunnelConfigSrc = shared.CloudflareTunnelConfigSrc

Indicates if this is a locally or remotely configured tunnel. If `local`, manage the tunnel using a YAML file on the origin machine. If `cloudflare`, manage the tunnel on the Zero Trust dashboard.

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 ConnectivityService

type ConnectivityService struct {
	Options   []option.RequestOption
	Directory *DirectoryService
}

ConnectivityService 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 NewConnectivityService method instead.

func NewConnectivityService

func NewConnectivityService(opts ...option.RequestOption) (r *ConnectivityService)

NewConnectivityService 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 DirectoryService

type DirectoryService struct {
	Options  []option.RequestOption
	Services *DirectoryServiceService
}

DirectoryService 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 NewDirectoryService method instead.

func NewDirectoryService

func NewDirectoryService(opts ...option.RequestOption) (r *DirectoryService)

NewDirectoryService 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 DirectoryServiceDeleteParams

type DirectoryServiceDeleteParams struct {
	AccountID param.Field[string] `path:"account_id" api:"required"`
}

type DirectoryServiceGetParams

type DirectoryServiceGetParams struct {
	AccountID param.Field[string] `path:"account_id" api:"required"`
}

type DirectoryServiceGetResponse

type DirectoryServiceGetResponse struct {
	// This field can have the runtime type of
	// [DirectoryServiceGetResponseInfraHTTPServiceConfigHost],
	// [DirectoryServiceGetResponseInfraTCPServiceConfigHost].
	Host        interface{}                            `json:"host" api:"required"`
	Name        string                                 `json:"name" api:"required"`
	Type        DirectoryServiceGetResponseType        `json:"type" api:"required"`
	AppProtocol DirectoryServiceGetResponseAppProtocol `json:"app_protocol" api:"nullable"`
	CreatedAt   time.Time                              `json:"created_at" format:"date-time"`
	HTTPPort    int64                                  `json:"http_port" api:"nullable"`
	HTTPSPort   int64                                  `json:"https_port" api:"nullable"`
	ServiceID   string                                 `json:"service_id" format:"uuid"`
	TCPPort     int64                                  `json:"tcp_port" api:"nullable"`
	// This field can have the runtime type of
	// [DirectoryServiceGetResponseInfraHTTPServiceConfigTLSSettings],
	// [DirectoryServiceGetResponseInfraTCPServiceConfigTLSSettings].
	TLSSettings interface{}                     `json:"tls_settings"`
	UpdatedAt   time.Time                       `json:"updated_at" format:"date-time"`
	JSON        directoryServiceGetResponseJSON `json:"-"`
	// contains filtered or unexported fields
}

func (DirectoryServiceGetResponse) AsUnion

AsUnion returns a DirectoryServiceGetResponseUnion interface which you can cast to the specific types for more type safety.

Possible runtime types of the union are DirectoryServiceGetResponseInfraHTTPServiceConfig, DirectoryServiceGetResponseInfraTCPServiceConfig.

func (*DirectoryServiceGetResponse) UnmarshalJSON

func (r *DirectoryServiceGetResponse) UnmarshalJSON(data []byte) (err error)

type DirectoryServiceGetResponseAppProtocol

type DirectoryServiceGetResponseAppProtocol string
const (
	DirectoryServiceGetResponseAppProtocolPostgresql DirectoryServiceGetResponseAppProtocol = "postgresql"
	DirectoryServiceGetResponseAppProtocolMysql      DirectoryServiceGetResponseAppProtocol = "mysql"
)

func (DirectoryServiceGetResponseAppProtocol) IsKnown

type DirectoryServiceGetResponseEnvelope

type DirectoryServiceGetResponseEnvelope struct {
	Errors   []DirectoryServiceGetResponseEnvelopeErrors   `json:"errors" api:"required"`
	Messages []DirectoryServiceGetResponseEnvelopeMessages `json:"messages" api:"required"`
	// Whether the API call was successful.
	Success DirectoryServiceGetResponseEnvelopeSuccess `json:"success" api:"required"`
	Result  DirectoryServiceGetResponse                `json:"result"`
	JSON    directoryServiceGetResponseEnvelopeJSON    `json:"-"`
}

func (*DirectoryServiceGetResponseEnvelope) UnmarshalJSON

func (r *DirectoryServiceGetResponseEnvelope) UnmarshalJSON(data []byte) (err error)

type DirectoryServiceGetResponseEnvelopeErrors

type DirectoryServiceGetResponseEnvelopeErrors struct {
	Code             int64                                           `json:"code" api:"required"`
	Message          string                                          `json:"message" api:"required"`
	DocumentationURL string                                          `json:"documentation_url"`
	Source           DirectoryServiceGetResponseEnvelopeErrorsSource `json:"source"`
	JSON             directoryServiceGetResponseEnvelopeErrorsJSON   `json:"-"`
}

func (*DirectoryServiceGetResponseEnvelopeErrors) UnmarshalJSON

func (r *DirectoryServiceGetResponseEnvelopeErrors) UnmarshalJSON(data []byte) (err error)

type DirectoryServiceGetResponseEnvelopeErrorsSource

type DirectoryServiceGetResponseEnvelopeErrorsSource struct {
	Pointer string                                              `json:"pointer"`
	JSON    directoryServiceGetResponseEnvelopeErrorsSourceJSON `json:"-"`
}

func (*DirectoryServiceGetResponseEnvelopeErrorsSource) UnmarshalJSON

func (r *DirectoryServiceGetResponseEnvelopeErrorsSource) UnmarshalJSON(data []byte) (err error)

type DirectoryServiceGetResponseEnvelopeMessages

type DirectoryServiceGetResponseEnvelopeMessages struct {
	Code             int64                                             `json:"code" api:"required"`
	Message          string                                            `json:"message" api:"required"`
	DocumentationURL string                                            `json:"documentation_url"`
	Source           DirectoryServiceGetResponseEnvelopeMessagesSource `json:"source"`
	JSON             directoryServiceGetResponseEnvelopeMessagesJSON   `json:"-"`
}

func (*DirectoryServiceGetResponseEnvelopeMessages) UnmarshalJSON

func (r *DirectoryServiceGetResponseEnvelopeMessages) UnmarshalJSON(data []byte) (err error)

type DirectoryServiceGetResponseEnvelopeMessagesSource

type DirectoryServiceGetResponseEnvelopeMessagesSource struct {
	Pointer string                                                `json:"pointer"`
	JSON    directoryServiceGetResponseEnvelopeMessagesSourceJSON `json:"-"`
}

func (*DirectoryServiceGetResponseEnvelopeMessagesSource) UnmarshalJSON

func (r *DirectoryServiceGetResponseEnvelopeMessagesSource) UnmarshalJSON(data []byte) (err error)

type DirectoryServiceGetResponseEnvelopeSuccess

type DirectoryServiceGetResponseEnvelopeSuccess bool

Whether the API call was successful.

const (
	DirectoryServiceGetResponseEnvelopeSuccessTrue DirectoryServiceGetResponseEnvelopeSuccess = true
)

func (DirectoryServiceGetResponseEnvelopeSuccess) IsKnown

type DirectoryServiceGetResponseInfraHTTPServiceConfig

type DirectoryServiceGetResponseInfraHTTPServiceConfig struct {
	Host      DirectoryServiceGetResponseInfraHTTPServiceConfigHost `json:"host" api:"required"`
	Name      string                                                `json:"name" api:"required"`
	Type      DirectoryServiceGetResponseInfraHTTPServiceConfigType `json:"type" api:"required"`
	CreatedAt time.Time                                             `json:"created_at" format:"date-time"`
	HTTPPort  int64                                                 `json:"http_port" api:"nullable"`
	HTTPSPort int64                                                 `json:"https_port" api:"nullable"`
	ServiceID string                                                `json:"service_id" format:"uuid"`
	// TLS settings for a connectivity service.
	//
	// If omitted, the default mode (`verify_full`) is used.
	TLSSettings DirectoryServiceGetResponseInfraHTTPServiceConfigTLSSettings `json:"tls_settings" api:"nullable"`
	UpdatedAt   time.Time                                                    `json:"updated_at" format:"date-time"`
	JSON        directoryServiceGetResponseInfraHTTPServiceConfigJSON        `json:"-"`
}

func (*DirectoryServiceGetResponseInfraHTTPServiceConfig) UnmarshalJSON

func (r *DirectoryServiceGetResponseInfraHTTPServiceConfig) UnmarshalJSON(data []byte) (err error)

type DirectoryServiceGetResponseInfraHTTPServiceConfigHost

type DirectoryServiceGetResponseInfraHTTPServiceConfigHost struct {
	Hostname string `json:"hostname"`
	IPV4     string `json:"ipv4"`
	IPV6     string `json:"ipv6"`
	// This field can have the runtime type of
	// [DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraIPv4HostNetwork],
	// [DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraIPv6HostNetwork],
	// [DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraDualStackHostNetwork].
	Network interface{} `json:"network"`
	// This field can have the runtime type of
	// [DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraHostnameHostResolverNetwork].
	ResolverNetwork interface{}                                               `json:"resolver_network"`
	JSON            directoryServiceGetResponseInfraHTTPServiceConfigHostJSON `json:"-"`
	// contains filtered or unexported fields
}

func (*DirectoryServiceGetResponseInfraHTTPServiceConfigHost) UnmarshalJSON

func (r *DirectoryServiceGetResponseInfraHTTPServiceConfigHost) UnmarshalJSON(data []byte) (err error)

type DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraDualStackHost

type DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraDualStackHost struct {
	IPV4    string                                                                         `json:"ipv4" api:"required"`
	IPV6    string                                                                         `json:"ipv6" api:"required"`
	Network DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraDualStackHostNetwork `json:"network" api:"required"`
	JSON    directoryServiceGetResponseInfraHTTPServiceConfigHostInfraDualStackHostJSON    `json:"-"`
}

func (*DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraDualStackHost) UnmarshalJSON

type DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraDualStackHostNetwork

type DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraDualStackHostNetwork struct {
	TunnelID string                                                                             `json:"tunnel_id" api:"required" format:"uuid"`
	JSON     directoryServiceGetResponseInfraHTTPServiceConfigHostInfraDualStackHostNetworkJSON `json:"-"`
}

func (*DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraDualStackHostNetwork) UnmarshalJSON

type DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraHostnameHost

type DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraHostnameHost struct {
	Hostname        string                                                                                `json:"hostname" api:"required"`
	ResolverNetwork DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraHostnameHostResolverNetwork `json:"resolver_network" api:"required"`
	JSON            directoryServiceGetResponseInfraHTTPServiceConfigHostInfraHostnameHostJSON            `json:"-"`
}

func (*DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraHostnameHost) UnmarshalJSON

type DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraHostnameHostResolverNetwork

type DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraHostnameHostResolverNetwork struct {
	TunnelID    string                                                                                    `json:"tunnel_id" api:"required" format:"uuid"`
	ResolverIPs []string                                                                                  `json:"resolver_ips" api:"nullable"`
	JSON        directoryServiceGetResponseInfraHTTPServiceConfigHostInfraHostnameHostResolverNetworkJSON `json:"-"`
}

func (*DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraHostnameHostResolverNetwork) UnmarshalJSON

type DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraIPv4Host

type DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraIPv4Host struct {
	IPV4    string                                                                    `json:"ipv4" api:"required"`
	Network DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraIPv4HostNetwork `json:"network" api:"required"`
	JSON    directoryServiceGetResponseInfraHTTPServiceConfigHostInfraIPv4HostJSON    `json:"-"`
}

func (*DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraIPv4Host) UnmarshalJSON

type DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraIPv4HostNetwork

type DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraIPv4HostNetwork struct {
	TunnelID string                                                                        `json:"tunnel_id" api:"required" format:"uuid"`
	JSON     directoryServiceGetResponseInfraHTTPServiceConfigHostInfraIPv4HostNetworkJSON `json:"-"`
}

func (*DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraIPv4HostNetwork) UnmarshalJSON

type DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraIPv6Host

type DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraIPv6Host struct {
	IPV6    string                                                                    `json:"ipv6" api:"required"`
	Network DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraIPv6HostNetwork `json:"network" api:"required"`
	JSON    directoryServiceGetResponseInfraHTTPServiceConfigHostInfraIPv6HostJSON    `json:"-"`
}

func (*DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraIPv6Host) UnmarshalJSON

type DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraIPv6HostNetwork

type DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraIPv6HostNetwork struct {
	TunnelID string                                                                        `json:"tunnel_id" api:"required" format:"uuid"`
	JSON     directoryServiceGetResponseInfraHTTPServiceConfigHostInfraIPv6HostNetworkJSON `json:"-"`
}

func (*DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraIPv6HostNetwork) UnmarshalJSON

type DirectoryServiceGetResponseInfraHTTPServiceConfigTLSSettings

type DirectoryServiceGetResponseInfraHTTPServiceConfigTLSSettings struct {
	// TLS certificate verification mode for the connection to the origin.
	//
	// - `"verify_full"` — verify certificate chain and hostname (default)
	// - `"verify_ca"` — verify certificate chain only, skip hostname check
	// - `"disabled"` — do not verify the server certificate at all
	CERTVerificationMode string                                                           `json:"cert_verification_mode" api:"required"`
	JSON                 directoryServiceGetResponseInfraHTTPServiceConfigTLSSettingsJSON `json:"-"`
}

TLS settings for a connectivity service.

If omitted, the default mode (`verify_full`) is used.

func (*DirectoryServiceGetResponseInfraHTTPServiceConfigTLSSettings) UnmarshalJSON

type DirectoryServiceGetResponseInfraHTTPServiceConfigType

type DirectoryServiceGetResponseInfraHTTPServiceConfigType string
const (
	DirectoryServiceGetResponseInfraHTTPServiceConfigTypeTCP  DirectoryServiceGetResponseInfraHTTPServiceConfigType = "tcp"
	DirectoryServiceGetResponseInfraHTTPServiceConfigTypeHTTP DirectoryServiceGetResponseInfraHTTPServiceConfigType = "http"
)

func (DirectoryServiceGetResponseInfraHTTPServiceConfigType) IsKnown

type DirectoryServiceGetResponseInfraTCPServiceConfig

type DirectoryServiceGetResponseInfraTCPServiceConfig struct {
	Host        DirectoryServiceGetResponseInfraTCPServiceConfigHost        `json:"host" api:"required"`
	Name        string                                                      `json:"name" api:"required"`
	Type        DirectoryServiceGetResponseInfraTCPServiceConfigType        `json:"type" api:"required"`
	AppProtocol DirectoryServiceGetResponseInfraTCPServiceConfigAppProtocol `json:"app_protocol" api:"nullable"`
	CreatedAt   time.Time                                                   `json:"created_at" format:"date-time"`
	ServiceID   string                                                      `json:"service_id" format:"uuid"`
	TCPPort     int64                                                       `json:"tcp_port" api:"nullable"`
	// TLS settings for a connectivity service.
	//
	// If omitted, the default mode (`verify_full`) is used.
	TLSSettings DirectoryServiceGetResponseInfraTCPServiceConfigTLSSettings `json:"tls_settings" api:"nullable"`
	UpdatedAt   time.Time                                                   `json:"updated_at" format:"date-time"`
	JSON        directoryServiceGetResponseInfraTCPServiceConfigJSON        `json:"-"`
}

func (*DirectoryServiceGetResponseInfraTCPServiceConfig) UnmarshalJSON

func (r *DirectoryServiceGetResponseInfraTCPServiceConfig) UnmarshalJSON(data []byte) (err error)

type DirectoryServiceGetResponseInfraTCPServiceConfigAppProtocol

type DirectoryServiceGetResponseInfraTCPServiceConfigAppProtocol string
const (
	DirectoryServiceGetResponseInfraTCPServiceConfigAppProtocolPostgresql DirectoryServiceGetResponseInfraTCPServiceConfigAppProtocol = "postgresql"
	DirectoryServiceGetResponseInfraTCPServiceConfigAppProtocolMysql      DirectoryServiceGetResponseInfraTCPServiceConfigAppProtocol = "mysql"
)

func (DirectoryServiceGetResponseInfraTCPServiceConfigAppProtocol) IsKnown

type DirectoryServiceGetResponseInfraTCPServiceConfigHost

type DirectoryServiceGetResponseInfraTCPServiceConfigHost struct {
	Hostname string `json:"hostname"`
	IPV4     string `json:"ipv4"`
	IPV6     string `json:"ipv6"`
	// This field can have the runtime type of
	// [DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraIPv4HostNetwork],
	// [DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraIPv6HostNetwork],
	// [DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraDualStackHostNetwork].
	Network interface{} `json:"network"`
	// This field can have the runtime type of
	// [DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraHostnameHostResolverNetwork].
	ResolverNetwork interface{}                                              `json:"resolver_network"`
	JSON            directoryServiceGetResponseInfraTCPServiceConfigHostJSON `json:"-"`
	// contains filtered or unexported fields
}

func (*DirectoryServiceGetResponseInfraTCPServiceConfigHost) UnmarshalJSON

func (r *DirectoryServiceGetResponseInfraTCPServiceConfigHost) UnmarshalJSON(data []byte) (err error)

type DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraDualStackHost

type DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraDualStackHost struct {
	IPV4    string                                                                        `json:"ipv4" api:"required"`
	IPV6    string                                                                        `json:"ipv6" api:"required"`
	Network DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraDualStackHostNetwork `json:"network" api:"required"`
	JSON    directoryServiceGetResponseInfraTCPServiceConfigHostInfraDualStackHostJSON    `json:"-"`
}

func (*DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraDualStackHost) UnmarshalJSON

type DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraDualStackHostNetwork

type DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraDualStackHostNetwork struct {
	TunnelID string                                                                            `json:"tunnel_id" api:"required" format:"uuid"`
	JSON     directoryServiceGetResponseInfraTCPServiceConfigHostInfraDualStackHostNetworkJSON `json:"-"`
}

func (*DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraDualStackHostNetwork) UnmarshalJSON

type DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraHostnameHost

type DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraHostnameHost struct {
	Hostname        string                                                                               `json:"hostname" api:"required"`
	ResolverNetwork DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraHostnameHostResolverNetwork `json:"resolver_network" api:"required"`
	JSON            directoryServiceGetResponseInfraTCPServiceConfigHostInfraHostnameHostJSON            `json:"-"`
}

func (*DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraHostnameHost) UnmarshalJSON

type DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraHostnameHostResolverNetwork

type DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraHostnameHostResolverNetwork struct {
	TunnelID    string                                                                                   `json:"tunnel_id" api:"required" format:"uuid"`
	ResolverIPs []string                                                                                 `json:"resolver_ips" api:"nullable"`
	JSON        directoryServiceGetResponseInfraTCPServiceConfigHostInfraHostnameHostResolverNetworkJSON `json:"-"`
}

func (*DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraHostnameHostResolverNetwork) UnmarshalJSON

type DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraIPv4Host

type DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraIPv4Host struct {
	IPV4    string                                                                   `json:"ipv4" api:"required"`
	Network DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraIPv4HostNetwork `json:"network" api:"required"`
	JSON    directoryServiceGetResponseInfraTCPServiceConfigHostInfraIPv4HostJSON    `json:"-"`
}

func (*DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraIPv4Host) UnmarshalJSON

type DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraIPv4HostNetwork

type DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraIPv4HostNetwork struct {
	TunnelID string                                                                       `json:"tunnel_id" api:"required" format:"uuid"`
	JSON     directoryServiceGetResponseInfraTCPServiceConfigHostInfraIPv4HostNetworkJSON `json:"-"`
}

func (*DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraIPv4HostNetwork) UnmarshalJSON

type DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraIPv6Host

type DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraIPv6Host struct {
	IPV6    string                                                                   `json:"ipv6" api:"required"`
	Network DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraIPv6HostNetwork `json:"network" api:"required"`
	JSON    directoryServiceGetResponseInfraTCPServiceConfigHostInfraIPv6HostJSON    `json:"-"`
}

func (*DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraIPv6Host) UnmarshalJSON

type DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraIPv6HostNetwork

type DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraIPv6HostNetwork struct {
	TunnelID string                                                                       `json:"tunnel_id" api:"required" format:"uuid"`
	JSON     directoryServiceGetResponseInfraTCPServiceConfigHostInfraIPv6HostNetworkJSON `json:"-"`
}

func (*DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraIPv6HostNetwork) UnmarshalJSON

type DirectoryServiceGetResponseInfraTCPServiceConfigTLSSettings

type DirectoryServiceGetResponseInfraTCPServiceConfigTLSSettings struct {
	// TLS certificate verification mode for the connection to the origin.
	//
	// - `"verify_full"` — verify certificate chain and hostname (default)
	// - `"verify_ca"` — verify certificate chain only, skip hostname check
	// - `"disabled"` — do not verify the server certificate at all
	CERTVerificationMode string                                                          `json:"cert_verification_mode" api:"required"`
	JSON                 directoryServiceGetResponseInfraTCPServiceConfigTLSSettingsJSON `json:"-"`
}

TLS settings for a connectivity service.

If omitted, the default mode (`verify_full`) is used.

func (*DirectoryServiceGetResponseInfraTCPServiceConfigTLSSettings) UnmarshalJSON

type DirectoryServiceGetResponseInfraTCPServiceConfigType

type DirectoryServiceGetResponseInfraTCPServiceConfigType string
const (
	DirectoryServiceGetResponseInfraTCPServiceConfigTypeTCP  DirectoryServiceGetResponseInfraTCPServiceConfigType = "tcp"
	DirectoryServiceGetResponseInfraTCPServiceConfigTypeHTTP DirectoryServiceGetResponseInfraTCPServiceConfigType = "http"
)

func (DirectoryServiceGetResponseInfraTCPServiceConfigType) IsKnown

type DirectoryServiceGetResponseType

type DirectoryServiceGetResponseType string
const (
	DirectoryServiceGetResponseTypeTCP  DirectoryServiceGetResponseType = "tcp"
	DirectoryServiceGetResponseTypeHTTP DirectoryServiceGetResponseType = "http"
)

func (DirectoryServiceGetResponseType) IsKnown

type DirectoryServiceGetResponseUnion

type DirectoryServiceGetResponseUnion interface {
	// contains filtered or unexported methods
}

Union satisfied by DirectoryServiceGetResponseInfraHTTPServiceConfig or DirectoryServiceGetResponseInfraTCPServiceConfig.

type DirectoryServiceListParams

type DirectoryServiceListParams struct {
	// Account identifier
	AccountID param.Field[string] `path:"account_id" api:"required"`
	// Current page in the response
	Page param.Field[int64] `query:"page"`
	// Max amount of entries returned per page
	PerPage param.Field[int64]                          `query:"per_page"`
	Type    param.Field[DirectoryServiceListParamsType] `query:"type"`
}

func (DirectoryServiceListParams) URLQuery

func (r DirectoryServiceListParams) URLQuery() (v url.Values)

URLQuery serializes DirectoryServiceListParams's query parameters as `url.Values`.

type DirectoryServiceListParamsType

type DirectoryServiceListParamsType string
const (
	DirectoryServiceListParamsTypeTCP  DirectoryServiceListParamsType = "tcp"
	DirectoryServiceListParamsTypeHTTP DirectoryServiceListParamsType = "http"
)

func (DirectoryServiceListParamsType) IsKnown

type DirectoryServiceListResponse

type DirectoryServiceListResponse struct {
	// This field can have the runtime type of
	// [DirectoryServiceListResponseInfraHTTPServiceConfigHost],
	// [DirectoryServiceListResponseInfraTCPServiceConfigHost].
	Host        interface{}                             `json:"host" api:"required"`
	Name        string                                  `json:"name" api:"required"`
	Type        DirectoryServiceListResponseType        `json:"type" api:"required"`
	AppProtocol DirectoryServiceListResponseAppProtocol `json:"app_protocol" api:"nullable"`
	CreatedAt   time.Time                               `json:"created_at" format:"date-time"`
	HTTPPort    int64                                   `json:"http_port" api:"nullable"`
	HTTPSPort   int64                                   `json:"https_port" api:"nullable"`
	ServiceID   string                                  `json:"service_id" format:"uuid"`
	TCPPort     int64                                   `json:"tcp_port" api:"nullable"`
	// This field can have the runtime type of
	// [DirectoryServiceListResponseInfraHTTPServiceConfigTLSSettings],
	// [DirectoryServiceListResponseInfraTCPServiceConfigTLSSettings].
	TLSSettings interface{}                      `json:"tls_settings"`
	UpdatedAt   time.Time                        `json:"updated_at" format:"date-time"`
	JSON        directoryServiceListResponseJSON `json:"-"`
	// contains filtered or unexported fields
}

func (DirectoryServiceListResponse) AsUnion

AsUnion returns a DirectoryServiceListResponseUnion interface which you can cast to the specific types for more type safety.

Possible runtime types of the union are DirectoryServiceListResponseInfraHTTPServiceConfig, DirectoryServiceListResponseInfraTCPServiceConfig.

func (*DirectoryServiceListResponse) UnmarshalJSON

func (r *DirectoryServiceListResponse) UnmarshalJSON(data []byte) (err error)

type DirectoryServiceListResponseAppProtocol

type DirectoryServiceListResponseAppProtocol string
const (
	DirectoryServiceListResponseAppProtocolPostgresql DirectoryServiceListResponseAppProtocol = "postgresql"
	DirectoryServiceListResponseAppProtocolMysql      DirectoryServiceListResponseAppProtocol = "mysql"
)

func (DirectoryServiceListResponseAppProtocol) IsKnown

type DirectoryServiceListResponseInfraHTTPServiceConfig

type DirectoryServiceListResponseInfraHTTPServiceConfig struct {
	Host      DirectoryServiceListResponseInfraHTTPServiceConfigHost `json:"host" api:"required"`
	Name      string                                                 `json:"name" api:"required"`
	Type      DirectoryServiceListResponseInfraHTTPServiceConfigType `json:"type" api:"required"`
	CreatedAt time.Time                                              `json:"created_at" format:"date-time"`
	HTTPPort  int64                                                  `json:"http_port" api:"nullable"`
	HTTPSPort int64                                                  `json:"https_port" api:"nullable"`
	ServiceID string                                                 `json:"service_id" format:"uuid"`
	// TLS settings for a connectivity service.
	//
	// If omitted, the default mode (`verify_full`) is used.
	TLSSettings DirectoryServiceListResponseInfraHTTPServiceConfigTLSSettings `json:"tls_settings" api:"nullable"`
	UpdatedAt   time.Time                                                     `json:"updated_at" format:"date-time"`
	JSON        directoryServiceListResponseInfraHTTPServiceConfigJSON        `json:"-"`
}

func (*DirectoryServiceListResponseInfraHTTPServiceConfig) UnmarshalJSON

func (r *DirectoryServiceListResponseInfraHTTPServiceConfig) UnmarshalJSON(data []byte) (err error)

type DirectoryServiceListResponseInfraHTTPServiceConfigHost

type DirectoryServiceListResponseInfraHTTPServiceConfigHost struct {
	Hostname string `json:"hostname"`
	IPV4     string `json:"ipv4"`
	IPV6     string `json:"ipv6"`
	// This field can have the runtime type of
	// [DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraIPv4HostNetwork],
	// [DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraIPv6HostNetwork],
	// [DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraDualStackHostNetwork].
	Network interface{} `json:"network"`
	// This field can have the runtime type of
	// [DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraHostnameHostResolverNetwork].
	ResolverNetwork interface{}                                                `json:"resolver_network"`
	JSON            directoryServiceListResponseInfraHTTPServiceConfigHostJSON `json:"-"`
	// contains filtered or unexported fields
}

func (*DirectoryServiceListResponseInfraHTTPServiceConfigHost) UnmarshalJSON

func (r *DirectoryServiceListResponseInfraHTTPServiceConfigHost) UnmarshalJSON(data []byte) (err error)

type DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraDualStackHost

type DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraDualStackHost struct {
	IPV4    string                                                                          `json:"ipv4" api:"required"`
	IPV6    string                                                                          `json:"ipv6" api:"required"`
	Network DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraDualStackHostNetwork `json:"network" api:"required"`
	JSON    directoryServiceListResponseInfraHTTPServiceConfigHostInfraDualStackHostJSON    `json:"-"`
}

func (*DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraDualStackHost) UnmarshalJSON

type DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraDualStackHostNetwork

type DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraDualStackHostNetwork struct {
	TunnelID string                                                                              `json:"tunnel_id" api:"required" format:"uuid"`
	JSON     directoryServiceListResponseInfraHTTPServiceConfigHostInfraDualStackHostNetworkJSON `json:"-"`
}

func (*DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraDualStackHostNetwork) UnmarshalJSON

type DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraHostnameHost

type DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraHostnameHost struct {
	Hostname        string                                                                                 `json:"hostname" api:"required"`
	ResolverNetwork DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraHostnameHostResolverNetwork `json:"resolver_network" api:"required"`
	JSON            directoryServiceListResponseInfraHTTPServiceConfigHostInfraHostnameHostJSON            `json:"-"`
}

func (*DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraHostnameHost) UnmarshalJSON

type DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraHostnameHostResolverNetwork

type DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraHostnameHostResolverNetwork struct {
	TunnelID    string                                                                                     `json:"tunnel_id" api:"required" format:"uuid"`
	ResolverIPs []string                                                                                   `json:"resolver_ips" api:"nullable"`
	JSON        directoryServiceListResponseInfraHTTPServiceConfigHostInfraHostnameHostResolverNetworkJSON `json:"-"`
}

func (*DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraHostnameHostResolverNetwork) UnmarshalJSON

type DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraIPv4Host

type DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraIPv4Host struct {
	IPV4    string                                                                     `json:"ipv4" api:"required"`
	Network DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraIPv4HostNetwork `json:"network" api:"required"`
	JSON    directoryServiceListResponseInfraHTTPServiceConfigHostInfraIPv4HostJSON    `json:"-"`
}

func (*DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraIPv4Host) UnmarshalJSON

type DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraIPv4HostNetwork

type DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraIPv4HostNetwork struct {
	TunnelID string                                                                         `json:"tunnel_id" api:"required" format:"uuid"`
	JSON     directoryServiceListResponseInfraHTTPServiceConfigHostInfraIPv4HostNetworkJSON `json:"-"`
}

func (*DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraIPv4HostNetwork) UnmarshalJSON

type DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraIPv6Host

type DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraIPv6Host struct {
	IPV6    string                                                                     `json:"ipv6" api:"required"`
	Network DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraIPv6HostNetwork `json:"network" api:"required"`
	JSON    directoryServiceListResponseInfraHTTPServiceConfigHostInfraIPv6HostJSON    `json:"-"`
}

func (*DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraIPv6Host) UnmarshalJSON

type DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraIPv6HostNetwork

type DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraIPv6HostNetwork struct {
	TunnelID string                                                                         `json:"tunnel_id" api:"required" format:"uuid"`
	JSON     directoryServiceListResponseInfraHTTPServiceConfigHostInfraIPv6HostNetworkJSON `json:"-"`
}

func (*DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraIPv6HostNetwork) UnmarshalJSON

type DirectoryServiceListResponseInfraHTTPServiceConfigTLSSettings

type DirectoryServiceListResponseInfraHTTPServiceConfigTLSSettings struct {
	// TLS certificate verification mode for the connection to the origin.
	//
	// - `"verify_full"` — verify certificate chain and hostname (default)
	// - `"verify_ca"` — verify certificate chain only, skip hostname check
	// - `"disabled"` — do not verify the server certificate at all
	CERTVerificationMode string                                                            `json:"cert_verification_mode" api:"required"`
	JSON                 directoryServiceListResponseInfraHTTPServiceConfigTLSSettingsJSON `json:"-"`
}

TLS settings for a connectivity service.

If omitted, the default mode (`verify_full`) is used.

func (*DirectoryServiceListResponseInfraHTTPServiceConfigTLSSettings) UnmarshalJSON

type DirectoryServiceListResponseInfraHTTPServiceConfigType

type DirectoryServiceListResponseInfraHTTPServiceConfigType string
const (
	DirectoryServiceListResponseInfraHTTPServiceConfigTypeTCP  DirectoryServiceListResponseInfraHTTPServiceConfigType = "tcp"
	DirectoryServiceListResponseInfraHTTPServiceConfigTypeHTTP DirectoryServiceListResponseInfraHTTPServiceConfigType = "http"
)

func (DirectoryServiceListResponseInfraHTTPServiceConfigType) IsKnown

type DirectoryServiceListResponseInfraTCPServiceConfig

type DirectoryServiceListResponseInfraTCPServiceConfig struct {
	Host        DirectoryServiceListResponseInfraTCPServiceConfigHost        `json:"host" api:"required"`
	Name        string                                                       `json:"name" api:"required"`
	Type        DirectoryServiceListResponseInfraTCPServiceConfigType        `json:"type" api:"required"`
	AppProtocol DirectoryServiceListResponseInfraTCPServiceConfigAppProtocol `json:"app_protocol" api:"nullable"`
	CreatedAt   time.Time                                                    `json:"created_at" format:"date-time"`
	ServiceID   string                                                       `json:"service_id" format:"uuid"`
	TCPPort     int64                                                        `json:"tcp_port" api:"nullable"`
	// TLS settings for a connectivity service.
	//
	// If omitted, the default mode (`verify_full`) is used.
	TLSSettings DirectoryServiceListResponseInfraTCPServiceConfigTLSSettings `json:"tls_settings" api:"nullable"`
	UpdatedAt   time.Time                                                    `json:"updated_at" format:"date-time"`
	JSON        directoryServiceListResponseInfraTCPServiceConfigJSON        `json:"-"`
}

func (*DirectoryServiceListResponseInfraTCPServiceConfig) UnmarshalJSON

func (r *DirectoryServiceListResponseInfraTCPServiceConfig) UnmarshalJSON(data []byte) (err error)

type DirectoryServiceListResponseInfraTCPServiceConfigAppProtocol

type DirectoryServiceListResponseInfraTCPServiceConfigAppProtocol string
const (
	DirectoryServiceListResponseInfraTCPServiceConfigAppProtocolPostgresql DirectoryServiceListResponseInfraTCPServiceConfigAppProtocol = "postgresql"
	DirectoryServiceListResponseInfraTCPServiceConfigAppProtocolMysql      DirectoryServiceListResponseInfraTCPServiceConfigAppProtocol = "mysql"
)

func (DirectoryServiceListResponseInfraTCPServiceConfigAppProtocol) IsKnown

type DirectoryServiceListResponseInfraTCPServiceConfigHost

type DirectoryServiceListResponseInfraTCPServiceConfigHost struct {
	Hostname string `json:"hostname"`
	IPV4     string `json:"ipv4"`
	IPV6     string `json:"ipv6"`
	// This field can have the runtime type of
	// [DirectoryServiceListResponseInfraTCPServiceConfigHostInfraIPv4HostNetwork],
	// [DirectoryServiceListResponseInfraTCPServiceConfigHostInfraIPv6HostNetwork],
	// [DirectoryServiceListResponseInfraTCPServiceConfigHostInfraDualStackHostNetwork].
	Network interface{} `json:"network"`
	// This field can have the runtime type of
	// [DirectoryServiceListResponseInfraTCPServiceConfigHostInfraHostnameHostResolverNetwork].
	ResolverNetwork interface{}                                               `json:"resolver_network"`
	JSON            directoryServiceListResponseInfraTCPServiceConfigHostJSON `json:"-"`
	// contains filtered or unexported fields
}

func (*DirectoryServiceListResponseInfraTCPServiceConfigHost) UnmarshalJSON

func (r *DirectoryServiceListResponseInfraTCPServiceConfigHost) UnmarshalJSON(data []byte) (err error)

type DirectoryServiceListResponseInfraTCPServiceConfigHostInfraDualStackHost

type DirectoryServiceListResponseInfraTCPServiceConfigHostInfraDualStackHost struct {
	IPV4    string                                                                         `json:"ipv4" api:"required"`
	IPV6    string                                                                         `json:"ipv6" api:"required"`
	Network DirectoryServiceListResponseInfraTCPServiceConfigHostInfraDualStackHostNetwork `json:"network" api:"required"`
	JSON    directoryServiceListResponseInfraTCPServiceConfigHostInfraDualStackHostJSON    `json:"-"`
}

func (*DirectoryServiceListResponseInfraTCPServiceConfigHostInfraDualStackHost) UnmarshalJSON

type DirectoryServiceListResponseInfraTCPServiceConfigHostInfraDualStackHostNetwork

type DirectoryServiceListResponseInfraTCPServiceConfigHostInfraDualStackHostNetwork struct {
	TunnelID string                                                                             `json:"tunnel_id" api:"required" format:"uuid"`
	JSON     directoryServiceListResponseInfraTCPServiceConfigHostInfraDualStackHostNetworkJSON `json:"-"`
}

func (*DirectoryServiceListResponseInfraTCPServiceConfigHostInfraDualStackHostNetwork) UnmarshalJSON

type DirectoryServiceListResponseInfraTCPServiceConfigHostInfraHostnameHost

type DirectoryServiceListResponseInfraTCPServiceConfigHostInfraHostnameHost struct {
	Hostname        string                                                                                `json:"hostname" api:"required"`
	ResolverNetwork DirectoryServiceListResponseInfraTCPServiceConfigHostInfraHostnameHostResolverNetwork `json:"resolver_network" api:"required"`
	JSON            directoryServiceListResponseInfraTCPServiceConfigHostInfraHostnameHostJSON            `json:"-"`
}

func (*DirectoryServiceListResponseInfraTCPServiceConfigHostInfraHostnameHost) UnmarshalJSON

type DirectoryServiceListResponseInfraTCPServiceConfigHostInfraHostnameHostResolverNetwork

type DirectoryServiceListResponseInfraTCPServiceConfigHostInfraHostnameHostResolverNetwork struct {
	TunnelID    string                                                                                    `json:"tunnel_id" api:"required" format:"uuid"`
	ResolverIPs []string                                                                                  `json:"resolver_ips" api:"nullable"`
	JSON        directoryServiceListResponseInfraTCPServiceConfigHostInfraHostnameHostResolverNetworkJSON `json:"-"`
}

func (*DirectoryServiceListResponseInfraTCPServiceConfigHostInfraHostnameHostResolverNetwork) UnmarshalJSON

type DirectoryServiceListResponseInfraTCPServiceConfigHostInfraIPv4Host

type DirectoryServiceListResponseInfraTCPServiceConfigHostInfraIPv4Host struct {
	IPV4    string                                                                    `json:"ipv4" api:"required"`
	Network DirectoryServiceListResponseInfraTCPServiceConfigHostInfraIPv4HostNetwork `json:"network" api:"required"`
	JSON    directoryServiceListResponseInfraTCPServiceConfigHostInfraIPv4HostJSON    `json:"-"`
}

func (*DirectoryServiceListResponseInfraTCPServiceConfigHostInfraIPv4Host) UnmarshalJSON

type DirectoryServiceListResponseInfraTCPServiceConfigHostInfraIPv4HostNetwork

type DirectoryServiceListResponseInfraTCPServiceConfigHostInfraIPv4HostNetwork struct {
	TunnelID string                                                                        `json:"tunnel_id" api:"required" format:"uuid"`
	JSON     directoryServiceListResponseInfraTCPServiceConfigHostInfraIPv4HostNetworkJSON `json:"-"`
}

func (*DirectoryServiceListResponseInfraTCPServiceConfigHostInfraIPv4HostNetwork) UnmarshalJSON

type DirectoryServiceListResponseInfraTCPServiceConfigHostInfraIPv6Host

type DirectoryServiceListResponseInfraTCPServiceConfigHostInfraIPv6Host struct {
	IPV6    string                                                                    `json:"ipv6" api:"required"`
	Network DirectoryServiceListResponseInfraTCPServiceConfigHostInfraIPv6HostNetwork `json:"network" api:"required"`
	JSON    directoryServiceListResponseInfraTCPServiceConfigHostInfraIPv6HostJSON    `json:"-"`
}

func (*DirectoryServiceListResponseInfraTCPServiceConfigHostInfraIPv6Host) UnmarshalJSON

type DirectoryServiceListResponseInfraTCPServiceConfigHostInfraIPv6HostNetwork

type DirectoryServiceListResponseInfraTCPServiceConfigHostInfraIPv6HostNetwork struct {
	TunnelID string                                                                        `json:"tunnel_id" api:"required" format:"uuid"`
	JSON     directoryServiceListResponseInfraTCPServiceConfigHostInfraIPv6HostNetworkJSON `json:"-"`
}

func (*DirectoryServiceListResponseInfraTCPServiceConfigHostInfraIPv6HostNetwork) UnmarshalJSON

type DirectoryServiceListResponseInfraTCPServiceConfigTLSSettings

type DirectoryServiceListResponseInfraTCPServiceConfigTLSSettings struct {
	// TLS certificate verification mode for the connection to the origin.
	//
	// - `"verify_full"` — verify certificate chain and hostname (default)
	// - `"verify_ca"` — verify certificate chain only, skip hostname check
	// - `"disabled"` — do not verify the server certificate at all
	CERTVerificationMode string                                                           `json:"cert_verification_mode" api:"required"`
	JSON                 directoryServiceListResponseInfraTCPServiceConfigTLSSettingsJSON `json:"-"`
}

TLS settings for a connectivity service.

If omitted, the default mode (`verify_full`) is used.

func (*DirectoryServiceListResponseInfraTCPServiceConfigTLSSettings) UnmarshalJSON

type DirectoryServiceListResponseInfraTCPServiceConfigType

type DirectoryServiceListResponseInfraTCPServiceConfigType string
const (
	DirectoryServiceListResponseInfraTCPServiceConfigTypeTCP  DirectoryServiceListResponseInfraTCPServiceConfigType = "tcp"
	DirectoryServiceListResponseInfraTCPServiceConfigTypeHTTP DirectoryServiceListResponseInfraTCPServiceConfigType = "http"
)

func (DirectoryServiceListResponseInfraTCPServiceConfigType) IsKnown

type DirectoryServiceListResponseType

type DirectoryServiceListResponseType string
const (
	DirectoryServiceListResponseTypeTCP  DirectoryServiceListResponseType = "tcp"
	DirectoryServiceListResponseTypeHTTP DirectoryServiceListResponseType = "http"
)

func (DirectoryServiceListResponseType) IsKnown

type DirectoryServiceListResponseUnion

type DirectoryServiceListResponseUnion interface {
	// contains filtered or unexported methods
}

Union satisfied by DirectoryServiceListResponseInfraHTTPServiceConfig or DirectoryServiceListResponseInfraTCPServiceConfig.

type DirectoryServiceNewParams

type DirectoryServiceNewParams struct {
	// Account identifier
	AccountID param.Field[string]                `path:"account_id" api:"required"`
	Body      DirectoryServiceNewParamsBodyUnion `json:"body" api:"required"`
}

func (DirectoryServiceNewParams) MarshalJSON

func (r DirectoryServiceNewParams) MarshalJSON() (data []byte, err error)

type DirectoryServiceNewParamsBody

type DirectoryServiceNewParamsBody struct {
	Host        param.Field[interface{}]                              `json:"host" api:"required"`
	Name        param.Field[string]                                   `json:"name" api:"required"`
	Type        param.Field[DirectoryServiceNewParamsBodyType]        `json:"type" api:"required"`
	AppProtocol param.Field[DirectoryServiceNewParamsBodyAppProtocol] `json:"app_protocol"`
	HTTPPort    param.Field[int64]                                    `json:"http_port"`
	HTTPSPort   param.Field[int64]                                    `json:"https_port"`
	TCPPort     param.Field[int64]                                    `json:"tcp_port"`
	TLSSettings param.Field[interface{}]                              `json:"tls_settings"`
}

func (DirectoryServiceNewParamsBody) MarshalJSON

func (r DirectoryServiceNewParamsBody) MarshalJSON() (data []byte, err error)

type DirectoryServiceNewParamsBodyAppProtocol

type DirectoryServiceNewParamsBodyAppProtocol string
const (
	DirectoryServiceNewParamsBodyAppProtocolPostgresql DirectoryServiceNewParamsBodyAppProtocol = "postgresql"
	DirectoryServiceNewParamsBodyAppProtocolMysql      DirectoryServiceNewParamsBodyAppProtocol = "mysql"
)

func (DirectoryServiceNewParamsBodyAppProtocol) IsKnown

type DirectoryServiceNewParamsBodyInfraHTTPServiceConfig

type DirectoryServiceNewParamsBodyInfraHTTPServiceConfig struct {
	Host      param.Field[DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostUnion] `json:"host" api:"required"`
	Name      param.Field[string]                                                       `json:"name" api:"required"`
	Type      param.Field[DirectoryServiceNewParamsBodyInfraHTTPServiceConfigType]      `json:"type" api:"required"`
	HTTPPort  param.Field[int64]                                                        `json:"http_port"`
	HTTPSPort param.Field[int64]                                                        `json:"https_port"`
	// TLS settings for a connectivity service.
	//
	// If omitted, the default mode (`verify_full`) is used.
	TLSSettings param.Field[DirectoryServiceNewParamsBodyInfraHTTPServiceConfigTLSSettings] `json:"tls_settings"`
}

func (DirectoryServiceNewParamsBodyInfraHTTPServiceConfig) MarshalJSON

func (r DirectoryServiceNewParamsBodyInfraHTTPServiceConfig) MarshalJSON() (data []byte, err error)

type DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHost

type DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHost struct {
	Hostname        param.Field[string]      `json:"hostname"`
	IPV4            param.Field[string]      `json:"ipv4"`
	IPV6            param.Field[string]      `json:"ipv6"`
	Network         param.Field[interface{}] `json:"network"`
	ResolverNetwork param.Field[interface{}] `json:"resolver_network"`
}

func (DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHost) MarshalJSON

type DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraDualStackHost

type DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraDualStackHost struct {
	IPV4    param.Field[string]                                                                           `json:"ipv4" api:"required"`
	IPV6    param.Field[string]                                                                           `json:"ipv6" api:"required"`
	Network param.Field[DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraDualStackHostNetwork] `json:"network" api:"required"`
}

func (DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraDualStackHost) MarshalJSON

type DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraDualStackHostNetwork

type DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraDualStackHostNetwork struct {
	TunnelID param.Field[string] `json:"tunnel_id" api:"required" format:"uuid"`
}

func (DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraDualStackHostNetwork) MarshalJSON

type DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraHostnameHost

type DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraHostnameHost struct {
	Hostname        param.Field[string]                                                                                  `json:"hostname" api:"required"`
	ResolverNetwork param.Field[DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraHostnameHostResolverNetwork] `json:"resolver_network" api:"required"`
}

func (DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraHostnameHost) MarshalJSON

type DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraHostnameHostResolverNetwork

type DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraHostnameHostResolverNetwork struct {
	TunnelID    param.Field[string]   `json:"tunnel_id" api:"required" format:"uuid"`
	ResolverIPs param.Field[[]string] `json:"resolver_ips"`
}

func (DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraHostnameHostResolverNetwork) MarshalJSON

type DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraIPv4Host

type DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraIPv4Host struct {
	IPV4    param.Field[string]                                                                      `json:"ipv4" api:"required"`
	Network param.Field[DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraIPv4HostNetwork] `json:"network" api:"required"`
}

func (DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraIPv4Host) MarshalJSON

type DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraIPv4HostNetwork

type DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraIPv4HostNetwork struct {
	TunnelID param.Field[string] `json:"tunnel_id" api:"required" format:"uuid"`
}

func (DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraIPv4HostNetwork) MarshalJSON

type DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraIPv6Host

type DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraIPv6Host struct {
	IPV6    param.Field[string]                                                                      `json:"ipv6" api:"required"`
	Network param.Field[DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraIPv6HostNetwork] `json:"network" api:"required"`
}

func (DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraIPv6Host) MarshalJSON

type DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraIPv6HostNetwork

type DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraIPv6HostNetwork struct {
	TunnelID param.Field[string] `json:"tunnel_id" api:"required" format:"uuid"`
}

func (DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraIPv6HostNetwork) MarshalJSON

type DirectoryServiceNewParamsBodyInfraHTTPServiceConfigTLSSettings

type DirectoryServiceNewParamsBodyInfraHTTPServiceConfigTLSSettings struct {
	// TLS certificate verification mode for the connection to the origin.
	//
	// - `"verify_full"` — verify certificate chain and hostname (default)
	// - `"verify_ca"` — verify certificate chain only, skip hostname check
	// - `"disabled"` — do not verify the server certificate at all
	CERTVerificationMode param.Field[string] `json:"cert_verification_mode" api:"required"`
}

TLS settings for a connectivity service.

If omitted, the default mode (`verify_full`) is used.

func (DirectoryServiceNewParamsBodyInfraHTTPServiceConfigTLSSettings) MarshalJSON

type DirectoryServiceNewParamsBodyInfraHTTPServiceConfigType

type DirectoryServiceNewParamsBodyInfraHTTPServiceConfigType string
const (
	DirectoryServiceNewParamsBodyInfraHTTPServiceConfigTypeTCP  DirectoryServiceNewParamsBodyInfraHTTPServiceConfigType = "tcp"
	DirectoryServiceNewParamsBodyInfraHTTPServiceConfigTypeHTTP DirectoryServiceNewParamsBodyInfraHTTPServiceConfigType = "http"
)

func (DirectoryServiceNewParamsBodyInfraHTTPServiceConfigType) IsKnown

type DirectoryServiceNewParamsBodyInfraTCPServiceConfig

type DirectoryServiceNewParamsBodyInfraTCPServiceConfig struct {
	Host        param.Field[DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostUnion]   `json:"host" api:"required"`
	Name        param.Field[string]                                                        `json:"name" api:"required"`
	Type        param.Field[DirectoryServiceNewParamsBodyInfraTCPServiceConfigType]        `json:"type" api:"required"`
	AppProtocol param.Field[DirectoryServiceNewParamsBodyInfraTCPServiceConfigAppProtocol] `json:"app_protocol"`
	TCPPort     param.Field[int64]                                                         `json:"tcp_port"`
	// TLS settings for a connectivity service.
	//
	// If omitted, the default mode (`verify_full`) is used.
	TLSSettings param.Field[DirectoryServiceNewParamsBodyInfraTCPServiceConfigTLSSettings] `json:"tls_settings"`
}

func (DirectoryServiceNewParamsBodyInfraTCPServiceConfig) MarshalJSON

func (r DirectoryServiceNewParamsBodyInfraTCPServiceConfig) MarshalJSON() (data []byte, err error)

type DirectoryServiceNewParamsBodyInfraTCPServiceConfigAppProtocol

type DirectoryServiceNewParamsBodyInfraTCPServiceConfigAppProtocol string
const (
	DirectoryServiceNewParamsBodyInfraTCPServiceConfigAppProtocolPostgresql DirectoryServiceNewParamsBodyInfraTCPServiceConfigAppProtocol = "postgresql"
	DirectoryServiceNewParamsBodyInfraTCPServiceConfigAppProtocolMysql      DirectoryServiceNewParamsBodyInfraTCPServiceConfigAppProtocol = "mysql"
)

func (DirectoryServiceNewParamsBodyInfraTCPServiceConfigAppProtocol) IsKnown

type DirectoryServiceNewParamsBodyInfraTCPServiceConfigHost

type DirectoryServiceNewParamsBodyInfraTCPServiceConfigHost struct {
	Hostname        param.Field[string]      `json:"hostname"`
	IPV4            param.Field[string]      `json:"ipv4"`
	IPV6            param.Field[string]      `json:"ipv6"`
	Network         param.Field[interface{}] `json:"network"`
	ResolverNetwork param.Field[interface{}] `json:"resolver_network"`
}

func (DirectoryServiceNewParamsBodyInfraTCPServiceConfigHost) MarshalJSON

type DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraDualStackHost

type DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraDualStackHost struct {
	IPV4    param.Field[string]                                                                          `json:"ipv4" api:"required"`
	IPV6    param.Field[string]                                                                          `json:"ipv6" api:"required"`
	Network param.Field[DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraDualStackHostNetwork] `json:"network" api:"required"`
}

func (DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraDualStackHost) MarshalJSON

type DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraDualStackHostNetwork

type DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraDualStackHostNetwork struct {
	TunnelID param.Field[string] `json:"tunnel_id" api:"required" format:"uuid"`
}

func (DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraDualStackHostNetwork) MarshalJSON

type DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraHostnameHost

type DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraHostnameHost struct {
	Hostname        param.Field[string]                                                                                 `json:"hostname" api:"required"`
	ResolverNetwork param.Field[DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraHostnameHostResolverNetwork] `json:"resolver_network" api:"required"`
}

func (DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraHostnameHost) MarshalJSON

type DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraHostnameHostResolverNetwork

type DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraHostnameHostResolverNetwork struct {
	TunnelID    param.Field[string]   `json:"tunnel_id" api:"required" format:"uuid"`
	ResolverIPs param.Field[[]string] `json:"resolver_ips"`
}

func (DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraHostnameHostResolverNetwork) MarshalJSON

type DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraIPv4Host

type DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraIPv4Host struct {
	IPV4    param.Field[string]                                                                     `json:"ipv4" api:"required"`
	Network param.Field[DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraIPv4HostNetwork] `json:"network" api:"required"`
}

func (DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraIPv4Host) MarshalJSON

type DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraIPv4HostNetwork

type DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraIPv4HostNetwork struct {
	TunnelID param.Field[string] `json:"tunnel_id" api:"required" format:"uuid"`
}

func (DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraIPv4HostNetwork) MarshalJSON

type DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraIPv6Host

type DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraIPv6Host struct {
	IPV6    param.Field[string]                                                                     `json:"ipv6" api:"required"`
	Network param.Field[DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraIPv6HostNetwork] `json:"network" api:"required"`
}

func (DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraIPv6Host) MarshalJSON

type DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraIPv6HostNetwork

type DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraIPv6HostNetwork struct {
	TunnelID param.Field[string] `json:"tunnel_id" api:"required" format:"uuid"`
}

func (DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraIPv6HostNetwork) MarshalJSON

type DirectoryServiceNewParamsBodyInfraTCPServiceConfigTLSSettings

type DirectoryServiceNewParamsBodyInfraTCPServiceConfigTLSSettings struct {
	// TLS certificate verification mode for the connection to the origin.
	//
	// - `"verify_full"` — verify certificate chain and hostname (default)
	// - `"verify_ca"` — verify certificate chain only, skip hostname check
	// - `"disabled"` — do not verify the server certificate at all
	CERTVerificationMode param.Field[string] `json:"cert_verification_mode" api:"required"`
}

TLS settings for a connectivity service.

If omitted, the default mode (`verify_full`) is used.

func (DirectoryServiceNewParamsBodyInfraTCPServiceConfigTLSSettings) MarshalJSON

type DirectoryServiceNewParamsBodyInfraTCPServiceConfigType

type DirectoryServiceNewParamsBodyInfraTCPServiceConfigType string
const (
	DirectoryServiceNewParamsBodyInfraTCPServiceConfigTypeTCP  DirectoryServiceNewParamsBodyInfraTCPServiceConfigType = "tcp"
	DirectoryServiceNewParamsBodyInfraTCPServiceConfigTypeHTTP DirectoryServiceNewParamsBodyInfraTCPServiceConfigType = "http"
)

func (DirectoryServiceNewParamsBodyInfraTCPServiceConfigType) IsKnown

type DirectoryServiceNewParamsBodyType

type DirectoryServiceNewParamsBodyType string
const (
	DirectoryServiceNewParamsBodyTypeTCP  DirectoryServiceNewParamsBodyType = "tcp"
	DirectoryServiceNewParamsBodyTypeHTTP DirectoryServiceNewParamsBodyType = "http"
)

func (DirectoryServiceNewParamsBodyType) IsKnown

type DirectoryServiceNewResponse

type DirectoryServiceNewResponse struct {
	// This field can have the runtime type of
	// [DirectoryServiceNewResponseInfraHTTPServiceConfigHost],
	// [DirectoryServiceNewResponseInfraTCPServiceConfigHost].
	Host        interface{}                            `json:"host" api:"required"`
	Name        string                                 `json:"name" api:"required"`
	Type        DirectoryServiceNewResponseType        `json:"type" api:"required"`
	AppProtocol DirectoryServiceNewResponseAppProtocol `json:"app_protocol" api:"nullable"`
	CreatedAt   time.Time                              `json:"created_at" format:"date-time"`
	HTTPPort    int64                                  `json:"http_port" api:"nullable"`
	HTTPSPort   int64                                  `json:"https_port" api:"nullable"`
	ServiceID   string                                 `json:"service_id" format:"uuid"`
	TCPPort     int64                                  `json:"tcp_port" api:"nullable"`
	// This field can have the runtime type of
	// [DirectoryServiceNewResponseInfraHTTPServiceConfigTLSSettings],
	// [DirectoryServiceNewResponseInfraTCPServiceConfigTLSSettings].
	TLSSettings interface{}                     `json:"tls_settings"`
	UpdatedAt   time.Time                       `json:"updated_at" format:"date-time"`
	JSON        directoryServiceNewResponseJSON `json:"-"`
	// contains filtered or unexported fields
}

func (DirectoryServiceNewResponse) AsUnion

AsUnion returns a DirectoryServiceNewResponseUnion interface which you can cast to the specific types for more type safety.

Possible runtime types of the union are DirectoryServiceNewResponseInfraHTTPServiceConfig, DirectoryServiceNewResponseInfraTCPServiceConfig.

func (*DirectoryServiceNewResponse) UnmarshalJSON

func (r *DirectoryServiceNewResponse) UnmarshalJSON(data []byte) (err error)

type DirectoryServiceNewResponseAppProtocol

type DirectoryServiceNewResponseAppProtocol string
const (
	DirectoryServiceNewResponseAppProtocolPostgresql DirectoryServiceNewResponseAppProtocol = "postgresql"
	DirectoryServiceNewResponseAppProtocolMysql      DirectoryServiceNewResponseAppProtocol = "mysql"
)

func (DirectoryServiceNewResponseAppProtocol) IsKnown

type DirectoryServiceNewResponseEnvelope

type DirectoryServiceNewResponseEnvelope struct {
	Errors   []DirectoryServiceNewResponseEnvelopeErrors   `json:"errors" api:"required"`
	Messages []DirectoryServiceNewResponseEnvelopeMessages `json:"messages" api:"required"`
	// Whether the API call was successful.
	Success DirectoryServiceNewResponseEnvelopeSuccess `json:"success" api:"required"`
	Result  DirectoryServiceNewResponse                `json:"result"`
	JSON    directoryServiceNewResponseEnvelopeJSON    `json:"-"`
}

func (*DirectoryServiceNewResponseEnvelope) UnmarshalJSON

func (r *DirectoryServiceNewResponseEnvelope) UnmarshalJSON(data []byte) (err error)

type DirectoryServiceNewResponseEnvelopeErrors

type DirectoryServiceNewResponseEnvelopeErrors struct {
	Code             int64                                           `json:"code" api:"required"`
	Message          string                                          `json:"message" api:"required"`
	DocumentationURL string                                          `json:"documentation_url"`
	Source           DirectoryServiceNewResponseEnvelopeErrorsSource `json:"source"`
	JSON             directoryServiceNewResponseEnvelopeErrorsJSON   `json:"-"`
}

func (*DirectoryServiceNewResponseEnvelopeErrors) UnmarshalJSON

func (r *DirectoryServiceNewResponseEnvelopeErrors) UnmarshalJSON(data []byte) (err error)

type DirectoryServiceNewResponseEnvelopeErrorsSource

type DirectoryServiceNewResponseEnvelopeErrorsSource struct {
	Pointer string                                              `json:"pointer"`
	JSON    directoryServiceNewResponseEnvelopeErrorsSourceJSON `json:"-"`
}

func (*DirectoryServiceNewResponseEnvelopeErrorsSource) UnmarshalJSON

func (r *DirectoryServiceNewResponseEnvelopeErrorsSource) UnmarshalJSON(data []byte) (err error)

type DirectoryServiceNewResponseEnvelopeMessages

type DirectoryServiceNewResponseEnvelopeMessages struct {
	Code             int64                                             `json:"code" api:"required"`
	Message          string                                            `json:"message" api:"required"`
	DocumentationURL string                                            `json:"documentation_url"`
	Source           DirectoryServiceNewResponseEnvelopeMessagesSource `json:"source"`
	JSON             directoryServiceNewResponseEnvelopeMessagesJSON   `json:"-"`
}

func (*DirectoryServiceNewResponseEnvelopeMessages) UnmarshalJSON

func (r *DirectoryServiceNewResponseEnvelopeMessages) UnmarshalJSON(data []byte) (err error)

type DirectoryServiceNewResponseEnvelopeMessagesSource

type DirectoryServiceNewResponseEnvelopeMessagesSource struct {
	Pointer string                                                `json:"pointer"`
	JSON    directoryServiceNewResponseEnvelopeMessagesSourceJSON `json:"-"`
}

func (*DirectoryServiceNewResponseEnvelopeMessagesSource) UnmarshalJSON

func (r *DirectoryServiceNewResponseEnvelopeMessagesSource) UnmarshalJSON(data []byte) (err error)

type DirectoryServiceNewResponseEnvelopeSuccess

type DirectoryServiceNewResponseEnvelopeSuccess bool

Whether the API call was successful.

const (
	DirectoryServiceNewResponseEnvelopeSuccessTrue DirectoryServiceNewResponseEnvelopeSuccess = true
)

func (DirectoryServiceNewResponseEnvelopeSuccess) IsKnown

type DirectoryServiceNewResponseInfraHTTPServiceConfig

type DirectoryServiceNewResponseInfraHTTPServiceConfig struct {
	Host      DirectoryServiceNewResponseInfraHTTPServiceConfigHost `json:"host" api:"required"`
	Name      string                                                `json:"name" api:"required"`
	Type      DirectoryServiceNewResponseInfraHTTPServiceConfigType `json:"type" api:"required"`
	CreatedAt time.Time                                             `json:"created_at" format:"date-time"`
	HTTPPort  int64                                                 `json:"http_port" api:"nullable"`
	HTTPSPort int64                                                 `json:"https_port" api:"nullable"`
	ServiceID string                                                `json:"service_id" format:"uuid"`
	// TLS settings for a connectivity service.
	//
	// If omitted, the default mode (`verify_full`) is used.
	TLSSettings DirectoryServiceNewResponseInfraHTTPServiceConfigTLSSettings `json:"tls_settings" api:"nullable"`
	UpdatedAt   time.Time                                                    `json:"updated_at" format:"date-time"`
	JSON        directoryServiceNewResponseInfraHTTPServiceConfigJSON        `json:"-"`
}

func (*DirectoryServiceNewResponseInfraHTTPServiceConfig) UnmarshalJSON

func (r *DirectoryServiceNewResponseInfraHTTPServiceConfig) UnmarshalJSON(data []byte) (err error)

type DirectoryServiceNewResponseInfraHTTPServiceConfigHost

type DirectoryServiceNewResponseInfraHTTPServiceConfigHost struct {
	Hostname string `json:"hostname"`
	IPV4     string `json:"ipv4"`
	IPV6     string `json:"ipv6"`
	// This field can have the runtime type of
	// [DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraIPv4HostNetwork],
	// [DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraIPv6HostNetwork],
	// [DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraDualStackHostNetwork].
	Network interface{} `json:"network"`
	// This field can have the runtime type of
	// [DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraHostnameHostResolverNetwork].
	ResolverNetwork interface{}                                               `json:"resolver_network"`
	JSON            directoryServiceNewResponseInfraHTTPServiceConfigHostJSON `json:"-"`
	// contains filtered or unexported fields
}

func (*DirectoryServiceNewResponseInfraHTTPServiceConfigHost) UnmarshalJSON

func (r *DirectoryServiceNewResponseInfraHTTPServiceConfigHost) UnmarshalJSON(data []byte) (err error)

type DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraDualStackHost

type DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraDualStackHost struct {
	IPV4    string                                                                         `json:"ipv4" api:"required"`
	IPV6    string                                                                         `json:"ipv6" api:"required"`
	Network DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraDualStackHostNetwork `json:"network" api:"required"`
	JSON    directoryServiceNewResponseInfraHTTPServiceConfigHostInfraDualStackHostJSON    `json:"-"`
}

func (*DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraDualStackHost) UnmarshalJSON

type DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraDualStackHostNetwork

type DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraDualStackHostNetwork struct {
	TunnelID string                                                                             `json:"tunnel_id" api:"required" format:"uuid"`
	JSON     directoryServiceNewResponseInfraHTTPServiceConfigHostInfraDualStackHostNetworkJSON `json:"-"`
}

func (*DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraDualStackHostNetwork) UnmarshalJSON

type DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraHostnameHost

type DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraHostnameHost struct {
	Hostname        string                                                                                `json:"hostname" api:"required"`
	ResolverNetwork DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraHostnameHostResolverNetwork `json:"resolver_network" api:"required"`
	JSON            directoryServiceNewResponseInfraHTTPServiceConfigHostInfraHostnameHostJSON            `json:"-"`
}

func (*DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraHostnameHost) UnmarshalJSON

type DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraHostnameHostResolverNetwork

type DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraHostnameHostResolverNetwork struct {
	TunnelID    string                                                                                    `json:"tunnel_id" api:"required" format:"uuid"`
	ResolverIPs []string                                                                                  `json:"resolver_ips" api:"nullable"`
	JSON        directoryServiceNewResponseInfraHTTPServiceConfigHostInfraHostnameHostResolverNetworkJSON `json:"-"`
}

func (*DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraHostnameHostResolverNetwork) UnmarshalJSON

type DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraIPv4Host

type DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraIPv4Host struct {
	IPV4    string                                                                    `json:"ipv4" api:"required"`
	Network DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraIPv4HostNetwork `json:"network" api:"required"`
	JSON    directoryServiceNewResponseInfraHTTPServiceConfigHostInfraIPv4HostJSON    `json:"-"`
}

func (*DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraIPv4Host) UnmarshalJSON

type DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraIPv4HostNetwork

type DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraIPv4HostNetwork struct {
	TunnelID string                                                                        `json:"tunnel_id" api:"required" format:"uuid"`
	JSON     directoryServiceNewResponseInfraHTTPServiceConfigHostInfraIPv4HostNetworkJSON `json:"-"`
}

func (*DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraIPv4HostNetwork) UnmarshalJSON

type DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraIPv6Host

type DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraIPv6Host struct {
	IPV6    string                                                                    `json:"ipv6" api:"required"`
	Network DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraIPv6HostNetwork `json:"network" api:"required"`
	JSON    directoryServiceNewResponseInfraHTTPServiceConfigHostInfraIPv6HostJSON    `json:"-"`
}

func (*DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraIPv6Host) UnmarshalJSON

type DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraIPv6HostNetwork

type DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraIPv6HostNetwork struct {
	TunnelID string                                                                        `json:"tunnel_id" api:"required" format:"uuid"`
	JSON     directoryServiceNewResponseInfraHTTPServiceConfigHostInfraIPv6HostNetworkJSON `json:"-"`
}

func (*DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraIPv6HostNetwork) UnmarshalJSON

type DirectoryServiceNewResponseInfraHTTPServiceConfigTLSSettings

type DirectoryServiceNewResponseInfraHTTPServiceConfigTLSSettings struct {
	// TLS certificate verification mode for the connection to the origin.
	//
	// - `"verify_full"` — verify certificate chain and hostname (default)
	// - `"verify_ca"` — verify certificate chain only, skip hostname check
	// - `"disabled"` — do not verify the server certificate at all
	CERTVerificationMode string                                                           `json:"cert_verification_mode" api:"required"`
	JSON                 directoryServiceNewResponseInfraHTTPServiceConfigTLSSettingsJSON `json:"-"`
}

TLS settings for a connectivity service.

If omitted, the default mode (`verify_full`) is used.

func (*DirectoryServiceNewResponseInfraHTTPServiceConfigTLSSettings) UnmarshalJSON

type DirectoryServiceNewResponseInfraHTTPServiceConfigType

type DirectoryServiceNewResponseInfraHTTPServiceConfigType string
const (
	DirectoryServiceNewResponseInfraHTTPServiceConfigTypeTCP  DirectoryServiceNewResponseInfraHTTPServiceConfigType = "tcp"
	DirectoryServiceNewResponseInfraHTTPServiceConfigTypeHTTP DirectoryServiceNewResponseInfraHTTPServiceConfigType = "http"
)

func (DirectoryServiceNewResponseInfraHTTPServiceConfigType) IsKnown

type DirectoryServiceNewResponseInfraTCPServiceConfig

type DirectoryServiceNewResponseInfraTCPServiceConfig struct {
	Host        DirectoryServiceNewResponseInfraTCPServiceConfigHost        `json:"host" api:"required"`
	Name        string                                                      `json:"name" api:"required"`
	Type        DirectoryServiceNewResponseInfraTCPServiceConfigType        `json:"type" api:"required"`
	AppProtocol DirectoryServiceNewResponseInfraTCPServiceConfigAppProtocol `json:"app_protocol" api:"nullable"`
	CreatedAt   time.Time                                                   `json:"created_at" format:"date-time"`
	ServiceID   string                                                      `json:"service_id" format:"uuid"`
	TCPPort     int64                                                       `json:"tcp_port" api:"nullable"`
	// TLS settings for a connectivity service.
	//
	// If omitted, the default mode (`verify_full`) is used.
	TLSSettings DirectoryServiceNewResponseInfraTCPServiceConfigTLSSettings `json:"tls_settings" api:"nullable"`
	UpdatedAt   time.Time                                                   `json:"updated_at" format:"date-time"`
	JSON        directoryServiceNewResponseInfraTCPServiceConfigJSON        `json:"-"`
}

func (*DirectoryServiceNewResponseInfraTCPServiceConfig) UnmarshalJSON

func (r *DirectoryServiceNewResponseInfraTCPServiceConfig) UnmarshalJSON(data []byte) (err error)

type DirectoryServiceNewResponseInfraTCPServiceConfigAppProtocol

type DirectoryServiceNewResponseInfraTCPServiceConfigAppProtocol string
const (
	DirectoryServiceNewResponseInfraTCPServiceConfigAppProtocolPostgresql DirectoryServiceNewResponseInfraTCPServiceConfigAppProtocol = "postgresql"
	DirectoryServiceNewResponseInfraTCPServiceConfigAppProtocolMysql      DirectoryServiceNewResponseInfraTCPServiceConfigAppProtocol = "mysql"
)

func (DirectoryServiceNewResponseInfraTCPServiceConfigAppProtocol) IsKnown

type DirectoryServiceNewResponseInfraTCPServiceConfigHost

type DirectoryServiceNewResponseInfraTCPServiceConfigHost struct {
	Hostname string `json:"hostname"`
	IPV4     string `json:"ipv4"`
	IPV6     string `json:"ipv6"`
	// This field can have the runtime type of
	// [DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraIPv4HostNetwork],
	// [DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraIPv6HostNetwork],
	// [DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraDualStackHostNetwork].
	Network interface{} `json:"network"`
	// This field can have the runtime type of
	// [DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraHostnameHostResolverNetwork].
	ResolverNetwork interface{}                                              `json:"resolver_network"`
	JSON            directoryServiceNewResponseInfraTCPServiceConfigHostJSON `json:"-"`
	// contains filtered or unexported fields
}

func (*DirectoryServiceNewResponseInfraTCPServiceConfigHost) UnmarshalJSON

func (r *DirectoryServiceNewResponseInfraTCPServiceConfigHost) UnmarshalJSON(data []byte) (err error)

type DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraDualStackHost

type DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraDualStackHost struct {
	IPV4    string                                                                        `json:"ipv4" api:"required"`
	IPV6    string                                                                        `json:"ipv6" api:"required"`
	Network DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraDualStackHostNetwork `json:"network" api:"required"`
	JSON    directoryServiceNewResponseInfraTCPServiceConfigHostInfraDualStackHostJSON    `json:"-"`
}

func (*DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraDualStackHost) UnmarshalJSON

type DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraDualStackHostNetwork

type DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraDualStackHostNetwork struct {
	TunnelID string                                                                            `json:"tunnel_id" api:"required" format:"uuid"`
	JSON     directoryServiceNewResponseInfraTCPServiceConfigHostInfraDualStackHostNetworkJSON `json:"-"`
}

func (*DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraDualStackHostNetwork) UnmarshalJSON

type DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraHostnameHost

type DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraHostnameHost struct {
	Hostname        string                                                                               `json:"hostname" api:"required"`
	ResolverNetwork DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraHostnameHostResolverNetwork `json:"resolver_network" api:"required"`
	JSON            directoryServiceNewResponseInfraTCPServiceConfigHostInfraHostnameHostJSON            `json:"-"`
}

func (*DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraHostnameHost) UnmarshalJSON

type DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraHostnameHostResolverNetwork

type DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraHostnameHostResolverNetwork struct {
	TunnelID    string                                                                                   `json:"tunnel_id" api:"required" format:"uuid"`
	ResolverIPs []string                                                                                 `json:"resolver_ips" api:"nullable"`
	JSON        directoryServiceNewResponseInfraTCPServiceConfigHostInfraHostnameHostResolverNetworkJSON `json:"-"`
}

func (*DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraHostnameHostResolverNetwork) UnmarshalJSON

type DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraIPv4Host

type DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraIPv4Host struct {
	IPV4    string                                                                   `json:"ipv4" api:"required"`
	Network DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraIPv4HostNetwork `json:"network" api:"required"`
	JSON    directoryServiceNewResponseInfraTCPServiceConfigHostInfraIPv4HostJSON    `json:"-"`
}

func (*DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraIPv4Host) UnmarshalJSON

type DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraIPv4HostNetwork

type DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraIPv4HostNetwork struct {
	TunnelID string                                                                       `json:"tunnel_id" api:"required" format:"uuid"`
	JSON     directoryServiceNewResponseInfraTCPServiceConfigHostInfraIPv4HostNetworkJSON `json:"-"`
}

func (*DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraIPv4HostNetwork) UnmarshalJSON

type DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraIPv6Host

type DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraIPv6Host struct {
	IPV6    string                                                                   `json:"ipv6" api:"required"`
	Network DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraIPv6HostNetwork `json:"network" api:"required"`
	JSON    directoryServiceNewResponseInfraTCPServiceConfigHostInfraIPv6HostJSON    `json:"-"`
}

func (*DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraIPv6Host) UnmarshalJSON

type DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraIPv6HostNetwork

type DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraIPv6HostNetwork struct {
	TunnelID string                                                                       `json:"tunnel_id" api:"required" format:"uuid"`
	JSON     directoryServiceNewResponseInfraTCPServiceConfigHostInfraIPv6HostNetworkJSON `json:"-"`
}

func (*DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraIPv6HostNetwork) UnmarshalJSON

type DirectoryServiceNewResponseInfraTCPServiceConfigTLSSettings

type DirectoryServiceNewResponseInfraTCPServiceConfigTLSSettings struct {
	// TLS certificate verification mode for the connection to the origin.
	//
	// - `"verify_full"` — verify certificate chain and hostname (default)
	// - `"verify_ca"` — verify certificate chain only, skip hostname check
	// - `"disabled"` — do not verify the server certificate at all
	CERTVerificationMode string                                                          `json:"cert_verification_mode" api:"required"`
	JSON                 directoryServiceNewResponseInfraTCPServiceConfigTLSSettingsJSON `json:"-"`
}

TLS settings for a connectivity service.

If omitted, the default mode (`verify_full`) is used.

func (*DirectoryServiceNewResponseInfraTCPServiceConfigTLSSettings) UnmarshalJSON

type DirectoryServiceNewResponseInfraTCPServiceConfigType

type DirectoryServiceNewResponseInfraTCPServiceConfigType string
const (
	DirectoryServiceNewResponseInfraTCPServiceConfigTypeTCP  DirectoryServiceNewResponseInfraTCPServiceConfigType = "tcp"
	DirectoryServiceNewResponseInfraTCPServiceConfigTypeHTTP DirectoryServiceNewResponseInfraTCPServiceConfigType = "http"
)

func (DirectoryServiceNewResponseInfraTCPServiceConfigType) IsKnown

type DirectoryServiceNewResponseType

type DirectoryServiceNewResponseType string
const (
	DirectoryServiceNewResponseTypeTCP  DirectoryServiceNewResponseType = "tcp"
	DirectoryServiceNewResponseTypeHTTP DirectoryServiceNewResponseType = "http"
)

func (DirectoryServiceNewResponseType) IsKnown

type DirectoryServiceNewResponseUnion

type DirectoryServiceNewResponseUnion interface {
	// contains filtered or unexported methods
}

Union satisfied by DirectoryServiceNewResponseInfraHTTPServiceConfig or DirectoryServiceNewResponseInfraTCPServiceConfig.

type DirectoryServiceService

type DirectoryServiceService struct {
	Options []option.RequestOption
}

DirectoryServiceService 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 NewDirectoryServiceService method instead.

func NewDirectoryServiceService

func NewDirectoryServiceService(opts ...option.RequestOption) (r *DirectoryServiceService)

NewDirectoryServiceService 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 (*DirectoryServiceService) Delete

Delete Workers VPC connectivity service

func (*DirectoryServiceService) Get

Get Workers VPC connectivity service

func (*DirectoryServiceService) List

List Workers VPC connectivity services

func (*DirectoryServiceService) ListAutoPaging

List Workers VPC connectivity services

func (*DirectoryServiceService) New

Create Workers VPC connectivity service

func (*DirectoryServiceService) Update

Update Workers VPC connectivity service

type DirectoryServiceUpdateParams

type DirectoryServiceUpdateParams struct {
	AccountID param.Field[string]                   `path:"account_id" api:"required"`
	Body      DirectoryServiceUpdateParamsBodyUnion `json:"body" api:"required"`
}

func (DirectoryServiceUpdateParams) MarshalJSON

func (r DirectoryServiceUpdateParams) MarshalJSON() (data []byte, err error)

type DirectoryServiceUpdateParamsBody

type DirectoryServiceUpdateParamsBody struct {
	Host        param.Field[interface{}]                                 `json:"host" api:"required"`
	Name        param.Field[string]                                      `json:"name" api:"required"`
	Type        param.Field[DirectoryServiceUpdateParamsBodyType]        `json:"type" api:"required"`
	AppProtocol param.Field[DirectoryServiceUpdateParamsBodyAppProtocol] `json:"app_protocol"`
	HTTPPort    param.Field[int64]                                       `json:"http_port"`
	HTTPSPort   param.Field[int64]                                       `json:"https_port"`
	TCPPort     param.Field[int64]                                       `json:"tcp_port"`
	TLSSettings param.Field[interface{}]                                 `json:"tls_settings"`
}

func (DirectoryServiceUpdateParamsBody) MarshalJSON

func (r DirectoryServiceUpdateParamsBody) MarshalJSON() (data []byte, err error)

type DirectoryServiceUpdateParamsBodyAppProtocol

type DirectoryServiceUpdateParamsBodyAppProtocol string
const (
	DirectoryServiceUpdateParamsBodyAppProtocolPostgresql DirectoryServiceUpdateParamsBodyAppProtocol = "postgresql"
	DirectoryServiceUpdateParamsBodyAppProtocolMysql      DirectoryServiceUpdateParamsBodyAppProtocol = "mysql"
)

func (DirectoryServiceUpdateParamsBodyAppProtocol) IsKnown

type DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfig

type DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfig struct {
	Host      param.Field[DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostUnion] `json:"host" api:"required"`
	Name      param.Field[string]                                                          `json:"name" api:"required"`
	Type      param.Field[DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigType]      `json:"type" api:"required"`
	HTTPPort  param.Field[int64]                                                           `json:"http_port"`
	HTTPSPort param.Field[int64]                                                           `json:"https_port"`
	// TLS settings for a connectivity service.
	//
	// If omitted, the default mode (`verify_full`) is used.
	TLSSettings param.Field[DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigTLSSettings] `json:"tls_settings"`
}

func (DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfig) MarshalJSON

type DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHost

type DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHost struct {
	Hostname        param.Field[string]      `json:"hostname"`
	IPV4            param.Field[string]      `json:"ipv4"`
	IPV6            param.Field[string]      `json:"ipv6"`
	Network         param.Field[interface{}] `json:"network"`
	ResolverNetwork param.Field[interface{}] `json:"resolver_network"`
}

func (DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHost) MarshalJSON

type DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraDualStackHost

type DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraDualStackHost struct {
	IPV4    param.Field[string]                                                                              `json:"ipv4" api:"required"`
	IPV6    param.Field[string]                                                                              `json:"ipv6" api:"required"`
	Network param.Field[DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraDualStackHostNetwork] `json:"network" api:"required"`
}

func (DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraDualStackHost) MarshalJSON

type DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraDualStackHostNetwork

type DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraDualStackHostNetwork struct {
	TunnelID param.Field[string] `json:"tunnel_id" api:"required" format:"uuid"`
}

func (DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraDualStackHostNetwork) MarshalJSON

type DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraHostnameHost

type DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraHostnameHost struct {
	Hostname        param.Field[string]                                                                                     `json:"hostname" api:"required"`
	ResolverNetwork param.Field[DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraHostnameHostResolverNetwork] `json:"resolver_network" api:"required"`
}

func (DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraHostnameHost) MarshalJSON

type DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraHostnameHostResolverNetwork

type DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraHostnameHostResolverNetwork struct {
	TunnelID    param.Field[string]   `json:"tunnel_id" api:"required" format:"uuid"`
	ResolverIPs param.Field[[]string] `json:"resolver_ips"`
}

func (DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraHostnameHostResolverNetwork) MarshalJSON

type DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraIPv4Host

type DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraIPv4Host struct {
	IPV4    param.Field[string]                                                                         `json:"ipv4" api:"required"`
	Network param.Field[DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraIPv4HostNetwork] `json:"network" api:"required"`
}

func (DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraIPv4Host) MarshalJSON

type DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraIPv4HostNetwork

type DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraIPv4HostNetwork struct {
	TunnelID param.Field[string] `json:"tunnel_id" api:"required" format:"uuid"`
}

func (DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraIPv4HostNetwork) MarshalJSON

type DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraIPv6Host

type DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraIPv6Host struct {
	IPV6    param.Field[string]                                                                         `json:"ipv6" api:"required"`
	Network param.Field[DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraIPv6HostNetwork] `json:"network" api:"required"`
}

func (DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraIPv6Host) MarshalJSON

type DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraIPv6HostNetwork

type DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraIPv6HostNetwork struct {
	TunnelID param.Field[string] `json:"tunnel_id" api:"required" format:"uuid"`
}

func (DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraIPv6HostNetwork) MarshalJSON

type DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigTLSSettings

type DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigTLSSettings struct {
	// TLS certificate verification mode for the connection to the origin.
	//
	// - `"verify_full"` — verify certificate chain and hostname (default)
	// - `"verify_ca"` — verify certificate chain only, skip hostname check
	// - `"disabled"` — do not verify the server certificate at all
	CERTVerificationMode param.Field[string] `json:"cert_verification_mode" api:"required"`
}

TLS settings for a connectivity service.

If omitted, the default mode (`verify_full`) is used.

func (DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigTLSSettings) MarshalJSON

type DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigType

type DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigType string
const (
	DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigTypeTCP  DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigType = "tcp"
	DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigTypeHTTP DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigType = "http"
)

func (DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigType) IsKnown

type DirectoryServiceUpdateParamsBodyInfraTCPServiceConfig

type DirectoryServiceUpdateParamsBodyInfraTCPServiceConfig struct {
	Host        param.Field[DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostUnion]   `json:"host" api:"required"`
	Name        param.Field[string]                                                           `json:"name" api:"required"`
	Type        param.Field[DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigType]        `json:"type" api:"required"`
	AppProtocol param.Field[DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigAppProtocol] `json:"app_protocol"`
	TCPPort     param.Field[int64]                                                            `json:"tcp_port"`
	// TLS settings for a connectivity service.
	//
	// If omitted, the default mode (`verify_full`) is used.
	TLSSettings param.Field[DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigTLSSettings] `json:"tls_settings"`
}

func (DirectoryServiceUpdateParamsBodyInfraTCPServiceConfig) MarshalJSON

type DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigAppProtocol

type DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigAppProtocol string
const (
	DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigAppProtocolPostgresql DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigAppProtocol = "postgresql"
	DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigAppProtocolMysql      DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigAppProtocol = "mysql"
)

func (DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigAppProtocol) IsKnown

type DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHost

type DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHost struct {
	Hostname        param.Field[string]      `json:"hostname"`
	IPV4            param.Field[string]      `json:"ipv4"`
	IPV6            param.Field[string]      `json:"ipv6"`
	Network         param.Field[interface{}] `json:"network"`
	ResolverNetwork param.Field[interface{}] `json:"resolver_network"`
}

func (DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHost) MarshalJSON

type DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraDualStackHost

type DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraDualStackHost struct {
	IPV4    param.Field[string]                                                                             `json:"ipv4" api:"required"`
	IPV6    param.Field[string]                                                                             `json:"ipv6" api:"required"`
	Network param.Field[DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraDualStackHostNetwork] `json:"network" api:"required"`
}

func (DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraDualStackHost) MarshalJSON

type DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraDualStackHostNetwork

type DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraDualStackHostNetwork struct {
	TunnelID param.Field[string] `json:"tunnel_id" api:"required" format:"uuid"`
}

func (DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraDualStackHostNetwork) MarshalJSON

type DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraHostnameHost

type DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraHostnameHost struct {
	Hostname        param.Field[string]                                                                                    `json:"hostname" api:"required"`
	ResolverNetwork param.Field[DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraHostnameHostResolverNetwork] `json:"resolver_network" api:"required"`
}

func (DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraHostnameHost) MarshalJSON

type DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraHostnameHostResolverNetwork

type DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraHostnameHostResolverNetwork struct {
	TunnelID    param.Field[string]   `json:"tunnel_id" api:"required" format:"uuid"`
	ResolverIPs param.Field[[]string] `json:"resolver_ips"`
}

func (DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraHostnameHostResolverNetwork) MarshalJSON

type DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraIPv4Host

type DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraIPv4Host struct {
	IPV4    param.Field[string]                                                                        `json:"ipv4" api:"required"`
	Network param.Field[DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraIPv4HostNetwork] `json:"network" api:"required"`
}

func (DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraIPv4Host) MarshalJSON

type DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraIPv4HostNetwork

type DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraIPv4HostNetwork struct {
	TunnelID param.Field[string] `json:"tunnel_id" api:"required" format:"uuid"`
}

func (DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraIPv4HostNetwork) MarshalJSON

type DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraIPv6Host

type DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraIPv6Host struct {
	IPV6    param.Field[string]                                                                        `json:"ipv6" api:"required"`
	Network param.Field[DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraIPv6HostNetwork] `json:"network" api:"required"`
}

func (DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraIPv6Host) MarshalJSON

type DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraIPv6HostNetwork

type DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraIPv6HostNetwork struct {
	TunnelID param.Field[string] `json:"tunnel_id" api:"required" format:"uuid"`
}

func (DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraIPv6HostNetwork) MarshalJSON

type DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigTLSSettings

type DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigTLSSettings struct {
	// TLS certificate verification mode for the connection to the origin.
	//
	// - `"verify_full"` — verify certificate chain and hostname (default)
	// - `"verify_ca"` — verify certificate chain only, skip hostname check
	// - `"disabled"` — do not verify the server certificate at all
	CERTVerificationMode param.Field[string] `json:"cert_verification_mode" api:"required"`
}

TLS settings for a connectivity service.

If omitted, the default mode (`verify_full`) is used.

func (DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigTLSSettings) MarshalJSON

type DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigType

type DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigType string
const (
	DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigTypeTCP  DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigType = "tcp"
	DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigTypeHTTP DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigType = "http"
)

func (DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigType) IsKnown

type DirectoryServiceUpdateParamsBodyType

type DirectoryServiceUpdateParamsBodyType string
const (
	DirectoryServiceUpdateParamsBodyTypeTCP  DirectoryServiceUpdateParamsBodyType = "tcp"
	DirectoryServiceUpdateParamsBodyTypeHTTP DirectoryServiceUpdateParamsBodyType = "http"
)

func (DirectoryServiceUpdateParamsBodyType) IsKnown

type DirectoryServiceUpdateResponse

type DirectoryServiceUpdateResponse struct {
	// This field can have the runtime type of
	// [DirectoryServiceUpdateResponseInfraHTTPServiceConfigHost],
	// [DirectoryServiceUpdateResponseInfraTCPServiceConfigHost].
	Host        interface{}                               `json:"host" api:"required"`
	Name        string                                    `json:"name" api:"required"`
	Type        DirectoryServiceUpdateResponseType        `json:"type" api:"required"`
	AppProtocol DirectoryServiceUpdateResponseAppProtocol `json:"app_protocol" api:"nullable"`
	CreatedAt   time.Time                                 `json:"created_at" format:"date-time"`
	HTTPPort    int64                                     `json:"http_port" api:"nullable"`
	HTTPSPort   int64                                     `json:"https_port" api:"nullable"`
	ServiceID   string                                    `json:"service_id" format:"uuid"`
	TCPPort     int64                                     `json:"tcp_port" api:"nullable"`
	// This field can have the runtime type of
	// [DirectoryServiceUpdateResponseInfraHTTPServiceConfigTLSSettings],
	// [DirectoryServiceUpdateResponseInfraTCPServiceConfigTLSSettings].
	TLSSettings interface{}                        `json:"tls_settings"`
	UpdatedAt   time.Time                          `json:"updated_at" format:"date-time"`
	JSON        directoryServiceUpdateResponseJSON `json:"-"`
	// contains filtered or unexported fields
}

func (DirectoryServiceUpdateResponse) AsUnion

AsUnion returns a DirectoryServiceUpdateResponseUnion interface which you can cast to the specific types for more type safety.

Possible runtime types of the union are DirectoryServiceUpdateResponseInfraHTTPServiceConfig, DirectoryServiceUpdateResponseInfraTCPServiceConfig.

func (*DirectoryServiceUpdateResponse) UnmarshalJSON

func (r *DirectoryServiceUpdateResponse) UnmarshalJSON(data []byte) (err error)

type DirectoryServiceUpdateResponseAppProtocol

type DirectoryServiceUpdateResponseAppProtocol string
const (
	DirectoryServiceUpdateResponseAppProtocolPostgresql DirectoryServiceUpdateResponseAppProtocol = "postgresql"
	DirectoryServiceUpdateResponseAppProtocolMysql      DirectoryServiceUpdateResponseAppProtocol = "mysql"
)

func (DirectoryServiceUpdateResponseAppProtocol) IsKnown

type DirectoryServiceUpdateResponseEnvelope

type DirectoryServiceUpdateResponseEnvelope struct {
	Errors   []DirectoryServiceUpdateResponseEnvelopeErrors   `json:"errors" api:"required"`
	Messages []DirectoryServiceUpdateResponseEnvelopeMessages `json:"messages" api:"required"`
	// Whether the API call was successful.
	Success DirectoryServiceUpdateResponseEnvelopeSuccess `json:"success" api:"required"`
	Result  DirectoryServiceUpdateResponse                `json:"result"`
	JSON    directoryServiceUpdateResponseEnvelopeJSON    `json:"-"`
}

func (*DirectoryServiceUpdateResponseEnvelope) UnmarshalJSON

func (r *DirectoryServiceUpdateResponseEnvelope) UnmarshalJSON(data []byte) (err error)

type DirectoryServiceUpdateResponseEnvelopeErrors

type DirectoryServiceUpdateResponseEnvelopeErrors struct {
	Code             int64                                              `json:"code" api:"required"`
	Message          string                                             `json:"message" api:"required"`
	DocumentationURL string                                             `json:"documentation_url"`
	Source           DirectoryServiceUpdateResponseEnvelopeErrorsSource `json:"source"`
	JSON             directoryServiceUpdateResponseEnvelopeErrorsJSON   `json:"-"`
}

func (*DirectoryServiceUpdateResponseEnvelopeErrors) UnmarshalJSON

func (r *DirectoryServiceUpdateResponseEnvelopeErrors) UnmarshalJSON(data []byte) (err error)

type DirectoryServiceUpdateResponseEnvelopeErrorsSource

type DirectoryServiceUpdateResponseEnvelopeErrorsSource struct {
	Pointer string                                                 `json:"pointer"`
	JSON    directoryServiceUpdateResponseEnvelopeErrorsSourceJSON `json:"-"`
}

func (*DirectoryServiceUpdateResponseEnvelopeErrorsSource) UnmarshalJSON

func (r *DirectoryServiceUpdateResponseEnvelopeErrorsSource) UnmarshalJSON(data []byte) (err error)

type DirectoryServiceUpdateResponseEnvelopeMessages

type DirectoryServiceUpdateResponseEnvelopeMessages struct {
	Code             int64                                                `json:"code" api:"required"`
	Message          string                                               `json:"message" api:"required"`
	DocumentationURL string                                               `json:"documentation_url"`
	Source           DirectoryServiceUpdateResponseEnvelopeMessagesSource `json:"source"`
	JSON             directoryServiceUpdateResponseEnvelopeMessagesJSON   `json:"-"`
}

func (*DirectoryServiceUpdateResponseEnvelopeMessages) UnmarshalJSON

func (r *DirectoryServiceUpdateResponseEnvelopeMessages) UnmarshalJSON(data []byte) (err error)

type DirectoryServiceUpdateResponseEnvelopeMessagesSource

type DirectoryServiceUpdateResponseEnvelopeMessagesSource struct {
	Pointer string                                                   `json:"pointer"`
	JSON    directoryServiceUpdateResponseEnvelopeMessagesSourceJSON `json:"-"`
}

func (*DirectoryServiceUpdateResponseEnvelopeMessagesSource) UnmarshalJSON

func (r *DirectoryServiceUpdateResponseEnvelopeMessagesSource) UnmarshalJSON(data []byte) (err error)

type DirectoryServiceUpdateResponseEnvelopeSuccess

type DirectoryServiceUpdateResponseEnvelopeSuccess bool

Whether the API call was successful.

const (
	DirectoryServiceUpdateResponseEnvelopeSuccessTrue DirectoryServiceUpdateResponseEnvelopeSuccess = true
)

func (DirectoryServiceUpdateResponseEnvelopeSuccess) IsKnown

type DirectoryServiceUpdateResponseInfraHTTPServiceConfig

type DirectoryServiceUpdateResponseInfraHTTPServiceConfig struct {
	Host      DirectoryServiceUpdateResponseInfraHTTPServiceConfigHost `json:"host" api:"required"`
	Name      string                                                   `json:"name" api:"required"`
	Type      DirectoryServiceUpdateResponseInfraHTTPServiceConfigType `json:"type" api:"required"`
	CreatedAt time.Time                                                `json:"created_at" format:"date-time"`
	HTTPPort  int64                                                    `json:"http_port" api:"nullable"`
	HTTPSPort int64                                                    `json:"https_port" api:"nullable"`
	ServiceID string                                                   `json:"service_id" format:"uuid"`
	// TLS settings for a connectivity service.
	//
	// If omitted, the default mode (`verify_full`) is used.
	TLSSettings DirectoryServiceUpdateResponseInfraHTTPServiceConfigTLSSettings `json:"tls_settings" api:"nullable"`
	UpdatedAt   time.Time                                                       `json:"updated_at" format:"date-time"`
	JSON        directoryServiceUpdateResponseInfraHTTPServiceConfigJSON        `json:"-"`
}

func (*DirectoryServiceUpdateResponseInfraHTTPServiceConfig) UnmarshalJSON

func (r *DirectoryServiceUpdateResponseInfraHTTPServiceConfig) UnmarshalJSON(data []byte) (err error)

type DirectoryServiceUpdateResponseInfraHTTPServiceConfigHost

type DirectoryServiceUpdateResponseInfraHTTPServiceConfigHost struct {
	Hostname string `json:"hostname"`
	IPV4     string `json:"ipv4"`
	IPV6     string `json:"ipv6"`
	// This field can have the runtime type of
	// [DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraIPv4HostNetwork],
	// [DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraIPv6HostNetwork],
	// [DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraDualStackHostNetwork].
	Network interface{} `json:"network"`
	// This field can have the runtime type of
	// [DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraHostnameHostResolverNetwork].
	ResolverNetwork interface{}                                                  `json:"resolver_network"`
	JSON            directoryServiceUpdateResponseInfraHTTPServiceConfigHostJSON `json:"-"`
	// contains filtered or unexported fields
}

func (*DirectoryServiceUpdateResponseInfraHTTPServiceConfigHost) UnmarshalJSON

type DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraDualStackHost

type DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraDualStackHost struct {
	IPV4    string                                                                            `json:"ipv4" api:"required"`
	IPV6    string                                                                            `json:"ipv6" api:"required"`
	Network DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraDualStackHostNetwork `json:"network" api:"required"`
	JSON    directoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraDualStackHostJSON    `json:"-"`
}

func (*DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraDualStackHost) UnmarshalJSON

type DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraDualStackHostNetwork

type DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraDualStackHostNetwork struct {
	TunnelID string                                                                                `json:"tunnel_id" api:"required" format:"uuid"`
	JSON     directoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraDualStackHostNetworkJSON `json:"-"`
}

func (*DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraDualStackHostNetwork) UnmarshalJSON

type DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraHostnameHost

type DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraHostnameHost struct {
	Hostname        string                                                                                   `json:"hostname" api:"required"`
	ResolverNetwork DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraHostnameHostResolverNetwork `json:"resolver_network" api:"required"`
	JSON            directoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraHostnameHostJSON            `json:"-"`
}

func (*DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraHostnameHost) UnmarshalJSON

type DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraHostnameHostResolverNetwork

type DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraHostnameHostResolverNetwork struct {
	TunnelID    string                                                                                       `json:"tunnel_id" api:"required" format:"uuid"`
	ResolverIPs []string                                                                                     `json:"resolver_ips" api:"nullable"`
	JSON        directoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraHostnameHostResolverNetworkJSON `json:"-"`
}

func (*DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraHostnameHostResolverNetwork) UnmarshalJSON

type DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraIPv4Host

type DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraIPv4Host struct {
	IPV4    string                                                                       `json:"ipv4" api:"required"`
	Network DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraIPv4HostNetwork `json:"network" api:"required"`
	JSON    directoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraIPv4HostJSON    `json:"-"`
}

func (*DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraIPv4Host) UnmarshalJSON

type DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraIPv4HostNetwork

type DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraIPv4HostNetwork struct {
	TunnelID string                                                                           `json:"tunnel_id" api:"required" format:"uuid"`
	JSON     directoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraIPv4HostNetworkJSON `json:"-"`
}

func (*DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraIPv4HostNetwork) UnmarshalJSON

type DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraIPv6Host

type DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraIPv6Host struct {
	IPV6    string                                                                       `json:"ipv6" api:"required"`
	Network DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraIPv6HostNetwork `json:"network" api:"required"`
	JSON    directoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraIPv6HostJSON    `json:"-"`
}

func (*DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraIPv6Host) UnmarshalJSON

type DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraIPv6HostNetwork

type DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraIPv6HostNetwork struct {
	TunnelID string                                                                           `json:"tunnel_id" api:"required" format:"uuid"`
	JSON     directoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraIPv6HostNetworkJSON `json:"-"`
}

func (*DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraIPv6HostNetwork) UnmarshalJSON

type DirectoryServiceUpdateResponseInfraHTTPServiceConfigTLSSettings

type DirectoryServiceUpdateResponseInfraHTTPServiceConfigTLSSettings struct {
	// TLS certificate verification mode for the connection to the origin.
	//
	// - `"verify_full"` — verify certificate chain and hostname (default)
	// - `"verify_ca"` — verify certificate chain only, skip hostname check
	// - `"disabled"` — do not verify the server certificate at all
	CERTVerificationMode string                                                              `json:"cert_verification_mode" api:"required"`
	JSON                 directoryServiceUpdateResponseInfraHTTPServiceConfigTLSSettingsJSON `json:"-"`
}

TLS settings for a connectivity service.

If omitted, the default mode (`verify_full`) is used.

func (*DirectoryServiceUpdateResponseInfraHTTPServiceConfigTLSSettings) UnmarshalJSON

type DirectoryServiceUpdateResponseInfraHTTPServiceConfigType

type DirectoryServiceUpdateResponseInfraHTTPServiceConfigType string
const (
	DirectoryServiceUpdateResponseInfraHTTPServiceConfigTypeTCP  DirectoryServiceUpdateResponseInfraHTTPServiceConfigType = "tcp"
	DirectoryServiceUpdateResponseInfraHTTPServiceConfigTypeHTTP DirectoryServiceUpdateResponseInfraHTTPServiceConfigType = "http"
)

func (DirectoryServiceUpdateResponseInfraHTTPServiceConfigType) IsKnown

type DirectoryServiceUpdateResponseInfraTCPServiceConfig

type DirectoryServiceUpdateResponseInfraTCPServiceConfig struct {
	Host        DirectoryServiceUpdateResponseInfraTCPServiceConfigHost        `json:"host" api:"required"`
	Name        string                                                         `json:"name" api:"required"`
	Type        DirectoryServiceUpdateResponseInfraTCPServiceConfigType        `json:"type" api:"required"`
	AppProtocol DirectoryServiceUpdateResponseInfraTCPServiceConfigAppProtocol `json:"app_protocol" api:"nullable"`
	CreatedAt   time.Time                                                      `json:"created_at" format:"date-time"`
	ServiceID   string                                                         `json:"service_id" format:"uuid"`
	TCPPort     int64                                                          `json:"tcp_port" api:"nullable"`
	// TLS settings for a connectivity service.
	//
	// If omitted, the default mode (`verify_full`) is used.
	TLSSettings DirectoryServiceUpdateResponseInfraTCPServiceConfigTLSSettings `json:"tls_settings" api:"nullable"`
	UpdatedAt   time.Time                                                      `json:"updated_at" format:"date-time"`
	JSON        directoryServiceUpdateResponseInfraTCPServiceConfigJSON        `json:"-"`
}

func (*DirectoryServiceUpdateResponseInfraTCPServiceConfig) UnmarshalJSON

func (r *DirectoryServiceUpdateResponseInfraTCPServiceConfig) UnmarshalJSON(data []byte) (err error)

type DirectoryServiceUpdateResponseInfraTCPServiceConfigAppProtocol

type DirectoryServiceUpdateResponseInfraTCPServiceConfigAppProtocol string
const (
	DirectoryServiceUpdateResponseInfraTCPServiceConfigAppProtocolPostgresql DirectoryServiceUpdateResponseInfraTCPServiceConfigAppProtocol = "postgresql"
	DirectoryServiceUpdateResponseInfraTCPServiceConfigAppProtocolMysql      DirectoryServiceUpdateResponseInfraTCPServiceConfigAppProtocol = "mysql"
)

func (DirectoryServiceUpdateResponseInfraTCPServiceConfigAppProtocol) IsKnown

type DirectoryServiceUpdateResponseInfraTCPServiceConfigHost

type DirectoryServiceUpdateResponseInfraTCPServiceConfigHost struct {
	Hostname string `json:"hostname"`
	IPV4     string `json:"ipv4"`
	IPV6     string `json:"ipv6"`
	// This field can have the runtime type of
	// [DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraIPv4HostNetwork],
	// [DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraIPv6HostNetwork],
	// [DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraDualStackHostNetwork].
	Network interface{} `json:"network"`
	// This field can have the runtime type of
	// [DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraHostnameHostResolverNetwork].
	ResolverNetwork interface{}                                                 `json:"resolver_network"`
	JSON            directoryServiceUpdateResponseInfraTCPServiceConfigHostJSON `json:"-"`
	// contains filtered or unexported fields
}

func (*DirectoryServiceUpdateResponseInfraTCPServiceConfigHost) UnmarshalJSON

type DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraDualStackHost

type DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraDualStackHost struct {
	IPV4    string                                                                           `json:"ipv4" api:"required"`
	IPV6    string                                                                           `json:"ipv6" api:"required"`
	Network DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraDualStackHostNetwork `json:"network" api:"required"`
	JSON    directoryServiceUpdateResponseInfraTCPServiceConfigHostInfraDualStackHostJSON    `json:"-"`
}

func (*DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraDualStackHost) UnmarshalJSON

type DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraDualStackHostNetwork

type DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraDualStackHostNetwork struct {
	TunnelID string                                                                               `json:"tunnel_id" api:"required" format:"uuid"`
	JSON     directoryServiceUpdateResponseInfraTCPServiceConfigHostInfraDualStackHostNetworkJSON `json:"-"`
}

func (*DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraDualStackHostNetwork) UnmarshalJSON

type DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraHostnameHost

type DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraHostnameHost struct {
	Hostname        string                                                                                  `json:"hostname" api:"required"`
	ResolverNetwork DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraHostnameHostResolverNetwork `json:"resolver_network" api:"required"`
	JSON            directoryServiceUpdateResponseInfraTCPServiceConfigHostInfraHostnameHostJSON            `json:"-"`
}

func (*DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraHostnameHost) UnmarshalJSON

type DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraHostnameHostResolverNetwork

type DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraHostnameHostResolverNetwork struct {
	TunnelID    string                                                                                      `json:"tunnel_id" api:"required" format:"uuid"`
	ResolverIPs []string                                                                                    `json:"resolver_ips" api:"nullable"`
	JSON        directoryServiceUpdateResponseInfraTCPServiceConfigHostInfraHostnameHostResolverNetworkJSON `json:"-"`
}

func (*DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraHostnameHostResolverNetwork) UnmarshalJSON

type DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraIPv4Host

type DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraIPv4Host struct {
	IPV4    string                                                                      `json:"ipv4" api:"required"`
	Network DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraIPv4HostNetwork `json:"network" api:"required"`
	JSON    directoryServiceUpdateResponseInfraTCPServiceConfigHostInfraIPv4HostJSON    `json:"-"`
}

func (*DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraIPv4Host) UnmarshalJSON

type DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraIPv4HostNetwork

type DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraIPv4HostNetwork struct {
	TunnelID string                                                                          `json:"tunnel_id" api:"required" format:"uuid"`
	JSON     directoryServiceUpdateResponseInfraTCPServiceConfigHostInfraIPv4HostNetworkJSON `json:"-"`
}

func (*DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraIPv4HostNetwork) UnmarshalJSON

type DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraIPv6Host

type DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraIPv6Host struct {
	IPV6    string                                                                      `json:"ipv6" api:"required"`
	Network DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraIPv6HostNetwork `json:"network" api:"required"`
	JSON    directoryServiceUpdateResponseInfraTCPServiceConfigHostInfraIPv6HostJSON    `json:"-"`
}

func (*DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraIPv6Host) UnmarshalJSON

type DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraIPv6HostNetwork

type DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraIPv6HostNetwork struct {
	TunnelID string                                                                          `json:"tunnel_id" api:"required" format:"uuid"`
	JSON     directoryServiceUpdateResponseInfraTCPServiceConfigHostInfraIPv6HostNetworkJSON `json:"-"`
}

func (*DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraIPv6HostNetwork) UnmarshalJSON

type DirectoryServiceUpdateResponseInfraTCPServiceConfigTLSSettings

type DirectoryServiceUpdateResponseInfraTCPServiceConfigTLSSettings struct {
	// TLS certificate verification mode for the connection to the origin.
	//
	// - `"verify_full"` — verify certificate chain and hostname (default)
	// - `"verify_ca"` — verify certificate chain only, skip hostname check
	// - `"disabled"` — do not verify the server certificate at all
	CERTVerificationMode string                                                             `json:"cert_verification_mode" api:"required"`
	JSON                 directoryServiceUpdateResponseInfraTCPServiceConfigTLSSettingsJSON `json:"-"`
}

TLS settings for a connectivity service.

If omitted, the default mode (`verify_full`) is used.

func (*DirectoryServiceUpdateResponseInfraTCPServiceConfigTLSSettings) UnmarshalJSON

type DirectoryServiceUpdateResponseInfraTCPServiceConfigType

type DirectoryServiceUpdateResponseInfraTCPServiceConfigType string
const (
	DirectoryServiceUpdateResponseInfraTCPServiceConfigTypeTCP  DirectoryServiceUpdateResponseInfraTCPServiceConfigType = "tcp"
	DirectoryServiceUpdateResponseInfraTCPServiceConfigTypeHTTP DirectoryServiceUpdateResponseInfraTCPServiceConfigType = "http"
)

func (DirectoryServiceUpdateResponseInfraTCPServiceConfigType) IsKnown

type DirectoryServiceUpdateResponseType

type DirectoryServiceUpdateResponseType string
const (
	DirectoryServiceUpdateResponseTypeTCP  DirectoryServiceUpdateResponseType = "tcp"
	DirectoryServiceUpdateResponseTypeHTTP DirectoryServiceUpdateResponseType = "http"
)

func (DirectoryServiceUpdateResponseType) IsKnown

type DirectoryServiceUpdateResponseUnion

type DirectoryServiceUpdateResponseUnion interface {
	// contains filtered or unexported methods
}

Union satisfied by DirectoryServiceUpdateResponseInfraHTTPServiceConfig or DirectoryServiceUpdateResponseInfraTCPServiceConfig.

type Error

type Error = apierror.Error

type ErrorData

type ErrorData = shared.ErrorData

This is an alias to an internal type.

type ErrorDataSource

type ErrorDataSource = shared.ErrorDataSource

This is an alias to an internal type.

type Member

type Member = shared.Member

This is an alias to an internal type.

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 MemberPolicy

type MemberPolicy = shared.MemberPolicy

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 Permission

type Permission = shared.Permission

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 RatePlan

type RatePlan = shared.RatePlan

The rate plan applied to the subscription.

This is an alias to an internal type.

type RatePlanID

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 ResponseInfo

type ResponseInfo = shared.ResponseInfo

This is an alias to an internal type.

type ResponseInfoSource

type ResponseInfoSource = shared.ResponseInfoSource

This is an alias to an internal type.

type Role

type Role = shared.Role

This is an alias to an internal type.

type RoleParam

type RoleParam = shared.RoleParam

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 Subscription

type Subscription = shared.Subscription

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 Token

type Token = shared.Token

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 TokenParam

type TokenParam = shared.TokenParam

This is an alias to an internal type.

type TokenPolicy

type TokenPolicy = shared.TokenPolicy

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 TokenPolicyResourcesIAMResourcesTypeObjectNested

type TokenPolicyResourcesIAMResourcesTypeObjectNested = shared.TokenPolicyResourcesIAMResourcesTypeObjectNested

Map of nested resource permissions

This is an alias to an internal type.

type TokenPolicyResourcesIAMResourcesTypeObjectNestedParam

type TokenPolicyResourcesIAMResourcesTypeObjectNestedParam = shared.TokenPolicyResourcesIAMResourcesTypeObjectNestedParam

Map of nested resource permissions

This is an alias to an internal type.

type TokenPolicyResourcesIAMResourcesTypeObjectString

type TokenPolicyResourcesIAMResourcesTypeObjectString = shared.TokenPolicyResourcesIAMResourcesTypeObjectString

Map of simple string resource permissions

This is an alias to an internal type.

type TokenPolicyResourcesIAMResourcesTypeObjectStringParam

type TokenPolicyResourcesIAMResourcesTypeObjectStringParam = shared.TokenPolicyResourcesIAMResourcesTypeObjectStringParam

Map of simple string resource permissions

This is an alias to an internal type.

type TokenPolicyResourcesUnion

type TokenPolicyResourcesUnion = shared.TokenPolicyResourcesUnion

A list of resource names that the policy applies to.

This is an alias to an internal type.

type TokenPolicyResourcesUnionParam

type TokenPolicyResourcesUnionParam = shared.TokenPolicyResourcesUnionParam

A list of resource names that the policy applies to.

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL