Documentation
¶
Index ¶
- func ConnectionStateTypeChoices() []string
- func ServicePrivatelinkAWSStateTypeChoices() []string
- func ServicePrivatelinkAzureConnectionApprovalStateTypeChoices() []string
- func ServicePrivatelinkAzureConnectionStateTypeChoices() []string
- func ServicePrivatelinkAzureStateTypeChoices() []string
- func ServicePrivatelinkGoogleConnectionStateTypeChoices() []string
- func ServicePrivatelinkGoogleStateTypeChoices() []string
- type ConnectionOut
- type ConnectionStateType
- type Handler
- type PrivatelinkAvailabilityOut
- type PrivatelinkHandler
- func (h *PrivatelinkHandler) PublicPrivatelinkAvailabilityList(ctx context.Context, tenant string) ([]PrivatelinkAvailabilityOut, error)
- func (h *PrivatelinkHandler) ServicePrivatelinkAWSConnectionList(ctx context.Context, project string, serviceName string) ([]ConnectionOut, error)
- func (h *PrivatelinkHandler) ServicePrivatelinkAWSCreate(ctx context.Context, project string, serviceName string, ...) (*ServicePrivatelinkAWSCreateOut, error)
- func (h *PrivatelinkHandler) ServicePrivatelinkAWSDelete(ctx context.Context, project string, serviceName string) (*ServicePrivatelinkAWSDeleteOut, error)
- func (h *PrivatelinkHandler) ServicePrivatelinkAWSGet(ctx context.Context, project string, serviceName string) (*ServicePrivatelinkAWSGetOut, error)
- func (h *PrivatelinkHandler) ServicePrivatelinkAWSUpdate(ctx context.Context, project string, serviceName string, ...) (*ServicePrivatelinkAWSUpdateOut, error)
- func (h *PrivatelinkHandler) ServicePrivatelinkAzureConnectionApproval(ctx context.Context, project string, serviceName string, ...) (*ServicePrivatelinkAzureConnectionApprovalOut, error)
- func (h *PrivatelinkHandler) ServicePrivatelinkAzureConnectionList(ctx context.Context, project string, serviceName string) ([]ServicePrivatelinkAzureConnectionListOut, error)
- func (h *PrivatelinkHandler) ServicePrivatelinkAzureConnectionUpdate(ctx context.Context, project string, serviceName string, ...) (*ServicePrivatelinkAzureConnectionUpdateOut, error)
- func (h *PrivatelinkHandler) ServicePrivatelinkAzureCreate(ctx context.Context, project string, serviceName string, ...) (*ServicePrivatelinkAzureCreateOut, error)
- func (h *PrivatelinkHandler) ServicePrivatelinkAzureDelete(ctx context.Context, project string, serviceName string) (*ServicePrivatelinkAzureDeleteOut, error)
- func (h *PrivatelinkHandler) ServicePrivatelinkAzureGet(ctx context.Context, project string, serviceName string) (*ServicePrivatelinkAzureGetOut, error)
- func (h *PrivatelinkHandler) ServicePrivatelinkAzureUpdate(ctx context.Context, project string, serviceName string, ...) (*ServicePrivatelinkAzureUpdateOut, error)
- func (h *PrivatelinkHandler) ServicePrivatelinkGoogleConnectionCreate(ctx context.Context, project string, serviceName string, ...) (*ServicePrivatelinkGoogleConnectionCreateOut, error)
- func (h *PrivatelinkHandler) ServicePrivatelinkGoogleConnectionList(ctx context.Context, project string, serviceName string) ([]ServicePrivatelinkGoogleConnectionListOut, error)
- func (h *PrivatelinkHandler) ServicePrivatelinkGoogleCreate(ctx context.Context, project string, serviceName string) (*ServicePrivatelinkGoogleCreateOut, error)
- func (h *PrivatelinkHandler) ServicePrivatelinkGoogleDelete(ctx context.Context, project string, serviceName string) (*ServicePrivatelinkGoogleDeleteOut, error)
- func (h *PrivatelinkHandler) ServicePrivatelinkGoogleGet(ctx context.Context, project string, serviceName string) (*ServicePrivatelinkGoogleGetOut, error)
- func (h *PrivatelinkHandler) ServicePrivatelinkGoogleRefresh(ctx context.Context, project string, serviceName string) error
- type ServicePrivatelinkAWSCreateIn
- type ServicePrivatelinkAWSCreateOut
- type ServicePrivatelinkAWSDeleteOut
- type ServicePrivatelinkAWSGetOut
- type ServicePrivatelinkAWSStateType
- type ServicePrivatelinkAWSUpdateIn
- type ServicePrivatelinkAWSUpdateOut
- type ServicePrivatelinkAzureConnectionApprovalOut
- type ServicePrivatelinkAzureConnectionApprovalStateType
- type ServicePrivatelinkAzureConnectionListOut
- type ServicePrivatelinkAzureConnectionStateType
- type ServicePrivatelinkAzureConnectionUpdateIn
- type ServicePrivatelinkAzureConnectionUpdateOut
- type ServicePrivatelinkAzureCreateIn
- type ServicePrivatelinkAzureCreateOut
- type ServicePrivatelinkAzureDeleteOut
- type ServicePrivatelinkAzureGetOut
- type ServicePrivatelinkAzureStateType
- type ServicePrivatelinkAzureUpdateIn
- type ServicePrivatelinkAzureUpdateOut
- type ServicePrivatelinkGoogleConnectionCreateIn
- type ServicePrivatelinkGoogleConnectionCreateOut
- type ServicePrivatelinkGoogleConnectionListOut
- type ServicePrivatelinkGoogleConnectionStateType
- type ServicePrivatelinkGoogleCreateOut
- type ServicePrivatelinkGoogleDeleteOut
- type ServicePrivatelinkGoogleGetOut
- type ServicePrivatelinkGoogleStateType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConnectionStateTypeChoices ¶ added in v0.3.0
func ConnectionStateTypeChoices() []string
func ServicePrivatelinkAWSStateTypeChoices ¶ added in v0.202.0
func ServicePrivatelinkAWSStateTypeChoices() []string
func ServicePrivatelinkAzureConnectionApprovalStateTypeChoices ¶ added in v0.3.0
func ServicePrivatelinkAzureConnectionApprovalStateTypeChoices() []string
func ServicePrivatelinkAzureConnectionStateTypeChoices ¶ added in v0.3.0
func ServicePrivatelinkAzureConnectionStateTypeChoices() []string
func ServicePrivatelinkAzureStateTypeChoices ¶ added in v0.3.0
func ServicePrivatelinkAzureStateTypeChoices() []string
func ServicePrivatelinkGoogleConnectionStateTypeChoices ¶ added in v0.206.0
func ServicePrivatelinkGoogleConnectionStateTypeChoices() []string
func ServicePrivatelinkGoogleStateTypeChoices ¶ added in v0.206.0
func ServicePrivatelinkGoogleStateTypeChoices() []string
Types ¶
type ConnectionOut ¶
type ConnectionOut struct {
DnsName string `json:"dns_name"` // The VPC Endpoint DNS name that the Aiven privatelink access route DNS name is using as the value for itsCNAME record. This DNS name resolves to the private IP addresses of the VPC Endpoint's NICs in all configured subnets
PrivatelinkConnectionId *string `json:"privatelink_connection_id,omitempty"` // Privatelink connection ID
State ConnectionStateType `json:"state"` // The Aiven connection state. The AWS VPC endpoint state is always available for listed connections
VpcEndpointId string `json:"vpc_endpoint_id"` // AWS VPC Endpoint ID
}
type ConnectionStateType ¶ added in v0.3.0
type ConnectionStateType string
const ( ConnectionStateTypeActive ConnectionStateType = "active" ConnectionStateTypeConnected ConnectionStateType = "connected" ConnectionStateTypePendingUserApproval ConnectionStateType = "pending-user-approval" ConnectionStateTypeUserApproved ConnectionStateType = "user-approved" )
type Handler ¶
type Handler interface {
// PublicPrivatelinkAvailabilityList list privatelink clouds and prices
// GET /v1/tenants/{tenant}/privatelink-availability
// https://api.aiven.io/doc/#tag/Cloud_platforms/operation/PublicPrivatelinkAvailabilityList
PublicPrivatelinkAvailabilityList(ctx context.Context, tenant string) ([]PrivatelinkAvailabilityOut, error)
// ServicePrivatelinkAWSConnectionList list VPC Endpoint connections for an AWS Privatelink Endpoint Service
// GET /v1/project/{project}/service/{service_name}/privatelink/aws/connections
// https://api.aiven.io/doc/#tag/Service/operation/ServicePrivatelinkAWSConnectionList
// Required roles or permissions: service:configuration:write
ServicePrivatelinkAWSConnectionList(ctx context.Context, project string, serviceName string) ([]ConnectionOut, error)
// ServicePrivatelinkAWSCreate create an AWS Privatelink Endpoint Service
// POST /v1/project/{project}/service/{service_name}/privatelink/aws
// https://api.aiven.io/doc/#tag/Service/operation/ServicePrivatelinkAWSCreate
// Required roles or permissions: service:configuration:write
ServicePrivatelinkAWSCreate(ctx context.Context, project string, serviceName string, in *ServicePrivatelinkAWSCreateIn) (*ServicePrivatelinkAWSCreateOut, error)
// ServicePrivatelinkAWSDelete delete an AWS Privatelink Endpoint Service
// DELETE /v1/project/{project}/service/{service_name}/privatelink/aws
// https://api.aiven.io/doc/#tag/Service/operation/ServicePrivatelinkAWSDelete
// Required roles or permissions: service:configuration:write
ServicePrivatelinkAWSDelete(ctx context.Context, project string, serviceName string) (*ServicePrivatelinkAWSDeleteOut, error)
// ServicePrivatelinkAWSGet get AWS Privatelink Endpoint Service information
// GET /v1/project/{project}/service/{service_name}/privatelink/aws
// https://api.aiven.io/doc/#tag/Service/operation/ServicePrivatelinkAWSGet
// Required roles or permissions: service:configuration:write
ServicePrivatelinkAWSGet(ctx context.Context, project string, serviceName string) (*ServicePrivatelinkAWSGetOut, error)
// ServicePrivatelinkAWSUpdate update an AWS Privatelink Endpoint Service
// PUT /v1/project/{project}/service/{service_name}/privatelink/aws
// https://api.aiven.io/doc/#tag/Service/operation/ServicePrivatelinkAWSUpdate
// Required roles or permissions: service:configuration:write
ServicePrivatelinkAWSUpdate(ctx context.Context, project string, serviceName string, in *ServicePrivatelinkAWSUpdateIn) (*ServicePrivatelinkAWSUpdateOut, error)
// ServicePrivatelinkAzureConnectionApproval approve an Azure private endpoint connection pending user approval
// POST /v1/project/{project}/service/{service_name}/privatelink/azure/connections/{privatelink_connection_id}/approve
// https://api.aiven.io/doc/#tag/Service/operation/ServicePrivatelinkAzureConnectionApproval
// Required roles or permissions: service:configuration:write
ServicePrivatelinkAzureConnectionApproval(ctx context.Context, project string, serviceName string, privatelinkConnectionId string) (*ServicePrivatelinkAzureConnectionApprovalOut, error)
// ServicePrivatelinkAzureConnectionList list private endpoint connections for an Azure Privatelink Service
// GET /v1/project/{project}/service/{service_name}/privatelink/azure/connections
// https://api.aiven.io/doc/#tag/Service/operation/ServicePrivatelinkAzureConnectionList
// Required roles or permissions: service:configuration:write
ServicePrivatelinkAzureConnectionList(ctx context.Context, project string, serviceName string) ([]ServicePrivatelinkAzureConnectionListOut, error)
// ServicePrivatelinkAzureConnectionUpdate update a private endpoint connection for an Azure Privatelink Service
// PUT /v1/project/{project}/service/{service_name}/privatelink/azure/connections/{privatelink_connection_id}
// https://api.aiven.io/doc/#tag/Service/operation/ServicePrivatelinkAzureConnectionUpdate
// Required roles or permissions: service:configuration:write
ServicePrivatelinkAzureConnectionUpdate(ctx context.Context, project string, serviceName string, privatelinkConnectionId string, in *ServicePrivatelinkAzureConnectionUpdateIn) (*ServicePrivatelinkAzureConnectionUpdateOut, error)
// ServicePrivatelinkAzureCreate create an Azure Privatelink Service
// POST /v1/project/{project}/service/{service_name}/privatelink/azure
// https://api.aiven.io/doc/#tag/Service/operation/ServicePrivatelinkAzureCreate
// Required roles or permissions: service:configuration:write
ServicePrivatelinkAzureCreate(ctx context.Context, project string, serviceName string, in *ServicePrivatelinkAzureCreateIn) (*ServicePrivatelinkAzureCreateOut, error)
// ServicePrivatelinkAzureDelete delete an Azure Privatelink Service
// DELETE /v1/project/{project}/service/{service_name}/privatelink/azure
// https://api.aiven.io/doc/#tag/Service/operation/ServicePrivatelinkAzureDelete
// Required roles or permissions: service:configuration:write
ServicePrivatelinkAzureDelete(ctx context.Context, project string, serviceName string) (*ServicePrivatelinkAzureDeleteOut, error)
// ServicePrivatelinkAzureGet get Azure Privatelink Service information
// GET /v1/project/{project}/service/{service_name}/privatelink/azure
// https://api.aiven.io/doc/#tag/Service/operation/ServicePrivatelinkAzureGet
// Required roles or permissions: service:configuration:write
ServicePrivatelinkAzureGet(ctx context.Context, project string, serviceName string) (*ServicePrivatelinkAzureGetOut, error)
// ServicePrivatelinkAzureUpdate update an Azure Privatelink Service
// PUT /v1/project/{project}/service/{service_name}/privatelink/azure
// https://api.aiven.io/doc/#tag/Service/operation/ServicePrivatelinkAzureUpdate
// Required roles or permissions: service:configuration:write
ServicePrivatelinkAzureUpdate(ctx context.Context, project string, serviceName string, in *ServicePrivatelinkAzureUpdateIn) (*ServicePrivatelinkAzureUpdateOut, error)
// ServicePrivatelinkGoogleConnectionCreate approve a new Google Private Service Connect connection
// POST /v1/project/{project}/service/{service_name}/privatelink/google/connections/{privatelink_connection_id}/approve
// https://api.aiven.io/doc/#tag/Service/operation/ServicePrivatelinkGoogleConnectionCreate
// Required roles or permissions: service:configuration:write
ServicePrivatelinkGoogleConnectionCreate(ctx context.Context, project string, serviceName string, privatelinkConnectionId string, in *ServicePrivatelinkGoogleConnectionCreateIn) (*ServicePrivatelinkGoogleConnectionCreateOut, error)
// ServicePrivatelinkGoogleConnectionList list Google Private Service Connect connections for a service
// GET /v1/project/{project}/service/{service_name}/privatelink/google/connections
// https://api.aiven.io/doc/#tag/Service/operation/ServicePrivatelinkGoogleConnectionList
// Required roles or permissions: service:configuration:write
ServicePrivatelinkGoogleConnectionList(ctx context.Context, project string, serviceName string) ([]ServicePrivatelinkGoogleConnectionListOut, error)
// ServicePrivatelinkGoogleCreate create a Google Private Service Connect endpoint for a service
// POST /v1/project/{project}/service/{service_name}/privatelink/google
// https://api.aiven.io/doc/#tag/Service/operation/ServicePrivatelinkGoogleCreate
// Required roles or permissions: service:configuration:write
ServicePrivatelinkGoogleCreate(ctx context.Context, project string, serviceName string) (*ServicePrivatelinkGoogleCreateOut, error)
// ServicePrivatelinkGoogleDelete delete a Google Private Service Connect endpoint for a service
// DELETE /v1/project/{project}/service/{service_name}/privatelink/google
// https://api.aiven.io/doc/#tag/Service/operation/ServicePrivatelinkGoogleDelete
// Required roles or permissions: service:configuration:write
ServicePrivatelinkGoogleDelete(ctx context.Context, project string, serviceName string) (*ServicePrivatelinkGoogleDeleteOut, error)
// ServicePrivatelinkGoogleGet return status of Google Private Service Connect endpoint
// GET /v1/project/{project}/service/{service_name}/privatelink/google
// https://api.aiven.io/doc/#tag/Service/operation/ServicePrivatelinkGoogleGet
// Required roles or permissions: service:configuration:write
ServicePrivatelinkGoogleGet(ctx context.Context, project string, serviceName string) (*ServicePrivatelinkGoogleGetOut, error)
// ServicePrivatelinkGoogleRefresh initiate fetch from cloud & update to aiven DB of connections to this privatelink
// POST /v1/project/{project}/service/{service_name}/privatelink/google/refresh
// https://api.aiven.io/doc/#tag/Service/operation/ServicePrivatelinkGoogleRefresh
// Required roles or permissions: service:configuration:write
ServicePrivatelinkGoogleRefresh(ctx context.Context, project string, serviceName string) error
}
type PrivatelinkHandler ¶
type PrivatelinkHandler struct {
// contains filtered or unexported fields
}
func NewHandler ¶
func NewHandler(doer doer) PrivatelinkHandler
func (*PrivatelinkHandler) PublicPrivatelinkAvailabilityList ¶
func (h *PrivatelinkHandler) PublicPrivatelinkAvailabilityList(ctx context.Context, tenant string) ([]PrivatelinkAvailabilityOut, error)
func (*PrivatelinkHandler) ServicePrivatelinkAWSConnectionList ¶
func (h *PrivatelinkHandler) ServicePrivatelinkAWSConnectionList(ctx context.Context, project string, serviceName string) ([]ConnectionOut, error)
func (*PrivatelinkHandler) ServicePrivatelinkAWSCreate ¶
func (h *PrivatelinkHandler) ServicePrivatelinkAWSCreate(ctx context.Context, project string, serviceName string, in *ServicePrivatelinkAWSCreateIn) (*ServicePrivatelinkAWSCreateOut, error)
func (*PrivatelinkHandler) ServicePrivatelinkAWSDelete ¶
func (h *PrivatelinkHandler) ServicePrivatelinkAWSDelete(ctx context.Context, project string, serviceName string) (*ServicePrivatelinkAWSDeleteOut, error)
func (*PrivatelinkHandler) ServicePrivatelinkAWSGet ¶
func (h *PrivatelinkHandler) ServicePrivatelinkAWSGet(ctx context.Context, project string, serviceName string) (*ServicePrivatelinkAWSGetOut, error)
func (*PrivatelinkHandler) ServicePrivatelinkAWSUpdate ¶
func (h *PrivatelinkHandler) ServicePrivatelinkAWSUpdate(ctx context.Context, project string, serviceName string, in *ServicePrivatelinkAWSUpdateIn) (*ServicePrivatelinkAWSUpdateOut, error)
func (*PrivatelinkHandler) ServicePrivatelinkAzureConnectionApproval ¶
func (h *PrivatelinkHandler) ServicePrivatelinkAzureConnectionApproval(ctx context.Context, project string, serviceName string, privatelinkConnectionId string) (*ServicePrivatelinkAzureConnectionApprovalOut, error)
func (*PrivatelinkHandler) ServicePrivatelinkAzureConnectionList ¶
func (h *PrivatelinkHandler) ServicePrivatelinkAzureConnectionList(ctx context.Context, project string, serviceName string) ([]ServicePrivatelinkAzureConnectionListOut, error)
func (*PrivatelinkHandler) ServicePrivatelinkAzureConnectionUpdate ¶
func (h *PrivatelinkHandler) ServicePrivatelinkAzureConnectionUpdate(ctx context.Context, project string, serviceName string, privatelinkConnectionId string, in *ServicePrivatelinkAzureConnectionUpdateIn) (*ServicePrivatelinkAzureConnectionUpdateOut, error)
func (*PrivatelinkHandler) ServicePrivatelinkAzureCreate ¶
func (h *PrivatelinkHandler) ServicePrivatelinkAzureCreate(ctx context.Context, project string, serviceName string, in *ServicePrivatelinkAzureCreateIn) (*ServicePrivatelinkAzureCreateOut, error)
func (*PrivatelinkHandler) ServicePrivatelinkAzureDelete ¶
func (h *PrivatelinkHandler) ServicePrivatelinkAzureDelete(ctx context.Context, project string, serviceName string) (*ServicePrivatelinkAzureDeleteOut, error)
func (*PrivatelinkHandler) ServicePrivatelinkAzureGet ¶
func (h *PrivatelinkHandler) ServicePrivatelinkAzureGet(ctx context.Context, project string, serviceName string) (*ServicePrivatelinkAzureGetOut, error)
func (*PrivatelinkHandler) ServicePrivatelinkAzureUpdate ¶
func (h *PrivatelinkHandler) ServicePrivatelinkAzureUpdate(ctx context.Context, project string, serviceName string, in *ServicePrivatelinkAzureUpdateIn) (*ServicePrivatelinkAzureUpdateOut, error)
func (*PrivatelinkHandler) ServicePrivatelinkGoogleConnectionCreate ¶ added in v0.206.0
func (h *PrivatelinkHandler) ServicePrivatelinkGoogleConnectionCreate(ctx context.Context, project string, serviceName string, privatelinkConnectionId string, in *ServicePrivatelinkGoogleConnectionCreateIn) (*ServicePrivatelinkGoogleConnectionCreateOut, error)
func (*PrivatelinkHandler) ServicePrivatelinkGoogleConnectionList ¶ added in v0.206.0
func (h *PrivatelinkHandler) ServicePrivatelinkGoogleConnectionList(ctx context.Context, project string, serviceName string) ([]ServicePrivatelinkGoogleConnectionListOut, error)
func (*PrivatelinkHandler) ServicePrivatelinkGoogleCreate ¶ added in v0.206.0
func (h *PrivatelinkHandler) ServicePrivatelinkGoogleCreate(ctx context.Context, project string, serviceName string) (*ServicePrivatelinkGoogleCreateOut, error)
func (*PrivatelinkHandler) ServicePrivatelinkGoogleDelete ¶ added in v0.206.0
func (h *PrivatelinkHandler) ServicePrivatelinkGoogleDelete(ctx context.Context, project string, serviceName string) (*ServicePrivatelinkGoogleDeleteOut, error)
func (*PrivatelinkHandler) ServicePrivatelinkGoogleGet ¶ added in v0.206.0
func (h *PrivatelinkHandler) ServicePrivatelinkGoogleGet(ctx context.Context, project string, serviceName string) (*ServicePrivatelinkGoogleGetOut, error)
func (*PrivatelinkHandler) ServicePrivatelinkGoogleRefresh ¶ added in v0.206.0
type ServicePrivatelinkAWSCreateIn ¶ added in v0.202.0
type ServicePrivatelinkAWSCreateIn struct {
Principals []string `json:"principals"` // ARNs of principals allowed connecting to the service
}
ServicePrivatelinkAWSCreateIn ServicePrivatelinkAWSCreateRequestBody
type ServicePrivatelinkAWSCreateOut ¶ added in v0.202.0
type ServicePrivatelinkAWSCreateOut struct {
AWSServiceId *string `json:"aws_service_id,omitempty"` // AWS VPC endpoint service ID
AWSServiceName *string `json:"aws_service_name,omitempty"` // AWS VPC endpoint service name
Principals []string `json:"principals"` // ARNs of principals allowed connecting to the service
State ServicePrivatelinkAWSStateType `json:"state"` // Privatelink resource state
}
ServicePrivatelinkAWSCreateOut ServicePrivatelinkAWSCreateResponse
type ServicePrivatelinkAWSDeleteOut ¶ added in v0.202.0
type ServicePrivatelinkAWSDeleteOut struct {
AWSServiceId *string `json:"aws_service_id,omitempty"` // AWS VPC endpoint service ID
AWSServiceName *string `json:"aws_service_name,omitempty"` // AWS VPC endpoint service name
Principals []string `json:"principals"` // ARNs of principals allowed connecting to the service
State ServicePrivatelinkAWSStateType `json:"state"` // Privatelink resource state
}
ServicePrivatelinkAWSDeleteOut ServicePrivatelinkAWSDeleteResponse
type ServicePrivatelinkAWSGetOut ¶ added in v0.202.0
type ServicePrivatelinkAWSGetOut struct {
AWSServiceId *string `json:"aws_service_id,omitempty"` // AWS VPC endpoint service ID
AWSServiceName *string `json:"aws_service_name,omitempty"` // AWS VPC endpoint service name
Principals []string `json:"principals"` // ARNs of principals allowed connecting to the service
State ServicePrivatelinkAWSStateType `json:"state"` // Privatelink resource state
}
ServicePrivatelinkAWSGetOut ServicePrivatelinkAWSGetResponse
type ServicePrivatelinkAWSStateType ¶ added in v0.202.0
type ServicePrivatelinkAWSStateType string
const ( ServicePrivatelinkAWSStateTypeActive ServicePrivatelinkAWSStateType = "active" ServicePrivatelinkAWSStateTypeCreating ServicePrivatelinkAWSStateType = "creating" ServicePrivatelinkAWSStateTypeDeleting ServicePrivatelinkAWSStateType = "deleting" )
type ServicePrivatelinkAWSUpdateIn ¶ added in v0.202.0
type ServicePrivatelinkAWSUpdateIn struct {
Principals []string `json:"principals"` // ARNs of principals allowed connecting to the service
}
ServicePrivatelinkAWSUpdateIn ServicePrivatelinkAWSUpdateRequestBody
type ServicePrivatelinkAWSUpdateOut ¶ added in v0.202.0
type ServicePrivatelinkAWSUpdateOut struct {
AWSServiceId *string `json:"aws_service_id,omitempty"` // AWS VPC endpoint service ID
AWSServiceName *string `json:"aws_service_name,omitempty"` // AWS VPC endpoint service name
Principals []string `json:"principals"` // ARNs of principals allowed connecting to the service
State ServicePrivatelinkAWSStateType `json:"state"` // Privatelink resource state
}
ServicePrivatelinkAWSUpdateOut ServicePrivatelinkAWSUpdateResponse
type ServicePrivatelinkAzureConnectionApprovalOut ¶
type ServicePrivatelinkAzureConnectionApprovalOut struct {
PrivateEndpointId string `json:"private_endpoint_id"` // Azure private endpoint ID
PrivatelinkConnectionId *string `json:"privatelink_connection_id,omitempty"` // Privatelink connection ID
State ServicePrivatelinkAzureConnectionApprovalStateType `json:"state"` // The Aiven connection state. The Azure connection status has a separate value
UserIPAddress string `json:"user_ip_address"` // (Private) IP address of Privatelink endpoint
}
ServicePrivatelinkAzureConnectionApprovalOut ServicePrivatelinkAzureConnectionApprovalResponse
type ServicePrivatelinkAzureConnectionApprovalStateType ¶ added in v0.3.0
type ServicePrivatelinkAzureConnectionApprovalStateType string
const ( ServicePrivatelinkAzureConnectionApprovalStateTypeActive ServicePrivatelinkAzureConnectionApprovalStateType = "active" ServicePrivatelinkAzureConnectionApprovalStateTypeConnected ServicePrivatelinkAzureConnectionApprovalStateType = "connected" ServicePrivatelinkAzureConnectionApprovalStateTypePendingUserApproval ServicePrivatelinkAzureConnectionApprovalStateType = "pending-user-approval" ServicePrivatelinkAzureConnectionApprovalStateTypeUserApproved ServicePrivatelinkAzureConnectionApprovalStateType = "user-approved" )
type ServicePrivatelinkAzureConnectionListOut ¶ added in v0.36.0
type ServicePrivatelinkAzureConnectionListOut struct {
PrivateEndpointId string `json:"private_endpoint_id"` // Azure private endpoint ID
PrivatelinkConnectionId *string `json:"privatelink_connection_id,omitempty"` // Privatelink connection ID
State ConnectionStateType `json:"state"` // The Aiven connection state. The Azure connection status has a separate value
UserIPAddress string `json:"user_ip_address"` // (Private) IP address of Privatelink endpoint
}
type ServicePrivatelinkAzureConnectionStateType ¶ added in v0.3.0
type ServicePrivatelinkAzureConnectionStateType string
const ( ServicePrivatelinkAzureConnectionStateTypeActive ServicePrivatelinkAzureConnectionStateType = "active" ServicePrivatelinkAzureConnectionStateTypeConnected ServicePrivatelinkAzureConnectionStateType = "connected" ServicePrivatelinkAzureConnectionStateTypePendingUserApproval ServicePrivatelinkAzureConnectionStateType = "pending-user-approval" ServicePrivatelinkAzureConnectionStateTypeUserApproved ServicePrivatelinkAzureConnectionStateType = "user-approved" )
type ServicePrivatelinkAzureConnectionUpdateIn ¶
type ServicePrivatelinkAzureConnectionUpdateIn struct {
UserIPAddress string `json:"user_ip_address"` // (Private) IP address of Privatelink endpoint
}
ServicePrivatelinkAzureConnectionUpdateIn ServicePrivatelinkAzureConnectionUpdateRequestBody
type ServicePrivatelinkAzureConnectionUpdateOut ¶
type ServicePrivatelinkAzureConnectionUpdateOut struct {
PrivateEndpointId string `json:"private_endpoint_id"` // Azure private endpoint ID
PrivatelinkConnectionId *string `json:"privatelink_connection_id,omitempty"` // Privatelink connection ID
State ServicePrivatelinkAzureConnectionStateType `json:"state"` // The Aiven connection state. The Azure connection status has a separate value
UserIPAddress string `json:"user_ip_address"` // (Private) IP address of Privatelink endpoint
}
ServicePrivatelinkAzureConnectionUpdateOut ServicePrivatelinkAzureConnectionUpdateResponse
type ServicePrivatelinkAzureCreateIn ¶
type ServicePrivatelinkAzureCreateIn struct {
UserSubscriptionIds []string `json:"user_subscription_ids"` // IDs of Azure subscriptions allowed to connect to the service
}
ServicePrivatelinkAzureCreateIn ServicePrivatelinkAzureCreateRequestBody
type ServicePrivatelinkAzureCreateOut ¶
type ServicePrivatelinkAzureCreateOut struct {
AzureServiceAlias *string `json:"azure_service_alias,omitempty"` // Azure Privatelink service alias
AzureServiceId *string `json:"azure_service_id,omitempty"` // Azure Privatelink service ID
State ServicePrivatelinkAzureStateType `json:"state"` // Privatelink resource state
UserSubscriptionIds []string `json:"user_subscription_ids"` // IDs of Azure subscriptions allowed to connect to the service
}
ServicePrivatelinkAzureCreateOut ServicePrivatelinkAzureCreateResponse
type ServicePrivatelinkAzureDeleteOut ¶
type ServicePrivatelinkAzureDeleteOut struct {
AzureServiceAlias *string `json:"azure_service_alias,omitempty"` // Azure Privatelink service alias
AzureServiceId *string `json:"azure_service_id,omitempty"` // Azure Privatelink service ID
State ServicePrivatelinkAzureStateType `json:"state"` // Privatelink resource state
UserSubscriptionIds []string `json:"user_subscription_ids"` // IDs of Azure subscriptions allowed to connect to the service
}
ServicePrivatelinkAzureDeleteOut ServicePrivatelinkAzureDeleteResponse
type ServicePrivatelinkAzureGetOut ¶
type ServicePrivatelinkAzureGetOut struct {
AzureServiceAlias *string `json:"azure_service_alias,omitempty"` // Azure Privatelink service alias
AzureServiceId *string `json:"azure_service_id,omitempty"` // Azure Privatelink service ID
State ServicePrivatelinkAzureStateType `json:"state"` // Privatelink resource state
UserSubscriptionIds []string `json:"user_subscription_ids"` // IDs of Azure subscriptions allowed to connect to the service
}
ServicePrivatelinkAzureGetOut ServicePrivatelinkAzureGetResponse
type ServicePrivatelinkAzureStateType ¶ added in v0.3.0
type ServicePrivatelinkAzureStateType string
const ( ServicePrivatelinkAzureStateTypeActive ServicePrivatelinkAzureStateType = "active" ServicePrivatelinkAzureStateTypeCreating ServicePrivatelinkAzureStateType = "creating" ServicePrivatelinkAzureStateTypeDeleting ServicePrivatelinkAzureStateType = "deleting" )
type ServicePrivatelinkAzureUpdateIn ¶
type ServicePrivatelinkAzureUpdateIn struct {
UserSubscriptionIds []string `json:"user_subscription_ids"` // IDs of Azure subscriptions allowed to connect to the service
}
ServicePrivatelinkAzureUpdateIn ServicePrivatelinkAzureUpdateRequestBody
type ServicePrivatelinkAzureUpdateOut ¶
type ServicePrivatelinkAzureUpdateOut struct {
AzureServiceAlias *string `json:"azure_service_alias,omitempty"` // Azure Privatelink service alias
AzureServiceId *string `json:"azure_service_id,omitempty"` // Azure Privatelink service ID
State ServicePrivatelinkAzureStateType `json:"state"` // Privatelink resource state
UserSubscriptionIds []string `json:"user_subscription_ids"` // IDs of Azure subscriptions allowed to connect to the service
}
ServicePrivatelinkAzureUpdateOut ServicePrivatelinkAzureUpdateResponse
type ServicePrivatelinkGoogleConnectionCreateIn ¶ added in v0.206.0
type ServicePrivatelinkGoogleConnectionCreateIn struct {
UserIPAddress string `json:"user_ip_address"` // (Private) IP address of Private Service Connect endpoint
}
ServicePrivatelinkGoogleConnectionCreateIn ServicePrivatelinkGoogleConnectionCreateRequestBody
type ServicePrivatelinkGoogleConnectionCreateOut ¶ added in v0.206.0
type ServicePrivatelinkGoogleConnectionCreateOut struct {
PrivatelinkConnectionId string `json:"privatelink_connection_id"` // Privatelink connection ID
PscConnectionId string `json:"psc_connection_id"` // Google Private Service Connect connection ID for this connection
State ServicePrivatelinkGoogleConnectionStateType `json:"state"` // The Aiven connection state. The Google endpoint status has a separate value
UserIPAddress string `json:"user_ip_address"` // Frontend IP address of the forwarding rule that connects to the service at customer end
}
ServicePrivatelinkGoogleConnectionCreateOut ServicePrivatelinkGoogleConnectionCreateResponse
type ServicePrivatelinkGoogleConnectionListOut ¶ added in v0.206.0
type ServicePrivatelinkGoogleConnectionListOut struct {
PrivatelinkConnectionId string `json:"privatelink_connection_id"` // Privatelink connection ID
PscConnectionId string `json:"psc_connection_id"` // Google Private Service Connect connection ID for this connection
State ConnectionStateType `json:"state"` // The Aiven connection state. The Google endpoint status has a separate value
UserIPAddress string `json:"user_ip_address"` // Frontend IP address of the forwarding rule that connects to the service at customer end
}
type ServicePrivatelinkGoogleConnectionStateType ¶ added in v0.206.0
type ServicePrivatelinkGoogleConnectionStateType string
const ( ServicePrivatelinkGoogleConnectionStateTypeActive ServicePrivatelinkGoogleConnectionStateType = "active" ServicePrivatelinkGoogleConnectionStateTypeConnected ServicePrivatelinkGoogleConnectionStateType = "connected" ServicePrivatelinkGoogleConnectionStateTypePendingUserApproval ServicePrivatelinkGoogleConnectionStateType = "pending-user-approval" ServicePrivatelinkGoogleConnectionStateTypeUserApproved ServicePrivatelinkGoogleConnectionStateType = "user-approved" )
type ServicePrivatelinkGoogleCreateOut ¶ added in v0.206.0
type ServicePrivatelinkGoogleCreateOut struct {
GoogleServiceAttachment string `json:"google_service_attachment"` // Google Private Service Connect service attachment name
State ServicePrivatelinkGoogleStateType `json:"state"` // Privatelink resource state
}
ServicePrivatelinkGoogleCreateOut ServicePrivatelinkGoogleCreateResponse
type ServicePrivatelinkGoogleDeleteOut ¶ added in v0.206.0
type ServicePrivatelinkGoogleDeleteOut struct {
GoogleServiceAttachment string `json:"google_service_attachment"` // Google Private Service Connect service attachment name
State ServicePrivatelinkGoogleStateType `json:"state"` // Privatelink resource state
}
ServicePrivatelinkGoogleDeleteOut ServicePrivatelinkGoogleDeleteResponse
type ServicePrivatelinkGoogleGetOut ¶ added in v0.206.0
type ServicePrivatelinkGoogleGetOut struct {
GoogleServiceAttachment string `json:"google_service_attachment"` // Google Private Service Connect service attachment name
State ServicePrivatelinkGoogleStateType `json:"state"` // Privatelink resource state
}
ServicePrivatelinkGoogleGetOut ServicePrivatelinkGoogleGetResponse
type ServicePrivatelinkGoogleStateType ¶ added in v0.206.0
type ServicePrivatelinkGoogleStateType string
const ( ServicePrivatelinkGoogleStateTypeActive ServicePrivatelinkGoogleStateType = "active" ServicePrivatelinkGoogleStateTypeCreating ServicePrivatelinkGoogleStateType = "creating" ServicePrivatelinkGoogleStateTypeDeleting ServicePrivatelinkGoogleStateType = "deleting" )