Documentation
¶
Index ¶
- Constants
- type ASN
- type ASNParam
- type AuditLog
- type AuditLogAction
- type AuditLogActor
- type AuditLogActorType
- type AuditLogOwner
- type AuditLogResource
- type CertificateCA
- type CertificateRequestType
- type CloudflareTunnel
- type CloudflareTunnelConfigSrc
- type CloudflareTunnelConnection
- type CloudflareTunnelStatus
- type CloudflareTunnelTunType
- type ConnectivityService
- type DirectoryService
- type DirectoryServiceDeleteParams
- type DirectoryServiceGetParams
- type DirectoryServiceGetResponse
- type DirectoryServiceGetResponseAppProtocol
- type DirectoryServiceGetResponseEnvelope
- type DirectoryServiceGetResponseEnvelopeErrors
- type DirectoryServiceGetResponseEnvelopeErrorsSource
- type DirectoryServiceGetResponseEnvelopeMessages
- type DirectoryServiceGetResponseEnvelopeMessagesSource
- type DirectoryServiceGetResponseEnvelopeSuccess
- type DirectoryServiceGetResponseInfraHTTPServiceConfig
- type DirectoryServiceGetResponseInfraHTTPServiceConfigHost
- type DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraDualStackHost
- type DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraDualStackHostNetwork
- type DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraHostnameHost
- type DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraHostnameHostResolverNetwork
- type DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraIPv4Host
- type DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraIPv4HostNetwork
- type DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraIPv6Host
- type DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraIPv6HostNetwork
- type DirectoryServiceGetResponseInfraHTTPServiceConfigHostUnion
- type DirectoryServiceGetResponseInfraHTTPServiceConfigTLSSettings
- type DirectoryServiceGetResponseInfraHTTPServiceConfigType
- type DirectoryServiceGetResponseInfraTCPServiceConfig
- type DirectoryServiceGetResponseInfraTCPServiceConfigAppProtocol
- type DirectoryServiceGetResponseInfraTCPServiceConfigHost
- type DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraDualStackHost
- type DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraDualStackHostNetwork
- type DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraHostnameHost
- type DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraHostnameHostResolverNetwork
- type DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraIPv4Host
- type DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraIPv4HostNetwork
- type DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraIPv6Host
- type DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraIPv6HostNetwork
- type DirectoryServiceGetResponseInfraTCPServiceConfigHostUnion
- type DirectoryServiceGetResponseInfraTCPServiceConfigTLSSettings
- type DirectoryServiceGetResponseInfraTCPServiceConfigType
- type DirectoryServiceGetResponseType
- type DirectoryServiceGetResponseUnion
- type DirectoryServiceListParams
- type DirectoryServiceListParamsType
- type DirectoryServiceListResponse
- type DirectoryServiceListResponseAppProtocol
- type DirectoryServiceListResponseInfraHTTPServiceConfig
- type DirectoryServiceListResponseInfraHTTPServiceConfigHost
- type DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraDualStackHost
- type DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraDualStackHostNetwork
- type DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraHostnameHost
- type DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraHostnameHostResolverNetwork
- type DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraIPv4Host
- type DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraIPv4HostNetwork
- type DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraIPv6Host
- type DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraIPv6HostNetwork
- type DirectoryServiceListResponseInfraHTTPServiceConfigHostUnion
- type DirectoryServiceListResponseInfraHTTPServiceConfigTLSSettings
- type DirectoryServiceListResponseInfraHTTPServiceConfigType
- type DirectoryServiceListResponseInfraTCPServiceConfig
- type DirectoryServiceListResponseInfraTCPServiceConfigAppProtocol
- type DirectoryServiceListResponseInfraTCPServiceConfigHost
- type DirectoryServiceListResponseInfraTCPServiceConfigHostInfraDualStackHost
- type DirectoryServiceListResponseInfraTCPServiceConfigHostInfraDualStackHostNetwork
- type DirectoryServiceListResponseInfraTCPServiceConfigHostInfraHostnameHost
- type DirectoryServiceListResponseInfraTCPServiceConfigHostInfraHostnameHostResolverNetwork
- type DirectoryServiceListResponseInfraTCPServiceConfigHostInfraIPv4Host
- type DirectoryServiceListResponseInfraTCPServiceConfigHostInfraIPv4HostNetwork
- type DirectoryServiceListResponseInfraTCPServiceConfigHostInfraIPv6Host
- type DirectoryServiceListResponseInfraTCPServiceConfigHostInfraIPv6HostNetwork
- type DirectoryServiceListResponseInfraTCPServiceConfigHostUnion
- type DirectoryServiceListResponseInfraTCPServiceConfigTLSSettings
- type DirectoryServiceListResponseInfraTCPServiceConfigType
- type DirectoryServiceListResponseType
- type DirectoryServiceListResponseUnion
- type DirectoryServiceNewParams
- type DirectoryServiceNewParamsBody
- type DirectoryServiceNewParamsBodyAppProtocol
- type DirectoryServiceNewParamsBodyInfraHTTPServiceConfig
- type DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHost
- type DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraDualStackHost
- type DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraDualStackHostNetwork
- type DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraHostnameHost
- type DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraHostnameHostResolverNetwork
- type DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraIPv4Host
- type DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraIPv4HostNetwork
- type DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraIPv6Host
- type DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraIPv6HostNetwork
- type DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostUnion
- type DirectoryServiceNewParamsBodyInfraHTTPServiceConfigTLSSettings
- type DirectoryServiceNewParamsBodyInfraHTTPServiceConfigType
- type DirectoryServiceNewParamsBodyInfraTCPServiceConfig
- type DirectoryServiceNewParamsBodyInfraTCPServiceConfigAppProtocol
- type DirectoryServiceNewParamsBodyInfraTCPServiceConfigHost
- type DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraDualStackHost
- type DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraDualStackHostNetwork
- type DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraHostnameHost
- type DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraHostnameHostResolverNetwork
- type DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraIPv4Host
- type DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraIPv4HostNetwork
- type DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraIPv6Host
- type DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraIPv6HostNetwork
- type DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostUnion
- type DirectoryServiceNewParamsBodyInfraTCPServiceConfigTLSSettings
- type DirectoryServiceNewParamsBodyInfraTCPServiceConfigType
- type DirectoryServiceNewParamsBodyType
- type DirectoryServiceNewParamsBodyUnion
- type DirectoryServiceNewResponse
- type DirectoryServiceNewResponseAppProtocol
- type DirectoryServiceNewResponseEnvelope
- type DirectoryServiceNewResponseEnvelopeErrors
- type DirectoryServiceNewResponseEnvelopeErrorsSource
- type DirectoryServiceNewResponseEnvelopeMessages
- type DirectoryServiceNewResponseEnvelopeMessagesSource
- type DirectoryServiceNewResponseEnvelopeSuccess
- type DirectoryServiceNewResponseInfraHTTPServiceConfig
- type DirectoryServiceNewResponseInfraHTTPServiceConfigHost
- type DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraDualStackHost
- type DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraDualStackHostNetwork
- type DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraHostnameHost
- type DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraHostnameHostResolverNetwork
- type DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraIPv4Host
- type DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraIPv4HostNetwork
- type DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraIPv6Host
- type DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraIPv6HostNetwork
- type DirectoryServiceNewResponseInfraHTTPServiceConfigHostUnion
- type DirectoryServiceNewResponseInfraHTTPServiceConfigTLSSettings
- type DirectoryServiceNewResponseInfraHTTPServiceConfigType
- type DirectoryServiceNewResponseInfraTCPServiceConfig
- type DirectoryServiceNewResponseInfraTCPServiceConfigAppProtocol
- type DirectoryServiceNewResponseInfraTCPServiceConfigHost
- type DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraDualStackHost
- type DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraDualStackHostNetwork
- type DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraHostnameHost
- type DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraHostnameHostResolverNetwork
- type DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraIPv4Host
- type DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraIPv4HostNetwork
- type DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraIPv6Host
- type DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraIPv6HostNetwork
- type DirectoryServiceNewResponseInfraTCPServiceConfigHostUnion
- type DirectoryServiceNewResponseInfraTCPServiceConfigTLSSettings
- type DirectoryServiceNewResponseInfraTCPServiceConfigType
- type DirectoryServiceNewResponseType
- type DirectoryServiceNewResponseUnion
- type DirectoryServiceService
- func (r *DirectoryServiceService) Delete(ctx context.Context, serviceID string, body DirectoryServiceDeleteParams, ...) (err error)
- func (r *DirectoryServiceService) Get(ctx context.Context, serviceID string, query DirectoryServiceGetParams, ...) (res *DirectoryServiceGetResponse, err error)
- func (r *DirectoryServiceService) List(ctx context.Context, params DirectoryServiceListParams, ...) (res *pagination.V4PagePaginationArray[DirectoryServiceListResponse], err error)
- func (r *DirectoryServiceService) ListAutoPaging(ctx context.Context, params DirectoryServiceListParams, ...) *pagination.V4PagePaginationArrayAutoPager[DirectoryServiceListResponse]
- func (r *DirectoryServiceService) New(ctx context.Context, params DirectoryServiceNewParams, ...) (res *DirectoryServiceNewResponse, err error)
- func (r *DirectoryServiceService) Update(ctx context.Context, serviceID string, params DirectoryServiceUpdateParams, ...) (res *DirectoryServiceUpdateResponse, err error)
- type DirectoryServiceUpdateParams
- type DirectoryServiceUpdateParamsBody
- type DirectoryServiceUpdateParamsBodyAppProtocol
- type DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfig
- type DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHost
- type DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraDualStackHost
- type DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraDualStackHostNetwork
- type DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraHostnameHost
- type DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraHostnameHostResolverNetwork
- type DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraIPv4Host
- type DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraIPv4HostNetwork
- type DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraIPv6Host
- type DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraIPv6HostNetwork
- type DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostUnion
- type DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigTLSSettings
- type DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigType
- type DirectoryServiceUpdateParamsBodyInfraTCPServiceConfig
- type DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigAppProtocol
- type DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHost
- type DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraDualStackHost
- type DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraDualStackHostNetwork
- type DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraHostnameHost
- type DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraHostnameHostResolverNetwork
- type DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraIPv4Host
- type DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraIPv4HostNetwork
- type DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraIPv6Host
- type DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraIPv6HostNetwork
- type DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostUnion
- type DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigTLSSettings
- type DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigType
- type DirectoryServiceUpdateParamsBodyType
- type DirectoryServiceUpdateParamsBodyUnion
- type DirectoryServiceUpdateResponse
- type DirectoryServiceUpdateResponseAppProtocol
- type DirectoryServiceUpdateResponseEnvelope
- type DirectoryServiceUpdateResponseEnvelopeErrors
- type DirectoryServiceUpdateResponseEnvelopeErrorsSource
- type DirectoryServiceUpdateResponseEnvelopeMessages
- type DirectoryServiceUpdateResponseEnvelopeMessagesSource
- type DirectoryServiceUpdateResponseEnvelopeSuccess
- type DirectoryServiceUpdateResponseInfraHTTPServiceConfig
- type DirectoryServiceUpdateResponseInfraHTTPServiceConfigHost
- type DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraDualStackHost
- type DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraDualStackHostNetwork
- type DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraHostnameHost
- type DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraHostnameHostResolverNetwork
- type DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraIPv4Host
- type DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraIPv4HostNetwork
- type DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraIPv6Host
- type DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraIPv6HostNetwork
- type DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostUnion
- type DirectoryServiceUpdateResponseInfraHTTPServiceConfigTLSSettings
- type DirectoryServiceUpdateResponseInfraHTTPServiceConfigType
- type DirectoryServiceUpdateResponseInfraTCPServiceConfig
- type DirectoryServiceUpdateResponseInfraTCPServiceConfigAppProtocol
- type DirectoryServiceUpdateResponseInfraTCPServiceConfigHost
- type DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraDualStackHost
- type DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraDualStackHostNetwork
- type DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraHostnameHost
- type DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraHostnameHostResolverNetwork
- type DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraIPv4Host
- type DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraIPv4HostNetwork
- type DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraIPv6Host
- type DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraIPv6HostNetwork
- type DirectoryServiceUpdateResponseInfraTCPServiceConfigHostUnion
- type DirectoryServiceUpdateResponseInfraTCPServiceConfigTLSSettings
- type DirectoryServiceUpdateResponseInfraTCPServiceConfigType
- type DirectoryServiceUpdateResponseType
- type DirectoryServiceUpdateResponseUnion
- type Error
- type ErrorData
- type ErrorDataSource
- type Member
- type MemberPoliciesAccess
- type MemberPoliciesPermissionGroup
- type MemberPoliciesPermissionGroupsMeta
- type MemberPoliciesResourceGroup
- type MemberPoliciesResourceGroupsMeta
- type MemberPoliciesResourceGroupsScope
- type MemberPoliciesResourceGroupsScopeObject
- type MemberPolicy
- type MemberStatus
- type MemberUser
- type Permission
- type PermissionGrant
- type PermissionGrantParam
- type RatePlan
- type RatePlanID
- type RatePlanParam
- type ResponseInfo
- type ResponseInfoSource
- type Role
- type RoleParam
- type RolePermissions
- type RolePermissionsParam
- type SortDirection
- type Subscription
- type SubscriptionFrequency
- type SubscriptionParam
- type SubscriptionState
- type Token
- type TokenCondition
- type TokenConditionCIDRList
- type TokenConditionCIDRListParam
- type TokenConditionParam
- type TokenConditionRequestIP
- type TokenConditionRequestIPParam
- type TokenParam
- type TokenPolicy
- type TokenPolicyEffect
- type TokenPolicyParam
- type TokenPolicyPermissionGroup
- type TokenPolicyPermissionGroupParam
- type TokenPolicyPermissionGroupsMeta
- type TokenPolicyPermissionGroupsMetaParam
- type TokenPolicyResourcesIAMResourcesTypeObjectNested
- type TokenPolicyResourcesIAMResourcesTypeObjectNestedParam
- type TokenPolicyResourcesIAMResourcesTypeObjectString
- type TokenPolicyResourcesIAMResourcesTypeObjectStringParam
- type TokenPolicyResourcesUnion
- type TokenPolicyResourcesUnionParam
- type TokenStatus
- type TokenValue
Constants ¶
const AuditLogActorTypeAdmin = shared.AuditLogActorTypeAdmin
This is an alias to an internal value.
const AuditLogActorTypeCloudflare = shared.AuditLogActorTypeCloudflare
This is an alias to an internal value.
const AuditLogActorTypeUser = shared.AuditLogActorTypeUser
This is an alias to an internal value.
const CertificateCADigicert = shared.CertificateCADigicert
This is an alias to an internal value.
const CertificateCAGoogle = shared.CertificateCAGoogle
This is an alias to an internal value.
const CertificateCALetsEncrypt = shared.CertificateCALetsEncrypt
This is an alias to an internal value.
const CertificateCASSLCom = shared.CertificateCASSLCom
This is an alias to an internal value.
const CertificateRequestTypeKeylessCertificate = shared.CertificateRequestTypeKeylessCertificate
This is an alias to an internal value.
const CertificateRequestTypeOriginECC = shared.CertificateRequestTypeOriginECC
This is an alias to an internal value.
const CertificateRequestTypeOriginRSA = shared.CertificateRequestTypeOriginRSA
This is an alias to an internal value.
const CloudflareTunnelConfigSrcCloudflare = shared.CloudflareTunnelConfigSrcCloudflare
This is an alias to an internal value.
const CloudflareTunnelConfigSrcLocal = shared.CloudflareTunnelConfigSrcLocal
This is an alias to an internal value.
const CloudflareTunnelStatusDegraded = shared.CloudflareTunnelStatusDegraded
This is an alias to an internal value.
const CloudflareTunnelStatusDown = shared.CloudflareTunnelStatusDown
This is an alias to an internal value.
const CloudflareTunnelStatusHealthy = shared.CloudflareTunnelStatusHealthy
This is an alias to an internal value.
const CloudflareTunnelStatusInactive = shared.CloudflareTunnelStatusInactive
This is an alias to an internal value.
const CloudflareTunnelTunTypeCNI = shared.CloudflareTunnelTunTypeCNI
This is an alias to an internal value.
const CloudflareTunnelTunTypeCfdTunnel = shared.CloudflareTunnelTunTypeCfdTunnel
This is an alias to an internal value.
const CloudflareTunnelTunTypeGRE = shared.CloudflareTunnelTunTypeGRE
This is an alias to an internal value.
const CloudflareTunnelTunTypeIPSec = shared.CloudflareTunnelTunTypeIPSec
This is an alias to an internal value.
const CloudflareTunnelTunTypeMagic = shared.CloudflareTunnelTunTypeMagic
This is an alias to an internal value.
const CloudflareTunnelTunTypeWARP = shared.CloudflareTunnelTunTypeWARP
This is an alias to an internal value.
const CloudflareTunnelTunTypeWARPConnector = shared.CloudflareTunnelTunTypeWARPConnector
This is an alias to an internal value.
const MemberPoliciesAccessAllow = shared.MemberPoliciesAccessAllow
This is an alias to an internal value.
const MemberPoliciesAccessDeny = shared.MemberPoliciesAccessDeny
This is an alias to an internal value.
const MemberStatusAccepted = shared.MemberStatusAccepted
This is an alias to an internal value.
const MemberStatusPending = shared.MemberStatusPending
This is an alias to an internal value.
const RatePlanIDBusiness = shared.RatePlanIDBusiness
This is an alias to an internal value.
const RatePlanIDEnterprise = shared.RatePlanIDEnterprise
This is an alias to an internal value.
const RatePlanIDFree = shared.RatePlanIDFree
This is an alias to an internal value.
const RatePlanIDLite = shared.RatePlanIDLite
This is an alias to an internal value.
const RatePlanIDPartnersBusiness = shared.RatePlanIDPartnersBusiness
This is an alias to an internal value.
const RatePlanIDPartnersEnterprise = shared.RatePlanIDPartnersEnterprise
This is an alias to an internal value.
const RatePlanIDPartnersFree = shared.RatePlanIDPartnersFree
This is an alias to an internal value.
const RatePlanIDPartnersPro = shared.RatePlanIDPartnersPro
This is an alias to an internal value.
const RatePlanIDPro = shared.RatePlanIDPro
This is an alias to an internal value.
const RatePlanIDProPlus = shared.RatePlanIDProPlus
This is an alias to an internal value.
const SortDirectionAsc = shared.SortDirectionAsc
This is an alias to an internal value.
const SortDirectionDesc = shared.SortDirectionDesc
This is an alias to an internal value.
const SubscriptionFrequencyMonthly = shared.SubscriptionFrequencyMonthly
This is an alias to an internal value.
const SubscriptionFrequencyQuarterly = shared.SubscriptionFrequencyQuarterly
This is an alias to an internal value.
const SubscriptionFrequencyWeekly = shared.SubscriptionFrequencyWeekly
This is an alias to an internal value.
const SubscriptionFrequencyYearly = shared.SubscriptionFrequencyYearly
This is an alias to an internal value.
const SubscriptionStateAwaitingPayment = shared.SubscriptionStateAwaitingPayment
This is an alias to an internal value.
const SubscriptionStateCancelled = shared.SubscriptionStateCancelled
This is an alias to an internal value.
const SubscriptionStateExpired = shared.SubscriptionStateExpired
This is an alias to an internal value.
const SubscriptionStateFailed = shared.SubscriptionStateFailed
This is an alias to an internal value.
const SubscriptionStatePaid = shared.SubscriptionStatePaid
This is an alias to an internal value.
const SubscriptionStateProvisioned = shared.SubscriptionStateProvisioned
This is an alias to an internal value.
const SubscriptionStateTrial = shared.SubscriptionStateTrial
This is an alias to an internal value.
const TokenPolicyEffectAllow = shared.TokenPolicyEffectAllow
This is an alias to an internal value.
const TokenPolicyEffectDeny = shared.TokenPolicyEffectDeny
This is an alias to an internal value.
const TokenStatusActive = shared.TokenStatusActive
This is an alias to an internal value.
const TokenStatusDisabled = shared.TokenStatusDisabled
This is an alias to an internal value.
const TokenStatusExpired = shared.TokenStatusExpired
This is an alias to an internal value.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuditLogAction ¶
type AuditLogAction = shared.AuditLogAction
This is an alias to an internal type.
type AuditLogActor ¶
type AuditLogActor = shared.AuditLogActor
This is an alias to an internal type.
type AuditLogActorType ¶
type AuditLogActorType = shared.AuditLogActorType
The type of actor, whether a User, Cloudflare Admin, or an Automated System.
This is an alias to an internal type.
type AuditLogOwner ¶
type AuditLogOwner = shared.AuditLogOwner
This is an alias to an internal type.
type AuditLogResource ¶
type AuditLogResource = shared.AuditLogResource
This is an alias to an internal type.
type CertificateCA ¶
type CertificateCA = shared.CertificateCA
The Certificate Authority that will issue the certificate
This is an alias to an internal type.
type CertificateRequestType ¶
type CertificateRequestType = shared.CertificateRequestType
Signature type desired on certificate ("origin-rsa" (rsa), "origin-ecc" (ecdsa), or "keyless-certificate" (for Keyless SSL servers).
This is an alias to an internal type.
type CloudflareTunnel ¶
type CloudflareTunnel = shared.CloudflareTunnel
A Cloudflare Tunnel that connects your origin to Cloudflare's edge.
This is an alias to an internal type.
type 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 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 ¶
func (r DirectoryServiceGetResponse) AsUnion() DirectoryServiceGetResponseUnion
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 ¶
func (r DirectoryServiceGetResponseAppProtocol) IsKnown() bool
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 ¶
func (r DirectoryServiceGetResponseEnvelopeSuccess) IsKnown() bool
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) AsUnion ¶
func (r DirectoryServiceGetResponseInfraHTTPServiceConfigHost) AsUnion() DirectoryServiceGetResponseInfraHTTPServiceConfigHostUnion
AsUnion returns a DirectoryServiceGetResponseInfraHTTPServiceConfigHostUnion interface which you can cast to the specific types for more type safety.
Possible runtime types of the union are DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraIPv4Host, DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraIPv6Host, DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraDualStackHost, DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraHostnameHost.
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 ¶
func (r *DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraDualStackHost) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraDualStackHostNetwork ¶
type DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraDualStackHostNetwork struct {
TunnelID string `json:"tunnel_id" api:"required" format:"uuid"`
JSON directoryServiceGetResponseInfraHTTPServiceConfigHostInfraDualStackHostNetworkJSON `json:"-"`
}
func (*DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraDualStackHostNetwork) UnmarshalJSON ¶
func (r *DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraDualStackHostNetwork) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraHostnameHost ¶
type DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraHostnameHost struct {
Hostname string `json:"hostname" api:"required"`
ResolverNetwork DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraHostnameHostResolverNetwork `json:"resolver_network" api:"required"`
JSON directoryServiceGetResponseInfraHTTPServiceConfigHostInfraHostnameHostJSON `json:"-"`
}
func (*DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraHostnameHost) UnmarshalJSON ¶
func (r *DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraHostnameHost) UnmarshalJSON(data []byte) (err error)
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 ¶
func (r *DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraHostnameHostResolverNetwork) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraIPv4Host ¶
type DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraIPv4Host struct {
IPV4 string `json:"ipv4" api:"required"`
Network DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraIPv4HostNetwork `json:"network" api:"required"`
JSON directoryServiceGetResponseInfraHTTPServiceConfigHostInfraIPv4HostJSON `json:"-"`
}
func (*DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraIPv4Host) UnmarshalJSON ¶
func (r *DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraIPv4Host) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraIPv4HostNetwork ¶
type DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraIPv4HostNetwork struct {
TunnelID string `json:"tunnel_id" api:"required" format:"uuid"`
JSON directoryServiceGetResponseInfraHTTPServiceConfigHostInfraIPv4HostNetworkJSON `json:"-"`
}
func (*DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraIPv4HostNetwork) UnmarshalJSON ¶
func (r *DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraIPv4HostNetwork) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraIPv6Host ¶
type DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraIPv6Host struct {
IPV6 string `json:"ipv6" api:"required"`
Network DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraIPv6HostNetwork `json:"network" api:"required"`
JSON directoryServiceGetResponseInfraHTTPServiceConfigHostInfraIPv6HostJSON `json:"-"`
}
func (*DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraIPv6Host) UnmarshalJSON ¶
func (r *DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraIPv6Host) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraIPv6HostNetwork ¶
type DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraIPv6HostNetwork struct {
TunnelID string `json:"tunnel_id" api:"required" format:"uuid"`
JSON directoryServiceGetResponseInfraHTTPServiceConfigHostInfraIPv6HostNetworkJSON `json:"-"`
}
func (*DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraIPv6HostNetwork) UnmarshalJSON ¶
func (r *DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraIPv6HostNetwork) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceGetResponseInfraHTTPServiceConfigHostUnion ¶
type DirectoryServiceGetResponseInfraHTTPServiceConfigHostUnion interface {
// contains filtered or unexported methods
}
Union satisfied by DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraIPv4Host, DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraIPv6Host, DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraDualStackHost or DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraHostnameHost.
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 ¶
func (r *DirectoryServiceGetResponseInfraHTTPServiceConfigTLSSettings) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceGetResponseInfraHTTPServiceConfigType ¶
type DirectoryServiceGetResponseInfraHTTPServiceConfigType string
const ( DirectoryServiceGetResponseInfraHTTPServiceConfigTypeTCP DirectoryServiceGetResponseInfraHTTPServiceConfigType = "tcp" DirectoryServiceGetResponseInfraHTTPServiceConfigTypeHTTP DirectoryServiceGetResponseInfraHTTPServiceConfigType = "http" )
func (DirectoryServiceGetResponseInfraHTTPServiceConfigType) IsKnown ¶
func (r DirectoryServiceGetResponseInfraHTTPServiceConfigType) IsKnown() bool
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 ¶
func (r DirectoryServiceGetResponseInfraTCPServiceConfigAppProtocol) IsKnown() bool
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) AsUnion ¶
func (r DirectoryServiceGetResponseInfraTCPServiceConfigHost) AsUnion() DirectoryServiceGetResponseInfraTCPServiceConfigHostUnion
AsUnion returns a DirectoryServiceGetResponseInfraTCPServiceConfigHostUnion interface which you can cast to the specific types for more type safety.
Possible runtime types of the union are DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraIPv4Host, DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraIPv6Host, DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraDualStackHost, DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraHostnameHost.
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 ¶
func (r *DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraDualStackHost) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraDualStackHostNetwork ¶
type DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraDualStackHostNetwork struct {
TunnelID string `json:"tunnel_id" api:"required" format:"uuid"`
JSON directoryServiceGetResponseInfraTCPServiceConfigHostInfraDualStackHostNetworkJSON `json:"-"`
}
func (*DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraDualStackHostNetwork) UnmarshalJSON ¶
func (r *DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraDualStackHostNetwork) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraHostnameHost ¶
type DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraHostnameHost struct {
Hostname string `json:"hostname" api:"required"`
ResolverNetwork DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraHostnameHostResolverNetwork `json:"resolver_network" api:"required"`
JSON directoryServiceGetResponseInfraTCPServiceConfigHostInfraHostnameHostJSON `json:"-"`
}
func (*DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraHostnameHost) UnmarshalJSON ¶
func (r *DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraHostnameHost) UnmarshalJSON(data []byte) (err error)
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 ¶
func (r *DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraHostnameHostResolverNetwork) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraIPv4Host ¶
type DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraIPv4Host struct {
IPV4 string `json:"ipv4" api:"required"`
Network DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraIPv4HostNetwork `json:"network" api:"required"`
JSON directoryServiceGetResponseInfraTCPServiceConfigHostInfraIPv4HostJSON `json:"-"`
}
func (*DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraIPv4Host) UnmarshalJSON ¶
func (r *DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraIPv4Host) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraIPv4HostNetwork ¶
type DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraIPv4HostNetwork struct {
TunnelID string `json:"tunnel_id" api:"required" format:"uuid"`
JSON directoryServiceGetResponseInfraTCPServiceConfigHostInfraIPv4HostNetworkJSON `json:"-"`
}
func (*DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraIPv4HostNetwork) UnmarshalJSON ¶
func (r *DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraIPv4HostNetwork) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraIPv6Host ¶
type DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraIPv6Host struct {
IPV6 string `json:"ipv6" api:"required"`
Network DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraIPv6HostNetwork `json:"network" api:"required"`
JSON directoryServiceGetResponseInfraTCPServiceConfigHostInfraIPv6HostJSON `json:"-"`
}
func (*DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraIPv6Host) UnmarshalJSON ¶
func (r *DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraIPv6Host) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraIPv6HostNetwork ¶
type DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraIPv6HostNetwork struct {
TunnelID string `json:"tunnel_id" api:"required" format:"uuid"`
JSON directoryServiceGetResponseInfraTCPServiceConfigHostInfraIPv6HostNetworkJSON `json:"-"`
}
func (*DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraIPv6HostNetwork) UnmarshalJSON ¶
func (r *DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraIPv6HostNetwork) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceGetResponseInfraTCPServiceConfigHostUnion ¶
type DirectoryServiceGetResponseInfraTCPServiceConfigHostUnion interface {
// contains filtered or unexported methods
}
Union satisfied by DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraIPv4Host, DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraIPv6Host, DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraDualStackHost or DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraHostnameHost.
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 ¶
func (r *DirectoryServiceGetResponseInfraTCPServiceConfigTLSSettings) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceGetResponseInfraTCPServiceConfigType ¶
type DirectoryServiceGetResponseInfraTCPServiceConfigType string
const ( DirectoryServiceGetResponseInfraTCPServiceConfigTypeTCP DirectoryServiceGetResponseInfraTCPServiceConfigType = "tcp" DirectoryServiceGetResponseInfraTCPServiceConfigTypeHTTP DirectoryServiceGetResponseInfraTCPServiceConfigType = "http" )
func (DirectoryServiceGetResponseInfraTCPServiceConfigType) IsKnown ¶
func (r DirectoryServiceGetResponseInfraTCPServiceConfigType) IsKnown() bool
type DirectoryServiceGetResponseType ¶
type DirectoryServiceGetResponseType string
const ( DirectoryServiceGetResponseTypeTCP DirectoryServiceGetResponseType = "tcp" DirectoryServiceGetResponseTypeHTTP DirectoryServiceGetResponseType = "http" )
func (DirectoryServiceGetResponseType) IsKnown ¶
func (r DirectoryServiceGetResponseType) IsKnown() bool
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 ¶
func (r DirectoryServiceListParamsType) IsKnown() bool
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 ¶
func (r DirectoryServiceListResponse) AsUnion() DirectoryServiceListResponseUnion
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 ¶
func (r DirectoryServiceListResponseAppProtocol) IsKnown() bool
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) AsUnion ¶
func (r DirectoryServiceListResponseInfraHTTPServiceConfigHost) AsUnion() DirectoryServiceListResponseInfraHTTPServiceConfigHostUnion
AsUnion returns a DirectoryServiceListResponseInfraHTTPServiceConfigHostUnion interface which you can cast to the specific types for more type safety.
Possible runtime types of the union are DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraIPv4Host, DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraIPv6Host, DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraDualStackHost, DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraHostnameHost.
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 ¶
func (r *DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraDualStackHost) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraDualStackHostNetwork ¶
type DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraDualStackHostNetwork struct {
TunnelID string `json:"tunnel_id" api:"required" format:"uuid"`
JSON directoryServiceListResponseInfraHTTPServiceConfigHostInfraDualStackHostNetworkJSON `json:"-"`
}
func (*DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraDualStackHostNetwork) UnmarshalJSON ¶
func (r *DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraDualStackHostNetwork) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraHostnameHost ¶
type DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraHostnameHost struct {
Hostname string `json:"hostname" api:"required"`
ResolverNetwork DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraHostnameHostResolverNetwork `json:"resolver_network" api:"required"`
JSON directoryServiceListResponseInfraHTTPServiceConfigHostInfraHostnameHostJSON `json:"-"`
}
func (*DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraHostnameHost) UnmarshalJSON ¶
func (r *DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraHostnameHost) UnmarshalJSON(data []byte) (err error)
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 ¶
func (r *DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraHostnameHostResolverNetwork) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraIPv4Host ¶
type DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraIPv4Host struct {
IPV4 string `json:"ipv4" api:"required"`
Network DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraIPv4HostNetwork `json:"network" api:"required"`
JSON directoryServiceListResponseInfraHTTPServiceConfigHostInfraIPv4HostJSON `json:"-"`
}
func (*DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraIPv4Host) UnmarshalJSON ¶
func (r *DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraIPv4Host) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraIPv4HostNetwork ¶
type DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraIPv4HostNetwork struct {
TunnelID string `json:"tunnel_id" api:"required" format:"uuid"`
JSON directoryServiceListResponseInfraHTTPServiceConfigHostInfraIPv4HostNetworkJSON `json:"-"`
}
func (*DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraIPv4HostNetwork) UnmarshalJSON ¶
func (r *DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraIPv4HostNetwork) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraIPv6Host ¶
type DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraIPv6Host struct {
IPV6 string `json:"ipv6" api:"required"`
Network DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraIPv6HostNetwork `json:"network" api:"required"`
JSON directoryServiceListResponseInfraHTTPServiceConfigHostInfraIPv6HostJSON `json:"-"`
}
func (*DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraIPv6Host) UnmarshalJSON ¶
func (r *DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraIPv6Host) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraIPv6HostNetwork ¶
type DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraIPv6HostNetwork struct {
TunnelID string `json:"tunnel_id" api:"required" format:"uuid"`
JSON directoryServiceListResponseInfraHTTPServiceConfigHostInfraIPv6HostNetworkJSON `json:"-"`
}
func (*DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraIPv6HostNetwork) UnmarshalJSON ¶
func (r *DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraIPv6HostNetwork) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceListResponseInfraHTTPServiceConfigHostUnion ¶
type DirectoryServiceListResponseInfraHTTPServiceConfigHostUnion interface {
// contains filtered or unexported methods
}
Union satisfied by DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraIPv4Host, DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraIPv6Host, DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraDualStackHost or DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraHostnameHost.
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 ¶
func (r *DirectoryServiceListResponseInfraHTTPServiceConfigTLSSettings) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceListResponseInfraHTTPServiceConfigType ¶
type DirectoryServiceListResponseInfraHTTPServiceConfigType string
const ( DirectoryServiceListResponseInfraHTTPServiceConfigTypeTCP DirectoryServiceListResponseInfraHTTPServiceConfigType = "tcp" DirectoryServiceListResponseInfraHTTPServiceConfigTypeHTTP DirectoryServiceListResponseInfraHTTPServiceConfigType = "http" )
func (DirectoryServiceListResponseInfraHTTPServiceConfigType) IsKnown ¶
func (r DirectoryServiceListResponseInfraHTTPServiceConfigType) IsKnown() bool
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 ¶
func (r DirectoryServiceListResponseInfraTCPServiceConfigAppProtocol) IsKnown() bool
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) AsUnion ¶
func (r DirectoryServiceListResponseInfraTCPServiceConfigHost) AsUnion() DirectoryServiceListResponseInfraTCPServiceConfigHostUnion
AsUnion returns a DirectoryServiceListResponseInfraTCPServiceConfigHostUnion interface which you can cast to the specific types for more type safety.
Possible runtime types of the union are DirectoryServiceListResponseInfraTCPServiceConfigHostInfraIPv4Host, DirectoryServiceListResponseInfraTCPServiceConfigHostInfraIPv6Host, DirectoryServiceListResponseInfraTCPServiceConfigHostInfraDualStackHost, DirectoryServiceListResponseInfraTCPServiceConfigHostInfraHostnameHost.
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 ¶
func (r *DirectoryServiceListResponseInfraTCPServiceConfigHostInfraDualStackHost) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceListResponseInfraTCPServiceConfigHostInfraDualStackHostNetwork ¶
type DirectoryServiceListResponseInfraTCPServiceConfigHostInfraDualStackHostNetwork struct {
TunnelID string `json:"tunnel_id" api:"required" format:"uuid"`
JSON directoryServiceListResponseInfraTCPServiceConfigHostInfraDualStackHostNetworkJSON `json:"-"`
}
func (*DirectoryServiceListResponseInfraTCPServiceConfigHostInfraDualStackHostNetwork) UnmarshalJSON ¶
func (r *DirectoryServiceListResponseInfraTCPServiceConfigHostInfraDualStackHostNetwork) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceListResponseInfraTCPServiceConfigHostInfraHostnameHost ¶
type DirectoryServiceListResponseInfraTCPServiceConfigHostInfraHostnameHost struct {
Hostname string `json:"hostname" api:"required"`
ResolverNetwork DirectoryServiceListResponseInfraTCPServiceConfigHostInfraHostnameHostResolverNetwork `json:"resolver_network" api:"required"`
JSON directoryServiceListResponseInfraTCPServiceConfigHostInfraHostnameHostJSON `json:"-"`
}
func (*DirectoryServiceListResponseInfraTCPServiceConfigHostInfraHostnameHost) UnmarshalJSON ¶
func (r *DirectoryServiceListResponseInfraTCPServiceConfigHostInfraHostnameHost) UnmarshalJSON(data []byte) (err error)
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 ¶
func (r *DirectoryServiceListResponseInfraTCPServiceConfigHostInfraHostnameHostResolverNetwork) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceListResponseInfraTCPServiceConfigHostInfraIPv4Host ¶
type DirectoryServiceListResponseInfraTCPServiceConfigHostInfraIPv4Host struct {
IPV4 string `json:"ipv4" api:"required"`
Network DirectoryServiceListResponseInfraTCPServiceConfigHostInfraIPv4HostNetwork `json:"network" api:"required"`
JSON directoryServiceListResponseInfraTCPServiceConfigHostInfraIPv4HostJSON `json:"-"`
}
func (*DirectoryServiceListResponseInfraTCPServiceConfigHostInfraIPv4Host) UnmarshalJSON ¶
func (r *DirectoryServiceListResponseInfraTCPServiceConfigHostInfraIPv4Host) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceListResponseInfraTCPServiceConfigHostInfraIPv4HostNetwork ¶
type DirectoryServiceListResponseInfraTCPServiceConfigHostInfraIPv4HostNetwork struct {
TunnelID string `json:"tunnel_id" api:"required" format:"uuid"`
JSON directoryServiceListResponseInfraTCPServiceConfigHostInfraIPv4HostNetworkJSON `json:"-"`
}
func (*DirectoryServiceListResponseInfraTCPServiceConfigHostInfraIPv4HostNetwork) UnmarshalJSON ¶
func (r *DirectoryServiceListResponseInfraTCPServiceConfigHostInfraIPv4HostNetwork) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceListResponseInfraTCPServiceConfigHostInfraIPv6Host ¶
type DirectoryServiceListResponseInfraTCPServiceConfigHostInfraIPv6Host struct {
IPV6 string `json:"ipv6" api:"required"`
Network DirectoryServiceListResponseInfraTCPServiceConfigHostInfraIPv6HostNetwork `json:"network" api:"required"`
JSON directoryServiceListResponseInfraTCPServiceConfigHostInfraIPv6HostJSON `json:"-"`
}
func (*DirectoryServiceListResponseInfraTCPServiceConfigHostInfraIPv6Host) UnmarshalJSON ¶
func (r *DirectoryServiceListResponseInfraTCPServiceConfigHostInfraIPv6Host) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceListResponseInfraTCPServiceConfigHostInfraIPv6HostNetwork ¶
type DirectoryServiceListResponseInfraTCPServiceConfigHostInfraIPv6HostNetwork struct {
TunnelID string `json:"tunnel_id" api:"required" format:"uuid"`
JSON directoryServiceListResponseInfraTCPServiceConfigHostInfraIPv6HostNetworkJSON `json:"-"`
}
func (*DirectoryServiceListResponseInfraTCPServiceConfigHostInfraIPv6HostNetwork) UnmarshalJSON ¶
func (r *DirectoryServiceListResponseInfraTCPServiceConfigHostInfraIPv6HostNetwork) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceListResponseInfraTCPServiceConfigHostUnion ¶
type DirectoryServiceListResponseInfraTCPServiceConfigHostUnion interface {
// contains filtered or unexported methods
}
Union satisfied by DirectoryServiceListResponseInfraTCPServiceConfigHostInfraIPv4Host, DirectoryServiceListResponseInfraTCPServiceConfigHostInfraIPv6Host, DirectoryServiceListResponseInfraTCPServiceConfigHostInfraDualStackHost or DirectoryServiceListResponseInfraTCPServiceConfigHostInfraHostnameHost.
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 ¶
func (r *DirectoryServiceListResponseInfraTCPServiceConfigTLSSettings) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceListResponseInfraTCPServiceConfigType ¶
type DirectoryServiceListResponseInfraTCPServiceConfigType string
const ( DirectoryServiceListResponseInfraTCPServiceConfigTypeTCP DirectoryServiceListResponseInfraTCPServiceConfigType = "tcp" DirectoryServiceListResponseInfraTCPServiceConfigTypeHTTP DirectoryServiceListResponseInfraTCPServiceConfigType = "http" )
func (DirectoryServiceListResponseInfraTCPServiceConfigType) IsKnown ¶
func (r DirectoryServiceListResponseInfraTCPServiceConfigType) IsKnown() bool
type DirectoryServiceListResponseType ¶
type DirectoryServiceListResponseType string
const ( DirectoryServiceListResponseTypeTCP DirectoryServiceListResponseType = "tcp" DirectoryServiceListResponseTypeHTTP DirectoryServiceListResponseType = "http" )
func (DirectoryServiceListResponseType) IsKnown ¶
func (r DirectoryServiceListResponseType) IsKnown() bool
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 ¶
func (r DirectoryServiceNewParamsBodyAppProtocol) IsKnown() bool
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 ¶
func (r DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHost) MarshalJSON() (data []byte, err error)
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 ¶
func (r DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraDualStackHost) MarshalJSON() (data []byte, err error)
type DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraDualStackHostNetwork ¶
type DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraDualStackHostNetwork struct {
TunnelID param.Field[string] `json:"tunnel_id" api:"required" format:"uuid"`
}
func (DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraDualStackHostNetwork) MarshalJSON ¶
func (r DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraDualStackHostNetwork) MarshalJSON() (data []byte, err error)
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 ¶
func (r DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraHostnameHost) MarshalJSON() (data []byte, err error)
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 ¶
func (r DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraHostnameHostResolverNetwork) MarshalJSON() (data []byte, err error)
type DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraIPv4Host ¶
type DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraIPv4Host struct {
IPV4 param.Field[string] `json:"ipv4" api:"required"`
Network param.Field[DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraIPv4HostNetwork] `json:"network" api:"required"`
}
func (DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraIPv4Host) MarshalJSON ¶
func (r DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraIPv4Host) MarshalJSON() (data []byte, err error)
type DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraIPv4HostNetwork ¶
type DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraIPv4HostNetwork struct {
TunnelID param.Field[string] `json:"tunnel_id" api:"required" format:"uuid"`
}
func (DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraIPv4HostNetwork) MarshalJSON ¶
func (r DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraIPv4HostNetwork) MarshalJSON() (data []byte, err error)
type DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraIPv6Host ¶
type DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraIPv6Host struct {
IPV6 param.Field[string] `json:"ipv6" api:"required"`
Network param.Field[DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraIPv6HostNetwork] `json:"network" api:"required"`
}
func (DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraIPv6Host) MarshalJSON ¶
func (r DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraIPv6Host) MarshalJSON() (data []byte, err error)
type DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraIPv6HostNetwork ¶
type DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraIPv6HostNetwork struct {
TunnelID param.Field[string] `json:"tunnel_id" api:"required" format:"uuid"`
}
func (DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraIPv6HostNetwork) MarshalJSON ¶
func (r DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraIPv6HostNetwork) MarshalJSON() (data []byte, err error)
type DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostUnion ¶
type DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostUnion interface {
// contains filtered or unexported methods
}
Satisfied by connectivity.DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraIPv4Host, connectivity.DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraIPv6Host, connectivity.DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraDualStackHost, connectivity.DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraHostnameHost, DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHost.
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 ¶
func (r DirectoryServiceNewParamsBodyInfraHTTPServiceConfigTLSSettings) MarshalJSON() (data []byte, err error)
type DirectoryServiceNewParamsBodyInfraHTTPServiceConfigType ¶
type DirectoryServiceNewParamsBodyInfraHTTPServiceConfigType string
const ( DirectoryServiceNewParamsBodyInfraHTTPServiceConfigTypeTCP DirectoryServiceNewParamsBodyInfraHTTPServiceConfigType = "tcp" DirectoryServiceNewParamsBodyInfraHTTPServiceConfigTypeHTTP DirectoryServiceNewParamsBodyInfraHTTPServiceConfigType = "http" )
func (DirectoryServiceNewParamsBodyInfraHTTPServiceConfigType) IsKnown ¶
func (r DirectoryServiceNewParamsBodyInfraHTTPServiceConfigType) IsKnown() bool
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 ¶
func (r DirectoryServiceNewParamsBodyInfraTCPServiceConfigAppProtocol) IsKnown() bool
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 ¶
func (r DirectoryServiceNewParamsBodyInfraTCPServiceConfigHost) MarshalJSON() (data []byte, err error)
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 ¶
func (r DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraDualStackHost) MarshalJSON() (data []byte, err error)
type DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraDualStackHostNetwork ¶
type DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraDualStackHostNetwork struct {
TunnelID param.Field[string] `json:"tunnel_id" api:"required" format:"uuid"`
}
func (DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraDualStackHostNetwork) MarshalJSON ¶
func (r DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraDualStackHostNetwork) MarshalJSON() (data []byte, err error)
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 ¶
func (r DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraHostnameHost) MarshalJSON() (data []byte, err error)
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 ¶
func (r DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraHostnameHostResolverNetwork) MarshalJSON() (data []byte, err error)
type DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraIPv4Host ¶
type DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraIPv4Host struct {
IPV4 param.Field[string] `json:"ipv4" api:"required"`
Network param.Field[DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraIPv4HostNetwork] `json:"network" api:"required"`
}
func (DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraIPv4Host) MarshalJSON ¶
func (r DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraIPv4Host) MarshalJSON() (data []byte, err error)
type DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraIPv4HostNetwork ¶
type DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraIPv4HostNetwork struct {
TunnelID param.Field[string] `json:"tunnel_id" api:"required" format:"uuid"`
}
func (DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraIPv4HostNetwork) MarshalJSON ¶
func (r DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraIPv4HostNetwork) MarshalJSON() (data []byte, err error)
type DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraIPv6Host ¶
type DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraIPv6Host struct {
IPV6 param.Field[string] `json:"ipv6" api:"required"`
Network param.Field[DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraIPv6HostNetwork] `json:"network" api:"required"`
}
func (DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraIPv6Host) MarshalJSON ¶
func (r DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraIPv6Host) MarshalJSON() (data []byte, err error)
type DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraIPv6HostNetwork ¶
type DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraIPv6HostNetwork struct {
TunnelID param.Field[string] `json:"tunnel_id" api:"required" format:"uuid"`
}
func (DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraIPv6HostNetwork) MarshalJSON ¶
func (r DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraIPv6HostNetwork) MarshalJSON() (data []byte, err error)
type DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostUnion ¶
type DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostUnion interface {
// contains filtered or unexported methods
}
Satisfied by connectivity.DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraIPv4Host, connectivity.DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraIPv6Host, connectivity.DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraDualStackHost, connectivity.DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraHostnameHost, DirectoryServiceNewParamsBodyInfraTCPServiceConfigHost.
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 ¶
func (r DirectoryServiceNewParamsBodyInfraTCPServiceConfigTLSSettings) MarshalJSON() (data []byte, err error)
type DirectoryServiceNewParamsBodyInfraTCPServiceConfigType ¶
type DirectoryServiceNewParamsBodyInfraTCPServiceConfigType string
const ( DirectoryServiceNewParamsBodyInfraTCPServiceConfigTypeTCP DirectoryServiceNewParamsBodyInfraTCPServiceConfigType = "tcp" DirectoryServiceNewParamsBodyInfraTCPServiceConfigTypeHTTP DirectoryServiceNewParamsBodyInfraTCPServiceConfigType = "http" )
func (DirectoryServiceNewParamsBodyInfraTCPServiceConfigType) IsKnown ¶
func (r DirectoryServiceNewParamsBodyInfraTCPServiceConfigType) IsKnown() bool
type DirectoryServiceNewParamsBodyType ¶
type DirectoryServiceNewParamsBodyType string
const ( DirectoryServiceNewParamsBodyTypeTCP DirectoryServiceNewParamsBodyType = "tcp" DirectoryServiceNewParamsBodyTypeHTTP DirectoryServiceNewParamsBodyType = "http" )
func (DirectoryServiceNewParamsBodyType) IsKnown ¶
func (r DirectoryServiceNewParamsBodyType) IsKnown() bool
type DirectoryServiceNewParamsBodyUnion ¶
type DirectoryServiceNewParamsBodyUnion interface {
// contains filtered or unexported methods
}
Satisfied by connectivity.DirectoryServiceNewParamsBodyInfraHTTPServiceConfig, connectivity.DirectoryServiceNewParamsBodyInfraTCPServiceConfig, DirectoryServiceNewParamsBody.
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 ¶
func (r DirectoryServiceNewResponse) AsUnion() DirectoryServiceNewResponseUnion
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 ¶
func (r DirectoryServiceNewResponseAppProtocol) IsKnown() bool
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 ¶
func (r DirectoryServiceNewResponseEnvelopeSuccess) IsKnown() bool
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) AsUnion ¶
func (r DirectoryServiceNewResponseInfraHTTPServiceConfigHost) AsUnion() DirectoryServiceNewResponseInfraHTTPServiceConfigHostUnion
AsUnion returns a DirectoryServiceNewResponseInfraHTTPServiceConfigHostUnion interface which you can cast to the specific types for more type safety.
Possible runtime types of the union are DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraIPv4Host, DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraIPv6Host, DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraDualStackHost, DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraHostnameHost.
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 ¶
func (r *DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraDualStackHost) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraDualStackHostNetwork ¶
type DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraDualStackHostNetwork struct {
TunnelID string `json:"tunnel_id" api:"required" format:"uuid"`
JSON directoryServiceNewResponseInfraHTTPServiceConfigHostInfraDualStackHostNetworkJSON `json:"-"`
}
func (*DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraDualStackHostNetwork) UnmarshalJSON ¶
func (r *DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraDualStackHostNetwork) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraHostnameHost ¶
type DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraHostnameHost struct {
Hostname string `json:"hostname" api:"required"`
ResolverNetwork DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraHostnameHostResolverNetwork `json:"resolver_network" api:"required"`
JSON directoryServiceNewResponseInfraHTTPServiceConfigHostInfraHostnameHostJSON `json:"-"`
}
func (*DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraHostnameHost) UnmarshalJSON ¶
func (r *DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraHostnameHost) UnmarshalJSON(data []byte) (err error)
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 ¶
func (r *DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraHostnameHostResolverNetwork) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraIPv4Host ¶
type DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraIPv4Host struct {
IPV4 string `json:"ipv4" api:"required"`
Network DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraIPv4HostNetwork `json:"network" api:"required"`
JSON directoryServiceNewResponseInfraHTTPServiceConfigHostInfraIPv4HostJSON `json:"-"`
}
func (*DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraIPv4Host) UnmarshalJSON ¶
func (r *DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraIPv4Host) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraIPv4HostNetwork ¶
type DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraIPv4HostNetwork struct {
TunnelID string `json:"tunnel_id" api:"required" format:"uuid"`
JSON directoryServiceNewResponseInfraHTTPServiceConfigHostInfraIPv4HostNetworkJSON `json:"-"`
}
func (*DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraIPv4HostNetwork) UnmarshalJSON ¶
func (r *DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraIPv4HostNetwork) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraIPv6Host ¶
type DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraIPv6Host struct {
IPV6 string `json:"ipv6" api:"required"`
Network DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraIPv6HostNetwork `json:"network" api:"required"`
JSON directoryServiceNewResponseInfraHTTPServiceConfigHostInfraIPv6HostJSON `json:"-"`
}
func (*DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraIPv6Host) UnmarshalJSON ¶
func (r *DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraIPv6Host) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraIPv6HostNetwork ¶
type DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraIPv6HostNetwork struct {
TunnelID string `json:"tunnel_id" api:"required" format:"uuid"`
JSON directoryServiceNewResponseInfraHTTPServiceConfigHostInfraIPv6HostNetworkJSON `json:"-"`
}
func (*DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraIPv6HostNetwork) UnmarshalJSON ¶
func (r *DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraIPv6HostNetwork) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceNewResponseInfraHTTPServiceConfigHostUnion ¶
type DirectoryServiceNewResponseInfraHTTPServiceConfigHostUnion interface {
// contains filtered or unexported methods
}
Union satisfied by DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraIPv4Host, DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraIPv6Host, DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraDualStackHost or DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraHostnameHost.
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 ¶
func (r *DirectoryServiceNewResponseInfraHTTPServiceConfigTLSSettings) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceNewResponseInfraHTTPServiceConfigType ¶
type DirectoryServiceNewResponseInfraHTTPServiceConfigType string
const ( DirectoryServiceNewResponseInfraHTTPServiceConfigTypeTCP DirectoryServiceNewResponseInfraHTTPServiceConfigType = "tcp" DirectoryServiceNewResponseInfraHTTPServiceConfigTypeHTTP DirectoryServiceNewResponseInfraHTTPServiceConfigType = "http" )
func (DirectoryServiceNewResponseInfraHTTPServiceConfigType) IsKnown ¶
func (r DirectoryServiceNewResponseInfraHTTPServiceConfigType) IsKnown() bool
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 ¶
func (r DirectoryServiceNewResponseInfraTCPServiceConfigAppProtocol) IsKnown() bool
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) AsUnion ¶
func (r DirectoryServiceNewResponseInfraTCPServiceConfigHost) AsUnion() DirectoryServiceNewResponseInfraTCPServiceConfigHostUnion
AsUnion returns a DirectoryServiceNewResponseInfraTCPServiceConfigHostUnion interface which you can cast to the specific types for more type safety.
Possible runtime types of the union are DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraIPv4Host, DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraIPv6Host, DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraDualStackHost, DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraHostnameHost.
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 ¶
func (r *DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraDualStackHost) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraDualStackHostNetwork ¶
type DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraDualStackHostNetwork struct {
TunnelID string `json:"tunnel_id" api:"required" format:"uuid"`
JSON directoryServiceNewResponseInfraTCPServiceConfigHostInfraDualStackHostNetworkJSON `json:"-"`
}
func (*DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraDualStackHostNetwork) UnmarshalJSON ¶
func (r *DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraDualStackHostNetwork) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraHostnameHost ¶
type DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraHostnameHost struct {
Hostname string `json:"hostname" api:"required"`
ResolverNetwork DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraHostnameHostResolverNetwork `json:"resolver_network" api:"required"`
JSON directoryServiceNewResponseInfraTCPServiceConfigHostInfraHostnameHostJSON `json:"-"`
}
func (*DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraHostnameHost) UnmarshalJSON ¶
func (r *DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraHostnameHost) UnmarshalJSON(data []byte) (err error)
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 ¶
func (r *DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraHostnameHostResolverNetwork) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraIPv4Host ¶
type DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraIPv4Host struct {
IPV4 string `json:"ipv4" api:"required"`
Network DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraIPv4HostNetwork `json:"network" api:"required"`
JSON directoryServiceNewResponseInfraTCPServiceConfigHostInfraIPv4HostJSON `json:"-"`
}
func (*DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraIPv4Host) UnmarshalJSON ¶
func (r *DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraIPv4Host) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraIPv4HostNetwork ¶
type DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraIPv4HostNetwork struct {
TunnelID string `json:"tunnel_id" api:"required" format:"uuid"`
JSON directoryServiceNewResponseInfraTCPServiceConfigHostInfraIPv4HostNetworkJSON `json:"-"`
}
func (*DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraIPv4HostNetwork) UnmarshalJSON ¶
func (r *DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraIPv4HostNetwork) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraIPv6Host ¶
type DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraIPv6Host struct {
IPV6 string `json:"ipv6" api:"required"`
Network DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraIPv6HostNetwork `json:"network" api:"required"`
JSON directoryServiceNewResponseInfraTCPServiceConfigHostInfraIPv6HostJSON `json:"-"`
}
func (*DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraIPv6Host) UnmarshalJSON ¶
func (r *DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraIPv6Host) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraIPv6HostNetwork ¶
type DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraIPv6HostNetwork struct {
TunnelID string `json:"tunnel_id" api:"required" format:"uuid"`
JSON directoryServiceNewResponseInfraTCPServiceConfigHostInfraIPv6HostNetworkJSON `json:"-"`
}
func (*DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraIPv6HostNetwork) UnmarshalJSON ¶
func (r *DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraIPv6HostNetwork) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceNewResponseInfraTCPServiceConfigHostUnion ¶
type DirectoryServiceNewResponseInfraTCPServiceConfigHostUnion interface {
// contains filtered or unexported methods
}
Union satisfied by DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraIPv4Host, DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraIPv6Host, DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraDualStackHost or DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraHostnameHost.
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 ¶
func (r *DirectoryServiceNewResponseInfraTCPServiceConfigTLSSettings) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceNewResponseInfraTCPServiceConfigType ¶
type DirectoryServiceNewResponseInfraTCPServiceConfigType string
const ( DirectoryServiceNewResponseInfraTCPServiceConfigTypeTCP DirectoryServiceNewResponseInfraTCPServiceConfigType = "tcp" DirectoryServiceNewResponseInfraTCPServiceConfigTypeHTTP DirectoryServiceNewResponseInfraTCPServiceConfigType = "http" )
func (DirectoryServiceNewResponseInfraTCPServiceConfigType) IsKnown ¶
func (r DirectoryServiceNewResponseInfraTCPServiceConfigType) IsKnown() bool
type DirectoryServiceNewResponseType ¶
type DirectoryServiceNewResponseType string
const ( DirectoryServiceNewResponseTypeTCP DirectoryServiceNewResponseType = "tcp" DirectoryServiceNewResponseTypeHTTP DirectoryServiceNewResponseType = "http" )
func (DirectoryServiceNewResponseType) IsKnown ¶
func (r DirectoryServiceNewResponseType) IsKnown() bool
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 ¶
func (r *DirectoryServiceService) Delete(ctx context.Context, serviceID string, body DirectoryServiceDeleteParams, opts ...option.RequestOption) (err error)
Delete Workers VPC connectivity service
func (*DirectoryServiceService) Get ¶
func (r *DirectoryServiceService) Get(ctx context.Context, serviceID string, query DirectoryServiceGetParams, opts ...option.RequestOption) (res *DirectoryServiceGetResponse, err error)
Get Workers VPC connectivity service
func (*DirectoryServiceService) List ¶
func (r *DirectoryServiceService) List(ctx context.Context, params DirectoryServiceListParams, opts ...option.RequestOption) (res *pagination.V4PagePaginationArray[DirectoryServiceListResponse], err error)
List Workers VPC connectivity services
func (*DirectoryServiceService) ListAutoPaging ¶
func (r *DirectoryServiceService) ListAutoPaging(ctx context.Context, params DirectoryServiceListParams, opts ...option.RequestOption) *pagination.V4PagePaginationArrayAutoPager[DirectoryServiceListResponse]
List Workers VPC connectivity services
func (*DirectoryServiceService) New ¶
func (r *DirectoryServiceService) New(ctx context.Context, params DirectoryServiceNewParams, opts ...option.RequestOption) (res *DirectoryServiceNewResponse, err error)
Create Workers VPC connectivity service
func (*DirectoryServiceService) Update ¶
func (r *DirectoryServiceService) Update(ctx context.Context, serviceID string, params DirectoryServiceUpdateParams, opts ...option.RequestOption) (res *DirectoryServiceUpdateResponse, err error)
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 ¶
func (r DirectoryServiceUpdateParamsBodyAppProtocol) IsKnown() bool
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 ¶
func (r DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfig) MarshalJSON() (data []byte, err error)
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 ¶
func (r DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHost) MarshalJSON() (data []byte, err error)
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 ¶
func (r DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraDualStackHost) MarshalJSON() (data []byte, err error)
type DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraDualStackHostNetwork ¶
type DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraDualStackHostNetwork struct {
TunnelID param.Field[string] `json:"tunnel_id" api:"required" format:"uuid"`
}
func (DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraDualStackHostNetwork) MarshalJSON ¶
func (r DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraDualStackHostNetwork) MarshalJSON() (data []byte, err error)
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 ¶
func (r DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraHostnameHost) MarshalJSON() (data []byte, err error)
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 ¶
func (r DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraHostnameHostResolverNetwork) MarshalJSON() (data []byte, err error)
type DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraIPv4Host ¶
type DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraIPv4Host struct {
IPV4 param.Field[string] `json:"ipv4" api:"required"`
Network param.Field[DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraIPv4HostNetwork] `json:"network" api:"required"`
}
func (DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraIPv4Host) MarshalJSON ¶
func (r DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraIPv4Host) MarshalJSON() (data []byte, err error)
type DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraIPv4HostNetwork ¶
type DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraIPv4HostNetwork struct {
TunnelID param.Field[string] `json:"tunnel_id" api:"required" format:"uuid"`
}
func (DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraIPv4HostNetwork) MarshalJSON ¶
func (r DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraIPv4HostNetwork) MarshalJSON() (data []byte, err error)
type DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraIPv6Host ¶
type DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraIPv6Host struct {
IPV6 param.Field[string] `json:"ipv6" api:"required"`
Network param.Field[DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraIPv6HostNetwork] `json:"network" api:"required"`
}
func (DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraIPv6Host) MarshalJSON ¶
func (r DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraIPv6Host) MarshalJSON() (data []byte, err error)
type DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraIPv6HostNetwork ¶
type DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraIPv6HostNetwork struct {
TunnelID param.Field[string] `json:"tunnel_id" api:"required" format:"uuid"`
}
func (DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraIPv6HostNetwork) MarshalJSON ¶
func (r DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraIPv6HostNetwork) MarshalJSON() (data []byte, err error)
type DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostUnion ¶
type DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostUnion interface {
// contains filtered or unexported methods
}
Satisfied by connectivity.DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraIPv4Host, connectivity.DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraIPv6Host, connectivity.DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraDualStackHost, connectivity.DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraHostnameHost, DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHost.
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 ¶
func (r DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigTLSSettings) MarshalJSON() (data []byte, err error)
type DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigType ¶
type DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigType string
const ( DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigTypeTCP DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigType = "tcp" DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigTypeHTTP DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigType = "http" )
func (DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigType) IsKnown ¶
func (r DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigType) IsKnown() bool
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 ¶
func (r DirectoryServiceUpdateParamsBodyInfraTCPServiceConfig) MarshalJSON() (data []byte, err error)
type DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigAppProtocol ¶
type DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigAppProtocol string
const ( DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigAppProtocolPostgresql DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigAppProtocol = "postgresql" DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigAppProtocolMysql DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigAppProtocol = "mysql" )
func (DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigAppProtocol) IsKnown ¶
func (r DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigAppProtocol) IsKnown() bool
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 ¶
func (r DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHost) MarshalJSON() (data []byte, err error)
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 ¶
func (r DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraDualStackHost) MarshalJSON() (data []byte, err error)
type DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraDualStackHostNetwork ¶
type DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraDualStackHostNetwork struct {
TunnelID param.Field[string] `json:"tunnel_id" api:"required" format:"uuid"`
}
func (DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraDualStackHostNetwork) MarshalJSON ¶
func (r DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraDualStackHostNetwork) MarshalJSON() (data []byte, err error)
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 ¶
func (r DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraHostnameHost) MarshalJSON() (data []byte, err error)
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 ¶
func (r DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraHostnameHostResolverNetwork) MarshalJSON() (data []byte, err error)
type DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraIPv4Host ¶
type DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraIPv4Host struct {
IPV4 param.Field[string] `json:"ipv4" api:"required"`
Network param.Field[DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraIPv4HostNetwork] `json:"network" api:"required"`
}
func (DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraIPv4Host) MarshalJSON ¶
func (r DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraIPv4Host) MarshalJSON() (data []byte, err error)
type DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraIPv4HostNetwork ¶
type DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraIPv4HostNetwork struct {
TunnelID param.Field[string] `json:"tunnel_id" api:"required" format:"uuid"`
}
func (DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraIPv4HostNetwork) MarshalJSON ¶
func (r DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraIPv4HostNetwork) MarshalJSON() (data []byte, err error)
type DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraIPv6Host ¶
type DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraIPv6Host struct {
IPV6 param.Field[string] `json:"ipv6" api:"required"`
Network param.Field[DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraIPv6HostNetwork] `json:"network" api:"required"`
}
func (DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraIPv6Host) MarshalJSON ¶
func (r DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraIPv6Host) MarshalJSON() (data []byte, err error)
type DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraIPv6HostNetwork ¶
type DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraIPv6HostNetwork struct {
TunnelID param.Field[string] `json:"tunnel_id" api:"required" format:"uuid"`
}
func (DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraIPv6HostNetwork) MarshalJSON ¶
func (r DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraIPv6HostNetwork) MarshalJSON() (data []byte, err error)
type DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostUnion ¶
type DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostUnion interface {
// contains filtered or unexported methods
}
Satisfied by connectivity.DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraIPv4Host, connectivity.DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraIPv6Host, connectivity.DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraDualStackHost, connectivity.DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraHostnameHost, DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHost.
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 ¶
func (r DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigTLSSettings) MarshalJSON() (data []byte, err error)
type DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigType ¶
type DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigType string
const ( DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigTypeTCP DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigType = "tcp" DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigTypeHTTP DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigType = "http" )
func (DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigType) IsKnown ¶
func (r DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigType) IsKnown() bool
type DirectoryServiceUpdateParamsBodyType ¶
type DirectoryServiceUpdateParamsBodyType string
const ( DirectoryServiceUpdateParamsBodyTypeTCP DirectoryServiceUpdateParamsBodyType = "tcp" DirectoryServiceUpdateParamsBodyTypeHTTP DirectoryServiceUpdateParamsBodyType = "http" )
func (DirectoryServiceUpdateParamsBodyType) IsKnown ¶
func (r DirectoryServiceUpdateParamsBodyType) IsKnown() bool
type DirectoryServiceUpdateParamsBodyUnion ¶
type DirectoryServiceUpdateParamsBodyUnion interface {
// contains filtered or unexported methods
}
Satisfied by connectivity.DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfig, connectivity.DirectoryServiceUpdateParamsBodyInfraTCPServiceConfig, DirectoryServiceUpdateParamsBody.
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 ¶
func (r DirectoryServiceUpdateResponse) AsUnion() DirectoryServiceUpdateResponseUnion
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 ¶
func (r DirectoryServiceUpdateResponseAppProtocol) IsKnown() bool
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 ¶
func (r DirectoryServiceUpdateResponseEnvelopeSuccess) IsKnown() bool
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) AsUnion ¶
func (r DirectoryServiceUpdateResponseInfraHTTPServiceConfigHost) AsUnion() DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostUnion
AsUnion returns a DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostUnion interface which you can cast to the specific types for more type safety.
Possible runtime types of the union are DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraIPv4Host, DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraIPv6Host, DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraDualStackHost, DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraHostnameHost.
func (*DirectoryServiceUpdateResponseInfraHTTPServiceConfigHost) UnmarshalJSON ¶
func (r *DirectoryServiceUpdateResponseInfraHTTPServiceConfigHost) UnmarshalJSON(data []byte) (err error)
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 ¶
func (r *DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraDualStackHost) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraDualStackHostNetwork ¶
type DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraDualStackHostNetwork struct {
TunnelID string `json:"tunnel_id" api:"required" format:"uuid"`
JSON directoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraDualStackHostNetworkJSON `json:"-"`
}
func (*DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraDualStackHostNetwork) UnmarshalJSON ¶
func (r *DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraDualStackHostNetwork) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraHostnameHost ¶
type DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraHostnameHost struct {
Hostname string `json:"hostname" api:"required"`
ResolverNetwork DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraHostnameHostResolverNetwork `json:"resolver_network" api:"required"`
JSON directoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraHostnameHostJSON `json:"-"`
}
func (*DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraHostnameHost) UnmarshalJSON ¶
func (r *DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraHostnameHost) UnmarshalJSON(data []byte) (err error)
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 ¶
func (r *DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraHostnameHostResolverNetwork) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraIPv4Host ¶
type DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraIPv4Host struct {
IPV4 string `json:"ipv4" api:"required"`
Network DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraIPv4HostNetwork `json:"network" api:"required"`
JSON directoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraIPv4HostJSON `json:"-"`
}
func (*DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraIPv4Host) UnmarshalJSON ¶
func (r *DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraIPv4Host) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraIPv4HostNetwork ¶
type DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraIPv4HostNetwork struct {
TunnelID string `json:"tunnel_id" api:"required" format:"uuid"`
JSON directoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraIPv4HostNetworkJSON `json:"-"`
}
func (*DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraIPv4HostNetwork) UnmarshalJSON ¶
func (r *DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraIPv4HostNetwork) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraIPv6Host ¶
type DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraIPv6Host struct {
IPV6 string `json:"ipv6" api:"required"`
Network DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraIPv6HostNetwork `json:"network" api:"required"`
JSON directoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraIPv6HostJSON `json:"-"`
}
func (*DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraIPv6Host) UnmarshalJSON ¶
func (r *DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraIPv6Host) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraIPv6HostNetwork ¶
type DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraIPv6HostNetwork struct {
TunnelID string `json:"tunnel_id" api:"required" format:"uuid"`
JSON directoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraIPv6HostNetworkJSON `json:"-"`
}
func (*DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraIPv6HostNetwork) UnmarshalJSON ¶
func (r *DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraIPv6HostNetwork) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostUnion ¶
type DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostUnion interface {
// contains filtered or unexported methods
}
Union satisfied by DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraIPv4Host, DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraIPv6Host, DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraDualStackHost or DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraHostnameHost.
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 ¶
func (r *DirectoryServiceUpdateResponseInfraHTTPServiceConfigTLSSettings) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceUpdateResponseInfraHTTPServiceConfigType ¶
type DirectoryServiceUpdateResponseInfraHTTPServiceConfigType string
const ( DirectoryServiceUpdateResponseInfraHTTPServiceConfigTypeTCP DirectoryServiceUpdateResponseInfraHTTPServiceConfigType = "tcp" DirectoryServiceUpdateResponseInfraHTTPServiceConfigTypeHTTP DirectoryServiceUpdateResponseInfraHTTPServiceConfigType = "http" )
func (DirectoryServiceUpdateResponseInfraHTTPServiceConfigType) IsKnown ¶
func (r DirectoryServiceUpdateResponseInfraHTTPServiceConfigType) IsKnown() bool
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 ¶
func (r DirectoryServiceUpdateResponseInfraTCPServiceConfigAppProtocol) IsKnown() bool
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) AsUnion ¶
func (r DirectoryServiceUpdateResponseInfraTCPServiceConfigHost) AsUnion() DirectoryServiceUpdateResponseInfraTCPServiceConfigHostUnion
AsUnion returns a DirectoryServiceUpdateResponseInfraTCPServiceConfigHostUnion interface which you can cast to the specific types for more type safety.
Possible runtime types of the union are DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraIPv4Host, DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraIPv6Host, DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraDualStackHost, DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraHostnameHost.
func (*DirectoryServiceUpdateResponseInfraTCPServiceConfigHost) UnmarshalJSON ¶
func (r *DirectoryServiceUpdateResponseInfraTCPServiceConfigHost) UnmarshalJSON(data []byte) (err error)
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 ¶
func (r *DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraDualStackHost) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraDualStackHostNetwork ¶
type DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraDualStackHostNetwork struct {
TunnelID string `json:"tunnel_id" api:"required" format:"uuid"`
JSON directoryServiceUpdateResponseInfraTCPServiceConfigHostInfraDualStackHostNetworkJSON `json:"-"`
}
func (*DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraDualStackHostNetwork) UnmarshalJSON ¶
func (r *DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraDualStackHostNetwork) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraHostnameHost ¶
type DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraHostnameHost struct {
Hostname string `json:"hostname" api:"required"`
ResolverNetwork DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraHostnameHostResolverNetwork `json:"resolver_network" api:"required"`
JSON directoryServiceUpdateResponseInfraTCPServiceConfigHostInfraHostnameHostJSON `json:"-"`
}
func (*DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraHostnameHost) UnmarshalJSON ¶
func (r *DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraHostnameHost) UnmarshalJSON(data []byte) (err error)
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 ¶
func (r *DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraHostnameHostResolverNetwork) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraIPv4Host ¶
type DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraIPv4Host struct {
IPV4 string `json:"ipv4" api:"required"`
Network DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraIPv4HostNetwork `json:"network" api:"required"`
JSON directoryServiceUpdateResponseInfraTCPServiceConfigHostInfraIPv4HostJSON `json:"-"`
}
func (*DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraIPv4Host) UnmarshalJSON ¶
func (r *DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraIPv4Host) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraIPv4HostNetwork ¶
type DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraIPv4HostNetwork struct {
TunnelID string `json:"tunnel_id" api:"required" format:"uuid"`
JSON directoryServiceUpdateResponseInfraTCPServiceConfigHostInfraIPv4HostNetworkJSON `json:"-"`
}
func (*DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraIPv4HostNetwork) UnmarshalJSON ¶
func (r *DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraIPv4HostNetwork) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraIPv6Host ¶
type DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraIPv6Host struct {
IPV6 string `json:"ipv6" api:"required"`
Network DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraIPv6HostNetwork `json:"network" api:"required"`
JSON directoryServiceUpdateResponseInfraTCPServiceConfigHostInfraIPv6HostJSON `json:"-"`
}
func (*DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraIPv6Host) UnmarshalJSON ¶
func (r *DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraIPv6Host) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraIPv6HostNetwork ¶
type DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraIPv6HostNetwork struct {
TunnelID string `json:"tunnel_id" api:"required" format:"uuid"`
JSON directoryServiceUpdateResponseInfraTCPServiceConfigHostInfraIPv6HostNetworkJSON `json:"-"`
}
func (*DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraIPv6HostNetwork) UnmarshalJSON ¶
func (r *DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraIPv6HostNetwork) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceUpdateResponseInfraTCPServiceConfigHostUnion ¶
type DirectoryServiceUpdateResponseInfraTCPServiceConfigHostUnion interface {
// contains filtered or unexported methods
}
Union satisfied by DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraIPv4Host, DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraIPv6Host, DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraDualStackHost or DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraHostnameHost.
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 ¶
func (r *DirectoryServiceUpdateResponseInfraTCPServiceConfigTLSSettings) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceUpdateResponseInfraTCPServiceConfigType ¶
type DirectoryServiceUpdateResponseInfraTCPServiceConfigType string
const ( DirectoryServiceUpdateResponseInfraTCPServiceConfigTypeTCP DirectoryServiceUpdateResponseInfraTCPServiceConfigType = "tcp" DirectoryServiceUpdateResponseInfraTCPServiceConfigTypeHTTP DirectoryServiceUpdateResponseInfraTCPServiceConfigType = "http" )
func (DirectoryServiceUpdateResponseInfraTCPServiceConfigType) IsKnown ¶
func (r DirectoryServiceUpdateResponseInfraTCPServiceConfigType) IsKnown() bool
type DirectoryServiceUpdateResponseType ¶
type DirectoryServiceUpdateResponseType string
const ( DirectoryServiceUpdateResponseTypeTCP DirectoryServiceUpdateResponseType = "tcp" DirectoryServiceUpdateResponseTypeHTTP DirectoryServiceUpdateResponseType = "http" )
func (DirectoryServiceUpdateResponseType) IsKnown ¶
func (r DirectoryServiceUpdateResponseType) IsKnown() bool
type DirectoryServiceUpdateResponseUnion ¶
type DirectoryServiceUpdateResponseUnion interface {
// contains filtered or unexported methods
}
Union satisfied by DirectoryServiceUpdateResponseInfraHTTPServiceConfig or DirectoryServiceUpdateResponseInfraTCPServiceConfig.
type ErrorDataSource ¶
type ErrorDataSource = shared.ErrorDataSource
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 MemberStatus ¶
type MemberStatus = shared.MemberStatus
A member's status in the account.
This is an alias to an internal type.
type MemberUser ¶
type MemberUser = shared.MemberUser
Details of the user associated to the membership.
This is an alias to an internal type.
type PermissionGrant ¶
type PermissionGrant = shared.PermissionGrant
This is an alias to an internal type.
type PermissionGrantParam ¶
type PermissionGrantParam = shared.PermissionGrantParam
This is an alias to an internal type.
type RatePlanID ¶
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 ResponseInfoSource ¶
type ResponseInfoSource = shared.ResponseInfoSource
This is an alias to an internal type.
type RolePermissions ¶
type RolePermissions = shared.RolePermissions
This is an alias to an internal type.
type RolePermissionsParam ¶
type RolePermissionsParam = shared.RolePermissionsParam
This is an alias to an internal type.
type SortDirection ¶
type SortDirection = shared.SortDirection
Direction to order DNS records in.
This is an alias to an internal type.
type SubscriptionFrequency ¶
type SubscriptionFrequency = shared.SubscriptionFrequency
How often the subscription is renewed automatically.
This is an alias to an internal type.
type SubscriptionParam ¶
type SubscriptionParam = shared.SubscriptionParam
This is an alias to an internal type.
type SubscriptionState ¶
type SubscriptionState = shared.SubscriptionState
The state that the subscription is in.
This is an alias to an internal type.
type TokenCondition ¶
type TokenCondition = shared.TokenCondition
This is an alias to an internal type.
type TokenConditionCIDRList ¶
type TokenConditionCIDRList = shared.TokenConditionCIDRList
IPv4/IPv6 CIDR.
This is an alias to an internal type.
type TokenConditionCIDRListParam ¶
type TokenConditionCIDRListParam = shared.TokenConditionCIDRListParam
IPv4/IPv6 CIDR.
This is an alias to an internal type.
type TokenConditionParam ¶
type TokenConditionParam = shared.TokenConditionParam
This is an alias to an internal type.
type TokenConditionRequestIP ¶
type TokenConditionRequestIP = shared.TokenConditionRequestIP
Client IP restrictions.
This is an alias to an internal type.
type TokenConditionRequestIPParam ¶
type TokenConditionRequestIPParam = shared.TokenConditionRequestIPParam
Client IP restrictions.
This is an alias to an internal type.
type TokenPolicyEffect ¶
type TokenPolicyEffect = shared.TokenPolicyEffect
Allow or deny operations against the resources.
This is an alias to an internal type.
type TokenPolicyParam ¶
type TokenPolicyParam = shared.TokenPolicyParam
This is an alias to an internal type.
type TokenPolicyPermissionGroup ¶
type TokenPolicyPermissionGroup = shared.TokenPolicyPermissionGroup
A named group of permissions that map to a group of operations against resources.
This is an alias to an internal type.
type TokenPolicyPermissionGroupParam ¶
type TokenPolicyPermissionGroupParam = shared.TokenPolicyPermissionGroupParam
A named group of permissions that map to a group of operations against resources.
This is an alias to an internal type.
type TokenPolicyPermissionGroupsMeta ¶
type TokenPolicyPermissionGroupsMeta = shared.TokenPolicyPermissionGroupsMeta
Attributes associated to the permission group.
This is an alias to an internal type.
type TokenPolicyPermissionGroupsMetaParam ¶
type TokenPolicyPermissionGroupsMetaParam = shared.TokenPolicyPermissionGroupsMetaParam
Attributes associated to the permission group.
This is an alias to an internal type.
type 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.