Documentation
¶
Index ¶
- type PrivateLinksConfig
- func (plc *PrivateLinksConfig) AccountName(value string) *PrivateLinksConfig
- func (plc *PrivateLinksConfig) AccountUrl(value string) *PrivateLinksConfig
- func (plc *PrivateLinksConfig) AwsAccountId(value string) *PrivateLinksConfig
- func (plc *PrivateLinksConfig) ClusterIdentifier(value string) *PrivateLinksConfig
- func (plc *PrivateLinksConfig) ConnectionServiceId(value string) *PrivateLinksConfig
- func (plc *PrivateLinksConfig) ConnectionServiceName(value string) *PrivateLinksConfig
- func (plc *PrivateLinksConfig) PlsId(value string) *PrivateLinksConfig
- func (plc *PrivateLinksConfig) Request() *privateLinksConfigRequest
- func (plc *PrivateLinksConfig) SubResourceName(value string) *PrivateLinksConfig
- func (plc *PrivateLinksConfig) VpceId(value string) *PrivateLinksConfig
- func (plc *PrivateLinksConfig) WorkspaceUrl(value string) *PrivateLinksConfig
- type PrivateLinksConfigResponse
- type PrivateLinksCreateService
- func (s *PrivateLinksCreateService) Config(value *PrivateLinksConfig) *PrivateLinksCreateService
- func (s *PrivateLinksCreateService) Do(ctx context.Context) (PrivateLinksResponse, error)
- func (s *PrivateLinksCreateService) GroupId(value string) *PrivateLinksCreateService
- func (s *PrivateLinksCreateService) Name(value string) *PrivateLinksCreateService
- type PrivateLinksDeleteService
- type PrivateLinksDetailsService
- type PrivateLinksModifyService
- type PrivateLinksResponse
- type PrivateLinksResponseBase
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PrivateLinksConfig ¶
type PrivateLinksConfig struct {
// contains filtered or unexported fields
}
PrivateLinksConfig builds Private Links Management, Private Link Config. Ref. https://fivetran.com/docs/rest-api/private-links-management#privatelinksetupconfigurations
func (*PrivateLinksConfig) AccountName ¶
func (plc *PrivateLinksConfig) AccountName(value string) *PrivateLinksConfig
func (*PrivateLinksConfig) AccountUrl ¶
func (plc *PrivateLinksConfig) AccountUrl(value string) *PrivateLinksConfig
func (*PrivateLinksConfig) AwsAccountId ¶
func (plc *PrivateLinksConfig) AwsAccountId(value string) *PrivateLinksConfig
func (*PrivateLinksConfig) ClusterIdentifier ¶
func (plc *PrivateLinksConfig) ClusterIdentifier(value string) *PrivateLinksConfig
func (*PrivateLinksConfig) ConnectionServiceId ¶
func (plc *PrivateLinksConfig) ConnectionServiceId(value string) *PrivateLinksConfig
func (*PrivateLinksConfig) ConnectionServiceName ¶
func (plc *PrivateLinksConfig) ConnectionServiceName(value string) *PrivateLinksConfig
func (*PrivateLinksConfig) PlsId ¶
func (plc *PrivateLinksConfig) PlsId(value string) *PrivateLinksConfig
func (*PrivateLinksConfig) Request ¶
func (plc *PrivateLinksConfig) Request() *privateLinksConfigRequest
func (*PrivateLinksConfig) SubResourceName ¶
func (plc *PrivateLinksConfig) SubResourceName(value string) *PrivateLinksConfig
func (*PrivateLinksConfig) VpceId ¶
func (plc *PrivateLinksConfig) VpceId(value string) *PrivateLinksConfig
func (*PrivateLinksConfig) WorkspaceUrl ¶
func (plc *PrivateLinksConfig) WorkspaceUrl(value string) *PrivateLinksConfig
type PrivateLinksConfigResponse ¶
type PrivateLinksConfigResponse struct { ConnectionServiceName string `json:"connection_service_name"` ConnectionServiceId string `json:"connection_service_id"` WorkspaceUrl string `json:"workspace_url"` AccountName string `json:"account_name"` AccountUrl string `json:"account_url"` VpceId string `json:"vpce_id"` PlsId string `json:"pls_id"` AwsAccountId string `json:"aws_account_id"` ClusterIdentifier string `json:"cluster_identifier"` SubResourceName string `json:"sub_resource_name"` }
type PrivateLinksCreateService ¶
type PrivateLinksCreateService struct { httputils.HttpService // contains filtered or unexported fields }
PrivateLinksCreateService implements the Log Management, Create a Log Service API. Ref. https://fivetran.com/docs/rest-api/log-service-management#createalogservice
func (*PrivateLinksCreateService) Config ¶
func (s *PrivateLinksCreateService) Config(value *PrivateLinksConfig) *PrivateLinksCreateService
func (*PrivateLinksCreateService) Do ¶
func (s *PrivateLinksCreateService) Do(ctx context.Context) (PrivateLinksResponse, error)
func (*PrivateLinksCreateService) GroupId ¶
func (s *PrivateLinksCreateService) GroupId(value string) *PrivateLinksCreateService
func (*PrivateLinksCreateService) Name ¶
func (s *PrivateLinksCreateService) Name(value string) *PrivateLinksCreateService
type PrivateLinksDeleteService ¶
type PrivateLinksDeleteService struct { httputils.HttpService // contains filtered or unexported fields }
PrivateLinksDeleteService implements the Private Links Management, Delete a Private Link Ref. https://fivetran.com/docs/rest-api/private-links-management#deleteaprivatelink
func (*PrivateLinksDeleteService) Do ¶
func (s *PrivateLinksDeleteService) Do(ctx context.Context) (common.CommonResponse, error)
func (*PrivateLinksDeleteService) PrivateLinkId ¶
func (s *PrivateLinksDeleteService) PrivateLinkId(value string) *PrivateLinksDeleteService
type PrivateLinksDetailsService ¶
type PrivateLinksDetailsService struct { httputils.HttpService // contains filtered or unexported fields }
PrivateLinksDetailsService implements the Private Links Management, Retrieve Private Link details API. Ref. https://fivetran.com/docs/rest-api/private-links-management#retrieveprivatelinkdetails
func (*PrivateLinksDetailsService) Do ¶
func (s *PrivateLinksDetailsService) Do(ctx context.Context) (PrivateLinksResponse, error)
func (*PrivateLinksDetailsService) PrivateLinkId ¶
func (s *PrivateLinksDetailsService) PrivateLinkId(value string) *PrivateLinksDetailsService
type PrivateLinksModifyService ¶
type PrivateLinksModifyService struct { httputils.HttpService // contains filtered or unexported fields }
PrivateLinksModifyService implements the Private Links Management, Modify a Private Link Service API. Ref. https://fivetran.com/docs/rest-api/private-links-management#updateaprivatelink
func (*PrivateLinksModifyService) Config ¶
func (s *PrivateLinksModifyService) Config(value *PrivateLinksConfig) *PrivateLinksModifyService
func (*PrivateLinksModifyService) Do ¶
func (s *PrivateLinksModifyService) Do(ctx context.Context) (PrivateLinksResponse, error)
func (*PrivateLinksModifyService) PrivateLinkId ¶
func (s *PrivateLinksModifyService) PrivateLinkId(value string) *PrivateLinksModifyService
type PrivateLinksResponse ¶
type PrivateLinksResponse struct { Code string `json:"code"` Message string `json:"message"` Data struct { PrivateLinksResponseBase Config PrivateLinksConfigResponse `json:"config"` } `json:"data"` }
type PrivateLinksResponseBase ¶
type PrivateLinksResponseBase struct { Id string `json:"id"` Name string `json:"name"` GroupId string `json:"group_id"` CloudProvider string `json:"cloud_provider"` Region string `json:"region"` State string `json:"state"` StateSummary string `json:"state_summary"` CreatedAt string `json:"created_at"` CreatedBy string `json:"created_by"` }