We recommend using Azure Native.
published on Monday, Mar 9, 2026 by Pulumi
We recommend using Azure Native.
published on Monday, Mar 9, 2026 by Pulumi
Manages a Stream Analytics Stream Input EventHub.
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 exampleEventHubNamespace = new Azure.EventHub.EventHubNamespace("exampleEventHubNamespace", new Azure.EventHub.EventHubNamespaceArgs
{
Location = exampleResourceGroup.Apply(exampleResourceGroup => exampleResourceGroup.Location),
ResourceGroupName = exampleResourceGroup.Apply(exampleResourceGroup => exampleResourceGroup.Name),
Sku = "Standard",
Capacity = 1,
});
var exampleEventHub = new Azure.EventHub.EventHub("exampleEventHub", new Azure.EventHub.EventHubArgs
{
NamespaceName = exampleEventHubNamespace.Name,
ResourceGroupName = exampleResourceGroup.Apply(exampleResourceGroup => exampleResourceGroup.Name),
PartitionCount = 2,
MessageRetention = 1,
});
var exampleConsumerGroup = new Azure.EventHub.ConsumerGroup("exampleConsumerGroup", new Azure.EventHub.ConsumerGroupArgs
{
NamespaceName = exampleEventHubNamespace.Name,
EventhubName = exampleEventHub.Name,
ResourceGroupName = exampleResourceGroup.Apply(exampleResourceGroup => exampleResourceGroup.Name),
});
var exampleStreamInputEventHub = new Azure.StreamAnalytics.StreamInputEventHub("exampleStreamInputEventHub", new Azure.StreamAnalytics.StreamInputEventHubArgs
{
StreamAnalyticsJobName = exampleJob.Apply(exampleJob => exampleJob.Name),
ResourceGroupName = exampleJob.Apply(exampleJob => exampleJob.ResourceGroupName),
EventhubConsumerGroupName = exampleConsumerGroup.Name,
EventhubName = exampleEventHub.Name,
ServicebusNamespace = exampleEventHubNamespace.Name,
SharedAccessPolicyKey = exampleEventHubNamespace.DefaultPrimaryKey,
SharedAccessPolicyName = "RootManageSharedAccessKey",
Serialization = new Azure.StreamAnalytics.Inputs.StreamInputEventHubSerializationArgs
{
Type = "Json",
Encoding = "UTF8",
},
});
}
}
package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/eventhub"
"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
}
exampleEventHubNamespace, err := eventhub.NewEventHubNamespace(ctx, "exampleEventHubNamespace", &eventhub.EventHubNamespaceArgs{
Location: pulumi.String(exampleResourceGroup.Location),
ResourceGroupName: pulumi.String(exampleResourceGroup.Name),
Sku: pulumi.String("Standard"),
Capacity: pulumi.Int(1),
})
if err != nil {
return err
}
exampleEventHub, err := eventhub.NewEventHub(ctx, "exampleEventHub", &eventhub.EventHubArgs{
NamespaceName: exampleEventHubNamespace.Name,
ResourceGroupName: pulumi.String(exampleResourceGroup.Name),
PartitionCount: pulumi.Int(2),
MessageRetention: pulumi.Int(1),
})
if err != nil {
return err
}
exampleConsumerGroup, err := eventhub.NewConsumerGroup(ctx, "exampleConsumerGroup", &eventhub.ConsumerGroupArgs{
NamespaceName: exampleEventHubNamespace.Name,
EventhubName: exampleEventHub.Name,
ResourceGroupName: pulumi.String(exampleResourceGroup.Name),
})
if err != nil {
return err
}
_, err = streamanalytics.NewStreamInputEventHub(ctx, "exampleStreamInputEventHub", &streamanalytics.StreamInputEventHubArgs{
StreamAnalyticsJobName: pulumi.String(exampleJob.Name),
ResourceGroupName: pulumi.String(exampleJob.ResourceGroupName),
EventhubConsumerGroupName: exampleConsumerGroup.Name,
EventhubName: exampleEventHub.Name,
ServicebusNamespace: exampleEventHubNamespace.Name,
SharedAccessPolicyKey: exampleEventHubNamespace.DefaultPrimaryKey,
SharedAccessPolicyName: pulumi.String("RootManageSharedAccessKey"),
Serialization: &streamanalytics.StreamInputEventHubSerializationArgs{
Type: pulumi.String("Json"),
Encoding: pulumi.String("UTF8"),
},
})
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 exampleEventHubNamespace = new azure.eventhub.EventHubNamespace("exampleEventHubNamespace", {
location: exampleResourceGroup.then(exampleResourceGroup => exampleResourceGroup.location),
resourceGroupName: exampleResourceGroup.then(exampleResourceGroup => exampleResourceGroup.name),
sku: "Standard",
capacity: 1,
});
const exampleEventHub = new azure.eventhub.EventHub("exampleEventHub", {
namespaceName: exampleEventHubNamespace.name,
resourceGroupName: exampleResourceGroup.then(exampleResourceGroup => exampleResourceGroup.name),
partitionCount: 2,
messageRetention: 1,
});
const exampleConsumerGroup = new azure.eventhub.ConsumerGroup("exampleConsumerGroup", {
namespaceName: exampleEventHubNamespace.name,
eventhubName: exampleEventHub.name,
resourceGroupName: exampleResourceGroup.then(exampleResourceGroup => exampleResourceGroup.name),
});
const exampleStreamInputEventHub = new azure.streamanalytics.StreamInputEventHub("exampleStreamInputEventHub", {
streamAnalyticsJobName: exampleJob.then(exampleJob => exampleJob.name),
resourceGroupName: exampleJob.then(exampleJob => exampleJob.resourceGroupName),
eventhubConsumerGroupName: exampleConsumerGroup.name,
eventhubName: exampleEventHub.name,
servicebusNamespace: exampleEventHubNamespace.name,
sharedAccessPolicyKey: exampleEventHubNamespace.defaultPrimaryKey,
sharedAccessPolicyName: "RootManageSharedAccessKey",
serialization: {
type: "Json",
encoding: "UTF8",
},
});
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_event_hub_namespace = azure.eventhub.EventHubNamespace("exampleEventHubNamespace",
location=example_resource_group.location,
resource_group_name=example_resource_group.name,
sku="Standard",
capacity=1)
example_event_hub = azure.eventhub.EventHub("exampleEventHub",
namespace_name=example_event_hub_namespace.name,
resource_group_name=example_resource_group.name,
partition_count=2,
message_retention=1)
example_consumer_group = azure.eventhub.ConsumerGroup("exampleConsumerGroup",
namespace_name=example_event_hub_namespace.name,
eventhub_name=example_event_hub.name,
resource_group_name=example_resource_group.name)
example_stream_input_event_hub = azure.streamanalytics.StreamInputEventHub("exampleStreamInputEventHub",
stream_analytics_job_name=example_job.name,
resource_group_name=example_job.resource_group_name,
eventhub_consumer_group_name=example_consumer_group.name,
eventhub_name=example_event_hub.name,
servicebus_namespace=example_event_hub_namespace.name,
shared_access_policy_key=example_event_hub_namespace.default_primary_key,
shared_access_policy_name="RootManageSharedAccessKey",
serialization=azure.streamanalytics.StreamInputEventHubSerializationArgs(
type="Json",
encoding="UTF8",
))
Example coming soon!
Create StreamInputEventHub Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new StreamInputEventHub(name: string, args: StreamInputEventHubArgs, opts?: CustomResourceOptions);@overload
def StreamInputEventHub(resource_name: str,
args: StreamInputEventHubArgs,
opts: Optional[ResourceOptions] = None)
@overload
def StreamInputEventHub(resource_name: str,
opts: Optional[ResourceOptions] = None,
eventhub_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
serialization: Optional[StreamInputEventHubSerializationArgs] = 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,
eventhub_consumer_group_name: Optional[str] = None,
name: Optional[str] = None,
partition_key: Optional[str] = None)func NewStreamInputEventHub(ctx *Context, name string, args StreamInputEventHubArgs, opts ...ResourceOption) (*StreamInputEventHub, error)public StreamInputEventHub(string name, StreamInputEventHubArgs args, CustomResourceOptions? opts = null)
public StreamInputEventHub(String name, StreamInputEventHubArgs args)
public StreamInputEventHub(String name, StreamInputEventHubArgs args, CustomResourceOptions options)
type: azure:streamanalytics:StreamInputEventHub
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 StreamInputEventHubArgs
- 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 StreamInputEventHubArgs
- 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 StreamInputEventHubArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args StreamInputEventHubArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args StreamInputEventHubArgs
- 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 streamInputEventHubResource = new Azure.StreamAnalytics.StreamInputEventHub("streamInputEventHubResource", new()
{
EventhubName = "string",
ResourceGroupName = "string",
Serialization = new Azure.StreamAnalytics.Inputs.StreamInputEventHubSerializationArgs
{
Type = "string",
Encoding = "string",
FieldDelimiter = "string",
},
ServicebusNamespace = "string",
SharedAccessPolicyKey = "string",
SharedAccessPolicyName = "string",
StreamAnalyticsJobName = "string",
EventhubConsumerGroupName = "string",
Name = "string",
PartitionKey = "string",
});
example, err := streamanalytics.NewStreamInputEventHub(ctx, "streamInputEventHubResource", &streamanalytics.StreamInputEventHubArgs{
EventhubName: pulumi.String("string"),
ResourceGroupName: pulumi.String("string"),
Serialization: &streamanalytics.StreamInputEventHubSerializationArgs{
Type: pulumi.String("string"),
Encoding: pulumi.String("string"),
FieldDelimiter: pulumi.String("string"),
},
ServicebusNamespace: pulumi.String("string"),
SharedAccessPolicyKey: pulumi.String("string"),
SharedAccessPolicyName: pulumi.String("string"),
StreamAnalyticsJobName: pulumi.String("string"),
EventhubConsumerGroupName: pulumi.String("string"),
Name: pulumi.String("string"),
PartitionKey: pulumi.String("string"),
})
var streamInputEventHubResource = new StreamInputEventHub("streamInputEventHubResource", StreamInputEventHubArgs.builder()
.eventhubName("string")
.resourceGroupName("string")
.serialization(StreamInputEventHubSerializationArgs.builder()
.type("string")
.encoding("string")
.fieldDelimiter("string")
.build())
.servicebusNamespace("string")
.sharedAccessPolicyKey("string")
.sharedAccessPolicyName("string")
.streamAnalyticsJobName("string")
.eventhubConsumerGroupName("string")
.name("string")
.partitionKey("string")
.build());
stream_input_event_hub_resource = azure.streamanalytics.StreamInputEventHub("streamInputEventHubResource",
eventhub_name="string",
resource_group_name="string",
serialization={
"type": "string",
"encoding": "string",
"field_delimiter": "string",
},
servicebus_namespace="string",
shared_access_policy_key="string",
shared_access_policy_name="string",
stream_analytics_job_name="string",
eventhub_consumer_group_name="string",
name="string",
partition_key="string")
const streamInputEventHubResource = new azure.streamanalytics.StreamInputEventHub("streamInputEventHubResource", {
eventhubName: "string",
resourceGroupName: "string",
serialization: {
type: "string",
encoding: "string",
fieldDelimiter: "string",
},
servicebusNamespace: "string",
sharedAccessPolicyKey: "string",
sharedAccessPolicyName: "string",
streamAnalyticsJobName: "string",
eventhubConsumerGroupName: "string",
name: "string",
partitionKey: "string",
});
type: azure:streamanalytics:StreamInputEventHub
properties:
eventhubConsumerGroupName: string
eventhubName: string
name: string
partitionKey: string
resourceGroupName: string
serialization:
encoding: string
fieldDelimiter: string
type: string
servicebusNamespace: string
sharedAccessPolicyKey: string
sharedAccessPolicyName: string
streamAnalyticsJobName: string
StreamInputEventHub 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 StreamInputEventHub resource accepts the following input properties:
- Eventhub
Name string - The name of the Event Hub.
- Resource
Group stringName - The name of the Resource Group where the Stream Analytics Job exists. Changing this forces a new resource to be created.
- Serialization
Stream
Input Event Hub Serialization - A
serializationblock as defined below. - Servicebus
Namespace string - The namespace that is associated with the desired Event Hub, Service Bus Queue, Service Bus Topic, etc.
- string
- The shared access policy key for the specified shared access policy.
- string
- The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc.
- Stream
Analytics stringJob Name - The name of the Stream Analytics Job. Changing this forces a new resource to be created.
- Eventhub
Consumer stringGroup Name - The name of an Event Hub Consumer Group that should be used to read events from the Event Hub. Specifying distinct consumer group names for multiple inputs allows each of those inputs to receive the same events from the Event Hub. If not set the input will use the Event Hub's default consumer group.
- Name string
- The name of the Stream Input EventHub. Changing this forces a new resource to be created.
- Partition
Key string - The property the input Event Hub has been partitioned by.
- Eventhub
Name string - The name of the Event Hub.
- Resource
Group stringName - The name of the Resource Group where the Stream Analytics Job exists. Changing this forces a new resource to be created.
- Serialization
Stream
Input Event Hub Serialization Args - A
serializationblock as defined below. - Servicebus
Namespace string - The namespace that is associated with the desired Event Hub, Service Bus Queue, Service Bus Topic, etc.
- string
- The shared access policy key for the specified shared access policy.
- string
- The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc.
- Stream
Analytics stringJob Name - The name of the Stream Analytics Job. Changing this forces a new resource to be created.
- Eventhub
Consumer stringGroup Name - The name of an Event Hub Consumer Group that should be used to read events from the Event Hub. Specifying distinct consumer group names for multiple inputs allows each of those inputs to receive the same events from the Event Hub. If not set the input will use the Event Hub's default consumer group.
- Name string
- The name of the Stream Input EventHub. Changing this forces a new resource to be created.
- Partition
Key string - The property the input Event Hub has been partitioned by.
- eventhub
Name String - The name of the Event Hub.
- resource
Group StringName - The name of the Resource Group where the Stream Analytics Job exists. Changing this forces a new resource to be created.
- serialization
Stream
Input Event Hub Serialization - A
serializationblock as defined below. - servicebus
Namespace String - The namespace that is associated with the desired Event Hub, Service Bus Queue, Service Bus Topic, etc.
- String
- The shared access policy key for the specified shared access policy.
- String
- The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc.
- stream
Analytics StringJob Name - The name of the Stream Analytics Job. Changing this forces a new resource to be created.
- eventhub
Consumer StringGroup Name - The name of an Event Hub Consumer Group that should be used to read events from the Event Hub. Specifying distinct consumer group names for multiple inputs allows each of those inputs to receive the same events from the Event Hub. If not set the input will use the Event Hub's default consumer group.
- name String
- The name of the Stream Input EventHub. Changing this forces a new resource to be created.
- partition
Key String - The property the input Event Hub has been partitioned by.
- eventhub
Name string - The name of the Event Hub.
- resource
Group stringName - The name of the Resource Group where the Stream Analytics Job exists. Changing this forces a new resource to be created.
- serialization
Stream
Input Event Hub Serialization - A
serializationblock as defined below. - servicebus
Namespace string - The namespace that is associated with the desired Event Hub, Service Bus Queue, Service Bus Topic, etc.
- string
- The shared access policy key for the specified shared access policy.
- string
- The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc.
- stream
Analytics stringJob Name - The name of the Stream Analytics Job. Changing this forces a new resource to be created.
- eventhub
Consumer stringGroup Name - The name of an Event Hub Consumer Group that should be used to read events from the Event Hub. Specifying distinct consumer group names for multiple inputs allows each of those inputs to receive the same events from the Event Hub. If not set the input will use the Event Hub's default consumer group.
- name string
- The name of the Stream Input EventHub. Changing this forces a new resource to be created.
- partition
Key string - The property the input Event Hub has been partitioned by.
- eventhub_
name str - The name of the Event Hub.
- resource_
group_ strname - The name of the Resource Group where the Stream Analytics Job exists. Changing this forces a new resource to be created.
- serialization
Stream
Input Event Hub Serialization Args - A
serializationblock as defined below. - servicebus_
namespace str - The namespace that is associated with the desired Event Hub, Service Bus Queue, Service Bus Topic, etc.
- str
- The shared access policy key for the specified shared access policy.
- str
- The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc.
- stream_
analytics_ strjob_ name - The name of the Stream Analytics Job. Changing this forces a new resource to be created.
- eventhub_
consumer_ strgroup_ name - The name of an Event Hub Consumer Group that should be used to read events from the Event Hub. Specifying distinct consumer group names for multiple inputs allows each of those inputs to receive the same events from the Event Hub. If not set the input will use the Event Hub's default consumer group.
- name str
- The name of the Stream Input EventHub. Changing this forces a new resource to be created.
- partition_
key str - The property the input Event Hub has been partitioned by.
- eventhub
Name String - The name of the Event Hub.
- resource
Group StringName - 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
serializationblock as defined below. - servicebus
Namespace String - The namespace that is associated with the desired Event Hub, Service Bus Queue, Service Bus Topic, etc.
- String
- The shared access policy key for the specified shared access policy.
- String
- The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc.
- stream
Analytics StringJob Name - The name of the Stream Analytics Job. Changing this forces a new resource to be created.
- eventhub
Consumer StringGroup Name - The name of an Event Hub Consumer Group that should be used to read events from the Event Hub. Specifying distinct consumer group names for multiple inputs allows each of those inputs to receive the same events from the Event Hub. If not set the input will use the Event Hub's default consumer group.
- name String
- The name of the Stream Input EventHub. Changing this forces a new resource to be created.
- partition
Key String - The property the input Event Hub has been partitioned by.
Outputs
All input properties are implicitly available as output properties. Additionally, the StreamInputEventHub 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 StreamInputEventHub Resource
Get an existing StreamInputEventHub 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?: StreamInputEventHubState, opts?: CustomResourceOptions): StreamInputEventHub@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
eventhub_consumer_group_name: Optional[str] = None,
eventhub_name: Optional[str] = None,
name: Optional[str] = None,
partition_key: Optional[str] = None,
resource_group_name: Optional[str] = None,
serialization: Optional[StreamInputEventHubSerializationArgs] = 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) -> StreamInputEventHubfunc GetStreamInputEventHub(ctx *Context, name string, id IDInput, state *StreamInputEventHubState, opts ...ResourceOption) (*StreamInputEventHub, error)public static StreamInputEventHub Get(string name, Input<string> id, StreamInputEventHubState? state, CustomResourceOptions? opts = null)public static StreamInputEventHub get(String name, Output<String> id, StreamInputEventHubState state, CustomResourceOptions options)resources: _: type: azure:streamanalytics:StreamInputEventHub 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.
- Eventhub
Consumer stringGroup Name - The name of an Event Hub Consumer Group that should be used to read events from the Event Hub. Specifying distinct consumer group names for multiple inputs allows each of those inputs to receive the same events from the Event Hub. If not set the input will use the Event Hub's default consumer group.
- Eventhub
Name string - The name of the Event Hub.
- Name string
- The name of the Stream Input EventHub. Changing this forces a new resource to be created.
- Partition
Key string - The property the input Event Hub has been partitioned by.
- Resource
Group stringName - The name of the Resource Group where the Stream Analytics Job exists. Changing this forces a new resource to be created.
- Serialization
Stream
Input Event Hub Serialization - A
serializationblock as defined below. - Servicebus
Namespace string - The namespace that is associated with the desired Event Hub, Service Bus Queue, Service Bus Topic, etc.
- string
- The shared access policy key for the specified shared access policy.
- string
- The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc.
- Stream
Analytics stringJob Name - The name of the Stream Analytics Job. Changing this forces a new resource to be created.
- Eventhub
Consumer stringGroup Name - The name of an Event Hub Consumer Group that should be used to read events from the Event Hub. Specifying distinct consumer group names for multiple inputs allows each of those inputs to receive the same events from the Event Hub. If not set the input will use the Event Hub's default consumer group.
- Eventhub
Name string - The name of the Event Hub.
- Name string
- The name of the Stream Input EventHub. Changing this forces a new resource to be created.
- Partition
Key string - The property the input Event Hub has been partitioned by.
- Resource
Group stringName - The name of the Resource Group where the Stream Analytics Job exists. Changing this forces a new resource to be created.
- Serialization
Stream
Input Event Hub Serialization Args - A
serializationblock as defined below. - Servicebus
Namespace string - The namespace that is associated with the desired Event Hub, Service Bus Queue, Service Bus Topic, etc.
- string
- The shared access policy key for the specified shared access policy.
- string
- The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc.
- Stream
Analytics stringJob Name - The name of the Stream Analytics Job. Changing this forces a new resource to be created.
- eventhub
Consumer StringGroup Name - The name of an Event Hub Consumer Group that should be used to read events from the Event Hub. Specifying distinct consumer group names for multiple inputs allows each of those inputs to receive the same events from the Event Hub. If not set the input will use the Event Hub's default consumer group.
- eventhub
Name String - The name of the Event Hub.
- name String
- The name of the Stream Input EventHub. Changing this forces a new resource to be created.
- partition
Key String - The property the input Event Hub has been partitioned by.
- resource
Group StringName - The name of the Resource Group where the Stream Analytics Job exists. Changing this forces a new resource to be created.
- serialization
Stream
Input Event Hub Serialization - A
serializationblock as defined below. - servicebus
Namespace String - The namespace that is associated with the desired Event Hub, Service Bus Queue, Service Bus Topic, etc.
- String
- The shared access policy key for the specified shared access policy.
- String
- The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc.
- stream
Analytics StringJob Name - The name of the Stream Analytics Job. Changing this forces a new resource to be created.
- eventhub
Consumer stringGroup Name - The name of an Event Hub Consumer Group that should be used to read events from the Event Hub. Specifying distinct consumer group names for multiple inputs allows each of those inputs to receive the same events from the Event Hub. If not set the input will use the Event Hub's default consumer group.
- eventhub
Name string - The name of the Event Hub.
- name string
- The name of the Stream Input EventHub. Changing this forces a new resource to be created.
- partition
Key string - The property the input Event Hub has been partitioned by.
- resource
Group stringName - The name of the Resource Group where the Stream Analytics Job exists. Changing this forces a new resource to be created.
- serialization
Stream
Input Event Hub Serialization - A
serializationblock as defined below. - servicebus
Namespace string - The namespace that is associated with the desired Event Hub, Service Bus Queue, Service Bus Topic, etc.
- string
- The shared access policy key for the specified shared access policy.
- string
- The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc.
- stream
Analytics stringJob Name - The name of the Stream Analytics Job. Changing this forces a new resource to be created.
- eventhub_
consumer_ strgroup_ name - The name of an Event Hub Consumer Group that should be used to read events from the Event Hub. Specifying distinct consumer group names for multiple inputs allows each of those inputs to receive the same events from the Event Hub. If not set the input will use the Event Hub's default consumer group.
- eventhub_
name str - The name of the Event Hub.
- name str
- The name of the Stream Input EventHub. Changing this forces a new resource to be created.
- partition_
key str - The property the input Event Hub has been partitioned by.
- resource_
group_ strname - The name of the Resource Group where the Stream Analytics Job exists. Changing this forces a new resource to be created.
- serialization
Stream
Input Event Hub Serialization Args - A
serializationblock as defined below. - servicebus_
namespace str - The namespace that is associated with the desired Event Hub, Service Bus Queue, Service Bus Topic, etc.
- str
- The shared access policy key for the specified shared access policy.
- str
- The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc.
- stream_
analytics_ strjob_ name - The name of the Stream Analytics Job. Changing this forces a new resource to be created.
- eventhub
Consumer StringGroup Name - The name of an Event Hub Consumer Group that should be used to read events from the Event Hub. Specifying distinct consumer group names for multiple inputs allows each of those inputs to receive the same events from the Event Hub. If not set the input will use the Event Hub's default consumer group.
- eventhub
Name String - The name of the Event Hub.
- name String
- The name of the Stream Input EventHub. Changing this forces a new resource to be created.
- partition
Key String - The property the input Event Hub has been partitioned by.
- resource
Group StringName - 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
serializationblock as defined below. - servicebus
Namespace String - The namespace that is associated with the desired Event Hub, Service Bus Queue, Service Bus Topic, etc.
- String
- The shared access policy key for the specified shared access policy.
- String
- The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc.
- stream
Analytics StringJob Name - The name of the Stream Analytics Job. Changing this forces a new resource to be created.
Supporting Types
StreamInputEventHubSerialization, StreamInputEventHubSerializationArgs
- Type string
- The serialization format used for incoming data streams. Possible values are
Avro,CsvandJson. - 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. - Field
Delimiter string - The delimiter that will be used to separate comma-separated value (CSV) records. Possible values are
(space),,(comma),(tab),|(pipe) and;.
- Type string
- The serialization format used for incoming data streams. Possible values are
Avro,CsvandJson. - 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. - Field
Delimiter string - The delimiter that will be used to separate comma-separated value (CSV) records. Possible values are
(space),,(comma),(tab),|(pipe) and;.
- type String
- The serialization format used for incoming data streams. Possible values are
Avro,CsvandJson. - 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. - field
Delimiter String - The delimiter that will be used to separate comma-separated value (CSV) records. Possible values are
(space),,(comma),(tab),|(pipe) and;.
- type string
- The serialization format used for incoming data streams. Possible values are
Avro,CsvandJson. - 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. - field
Delimiter string - The delimiter that will be used to separate comma-separated value (CSV) records. Possible values are
(space),,(comma),(tab),|(pipe) and;.
- type str
- The serialization format used for incoming data streams. Possible values are
Avro,CsvandJson. - 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;.
- type String
- The serialization format used for incoming data streams. Possible values are
Avro,CsvandJson. - 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. - field
Delimiter String - The delimiter that will be used to separate comma-separated value (CSV) records. Possible values are
(space),,(comma),(tab),|(pipe) and;.
Import
Stream Analytics Stream Input EventHub’s can be imported using the resource id, e.g.
$ pulumi import azure:streamanalytics/streamInputEventHub:StreamInputEventHub example /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.StreamAnalytics/streamingjobs/job1/inputs/input1
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
azurermTerraform Provider.
We recommend using Azure Native.
published on Monday, Mar 9, 2026 by Pulumi
