1. Packages
  2. Sumo Logic
  3. API Docs
  4. AzureEventHubLogSource
Sumo Logic v0.22.1 published on Sunday, Jun 9, 2024 by Pulumi

sumologic.AzureEventHubLogSource

Explore with Pulumi AI

sumologic logo
Sumo Logic v0.22.1 published on Sunday, Jun 9, 2024 by Pulumi

    Provides a Sumologic Azure Event Hub Log Source.

    IMPORTANT: The Azure Event Hub credentials are stored in plain-text in the state. This is a potential security issue.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as sumologic from "@pulumi/sumologic";
    
    const collector = new sumologic.Collector("collector", {
        name: "my-collector",
        description: "Just testing this",
    });
    const terraformAzureEventHubLogSource = new sumologic.AzureEventHubLogSource("terraform_azure_event_hub_log_source", {
        name: "Azure Event Hub Log Source",
        description: "My description",
        category: "azure/eventhub",
        contentType: "AzureEventHubLog",
        collectorId: collector.id,
        authentication: {
            type: "AzureEventHubAuthentication",
            sharedAccessPolicyName: "%s",
            sharedAccessPolicyKey: "%s",
        },
        path: {
            type: "AzureEventHubPath",
            namespace: "%s",
            eventHubName: "%s",
            consumerGroup: "%s",
            region: "%s",
        },
    });
    
    import pulumi
    import pulumi_sumologic as sumologic
    
    collector = sumologic.Collector("collector",
        name="my-collector",
        description="Just testing this")
    terraform_azure_event_hub_log_source = sumologic.AzureEventHubLogSource("terraform_azure_event_hub_log_source",
        name="Azure Event Hub Log Source",
        description="My description",
        category="azure/eventhub",
        content_type="AzureEventHubLog",
        collector_id=collector.id,
        authentication=sumologic.AzureEventHubLogSourceAuthenticationArgs(
            type="AzureEventHubAuthentication",
            shared_access_policy_name="%s",
            shared_access_policy_key="%s",
        ),
        path=sumologic.AzureEventHubLogSourcePathArgs(
            type="AzureEventHubPath",
            namespace="%s",
            event_hub_name="%s",
            consumer_group="%s",
            region="%s",
        ))
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-sumologic/sdk/go/sumologic"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		collector, err := sumologic.NewCollector(ctx, "collector", &sumologic.CollectorArgs{
    			Name:        pulumi.String("my-collector"),
    			Description: pulumi.String("Just testing this"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = sumologic.NewAzureEventHubLogSource(ctx, "terraform_azure_event_hub_log_source", &sumologic.AzureEventHubLogSourceArgs{
    			Name:        pulumi.String("Azure Event Hub Log Source"),
    			Description: pulumi.String("My description"),
    			Category:    pulumi.String("azure/eventhub"),
    			ContentType: pulumi.String("AzureEventHubLog"),
    			CollectorId: collector.ID(),
    			Authentication: &sumologic.AzureEventHubLogSourceAuthenticationArgs{
    				Type:                   pulumi.String("AzureEventHubAuthentication"),
    				SharedAccessPolicyName: pulumi.String("%s"),
    				SharedAccessPolicyKey:  pulumi.String("%s"),
    			},
    			Path: &sumologic.AzureEventHubLogSourcePathArgs{
    				Type:          pulumi.String("AzureEventHubPath"),
    				Namespace:     pulumi.String("%s"),
    				EventHubName:  pulumi.String("%s"),
    				ConsumerGroup: pulumi.String("%s"),
    				Region:        pulumi.String("%s"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using SumoLogic = Pulumi.SumoLogic;
    
    return await Deployment.RunAsync(() => 
    {
        var collector = new SumoLogic.Collector("collector", new()
        {
            Name = "my-collector",
            Description = "Just testing this",
        });
    
        var terraformAzureEventHubLogSource = new SumoLogic.AzureEventHubLogSource("terraform_azure_event_hub_log_source", new()
        {
            Name = "Azure Event Hub Log Source",
            Description = "My description",
            Category = "azure/eventhub",
            ContentType = "AzureEventHubLog",
            CollectorId = collector.Id,
            Authentication = new SumoLogic.Inputs.AzureEventHubLogSourceAuthenticationArgs
            {
                Type = "AzureEventHubAuthentication",
                SharedAccessPolicyName = "%s",
                SharedAccessPolicyKey = "%s",
            },
            Path = new SumoLogic.Inputs.AzureEventHubLogSourcePathArgs
            {
                Type = "AzureEventHubPath",
                Namespace = "%s",
                EventHubName = "%s",
                ConsumerGroup = "%s",
                Region = "%s",
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.sumologic.Collector;
    import com.pulumi.sumologic.CollectorArgs;
    import com.pulumi.sumologic.AzureEventHubLogSource;
    import com.pulumi.sumologic.AzureEventHubLogSourceArgs;
    import com.pulumi.sumologic.inputs.AzureEventHubLogSourceAuthenticationArgs;
    import com.pulumi.sumologic.inputs.AzureEventHubLogSourcePathArgs;
    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) {
            var collector = new Collector("collector", CollectorArgs.builder()
                .name("my-collector")
                .description("Just testing this")
                .build());
    
            var terraformAzureEventHubLogSource = new AzureEventHubLogSource("terraformAzureEventHubLogSource", AzureEventHubLogSourceArgs.builder()
                .name("Azure Event Hub Log Source")
                .description("My description")
                .category("azure/eventhub")
                .contentType("AzureEventHubLog")
                .collectorId(collector.id())
                .authentication(AzureEventHubLogSourceAuthenticationArgs.builder()
                    .type("AzureEventHubAuthentication")
                    .sharedAccessPolicyName("%s")
                    .sharedAccessPolicyKey("%s")
                    .build())
                .path(AzureEventHubLogSourcePathArgs.builder()
                    .type("AzureEventHubPath")
                    .namespace("%s")
                    .eventHubName("%s")
                    .consumerGroup("%s")
                    .region("%s")
                    .build())
                .build());
    
        }
    }
    
    resources:
      terraformAzureEventHubLogSource:
        type: sumologic:AzureEventHubLogSource
        name: terraform_azure_event_hub_log_source
        properties:
          name: Azure Event Hub Log Source
          description: My description
          category: azure/eventhub
          contentType: AzureEventHubLog
          collectorId: ${collector.id}
          authentication:
            type: AzureEventHubAuthentication
            sharedAccessPolicyName: '%s'
            sharedAccessPolicyKey: '%s'
          path:
            type: AzureEventHubPath
            namespace: '%s'
            eventHubName: '%s'
            consumerGroup: '%s'
            region: '%s'
      collector:
        type: sumologic:Collector
        properties:
          name: my-collector
          description: Just testing this
    

    Create AzureEventHubLogSource Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new AzureEventHubLogSource(name: string, args: AzureEventHubLogSourceArgs, opts?: CustomResourceOptions);
    @overload
    def AzureEventHubLogSource(resource_name: str,
                               args: AzureEventHubLogSourceArgs,
                               opts: Optional[ResourceOptions] = None)
    
    @overload
    def AzureEventHubLogSource(resource_name: str,
                               opts: Optional[ResourceOptions] = None,
                               content_type: Optional[str] = None,
                               path: Optional[AzureEventHubLogSourcePathArgs] = None,
                               authentication: Optional[AzureEventHubLogSourceAuthenticationArgs] = None,
                               collector_id: Optional[int] = None,
                               filters: Optional[Sequence[AzureEventHubLogSourceFilterArgs]] = None,
                               manual_prefix_regexp: Optional[str] = None,
                               cutoff_timestamp: Optional[int] = None,
                               default_date_formats: Optional[Sequence[AzureEventHubLogSourceDefaultDateFormatArgs]] = None,
                               description: Optional[str] = None,
                               fields: Optional[Mapping[str, str]] = None,
                               category: Optional[str] = None,
                               force_timezone: Optional[bool] = None,
                               host_name: Optional[str] = None,
                               cutoff_relative_time: Optional[str] = None,
                               multiline_processing_enabled: Optional[bool] = None,
                               name: Optional[str] = None,
                               automatic_date_parsing: Optional[bool] = None,
                               paused: Optional[bool] = None,
                               scan_interval: Optional[int] = None,
                               timezone: Optional[str] = None,
                               use_autoline_matching: Optional[bool] = None)
    func NewAzureEventHubLogSource(ctx *Context, name string, args AzureEventHubLogSourceArgs, opts ...ResourceOption) (*AzureEventHubLogSource, error)
    public AzureEventHubLogSource(string name, AzureEventHubLogSourceArgs args, CustomResourceOptions? opts = null)
    public AzureEventHubLogSource(String name, AzureEventHubLogSourceArgs args)
    public AzureEventHubLogSource(String name, AzureEventHubLogSourceArgs args, CustomResourceOptions options)
    
    type: sumologic:AzureEventHubLogSource
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args AzureEventHubLogSourceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args AzureEventHubLogSourceArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args AzureEventHubLogSourceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AzureEventHubLogSourceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AzureEventHubLogSourceArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    var azureEventHubLogSourceResource = new SumoLogic.AzureEventHubLogSource("azureEventHubLogSourceResource", new()
    {
        ContentType = "string",
        Path = new SumoLogic.Inputs.AzureEventHubLogSourcePathArgs
        {
            Type = "string",
            LimitToServices = new[]
            {
                "string",
            },
            CustomServices = new[]
            {
                new SumoLogic.Inputs.AzureEventHubLogSourcePathCustomServiceArgs
                {
                    Prefixes = new[]
                    {
                        "string",
                    },
                    ServiceName = "string",
                },
            },
            EventHubName = "string",
            LimitToNamespaces = new[]
            {
                "string",
            },
            LimitToRegions = new[]
            {
                "string",
            },
            BucketName = "string",
            Namespace = "string",
            PathExpression = "string",
            Region = "string",
            SnsTopicOrSubscriptionArns = new[]
            {
                new SumoLogic.Inputs.AzureEventHubLogSourcePathSnsTopicOrSubscriptionArnArgs
                {
                    Arn = "string",
                    IsSuccess = false,
                },
            },
            TagFilters = new[]
            {
                new SumoLogic.Inputs.AzureEventHubLogSourcePathTagFilterArgs
                {
                    Namespace = "string",
                    Tags = new[]
                    {
                        "string",
                    },
                    Type = "string",
                },
            },
            ConsumerGroup = "string",
            UseVersionedApi = false,
        },
        Authentication = new SumoLogic.Inputs.AzureEventHubLogSourceAuthenticationArgs
        {
            Type = "string",
            ProjectId = "string",
            Region = "string",
            ClientEmail = "string",
            ClientId = "string",
            ClientX509CertUrl = "string",
            PrivateKey = "string",
            AuthUri = "string",
            AccessKey = "string",
            PrivateKeyId = "string",
            RoleArn = "string",
            SecretKey = "string",
            SharedAccessPolicyKey = "string",
            SharedAccessPolicyName = "string",
            TokenUri = "string",
            AuthProviderX509CertUrl = "string",
        },
        CollectorId = 0,
        Filters = new[]
        {
            new SumoLogic.Inputs.AzureEventHubLogSourceFilterArgs
            {
                FilterType = "string",
                Name = "string",
                Regexp = "string",
                Mask = "string",
            },
        },
        ManualPrefixRegexp = "string",
        CutoffTimestamp = 0,
        DefaultDateFormats = new[]
        {
            new SumoLogic.Inputs.AzureEventHubLogSourceDefaultDateFormatArgs
            {
                Format = "string",
                Locator = "string",
            },
        },
        Description = "string",
        Fields = 
        {
            { "string", "string" },
        },
        Category = "string",
        ForceTimezone = false,
        HostName = "string",
        CutoffRelativeTime = "string",
        MultilineProcessingEnabled = false,
        Name = "string",
        AutomaticDateParsing = false,
        Paused = false,
        ScanInterval = 0,
        Timezone = "string",
        UseAutolineMatching = false,
    });
    
    example, err := sumologic.NewAzureEventHubLogSource(ctx, "azureEventHubLogSourceResource", &sumologic.AzureEventHubLogSourceArgs{
    	ContentType: pulumi.String("string"),
    	Path: &sumologic.AzureEventHubLogSourcePathArgs{
    		Type: pulumi.String("string"),
    		LimitToServices: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		CustomServices: sumologic.AzureEventHubLogSourcePathCustomServiceArray{
    			&sumologic.AzureEventHubLogSourcePathCustomServiceArgs{
    				Prefixes: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    				ServiceName: pulumi.String("string"),
    			},
    		},
    		EventHubName: pulumi.String("string"),
    		LimitToNamespaces: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		LimitToRegions: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		BucketName:     pulumi.String("string"),
    		Namespace:      pulumi.String("string"),
    		PathExpression: pulumi.String("string"),
    		Region:         pulumi.String("string"),
    		SnsTopicOrSubscriptionArns: sumologic.AzureEventHubLogSourcePathSnsTopicOrSubscriptionArnArray{
    			&sumologic.AzureEventHubLogSourcePathSnsTopicOrSubscriptionArnArgs{
    				Arn:       pulumi.String("string"),
    				IsSuccess: pulumi.Bool(false),
    			},
    		},
    		TagFilters: sumologic.AzureEventHubLogSourcePathTagFilterArray{
    			&sumologic.AzureEventHubLogSourcePathTagFilterArgs{
    				Namespace: pulumi.String("string"),
    				Tags: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    				Type: pulumi.String("string"),
    			},
    		},
    		ConsumerGroup:   pulumi.String("string"),
    		UseVersionedApi: pulumi.Bool(false),
    	},
    	Authentication: &sumologic.AzureEventHubLogSourceAuthenticationArgs{
    		Type:                    pulumi.String("string"),
    		ProjectId:               pulumi.String("string"),
    		Region:                  pulumi.String("string"),
    		ClientEmail:             pulumi.String("string"),
    		ClientId:                pulumi.String("string"),
    		ClientX509CertUrl:       pulumi.String("string"),
    		PrivateKey:              pulumi.String("string"),
    		AuthUri:                 pulumi.String("string"),
    		AccessKey:               pulumi.String("string"),
    		PrivateKeyId:            pulumi.String("string"),
    		RoleArn:                 pulumi.String("string"),
    		SecretKey:               pulumi.String("string"),
    		SharedAccessPolicyKey:   pulumi.String("string"),
    		SharedAccessPolicyName:  pulumi.String("string"),
    		TokenUri:                pulumi.String("string"),
    		AuthProviderX509CertUrl: pulumi.String("string"),
    	},
    	CollectorId: pulumi.Int(0),
    	Filters: sumologic.AzureEventHubLogSourceFilterArray{
    		&sumologic.AzureEventHubLogSourceFilterArgs{
    			FilterType: pulumi.String("string"),
    			Name:       pulumi.String("string"),
    			Regexp:     pulumi.String("string"),
    			Mask:       pulumi.String("string"),
    		},
    	},
    	ManualPrefixRegexp: pulumi.String("string"),
    	CutoffTimestamp:    pulumi.Int(0),
    	DefaultDateFormats: sumologic.AzureEventHubLogSourceDefaultDateFormatArray{
    		&sumologic.AzureEventHubLogSourceDefaultDateFormatArgs{
    			Format:  pulumi.String("string"),
    			Locator: pulumi.String("string"),
    		},
    	},
    	Description: pulumi.String("string"),
    	Fields: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Category:                   pulumi.String("string"),
    	ForceTimezone:              pulumi.Bool(false),
    	HostName:                   pulumi.String("string"),
    	CutoffRelativeTime:         pulumi.String("string"),
    	MultilineProcessingEnabled: pulumi.Bool(false),
    	Name:                       pulumi.String("string"),
    	AutomaticDateParsing:       pulumi.Bool(false),
    	Paused:                     pulumi.Bool(false),
    	ScanInterval:               pulumi.Int(0),
    	Timezone:                   pulumi.String("string"),
    	UseAutolineMatching:        pulumi.Bool(false),
    })
    
    var azureEventHubLogSourceResource = new AzureEventHubLogSource("azureEventHubLogSourceResource", AzureEventHubLogSourceArgs.builder()
        .contentType("string")
        .path(AzureEventHubLogSourcePathArgs.builder()
            .type("string")
            .limitToServices("string")
            .customServices(AzureEventHubLogSourcePathCustomServiceArgs.builder()
                .prefixes("string")
                .serviceName("string")
                .build())
            .eventHubName("string")
            .limitToNamespaces("string")
            .limitToRegions("string")
            .bucketName("string")
            .namespace("string")
            .pathExpression("string")
            .region("string")
            .snsTopicOrSubscriptionArns(AzureEventHubLogSourcePathSnsTopicOrSubscriptionArnArgs.builder()
                .arn("string")
                .isSuccess(false)
                .build())
            .tagFilters(AzureEventHubLogSourcePathTagFilterArgs.builder()
                .namespace("string")
                .tags("string")
                .type("string")
                .build())
            .consumerGroup("string")
            .useVersionedApi(false)
            .build())
        .authentication(AzureEventHubLogSourceAuthenticationArgs.builder()
            .type("string")
            .projectId("string")
            .region("string")
            .clientEmail("string")
            .clientId("string")
            .clientX509CertUrl("string")
            .privateKey("string")
            .authUri("string")
            .accessKey("string")
            .privateKeyId("string")
            .roleArn("string")
            .secretKey("string")
            .sharedAccessPolicyKey("string")
            .sharedAccessPolicyName("string")
            .tokenUri("string")
            .authProviderX509CertUrl("string")
            .build())
        .collectorId(0)
        .filters(AzureEventHubLogSourceFilterArgs.builder()
            .filterType("string")
            .name("string")
            .regexp("string")
            .mask("string")
            .build())
        .manualPrefixRegexp("string")
        .cutoffTimestamp(0)
        .defaultDateFormats(AzureEventHubLogSourceDefaultDateFormatArgs.builder()
            .format("string")
            .locator("string")
            .build())
        .description("string")
        .fields(Map.of("string", "string"))
        .category("string")
        .forceTimezone(false)
        .hostName("string")
        .cutoffRelativeTime("string")
        .multilineProcessingEnabled(false)
        .name("string")
        .automaticDateParsing(false)
        .paused(false)
        .scanInterval(0)
        .timezone("string")
        .useAutolineMatching(false)
        .build());
    
    azure_event_hub_log_source_resource = sumologic.AzureEventHubLogSource("azureEventHubLogSourceResource",
        content_type="string",
        path=sumologic.AzureEventHubLogSourcePathArgs(
            type="string",
            limit_to_services=["string"],
            custom_services=[sumologic.AzureEventHubLogSourcePathCustomServiceArgs(
                prefixes=["string"],
                service_name="string",
            )],
            event_hub_name="string",
            limit_to_namespaces=["string"],
            limit_to_regions=["string"],
            bucket_name="string",
            namespace="string",
            path_expression="string",
            region="string",
            sns_topic_or_subscription_arns=[sumologic.AzureEventHubLogSourcePathSnsTopicOrSubscriptionArnArgs(
                arn="string",
                is_success=False,
            )],
            tag_filters=[sumologic.AzureEventHubLogSourcePathTagFilterArgs(
                namespace="string",
                tags=["string"],
                type="string",
            )],
            consumer_group="string",
            use_versioned_api=False,
        ),
        authentication=sumologic.AzureEventHubLogSourceAuthenticationArgs(
            type="string",
            project_id="string",
            region="string",
            client_email="string",
            client_id="string",
            client_x509_cert_url="string",
            private_key="string",
            auth_uri="string",
            access_key="string",
            private_key_id="string",
            role_arn="string",
            secret_key="string",
            shared_access_policy_key="string",
            shared_access_policy_name="string",
            token_uri="string",
            auth_provider_x509_cert_url="string",
        ),
        collector_id=0,
        filters=[sumologic.AzureEventHubLogSourceFilterArgs(
            filter_type="string",
            name="string",
            regexp="string",
            mask="string",
        )],
        manual_prefix_regexp="string",
        cutoff_timestamp=0,
        default_date_formats=[sumologic.AzureEventHubLogSourceDefaultDateFormatArgs(
            format="string",
            locator="string",
        )],
        description="string",
        fields={
            "string": "string",
        },
        category="string",
        force_timezone=False,
        host_name="string",
        cutoff_relative_time="string",
        multiline_processing_enabled=False,
        name="string",
        automatic_date_parsing=False,
        paused=False,
        scan_interval=0,
        timezone="string",
        use_autoline_matching=False)
    
    const azureEventHubLogSourceResource = new sumologic.AzureEventHubLogSource("azureEventHubLogSourceResource", {
        contentType: "string",
        path: {
            type: "string",
            limitToServices: ["string"],
            customServices: [{
                prefixes: ["string"],
                serviceName: "string",
            }],
            eventHubName: "string",
            limitToNamespaces: ["string"],
            limitToRegions: ["string"],
            bucketName: "string",
            namespace: "string",
            pathExpression: "string",
            region: "string",
            snsTopicOrSubscriptionArns: [{
                arn: "string",
                isSuccess: false,
            }],
            tagFilters: [{
                namespace: "string",
                tags: ["string"],
                type: "string",
            }],
            consumerGroup: "string",
            useVersionedApi: false,
        },
        authentication: {
            type: "string",
            projectId: "string",
            region: "string",
            clientEmail: "string",
            clientId: "string",
            clientX509CertUrl: "string",
            privateKey: "string",
            authUri: "string",
            accessKey: "string",
            privateKeyId: "string",
            roleArn: "string",
            secretKey: "string",
            sharedAccessPolicyKey: "string",
            sharedAccessPolicyName: "string",
            tokenUri: "string",
            authProviderX509CertUrl: "string",
        },
        collectorId: 0,
        filters: [{
            filterType: "string",
            name: "string",
            regexp: "string",
            mask: "string",
        }],
        manualPrefixRegexp: "string",
        cutoffTimestamp: 0,
        defaultDateFormats: [{
            format: "string",
            locator: "string",
        }],
        description: "string",
        fields: {
            string: "string",
        },
        category: "string",
        forceTimezone: false,
        hostName: "string",
        cutoffRelativeTime: "string",
        multilineProcessingEnabled: false,
        name: "string",
        automaticDateParsing: false,
        paused: false,
        scanInterval: 0,
        timezone: "string",
        useAutolineMatching: false,
    });
    
    type: sumologic:AzureEventHubLogSource
    properties:
        authentication:
            accessKey: string
            authProviderX509CertUrl: string
            authUri: string
            clientEmail: string
            clientId: string
            clientX509CertUrl: string
            privateKey: string
            privateKeyId: string
            projectId: string
            region: string
            roleArn: string
            secretKey: string
            sharedAccessPolicyKey: string
            sharedAccessPolicyName: string
            tokenUri: string
            type: string
        automaticDateParsing: false
        category: string
        collectorId: 0
        contentType: string
        cutoffRelativeTime: string
        cutoffTimestamp: 0
        defaultDateFormats:
            - format: string
              locator: string
        description: string
        fields:
            string: string
        filters:
            - filterType: string
              mask: string
              name: string
              regexp: string
        forceTimezone: false
        hostName: string
        manualPrefixRegexp: string
        multilineProcessingEnabled: false
        name: string
        path:
            bucketName: string
            consumerGroup: string
            customServices:
                - prefixes:
                    - string
                  serviceName: string
            eventHubName: string
            limitToNamespaces:
                - string
            limitToRegions:
                - string
            limitToServices:
                - string
            namespace: string
            pathExpression: string
            region: string
            snsTopicOrSubscriptionArns:
                - arn: string
                  isSuccess: false
            tagFilters:
                - namespace: string
                  tags:
                    - string
                  type: string
            type: string
            useVersionedApi: false
        paused: false
        scanInterval: 0
        timezone: string
        useAutolineMatching: false
    

    AzureEventHubLogSource Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The AzureEventHubLogSource resource accepts the following input properties:

    authentication AzureEventHubLogSourceAuthentication
    Authentication details for connecting to Azure Event Hub.
    collectorId number
    contentType string
    Must be AzureEventHubLog.
    path AzureEventHubLogSourcePath
    The location to scan for new data.
    automaticDateParsing boolean
    category string
    cutoffRelativeTime string
    cutoffTimestamp number
    defaultDateFormats AzureEventHubLogSourceDefaultDateFormat[]
    description string
    fields {[key: string]: string}
    filters AzureEventHubLogSourceFilter[]
    forceTimezone boolean
    hostName string
    manualPrefixRegexp string
    multilineProcessingEnabled boolean
    name string
    paused boolean
    scanInterval number
    timezone string
    useAutolineMatching boolean
    authentication Property Map
    Authentication details for connecting to Azure Event Hub.
    collectorId Number
    contentType String
    Must be AzureEventHubLog.
    path Property Map
    The location to scan for new data.
    automaticDateParsing Boolean
    category String
    cutoffRelativeTime String
    cutoffTimestamp Number
    defaultDateFormats List<Property Map>
    description String
    fields Map<String>
    filters List<Property Map>
    forceTimezone Boolean
    hostName String
    manualPrefixRegexp String
    multilineProcessingEnabled Boolean
    name String
    paused Boolean
    scanInterval Number
    timezone String
    useAutolineMatching Boolean

    Outputs

    All input properties are implicitly available as output properties. Additionally, the AzureEventHubLogSource resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Url string
    Id string
    The provider-assigned unique ID for this managed resource.
    Url string
    id String
    The provider-assigned unique ID for this managed resource.
    url String
    id string
    The provider-assigned unique ID for this managed resource.
    url string
    id str
    The provider-assigned unique ID for this managed resource.
    url str
    id String
    The provider-assigned unique ID for this managed resource.
    url String

    Look up Existing AzureEventHubLogSource Resource

    Get an existing AzureEventHubLogSource resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: AzureEventHubLogSourceState, opts?: CustomResourceOptions): AzureEventHubLogSource
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            authentication: Optional[AzureEventHubLogSourceAuthenticationArgs] = None,
            automatic_date_parsing: Optional[bool] = None,
            category: Optional[str] = None,
            collector_id: Optional[int] = None,
            content_type: Optional[str] = None,
            cutoff_relative_time: Optional[str] = None,
            cutoff_timestamp: Optional[int] = None,
            default_date_formats: Optional[Sequence[AzureEventHubLogSourceDefaultDateFormatArgs]] = None,
            description: Optional[str] = None,
            fields: Optional[Mapping[str, str]] = None,
            filters: Optional[Sequence[AzureEventHubLogSourceFilterArgs]] = None,
            force_timezone: Optional[bool] = None,
            host_name: Optional[str] = None,
            manual_prefix_regexp: Optional[str] = None,
            multiline_processing_enabled: Optional[bool] = None,
            name: Optional[str] = None,
            path: Optional[AzureEventHubLogSourcePathArgs] = None,
            paused: Optional[bool] = None,
            scan_interval: Optional[int] = None,
            timezone: Optional[str] = None,
            url: Optional[str] = None,
            use_autoline_matching: Optional[bool] = None) -> AzureEventHubLogSource
    func GetAzureEventHubLogSource(ctx *Context, name string, id IDInput, state *AzureEventHubLogSourceState, opts ...ResourceOption) (*AzureEventHubLogSource, error)
    public static AzureEventHubLogSource Get(string name, Input<string> id, AzureEventHubLogSourceState? state, CustomResourceOptions? opts = null)
    public static AzureEventHubLogSource get(String name, Output<String> id, AzureEventHubLogSourceState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    authentication AzureEventHubLogSourceAuthentication
    Authentication details for connecting to Azure Event Hub.
    automaticDateParsing boolean
    category string
    collectorId number
    contentType string
    Must be AzureEventHubLog.
    cutoffRelativeTime string
    cutoffTimestamp number
    defaultDateFormats AzureEventHubLogSourceDefaultDateFormat[]
    description string
    fields {[key: string]: string}
    filters AzureEventHubLogSourceFilter[]
    forceTimezone boolean
    hostName string
    manualPrefixRegexp string
    multilineProcessingEnabled boolean
    name string
    path AzureEventHubLogSourcePath
    The location to scan for new data.
    paused boolean
    scanInterval number
    timezone string
    url string
    useAutolineMatching boolean
    authentication Property Map
    Authentication details for connecting to Azure Event Hub.
    automaticDateParsing Boolean
    category String
    collectorId Number
    contentType String
    Must be AzureEventHubLog.
    cutoffRelativeTime String
    cutoffTimestamp Number
    defaultDateFormats List<Property Map>
    description String
    fields Map<String>
    filters List<Property Map>
    forceTimezone Boolean
    hostName String
    manualPrefixRegexp String
    multilineProcessingEnabled Boolean
    name String
    path Property Map
    The location to scan for new data.
    paused Boolean
    scanInterval Number
    timezone String
    url String
    useAutolineMatching Boolean

    Supporting Types

    AzureEventHubLogSourceAuthentication, AzureEventHubLogSourceAuthenticationArgs

    Type string
    Must be AzureEventHubAuthentication.
    AccessKey string
    AuthProviderX509CertUrl string
    AuthUri string
    ClientEmail string
    ClientId string
    ClientX509CertUrl string
    PrivateKey string
    PrivateKeyId string
    ProjectId string
    Region string
    RoleArn string
    SecretKey string
    SharedAccessPolicyKey string
    Your shared access policy key.
    SharedAccessPolicyName string
    Your shared access policy name.
    TokenUri string
    Type string
    Must be AzureEventHubAuthentication.
    AccessKey string
    AuthProviderX509CertUrl string
    AuthUri string
    ClientEmail string
    ClientId string
    ClientX509CertUrl string
    PrivateKey string
    PrivateKeyId string
    ProjectId string
    Region string
    RoleArn string
    SecretKey string
    SharedAccessPolicyKey string
    Your shared access policy key.
    SharedAccessPolicyName string
    Your shared access policy name.
    TokenUri string
    type String
    Must be AzureEventHubAuthentication.
    accessKey String
    authProviderX509CertUrl String
    authUri String
    clientEmail String
    clientId String
    clientX509CertUrl String
    privateKey String
    privateKeyId String
    projectId String
    region String
    roleArn String
    secretKey String
    sharedAccessPolicyKey String
    Your shared access policy key.
    sharedAccessPolicyName String
    Your shared access policy name.
    tokenUri String
    type string
    Must be AzureEventHubAuthentication.
    accessKey string
    authProviderX509CertUrl string
    authUri string
    clientEmail string
    clientId string
    clientX509CertUrl string
    privateKey string
    privateKeyId string
    projectId string
    region string
    roleArn string
    secretKey string
    sharedAccessPolicyKey string
    Your shared access policy key.
    sharedAccessPolicyName string
    Your shared access policy name.
    tokenUri string
    type str
    Must be AzureEventHubAuthentication.
    access_key str
    auth_provider_x509_cert_url str
    auth_uri str
    client_email str
    client_id str
    client_x509_cert_url str
    private_key str
    private_key_id str
    project_id str
    region str
    role_arn str
    secret_key str
    shared_access_policy_key str
    Your shared access policy key.
    shared_access_policy_name str
    Your shared access policy name.
    token_uri str
    type String
    Must be AzureEventHubAuthentication.
    accessKey String
    authProviderX509CertUrl String
    authUri String
    clientEmail String
    clientId String
    clientX509CertUrl String
    privateKey String
    privateKeyId String
    projectId String
    region String
    roleArn String
    secretKey String
    sharedAccessPolicyKey String
    Your shared access policy key.
    sharedAccessPolicyName String
    Your shared access policy name.
    tokenUri String

    AzureEventHubLogSourceDefaultDateFormat, AzureEventHubLogSourceDefaultDateFormatArgs

    Format string
    Locator string
    Format string
    Locator string
    format String
    locator String
    format string
    locator string
    format String
    locator String

    AzureEventHubLogSourceFilter, AzureEventHubLogSourceFilterArgs

    FilterType string
    Name string
    Regexp string
    Mask string
    FilterType string
    Name string
    Regexp string
    Mask string
    filterType String
    name String
    regexp String
    mask String
    filterType string
    name string
    regexp string
    mask string
    filterType String
    name String
    regexp String
    mask String

    AzureEventHubLogSourcePath, AzureEventHubLogSourcePathArgs

    Type string
    Must be AzureEventHubPath.
    BucketName string
    ConsumerGroup string
    The consumer group of the event hub.
    CustomServices List<Pulumi.SumoLogic.Inputs.AzureEventHubLogSourcePathCustomService>
    EventHubName string
    The name of the event hub.
    LimitToNamespaces List<string>
    LimitToRegions List<string>
    LimitToServices List<string>
    Namespace string
    The namespace of the event hub.
    PathExpression string
    Region string
    The region of the event hub. The value can be either Commercial for Azure, or US Gov for Azure Government. Defaults to Commercial.
    SnsTopicOrSubscriptionArns List<Pulumi.SumoLogic.Inputs.AzureEventHubLogSourcePathSnsTopicOrSubscriptionArn>
    TagFilters List<Pulumi.SumoLogic.Inputs.AzureEventHubLogSourcePathTagFilter>
    UseVersionedApi bool
    Type string
    Must be AzureEventHubPath.
    BucketName string
    ConsumerGroup string
    The consumer group of the event hub.
    CustomServices []AzureEventHubLogSourcePathCustomService
    EventHubName string
    The name of the event hub.
    LimitToNamespaces []string
    LimitToRegions []string
    LimitToServices []string
    Namespace string
    The namespace of the event hub.
    PathExpression string
    Region string
    The region of the event hub. The value can be either Commercial for Azure, or US Gov for Azure Government. Defaults to Commercial.
    SnsTopicOrSubscriptionArns []AzureEventHubLogSourcePathSnsTopicOrSubscriptionArn
    TagFilters []AzureEventHubLogSourcePathTagFilter
    UseVersionedApi bool
    type String
    Must be AzureEventHubPath.
    bucketName String
    consumerGroup String
    The consumer group of the event hub.
    customServices List<AzureEventHubLogSourcePathCustomService>
    eventHubName String
    The name of the event hub.
    limitToNamespaces List<String>
    limitToRegions List<String>
    limitToServices List<String>
    namespace String
    The namespace of the event hub.
    pathExpression String
    region String
    The region of the event hub. The value can be either Commercial for Azure, or US Gov for Azure Government. Defaults to Commercial.
    snsTopicOrSubscriptionArns List<AzureEventHubLogSourcePathSnsTopicOrSubscriptionArn>
    tagFilters List<AzureEventHubLogSourcePathTagFilter>
    useVersionedApi Boolean
    type string
    Must be AzureEventHubPath.
    bucketName string
    consumerGroup string
    The consumer group of the event hub.
    customServices AzureEventHubLogSourcePathCustomService[]
    eventHubName string
    The name of the event hub.
    limitToNamespaces string[]
    limitToRegions string[]
    limitToServices string[]
    namespace string
    The namespace of the event hub.
    pathExpression string
    region string
    The region of the event hub. The value can be either Commercial for Azure, or US Gov for Azure Government. Defaults to Commercial.
    snsTopicOrSubscriptionArns AzureEventHubLogSourcePathSnsTopicOrSubscriptionArn[]
    tagFilters AzureEventHubLogSourcePathTagFilter[]
    useVersionedApi boolean
    type str
    Must be AzureEventHubPath.
    bucket_name str
    consumer_group str
    The consumer group of the event hub.
    custom_services Sequence[AzureEventHubLogSourcePathCustomService]
    event_hub_name str
    The name of the event hub.
    limit_to_namespaces Sequence[str]
    limit_to_regions Sequence[str]
    limit_to_services Sequence[str]
    namespace str
    The namespace of the event hub.
    path_expression str
    region str
    The region of the event hub. The value can be either Commercial for Azure, or US Gov for Azure Government. Defaults to Commercial.
    sns_topic_or_subscription_arns Sequence[AzureEventHubLogSourcePathSnsTopicOrSubscriptionArn]
    tag_filters Sequence[AzureEventHubLogSourcePathTagFilter]
    use_versioned_api bool
    type String
    Must be AzureEventHubPath.
    bucketName String
    consumerGroup String
    The consumer group of the event hub.
    customServices List<Property Map>
    eventHubName String
    The name of the event hub.
    limitToNamespaces List<String>
    limitToRegions List<String>
    limitToServices List<String>
    namespace String
    The namespace of the event hub.
    pathExpression String
    region String
    The region of the event hub. The value can be either Commercial for Azure, or US Gov for Azure Government. Defaults to Commercial.
    snsTopicOrSubscriptionArns List<Property Map>
    tagFilters List<Property Map>
    useVersionedApi Boolean

    AzureEventHubLogSourcePathCustomService, AzureEventHubLogSourcePathCustomServiceArgs

    Prefixes List<string>
    ServiceName string
    Prefixes []string
    ServiceName string
    prefixes List<String>
    serviceName String
    prefixes string[]
    serviceName string
    prefixes Sequence[str]
    service_name str
    prefixes List<String>
    serviceName String

    AzureEventHubLogSourcePathSnsTopicOrSubscriptionArn, AzureEventHubLogSourcePathSnsTopicOrSubscriptionArnArgs

    Arn string
    IsSuccess bool
    Arn string
    IsSuccess bool
    arn String
    isSuccess Boolean
    arn string
    isSuccess boolean
    arn str
    is_success bool
    arn String
    isSuccess Boolean

    AzureEventHubLogSourcePathTagFilter, AzureEventHubLogSourcePathTagFilterArgs

    Namespace string
    Tags List<string>
    Type string
    Namespace string
    Tags []string
    Type string
    namespace String
    tags List<String>
    type String
    namespace string
    tags string[]
    type string
    namespace str
    tags Sequence[str]
    type str
    namespace String
    tags List<String>
    type String

    Package Details

    Repository
    Sumo Logic pulumi/pulumi-sumologic
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the sumologic Terraform Provider.
    sumologic logo
    Sumo Logic v0.22.1 published on Sunday, Jun 9, 2024 by Pulumi