1. Packages
  2. Packages
  3. Azure Classic
  4. API Docs
  5. streamanalytics
  6. OutputServicebusTopic

We recommend using Azure Native.

Viewing docs for Azure v4.42.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
azure logo

We recommend using Azure Native.

Viewing docs for Azure v4.42.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi

    Manages a Stream Analytics Output to a ServiceBus Topic.

    Example Usage

    using Pulumi;
    using Azure = Pulumi.Azure;
    
    class MyStack : Stack
    {
        public MyStack()
        {
            var exampleResourceGroup = Output.Create(Azure.Core.GetResourceGroup.InvokeAsync(new Azure.Core.GetResourceGroupArgs
            {
                Name = "example-resources",
            }));
            var exampleJob = Output.Create(Azure.StreamAnalytics.GetJob.InvokeAsync(new Azure.StreamAnalytics.GetJobArgs
            {
                Name = "example-job",
                ResourceGroupName = azurerm_resource_group.Example.Name,
            }));
            var exampleNamespace = new Azure.ServiceBus.Namespace("exampleNamespace", new Azure.ServiceBus.NamespaceArgs
            {
                Location = exampleResourceGroup.Apply(exampleResourceGroup => exampleResourceGroup.Location),
                ResourceGroupName = exampleResourceGroup.Apply(exampleResourceGroup => exampleResourceGroup.Name),
                Sku = "Standard",
            });
            var exampleTopic = new Azure.ServiceBus.Topic("exampleTopic", new Azure.ServiceBus.TopicArgs
            {
                NamespaceId = exampleNamespace.Id,
                EnablePartitioning = true,
            });
            var exampleOutputServicebusTopic = new Azure.StreamAnalytics.OutputServicebusTopic("exampleOutputServicebusTopic", new Azure.StreamAnalytics.OutputServicebusTopicArgs
            {
                StreamAnalyticsJobName = exampleJob.Apply(exampleJob => exampleJob.Name),
                ResourceGroupName = exampleJob.Apply(exampleJob => exampleJob.ResourceGroupName),
                TopicName = exampleTopic.Name,
                ServicebusNamespace = exampleNamespace.Name,
                SharedAccessPolicyKey = exampleNamespace.DefaultPrimaryKey,
                SharedAccessPolicyName = "RootManageSharedAccessKey",
                PropertyColumns = 
                {
                    "col1",
                    "col2",
                },
                Serialization = new Azure.StreamAnalytics.Inputs.OutputServicebusTopicSerializationArgs
                {
                    Format = "Avro",
                },
            });
        }
    
    }
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core"
    	"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/servicebus"
    	"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/streamanalytics"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		exampleResourceGroup, err := core.LookupResourceGroup(ctx, &core.LookupResourceGroupArgs{
    			Name: "example-resources",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		exampleJob, err := streamanalytics.LookupJob(ctx, &streamanalytics.LookupJobArgs{
    			Name:              "example-job",
    			ResourceGroupName: azurerm_resource_group.Example.Name,
    		}, nil)
    		if err != nil {
    			return err
    		}
    		exampleNamespace, err := servicebus.NewNamespace(ctx, "exampleNamespace", &servicebus.NamespaceArgs{
    			Location:          pulumi.String(exampleResourceGroup.Location),
    			ResourceGroupName: pulumi.String(exampleResourceGroup.Name),
    			Sku:               pulumi.String("Standard"),
    		})
    		if err != nil {
    			return err
    		}
    		exampleTopic, err := servicebus.NewTopic(ctx, "exampleTopic", &servicebus.TopicArgs{
    			NamespaceId:        exampleNamespace.ID(),
    			EnablePartitioning: pulumi.Bool(true),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = streamanalytics.NewOutputServicebusTopic(ctx, "exampleOutputServicebusTopic", &streamanalytics.OutputServicebusTopicArgs{
    			StreamAnalyticsJobName: pulumi.String(exampleJob.Name),
    			ResourceGroupName:      pulumi.String(exampleJob.ResourceGroupName),
    			TopicName:              exampleTopic.Name,
    			ServicebusNamespace:    exampleNamespace.Name,
    			SharedAccessPolicyKey:  exampleNamespace.DefaultPrimaryKey,
    			SharedAccessPolicyName: pulumi.String("RootManageSharedAccessKey"),
    			PropertyColumns: pulumi.StringArray{
    				pulumi.String("col1"),
    				pulumi.String("col2"),
    			},
    			Serialization: &streamanalytics.OutputServicebusTopicSerializationArgs{
    				Format: pulumi.String("Avro"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    

    Example coming soon!

    import * as pulumi from "@pulumi/pulumi";
    import * as azure from "@pulumi/azure";
    
    const exampleResourceGroup = azure.core.getResourceGroup({
        name: "example-resources",
    });
    const exampleJob = azure.streamanalytics.getJob({
        name: "example-job",
        resourceGroupName: azurerm_resource_group.example.name,
    });
    const exampleNamespace = new azure.servicebus.Namespace("exampleNamespace", {
        location: exampleResourceGroup.then(exampleResourceGroup => exampleResourceGroup.location),
        resourceGroupName: exampleResourceGroup.then(exampleResourceGroup => exampleResourceGroup.name),
        sku: "Standard",
    });
    const exampleTopic = new azure.servicebus.Topic("exampleTopic", {
        namespaceId: exampleNamespace.id,
        enablePartitioning: true,
    });
    const exampleOutputServicebusTopic = new azure.streamanalytics.OutputServicebusTopic("exampleOutputServicebusTopic", {
        streamAnalyticsJobName: exampleJob.then(exampleJob => exampleJob.name),
        resourceGroupName: exampleJob.then(exampleJob => exampleJob.resourceGroupName),
        topicName: exampleTopic.name,
        servicebusNamespace: exampleNamespace.name,
        sharedAccessPolicyKey: exampleNamespace.defaultPrimaryKey,
        sharedAccessPolicyName: "RootManageSharedAccessKey",
        propertyColumns: [
            "col1",
            "col2",
        ],
        serialization: {
            format: "Avro",
        },
    });
    
    import pulumi
    import pulumi_azure as azure
    
    example_resource_group = azure.core.get_resource_group(name="example-resources")
    example_job = azure.streamanalytics.get_job(name="example-job",
        resource_group_name=azurerm_resource_group["example"]["name"])
    example_namespace = azure.servicebus.Namespace("exampleNamespace",
        location=example_resource_group.location,
        resource_group_name=example_resource_group.name,
        sku="Standard")
    example_topic = azure.servicebus.Topic("exampleTopic",
        namespace_id=example_namespace.id,
        enable_partitioning=True)
    example_output_servicebus_topic = azure.streamanalytics.OutputServicebusTopic("exampleOutputServicebusTopic",
        stream_analytics_job_name=example_job.name,
        resource_group_name=example_job.resource_group_name,
        topic_name=example_topic.name,
        servicebus_namespace=example_namespace.name,
        shared_access_policy_key=example_namespace.default_primary_key,
        shared_access_policy_name="RootManageSharedAccessKey",
        property_columns=[
            "col1",
            "col2",
        ],
        serialization=azure.streamanalytics.OutputServicebusTopicSerializationArgs(
            format="Avro",
        ))
    

    Example coming soon!

    Create OutputServicebusTopic Resource

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

    Constructor syntax

    new OutputServicebusTopic(name: string, args: OutputServicebusTopicArgs, opts?: CustomResourceOptions);
    @overload
    def OutputServicebusTopic(resource_name: str,
                              args: OutputServicebusTopicArgs,
                              opts: Optional[ResourceOptions] = None)
    
    @overload
    def OutputServicebusTopic(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              resource_group_name: Optional[str] = None,
                              serialization: Optional[OutputServicebusTopicSerializationArgs] = None,
                              servicebus_namespace: Optional[str] = None,
                              shared_access_policy_key: Optional[str] = None,
                              shared_access_policy_name: Optional[str] = None,
                              stream_analytics_job_name: Optional[str] = None,
                              topic_name: Optional[str] = None,
                              name: Optional[str] = None,
                              property_columns: Optional[Sequence[str]] = None)
    func NewOutputServicebusTopic(ctx *Context, name string, args OutputServicebusTopicArgs, opts ...ResourceOption) (*OutputServicebusTopic, error)
    public OutputServicebusTopic(string name, OutputServicebusTopicArgs args, CustomResourceOptions? opts = null)
    public OutputServicebusTopic(String name, OutputServicebusTopicArgs args)
    public OutputServicebusTopic(String name, OutputServicebusTopicArgs args, CustomResourceOptions options)
    
    type: azure:streamanalytics:OutputServicebusTopic
    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 OutputServicebusTopicArgs
    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 OutputServicebusTopicArgs
    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 OutputServicebusTopicArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args OutputServicebusTopicArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args OutputServicebusTopicArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

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

    var outputServicebusTopicResource = new Azure.StreamAnalytics.OutputServicebusTopic("outputServicebusTopicResource", new()
    {
        ResourceGroupName = "string",
        Serialization = new Azure.StreamAnalytics.Inputs.OutputServicebusTopicSerializationArgs
        {
            Type = "string",
            Encoding = "string",
            FieldDelimiter = "string",
            Format = "string",
        },
        ServicebusNamespace = "string",
        SharedAccessPolicyKey = "string",
        SharedAccessPolicyName = "string",
        StreamAnalyticsJobName = "string",
        TopicName = "string",
        Name = "string",
        PropertyColumns = new[]
        {
            "string",
        },
    });
    
    example, err := streamanalytics.NewOutputServicebusTopic(ctx, "outputServicebusTopicResource", &streamanalytics.OutputServicebusTopicArgs{
    	ResourceGroupName: pulumi.String("string"),
    	Serialization: &streamanalytics.OutputServicebusTopicSerializationArgs{
    		Type:           pulumi.String("string"),
    		Encoding:       pulumi.String("string"),
    		FieldDelimiter: pulumi.String("string"),
    		Format:         pulumi.String("string"),
    	},
    	ServicebusNamespace:    pulumi.String("string"),
    	SharedAccessPolicyKey:  pulumi.String("string"),
    	SharedAccessPolicyName: pulumi.String("string"),
    	StreamAnalyticsJobName: pulumi.String("string"),
    	TopicName:              pulumi.String("string"),
    	Name:                   pulumi.String("string"),
    	PropertyColumns: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    })
    
    var outputServicebusTopicResource = new OutputServicebusTopic("outputServicebusTopicResource", OutputServicebusTopicArgs.builder()
        .resourceGroupName("string")
        .serialization(OutputServicebusTopicSerializationArgs.builder()
            .type("string")
            .encoding("string")
            .fieldDelimiter("string")
            .format("string")
            .build())
        .servicebusNamespace("string")
        .sharedAccessPolicyKey("string")
        .sharedAccessPolicyName("string")
        .streamAnalyticsJobName("string")
        .topicName("string")
        .name("string")
        .propertyColumns("string")
        .build());
    
    output_servicebus_topic_resource = azure.streamanalytics.OutputServicebusTopic("outputServicebusTopicResource",
        resource_group_name="string",
        serialization={
            "type": "string",
            "encoding": "string",
            "field_delimiter": "string",
            "format": "string",
        },
        servicebus_namespace="string",
        shared_access_policy_key="string",
        shared_access_policy_name="string",
        stream_analytics_job_name="string",
        topic_name="string",
        name="string",
        property_columns=["string"])
    
    const outputServicebusTopicResource = new azure.streamanalytics.OutputServicebusTopic("outputServicebusTopicResource", {
        resourceGroupName: "string",
        serialization: {
            type: "string",
            encoding: "string",
            fieldDelimiter: "string",
            format: "string",
        },
        servicebusNamespace: "string",
        sharedAccessPolicyKey: "string",
        sharedAccessPolicyName: "string",
        streamAnalyticsJobName: "string",
        topicName: "string",
        name: "string",
        propertyColumns: ["string"],
    });
    
    type: azure:streamanalytics:OutputServicebusTopic
    properties:
        name: string
        propertyColumns:
            - string
        resourceGroupName: string
        serialization:
            encoding: string
            fieldDelimiter: string
            format: string
            type: string
        servicebusNamespace: string
        sharedAccessPolicyKey: string
        sharedAccessPolicyName: string
        streamAnalyticsJobName: string
        topicName: string
    

    OutputServicebusTopic Resource Properties

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

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The OutputServicebusTopic resource accepts the following input properties:

    ResourceGroupName string
    The name of the Resource Group where the Stream Analytics Job exists. Changing this forces a new resource to be created.
    Serialization OutputServicebusTopicSerialization
    A serialization block as defined below.
    ServicebusNamespace string
    The namespace that is associated with the desired Event Hub, Service Bus Topic, Service Bus Topic, etc.
    SharedAccessPolicyKey string
    The shared access policy key for the specified shared access policy.
    SharedAccessPolicyName string
    The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc.
    StreamAnalyticsJobName string
    The name of the Stream Analytics Job. Changing this forces a new resource to be created.
    TopicName string
    The name of the Service Bus Topic.
    Name string
    The name of the Stream Output. Changing this forces a new resource to be created.
    PropertyColumns List<string>
    A list of property columns to add to the Service Bus Topic output.
    ResourceGroupName string
    The name of the Resource Group where the Stream Analytics Job exists. Changing this forces a new resource to be created.
    Serialization OutputServicebusTopicSerializationArgs
    A serialization block as defined below.
    ServicebusNamespace string
    The namespace that is associated with the desired Event Hub, Service Bus Topic, Service Bus Topic, etc.
    SharedAccessPolicyKey string
    The shared access policy key for the specified shared access policy.
    SharedAccessPolicyName string
    The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc.
    StreamAnalyticsJobName string
    The name of the Stream Analytics Job. Changing this forces a new resource to be created.
    TopicName string
    The name of the Service Bus Topic.
    Name string
    The name of the Stream Output. Changing this forces a new resource to be created.
    PropertyColumns []string
    A list of property columns to add to the Service Bus Topic output.
    resourceGroupName String
    The name of the Resource Group where the Stream Analytics Job exists. Changing this forces a new resource to be created.
    serialization OutputServicebusTopicSerialization
    A serialization block as defined below.
    servicebusNamespace String
    The namespace that is associated with the desired Event Hub, Service Bus Topic, Service Bus Topic, etc.
    sharedAccessPolicyKey String
    The shared access policy key for the specified shared access policy.
    sharedAccessPolicyName String
    The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc.
    streamAnalyticsJobName String
    The name of the Stream Analytics Job. Changing this forces a new resource to be created.
    topicName String
    The name of the Service Bus Topic.
    name String
    The name of the Stream Output. Changing this forces a new resource to be created.
    propertyColumns List<String>
    A list of property columns to add to the Service Bus Topic output.
    resourceGroupName string
    The name of the Resource Group where the Stream Analytics Job exists. Changing this forces a new resource to be created.
    serialization OutputServicebusTopicSerialization
    A serialization block as defined below.
    servicebusNamespace string
    The namespace that is associated with the desired Event Hub, Service Bus Topic, Service Bus Topic, etc.
    sharedAccessPolicyKey string
    The shared access policy key for the specified shared access policy.
    sharedAccessPolicyName string
    The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc.
    streamAnalyticsJobName string
    The name of the Stream Analytics Job. Changing this forces a new resource to be created.
    topicName string
    The name of the Service Bus Topic.
    name string
    The name of the Stream Output. Changing this forces a new resource to be created.
    propertyColumns string[]
    A list of property columns to add to the Service Bus Topic output.
    resource_group_name str
    The name of the Resource Group where the Stream Analytics Job exists. Changing this forces a new resource to be created.
    serialization OutputServicebusTopicSerializationArgs
    A serialization block as defined below.
    servicebus_namespace str
    The namespace that is associated with the desired Event Hub, Service Bus Topic, Service Bus Topic, etc.
    shared_access_policy_key str
    The shared access policy key for the specified shared access policy.
    shared_access_policy_name str
    The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc.
    stream_analytics_job_name str
    The name of the Stream Analytics Job. Changing this forces a new resource to be created.
    topic_name str
    The name of the Service Bus Topic.
    name str
    The name of the Stream Output. Changing this forces a new resource to be created.
    property_columns Sequence[str]
    A list of property columns to add to the Service Bus Topic output.
    resourceGroupName String
    The name of the Resource Group where the Stream Analytics Job exists. Changing this forces a new resource to be created.
    serialization Property Map
    A serialization block as defined below.
    servicebusNamespace String
    The namespace that is associated with the desired Event Hub, Service Bus Topic, Service Bus Topic, etc.
    sharedAccessPolicyKey String
    The shared access policy key for the specified shared access policy.
    sharedAccessPolicyName String
    The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc.
    streamAnalyticsJobName String
    The name of the Stream Analytics Job. Changing this forces a new resource to be created.
    topicName String
    The name of the Service Bus Topic.
    name String
    The name of the Stream Output. Changing this forces a new resource to be created.
    propertyColumns List<String>
    A list of property columns to add to the Service Bus Topic output.

    Outputs

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

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

    Look up Existing OutputServicebusTopic Resource

    Get an existing OutputServicebusTopic 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?: OutputServicebusTopicState, opts?: CustomResourceOptions): OutputServicebusTopic
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            name: Optional[str] = None,
            property_columns: Optional[Sequence[str]] = None,
            resource_group_name: Optional[str] = None,
            serialization: Optional[OutputServicebusTopicSerializationArgs] = None,
            servicebus_namespace: Optional[str] = None,
            shared_access_policy_key: Optional[str] = None,
            shared_access_policy_name: Optional[str] = None,
            stream_analytics_job_name: Optional[str] = None,
            topic_name: Optional[str] = None) -> OutputServicebusTopic
    func GetOutputServicebusTopic(ctx *Context, name string, id IDInput, state *OutputServicebusTopicState, opts ...ResourceOption) (*OutputServicebusTopic, error)
    public static OutputServicebusTopic Get(string name, Input<string> id, OutputServicebusTopicState? state, CustomResourceOptions? opts = null)
    public static OutputServicebusTopic get(String name, Output<String> id, OutputServicebusTopicState state, CustomResourceOptions options)
    resources:  _:    type: azure:streamanalytics:OutputServicebusTopic    get:      id: ${id}
    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:
    Name string
    The name of the Stream Output. Changing this forces a new resource to be created.
    PropertyColumns List<string>
    A list of property columns to add to the Service Bus Topic output.
    ResourceGroupName string
    The name of the Resource Group where the Stream Analytics Job exists. Changing this forces a new resource to be created.
    Serialization OutputServicebusTopicSerialization
    A serialization block as defined below.
    ServicebusNamespace string
    The namespace that is associated with the desired Event Hub, Service Bus Topic, Service Bus Topic, etc.
    SharedAccessPolicyKey string
    The shared access policy key for the specified shared access policy.
    SharedAccessPolicyName string
    The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc.
    StreamAnalyticsJobName string
    The name of the Stream Analytics Job. Changing this forces a new resource to be created.
    TopicName string
    The name of the Service Bus Topic.
    Name string
    The name of the Stream Output. Changing this forces a new resource to be created.
    PropertyColumns []string
    A list of property columns to add to the Service Bus Topic output.
    ResourceGroupName string
    The name of the Resource Group where the Stream Analytics Job exists. Changing this forces a new resource to be created.
    Serialization OutputServicebusTopicSerializationArgs
    A serialization block as defined below.
    ServicebusNamespace string
    The namespace that is associated with the desired Event Hub, Service Bus Topic, Service Bus Topic, etc.
    SharedAccessPolicyKey string
    The shared access policy key for the specified shared access policy.
    SharedAccessPolicyName string
    The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc.
    StreamAnalyticsJobName string
    The name of the Stream Analytics Job. Changing this forces a new resource to be created.
    TopicName string
    The name of the Service Bus Topic.
    name String
    The name of the Stream Output. Changing this forces a new resource to be created.
    propertyColumns List<String>
    A list of property columns to add to the Service Bus Topic output.
    resourceGroupName String
    The name of the Resource Group where the Stream Analytics Job exists. Changing this forces a new resource to be created.
    serialization OutputServicebusTopicSerialization
    A serialization block as defined below.
    servicebusNamespace String
    The namespace that is associated with the desired Event Hub, Service Bus Topic, Service Bus Topic, etc.
    sharedAccessPolicyKey String
    The shared access policy key for the specified shared access policy.
    sharedAccessPolicyName String
    The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc.
    streamAnalyticsJobName String
    The name of the Stream Analytics Job. Changing this forces a new resource to be created.
    topicName String
    The name of the Service Bus Topic.
    name string
    The name of the Stream Output. Changing this forces a new resource to be created.
    propertyColumns string[]
    A list of property columns to add to the Service Bus Topic output.
    resourceGroupName string
    The name of the Resource Group where the Stream Analytics Job exists. Changing this forces a new resource to be created.
    serialization OutputServicebusTopicSerialization
    A serialization block as defined below.
    servicebusNamespace string
    The namespace that is associated with the desired Event Hub, Service Bus Topic, Service Bus Topic, etc.
    sharedAccessPolicyKey string
    The shared access policy key for the specified shared access policy.
    sharedAccessPolicyName string
    The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc.
    streamAnalyticsJobName string
    The name of the Stream Analytics Job. Changing this forces a new resource to be created.
    topicName string
    The name of the Service Bus Topic.
    name str
    The name of the Stream Output. Changing this forces a new resource to be created.
    property_columns Sequence[str]
    A list of property columns to add to the Service Bus Topic output.
    resource_group_name str
    The name of the Resource Group where the Stream Analytics Job exists. Changing this forces a new resource to be created.
    serialization OutputServicebusTopicSerializationArgs
    A serialization block as defined below.
    servicebus_namespace str
    The namespace that is associated with the desired Event Hub, Service Bus Topic, Service Bus Topic, etc.
    shared_access_policy_key str
    The shared access policy key for the specified shared access policy.
    shared_access_policy_name str
    The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc.
    stream_analytics_job_name str
    The name of the Stream Analytics Job. Changing this forces a new resource to be created.
    topic_name str
    The name of the Service Bus Topic.
    name String
    The name of the Stream Output. Changing this forces a new resource to be created.
    propertyColumns List<String>
    A list of property columns to add to the Service Bus Topic output.
    resourceGroupName String
    The name of the Resource Group where the Stream Analytics Job exists. Changing this forces a new resource to be created.
    serialization Property Map
    A serialization block as defined below.
    servicebusNamespace String
    The namespace that is associated with the desired Event Hub, Service Bus Topic, Service Bus Topic, etc.
    sharedAccessPolicyKey String
    The shared access policy key for the specified shared access policy.
    sharedAccessPolicyName String
    The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc.
    streamAnalyticsJobName String
    The name of the Stream Analytics Job. Changing this forces a new resource to be created.
    topicName String
    The name of the Service Bus Topic.

    Supporting Types

    OutputServicebusTopicSerialization, OutputServicebusTopicSerializationArgs

    Type string
    The serialization format used for outgoing data streams. Possible values are Avro, Csv and Json.
    Encoding string
    The encoding of the incoming data in the case of input and the encoding of outgoing data in the case of output. It currently can only be set to UTF8.
    FieldDelimiter string
    The delimiter that will be used to separate comma-separated value (CSV) records. Possible values are (space), , (comma), (tab), | (pipe) and ;.
    Format string
    Specifies the format of the JSON the output will be written in. Possible values are Array and LineSeparated.
    Type string
    The serialization format used for outgoing data streams. Possible values are Avro, Csv and Json.
    Encoding string
    The encoding of the incoming data in the case of input and the encoding of outgoing data in the case of output. It currently can only be set to UTF8.
    FieldDelimiter string
    The delimiter that will be used to separate comma-separated value (CSV) records. Possible values are (space), , (comma), (tab), | (pipe) and ;.
    Format string
    Specifies the format of the JSON the output will be written in. Possible values are Array and LineSeparated.
    type String
    The serialization format used for outgoing data streams. Possible values are Avro, Csv and Json.
    encoding String
    The encoding of the incoming data in the case of input and the encoding of outgoing data in the case of output. It currently can only be set to UTF8.
    fieldDelimiter String
    The delimiter that will be used to separate comma-separated value (CSV) records. Possible values are (space), , (comma), (tab), | (pipe) and ;.
    format String
    Specifies the format of the JSON the output will be written in. Possible values are Array and LineSeparated.
    type string
    The serialization format used for outgoing data streams. Possible values are Avro, Csv and Json.
    encoding string
    The encoding of the incoming data in the case of input and the encoding of outgoing data in the case of output. It currently can only be set to UTF8.
    fieldDelimiter string
    The delimiter that will be used to separate comma-separated value (CSV) records. Possible values are (space), , (comma), (tab), | (pipe) and ;.
    format string
    Specifies the format of the JSON the output will be written in. Possible values are Array and LineSeparated.
    type str
    The serialization format used for outgoing data streams. Possible values are Avro, Csv and Json.
    encoding str
    The encoding of the incoming data in the case of input and the encoding of outgoing data in the case of output. It currently can only be set to UTF8.
    field_delimiter str
    The delimiter that will be used to separate comma-separated value (CSV) records. Possible values are (space), , (comma), (tab), | (pipe) and ;.
    format str
    Specifies the format of the JSON the output will be written in. Possible values are Array and LineSeparated.
    type String
    The serialization format used for outgoing data streams. Possible values are Avro, Csv and Json.
    encoding String
    The encoding of the incoming data in the case of input and the encoding of outgoing data in the case of output. It currently can only be set to UTF8.
    fieldDelimiter String
    The delimiter that will be used to separate comma-separated value (CSV) records. Possible values are (space), , (comma), (tab), | (pipe) and ;.
    format String
    Specifies the format of the JSON the output will be written in. Possible values are Array and LineSeparated.

    Import

    Stream Analytics Output ServiceBus Topic’s can be imported using the resource id, e.g.

     $ pulumi import azure:streamanalytics/outputServicebusTopic:OutputServicebusTopic example /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.StreamAnalytics/streamingjobs/job1/outputs/output1
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Azure Classic pulumi/pulumi-azure
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the azurerm Terraform Provider.
    azure logo

    We recommend using Azure Native.

    Viewing docs for Azure v4.42.0 (Older version)
    published on Monday, Mar 9, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial