1. Packages
  2. Fivetran Provider
  3. API Docs
  4. getExternalLogging
fivetran 1.6.1 published on Monday, Mar 31, 2025 by fivetran

fivetran.getExternalLogging

Explore with Pulumi AI

This data source returns a logging service object.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as fivetran from "@pulumi/fivetran";

const extlog = fivetran.getExternalLogging({
    id: "anonymous_mystery",
});
Copy
import pulumi
import pulumi_fivetran as fivetran

extlog = fivetran.get_external_logging(id="anonymous_mystery")
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/fivetran/fivetran"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := fivetran.LookupExternalLogging(ctx, &fivetran.LookupExternalLoggingArgs{
			Id: "anonymous_mystery",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Fivetran = Pulumi.Fivetran;

return await Deployment.RunAsync(() => 
{
    var extlog = Fivetran.GetExternalLogging.Invoke(new()
    {
        Id = "anonymous_mystery",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fivetran.FivetranFunctions;
import com.pulumi.fivetran.inputs.GetExternalLoggingArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var extlog = FivetranFunctions.getExternalLogging(GetExternalLoggingArgs.builder()
            .id("anonymous_mystery")
            .build());

    }
}
Copy
variables:
  extlog:
    fn::invoke:
      function: fivetran:getExternalLogging
      arguments:
        id: anonymous_mystery
Copy

Using getExternalLogging

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getExternalLogging(args: GetExternalLoggingArgs, opts?: InvokeOptions): Promise<GetExternalLoggingResult>
function getExternalLoggingOutput(args: GetExternalLoggingOutputArgs, opts?: InvokeOptions): Output<GetExternalLoggingResult>
Copy
def get_external_logging(config: Optional[GetExternalLoggingConfig] = None,
                         id: Optional[str] = None,
                         run_setup_tests: Optional[bool] = None,
                         opts: Optional[InvokeOptions] = None) -> GetExternalLoggingResult
def get_external_logging_output(config: Optional[pulumi.Input[GetExternalLoggingConfigArgs]] = None,
                         id: Optional[pulumi.Input[str]] = None,
                         run_setup_tests: Optional[pulumi.Input[bool]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetExternalLoggingResult]
Copy
func LookupExternalLogging(ctx *Context, args *LookupExternalLoggingArgs, opts ...InvokeOption) (*LookupExternalLoggingResult, error)
func LookupExternalLoggingOutput(ctx *Context, args *LookupExternalLoggingOutputArgs, opts ...InvokeOption) LookupExternalLoggingResultOutput
Copy

> Note: This function is named LookupExternalLogging in the Go SDK.

public static class GetExternalLogging 
{
    public static Task<GetExternalLoggingResult> InvokeAsync(GetExternalLoggingArgs args, InvokeOptions? opts = null)
    public static Output<GetExternalLoggingResult> Invoke(GetExternalLoggingInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetExternalLoggingResult> getExternalLogging(GetExternalLoggingArgs args, InvokeOptions options)
public static Output<GetExternalLoggingResult> getExternalLogging(GetExternalLoggingArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: fivetran:index/getExternalLogging:getExternalLogging
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Id This property is required. string
The unique identifier for the log service within the Fivetran system.
Config GetExternalLoggingConfig
RunSetupTests bool
Specifies whether the setup tests should be run automatically. The default value is TRUE.
Id This property is required. string
The unique identifier for the log service within the Fivetran system.
Config GetExternalLoggingConfig
RunSetupTests bool
Specifies whether the setup tests should be run automatically. The default value is TRUE.
id This property is required. String
The unique identifier for the log service within the Fivetran system.
config GetExternalLoggingConfig
runSetupTests Boolean
Specifies whether the setup tests should be run automatically. The default value is TRUE.
id This property is required. string
The unique identifier for the log service within the Fivetran system.
config GetExternalLoggingConfig
runSetupTests boolean
Specifies whether the setup tests should be run automatically. The default value is TRUE.
id This property is required. str
The unique identifier for the log service within the Fivetran system.
config GetExternalLoggingConfig
run_setup_tests bool
Specifies whether the setup tests should be run automatically. The default value is TRUE.
id This property is required. String
The unique identifier for the log service within the Fivetran system.
config Property Map
runSetupTests Boolean
Specifies whether the setup tests should be run automatically. The default value is TRUE.

getExternalLogging Result

The following output properties are available:

Enabled bool
The boolean value specifying whether the log service is enabled.
GroupId string
The unique identifier for the log service within the Fivetran system.
Id string
The unique identifier for the log service within the Fivetran system.
Service string
The name for the log service type within the Fivetran system. We support the following log services: azuremonitorlog, cloudwatch, datadoglog, newrelic_log, splunkLog, stackdriver.
Config GetExternalLoggingConfig
RunSetupTests bool
Specifies whether the setup tests should be run automatically. The default value is TRUE.
Enabled bool
The boolean value specifying whether the log service is enabled.
GroupId string
The unique identifier for the log service within the Fivetran system.
Id string
The unique identifier for the log service within the Fivetran system.
Service string
The name for the log service type within the Fivetran system. We support the following log services: azuremonitorlog, cloudwatch, datadoglog, newrelic_log, splunkLog, stackdriver.
Config GetExternalLoggingConfig
RunSetupTests bool
Specifies whether the setup tests should be run automatically. The default value is TRUE.
enabled Boolean
The boolean value specifying whether the log service is enabled.
groupId String
The unique identifier for the log service within the Fivetran system.
id String
The unique identifier for the log service within the Fivetran system.
service String
The name for the log service type within the Fivetran system. We support the following log services: azuremonitorlog, cloudwatch, datadoglog, newrelic_log, splunkLog, stackdriver.
config GetExternalLoggingConfig
runSetupTests Boolean
Specifies whether the setup tests should be run automatically. The default value is TRUE.
enabled boolean
The boolean value specifying whether the log service is enabled.
groupId string
The unique identifier for the log service within the Fivetran system.
id string
The unique identifier for the log service within the Fivetran system.
service string
The name for the log service type within the Fivetran system. We support the following log services: azuremonitorlog, cloudwatch, datadoglog, newrelic_log, splunkLog, stackdriver.
config GetExternalLoggingConfig
runSetupTests boolean
Specifies whether the setup tests should be run automatically. The default value is TRUE.
enabled bool
The boolean value specifying whether the log service is enabled.
group_id str
The unique identifier for the log service within the Fivetran system.
id str
The unique identifier for the log service within the Fivetran system.
service str
The name for the log service type within the Fivetran system. We support the following log services: azuremonitorlog, cloudwatch, datadoglog, newrelic_log, splunkLog, stackdriver.
config GetExternalLoggingConfig
run_setup_tests bool
Specifies whether the setup tests should be run automatically. The default value is TRUE.
enabled Boolean
The boolean value specifying whether the log service is enabled.
groupId String
The unique identifier for the log service within the Fivetran system.
id String
The unique identifier for the log service within the Fivetran system.
service String
The name for the log service type within the Fivetran system. We support the following log services: azuremonitorlog, cloudwatch, datadoglog, newrelic_log, splunkLog, stackdriver.
config Property Map
runSetupTests Boolean
Specifies whether the setup tests should be run automatically. The default value is TRUE.

Supporting Types

GetExternalLoggingConfig

ApiKey string
API Key
Channel string
Channel
EnableSsl bool
Enable SSL
ExternalId string
external_id
Host string
Server name
Hostname string
Server name
LogGroupName string
Log Group Name
Port double
Port
PrimaryKey string
Primary Key
ProjectId string
Project Id for Google Cloud Logging
Region string
Region
RoleArn string
Role Arn
SubDomain string
Sub Domain
Token string
Token
WorkspaceId string
Workspace ID
ApiKey string
API Key
Channel string
Channel
EnableSsl bool
Enable SSL
ExternalId string
external_id
Host string
Server name
Hostname string
Server name
LogGroupName string
Log Group Name
Port float64
Port
PrimaryKey string
Primary Key
ProjectId string
Project Id for Google Cloud Logging
Region string
Region
RoleArn string
Role Arn
SubDomain string
Sub Domain
Token string
Token
WorkspaceId string
Workspace ID
apiKey String
API Key
channel String
Channel
enableSsl Boolean
Enable SSL
externalId String
external_id
host String
Server name
hostname String
Server name
logGroupName String
Log Group Name
port Double
Port
primaryKey String
Primary Key
projectId String
Project Id for Google Cloud Logging
region String
Region
roleArn String
Role Arn
subDomain String
Sub Domain
token String
Token
workspaceId String
Workspace ID
apiKey string
API Key
channel string
Channel
enableSsl boolean
Enable SSL
externalId string
external_id
host string
Server name
hostname string
Server name
logGroupName string
Log Group Name
port number
Port
primaryKey string
Primary Key
projectId string
Project Id for Google Cloud Logging
region string
Region
roleArn string
Role Arn
subDomain string
Sub Domain
token string
Token
workspaceId string
Workspace ID
api_key str
API Key
channel str
Channel
enable_ssl bool
Enable SSL
external_id str
external_id
host str
Server name
hostname str
Server name
log_group_name str
Log Group Name
port float
Port
primary_key str
Primary Key
project_id str
Project Id for Google Cloud Logging
region str
Region
role_arn str
Role Arn
sub_domain str
Sub Domain
token str
Token
workspace_id str
Workspace ID
apiKey String
API Key
channel String
Channel
enableSsl Boolean
Enable SSL
externalId String
external_id
host String
Server name
hostname String
Server name
logGroupName String
Log Group Name
port Number
Port
primaryKey String
Primary Key
projectId String
Project Id for Google Cloud Logging
region String
Region
roleArn String
Role Arn
subDomain String
Sub Domain
token String
Token
workspaceId String
Workspace ID

Package Details

Repository
fivetran fivetran/terraform-provider-fivetran
License
Notes
This Pulumi package is based on the fivetran Terraform Provider.