1. Packages
  2. Azure Native
  3. API Docs
  4. timeseriesinsights
  5. getIoTHubEventSource
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi

azure-native.timeseriesinsights.getIoTHubEventSource

Explore with Pulumi AI

This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi

Gets the event source with the specified name in the specified environment.

Uses Azure REST API version 2020-05-15.

Using getIoTHubEventSource

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getIoTHubEventSource(args: GetIoTHubEventSourceArgs, opts?: InvokeOptions): Promise<GetIoTHubEventSourceResult>
function getIoTHubEventSourceOutput(args: GetIoTHubEventSourceOutputArgs, opts?: InvokeOptions): Output<GetIoTHubEventSourceResult>
Copy
def get_io_t_hub_event_source(environment_name: Optional[str] = None,
                              event_source_name: Optional[str] = None,
                              resource_group_name: Optional[str] = None,
                              opts: Optional[InvokeOptions] = None) -> GetIoTHubEventSourceResult
def get_io_t_hub_event_source_output(environment_name: Optional[pulumi.Input[str]] = None,
                              event_source_name: Optional[pulumi.Input[str]] = None,
                              resource_group_name: Optional[pulumi.Input[str]] = None,
                              opts: Optional[InvokeOptions] = None) -> Output[GetIoTHubEventSourceResult]
Copy
func LookupIoTHubEventSource(ctx *Context, args *LookupIoTHubEventSourceArgs, opts ...InvokeOption) (*LookupIoTHubEventSourceResult, error)
func LookupIoTHubEventSourceOutput(ctx *Context, args *LookupIoTHubEventSourceOutputArgs, opts ...InvokeOption) LookupIoTHubEventSourceResultOutput
Copy

> Note: This function is named LookupIoTHubEventSource in the Go SDK.

