azure-native.timeseriesinsights.EventHubEventSource
Explore with Pulumi AI
An event source that receives its data from an Azure EventHub. API Version: 2020-05-15.
Example Usage
CreateEventHubEventSource
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var eventHubEventSource = new AzureNative.TimeSeriesInsights.EventHubEventSource("eventHubEventSource", new()
{
ConsumerGroupName = "cgn",
EnvironmentName = "env1",
EventHubName = "ehn",
EventSourceName = "es1",
EventSourceResourceId = "somePathInArm",
KeyName = "managementKey",
Kind = "Microsoft.EventHub",
Location = "West US",
ResourceGroupName = "rg1",
ServiceBusNamespace = "sbn",
SharedAccessKey = "someSecretvalue",
TimestampPropertyName = "someTimestampProperty",
Type = "EarliestAvailable",
});
});
package main
import (
timeseriesinsights "github.com/pulumi/pulumi-azure-native-sdk/timeseriesinsights"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := timeseriesinsights.NewEventHubEventSource(ctx, "eventHubEventSource", ×eriesinsights.EventHubEventSourceArgs{
ConsumerGroupName: pulumi.String("cgn"),
EnvironmentName: pulumi.String("env1"),
EventHubName: pulumi.String("ehn"),
EventSourceName: pulumi.String("es1"),
EventSourceResourceId: pulumi.String("somePathInArm"),
KeyName: pulumi.String("managementKey"),
Kind: pulumi.String("Microsoft.EventHub"),
Location: pulumi.String("West US"),
ResourceGroupName: pulumi.String("rg1"),
ServiceBusNamespace: pulumi.String("sbn"),
SharedAccessKey: pulumi.String("someSecretvalue"),
TimestampPropertyName: pulumi.String("someTimestampProperty"),
Type: pulumi.String("EarliestAvailable"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.timeseriesinsights.EventHubEventSource;
import com.pulumi.azurenative.timeseriesinsights.EventHubEventSourceArgs;
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 eventHubEventSource = new EventHubEventSource("eventHubEventSource", EventHubEventSourceArgs.builder()
.consumerGroupName("cgn")
.environmentName("env1")
.eventHubName("ehn")
.eventSourceName("es1")
.eventSourceResourceId("somePathInArm")
.keyName("managementKey")
.kind("Microsoft.EventHub")
.location("West US")
.resourceGroupName("rg1")
.serviceBusNamespace("sbn")
.sharedAccessKey("someSecretvalue")
.timestampPropertyName("someTimestampProperty")
.type("EarliestAvailable")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
event_hub_event_source = azure_native.timeseriesinsights.EventHubEventSource("eventHubEventSource",
consumer_group_name="cgn",
environment_name="env1",
event_hub_name="ehn",
event_source_name="es1",
event_source_resource_id="somePathInArm",
key_name="managementKey",
kind="Microsoft.EventHub",
location="West US",
resource_group_name="rg1",
service_bus_namespace="sbn",
shared_access_key="someSecretvalue",
timestamp_property_name="someTimestampProperty",
type="EarliestAvailable")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const eventHubEventSource = new azure_native.timeseriesinsights.EventHubEventSource("eventHubEventSource", {
consumerGroupName: "cgn",
environmentName: "env1",
eventHubName: "ehn",
eventSourceName: "es1",
eventSourceResourceId: "somePathInArm",
keyName: "managementKey",
kind: "Microsoft.EventHub",
location: "West US",
resourceGroupName: "rg1",
serviceBusNamespace: "sbn",
sharedAccessKey: "someSecretvalue",
timestampPropertyName: "someTimestampProperty",
type: "EarliestAvailable",
});
resources:
eventHubEventSource:
type: azure-native:timeseriesinsights:EventHubEventSource
properties:
consumerGroupName: cgn
environmentName: env1
eventHubName: ehn
eventSourceName: es1
eventSourceResourceId: somePathInArm
keyName: managementKey
kind: Microsoft.EventHub
location: West US
resourceGroupName: rg1
serviceBusNamespace: sbn
sharedAccessKey: someSecretvalue
timestampPropertyName: someTimestampProperty
type: EarliestAvailable
EventSourcesCreateEventHubWithCustomEnquedTime
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var eventHubEventSource = new AzureNative.TimeSeriesInsights.EventHubEventSource("eventHubEventSource", new()
{
ConsumerGroupName = "cgn",
EnvironmentName = "env1",
EventHubName = "ehn",
EventSourceName = "es1",
EventSourceResourceId = "somePathInArm",
KeyName = "managementKey",
Kind = "Microsoft.EventHub",
Location = "West US",
ResourceGroupName = "rg1",
ServiceBusNamespace = "sbn",
SharedAccessKey = "someSecretvalue",
Time = "2017-04-01T19:20:33.2288820Z",
TimestampPropertyName = "someTimestampProperty",
Type = "CustomEnqueuedTime",
});
});
package main
import (
timeseriesinsights "github.com/pulumi/pulumi-azure-native-sdk/timeseriesinsights"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := timeseriesinsights.NewEventHubEventSource(ctx, "eventHubEventSource", ×eriesinsights.EventHubEventSourceArgs{
ConsumerGroupName: pulumi.String("cgn"),
EnvironmentName: pulumi.String("env1"),
EventHubName: pulumi.String("ehn"),
EventSourceName: pulumi.String("es1"),
EventSourceResourceId: pulumi.String("somePathInArm"),
KeyName: pulumi.String("managementKey"),
Kind: pulumi.String("Microsoft.EventHub"),
Location: pulumi.String("West US"),
ResourceGroupName: pulumi.String("rg1"),
ServiceBusNamespace: pulumi.String("sbn"),
SharedAccessKey: pulumi.String("someSecretvalue"),
Time: pulumi.String("2017-04-01T19:20:33.2288820Z"),
TimestampPropertyName: pulumi.String("someTimestampProperty"),
Type: pulumi.String("CustomEnqueuedTime"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.timeseriesinsights.EventHubEventSource;
import com.pulumi.azurenative.timeseriesinsights.EventHubEventSourceArgs;
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 eventHubEventSource = new EventHubEventSource("eventHubEventSource", EventHubEventSourceArgs.builder()
.consumerGroupName("cgn")
.environmentName("env1")
.eventHubName("ehn")
.eventSourceName("es1")
.eventSourceResourceId("somePathInArm")
.keyName("managementKey")
.kind("Microsoft.EventHub")
.location("West US")
.resourceGroupName("rg1")
.serviceBusNamespace("sbn")
.sharedAccessKey("someSecretvalue")
.time("2017-04-01T19:20:33.2288820Z")
.timestampPropertyName("someTimestampProperty")
.type("CustomEnqueuedTime")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
event_hub_event_source = azure_native.timeseriesinsights.EventHubEventSource("eventHubEventSource",
consumer_group_name="cgn",
environment_name="env1",
event_hub_name="ehn",
event_source_name="es1",
event_source_resource_id="somePathInArm",
key_name="managementKey",
kind="Microsoft.EventHub",
location="West US",
resource_group_name="rg1",
service_bus_namespace="sbn",
shared_access_key="someSecretvalue",
time="2017-04-01T19:20:33.2288820Z",
timestamp_property_name="someTimestampProperty",
type="CustomEnqueuedTime")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const eventHubEventSource = new azure_native.timeseriesinsights.EventHubEventSource("eventHubEventSource", {
consumerGroupName: "cgn",
environmentName: "env1",
eventHubName: "ehn",
eventSourceName: "es1",
eventSourceResourceId: "somePathInArm",
keyName: "managementKey",
kind: "Microsoft.EventHub",
location: "West US",
resourceGroupName: "rg1",
serviceBusNamespace: "sbn",
sharedAccessKey: "someSecretvalue",
time: "2017-04-01T19:20:33.2288820Z",
timestampPropertyName: "someTimestampProperty",
type: "CustomEnqueuedTime",
});
resources:
eventHubEventSource:
type: azure-native:timeseriesinsights:EventHubEventSource
properties:
consumerGroupName: cgn
environmentName: env1
eventHubName: ehn
eventSourceName: es1
eventSourceResourceId: somePathInArm
keyName: managementKey
kind: Microsoft.EventHub
location: West US
resourceGroupName: rg1
serviceBusNamespace: sbn
sharedAccessKey: someSecretvalue
time: 2017-04-01T19:20:33.2288820Z
timestampPropertyName: someTimestampProperty
type: CustomEnqueuedTime
Create EventHubEventSource Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new EventHubEventSource(name: string, args: EventHubEventSourceArgs, opts?: CustomResourceOptions);
@overload
def EventHubEventSource(resource_name: str,
args: EventHubEventSourceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def EventHubEventSource(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_group_name: Optional[str] = None,
environment_name: Optional[str] = None,
event_hub_name: Optional[str] = None,
shared_access_key: Optional[str] = None,
event_source_resource_id: Optional[str] = None,
key_name: Optional[str] = None,
service_bus_namespace: Optional[str] = None,
consumer_group_name: Optional[str] = None,
location: Optional[str] = None,
local_timestamp: Optional[LocalTimestampArgs] = None,
event_source_name: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
time: Optional[str] = None,
timestamp_property_name: Optional[str] = None,
type: Optional[Union[str, IngressStartAtType]] = None)
func NewEventHubEventSource(ctx *Context, name string, args EventHubEventSourceArgs, opts ...ResourceOption) (*EventHubEventSource, error)
public EventHubEventSource(string name, EventHubEventSourceArgs args, CustomResourceOptions? opts = null)
public EventHubEventSource(String name, EventHubEventSourceArgs args)
public EventHubEventSource(String name, EventHubEventSourceArgs args, CustomResourceOptions options)
type: azure-native:timeseriesinsights:EventHubEventSource
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 EventHubEventSourceArgs
- 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 EventHubEventSourceArgs
- 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 EventHubEventSourceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EventHubEventSourceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args EventHubEventSourceArgs
- 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 eventHubEventSourceResource = new AzureNative.Timeseriesinsights.EventHubEventSource("eventHubEventSourceResource", new()
{
ResourceGroupName = "string",
EnvironmentName = "string",
EventHubName = "string",
SharedAccessKey = "string",
EventSourceResourceId = "string",
KeyName = "string",
Kind = "string",
ServiceBusNamespace = "string",
ConsumerGroupName = "string",
Location = "string",
LocalTimestamp =
{
{ "format", "string" },
{ "timeZoneOffset",
{
{ "propertyName", "string" },
} },
},
EventSourceName = "string",
Tags =
{
{ "string", "string" },
},
Time = "string",
TimestampPropertyName = "string",
Type = "string",
});
example, err := timeseriesinsights.NewEventHubEventSource(ctx, "eventHubEventSourceResource", ×eriesinsights.EventHubEventSourceArgs{
ResourceGroupName: "string",
EnvironmentName: "string",
EventHubName: "string",
SharedAccessKey: "string",
EventSourceResourceId: "string",
KeyName: "string",
Kind: "string",
ServiceBusNamespace: "string",
ConsumerGroupName: "string",
Location: "string",
LocalTimestamp: map[string]interface{}{
"format": "string",
"timeZoneOffset": map[string]interface{}{
"propertyName": "string",
},
},
EventSourceName: "string",
Tags: map[string]interface{}{
"string": "string",
},
Time: "string",
TimestampPropertyName: "string",
Type: "string",
})
var eventHubEventSourceResource = new EventHubEventSource("eventHubEventSourceResource", EventHubEventSourceArgs.builder()
.resourceGroupName("string")
.environmentName("string")
.eventHubName("string")
.sharedAccessKey("string")
.eventSourceResourceId("string")
.keyName("string")
.kind("string")
.serviceBusNamespace("string")
.consumerGroupName("string")
.location("string")
.localTimestamp(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.eventSourceName("string")
.tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.time("string")
.timestampPropertyName("string")
.type("string")
.build());
event_hub_event_source_resource = azure_native.timeseriesinsights.EventHubEventSource("eventHubEventSourceResource",
resource_group_name=string,
environment_name=string,
event_hub_name=string,
shared_access_key=string,
event_source_resource_id=string,
key_name=string,
kind=string,
service_bus_namespace=string,
consumer_group_name=string,
location=string,
local_timestamp={
format: string,
timeZoneOffset: {
propertyName: string,
},
},
event_source_name=string,
tags={
string: string,
},
time=string,
timestamp_property_name=string,
type=string)
const eventHubEventSourceResource = new azure_native.timeseriesinsights.EventHubEventSource("eventHubEventSourceResource", {
resourceGroupName: "string",
environmentName: "string",
eventHubName: "string",
sharedAccessKey: "string",
eventSourceResourceId: "string",
keyName: "string",
kind: "string",
serviceBusNamespace: "string",
consumerGroupName: "string",
location: "string",
localTimestamp: {
format: "string",
timeZoneOffset: {
propertyName: "string",
},
},
eventSourceName: "string",
tags: {
string: "string",
},
time: "string",
timestampPropertyName: "string",
type: "string",
});
type: azure-native:timeseriesinsights:EventHubEventSource
properties:
consumerGroupName: string
environmentName: string
eventHubName: string
eventSourceName: string
eventSourceResourceId: string
keyName: string
kind: string
localTimestamp:
format: string
timeZoneOffset:
propertyName: string
location: string
resourceGroupName: string
serviceBusNamespace: string
sharedAccessKey: string
tags:
string: string
time: string
timestampPropertyName: string
type: string
EventHubEventSource 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 EventHubEventSource resource accepts the following input properties:
- Consumer
Group stringName - The name of the event hub's consumer group that holds the partitions from which events will be read.
- Environment
Name string - The name of the Time Series Insights environment associated with the specified resource group.
- Event
Hub stringName - The name of the event hub.
- Event
Source stringResource Id - The resource id of the event source in Azure Resource Manager.
- Key
Name string - The name of the SAS key that grants the Time Series Insights service access to the event hub. The shared access policies for this key must grant 'Listen' permissions to the event hub.
- Resource
Group stringName - Name of an Azure Resource group.
- Service
Bus stringNamespace - The name of the service bus that contains the event hub.
- string
- The value of the shared access key that grants the Time Series Insights service read access to the event hub. This property is not shown in event source responses.
- Event
Source stringName - Name of the event source.
- Local
Timestamp Pulumi.Azure Native. Time Series Insights. Inputs. Local Timestamp - An object that represents the local timestamp property. It contains the format of local timestamp that needs to be used and the corresponding timezone offset information. If a value isn't specified for localTimestamp, or if null, then the local timestamp will not be ingressed with the events.
- Location string
- The location of the resource.
- Dictionary<string, string>
- Key-value pairs of additional properties for the resource.
- Time string
- ISO8601 UTC datetime with seconds precision (milliseconds are optional), specifying the date and time that will be the starting point for Events to be consumed.
- Timestamp
Property stringName - The event property that will be used as the event source's timestamp. If a value isn't specified for timestampPropertyName, or if null or empty-string is specified, the event creation time will be used.
- Type
string | Pulumi.
Azure Native. Time Series Insights. Ingress Start At Type - The type of the ingressStartAt, It can be "EarliestAvailable", "EventSourceCreationTime", "CustomEnqueuedTime".
- Consumer
Group stringName - The name of the event hub's consumer group that holds the partitions from which events will be read.
- Environment
Name string - The name of the Time Series Insights environment associated with the specified resource group.
- Event
Hub stringName - The name of the event hub.
- Event
Source stringResource Id - The resource id of the event source in Azure Resource Manager.
- Key
Name string - The name of the SAS key that grants the Time Series Insights service access to the event hub. The shared access policies for this key must grant 'Listen' permissions to the event hub.
- Resource
Group stringName - Name of an Azure Resource group.
- Service
Bus stringNamespace - The name of the service bus that contains the event hub.
- string
- The value of the shared access key that grants the Time Series Insights service read access to the event hub. This property is not shown in event source responses.
- Event
Source stringName - Name of the event source.
- Local
Timestamp LocalTimestamp Args - An object that represents the local timestamp property. It contains the format of local timestamp that needs to be used and the corresponding timezone offset information. If a value isn't specified for localTimestamp, or if null, then the local timestamp will not be ingressed with the events.
- Location string
- The location of the resource.
- map[string]string
- Key-value pairs of additional properties for the resource.
- Time string
- ISO8601 UTC datetime with seconds precision (milliseconds are optional), specifying the date and time that will be the starting point for Events to be consumed.
- Timestamp
Property stringName - The event property that will be used as the event source's timestamp. If a value isn't specified for timestampPropertyName, or if null or empty-string is specified, the event creation time will be used.
- Type
string | Ingress
Start At Type - The type of the ingressStartAt, It can be "EarliestAvailable", "EventSourceCreationTime", "CustomEnqueuedTime".
- consumer
Group StringName - The name of the event hub's consumer group that holds the partitions from which events will be read.
- environment
Name String - The name of the Time Series Insights environment associated with the specified resource group.
- event
Hub StringName - The name of the event hub.
- event
Source StringResource Id - The resource id of the event source in Azure Resource Manager.
- key
Name String - The name of the SAS key that grants the Time Series Insights service access to the event hub. The shared access policies for this key must grant 'Listen' permissions to the event hub.
- resource
Group StringName - Name of an Azure Resource group.
- service
Bus StringNamespace - The name of the service bus that contains the event hub.
- String
- The value of the shared access key that grants the Time Series Insights service read access to the event hub. This property is not shown in event source responses.
- event
Source StringName - Name of the event source.
- local
Timestamp LocalTimestamp - An object that represents the local timestamp property. It contains the format of local timestamp that needs to be used and the corresponding timezone offset information. If a value isn't specified for localTimestamp, or if null, then the local timestamp will not be ingressed with the events.
- location String
- The location of the resource.
- Map<String,String>
- Key-value pairs of additional properties for the resource.
- time String
- ISO8601 UTC datetime with seconds precision (milliseconds are optional), specifying the date and time that will be the starting point for Events to be consumed.
- timestamp
Property StringName - The event property that will be used as the event source's timestamp. If a value isn't specified for timestampPropertyName, or if null or empty-string is specified, the event creation time will be used.
- type
String | Ingress
Start At Type - The type of the ingressStartAt, It can be "EarliestAvailable", "EventSourceCreationTime", "CustomEnqueuedTime".
- consumer
Group stringName - The name of the event hub's consumer group that holds the partitions from which events will be read.
- environment
Name string - The name of the Time Series Insights environment associated with the specified resource group.
- event
Hub stringName - The name of the event hub.
- event
Source stringResource Id - The resource id of the event source in Azure Resource Manager.
- key
Name string - The name of the SAS key that grants the Time Series Insights service access to the event hub. The shared access policies for this key must grant 'Listen' permissions to the event hub.
- resource
Group stringName - Name of an Azure Resource group.
- service
Bus stringNamespace - The name of the service bus that contains the event hub.
- string
- The value of the shared access key that grants the Time Series Insights service read access to the event hub. This property is not shown in event source responses.
- event
Source stringName - Name of the event source.
- local
Timestamp LocalTimestamp - An object that represents the local timestamp property. It contains the format of local timestamp that needs to be used and the corresponding timezone offset information. If a value isn't specified for localTimestamp, or if null, then the local timestamp will not be ingressed with the events.
- location string
- The location of the resource.
- {[key: string]: string}
- Key-value pairs of additional properties for the resource.
- time string
- ISO8601 UTC datetime with seconds precision (milliseconds are optional), specifying the date and time that will be the starting point for Events to be consumed.
- timestamp
Property stringName - The event property that will be used as the event source's timestamp. If a value isn't specified for timestampPropertyName, or if null or empty-string is specified, the event creation time will be used.
- type
string | Ingress
Start At Type - The type of the ingressStartAt, It can be "EarliestAvailable", "EventSourceCreationTime", "CustomEnqueuedTime".
- consumer_
group_ strname - The name of the event hub's consumer group that holds the partitions from which events will be read.
- environment_
name str - The name of the Time Series Insights environment associated with the specified resource group.
- event_
hub_ strname - The name of the event hub.
- event_
source_ strresource_ id - The resource id of the event source in Azure Resource Manager.
- key_
name str - The name of the SAS key that grants the Time Series Insights service access to the event hub. The shared access policies for this key must grant 'Listen' permissions to the event hub.
- resource_
group_ strname - Name of an Azure Resource group.
- service_
bus_ strnamespace - The name of the service bus that contains the event hub.
- str
- The value of the shared access key that grants the Time Series Insights service read access to the event hub. This property is not shown in event source responses.
- event_
source_ strname - Name of the event source.
- local_
timestamp LocalTimestamp Args - An object that represents the local timestamp property. It contains the format of local timestamp that needs to be used and the corresponding timezone offset information. If a value isn't specified for localTimestamp, or if null, then the local timestamp will not be ingressed with the events.
- location str
- The location of the resource.
- Mapping[str, str]
- Key-value pairs of additional properties for the resource.
- time str
- ISO8601 UTC datetime with seconds precision (milliseconds are optional), specifying the date and time that will be the starting point for Events to be consumed.
- timestamp_
property_ strname - The event property that will be used as the event source's timestamp. If a value isn't specified for timestampPropertyName, or if null or empty-string is specified, the event creation time will be used.
- type
str | Ingress
Start At Type - The type of the ingressStartAt, It can be "EarliestAvailable", "EventSourceCreationTime", "CustomEnqueuedTime".
- consumer
Group StringName - The name of the event hub's consumer group that holds the partitions from which events will be read.
- environment
Name String - The name of the Time Series Insights environment associated with the specified resource group.
- event
Hub StringName - The name of the event hub.
- event
Source StringResource Id - The resource id of the event source in Azure Resource Manager.
- key
Name String - The name of the SAS key that grants the Time Series Insights service access to the event hub. The shared access policies for this key must grant 'Listen' permissions to the event hub.
- resource
Group StringName - Name of an Azure Resource group.
- service
Bus StringNamespace - The name of the service bus that contains the event hub.
- String
- The value of the shared access key that grants the Time Series Insights service read access to the event hub. This property is not shown in event source responses.
- event
Source StringName - Name of the event source.
- local
Timestamp Property Map - An object that represents the local timestamp property. It contains the format of local timestamp that needs to be used and the corresponding timezone offset information. If a value isn't specified for localTimestamp, or if null, then the local timestamp will not be ingressed with the events.
- location String
- The location of the resource.
- Map<String>
- Key-value pairs of additional properties for the resource.
- time String
- ISO8601 UTC datetime with seconds precision (milliseconds are optional), specifying the date and time that will be the starting point for Events to be consumed.
- timestamp
Property StringName - The event property that will be used as the event source's timestamp. If a value isn't specified for timestampPropertyName, or if null or empty-string is specified, the event creation time will be used.
- type
String | "Earliest
Available" | "Event Source Creation Time" | "Custom Enqueued Time" - The type of the ingressStartAt, It can be "EarliestAvailable", "EventSourceCreationTime", "CustomEnqueuedTime".
Outputs
All input properties are implicitly available as output properties. Additionally, the EventHubEventSource resource produces the following output properties:
- Creation
Time string - The time the resource was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Resource name
- Provisioning
State string - Provisioning state of the resource.
- Creation
Time string - The time the resource was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Resource name
- Provisioning
State string - Provisioning state of the resource.
- creation
Time String - The time the resource was created.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Resource name
- provisioning
State String - Provisioning state of the resource.
- creation
Time string - The time the resource was created.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- Resource name
- provisioning
State string - Provisioning state of the resource.
- creation_
time str - The time the resource was created.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- Resource name
- provisioning_
state str - Provisioning state of the resource.
- creation
Time String - The time the resource was created.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Resource name
- provisioning
State String - Provisioning state of the resource.
Supporting Types
IngressStartAtType, IngressStartAtTypeArgs
- Earliest
Available - EarliestAvailable
- Event
Source Creation Time - EventSourceCreationTime
- Custom
Enqueued Time - CustomEnqueuedTime
- Ingress
Start At Type Earliest Available - EarliestAvailable
- Ingress
Start At Type Event Source Creation Time - EventSourceCreationTime
- Ingress
Start At Type Custom Enqueued Time - CustomEnqueuedTime
- Earliest
Available - EarliestAvailable
- Event
Source Creation Time - EventSourceCreationTime
- Custom
Enqueued Time - CustomEnqueuedTime
- Earliest
Available - EarliestAvailable
- Event
Source Creation Time - EventSourceCreationTime
- Custom
Enqueued Time - CustomEnqueuedTime
- EARLIEST_AVAILABLE
- EarliestAvailable
- EVENT_SOURCE_CREATION_TIME
- EventSourceCreationTime
- CUSTOM_ENQUEUED_TIME
- CustomEnqueuedTime
- "Earliest
Available" - EarliestAvailable
- "Event
Source Creation Time" - EventSourceCreationTime
- "Custom
Enqueued Time" - CustomEnqueuedTime
LocalTimestamp, LocalTimestampArgs
- Format
string | Pulumi.
Azure Native. Time Series Insights. Local Timestamp Format - An enum that represents the format of the local timestamp property that needs to be set.
- Time
Zone Pulumi.Offset Azure Native. Time Series Insights. Inputs. Local Timestamp Time Zone Offset - An object that represents the offset information for the local timestamp format specified. Should not be specified for LocalTimestampFormat - Embedded.
- Format
string | Local
Timestamp Format - An enum that represents the format of the local timestamp property that needs to be set.
- Time
Zone LocalOffset Timestamp Time Zone Offset - An object that represents the offset information for the local timestamp format specified. Should not be specified for LocalTimestampFormat - Embedded.
- format
String | Local
Timestamp Format - An enum that represents the format of the local timestamp property that needs to be set.
- time
Zone LocalOffset Timestamp Time Zone Offset - An object that represents the offset information for the local timestamp format specified. Should not be specified for LocalTimestampFormat - Embedded.
- format
string | Local
Timestamp Format - An enum that represents the format of the local timestamp property that needs to be set.
- time
Zone LocalOffset Timestamp Time Zone Offset - An object that represents the offset information for the local timestamp format specified. Should not be specified for LocalTimestampFormat - Embedded.
- format
str | Local
Timestamp Format - An enum that represents the format of the local timestamp property that needs to be set.
- time_
zone_ Localoffset Timestamp Time Zone Offset - An object that represents the offset information for the local timestamp format specified. Should not be specified for LocalTimestampFormat - Embedded.
- format String | "Embedded"
- An enum that represents the format of the local timestamp property that needs to be set.
- time
Zone Property MapOffset - An object that represents the offset information for the local timestamp format specified. Should not be specified for LocalTimestampFormat - Embedded.
LocalTimestampFormat, LocalTimestampFormatArgs
- Embedded
- Embedded
- Local
Timestamp Format Embedded - Embedded
- Embedded
- Embedded
- Embedded
- Embedded
- EMBEDDED
- Embedded
- "Embedded"
- Embedded
LocalTimestampResponse, LocalTimestampResponseArgs
- Format string
- An enum that represents the format of the local timestamp property that needs to be set.
- Time
Zone Pulumi.Offset Azure Native. Time Series Insights. Inputs. Local Timestamp Response Time Zone Offset - An object that represents the offset information for the local timestamp format specified. Should not be specified for LocalTimestampFormat - Embedded.
- Format string
- An enum that represents the format of the local timestamp property that needs to be set.
- Time
Zone LocalOffset Timestamp Response Time Zone Offset - An object that represents the offset information for the local timestamp format specified. Should not be specified for LocalTimestampFormat - Embedded.
- format String
- An enum that represents the format of the local timestamp property that needs to be set.
- time
Zone LocalOffset Timestamp Response Time Zone Offset - An object that represents the offset information for the local timestamp format specified. Should not be specified for LocalTimestampFormat - Embedded.
- format string
- An enum that represents the format of the local timestamp property that needs to be set.
- time
Zone LocalOffset Timestamp Response Time Zone Offset - An object that represents the offset information for the local timestamp format specified. Should not be specified for LocalTimestampFormat - Embedded.
- format str
- An enum that represents the format of the local timestamp property that needs to be set.
- time_
zone_ Localoffset Timestamp Response Time Zone Offset - An object that represents the offset information for the local timestamp format specified. Should not be specified for LocalTimestampFormat - Embedded.
- format String
- An enum that represents the format of the local timestamp property that needs to be set.
- time
Zone Property MapOffset - An object that represents the offset information for the local timestamp format specified. Should not be specified for LocalTimestampFormat - Embedded.
LocalTimestampResponseTimeZoneOffset, LocalTimestampResponseTimeZoneOffsetArgs
- Property
Name string - The event property that will be contain the offset information to calculate the local timestamp. When the LocalTimestampFormat is Iana, the property name will contain the name of the column which contains IANA Timezone Name (eg: Americas/Los Angeles). When LocalTimestampFormat is Timespan, it contains the name of property which contains values representing the offset (eg: P1D or 1.00:00:00)
- Property
Name string - The event property that will be contain the offset information to calculate the local timestamp. When the LocalTimestampFormat is Iana, the property name will contain the name of the column which contains IANA Timezone Name (eg: Americas/Los Angeles). When LocalTimestampFormat is Timespan, it contains the name of property which contains values representing the offset (eg: P1D or 1.00:00:00)
- property
Name String - The event property that will be contain the offset information to calculate the local timestamp. When the LocalTimestampFormat is Iana, the property name will contain the name of the column which contains IANA Timezone Name (eg: Americas/Los Angeles). When LocalTimestampFormat is Timespan, it contains the name of property which contains values representing the offset (eg: P1D or 1.00:00:00)
- property
Name string - The event property that will be contain the offset information to calculate the local timestamp. When the LocalTimestampFormat is Iana, the property name will contain the name of the column which contains IANA Timezone Name (eg: Americas/Los Angeles). When LocalTimestampFormat is Timespan, it contains the name of property which contains values representing the offset (eg: P1D or 1.00:00:00)
- property_
name str - The event property that will be contain the offset information to calculate the local timestamp. When the LocalTimestampFormat is Iana, the property name will contain the name of the column which contains IANA Timezone Name (eg: Americas/Los Angeles). When LocalTimestampFormat is Timespan, it contains the name of property which contains values representing the offset (eg: P1D or 1.00:00:00)
- property
Name String - The event property that will be contain the offset information to calculate the local timestamp. When the LocalTimestampFormat is Iana, the property name will contain the name of the column which contains IANA Timezone Name (eg: Americas/Los Angeles). When LocalTimestampFormat is Timespan, it contains the name of property which contains values representing the offset (eg: P1D or 1.00:00:00)
LocalTimestampTimeZoneOffset, LocalTimestampTimeZoneOffsetArgs
- Property
Name string - The event property that will be contain the offset information to calculate the local timestamp. When the LocalTimestampFormat is Iana, the property name will contain the name of the column which contains IANA Timezone Name (eg: Americas/Los Angeles). When LocalTimestampFormat is Timespan, it contains the name of property which contains values representing the offset (eg: P1D or 1.00:00:00)
- Property
Name string - The event property that will be contain the offset information to calculate the local timestamp. When the LocalTimestampFormat is Iana, the property name will contain the name of the column which contains IANA Timezone Name (eg: Americas/Los Angeles). When LocalTimestampFormat is Timespan, it contains the name of property which contains values representing the offset (eg: P1D or 1.00:00:00)
- property
Name String - The event property that will be contain the offset information to calculate the local timestamp. When the LocalTimestampFormat is Iana, the property name will contain the name of the column which contains IANA Timezone Name (eg: Americas/Los Angeles). When LocalTimestampFormat is Timespan, it contains the name of property which contains values representing the offset (eg: P1D or 1.00:00:00)
- property
Name string - The event property that will be contain the offset information to calculate the local timestamp. When the LocalTimestampFormat is Iana, the property name will contain the name of the column which contains IANA Timezone Name (eg: Americas/Los Angeles). When LocalTimestampFormat is Timespan, it contains the name of property which contains values representing the offset (eg: P1D or 1.00:00:00)
- property_
name str - The event property that will be contain the offset information to calculate the local timestamp. When the LocalTimestampFormat is Iana, the property name will contain the name of the column which contains IANA Timezone Name (eg: Americas/Los Angeles). When LocalTimestampFormat is Timespan, it contains the name of property which contains values representing the offset (eg: P1D or 1.00:00:00)
- property
Name String - The event property that will be contain the offset information to calculate the local timestamp. When the LocalTimestampFormat is Iana, the property name will contain the name of the column which contains IANA Timezone Name (eg: Americas/Los Angeles). When LocalTimestampFormat is Timespan, it contains the name of property which contains values representing the offset (eg: P1D or 1.00:00:00)
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:timeseriesinsights:EventHubEventSource es1 /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.TimeSeriesInsights/Environments/env1/eventSources/es1
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0