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

We recommend using Azure Native.

Azure Classic v5.70.0 published on Wednesday, Mar 27, 2024 by Pulumi

azure.streamanalytics.OutputServicebusTopic

Explore with Pulumi AI

azure logo

We recommend using Azure Native.

Azure Classic v5.70.0 published on Wednesday, Mar 27, 2024 by Pulumi

    Manages a Stream Analytics Output to a ServiceBus Topic.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as azure from "@pulumi/azure";
    
    const exampleResourceGroup = new azure.core.ResourceGroup("example", {
        name: "rg-example",
        location: "West Europe",
    });
    const example = azure.streamanalytics.getJobOutput({
        name: "example-job",
        resourceGroupName: exampleResourceGroup.name,
    });
    const exampleNamespace = new azure.servicebus.Namespace("example", {
        name: "example-namespace",
        location: exampleResourceGroup.location,
        resourceGroupName: exampleResourceGroup.name,
        sku: "Standard",
    });
    const exampleTopic = new azure.servicebus.Topic("example", {
        name: "example-topic",
        namespaceId: exampleNamespace.id,
        enablePartitioning: true,
    });
    const exampleOutputServicebusTopic = new azure.streamanalytics.OutputServicebusTopic("example", {
        name: "service-bus-topic-output",
        streamAnalyticsJobName: example.apply(example => example.name),
        resourceGroupName: example.apply(example => example.resourceGroupName),
        topicName: exampleTopic.name,
        servicebusNamespace: exampleNamespace.name,
        sharedAccessPolicyKey: exampleNamespace.defaultPrimaryKey,
        sharedAccessPolicyName: "RootManageSharedAccessKey",
        propertyColumns: [
            "col1",
            "col2",
        ],
        serialization: {
            type: "Csv",
            format: "Array",
        },
    });
    
    import pulumi
    import pulumi_azure as azure
    
    example_resource_group = azure.core.ResourceGroup("example",
        name="rg-example",
        location="West Europe")
    example = azure.streamanalytics.get_job_output(name="example-job",
        resource_group_name=example_resource_group.name)
    example_namespace = azure.servicebus.Namespace("example",
        name="example-namespace",
        location=example_resource_group.location,
        resource_group_name=example_resource_group.name,
        sku="Standard")
    example_topic = azure.servicebus.Topic("example",
        name="example-topic",
        namespace_id=example_namespace.id,
        enable_partitioning=True)
    example_output_servicebus_topic = azure.streamanalytics.OutputServicebusTopic("example",
        name="service-bus-topic-output",
        stream_analytics_job_name=example.name,
        resource_group_name=example.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(
            type="Csv",
            format="Array",
        ))
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
    	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/servicebus"
    	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/streamanalytics"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		exampleResourceGroup, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
    			Name:     pulumi.String("rg-example"),
    			Location: pulumi.String("West Europe"),
    		})
    		if err != nil {
    			return err
    		}
    		example := streamanalytics.LookupJobOutput(ctx, streamanalytics.GetJobOutputArgs{
    			Name:              pulumi.String("example-job"),
    			ResourceGroupName: exampleResourceGroup.Name,
    		}, nil)
    		exampleNamespace, err := servicebus.NewNamespace(ctx, "example", &servicebus.NamespaceArgs{
    			Name:              pulumi.String("example-namespace"),
    			Location:          exampleResourceGroup.Location,
    			ResourceGroupName: exampleResourceGroup.Name,
    			Sku:               pulumi.String("Standard"),
    		})
    		if err != nil {
    			return err
    		}
    		exampleTopic, err := servicebus.NewTopic(ctx, "example", &servicebus.TopicArgs{
    			Name:               pulumi.String("example-topic"),
    			NamespaceId:        exampleNamespace.ID(),
    			EnablePartitioning: pulumi.Bool(true),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = streamanalytics.NewOutputServicebusTopic(ctx, "example", &streamanalytics.OutputServicebusTopicArgs{
    			Name: pulumi.String("service-bus-topic-output"),
    			StreamAnalyticsJobName: example.ApplyT(func(example streamanalytics.GetJobResult) (*string, error) {
    				return &example.Name, nil
    			}).(pulumi.StringPtrOutput),
    			ResourceGroupName: example.ApplyT(func(example streamanalytics.GetJobResult) (*string, error) {
    				return &example.ResourceGroupName, nil
    			}).(pulumi.StringPtrOutput),
    			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{
    				Type:   pulumi.String("Csv"),
    				Format: pulumi.String("Array"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Azure = Pulumi.Azure;
    
    return await Deployment.RunAsync(() => 
    {
        var exampleResourceGroup = new Azure.Core.ResourceGroup("example", new()
        {
            Name = "rg-example",
            Location = "West Europe",
        });
    
        var example = Azure.StreamAnalytics.GetJob.Invoke(new()
        {
            Name = "example-job",
            ResourceGroupName = exampleResourceGroup.Name,
        });
    
        var exampleNamespace = new Azure.ServiceBus.Namespace("example", new()
        {
            Name = "example-namespace",
            Location = exampleResourceGroup.Location,
            ResourceGroupName = exampleResourceGroup.Name,
            Sku = "Standard",
        });
    
        var exampleTopic = new Azure.ServiceBus.Topic("example", new()
        {
            Name = "example-topic",
            NamespaceId = exampleNamespace.Id,
            EnablePartitioning = true,
        });
    
        var exampleOutputServicebusTopic = new Azure.StreamAnalytics.OutputServicebusTopic("example", new()
        {
            Name = "service-bus-topic-output",
            StreamAnalyticsJobName = example.Apply(getJobResult => getJobResult.Name),
            ResourceGroupName = example.Apply(getJobResult => getJobResult.ResourceGroupName),
            TopicName = exampleTopic.Name,
            ServicebusNamespace = exampleNamespace.Name,
            SharedAccessPolicyKey = exampleNamespace.DefaultPrimaryKey,
            SharedAccessPolicyName = "RootManageSharedAccessKey",
            PropertyColumns = new[]
            {
                "col1",
                "col2",
            },
            Serialization = new Azure.StreamAnalytics.Inputs.OutputServicebusTopicSerializationArgs
            {
                Type = "Csv",
                Format = "Array",
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azure.core.ResourceGroup;
    import com.pulumi.azure.core.ResourceGroupArgs;
    import com.pulumi.azure.streamanalytics.StreamanalyticsFunctions;
    import com.pulumi.azure.streamanalytics.inputs.GetJobArgs;
    import com.pulumi.azure.servicebus.Namespace;
    import com.pulumi.azure.servicebus.NamespaceArgs;
    import com.pulumi.azure.servicebus.Topic;
    import com.pulumi.azure.servicebus.TopicArgs;
    import com.pulumi.azure.streamanalytics.OutputServicebusTopic;
    import com.pulumi.azure.streamanalytics.OutputServicebusTopicArgs;
    import com.pulumi.azure.streamanalytics.inputs.OutputServicebusTopicSerializationArgs;
    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 exampleResourceGroup = new ResourceGroup("exampleResourceGroup", ResourceGroupArgs.builder()        
                .name("rg-example")
                .location("West Europe")
                .build());
    
            final var example = StreamanalyticsFunctions.getJob(GetJobArgs.builder()
                .name("example-job")
                .resourceGroupName(exampleResourceGroup.name())
                .build());
    
            var exampleNamespace = new Namespace("exampleNamespace", NamespaceArgs.builder()        
                .name("example-namespace")
                .location(exampleResourceGroup.location())
                .resourceGroupName(exampleResourceGroup.name())
                .sku("Standard")
                .build());
    
            var exampleTopic = new Topic("exampleTopic", TopicArgs.builder()        
                .name("example-topic")
                .namespaceId(exampleNamespace.id())
                .enablePartitioning(true)
                .build());
    
            var exampleOutputServicebusTopic = new OutputServicebusTopic("exampleOutputServicebusTopic", OutputServicebusTopicArgs.builder()        
                .name("service-bus-topic-output")
                .streamAnalyticsJobName(example.applyValue(getJobResult -> getJobResult).applyValue(example -> example.applyValue(getJobResult -> getJobResult.name())))
                .resourceGroupName(example.applyValue(getJobResult -> getJobResult).applyValue(example -> example.applyValue(getJobResult -> getJobResult.resourceGroupName())))
                .topicName(exampleTopic.name())
                .servicebusNamespace(exampleNamespace.name())
                .sharedAccessPolicyKey(exampleNamespace.defaultPrimaryKey())
                .sharedAccessPolicyName("RootManageSharedAccessKey")
                .propertyColumns(            
                    "col1",
                    "col2")
                .serialization(OutputServicebusTopicSerializationArgs.builder()
                    .type("Csv")
                    .format("Array")
                    .build())
                .build());
    
        }
    }
    
    resources:
      exampleResourceGroup:
        type: azure:core:ResourceGroup
        name: example
        properties:
          name: rg-example
          location: West Europe
      exampleNamespace:
        type: azure:servicebus:Namespace
        name: example
        properties:
          name: example-namespace
          location: ${exampleResourceGroup.location}
          resourceGroupName: ${exampleResourceGroup.name}
          sku: Standard
      exampleTopic:
        type: azure:servicebus:Topic
        name: example
        properties:
          name: example-topic
          namespaceId: ${exampleNamespace.id}
          enablePartitioning: true
      exampleOutputServicebusTopic:
        type: azure:streamanalytics:OutputServicebusTopic
        name: example
        properties:
          name: service-bus-topic-output
          streamAnalyticsJobName: ${example.name}
          resourceGroupName: ${example.resourceGroupName}
          topicName: ${exampleTopic.name}
          servicebusNamespace: ${exampleNamespace.name}
          sharedAccessPolicyKey: ${exampleNamespace.defaultPrimaryKey}
          sharedAccessPolicyName: RootManageSharedAccessKey
          propertyColumns:
            - col1
            - col2
          serialization:
            type: Csv
            format: Array
    variables:
      example:
        fn::invoke:
          Function: azure:streamanalytics:getJob
          Arguments:
            name: example-job
            resourceGroupName: ${exampleResourceGroup.name}
    

    Create OutputServicebusTopic Resource

    new OutputServicebusTopic(name: string, args: OutputServicebusTopicArgs, opts?: CustomResourceOptions);
    @overload
    def OutputServicebusTopic(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              authentication_mode: Optional[str] = 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,
                              system_property_columns: Optional[Mapping[str, str]] = None,
                              topic_name: Optional[str] = None)
    @overload
    def OutputServicebusTopic(resource_name: str,
                              args: OutputServicebusTopicArgs,
                              opts: Optional[ResourceOptions] = 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.
    
    
    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.

    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

    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.
    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.
    AuthenticationMode string
    The authentication mode for the Stream Output. Possible values are Msi and ConnectionString. Defaults to ConnectionString.
    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.
    SharedAccessPolicyKey string
    The shared access policy key for the specified shared access policy. Required if authentication_mode is ConnectionString.
    SharedAccessPolicyName string
    The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc. Required if authentication_mode is ConnectionString.
    SystemPropertyColumns Dictionary<string, string>

    A key-value pair of system property columns that will be attached to the outgoing messages for the Service Bus Topic Output.

    NOTE: The acceptable keys are ContentType, CorrelationId, Label, MessageId, PartitionKey, ReplyTo, ReplyToSessionId, ScheduledEnqueueTimeUtc, SessionId, TimeToLive and To.

    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.
    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.
    AuthenticationMode string
    The authentication mode for the Stream Output. Possible values are Msi and ConnectionString. Defaults to ConnectionString.
    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.
    SharedAccessPolicyKey string
    The shared access policy key for the specified shared access policy. Required if authentication_mode is ConnectionString.
    SharedAccessPolicyName string
    The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc. Required if authentication_mode is ConnectionString.
    SystemPropertyColumns map[string]string

    A key-value pair of system property columns that will be attached to the outgoing messages for the Service Bus Topic Output.

    NOTE: The acceptable keys are ContentType, CorrelationId, Label, MessageId, PartitionKey, ReplyTo, ReplyToSessionId, ScheduledEnqueueTimeUtc, SessionId, TimeToLive and To.

    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.
    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.
    authenticationMode String
    The authentication mode for the Stream Output. Possible values are Msi and ConnectionString. Defaults to ConnectionString.
    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.
    sharedAccessPolicyKey String
    The shared access policy key for the specified shared access policy. Required if authentication_mode is ConnectionString.
    sharedAccessPolicyName String
    The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc. Required if authentication_mode is ConnectionString.
    systemPropertyColumns Map<String,String>

    A key-value pair of system property columns that will be attached to the outgoing messages for the Service Bus Topic Output.

    NOTE: The acceptable keys are ContentType, CorrelationId, Label, MessageId, PartitionKey, ReplyTo, ReplyToSessionId, ScheduledEnqueueTimeUtc, SessionId, TimeToLive and To.

    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.
    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.
    authenticationMode string
    The authentication mode for the Stream Output. Possible values are Msi and ConnectionString. Defaults to ConnectionString.
    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.
    sharedAccessPolicyKey string
    The shared access policy key for the specified shared access policy. Required if authentication_mode is ConnectionString.
    sharedAccessPolicyName string
    The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc. Required if authentication_mode is ConnectionString.
    systemPropertyColumns {[key: string]: string}

    A key-value pair of system property columns that will be attached to the outgoing messages for the Service Bus Topic Output.

    NOTE: The acceptable keys are ContentType, CorrelationId, Label, MessageId, PartitionKey, ReplyTo, ReplyToSessionId, ScheduledEnqueueTimeUtc, SessionId, TimeToLive and To.

    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.
    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.
    authentication_mode str
    The authentication mode for the Stream Output. Possible values are Msi and ConnectionString. Defaults to ConnectionString.
    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.
    shared_access_policy_key str
    The shared access policy key for the specified shared access policy. Required if authentication_mode is ConnectionString.
    shared_access_policy_name str
    The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc. Required if authentication_mode is ConnectionString.
    system_property_columns Mapping[str, str]

    A key-value pair of system property columns that will be attached to the outgoing messages for the Service Bus Topic Output.

    NOTE: The acceptable keys are ContentType, CorrelationId, Label, MessageId, PartitionKey, ReplyTo, ReplyToSessionId, ScheduledEnqueueTimeUtc, SessionId, TimeToLive and To.

    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.
    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.
    authenticationMode String
    The authentication mode for the Stream Output. Possible values are Msi and ConnectionString. Defaults to ConnectionString.
    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.
    sharedAccessPolicyKey String
    The shared access policy key for the specified shared access policy. Required if authentication_mode is ConnectionString.
    sharedAccessPolicyName String
    The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc. Required if authentication_mode is ConnectionString.
    systemPropertyColumns Map<String>

    A key-value pair of system property columns that will be attached to the outgoing messages for the Service Bus Topic Output.

    NOTE: The acceptable keys are ContentType, CorrelationId, Label, MessageId, PartitionKey, ReplyTo, ReplyToSessionId, ScheduledEnqueueTimeUtc, SessionId, TimeToLive and To.

    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,
            authentication_mode: Optional[str] = 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,
            system_property_columns: Optional[Mapping[str, 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)
    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:
    AuthenticationMode string
    The authentication mode for the Stream Output. Possible values are Msi and ConnectionString. Defaults to ConnectionString.
    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. Required if authentication_mode is ConnectionString.
    SharedAccessPolicyName string
    The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc. Required if authentication_mode is ConnectionString.
    StreamAnalyticsJobName string
    The name of the Stream Analytics Job. Changing this forces a new resource to be created.
    SystemPropertyColumns Dictionary<string, string>

    A key-value pair of system property columns that will be attached to the outgoing messages for the Service Bus Topic Output.

    NOTE: The acceptable keys are ContentType, CorrelationId, Label, MessageId, PartitionKey, ReplyTo, ReplyToSessionId, ScheduledEnqueueTimeUtc, SessionId, TimeToLive and To.

    TopicName string
    The name of the Service Bus Topic.
    AuthenticationMode string
    The authentication mode for the Stream Output. Possible values are Msi and ConnectionString. Defaults to ConnectionString.
    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. Required if authentication_mode is ConnectionString.
    SharedAccessPolicyName string
    The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc. Required if authentication_mode is ConnectionString.
    StreamAnalyticsJobName string
    The name of the Stream Analytics Job. Changing this forces a new resource to be created.
    SystemPropertyColumns map[string]string

    A key-value pair of system property columns that will be attached to the outgoing messages for the Service Bus Topic Output.

    NOTE: The acceptable keys are ContentType, CorrelationId, Label, MessageId, PartitionKey, ReplyTo, ReplyToSessionId, ScheduledEnqueueTimeUtc, SessionId, TimeToLive and To.

    TopicName string
    The name of the Service Bus Topic.
    authenticationMode String
    The authentication mode for the Stream Output. Possible values are Msi and ConnectionString. Defaults to ConnectionString.
    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. Required if authentication_mode is ConnectionString.
    sharedAccessPolicyName String
    The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc. Required if authentication_mode is ConnectionString.
    streamAnalyticsJobName String
    The name of the Stream Analytics Job. Changing this forces a new resource to be created.
    systemPropertyColumns Map<String,String>

    A key-value pair of system property columns that will be attached to the outgoing messages for the Service Bus Topic Output.

    NOTE: The acceptable keys are ContentType, CorrelationId, Label, MessageId, PartitionKey, ReplyTo, ReplyToSessionId, ScheduledEnqueueTimeUtc, SessionId, TimeToLive and To.

    topicName String
    The name of the Service Bus Topic.
    authenticationMode string
    The authentication mode for the Stream Output. Possible values are Msi and ConnectionString. Defaults to ConnectionString.
    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. Required if authentication_mode is ConnectionString.
    sharedAccessPolicyName string
    The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc. Required if authentication_mode is ConnectionString.
    streamAnalyticsJobName string
    The name of the Stream Analytics Job. Changing this forces a new resource to be created.
    systemPropertyColumns {[key: string]: string}

    A key-value pair of system property columns that will be attached to the outgoing messages for the Service Bus Topic Output.

    NOTE: The acceptable keys are ContentType, CorrelationId, Label, MessageId, PartitionKey, ReplyTo, ReplyToSessionId, ScheduledEnqueueTimeUtc, SessionId, TimeToLive and To.

    topicName string
    The name of the Service Bus Topic.
    authentication_mode str
    The authentication mode for the Stream Output. Possible values are Msi and ConnectionString. Defaults to ConnectionString.
    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. Required if authentication_mode is ConnectionString.
    shared_access_policy_name str
    The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc. Required if authentication_mode is ConnectionString.
    stream_analytics_job_name str
    The name of the Stream Analytics Job. Changing this forces a new resource to be created.
    system_property_columns Mapping[str, str]

    A key-value pair of system property columns that will be attached to the outgoing messages for the Service Bus Topic Output.

    NOTE: The acceptable keys are ContentType, CorrelationId, Label, MessageId, PartitionKey, ReplyTo, ReplyToSessionId, ScheduledEnqueueTimeUtc, SessionId, TimeToLive and To.

    topic_name str
    The name of the Service Bus Topic.
    authenticationMode String
    The authentication mode for the Stream Output. Possible values are Msi and ConnectionString. Defaults to ConnectionString.
    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. Required if authentication_mode is ConnectionString.
    sharedAccessPolicyName String
    The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc. Required if authentication_mode is ConnectionString.
    streamAnalyticsJobName String
    The name of the Stream Analytics Job. Changing this forces a new resource to be created.
    systemPropertyColumns Map<String>

    A key-value pair of system property columns that will be attached to the outgoing messages for the Service Bus Topic Output.

    NOTE: The acceptable keys are ContentType, CorrelationId, Label, MessageId, PartitionKey, ReplyTo, ReplyToSessionId, ScheduledEnqueueTimeUtc, SessionId, TimeToLive and To.

    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, Json and Parquet.
    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.

    NOTE: This is required when type is set to Csv or Json.

    FieldDelimiter string

    The delimiter that will be used to separate comma-separated value (CSV) records. Possible values are (space), , (comma), (tab), | (pipe) and ;.

    NOTE: This is required when type is set to Csv.

    Format string

    Specifies the format of the JSON the output will be written in. Possible values are Array and LineSeparated.

    NOTE: This is Required and can only be specified when type is set to Json.

    Type string
    The serialization format used for outgoing data streams. Possible values are Avro, Csv, Json and Parquet.
    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.

    NOTE: This is required when type is set to Csv or Json.

    FieldDelimiter string

    The delimiter that will be used to separate comma-separated value (CSV) records. Possible values are (space), , (comma), (tab), | (pipe) and ;.

    NOTE: This is required when type is set to Csv.

    Format string

    Specifies the format of the JSON the output will be written in. Possible values are Array and LineSeparated.

    NOTE: This is Required and can only be specified when type is set to Json.

    type String
    The serialization format used for outgoing data streams. Possible values are Avro, Csv, Json and Parquet.
    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.

    NOTE: This is required when type is set to Csv or Json.

    fieldDelimiter String

    The delimiter that will be used to separate comma-separated value (CSV) records. Possible values are (space), , (comma), (tab), | (pipe) and ;.

    NOTE: This is required when type is set to Csv.

    format String

    Specifies the format of the JSON the output will be written in. Possible values are Array and LineSeparated.

    NOTE: This is Required and can only be specified when type is set to Json.

    type string
    The serialization format used for outgoing data streams. Possible values are Avro, Csv, Json and Parquet.
    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.

    NOTE: This is required when type is set to Csv or Json.

    fieldDelimiter string

    The delimiter that will be used to separate comma-separated value (CSV) records. Possible values are (space), , (comma), (tab), | (pipe) and ;.

    NOTE: This is required when type is set to Csv.

    format string

    Specifies the format of the JSON the output will be written in. Possible values are Array and LineSeparated.

    NOTE: This is Required and can only be specified when type is set to Json.

    type str
    The serialization format used for outgoing data streams. Possible values are Avro, Csv, Json and Parquet.
    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.

    NOTE: This is required when type is set to Csv or Json.

    field_delimiter str

    The delimiter that will be used to separate comma-separated value (CSV) records. Possible values are (space), , (comma), (tab), | (pipe) and ;.

    NOTE: This is required when type is set to Csv.

    format str

    Specifies the format of the JSON the output will be written in. Possible values are Array and LineSeparated.

    NOTE: This is Required and can only be specified when type is set to Json.

    type String
    The serialization format used for outgoing data streams. Possible values are Avro, Csv, Json and Parquet.
    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.

    NOTE: This is required when type is set to Csv or Json.

    fieldDelimiter String

    The delimiter that will be used to separate comma-separated value (CSV) records. Possible values are (space), , (comma), (tab), | (pipe) and ;.

    NOTE: This is required when type is set to Csv.

    format String

    Specifies the format of the JSON the output will be written in. Possible values are Array and LineSeparated.

    NOTE: This is Required and can only be specified when type is set to Json.

    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
    

    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.

    Azure Classic v5.70.0 published on Wednesday, Mar 27, 2024 by Pulumi