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 ¶ added in v6.9.0
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 ¶ added in v6.9.0
type DirectoryServiceGetResponseAppProtocol string
const ( DirectoryServiceGetResponseAppProtocolPostgresql DirectoryServiceGetResponseAppProtocol = "postgresql" DirectoryServiceGetResponseAppProtocolMysql DirectoryServiceGetResponseAppProtocol = "mysql" )
func (DirectoryServiceGetResponseAppProtocol) IsKnown ¶ added in v6.9.0
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 ¶ added in v6.9.0
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 ¶ added in v6.9.0
func (r *DirectoryServiceGetResponseInfraHTTPServiceConfig) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceGetResponseInfraHTTPServiceConfigHost ¶ added in v6.9.0
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 ¶ added in v6.9.0
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 ¶ added in v6.9.0
func (r *DirectoryServiceGetResponseInfraHTTPServiceConfigHost) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraDualStackHost ¶ added in v6.9.0
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 ¶ added in v6.9.0
func (r *DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraDualStackHost) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraDualStackHostNetwork ¶ added in v6.9.0
type DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraDualStackHostNetwork struct {
TunnelID string `json:"tunnel_id" api:"required" format:"uuid"`
JSON directoryServiceGetResponseInfraHTTPServiceConfigHostInfraDualStackHostNetworkJSON `json:"-"`
}
func (*DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraDualStackHostNetwork) UnmarshalJSON ¶ added in v6.9.0
func (r *DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraDualStackHostNetwork) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraHostnameHost ¶ added in v6.9.0
type DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraHostnameHost struct {
Hostname string `json:"hostname" api:"required"`
ResolverNetwork DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraHostnameHostResolverNetwork `json:"resolver_network" api:"required"`
JSON directoryServiceGetResponseInfraHTTPServiceConfigHostInfraHostnameHostJSON `json:"-"`
}
func (*DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraHostnameHost) UnmarshalJSON ¶ added in v6.9.0
func (r *DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraHostnameHost) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraHostnameHostResolverNetwork ¶ added in v6.9.0
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 ¶ added in v6.9.0
func (r *DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraHostnameHostResolverNetwork) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraIPv4Host ¶ added in v6.9.0
type DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraIPv4Host struct {
IPV4 string `json:"ipv4" api:"required"`
Network DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraIPv4HostNetwork `json:"network" api:"required"`
JSON directoryServiceGetResponseInfraHTTPServiceConfigHostInfraIPv4HostJSON `json:"-"`
}
func (*DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraIPv4Host) UnmarshalJSON ¶ added in v6.9.0
func (r *DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraIPv4Host) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraIPv4HostNetwork ¶ added in v6.9.0
type DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraIPv4HostNetwork struct {
TunnelID string `json:"tunnel_id" api:"required" format:"uuid"`
JSON directoryServiceGetResponseInfraHTTPServiceConfigHostInfraIPv4HostNetworkJSON `json:"-"`
}
func (*DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraIPv4HostNetwork) UnmarshalJSON ¶ added in v6.9.0
func (r *DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraIPv4HostNetwork) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraIPv6Host ¶ added in v6.9.0
type DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraIPv6Host struct {
IPV6 string `json:"ipv6" api:"required"`
Network DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraIPv6HostNetwork `json:"network" api:"required"`
JSON directoryServiceGetResponseInfraHTTPServiceConfigHostInfraIPv6HostJSON `json:"-"`
}
func (*DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraIPv6Host) UnmarshalJSON ¶ added in v6.9.0
func (r *DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraIPv6Host) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraIPv6HostNetwork ¶ added in v6.9.0
type DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraIPv6HostNetwork struct {
TunnelID string `json:"tunnel_id" api:"required" format:"uuid"`
JSON directoryServiceGetResponseInfraHTTPServiceConfigHostInfraIPv6HostNetworkJSON `json:"-"`
}
func (*DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraIPv6HostNetwork) UnmarshalJSON ¶ added in v6.9.0
func (r *DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraIPv6HostNetwork) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceGetResponseInfraHTTPServiceConfigHostUnion ¶ added in v6.9.0
type DirectoryServiceGetResponseInfraHTTPServiceConfigHostUnion interface {
// contains filtered or unexported methods
}
Union satisfied by DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraIPv4Host, DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraIPv6Host, DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraDualStackHost or DirectoryServiceGetResponseInfraHTTPServiceConfigHostInfraHostnameHost.
type DirectoryServiceGetResponseInfraHTTPServiceConfigTLSSettings ¶ added in v6.9.0
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 ¶ added in v6.9.0
func (r *DirectoryServiceGetResponseInfraHTTPServiceConfigTLSSettings) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceGetResponseInfraHTTPServiceConfigType ¶ added in v6.9.0
type DirectoryServiceGetResponseInfraHTTPServiceConfigType string
const ( DirectoryServiceGetResponseInfraHTTPServiceConfigTypeTCP DirectoryServiceGetResponseInfraHTTPServiceConfigType = "tcp" DirectoryServiceGetResponseInfraHTTPServiceConfigTypeHTTP DirectoryServiceGetResponseInfraHTTPServiceConfigType = "http" )
func (DirectoryServiceGetResponseInfraHTTPServiceConfigType) IsKnown ¶ added in v6.9.0
func (r DirectoryServiceGetResponseInfraHTTPServiceConfigType) IsKnown() bool
type DirectoryServiceGetResponseInfraTCPServiceConfig ¶ added in v6.9.0
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 ¶ added in v6.9.0
func (r *DirectoryServiceGetResponseInfraTCPServiceConfig) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceGetResponseInfraTCPServiceConfigAppProtocol ¶ added in v6.9.0
type DirectoryServiceGetResponseInfraTCPServiceConfigAppProtocol string
const ( DirectoryServiceGetResponseInfraTCPServiceConfigAppProtocolPostgresql DirectoryServiceGetResponseInfraTCPServiceConfigAppProtocol = "postgresql" DirectoryServiceGetResponseInfraTCPServiceConfigAppProtocolMysql DirectoryServiceGetResponseInfraTCPServiceConfigAppProtocol = "mysql" )
func (DirectoryServiceGetResponseInfraTCPServiceConfigAppProtocol) IsKnown ¶ added in v6.9.0
func (r DirectoryServiceGetResponseInfraTCPServiceConfigAppProtocol) IsKnown() bool
type DirectoryServiceGetResponseInfraTCPServiceConfigHost ¶ added in v6.9.0
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 ¶ added in v6.9.0
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 ¶ added in v6.9.0
func (r *DirectoryServiceGetResponseInfraTCPServiceConfigHost) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraDualStackHost ¶ added in v6.9.0
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 ¶ added in v6.9.0
func (r *DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraDualStackHost) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraDualStackHostNetwork ¶ added in v6.9.0
type DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraDualStackHostNetwork struct {
TunnelID string `json:"tunnel_id" api:"required" format:"uuid"`
JSON directoryServiceGetResponseInfraTCPServiceConfigHostInfraDualStackHostNetworkJSON `json:"-"`
}
func (*DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraDualStackHostNetwork) UnmarshalJSON ¶ added in v6.9.0
func (r *DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraDualStackHostNetwork) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraHostnameHost ¶ added in v6.9.0
type DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraHostnameHost struct {
Hostname string `json:"hostname" api:"required"`
ResolverNetwork DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraHostnameHostResolverNetwork `json:"resolver_network" api:"required"`
JSON directoryServiceGetResponseInfraTCPServiceConfigHostInfraHostnameHostJSON `json:"-"`
}
func (*DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraHostnameHost) UnmarshalJSON ¶ added in v6.9.0
func (r *DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraHostnameHost) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraHostnameHostResolverNetwork ¶ added in v6.9.0
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 ¶ added in v6.9.0
func (r *DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraHostnameHostResolverNetwork) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraIPv4Host ¶ added in v6.9.0
type DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraIPv4Host struct {
IPV4 string `json:"ipv4" api:"required"`
Network DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraIPv4HostNetwork `json:"network" api:"required"`
JSON directoryServiceGetResponseInfraTCPServiceConfigHostInfraIPv4HostJSON `json:"-"`
}
func (*DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraIPv4Host) UnmarshalJSON ¶ added in v6.9.0
func (r *DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraIPv4Host) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraIPv4HostNetwork ¶ added in v6.9.0
type DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraIPv4HostNetwork struct {
TunnelID string `json:"tunnel_id" api:"required" format:"uuid"`
JSON directoryServiceGetResponseInfraTCPServiceConfigHostInfraIPv4HostNetworkJSON `json:"-"`
}
func (*DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraIPv4HostNetwork) UnmarshalJSON ¶ added in v6.9.0
func (r *DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraIPv4HostNetwork) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraIPv6Host ¶ added in v6.9.0
type DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraIPv6Host struct {
IPV6 string `json:"ipv6" api:"required"`
Network DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraIPv6HostNetwork `json:"network" api:"required"`
JSON directoryServiceGetResponseInfraTCPServiceConfigHostInfraIPv6HostJSON `json:"-"`
}
func (*DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraIPv6Host) UnmarshalJSON ¶ added in v6.9.0
func (r *DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraIPv6Host) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraIPv6HostNetwork ¶ added in v6.9.0
type DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraIPv6HostNetwork struct {
TunnelID string `json:"tunnel_id" api:"required" format:"uuid"`
JSON directoryServiceGetResponseInfraTCPServiceConfigHostInfraIPv6HostNetworkJSON `json:"-"`
}
func (*DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraIPv6HostNetwork) UnmarshalJSON ¶ added in v6.9.0
func (r *DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraIPv6HostNetwork) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceGetResponseInfraTCPServiceConfigHostUnion ¶ added in v6.9.0
type DirectoryServiceGetResponseInfraTCPServiceConfigHostUnion interface {
// contains filtered or unexported methods
}
Union satisfied by DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraIPv4Host, DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraIPv6Host, DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraDualStackHost or DirectoryServiceGetResponseInfraTCPServiceConfigHostInfraHostnameHost.
type DirectoryServiceGetResponseInfraTCPServiceConfigTLSSettings ¶ added in v6.9.0
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 ¶ added in v6.9.0
func (r *DirectoryServiceGetResponseInfraTCPServiceConfigTLSSettings) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceGetResponseInfraTCPServiceConfigType ¶ added in v6.9.0
type DirectoryServiceGetResponseInfraTCPServiceConfigType string
const ( DirectoryServiceGetResponseInfraTCPServiceConfigTypeTCP DirectoryServiceGetResponseInfraTCPServiceConfigType = "tcp" DirectoryServiceGetResponseInfraTCPServiceConfigTypeHTTP DirectoryServiceGetResponseInfraTCPServiceConfigType = "http" )
func (DirectoryServiceGetResponseInfraTCPServiceConfigType) IsKnown ¶ added in v6.9.0
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 ¶ added in v6.9.0
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 ¶ added in v6.9.0
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 ¶ added in v6.9.0
type DirectoryServiceListResponseAppProtocol string
const ( DirectoryServiceListResponseAppProtocolPostgresql DirectoryServiceListResponseAppProtocol = "postgresql" DirectoryServiceListResponseAppProtocolMysql DirectoryServiceListResponseAppProtocol = "mysql" )
func (DirectoryServiceListResponseAppProtocol) IsKnown ¶ added in v6.9.0
func (r DirectoryServiceListResponseAppProtocol) IsKnown() bool
type DirectoryServiceListResponseInfraHTTPServiceConfig ¶ added in v6.9.0
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 ¶ added in v6.9.0
func (r *DirectoryServiceListResponseInfraHTTPServiceConfig) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceListResponseInfraHTTPServiceConfigHost ¶ added in v6.9.0
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 ¶ added in v6.9.0
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 ¶ added in v6.9.0
func (r *DirectoryServiceListResponseInfraHTTPServiceConfigHost) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraDualStackHost ¶ added in v6.9.0
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 ¶ added in v6.9.0
func (r *DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraDualStackHost) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraDualStackHostNetwork ¶ added in v6.9.0
type DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraDualStackHostNetwork struct {
TunnelID string `json:"tunnel_id" api:"required" format:"uuid"`
JSON directoryServiceListResponseInfraHTTPServiceConfigHostInfraDualStackHostNetworkJSON `json:"-"`
}
func (*DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraDualStackHostNetwork) UnmarshalJSON ¶ added in v6.9.0
func (r *DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraDualStackHostNetwork) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraHostnameHost ¶ added in v6.9.0
type DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraHostnameHost struct {
Hostname string `json:"hostname" api:"required"`
ResolverNetwork DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraHostnameHostResolverNetwork `json:"resolver_network" api:"required"`
JSON directoryServiceListResponseInfraHTTPServiceConfigHostInfraHostnameHostJSON `json:"-"`
}
func (*DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraHostnameHost) UnmarshalJSON ¶ added in v6.9.0
func (r *DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraHostnameHost) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraHostnameHostResolverNetwork ¶ added in v6.9.0
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 ¶ added in v6.9.0
func (r *DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraHostnameHostResolverNetwork) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraIPv4Host ¶ added in v6.9.0
type DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraIPv4Host struct {
IPV4 string `json:"ipv4" api:"required"`
Network DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraIPv4HostNetwork `json:"network" api:"required"`
JSON directoryServiceListResponseInfraHTTPServiceConfigHostInfraIPv4HostJSON `json:"-"`
}
func (*DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraIPv4Host) UnmarshalJSON ¶ added in v6.9.0
func (r *DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraIPv4Host) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraIPv4HostNetwork ¶ added in v6.9.0
type DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraIPv4HostNetwork struct {
TunnelID string `json:"tunnel_id" api:"required" format:"uuid"`
JSON directoryServiceListResponseInfraHTTPServiceConfigHostInfraIPv4HostNetworkJSON `json:"-"`
}
func (*DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraIPv4HostNetwork) UnmarshalJSON ¶ added in v6.9.0
func (r *DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraIPv4HostNetwork) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraIPv6Host ¶ added in v6.9.0
type DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraIPv6Host struct {
IPV6 string `json:"ipv6" api:"required"`
Network DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraIPv6HostNetwork `json:"network" api:"required"`
JSON directoryServiceListResponseInfraHTTPServiceConfigHostInfraIPv6HostJSON `json:"-"`
}
func (*DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraIPv6Host) UnmarshalJSON ¶ added in v6.9.0
func (r *DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraIPv6Host) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraIPv6HostNetwork ¶ added in v6.9.0
type DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraIPv6HostNetwork struct {
TunnelID string `json:"tunnel_id" api:"required" format:"uuid"`
JSON directoryServiceListResponseInfraHTTPServiceConfigHostInfraIPv6HostNetworkJSON `json:"-"`
}
func (*DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraIPv6HostNetwork) UnmarshalJSON ¶ added in v6.9.0
func (r *DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraIPv6HostNetwork) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceListResponseInfraHTTPServiceConfigHostUnion ¶ added in v6.9.0
type DirectoryServiceListResponseInfraHTTPServiceConfigHostUnion interface {
// contains filtered or unexported methods
}
Union satisfied by DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraIPv4Host, DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraIPv6Host, DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraDualStackHost or DirectoryServiceListResponseInfraHTTPServiceConfigHostInfraHostnameHost.
type DirectoryServiceListResponseInfraHTTPServiceConfigTLSSettings ¶ added in v6.9.0
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 ¶ added in v6.9.0
func (r *DirectoryServiceListResponseInfraHTTPServiceConfigTLSSettings) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceListResponseInfraHTTPServiceConfigType ¶ added in v6.9.0
type DirectoryServiceListResponseInfraHTTPServiceConfigType string
const ( DirectoryServiceListResponseInfraHTTPServiceConfigTypeTCP DirectoryServiceListResponseInfraHTTPServiceConfigType = "tcp" DirectoryServiceListResponseInfraHTTPServiceConfigTypeHTTP DirectoryServiceListResponseInfraHTTPServiceConfigType = "http" )
func (DirectoryServiceListResponseInfraHTTPServiceConfigType) IsKnown ¶ added in v6.9.0
func (r DirectoryServiceListResponseInfraHTTPServiceConfigType) IsKnown() bool
type DirectoryServiceListResponseInfraTCPServiceConfig ¶ added in v6.9.0
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 ¶ added in v6.9.0
func (r *DirectoryServiceListResponseInfraTCPServiceConfig) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceListResponseInfraTCPServiceConfigAppProtocol ¶ added in v6.9.0
type DirectoryServiceListResponseInfraTCPServiceConfigAppProtocol string
const ( DirectoryServiceListResponseInfraTCPServiceConfigAppProtocolPostgresql DirectoryServiceListResponseInfraTCPServiceConfigAppProtocol = "postgresql" DirectoryServiceListResponseInfraTCPServiceConfigAppProtocolMysql DirectoryServiceListResponseInfraTCPServiceConfigAppProtocol = "mysql" )
func (DirectoryServiceListResponseInfraTCPServiceConfigAppProtocol) IsKnown ¶ added in v6.9.0
func (r DirectoryServiceListResponseInfraTCPServiceConfigAppProtocol) IsKnown() bool
type DirectoryServiceListResponseInfraTCPServiceConfigHost ¶ added in v6.9.0
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 ¶ added in v6.9.0
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 ¶ added in v6.9.0
func (r *DirectoryServiceListResponseInfraTCPServiceConfigHost) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceListResponseInfraTCPServiceConfigHostInfraDualStackHost ¶ added in v6.9.0
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 ¶ added in v6.9.0
func (r *DirectoryServiceListResponseInfraTCPServiceConfigHostInfraDualStackHost) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceListResponseInfraTCPServiceConfigHostInfraDualStackHostNetwork ¶ added in v6.9.0
type DirectoryServiceListResponseInfraTCPServiceConfigHostInfraDualStackHostNetwork struct {
TunnelID string `json:"tunnel_id" api:"required" format:"uuid"`
JSON directoryServiceListResponseInfraTCPServiceConfigHostInfraDualStackHostNetworkJSON `json:"-"`
}
func (*DirectoryServiceListResponseInfraTCPServiceConfigHostInfraDualStackHostNetwork) UnmarshalJSON ¶ added in v6.9.0
func (r *DirectoryServiceListResponseInfraTCPServiceConfigHostInfraDualStackHostNetwork) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceListResponseInfraTCPServiceConfigHostInfraHostnameHost ¶ added in v6.9.0
type DirectoryServiceListResponseInfraTCPServiceConfigHostInfraHostnameHost struct {
Hostname string `json:"hostname" api:"required"`
ResolverNetwork DirectoryServiceListResponseInfraTCPServiceConfigHostInfraHostnameHostResolverNetwork `json:"resolver_network" api:"required"`
JSON directoryServiceListResponseInfraTCPServiceConfigHostInfraHostnameHostJSON `json:"-"`
}
func (*DirectoryServiceListResponseInfraTCPServiceConfigHostInfraHostnameHost) UnmarshalJSON ¶ added in v6.9.0
func (r *DirectoryServiceListResponseInfraTCPServiceConfigHostInfraHostnameHost) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceListResponseInfraTCPServiceConfigHostInfraHostnameHostResolverNetwork ¶ added in v6.9.0
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 ¶ added in v6.9.0
func (r *DirectoryServiceListResponseInfraTCPServiceConfigHostInfraHostnameHostResolverNetwork) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceListResponseInfraTCPServiceConfigHostInfraIPv4Host ¶ added in v6.9.0
type DirectoryServiceListResponseInfraTCPServiceConfigHostInfraIPv4Host struct {
IPV4 string `json:"ipv4" api:"required"`
Network DirectoryServiceListResponseInfraTCPServiceConfigHostInfraIPv4HostNetwork `json:"network" api:"required"`
JSON directoryServiceListResponseInfraTCPServiceConfigHostInfraIPv4HostJSON `json:"-"`
}
func (*DirectoryServiceListResponseInfraTCPServiceConfigHostInfraIPv4Host) UnmarshalJSON ¶ added in v6.9.0
func (r *DirectoryServiceListResponseInfraTCPServiceConfigHostInfraIPv4Host) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceListResponseInfraTCPServiceConfigHostInfraIPv4HostNetwork ¶ added in v6.9.0
type DirectoryServiceListResponseInfraTCPServiceConfigHostInfraIPv4HostNetwork struct {
TunnelID string `json:"tunnel_id" api:"required" format:"uuid"`
JSON directoryServiceListResponseInfraTCPServiceConfigHostInfraIPv4HostNetworkJSON `json:"-"`
}
func (*DirectoryServiceListResponseInfraTCPServiceConfigHostInfraIPv4HostNetwork) UnmarshalJSON ¶ added in v6.9.0
func (r *DirectoryServiceListResponseInfraTCPServiceConfigHostInfraIPv4HostNetwork) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceListResponseInfraTCPServiceConfigHostInfraIPv6Host ¶ added in v6.9.0
type DirectoryServiceListResponseInfraTCPServiceConfigHostInfraIPv6Host struct {
IPV6 string `json:"ipv6" api:"required"`
Network DirectoryServiceListResponseInfraTCPServiceConfigHostInfraIPv6HostNetwork `json:"network" api:"required"`
JSON directoryServiceListResponseInfraTCPServiceConfigHostInfraIPv6HostJSON `json:"-"`
}
func (*DirectoryServiceListResponseInfraTCPServiceConfigHostInfraIPv6Host) UnmarshalJSON ¶ added in v6.9.0
func (r *DirectoryServiceListResponseInfraTCPServiceConfigHostInfraIPv6Host) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceListResponseInfraTCPServiceConfigHostInfraIPv6HostNetwork ¶ added in v6.9.0
type DirectoryServiceListResponseInfraTCPServiceConfigHostInfraIPv6HostNetwork struct {
TunnelID string `json:"tunnel_id" api:"required" format:"uuid"`
JSON directoryServiceListResponseInfraTCPServiceConfigHostInfraIPv6HostNetworkJSON `json:"-"`
}
func (*DirectoryServiceListResponseInfraTCPServiceConfigHostInfraIPv6HostNetwork) UnmarshalJSON ¶ added in v6.9.0
func (r *DirectoryServiceListResponseInfraTCPServiceConfigHostInfraIPv6HostNetwork) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceListResponseInfraTCPServiceConfigHostUnion ¶ added in v6.9.0
type DirectoryServiceListResponseInfraTCPServiceConfigHostUnion interface {
// contains filtered or unexported methods
}
Union satisfied by DirectoryServiceListResponseInfraTCPServiceConfigHostInfraIPv4Host, DirectoryServiceListResponseInfraTCPServiceConfigHostInfraIPv6Host, DirectoryServiceListResponseInfraTCPServiceConfigHostInfraDualStackHost or DirectoryServiceListResponseInfraTCPServiceConfigHostInfraHostnameHost.
type DirectoryServiceListResponseInfraTCPServiceConfigTLSSettings ¶ added in v6.9.0
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 ¶ added in v6.9.0
func (r *DirectoryServiceListResponseInfraTCPServiceConfigTLSSettings) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceListResponseInfraTCPServiceConfigType ¶ added in v6.9.0
type DirectoryServiceListResponseInfraTCPServiceConfigType string
const ( DirectoryServiceListResponseInfraTCPServiceConfigTypeTCP DirectoryServiceListResponseInfraTCPServiceConfigType = "tcp" DirectoryServiceListResponseInfraTCPServiceConfigTypeHTTP DirectoryServiceListResponseInfraTCPServiceConfigType = "http" )
func (DirectoryServiceListResponseInfraTCPServiceConfigType) IsKnown ¶ added in v6.9.0
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 ¶ added in v6.9.0
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 ¶ added in v6.9.0
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 ¶ added in v6.9.0
func (r DirectoryServiceNewParamsBody) MarshalJSON() (data []byte, err error)
type DirectoryServiceNewParamsBodyAppProtocol ¶ added in v6.9.0
type DirectoryServiceNewParamsBodyAppProtocol string
const ( DirectoryServiceNewParamsBodyAppProtocolPostgresql DirectoryServiceNewParamsBodyAppProtocol = "postgresql" DirectoryServiceNewParamsBodyAppProtocolMysql DirectoryServiceNewParamsBodyAppProtocol = "mysql" )
func (DirectoryServiceNewParamsBodyAppProtocol) IsKnown ¶ added in v6.9.0
func (r DirectoryServiceNewParamsBodyAppProtocol) IsKnown() bool
type DirectoryServiceNewParamsBodyInfraHTTPServiceConfig ¶ added in v6.9.0
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 ¶ added in v6.9.0
func (r DirectoryServiceNewParamsBodyInfraHTTPServiceConfig) MarshalJSON() (data []byte, err error)
type DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHost ¶ added in v6.9.0
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 ¶ added in v6.9.0
func (r DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHost) MarshalJSON() (data []byte, err error)
type DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraDualStackHost ¶ added in v6.9.0
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 ¶ added in v6.9.0
func (r DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraDualStackHost) MarshalJSON() (data []byte, err error)
type DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraDualStackHostNetwork ¶ added in v6.9.0
type DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraDualStackHostNetwork struct {
TunnelID param.Field[string] `json:"tunnel_id" api:"required" format:"uuid"`
}
func (DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraDualStackHostNetwork) MarshalJSON ¶ added in v6.9.0
func (r DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraDualStackHostNetwork) MarshalJSON() (data []byte, err error)
type DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraHostnameHost ¶ added in v6.9.0
type DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraHostnameHost struct {
Hostname param.Field[string] `json:"hostname" api:"required"`
ResolverNetwork param.Field[DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraHostnameHostResolverNetwork] `json:"resolver_network" api:"required"`
}
func (DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraHostnameHost) MarshalJSON ¶ added in v6.9.0
func (r DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraHostnameHost) MarshalJSON() (data []byte, err error)
type DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraHostnameHostResolverNetwork ¶ added in v6.9.0
type DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraHostnameHostResolverNetwork struct {
TunnelID param.Field[string] `json:"tunnel_id" api:"required" format:"uuid"`
ResolverIPs param.Field[[]string] `json:"resolver_ips"`
}
func (DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraHostnameHostResolverNetwork) MarshalJSON ¶ added in v6.9.0
func (r DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraHostnameHostResolverNetwork) MarshalJSON() (data []byte, err error)
type DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraIPv4Host ¶ added in v6.9.0
type DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraIPv4Host struct {
IPV4 param.Field[string] `json:"ipv4" api:"required"`
Network param.Field[DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraIPv4HostNetwork] `json:"network" api:"required"`
}
func (DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraIPv4Host) MarshalJSON ¶ added in v6.9.0
func (r DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraIPv4Host) MarshalJSON() (data []byte, err error)
type DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraIPv4HostNetwork ¶ added in v6.9.0
type DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraIPv4HostNetwork struct {
TunnelID param.Field[string] `json:"tunnel_id" api:"required" format:"uuid"`
}
func (DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraIPv4HostNetwork) MarshalJSON ¶ added in v6.9.0
func (r DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraIPv4HostNetwork) MarshalJSON() (data []byte, err error)
type DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraIPv6Host ¶ added in v6.9.0
type DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraIPv6Host struct {
IPV6 param.Field[string] `json:"ipv6" api:"required"`
Network param.Field[DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraIPv6HostNetwork] `json:"network" api:"required"`
}
func (DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraIPv6Host) MarshalJSON ¶ added in v6.9.0
func (r DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraIPv6Host) MarshalJSON() (data []byte, err error)
type DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraIPv6HostNetwork ¶ added in v6.9.0
type DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraIPv6HostNetwork struct {
TunnelID param.Field[string] `json:"tunnel_id" api:"required" format:"uuid"`
}
func (DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraIPv6HostNetwork) MarshalJSON ¶ added in v6.9.0
func (r DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraIPv6HostNetwork) MarshalJSON() (data []byte, err error)
type DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostUnion ¶ added in v6.9.0
type DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostUnion interface {
// contains filtered or unexported methods
}
Satisfied by connectivity.DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraIPv4Host, connectivity.DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraIPv6Host, connectivity.DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraDualStackHost, connectivity.DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHostInfraHostnameHost, DirectoryServiceNewParamsBodyInfraHTTPServiceConfigHost.
type DirectoryServiceNewParamsBodyInfraHTTPServiceConfigTLSSettings ¶ added in v6.9.0
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 ¶ added in v6.9.0
func (r DirectoryServiceNewParamsBodyInfraHTTPServiceConfigTLSSettings) MarshalJSON() (data []byte, err error)
type DirectoryServiceNewParamsBodyInfraHTTPServiceConfigType ¶ added in v6.9.0
type DirectoryServiceNewParamsBodyInfraHTTPServiceConfigType string
const ( DirectoryServiceNewParamsBodyInfraHTTPServiceConfigTypeTCP DirectoryServiceNewParamsBodyInfraHTTPServiceConfigType = "tcp" DirectoryServiceNewParamsBodyInfraHTTPServiceConfigTypeHTTP DirectoryServiceNewParamsBodyInfraHTTPServiceConfigType = "http" )
func (DirectoryServiceNewParamsBodyInfraHTTPServiceConfigType) IsKnown ¶ added in v6.9.0
func (r DirectoryServiceNewParamsBodyInfraHTTPServiceConfigType) IsKnown() bool
type DirectoryServiceNewParamsBodyInfraTCPServiceConfig ¶ added in v6.9.0
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 ¶ added in v6.9.0
func (r DirectoryServiceNewParamsBodyInfraTCPServiceConfig) MarshalJSON() (data []byte, err error)
type DirectoryServiceNewParamsBodyInfraTCPServiceConfigAppProtocol ¶ added in v6.9.0
type DirectoryServiceNewParamsBodyInfraTCPServiceConfigAppProtocol string
const ( DirectoryServiceNewParamsBodyInfraTCPServiceConfigAppProtocolPostgresql DirectoryServiceNewParamsBodyInfraTCPServiceConfigAppProtocol = "postgresql" DirectoryServiceNewParamsBodyInfraTCPServiceConfigAppProtocolMysql DirectoryServiceNewParamsBodyInfraTCPServiceConfigAppProtocol = "mysql" )
func (DirectoryServiceNewParamsBodyInfraTCPServiceConfigAppProtocol) IsKnown ¶ added in v6.9.0
func (r DirectoryServiceNewParamsBodyInfraTCPServiceConfigAppProtocol) IsKnown() bool
type DirectoryServiceNewParamsBodyInfraTCPServiceConfigHost ¶ added in v6.9.0
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 ¶ added in v6.9.0
func (r DirectoryServiceNewParamsBodyInfraTCPServiceConfigHost) MarshalJSON() (data []byte, err error)
type DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraDualStackHost ¶ added in v6.9.0
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 ¶ added in v6.9.0
func (r DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraDualStackHost) MarshalJSON() (data []byte, err error)
type DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraDualStackHostNetwork ¶ added in v6.9.0
type DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraDualStackHostNetwork struct {
TunnelID param.Field[string] `json:"tunnel_id" api:"required" format:"uuid"`
}
func (DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraDualStackHostNetwork) MarshalJSON ¶ added in v6.9.0
func (r DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraDualStackHostNetwork) MarshalJSON() (data []byte, err error)
type DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraHostnameHost ¶ added in v6.9.0
type DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraHostnameHost struct {
Hostname param.Field[string] `json:"hostname" api:"required"`
ResolverNetwork param.Field[DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraHostnameHostResolverNetwork] `json:"resolver_network" api:"required"`
}
func (DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraHostnameHost) MarshalJSON ¶ added in v6.9.0
func (r DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraHostnameHost) MarshalJSON() (data []byte, err error)
type DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraHostnameHostResolverNetwork ¶ added in v6.9.0
type DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraHostnameHostResolverNetwork struct {
TunnelID param.Field[string] `json:"tunnel_id" api:"required" format:"uuid"`
ResolverIPs param.Field[[]string] `json:"resolver_ips"`
}
func (DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraHostnameHostResolverNetwork) MarshalJSON ¶ added in v6.9.0
func (r DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraHostnameHostResolverNetwork) MarshalJSON() (data []byte, err error)
type DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraIPv4Host ¶ added in v6.9.0
type DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraIPv4Host struct {
IPV4 param.Field[string] `json:"ipv4" api:"required"`
Network param.Field[DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraIPv4HostNetwork] `json:"network" api:"required"`
}
func (DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraIPv4Host) MarshalJSON ¶ added in v6.9.0
func (r DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraIPv4Host) MarshalJSON() (data []byte, err error)
type DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraIPv4HostNetwork ¶ added in v6.9.0
type DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraIPv4HostNetwork struct {
TunnelID param.Field[string] `json:"tunnel_id" api:"required" format:"uuid"`
}
func (DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraIPv4HostNetwork) MarshalJSON ¶ added in v6.9.0
func (r DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraIPv4HostNetwork) MarshalJSON() (data []byte, err error)
type DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraIPv6Host ¶ added in v6.9.0
type DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraIPv6Host struct {
IPV6 param.Field[string] `json:"ipv6" api:"required"`
Network param.Field[DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraIPv6HostNetwork] `json:"network" api:"required"`
}
func (DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraIPv6Host) MarshalJSON ¶ added in v6.9.0
func (r DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraIPv6Host) MarshalJSON() (data []byte, err error)
type DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraIPv6HostNetwork ¶ added in v6.9.0
type DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraIPv6HostNetwork struct {
TunnelID param.Field[string] `json:"tunnel_id" api:"required" format:"uuid"`
}
func (DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraIPv6HostNetwork) MarshalJSON ¶ added in v6.9.0
func (r DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraIPv6HostNetwork) MarshalJSON() (data []byte, err error)
type DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostUnion ¶ added in v6.9.0
type DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostUnion interface {
// contains filtered or unexported methods
}
Satisfied by connectivity.DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraIPv4Host, connectivity.DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraIPv6Host, connectivity.DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraDualStackHost, connectivity.DirectoryServiceNewParamsBodyInfraTCPServiceConfigHostInfraHostnameHost, DirectoryServiceNewParamsBodyInfraTCPServiceConfigHost.
type DirectoryServiceNewParamsBodyInfraTCPServiceConfigTLSSettings ¶ added in v6.9.0
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 ¶ added in v6.9.0
func (r DirectoryServiceNewParamsBodyInfraTCPServiceConfigTLSSettings) MarshalJSON() (data []byte, err error)
type DirectoryServiceNewParamsBodyInfraTCPServiceConfigType ¶ added in v6.9.0
type DirectoryServiceNewParamsBodyInfraTCPServiceConfigType string
const ( DirectoryServiceNewParamsBodyInfraTCPServiceConfigTypeTCP DirectoryServiceNewParamsBodyInfraTCPServiceConfigType = "tcp" DirectoryServiceNewParamsBodyInfraTCPServiceConfigTypeHTTP DirectoryServiceNewParamsBodyInfraTCPServiceConfigType = "http" )
func (DirectoryServiceNewParamsBodyInfraTCPServiceConfigType) IsKnown ¶ added in v6.9.0
func (r DirectoryServiceNewParamsBodyInfraTCPServiceConfigType) IsKnown() bool
type DirectoryServiceNewParamsBodyType ¶ added in v6.9.0
type DirectoryServiceNewParamsBodyType string
const ( DirectoryServiceNewParamsBodyTypeTCP DirectoryServiceNewParamsBodyType = "tcp" DirectoryServiceNewParamsBodyTypeHTTP DirectoryServiceNewParamsBodyType = "http" )
func (DirectoryServiceNewParamsBodyType) IsKnown ¶ added in v6.9.0
func (r DirectoryServiceNewParamsBodyType) IsKnown() bool
type DirectoryServiceNewParamsBodyUnion ¶ added in v6.9.0
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 ¶ added in v6.9.0
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 ¶ added in v6.9.0
type DirectoryServiceNewResponseAppProtocol string
const ( DirectoryServiceNewResponseAppProtocolPostgresql DirectoryServiceNewResponseAppProtocol = "postgresql" DirectoryServiceNewResponseAppProtocolMysql DirectoryServiceNewResponseAppProtocol = "mysql" )
func (DirectoryServiceNewResponseAppProtocol) IsKnown ¶ added in v6.9.0
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 ¶ added in v6.9.0
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 ¶ added in v6.9.0
func (r *DirectoryServiceNewResponseInfraHTTPServiceConfig) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceNewResponseInfraHTTPServiceConfigHost ¶ added in v6.9.0
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 ¶ added in v6.9.0
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 ¶ added in v6.9.0
func (r *DirectoryServiceNewResponseInfraHTTPServiceConfigHost) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraDualStackHost ¶ added in v6.9.0
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 ¶ added in v6.9.0
func (r *DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraDualStackHost) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraDualStackHostNetwork ¶ added in v6.9.0
type DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraDualStackHostNetwork struct {
TunnelID string `json:"tunnel_id" api:"required" format:"uuid"`
JSON directoryServiceNewResponseInfraHTTPServiceConfigHostInfraDualStackHostNetworkJSON `json:"-"`
}
func (*DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraDualStackHostNetwork) UnmarshalJSON ¶ added in v6.9.0
func (r *DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraDualStackHostNetwork) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraHostnameHost ¶ added in v6.9.0
type DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraHostnameHost struct {
Hostname string `json:"hostname" api:"required"`
ResolverNetwork DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraHostnameHostResolverNetwork `json:"resolver_network" api:"required"`
JSON directoryServiceNewResponseInfraHTTPServiceConfigHostInfraHostnameHostJSON `json:"-"`
}
func (*DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraHostnameHost) UnmarshalJSON ¶ added in v6.9.0
func (r *DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraHostnameHost) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraHostnameHostResolverNetwork ¶ added in v6.9.0
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 ¶ added in v6.9.0
func (r *DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraHostnameHostResolverNetwork) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraIPv4Host ¶ added in v6.9.0
type DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraIPv4Host struct {
IPV4 string `json:"ipv4" api:"required"`
Network DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraIPv4HostNetwork `json:"network" api:"required"`
JSON directoryServiceNewResponseInfraHTTPServiceConfigHostInfraIPv4HostJSON `json:"-"`
}
func (*DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraIPv4Host) UnmarshalJSON ¶ added in v6.9.0
func (r *DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraIPv4Host) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraIPv4HostNetwork ¶ added in v6.9.0
type DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraIPv4HostNetwork struct {
TunnelID string `json:"tunnel_id" api:"required" format:"uuid"`
JSON directoryServiceNewResponseInfraHTTPServiceConfigHostInfraIPv4HostNetworkJSON `json:"-"`
}
func (*DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraIPv4HostNetwork) UnmarshalJSON ¶ added in v6.9.0
func (r *DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraIPv4HostNetwork) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraIPv6Host ¶ added in v6.9.0
type DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraIPv6Host struct {
IPV6 string `json:"ipv6" api:"required"`
Network DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraIPv6HostNetwork `json:"network" api:"required"`
JSON directoryServiceNewResponseInfraHTTPServiceConfigHostInfraIPv6HostJSON `json:"-"`
}
func (*DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraIPv6Host) UnmarshalJSON ¶ added in v6.9.0
func (r *DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraIPv6Host) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraIPv6HostNetwork ¶ added in v6.9.0
type DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraIPv6HostNetwork struct {
TunnelID string `json:"tunnel_id" api:"required" format:"uuid"`
JSON directoryServiceNewResponseInfraHTTPServiceConfigHostInfraIPv6HostNetworkJSON `json:"-"`
}
func (*DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraIPv6HostNetwork) UnmarshalJSON ¶ added in v6.9.0
func (r *DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraIPv6HostNetwork) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceNewResponseInfraHTTPServiceConfigHostUnion ¶ added in v6.9.0
type DirectoryServiceNewResponseInfraHTTPServiceConfigHostUnion interface {
// contains filtered or unexported methods
}
Union satisfied by DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraIPv4Host, DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraIPv6Host, DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraDualStackHost or DirectoryServiceNewResponseInfraHTTPServiceConfigHostInfraHostnameHost.
type DirectoryServiceNewResponseInfraHTTPServiceConfigTLSSettings ¶ added in v6.9.0
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 ¶ added in v6.9.0
func (r *DirectoryServiceNewResponseInfraHTTPServiceConfigTLSSettings) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceNewResponseInfraHTTPServiceConfigType ¶ added in v6.9.0
type DirectoryServiceNewResponseInfraHTTPServiceConfigType string
const ( DirectoryServiceNewResponseInfraHTTPServiceConfigTypeTCP DirectoryServiceNewResponseInfraHTTPServiceConfigType = "tcp" DirectoryServiceNewResponseInfraHTTPServiceConfigTypeHTTP DirectoryServiceNewResponseInfraHTTPServiceConfigType = "http" )
func (DirectoryServiceNewResponseInfraHTTPServiceConfigType) IsKnown ¶ added in v6.9.0
func (r DirectoryServiceNewResponseInfraHTTPServiceConfigType) IsKnown() bool
type DirectoryServiceNewResponseInfraTCPServiceConfig ¶ added in v6.9.0
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 ¶ added in v6.9.0
func (r *DirectoryServiceNewResponseInfraTCPServiceConfig) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceNewResponseInfraTCPServiceConfigAppProtocol ¶ added in v6.9.0
type DirectoryServiceNewResponseInfraTCPServiceConfigAppProtocol string
const ( DirectoryServiceNewResponseInfraTCPServiceConfigAppProtocolPostgresql DirectoryServiceNewResponseInfraTCPServiceConfigAppProtocol = "postgresql" DirectoryServiceNewResponseInfraTCPServiceConfigAppProtocolMysql DirectoryServiceNewResponseInfraTCPServiceConfigAppProtocol = "mysql" )
func (DirectoryServiceNewResponseInfraTCPServiceConfigAppProtocol) IsKnown ¶ added in v6.9.0
func (r DirectoryServiceNewResponseInfraTCPServiceConfigAppProtocol) IsKnown() bool
type DirectoryServiceNewResponseInfraTCPServiceConfigHost ¶ added in v6.9.0
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 ¶ added in v6.9.0
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 ¶ added in v6.9.0
func (r *DirectoryServiceNewResponseInfraTCPServiceConfigHost) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraDualStackHost ¶ added in v6.9.0
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 ¶ added in v6.9.0
func (r *DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraDualStackHost) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraDualStackHostNetwork ¶ added in v6.9.0
type DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraDualStackHostNetwork struct {
TunnelID string `json:"tunnel_id" api:"required" format:"uuid"`
JSON directoryServiceNewResponseInfraTCPServiceConfigHostInfraDualStackHostNetworkJSON `json:"-"`
}
func (*DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraDualStackHostNetwork) UnmarshalJSON ¶ added in v6.9.0
func (r *DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraDualStackHostNetwork) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraHostnameHost ¶ added in v6.9.0
type DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraHostnameHost struct {
Hostname string `json:"hostname" api:"required"`
ResolverNetwork DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraHostnameHostResolverNetwork `json:"resolver_network" api:"required"`
JSON directoryServiceNewResponseInfraTCPServiceConfigHostInfraHostnameHostJSON `json:"-"`
}
func (*DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraHostnameHost) UnmarshalJSON ¶ added in v6.9.0
func (r *DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraHostnameHost) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraHostnameHostResolverNetwork ¶ added in v6.9.0
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 ¶ added in v6.9.0
func (r *DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraHostnameHostResolverNetwork) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraIPv4Host ¶ added in v6.9.0
type DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraIPv4Host struct {
IPV4 string `json:"ipv4" api:"required"`
Network DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraIPv4HostNetwork `json:"network" api:"required"`
JSON directoryServiceNewResponseInfraTCPServiceConfigHostInfraIPv4HostJSON `json:"-"`
}
func (*DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraIPv4Host) UnmarshalJSON ¶ added in v6.9.0
func (r *DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraIPv4Host) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraIPv4HostNetwork ¶ added in v6.9.0
type DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraIPv4HostNetwork struct {
TunnelID string `json:"tunnel_id" api:"required" format:"uuid"`
JSON directoryServiceNewResponseInfraTCPServiceConfigHostInfraIPv4HostNetworkJSON `json:"-"`
}
func (*DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraIPv4HostNetwork) UnmarshalJSON ¶ added in v6.9.0
func (r *DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraIPv4HostNetwork) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraIPv6Host ¶ added in v6.9.0
type DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraIPv6Host struct {
IPV6 string `json:"ipv6" api:"required"`
Network DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraIPv6HostNetwork `json:"network" api:"required"`
JSON directoryServiceNewResponseInfraTCPServiceConfigHostInfraIPv6HostJSON `json:"-"`
}
func (*DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraIPv6Host) UnmarshalJSON ¶ added in v6.9.0
func (r *DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraIPv6Host) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraIPv6HostNetwork ¶ added in v6.9.0
type DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraIPv6HostNetwork struct {
TunnelID string `json:"tunnel_id" api:"required" format:"uuid"`
JSON directoryServiceNewResponseInfraTCPServiceConfigHostInfraIPv6HostNetworkJSON `json:"-"`
}
func (*DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraIPv6HostNetwork) UnmarshalJSON ¶ added in v6.9.0
func (r *DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraIPv6HostNetwork) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceNewResponseInfraTCPServiceConfigHostUnion ¶ added in v6.9.0
type DirectoryServiceNewResponseInfraTCPServiceConfigHostUnion interface {
// contains filtered or unexported methods
}
Union satisfied by DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraIPv4Host, DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraIPv6Host, DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraDualStackHost or DirectoryServiceNewResponseInfraTCPServiceConfigHostInfraHostnameHost.
type DirectoryServiceNewResponseInfraTCPServiceConfigTLSSettings ¶ added in v6.9.0
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 ¶ added in v6.9.0
func (r *DirectoryServiceNewResponseInfraTCPServiceConfigTLSSettings) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceNewResponseInfraTCPServiceConfigType ¶ added in v6.9.0
type DirectoryServiceNewResponseInfraTCPServiceConfigType string
const ( DirectoryServiceNewResponseInfraTCPServiceConfigTypeTCP DirectoryServiceNewResponseInfraTCPServiceConfigType = "tcp" DirectoryServiceNewResponseInfraTCPServiceConfigTypeHTTP DirectoryServiceNewResponseInfraTCPServiceConfigType = "http" )
func (DirectoryServiceNewResponseInfraTCPServiceConfigType) IsKnown ¶ added in v6.9.0
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 ¶ added in v6.9.0
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 ¶ added in v6.9.0
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 ¶ added in v6.9.0
func (r DirectoryServiceUpdateParamsBody) MarshalJSON() (data []byte, err error)
type DirectoryServiceUpdateParamsBodyAppProtocol ¶ added in v6.9.0
type DirectoryServiceUpdateParamsBodyAppProtocol string
const ( DirectoryServiceUpdateParamsBodyAppProtocolPostgresql DirectoryServiceUpdateParamsBodyAppProtocol = "postgresql" DirectoryServiceUpdateParamsBodyAppProtocolMysql DirectoryServiceUpdateParamsBodyAppProtocol = "mysql" )
func (DirectoryServiceUpdateParamsBodyAppProtocol) IsKnown ¶ added in v6.9.0
func (r DirectoryServiceUpdateParamsBodyAppProtocol) IsKnown() bool
type DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfig ¶ added in v6.9.0
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 ¶ added in v6.9.0
func (r DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfig) MarshalJSON() (data []byte, err error)
type DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHost ¶ added in v6.9.0
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 ¶ added in v6.9.0
func (r DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHost) MarshalJSON() (data []byte, err error)
type DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraDualStackHost ¶ added in v6.9.0
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 ¶ added in v6.9.0
func (r DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraDualStackHost) MarshalJSON() (data []byte, err error)
type DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraDualStackHostNetwork ¶ added in v6.9.0
type DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraDualStackHostNetwork struct {
TunnelID param.Field[string] `json:"tunnel_id" api:"required" format:"uuid"`
}
func (DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraDualStackHostNetwork) MarshalJSON ¶ added in v6.9.0
func (r DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraDualStackHostNetwork) MarshalJSON() (data []byte, err error)
type DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraHostnameHost ¶ added in v6.9.0
type DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraHostnameHost struct {
Hostname param.Field[string] `json:"hostname" api:"required"`
ResolverNetwork param.Field[DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraHostnameHostResolverNetwork] `json:"resolver_network" api:"required"`
}
func (DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraHostnameHost) MarshalJSON ¶ added in v6.9.0
func (r DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraHostnameHost) MarshalJSON() (data []byte, err error)
type DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraHostnameHostResolverNetwork ¶ added in v6.9.0
type DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraHostnameHostResolverNetwork struct {
TunnelID param.Field[string] `json:"tunnel_id" api:"required" format:"uuid"`
ResolverIPs param.Field[[]string] `json:"resolver_ips"`
}
func (DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraHostnameHostResolverNetwork) MarshalJSON ¶ added in v6.9.0
func (r DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraHostnameHostResolverNetwork) MarshalJSON() (data []byte, err error)
type DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraIPv4Host ¶ added in v6.9.0
type DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraIPv4Host struct {
IPV4 param.Field[string] `json:"ipv4" api:"required"`
Network param.Field[DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraIPv4HostNetwork] `json:"network" api:"required"`
}
func (DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraIPv4Host) MarshalJSON ¶ added in v6.9.0
func (r DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraIPv4Host) MarshalJSON() (data []byte, err error)
type DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraIPv4HostNetwork ¶ added in v6.9.0
type DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraIPv4HostNetwork struct {
TunnelID param.Field[string] `json:"tunnel_id" api:"required" format:"uuid"`
}
func (DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraIPv4HostNetwork) MarshalJSON ¶ added in v6.9.0
func (r DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraIPv4HostNetwork) MarshalJSON() (data []byte, err error)
type DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraIPv6Host ¶ added in v6.9.0
type DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraIPv6Host struct {
IPV6 param.Field[string] `json:"ipv6" api:"required"`
Network param.Field[DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraIPv6HostNetwork] `json:"network" api:"required"`
}
func (DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraIPv6Host) MarshalJSON ¶ added in v6.9.0
func (r DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraIPv6Host) MarshalJSON() (data []byte, err error)
type DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraIPv6HostNetwork ¶ added in v6.9.0
type DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraIPv6HostNetwork struct {
TunnelID param.Field[string] `json:"tunnel_id" api:"required" format:"uuid"`
}
func (DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraIPv6HostNetwork) MarshalJSON ¶ added in v6.9.0
func (r DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraIPv6HostNetwork) MarshalJSON() (data []byte, err error)
type DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostUnion ¶ added in v6.9.0
type DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostUnion interface {
// contains filtered or unexported methods
}
Satisfied by connectivity.DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraIPv4Host, connectivity.DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraIPv6Host, connectivity.DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraDualStackHost, connectivity.DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHostInfraHostnameHost, DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigHost.
type DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigTLSSettings ¶ added in v6.9.0
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 ¶ added in v6.9.0
func (r DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigTLSSettings) MarshalJSON() (data []byte, err error)
type DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigType ¶ added in v6.9.0
type DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigType string
const ( DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigTypeTCP DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigType = "tcp" DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigTypeHTTP DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigType = "http" )
func (DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigType) IsKnown ¶ added in v6.9.0
func (r DirectoryServiceUpdateParamsBodyInfraHTTPServiceConfigType) IsKnown() bool
type DirectoryServiceUpdateParamsBodyInfraTCPServiceConfig ¶ added in v6.9.0
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 ¶ added in v6.9.0
func (r DirectoryServiceUpdateParamsBodyInfraTCPServiceConfig) MarshalJSON() (data []byte, err error)
type DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigAppProtocol ¶ added in v6.9.0
type DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigAppProtocol string
const ( DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigAppProtocolPostgresql DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigAppProtocol = "postgresql" DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigAppProtocolMysql DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigAppProtocol = "mysql" )
func (DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigAppProtocol) IsKnown ¶ added in v6.9.0
func (r DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigAppProtocol) IsKnown() bool
type DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHost ¶ added in v6.9.0
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 ¶ added in v6.9.0
func (r DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHost) MarshalJSON() (data []byte, err error)
type DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraDualStackHost ¶ added in v6.9.0
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 ¶ added in v6.9.0
func (r DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraDualStackHost) MarshalJSON() (data []byte, err error)
type DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraDualStackHostNetwork ¶ added in v6.9.0
type DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraDualStackHostNetwork struct {
TunnelID param.Field[string] `json:"tunnel_id" api:"required" format:"uuid"`
}
func (DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraDualStackHostNetwork) MarshalJSON ¶ added in v6.9.0
func (r DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraDualStackHostNetwork) MarshalJSON() (data []byte, err error)
type DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraHostnameHost ¶ added in v6.9.0
type DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraHostnameHost struct {
Hostname param.Field[string] `json:"hostname" api:"required"`
ResolverNetwork param.Field[DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraHostnameHostResolverNetwork] `json:"resolver_network" api:"required"`
}
func (DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraHostnameHost) MarshalJSON ¶ added in v6.9.0
func (r DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraHostnameHost) MarshalJSON() (data []byte, err error)
type DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraHostnameHostResolverNetwork ¶ added in v6.9.0
type DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraHostnameHostResolverNetwork struct {
TunnelID param.Field[string] `json:"tunnel_id" api:"required" format:"uuid"`
ResolverIPs param.Field[[]string] `json:"resolver_ips"`
}
func (DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraHostnameHostResolverNetwork) MarshalJSON ¶ added in v6.9.0
func (r DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraHostnameHostResolverNetwork) MarshalJSON() (data []byte, err error)
type DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraIPv4Host ¶ added in v6.9.0
type DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraIPv4Host struct {
IPV4 param.Field[string] `json:"ipv4" api:"required"`
Network param.Field[DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraIPv4HostNetwork] `json:"network" api:"required"`
}
func (DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraIPv4Host) MarshalJSON ¶ added in v6.9.0
func (r DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraIPv4Host) MarshalJSON() (data []byte, err error)
type DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraIPv4HostNetwork ¶ added in v6.9.0
type DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraIPv4HostNetwork struct {
TunnelID param.Field[string] `json:"tunnel_id" api:"required" format:"uuid"`
}
func (DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraIPv4HostNetwork) MarshalJSON ¶ added in v6.9.0
func (r DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraIPv4HostNetwork) MarshalJSON() (data []byte, err error)
type DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraIPv6Host ¶ added in v6.9.0
type DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraIPv6Host struct {
IPV6 param.Field[string] `json:"ipv6" api:"required"`
Network param.Field[DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraIPv6HostNetwork] `json:"network" api:"required"`
}
func (DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraIPv6Host) MarshalJSON ¶ added in v6.9.0
func (r DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraIPv6Host) MarshalJSON() (data []byte, err error)
type DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraIPv6HostNetwork ¶ added in v6.9.0
type DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraIPv6HostNetwork struct {
TunnelID param.Field[string] `json:"tunnel_id" api:"required" format:"uuid"`
}
func (DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraIPv6HostNetwork) MarshalJSON ¶ added in v6.9.0
func (r DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraIPv6HostNetwork) MarshalJSON() (data []byte, err error)
type DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostUnion ¶ added in v6.9.0
type DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostUnion interface {
// contains filtered or unexported methods
}
Satisfied by connectivity.DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraIPv4Host, connectivity.DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraIPv6Host, connectivity.DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraDualStackHost, connectivity.DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHostInfraHostnameHost, DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigHost.
type DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigTLSSettings ¶ added in v6.9.0
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 ¶ added in v6.9.0
func (r DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigTLSSettings) MarshalJSON() (data []byte, err error)
type DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigType ¶ added in v6.9.0
type DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigType string
const ( DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigTypeTCP DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigType = "tcp" DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigTypeHTTP DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigType = "http" )
func (DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigType) IsKnown ¶ added in v6.9.0
func (r DirectoryServiceUpdateParamsBodyInfraTCPServiceConfigType) IsKnown() bool
type DirectoryServiceUpdateParamsBodyType ¶ added in v6.9.0
type DirectoryServiceUpdateParamsBodyType string
const ( DirectoryServiceUpdateParamsBodyTypeTCP DirectoryServiceUpdateParamsBodyType = "tcp" DirectoryServiceUpdateParamsBodyTypeHTTP DirectoryServiceUpdateParamsBodyType = "http" )
func (DirectoryServiceUpdateParamsBodyType) IsKnown ¶ added in v6.9.0
func (r DirectoryServiceUpdateParamsBodyType) IsKnown() bool
type DirectoryServiceUpdateParamsBodyUnion ¶ added in v6.9.0
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 ¶ added in v6.9.0
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 ¶ added in v6.9.0
type DirectoryServiceUpdateResponseAppProtocol string
const ( DirectoryServiceUpdateResponseAppProtocolPostgresql DirectoryServiceUpdateResponseAppProtocol = "postgresql" DirectoryServiceUpdateResponseAppProtocolMysql DirectoryServiceUpdateResponseAppProtocol = "mysql" )
func (DirectoryServiceUpdateResponseAppProtocol) IsKnown ¶ added in v6.9.0
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 ¶ added in v6.9.0
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 ¶ added in v6.9.0
func (r *DirectoryServiceUpdateResponseInfraHTTPServiceConfig) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceUpdateResponseInfraHTTPServiceConfigHost ¶ added in v6.9.0
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 ¶ added in v6.9.0
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 ¶ added in v6.9.0
func (r *DirectoryServiceUpdateResponseInfraHTTPServiceConfigHost) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraDualStackHost ¶ added in v6.9.0
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 ¶ added in v6.9.0
func (r *DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraDualStackHost) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraDualStackHostNetwork ¶ added in v6.9.0
type DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraDualStackHostNetwork struct {
TunnelID string `json:"tunnel_id" api:"required" format:"uuid"`
JSON directoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraDualStackHostNetworkJSON `json:"-"`
}
func (*DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraDualStackHostNetwork) UnmarshalJSON ¶ added in v6.9.0
func (r *DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraDualStackHostNetwork) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraHostnameHost ¶ added in v6.9.0
type DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraHostnameHost struct {
Hostname string `json:"hostname" api:"required"`
ResolverNetwork DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraHostnameHostResolverNetwork `json:"resolver_network" api:"required"`
JSON directoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraHostnameHostJSON `json:"-"`
}
func (*DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraHostnameHost) UnmarshalJSON ¶ added in v6.9.0
func (r *DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraHostnameHost) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraHostnameHostResolverNetwork ¶ added in v6.9.0
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 ¶ added in v6.9.0
func (r *DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraHostnameHostResolverNetwork) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraIPv4Host ¶ added in v6.9.0
type DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraIPv4Host struct {
IPV4 string `json:"ipv4" api:"required"`
Network DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraIPv4HostNetwork `json:"network" api:"required"`
JSON directoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraIPv4HostJSON `json:"-"`
}
func (*DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraIPv4Host) UnmarshalJSON ¶ added in v6.9.0
func (r *DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraIPv4Host) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraIPv4HostNetwork ¶ added in v6.9.0
type DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraIPv4HostNetwork struct {
TunnelID string `json:"tunnel_id" api:"required" format:"uuid"`
JSON directoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraIPv4HostNetworkJSON `json:"-"`
}
func (*DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraIPv4HostNetwork) UnmarshalJSON ¶ added in v6.9.0
func (r *DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraIPv4HostNetwork) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraIPv6Host ¶ added in v6.9.0
type DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraIPv6Host struct {
IPV6 string `json:"ipv6" api:"required"`
Network DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraIPv6HostNetwork `json:"network" api:"required"`
JSON directoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraIPv6HostJSON `json:"-"`
}
func (*DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraIPv6Host) UnmarshalJSON ¶ added in v6.9.0
func (r *DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraIPv6Host) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraIPv6HostNetwork ¶ added in v6.9.0
type DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraIPv6HostNetwork struct {
TunnelID string `json:"tunnel_id" api:"required" format:"uuid"`
JSON directoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraIPv6HostNetworkJSON `json:"-"`
}
func (*DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraIPv6HostNetwork) UnmarshalJSON ¶ added in v6.9.0
func (r *DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraIPv6HostNetwork) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostUnion ¶ added in v6.9.0
type DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostUnion interface {
// contains filtered or unexported methods
}
Union satisfied by DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraIPv4Host, DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraIPv6Host, DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraDualStackHost or DirectoryServiceUpdateResponseInfraHTTPServiceConfigHostInfraHostnameHost.
type DirectoryServiceUpdateResponseInfraHTTPServiceConfigTLSSettings ¶ added in v6.9.0
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 ¶ added in v6.9.0
func (r *DirectoryServiceUpdateResponseInfraHTTPServiceConfigTLSSettings) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceUpdateResponseInfraHTTPServiceConfigType ¶ added in v6.9.0
type DirectoryServiceUpdateResponseInfraHTTPServiceConfigType string
const ( DirectoryServiceUpdateResponseInfraHTTPServiceConfigTypeTCP DirectoryServiceUpdateResponseInfraHTTPServiceConfigType = "tcp" DirectoryServiceUpdateResponseInfraHTTPServiceConfigTypeHTTP DirectoryServiceUpdateResponseInfraHTTPServiceConfigType = "http" )
func (DirectoryServiceUpdateResponseInfraHTTPServiceConfigType) IsKnown ¶ added in v6.9.0
func (r DirectoryServiceUpdateResponseInfraHTTPServiceConfigType) IsKnown() bool
type DirectoryServiceUpdateResponseInfraTCPServiceConfig ¶ added in v6.9.0
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 ¶ added in v6.9.0
func (r *DirectoryServiceUpdateResponseInfraTCPServiceConfig) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceUpdateResponseInfraTCPServiceConfigAppProtocol ¶ added in v6.9.0
type DirectoryServiceUpdateResponseInfraTCPServiceConfigAppProtocol string
const ( DirectoryServiceUpdateResponseInfraTCPServiceConfigAppProtocolPostgresql DirectoryServiceUpdateResponseInfraTCPServiceConfigAppProtocol = "postgresql" DirectoryServiceUpdateResponseInfraTCPServiceConfigAppProtocolMysql DirectoryServiceUpdateResponseInfraTCPServiceConfigAppProtocol = "mysql" )
func (DirectoryServiceUpdateResponseInfraTCPServiceConfigAppProtocol) IsKnown ¶ added in v6.9.0
func (r DirectoryServiceUpdateResponseInfraTCPServiceConfigAppProtocol) IsKnown() bool
type DirectoryServiceUpdateResponseInfraTCPServiceConfigHost ¶ added in v6.9.0
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 ¶ added in v6.9.0
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 ¶ added in v6.9.0
func (r *DirectoryServiceUpdateResponseInfraTCPServiceConfigHost) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraDualStackHost ¶ added in v6.9.0
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 ¶ added in v6.9.0
func (r *DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraDualStackHost) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraDualStackHostNetwork ¶ added in v6.9.0
type DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraDualStackHostNetwork struct {
TunnelID string `json:"tunnel_id" api:"required" format:"uuid"`
JSON directoryServiceUpdateResponseInfraTCPServiceConfigHostInfraDualStackHostNetworkJSON `json:"-"`
}
func (*DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraDualStackHostNetwork) UnmarshalJSON ¶ added in v6.9.0
func (r *DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraDualStackHostNetwork) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraHostnameHost ¶ added in v6.9.0
type DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraHostnameHost struct {
Hostname string `json:"hostname" api:"required"`
ResolverNetwork DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraHostnameHostResolverNetwork `json:"resolver_network" api:"required"`
JSON directoryServiceUpdateResponseInfraTCPServiceConfigHostInfraHostnameHostJSON `json:"-"`
}
func (*DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraHostnameHost) UnmarshalJSON ¶ added in v6.9.0
func (r *DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraHostnameHost) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraHostnameHostResolverNetwork ¶ added in v6.9.0
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 ¶ added in v6.9.0
func (r *DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraHostnameHostResolverNetwork) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraIPv4Host ¶ added in v6.9.0
type DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraIPv4Host struct {
IPV4 string `json:"ipv4" api:"required"`
Network DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraIPv4HostNetwork `json:"network" api:"required"`
JSON directoryServiceUpdateResponseInfraTCPServiceConfigHostInfraIPv4HostJSON `json:"-"`
}
func (*DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraIPv4Host) UnmarshalJSON ¶ added in v6.9.0
func (r *DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraIPv4Host) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraIPv4HostNetwork ¶ added in v6.9.0
type DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraIPv4HostNetwork struct {
TunnelID string `json:"tunnel_id" api:"required" format:"uuid"`
JSON directoryServiceUpdateResponseInfraTCPServiceConfigHostInfraIPv4HostNetworkJSON `json:"-"`
}
func (*DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraIPv4HostNetwork) UnmarshalJSON ¶ added in v6.9.0
func (r *DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraIPv4HostNetwork) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraIPv6Host ¶ added in v6.9.0
type DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraIPv6Host struct {
IPV6 string `json:"ipv6" api:"required"`
Network DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraIPv6HostNetwork `json:"network" api:"required"`
JSON directoryServiceUpdateResponseInfraTCPServiceConfigHostInfraIPv6HostJSON `json:"-"`
}
func (*DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraIPv6Host) UnmarshalJSON ¶ added in v6.9.0
func (r *DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraIPv6Host) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraIPv6HostNetwork ¶ added in v6.9.0
type DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraIPv6HostNetwork struct {
TunnelID string `json:"tunnel_id" api:"required" format:"uuid"`
JSON directoryServiceUpdateResponseInfraTCPServiceConfigHostInfraIPv6HostNetworkJSON `json:"-"`
}
func (*DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraIPv6HostNetwork) UnmarshalJSON ¶ added in v6.9.0
func (r *DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraIPv6HostNetwork) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceUpdateResponseInfraTCPServiceConfigHostUnion ¶ added in v6.9.0
type DirectoryServiceUpdateResponseInfraTCPServiceConfigHostUnion interface {
// contains filtered or unexported methods
}
Union satisfied by DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraIPv4Host, DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraIPv6Host, DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraDualStackHost or DirectoryServiceUpdateResponseInfraTCPServiceConfigHostInfraHostnameHost.
type DirectoryServiceUpdateResponseInfraTCPServiceConfigTLSSettings ¶ added in v6.9.0
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 ¶ added in v6.9.0
func (r *DirectoryServiceUpdateResponseInfraTCPServiceConfigTLSSettings) UnmarshalJSON(data []byte) (err error)
type DirectoryServiceUpdateResponseInfraTCPServiceConfigType ¶ added in v6.9.0
type DirectoryServiceUpdateResponseInfraTCPServiceConfigType string
const ( DirectoryServiceUpdateResponseInfraTCPServiceConfigTypeTCP DirectoryServiceUpdateResponseInfraTCPServiceConfigType = "tcp" DirectoryServiceUpdateResponseInfraTCPServiceConfigTypeHTTP DirectoryServiceUpdateResponseInfraTCPServiceConfigType = "http" )
func (DirectoryServiceUpdateResponseInfraTCPServiceConfigType) IsKnown ¶ added in v6.9.0
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 ¶ added in v6.9.0
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.