OutputServicebusTopicArgs

data class OutputServicebusTopicArgs(val authenticationMode: Output<String>? = null, val name: Output<String>? = null, val propertyColumns: Output<List<String>>? = null, val resourceGroupName: Output<String>? = null, val serialization: Output<OutputServicebusTopicSerializationArgs>? = null, val servicebusNamespace: Output<String>? = null, val sharedAccessPolicyKey: Output<String>? = null, val sharedAccessPolicyName: Output<String>? = null, val streamAnalyticsJobName: Output<String>? = null, val systemPropertyColumns: Output<Map<String, String>>? = null, val topicName: Output<String>? = null) : ConvertibleToJava<OutputServicebusTopicArgs>

Manages a Stream Analytics Output to a ServiceBus Topic.

Example Usage

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()
.location("West Europe")
.build());
final var exampleJob = StreamanalyticsFunctions.getJob(GetJobArgs.builder()
.name("example-job")
.resourceGroupName(exampleResourceGroup.name())
.build());
var exampleNamespace = new Namespace("exampleNamespace", NamespaceArgs.builder()
.location(exampleResourceGroup.location())
.resourceGroupName(exampleResourceGroup.name())
.sku("Standard")
.build());
var exampleTopic = new Topic("exampleTopic", TopicArgs.builder()
.namespaceId(exampleNamespace.id())
.enablePartitioning(true)
.build());
var exampleOutputServicebusTopic = new OutputServicebusTopic("exampleOutputServicebusTopic", OutputServicebusTopicArgs.builder()
.streamAnalyticsJobName(exampleJob.applyValue(getJobResult -> getJobResult).applyValue(exampleJob -> exampleJob.applyValue(getJobResult -> getJobResult.name())))
.resourceGroupName(exampleJob.applyValue(getJobResult -> getJobResult).applyValue(exampleJob -> exampleJob.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());
}
}

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

Link copied to clipboard
fun OutputServicebusTopicArgs(authenticationMode: Output<String>? = null, name: Output<String>? = null, propertyColumns: Output<List<String>>? = null, resourceGroupName: Output<String>? = null, serialization: Output<OutputServicebusTopicSerializationArgs>? = null, servicebusNamespace: Output<String>? = null, sharedAccessPolicyKey: Output<String>? = null, sharedAccessPolicyName: Output<String>? = null, streamAnalyticsJobName: Output<String>? = null, systemPropertyColumns: Output<Map<String, String>>? = null, topicName: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): OutputServicebusTopicArgs

Properties

Link copied to clipboard
val authenticationMode: Output<String>? = null

The authentication mode for the Stream Output. Possible values are Msi and ConnectionString. Defaults to ConnectionString.

Link copied to clipboard
val name: Output<String>? = null

The name of the Stream Output. Changing this forces a new resource to be created.

Link copied to clipboard
val propertyColumns: Output<List<String>>? = null

A list of property columns to add to the Service Bus Topic output.

Link copied to clipboard
val resourceGroupName: Output<String>? = null

The name of the Resource Group where the Stream Analytics Job exists. Changing this forces a new resource to be created.

Link copied to clipboard

A serialization block as defined below.

Link copied to clipboard
val servicebusNamespace: Output<String>? = null

The namespace that is associated with the desired Event Hub, Service Bus Topic, Service Bus Topic, etc.

Link copied to clipboard
val sharedAccessPolicyKey: Output<String>? = null

The shared access policy key for the specified shared access policy. Required if authentication_mode is ConnectionString.

Link copied to clipboard
val sharedAccessPolicyName: Output<String>? = null

The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc. Required if authentication_mode is ConnectionString.

Link copied to clipboard
val streamAnalyticsJobName: Output<String>? = null

The name of the Stream Analytics Job. Changing this forces a new resource to be created.

Link copied to clipboard
val systemPropertyColumns: Output<Map<String, String>>? = null

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

Link copied to clipboard
val topicName: Output<String>? = null

The name of the Service Bus Topic.