This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi
azure-native.timeseriesinsights.getEventHubEventSource
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi
Gets the event source with the specified name in the specified environment. Azure REST API version: 2020-05-15.
Using getEventHubEventSource
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 getEventHubEventSource(args: GetEventHubEventSourceArgs, opts?: InvokeOptions): Promise<GetEventHubEventSourceResult>
function getEventHubEventSourceOutput(args: GetEventHubEventSourceOutputArgs, opts?: InvokeOptions): Output<GetEventHubEventSourceResult>
def get_event_hub_event_source(environment_name: Optional[str] = None,
event_source_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetEventHubEventSourceResult
def get_event_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[GetEventHubEventSourceResult]
func LookupEventHubEventSource(ctx *Context, args *LookupEventHubEventSourceArgs, opts ...InvokeOption) (*LookupEventHubEventSourceResult, error)
func LookupEventHubEventSourceOutput(ctx *Context, args *LookupEventHubEventSourceOutputArgs, opts ...InvokeOption) LookupEventHubEventSourceResultOutput
> Note: This function is named LookupEventHubEventSource
in the Go SDK.
public static class GetEventHubEventSource
{
public static Task<GetEventHubEventSourceResult> InvokeAsync(GetEventHubEventSourceArgs args, InvokeOptions? opts = null)
public static Output<GetEventHubEventSourceResult> Invoke(GetEventHubEventSourceInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetEventHubEventSourceResult> getEventHubEventSource(GetEventHubEventSourceArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:timeseriesinsights:getEventHubEventSource
arguments:
# arguments dictionary
The following arguments are supported:
- Environment
Name string - The name of the Time Series Insights environment associated with the specified resource group.
- Event
Source stringName - The name of the Time Series Insights event source associated with the specified environment.
- Resource
Group stringName - Name of an Azure Resource group.
- Environment
Name string - The name of the Time Series Insights environment associated with the specified resource group.
- Event
Source stringName - The name of the Time Series Insights event source associated with the specified environment.
- Resource
Group stringName - Name of an Azure Resource group.
- environment
Name String - The name of the Time Series Insights environment associated with the specified resource group.
- event
Source StringName - The name of the Time Series Insights event source associated with the specified environment.
- resource
Group StringName - Name of an Azure Resource group.
- environment
Name string - The name of the Time Series Insights environment associated with the specified resource group.
- event
Source stringName - The name of the Time Series Insights event source associated with the specified environment.
- resource
Group stringName - Name of an Azure Resource group.
- environment_
name str - The name of the Time Series Insights environment associated with the specified resource group.
- event_
source_ strname - The name of the Time Series Insights event source associated with the specified environment.
- resource_
group_ strname - Name of an Azure Resource group.
- environment
Name String - The name of the Time Series Insights environment associated with the specified resource group.
- event
Source StringName - The name of the Time Series Insights event source associated with the specified environment.
- resource
Group StringName - Name of an Azure Resource group.
getEventHubEventSource Result
The following output properties are available:
- Consumer
Group stringName - The name of the event hub's consumer group that holds the partitions from which events will be read.
- Creation
Time string - The time the resource was created.
- Event
Hub stringName - The name of the event hub.
- Event
Source stringResource Id - The resource id of the event source in Azure Resource Manager.
- Id string
- Resource Id
- 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.
- Location string
- Resource location
- Name string
- Resource name
- Provisioning
State string - Provisioning state of the resource.
- Service
Bus stringNamespace - The name of the service bus that contains the event hub.
- Type string
- Resource type
- Local
Timestamp Pulumi.Azure Native. Time Series Insights. Outputs. Local Timestamp Response - 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.
- 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.
- 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.
- Consumer
Group stringName - The name of the event hub's consumer group that holds the partitions from which events will be read.
- Creation
Time string - The time the resource was created.
- Event
Hub stringName - The name of the event hub.
- Event
Source stringResource Id - The resource id of the event source in Azure Resource Manager.
- Id string
- Resource Id
- 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.
- Location string
- Resource location
- Name string
- Resource name
- Provisioning
State string - Provisioning state of the resource.
- Service
Bus stringNamespace - The name of the service bus that contains the event hub.
- Type string
- Resource type
- Local
Timestamp LocalTimestamp Response - 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.
- 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.
- 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.
- consumer
Group StringName - The name of the event hub's consumer group that holds the partitions from which events will be read.
- creation
Time String - The time the resource was created.
- event
Hub StringName - The name of the event hub.
- event
Source StringResource Id - The resource id of the event source in Azure Resource Manager.
- id String
- Resource Id
- 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.
- location String
- Resource location
- name String
- Resource name
- provisioning
State String - Provisioning state of the resource.
- service
Bus StringNamespace - The name of the service bus that contains the event hub.
- type String
- Resource type
- local
Timestamp LocalTimestamp Response - 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.
- 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.
- 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.
- consumer
Group stringName - The name of the event hub's consumer group that holds the partitions from which events will be read.
- creation
Time string - The time the resource was created.
- event
Hub stringName - The name of the event hub.
- event
Source stringResource Id - The resource id of the event source in Azure Resource Manager.
- id string
- Resource Id
- 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.
- location string
- Resource location
- name string
- Resource name
- provisioning
State string - Provisioning state of the resource.
- service
Bus stringNamespace - The name of the service bus that contains the event hub.
- type string
- Resource type
- local
Timestamp LocalTimestamp Response - 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.
- {[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.
- 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.
- consumer_
group_ strname - The name of the event hub's consumer group that holds the partitions from which events will be read.
- creation_
time str - The time the resource was created.
- event_
hub_ strname - The name of the event hub.
- event_
source_ strresource_ id - The resource id of the event source in Azure Resource Manager.
- id str
- Resource Id
- 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.
- location str
- Resource location
- name str
- Resource name
- provisioning_
state str - Provisioning state of the resource.
- service_
bus_ strnamespace - The name of the service bus that contains the event hub.
- type str
- Resource type
- local_
timestamp LocalTimestamp Response - 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.
- 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_ 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.
- consumer
Group StringName - The name of the event hub's consumer group that holds the partitions from which events will be read.
- creation
Time String - The time the resource was created.
- event
Hub StringName - The name of the event hub.
- event
Source StringResource Id - The resource id of the event source in Azure Resource Manager.
- id String
- Resource Id
- 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.
- location String
- Resource location
- name String
- Resource name
- provisioning
State String - Provisioning state of the resource.
- service
Bus StringNamespace - The name of the service bus that contains the event hub.
- type String
- Resource type
- 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.
- 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.
- 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.
Supporting Types
LocalTimestampResponse
- 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
- 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)
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 v1 docs if using the v1 version of this package.
Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi