Output Servicebus Topic Args
Manages a Stream Analytics Output to a ServiceBus Topic.
Example Usage
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}
API Providers
This resource uses the following Azure API Providers:
Microsoft.StreamAnalytics
: 2021-10-01-preview
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
Constructors
Properties
The authentication mode for the Stream Output. Possible values are Msi
and ConnectionString
. Defaults to ConnectionString
.
A list of property columns to add to the Service Bus Topic output.
The name of the Resource Group where the Stream Analytics Job exists. Changing this forces a new resource to be created.
A serialization
block as defined below.
The namespace that is associated with the desired Event Hub, Service Bus Topic, Service Bus Topic, etc.
The shared access policy key for the specified shared access policy. Required if authentication_mode
is ConnectionString
.
The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc. Required if authentication_mode
is ConnectionString
.
The name of the Stream Analytics Job. Changing this forces a new resource to be created.
A key-value pair of system property columns that will be attached to the outgoing messages for the Service Bus Topic Output.