getServiceIntegration
# Service Integration Data Source
The Service Integration data source provides information about the existing Aiven Service Integration.
Service Integration defines an integration between two Aiven services or between Aiven service and an external integration endpoint. Integration could be for example sending metrics from Kafka service to an InfluxDB service, getting metrics from an InfluxDB service to a Grafana service to show dashboards, sending logs from any service to Elasticsearch, etc.
Example Usage
using Pulumi;
using Aiven = Pulumi.Aiven;
class MyStack : Stack
{
public MyStack()
{
var myintegration = Output.Create(Aiven.GetServiceIntegration.InvokeAsync(new Aiven.GetServiceIntegrationArgs
{
DestinationServiceName = "<DESTINATION_SERVICE_NAME>",
IntegrationType = "datadog",
Project = aiven_project.Myproject.Project,
SourceServiceName = "<SOURCE_SERVICE_NAME>",
}));
}
}
package main
import (
"github.com/pulumi/pulumi-aiven/sdk/v3/go/aiven"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := aiven.LookupServiceIntegration(ctx, &aiven.LookupServiceIntegrationArgs{
DestinationServiceName: "<DESTINATION_SERVICE_NAME>",
IntegrationType: "datadog",
Project: aiven_project.Myproject.Project,
SourceServiceName: "<SOURCE_SERVICE_NAME>",
}, nil)
if err != nil {
return err
}
return nil
})
}
import pulumi
import pulumi_aiven as aiven
myintegration = aiven.get_service_integration(destination_service_name="<DESTINATION_SERVICE_NAME>",
integration_type="datadog",
project=aiven_project["myproject"]["project"],
source_service_name="<SOURCE_SERVICE_NAME>")
import * as pulumi from "@pulumi/pulumi";
import * as aiven from "@pulumi/aiven";
const myintegration = aiven_project_myproject.project.apply(project => aiven.getServiceIntegration({
destinationServiceName: "<DESTINATION_SERVICE_NAME>",
integrationType: "datadog",
project: project,
sourceServiceName: "<SOURCE_SERVICE_NAME>",
}, { async: true }));
Using getServiceIntegration
function getServiceIntegration(args: GetServiceIntegrationArgs, opts?: InvokeOptions): Promise<GetServiceIntegrationResult>
def get_service_integration(dashboard_user_config: Optional[GetServiceIntegrationDashboardUserConfigArgs] = None, datadog_user_config: Optional[GetServiceIntegrationDatadogUserConfigArgs] = None, destination_endpoint_id: Optional[str] = None, destination_service_name: Optional[str] = None, external_aws_cloudwatch_logs_user_config: Optional[GetServiceIntegrationExternalAwsCloudwatchLogsUserConfigArgs] = None, external_elasticsearch_logs_user_config: Optional[GetServiceIntegrationExternalElasticsearchLogsUserConfigArgs] = None, external_google_cloud_logging_user_config: Optional[GetServiceIntegrationExternalGoogleCloudLoggingUserConfigArgs] = None, integration_type: Optional[str] = None, kafka_connect_user_config: Optional[GetServiceIntegrationKafkaConnectUserConfigArgs] = None, kafka_logs_user_config: Optional[GetServiceIntegrationKafkaLogsUserConfigArgs] = None, kafka_mirrormaker_user_config: Optional[GetServiceIntegrationKafkaMirrormakerUserConfigArgs] = None, logs_user_config: Optional[GetServiceIntegrationLogsUserConfigArgs] = None, m3aggregator_user_config: Optional[GetServiceIntegrationM3aggregatorUserConfigArgs] = None, m3coordinator_user_config: Optional[GetServiceIntegrationM3coordinatorUserConfigArgs] = None, metrics_user_config: Optional[GetServiceIntegrationMetricsUserConfigArgs] = None, mirrormaker_user_config: Optional[GetServiceIntegrationMirrormakerUserConfigArgs] = None, project: Optional[str] = None, prometheus_user_config: Optional[GetServiceIntegrationPrometheusUserConfigArgs] = None, read_replica_user_config: Optional[GetServiceIntegrationReadReplicaUserConfigArgs] = None, rsyslog_user_config: Optional[GetServiceIntegrationRsyslogUserConfigArgs] = None, schema_registry_proxy_user_config: Optional[GetServiceIntegrationSchemaRegistryProxyUserConfigArgs] = None, signalfx_user_config: Optional[GetServiceIntegrationSignalfxUserConfigArgs] = None, source_endpoint_id: Optional[str] = None, source_service_name: Optional[str] = None, opts: Optional[InvokeOptions] = None) -> GetServiceIntegrationResult
func LookupServiceIntegration(ctx *Context, args *LookupServiceIntegrationArgs, opts ...InvokeOption) (*LookupServiceIntegrationResult, error)
Note: This function is named
LookupServiceIntegration
in the Go SDK.
public static class GetServiceIntegration {
public static Task<GetServiceIntegrationResult> InvokeAsync(GetServiceIntegrationArgs args, InvokeOptions? opts = null)
}
The following arguments are supported:
- Destination
Service stringName identifies the target side of the integration.
- Integration
Type string identifies the type of integration that is set up. Possible values include
dashboard
,datadog
,logs
,metrics
andmirrormaker
.- Project string
defines the project the integration belongs to.
- Source
Service stringName identifies the source side of the integration.
- Dashboard
User GetConfig Service Integration Dashboard User Config Args - Datadog
User GetConfig Service Integration Datadog User Config Args - Destination
Endpoint stringId - External
Aws GetCloudwatch Logs User Config Service Integration External Aws Cloudwatch Logs User Config Args - External
Elasticsearch GetLogs User Config Service Integration External Elasticsearch Logs User Config Args - External
Google GetCloud Logging User Config Service Integration External Google Cloud Logging User Config Args - Kafka
Connect GetUser Config Service Integration Kafka Connect User Config Args - Kafka
Logs GetUser Config Service Integration Kafka Logs User Config Args - Kafka
Mirrormaker GetUser Config Service Integration Kafka Mirrormaker User Config Args - Logs
User GetConfig Service Integration Logs User Config Args - M3aggregator
User GetConfig Service Integration M3aggregator User Config Args - M3coordinator
User GetConfig Service Integration M3coordinator User Config Args - Metrics
User GetConfig Service Integration Metrics User Config Args - Mirrormaker
User GetConfig Service Integration Mirrormaker User Config Args - Prometheus
User GetConfig Service Integration Prometheus User Config Args - Read
Replica GetUser Config Service Integration Read Replica User Config Args - Rsyslog
User GetConfig Service Integration Rsyslog User Config Args - Schema
Registry GetProxy User Config Service Integration Schema Registry Proxy User Config Args - Signalfx
User GetConfig Service Integration Signalfx User Config Args - Source
Endpoint stringId
- Destination
Service stringName identifies the target side of the integration.
- Integration
Type string identifies the type of integration that is set up. Possible values include
dashboard
,datadog
,logs
,metrics
andmirrormaker
.- Project string
defines the project the integration belongs to.
- Source
Service stringName identifies the source side of the integration.
- Dashboard
User GetConfig Service Integration Dashboard User Config - Datadog
User GetConfig Service Integration Datadog User Config - Destination
Endpoint stringId - External
Aws GetCloudwatch Logs User Config Service Integration External Aws Cloudwatch Logs User Config - External
Elasticsearch GetLogs User Config Service Integration External Elasticsearch Logs User Config - External
Google GetCloud Logging User Config Service Integration External Google Cloud Logging User Config - Kafka
Connect GetUser Config Service Integration Kafka Connect User Config - Kafka
Logs GetUser Config Service Integration Kafka Logs User Config - Kafka
Mirrormaker GetUser Config Service Integration Kafka Mirrormaker User Config - Logs
User GetConfig Service Integration Logs User Config - M3aggregator
User GetConfig Service Integration M3aggregator User Config - M3coordinator
User GetConfig Service Integration M3coordinator User Config - Metrics
User GetConfig Service Integration Metrics User Config - Mirrormaker
User GetConfig Service Integration Mirrormaker User Config - Prometheus
User GetConfig Service Integration Prometheus User Config - Read
Replica GetUser Config Service Integration Read Replica User Config - Rsyslog
User GetConfig Service Integration Rsyslog User Config - Schema
Registry GetProxy User Config Service Integration Schema Registry Proxy User Config - Signalfx
User GetConfig Service Integration Signalfx User Config - Source
Endpoint stringId
- destination
Service stringName identifies the target side of the integration.
- integration
Type string identifies the type of integration that is set up. Possible values include
dashboard
,datadog
,logs
,metrics
andmirrormaker
.- project string
defines the project the integration belongs to.
- source
Service stringName identifies the source side of the integration.
- dashboard
User GetConfig Service Integration Dashboard User Config - datadog
User GetConfig Service Integration Datadog User Config - destination
Endpoint stringId - external
Aws GetCloudwatch Logs User Config Service Integration External Aws Cloudwatch Logs User Config - external
Elasticsearch GetLogs User Config Service Integration External Elasticsearch Logs User Config - external
Google GetCloud Logging User Config Service Integration External Google Cloud Logging User Config - kafka
Connect GetUser Config Service Integration Kafka Connect User Config - kafka
Logs GetUser Config Service Integration Kafka Logs User Config - kafka
Mirrormaker GetUser Config Service Integration Kafka Mirrormaker User Config - logs
User GetConfig Service Integration Logs User Config - m3aggregator
User GetConfig Service Integration M3aggregator User Config - m3coordinator
User GetConfig Service Integration M3coordinator User Config - metrics
User GetConfig Service Integration Metrics User Config - mirrormaker
User GetConfig Service Integration Mirrormaker User Config - prometheus
User GetConfig Service Integration Prometheus User Config - read
Replica GetUser Config Service Integration Read Replica User Config - rsyslog
User GetConfig Service Integration Rsyslog User Config - schema
Registry GetProxy User Config Service Integration Schema Registry Proxy User Config - signalfx
User GetConfig Service Integration Signalfx User Config - source
Endpoint stringId
- destination_
service_ strname identifies the target side of the integration.
- integration_
type str identifies the type of integration that is set up. Possible values include
dashboard
,datadog
,logs
,metrics
andmirrormaker
.- project str
defines the project the integration belongs to.
- source_
service_ strname identifies the source side of the integration.
- dashboard_
user_ Getconfig Service Integration Dashboard User Config Args - datadog_
user_ Getconfig Service Integration Datadog User Config Args - destination_
endpoint_ strid - external_
aws_ Getcloudwatch_ logs_ user_ config Service Integration External Aws Cloudwatch Logs User Config Args - external_
elasticsearch_ Getlogs_ user_ config Service Integration External Elasticsearch Logs User Config Args - external_
google_ Getcloud_ logging_ user_ config Service Integration External Google Cloud Logging User Config Args - kafka_
connect_ Getuser_ config Service Integration Kafka Connect User Config Args - kafka_
logs_ Getuser_ config Service Integration Kafka Logs User Config Args - kafka_
mirrormaker_ Getuser_ config Service Integration Kafka Mirrormaker User Config Args - logs_
user_ Getconfig Service Integration Logs User Config Args - m3aggregator_
user_ Getconfig Service Integration M3aggregator User Config Args - m3coordinator_
user_ Getconfig Service Integration M3coordinator User Config Args - metrics_
user_ Getconfig Service Integration Metrics User Config Args - mirrormaker_
user_ Getconfig Service Integration Mirrormaker User Config Args - prometheus_
user_ Getconfig Service Integration Prometheus User Config Args - read_
replica_ Getuser_ config Service Integration Read Replica User Config Args - rsyslog_
user_ Getconfig Service Integration Rsyslog User Config Args - schema_
registry_ Getproxy_ user_ config Service Integration Schema Registry Proxy User Config Args - signalfx_
user_ Getconfig Service Integration Signalfx User Config Args - source_
endpoint_ strid
getServiceIntegration Result
The following output properties are available:
- Destination
Service stringName - Id string
The provider-assigned unique ID for this managed resource.
- Integration
Type string - Project string
- Source
Service stringName - Dashboard
User GetConfig Service Integration Dashboard User Config - Datadog
User GetConfig Service Integration Datadog User Config - Destination
Endpoint stringId - External
Aws GetCloudwatch Logs User Config Service Integration External Aws Cloudwatch Logs User Config - External
Elasticsearch GetLogs User Config Service Integration External Elasticsearch Logs User Config - External
Google GetCloud Logging User Config Service Integration External Google Cloud Logging User Config - Kafka
Connect GetUser Config Service Integration Kafka Connect User Config - Kafka
Logs GetUser Config Service Integration Kafka Logs User Config - Kafka
Mirrormaker GetUser Config Service Integration Kafka Mirrormaker User Config - Logs
User GetConfig Service Integration Logs User Config - M3aggregator
User GetConfig Service Integration M3aggregator User Config - M3coordinator
User GetConfig Service Integration M3coordinator User Config - Metrics
User GetConfig Service Integration Metrics User Config - Mirrormaker
User GetConfig Service Integration Mirrormaker User Config - Prometheus
User GetConfig Service Integration Prometheus User Config - Read
Replica GetUser Config Service Integration Read Replica User Config - Rsyslog
User GetConfig Service Integration Rsyslog User Config - Schema
Registry GetProxy User Config Service Integration Schema Registry Proxy User Config - Signalfx
User GetConfig Service Integration Signalfx User Config - Source
Endpoint stringId
- Destination
Service stringName - Id string
The provider-assigned unique ID for this managed resource.
- Integration
Type string - Project string
- Source
Service stringName - Dashboard
User GetConfig Service Integration Dashboard User Config - Datadog
User GetConfig Service Integration Datadog User Config - Destination
Endpoint stringId - External
Aws GetCloudwatch Logs User Config Service Integration External Aws Cloudwatch Logs User Config - External
Elasticsearch GetLogs User Config Service Integration External Elasticsearch Logs User Config - External
Google GetCloud Logging User Config Service Integration External Google Cloud Logging User Config - Kafka
Connect GetUser Config Service Integration Kafka Connect User Config - Kafka
Logs GetUser Config Service Integration Kafka Logs User Config - Kafka
Mirrormaker GetUser Config Service Integration Kafka Mirrormaker User Config - Logs
User GetConfig Service Integration Logs User Config - M3aggregator
User GetConfig Service Integration M3aggregator User Config - M3coordinator
User GetConfig Service Integration M3coordinator User Config - Metrics
User GetConfig Service Integration Metrics User Config - Mirrormaker
User GetConfig Service Integration Mirrormaker User Config - Prometheus
User GetConfig Service Integration Prometheus User Config - Read
Replica GetUser Config Service Integration Read Replica User Config - Rsyslog
User GetConfig Service Integration Rsyslog User Config - Schema
Registry GetProxy User Config Service Integration Schema Registry Proxy User Config - Signalfx
User GetConfig Service Integration Signalfx User Config - Source
Endpoint stringId
- destination
Service stringName - id string
The provider-assigned unique ID for this managed resource.
- integration
Type string - project string
- source
Service stringName - dashboard
User GetConfig Service Integration Dashboard User Config - datadog
User GetConfig Service Integration Datadog User Config - destination
Endpoint stringId - external
Aws GetCloudwatch Logs User Config Service Integration External Aws Cloudwatch Logs User Config - external
Elasticsearch GetLogs User Config Service Integration External Elasticsearch Logs User Config - external
Google GetCloud Logging User Config Service Integration External Google Cloud Logging User Config - kafka
Connect GetUser Config Service Integration Kafka Connect User Config - kafka
Logs GetUser Config Service Integration Kafka Logs User Config - kafka
Mirrormaker GetUser Config Service Integration Kafka Mirrormaker User Config - logs
User GetConfig Service Integration Logs User Config - m3aggregator
User GetConfig Service Integration M3aggregator User Config - m3coordinator
User GetConfig Service Integration M3coordinator User Config - metrics
User GetConfig Service Integration Metrics User Config - mirrormaker
User GetConfig Service Integration Mirrormaker User Config - prometheus
User GetConfig Service Integration Prometheus User Config - read
Replica GetUser Config Service Integration Read Replica User Config - rsyslog
User GetConfig Service Integration Rsyslog User Config - schema
Registry GetProxy User Config Service Integration Schema Registry Proxy User Config - signalfx
User GetConfig Service Integration Signalfx User Config - source
Endpoint stringId
- destination_
service_ strname - id str
The provider-assigned unique ID for this managed resource.
- integration_
type str - project str
- source_
service_ strname - dashboard_
user_ Getconfig Service Integration Dashboard User Config - datadog_
user_ Getconfig Service Integration Datadog User Config - destination_
endpoint_ strid - external_
aws_ Getcloudwatch_ logs_ user_ config Service Integration External Aws Cloudwatch Logs User Config - external_
elasticsearch_ Getlogs_ user_ config Service Integration External Elasticsearch Logs User Config - external_
google_ Getcloud_ logging_ user_ config Service Integration External Google Cloud Logging User Config - kafka_
connect_ Getuser_ config Service Integration Kafka Connect User Config - kafka_
logs_ Getuser_ config Service Integration Kafka Logs User Config - kafka_
mirrormaker_ Getuser_ config Service Integration Kafka Mirrormaker User Config - logs_
user_ Getconfig Service Integration Logs User Config - m3aggregator_
user_ Getconfig Service Integration M3aggregator User Config - m3coordinator_
user_ Getconfig Service Integration M3coordinator User Config - metrics_
user_ Getconfig Service Integration Metrics User Config - mirrormaker_
user_ Getconfig Service Integration Mirrormaker User Config - prometheus_
user_ Getconfig Service Integration Prometheus User Config - read_
replica_ Getuser_ config Service Integration Read Replica User Config - rsyslog_
user_ Getconfig Service Integration Rsyslog User Config - schema_
registry_ Getproxy_ user_ config Service Integration Schema Registry Proxy User Config - signalfx_
user_ Getconfig Service Integration Signalfx User Config - source_
endpoint_ strid
Supporting Types
GetServiceIntegrationDatadogUserConfig
- Exclude
Consumer List<string>Groups - Exclude
Topics List<string> - Include
Consumer List<string>Groups - Include
Topics List<string> - Kafka
Custom List<string>Metrics
- Exclude
Consumer []stringGroups - Exclude
Topics []string - Include
Consumer []stringGroups - Include
Topics []string - Kafka
Custom []stringMetrics
- exclude
Consumer string[]Groups - exclude
Topics string[] - include
Consumer string[]Groups - include
Topics string[] - kafka
Custom string[]Metrics
- exclude_
consumer_ Sequence[str]groups - exclude_
topics Sequence[str] - include_
consumer_ Sequence[str]groups - include_
topics Sequence[str] - kafka_
custom_ Sequence[str]metrics
GetServiceIntegrationKafkaConnectUserConfig
GetServiceIntegrationKafkaConnectUserConfigKafkaConnect
- Config
Storage stringTopic - Group
Id string - Offset
Storage stringTopic - Status
Storage stringTopic
- Config
Storage stringTopic - Group
Id string - Offset
Storage stringTopic - Status
Storage stringTopic
- config
Storage stringTopic - group
Id string - offset
Storage stringTopic - status
Storage stringTopic
GetServiceIntegrationKafkaLogsUserConfig
- Kafka
Topic string
- Kafka
Topic string
- kafka
Topic string
- kafka_
topic str
GetServiceIntegrationKafkaMirrormakerUserConfig
- Cluster
Alias string
- Cluster
Alias string
- cluster
Alias string
- cluster_
alias str
GetServiceIntegrationLogsUserConfig
- Elasticsearch
Index stringDays Max - Elasticsearch
Index stringPrefix
- Elasticsearch
Index stringDays Max - Elasticsearch
Index stringPrefix
- elasticsearch
Index stringDays Max - elasticsearch
Index stringPrefix
GetServiceIntegrationMetricsUserConfig
- Database string
- Retention
Days string - Ro
Username string - Source
Mysql GetService Integration Metrics User Config Source Mysql Args - Username string
- Database string
- Retention
Days string - Ro
Username string - Source
Mysql GetService Integration Metrics User Config Source Mysql - Username string
- database string
- retention
Days string - ro
Username string - source
Mysql GetService Integration Metrics User Config Source Mysql - username string
GetServiceIntegrationMetricsUserConfigSourceMysql
GetServiceIntegrationMetricsUserConfigSourceMysqlTelegraf
- Gather
Event stringWaits - Gather
File stringEvents Stats - Gather
Index stringIo Waits - Gather
Info stringSchema Auto Inc - Gather
Innodb stringMetrics - Gather
Perf stringEvents Statements - Gather
Process stringList - Gather
Slave stringStatus - Gather
Table stringIo Waits - Gather
Table stringLock Waits - Gather
Table stringSchema - Perf
Events stringStatements Digest Text Limit - Perf
Events stringStatements Limit - Perf
Events stringStatements Time Limit
- Gather
Event stringWaits - Gather
File stringEvents Stats - Gather
Index stringIo Waits - Gather
Info stringSchema Auto Inc - Gather
Innodb stringMetrics - Gather
Perf stringEvents Statements - Gather
Process stringList - Gather
Slave stringStatus - Gather
Table stringIo Waits - Gather
Table stringLock Waits - Gather
Table stringSchema - Perf
Events stringStatements Digest Text Limit - Perf
Events stringStatements Limit - Perf
Events stringStatements Time Limit
- gather
Event stringWaits - gather
File stringEvents Stats - gather
Index stringIo Waits - gather
Info stringSchema Auto Inc - gather
Innodb stringMetrics - gather
Perf stringEvents Statements - gather
Process stringList - gather
Slave stringStatus - gather
Table stringIo Waits - gather
Table stringLock Waits - gather
Table stringSchema - perf
Events stringStatements Digest Text Limit - perf
Events stringStatements Limit - perf
Events stringStatements Time Limit
- gather_
event_ strwaits - gather_
file_ strevents_ stats - gather_
index_ strio_ waits - gather_
info_ strschema_ auto_ inc - gather_
innodb_ strmetrics - gather_
perf_ strevents_ statements - gather_
process_ strlist - gather_
slave_ strstatus - gather_
table_ strio_ waits - gather_
table_ strlock_ waits - gather_
table_ strschema - perf_
events_ strstatements_ digest_ text_ limit - perf_
events_ strstatements_ limit - perf_
events_ strstatements_ time_ limit
GetServiceIntegrationMirrormakerUserConfig
- Mirrormaker
Whitelist string
- Mirrormaker
Whitelist string
- mirrormaker
Whitelist string
GetServiceIntegrationPrometheusUserConfig
GetServiceIntegrationPrometheusUserConfigSourceMysql
GetServiceIntegrationPrometheusUserConfigSourceMysqlTelegraf
- Gather
Event stringWaits - Gather
File stringEvents Stats - Gather
Index stringIo Waits - Gather
Info stringSchema Auto Inc - Gather
Innodb stringMetrics - Gather
Perf stringEvents Statements - Gather
Process stringList - Gather
Slave stringStatus - Gather
Table stringIo Waits - Gather
Table stringLock Waits - Gather
Table stringSchema - Perf
Events stringStatements Digest Text Limit - Perf
Events stringStatements Limit - Perf
Events stringStatements Time Limit
- Gather
Event stringWaits - Gather
File stringEvents Stats - Gather
Index stringIo Waits - Gather
Info stringSchema Auto Inc - Gather
Innodb stringMetrics - Gather
Perf stringEvents Statements - Gather
Process stringList - Gather
Slave stringStatus - Gather
Table stringIo Waits - Gather
Table stringLock Waits - Gather
Table stringSchema - Perf
Events stringStatements Digest Text Limit - Perf
Events stringStatements Limit - Perf
Events stringStatements Time Limit
- gather
Event stringWaits - gather
File stringEvents Stats - gather
Index stringIo Waits - gather
Info stringSchema Auto Inc - gather
Innodb stringMetrics - gather
Perf stringEvents Statements - gather
Process stringList - gather
Slave stringStatus - gather
Table stringIo Waits - gather
Table stringLock Waits - gather
Table stringSchema - perf
Events stringStatements Digest Text Limit - perf
Events stringStatements Limit - perf
Events stringStatements Time Limit
- gather_
event_ strwaits - gather_
file_ strevents_ stats - gather_
index_ strio_ waits - gather_
info_ strschema_ auto_ inc - gather_
innodb_ strmetrics - gather_
perf_ strevents_ statements - gather_
process_ strlist - gather_
slave_ strstatus - gather_
table_ strio_ waits - gather_
table_ strlock_ waits - gather_
table_ strschema - perf_
events_ strstatements_ digest_ text_ limit - perf_
events_ strstatements_ limit - perf_
events_ strstatements_ time_ limit
Package Details
- Repository
- https://github.com/pulumi/pulumi-aiven
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aiven
Terraform Provider.