public static class GetIoTHubEventSource 
{
    public static Task<GetIoTHubEventSourceResult> InvokeAsync(GetIoTHubEventSourceArgs args, InvokeOptions? opts = null)
    public static Output<GetIoTHubEventSourceResult> Invoke(GetIoTHubEventSourceInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetIoTHubEventSourceResult> getIoTHubEventSource(GetIoTHubEventSourceArgs args, InvokeOptions options)
public static Output<GetIoTHubEventSourceResult> getIoTHubEventSource(GetIoTHubEventSourceArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:timeseriesinsights:getIoTHubEventSource
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

EnvironmentName
This property is required.
Changes to this property will trigger replacement.
string
The name of the Time Series Insights environment associated with the specified resource group.
EventSourceName
This property is required.
Changes to this property will trigger replacement.
string
The name of the Time Series Insights event source associated with the specified environment.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Name of an Azure Resource group.
EnvironmentName
This property is required.
Changes to this property will trigger replacement.
string
The name of the Time Series Insights environment associated with the specified resource group.
EventSourceName
This property is required.
Changes to this property will trigger replacement.
string
The name of the Time Series Insights event source associated with the specified environment.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Name of an Azure Resource group.
environmentName
This property is required.
Changes to this property will trigger replacement.
String
The name of the Time Series Insights environment associated with the specified resource group.
eventSourceName
This property is required.
Changes to this property will trigger replacement.
String
The name of the Time Series Insights event source associated with the specified environment.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
Name of an Azure Resource group.
environmentName
This property is required.
Changes to this property will trigger replacement.
string
The name of the Time Series Insights environment associated with the specified resource group.
eventSourceName
This property is required.
Changes to this property will trigger replacement.
string
The name of the Time Series Insights event source associated with the specified environment.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Name of an Azure Resource group.
environment_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the Time Series Insights environment associated with the specified resource group.
event_source_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the Time Series Insights event source associated with the specified environment.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
Name of an Azure Resource group.
environmentName
This property is required.
Changes to this property will trigger replacement.
String
The name of the Time Series Insights environment associated with the specified resource group.
eventSourceName
This property is required.
Changes to this property will trigger replacement.
String
The name of the Time Series Insights event source associated with the specified environment.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
Name of an Azure Resource group.

getIoTHubEventSource Result

The following output properties are available:

AzureApiVersion string
The Azure API version of the resource.
ConsumerGroupName string
The name of the iot hub's consumer group that holds the partitions from which events will be read.
CreationTime string
The time the resource was created.
EventSourceResourceId string
The resource id of the event source in Azure Resource Manager.
Id string
Resource Id
IotHubName string
The name of the iot hub.
KeyName string
The name of the Shared Access Policy key that grants the Time Series Insights service access to the iot hub. This shared access policy key must grant 'service connect' permissions to the iot hub.
Location string
Resource location
Name string
Resource name
ProvisioningState string
Provisioning state of the resource.
Type string
Resource type
LocalTimestamp Pulumi.AzureNative.TimeSeriesInsights.Outputs.LocalTimestampResponse
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.
Tags Dictionary<string, string>
Resource tags
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.
TimestampPropertyName string
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.
AzureApiVersion string
The Azure API version of the resource.
ConsumerGroupName string
The name of the iot hub's consumer group that holds the partitions from which events will be read.
CreationTime string
The time the resource was created.
EventSourceResourceId string
The resource id of the event source in Azure Resource Manager.
Id string
Resource Id
IotHubName string
The name of the iot hub.
KeyName string
The name of the Shared Access Policy key that grants the Time Series Insights service access to the iot hub. This shared access policy key must grant 'service connect' permissions to the iot hub.
Location string
Resource location
Name string
Resource name
ProvisioningState string
Provisioning state of the resource.
Type string
Resource type
LocalTimestamp LocalTimestampResponse
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.
Tags map[string]string
Resource tags
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.
TimestampPropertyName string
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.
azureApiVersion String
The Azure API version of the resource.
consumerGroupName String
The name of the iot hub's consumer group that holds the partitions from which events will be read.
creationTime String
The time the resource was created.
eventSourceResourceId String
The resource id of the event source in Azure Resource Manager.
id String
Resource Id
iotHubName String
The name of the iot hub.
keyName String
The name of the Shared Access Policy key that grants the Time Series Insights service access to the iot hub. This shared access policy key must grant 'service connect' permissions to the iot hub.
location String
Resource location
name String
Resource name
provisioningState String
Provisioning state of the resource.
type String
Resource type
localTimestamp LocalTimestampResponse
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.
tags Map<String,String>
Resource tags
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.
timestampPropertyName String
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.
azureApiVersion string
The Azure API version of the resource.
consumerGroupName string
The name of the iot hub's consumer group that holds the partitions from which events will be read.
creationTime string
The time the resource was created.
eventSourceResourceId string
The resource id of the event source in Azure Resource Manager.
id string
Resource Id
iotHubName string
The name of the iot hub.
keyName string
The name of the Shared Access Policy key that grants the Time Series Insights service access to the iot hub. This shared access policy key must grant 'service connect' permissions to the iot hub.
location string
Resource location
name string
Resource name
provisioningState string
Provisioning state of the resource.
type string
Resource type
localTimestamp LocalTimestampResponse
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.
tags {[key: string]: string}
Resource tags
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.
timestampPropertyName string
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.
azure_api_version str
The Azure API version of the resource.
consumer_group_name str
The name of the iot hub's consumer group that holds the partitions from which events will be read.
creation_time str
The time the resource was created.
event_source_resource_id str
The resource id of the event source in Azure Resource Manager.
id str
Resource Id
iot_hub_name str
The name of the iot hub.
key_name str
The name of the Shared Access Policy key that grants the Time Series Insights service access to the iot hub. This shared access policy key must grant 'service connect' permissions to the iot hub.
location str
Resource location
name str
Resource name
provisioning_state str
Provisioning state of the resource.
type str
Resource type
local_timestamp LocalTimestampResponse
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.
tags Mapping[str, str]
Resource tags
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_name str
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.
azureApiVersion String
The Azure API version of the resource.
consumerGroupName String
The name of the iot hub's consumer group that holds the partitions from which events will be read.
creationTime String
The time the resource was created.
eventSourceResourceId String
The resource id of the event source in Azure Resource Manager.
id String
Resource Id
iotHubName String
The name of the iot hub.
keyName String
The name of the Shared Access Policy key that grants the Time Series Insights service access to the iot hub. This shared access policy key must grant 'service connect' permissions to the iot hub.
location String
Resource location
name String
Resource name
provisioningState String
Provisioning state of the resource.
type String
Resource type
localTimestamp 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.
tags Map<String>
Resource tags
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.
timestampPropertyName String
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.

Supporting Types

LocalTimestampResponse

Format string
An enum that represents the format of the local timestamp property that needs to be set.
TimeZoneOffset Pulumi.AzureNative.TimeSeriesInsights.Inputs.LocalTimestampResponseTimeZoneOffset
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.
TimeZoneOffset LocalTimestampResponseTimeZoneOffset
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.
timeZoneOffset LocalTimestampResponseTimeZoneOffset
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.
timeZoneOffset LocalTimestampResponseTimeZoneOffset
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_offset LocalTimestampResponseTimeZoneOffset
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.
timeZoneOffset Property Map
An object that represents the offset information for the local timestamp format specified. Should not be specified for LocalTimestampFormat - Embedded.

LocalTimestampResponseTimeZoneOffset

PropertyName 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)
PropertyName 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)
propertyName 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)
propertyName 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)
propertyName 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)

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi