Documentation ¶
Index ¶
- func ConnectionStateTypeChoices() []string
- func ServicePrivatelinkAwscreateStateTypeChoices() []string
- func ServicePrivatelinkAwsdeleteStateTypeChoices() []string
- func ServicePrivatelinkAwsgetStateTypeChoices() []string
- func ServicePrivatelinkAwsupdateStateTypeChoices() []string
- func ServicePrivatelinkAzureConnectionApprovalStateTypeChoices() []string
- func ServicePrivatelinkAzureConnectionStateTypeChoices() []string
- func ServicePrivatelinkAzureStateTypeChoices() []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)
- type ServicePrivatelinkAwscreateIn
- type ServicePrivatelinkAwscreateOut
- type ServicePrivatelinkAwscreateStateType
- type ServicePrivatelinkAwsdeleteOut
- type ServicePrivatelinkAwsdeleteStateType
- type ServicePrivatelinkAwsgetOut
- type ServicePrivatelinkAwsgetStateType
- type ServicePrivatelinkAwsupdateIn
- type ServicePrivatelinkAwsupdateOut
- type ServicePrivatelinkAwsupdateStateType
- 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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConnectionStateTypeChoices ¶ added in v0.3.0
func ConnectionStateTypeChoices() []string
func ServicePrivatelinkAwscreateStateTypeChoices ¶ added in v0.3.0
func ServicePrivatelinkAwscreateStateTypeChoices() []string
func ServicePrivatelinkAwsdeleteStateTypeChoices ¶ added in v0.3.0
func ServicePrivatelinkAwsdeleteStateTypeChoices() []string
func ServicePrivatelinkAwsgetStateTypeChoices ¶ added in v0.3.0
func ServicePrivatelinkAwsgetStateTypeChoices() []string
func ServicePrivatelinkAwsupdateStateTypeChoices ¶ added in v0.3.0
func ServicePrivatelinkAwsupdateStateTypeChoices() []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
Types ¶
type ConnectionOut ¶
type ConnectionOut struct { DnsName string `json:"dns_name"` // AWS VPC Endpoint DNS name PrivatelinkConnectionId *string `json:"privatelink_connection_id,omitempty"` // Privatelink connection ID State ConnectionStateType `json:"state"` // Privatelink connection state VpcEndpointId string `json:"vpc_endpoint_id"` // AWS VPC Endpoint ID }
type ConnectionStateType ¶ added in v0.3.0
type ConnectionStateType string
const ( ConnectionStateTypePendingUserApproval ConnectionStateType = "pending-user-approval" ConnectionStateTypeUserApproved ConnectionStateType = "user-approved" ConnectionStateTypeConnected ConnectionStateType = "connected" ConnectionStateTypeActive ConnectionStateType = "active" )
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 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 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 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 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 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 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 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 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 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 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 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 ServicePrivatelinkAzureUpdate(ctx context.Context, project string, serviceName string, in *ServicePrivatelinkAzureUpdateIn) (*ServicePrivatelinkAzureUpdateOut, 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)
type ServicePrivatelinkAwscreateIn ¶
type ServicePrivatelinkAwscreateIn struct {
Principals []string `json:"principals"` // ARN allowlist. ARNs of principals allowed connecting to the service
}
ServicePrivatelinkAwscreateIn ServicePrivatelinkAWSCreateRequestBody
type ServicePrivatelinkAwscreateOut ¶
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"` // ARN allowlist. ARNs of principals allowed connecting to the service State ServicePrivatelinkAwscreateStateType `json:"state"` // Privatelink resource state }
ServicePrivatelinkAwscreateOut ServicePrivatelinkAWSCreateResponse
type ServicePrivatelinkAwscreateStateType ¶ added in v0.3.0
type ServicePrivatelinkAwscreateStateType string
const ( ServicePrivatelinkAwscreateStateTypeCreating ServicePrivatelinkAwscreateStateType = "creating" ServicePrivatelinkAwscreateStateTypeActive ServicePrivatelinkAwscreateStateType = "active" ServicePrivatelinkAwscreateStateTypeDeleting ServicePrivatelinkAwscreateStateType = "deleting" )
type ServicePrivatelinkAwsdeleteOut ¶
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"` // ARN allowlist. ARNs of principals allowed connecting to the service State ServicePrivatelinkAwsdeleteStateType `json:"state"` // Privatelink resource state }
ServicePrivatelinkAwsdeleteOut ServicePrivatelinkAWSDeleteResponse
type ServicePrivatelinkAwsdeleteStateType ¶ added in v0.3.0
type ServicePrivatelinkAwsdeleteStateType string
const ( ServicePrivatelinkAwsdeleteStateTypeCreating ServicePrivatelinkAwsdeleteStateType = "creating" ServicePrivatelinkAwsdeleteStateTypeActive ServicePrivatelinkAwsdeleteStateType = "active" ServicePrivatelinkAwsdeleteStateTypeDeleting ServicePrivatelinkAwsdeleteStateType = "deleting" )
type ServicePrivatelinkAwsgetOut ¶
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"` // ARN allowlist. ARNs of principals allowed connecting to the service State ServicePrivatelinkAwsgetStateType `json:"state"` // Privatelink resource state }
ServicePrivatelinkAwsgetOut ServicePrivatelinkAWSGetResponse
type ServicePrivatelinkAwsgetStateType ¶ added in v0.3.0
type ServicePrivatelinkAwsgetStateType string
const ( ServicePrivatelinkAwsgetStateTypeCreating ServicePrivatelinkAwsgetStateType = "creating" ServicePrivatelinkAwsgetStateTypeActive ServicePrivatelinkAwsgetStateType = "active" ServicePrivatelinkAwsgetStateTypeDeleting ServicePrivatelinkAwsgetStateType = "deleting" )
type ServicePrivatelinkAwsupdateIn ¶
type ServicePrivatelinkAwsupdateIn struct {
Principals []string `json:"principals"` // ARN allowlist. ARNs of principals allowed connecting to the service
}
ServicePrivatelinkAwsupdateIn ServicePrivatelinkAWSUpdateRequestBody
type ServicePrivatelinkAwsupdateOut ¶
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"` // ARN allowlist. ARNs of principals allowed connecting to the service State ServicePrivatelinkAwsupdateStateType `json:"state"` // Privatelink resource state }
ServicePrivatelinkAwsupdateOut ServicePrivatelinkAWSUpdateResponse
type ServicePrivatelinkAwsupdateStateType ¶ added in v0.3.0
type ServicePrivatelinkAwsupdateStateType string
const ( ServicePrivatelinkAwsupdateStateTypeCreating ServicePrivatelinkAwsupdateStateType = "creating" ServicePrivatelinkAwsupdateStateTypeActive ServicePrivatelinkAwsupdateStateType = "active" ServicePrivatelinkAwsupdateStateTypeDeleting ServicePrivatelinkAwsupdateStateType = "deleting" )
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"` // Privatelink connection state 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 ( ServicePrivatelinkAzureConnectionApprovalStateTypePendingUserApproval ServicePrivatelinkAzureConnectionApprovalStateType = "pending-user-approval" ServicePrivatelinkAzureConnectionApprovalStateTypeUserApproved ServicePrivatelinkAzureConnectionApprovalStateType = "user-approved" ServicePrivatelinkAzureConnectionApprovalStateTypeConnected ServicePrivatelinkAzureConnectionApprovalStateType = "connected" ServicePrivatelinkAzureConnectionApprovalStateTypeActive ServicePrivatelinkAzureConnectionApprovalStateType = "active" )
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"` // Privatelink connection state UserIpAddress string `json:"user_ip_address"` // (Private) IP address of Privatelink endpoint }
type ServicePrivatelinkAzureConnectionStateType ¶ added in v0.3.0
type ServicePrivatelinkAzureConnectionStateType string
const ( ServicePrivatelinkAzureConnectionStateTypePendingUserApproval ServicePrivatelinkAzureConnectionStateType = "pending-user-approval" ServicePrivatelinkAzureConnectionStateTypeUserApproved ServicePrivatelinkAzureConnectionStateType = "user-approved" ServicePrivatelinkAzureConnectionStateTypeConnected ServicePrivatelinkAzureConnectionStateType = "connected" ServicePrivatelinkAzureConnectionStateTypeActive ServicePrivatelinkAzureConnectionStateType = "active" )
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"` // Privatelink connection state 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"` // Subscription ID allowlist. 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"` // Subscription ID allowlist. 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"` // Subscription ID allowlist. 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"` // Subscription ID allowlist. IDs of Azure subscriptions allowed to connect to the service }
ServicePrivatelinkAzureGetOut ServicePrivatelinkAzureGetResponse
type ServicePrivatelinkAzureStateType ¶ added in v0.3.0
type ServicePrivatelinkAzureStateType string
const ( ServicePrivatelinkAzureStateTypeCreating ServicePrivatelinkAzureStateType = "creating" ServicePrivatelinkAzureStateTypeActive ServicePrivatelinkAzureStateType = "active" ServicePrivatelinkAzureStateTypeDeleting ServicePrivatelinkAzureStateType = "deleting" )
type ServicePrivatelinkAzureUpdateIn ¶
type ServicePrivatelinkAzureUpdateIn struct {
UserSubscriptionIds []string `json:"user_subscription_ids"` // Subscription ID allowlist. 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"` // Subscription ID allowlist. IDs of Azure subscriptions allowed to connect to the service }
ServicePrivatelinkAzureUpdateOut ServicePrivatelinkAzureUpdateResponse