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.eventhub.getEventHub
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 an Event Hubs description for the specified Event Hub. Azure REST API version: 2022-10-01-preview.
Other available API versions: 2015-08-01, 2023-01-01-preview, 2024-01-01, 2024-05-01-preview.
Using getEventHub
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 getEventHub(args: GetEventHubArgs, opts?: InvokeOptions): Promise<GetEventHubResult>
function getEventHubOutput(args: GetEventHubOutputArgs, opts?: InvokeOptions): Output<GetEventHubResult>
def get_event_hub(event_hub_name: Optional[str] = None,
namespace_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetEventHubResult
def get_event_hub_output(event_hub_name: Optional[pulumi.Input[str]] = None,
namespace_name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetEventHubResult]
func LookupEventHub(ctx *Context, args *LookupEventHubArgs, opts ...InvokeOption) (*LookupEventHubResult, error)
func LookupEventHubOutput(ctx *Context, args *LookupEventHubOutputArgs, opts ...InvokeOption) LookupEventHubResultOutput
> Note: This function is named LookupEventHub
in the Go SDK.
public static class GetEventHub
{
public static Task<GetEventHubResult> InvokeAsync(GetEventHubArgs args, InvokeOptions? opts = null)
public static Output<GetEventHubResult> Invoke(GetEventHubInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetEventHubResult> getEventHub(GetEventHubArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:eventhub:getEventHub
arguments:
# arguments dictionary
The following arguments are supported:
- Event
Hub stringName - The Event Hub name
- Namespace
Name string - The Namespace name
- Resource
Group stringName - Name of the resource group within the azure subscription.
- Event
Hub stringName - The Event Hub name
- Namespace
Name string - The Namespace name
- Resource
Group stringName - Name of the resource group within the azure subscription.
- event
Hub StringName - The Event Hub name
- namespace
Name String - The Namespace name
- resource
Group StringName - Name of the resource group within the azure subscription.
- event
Hub stringName - The Event Hub name
- namespace
Name string - The Namespace name
- resource
Group stringName - Name of the resource group within the azure subscription.
- event_
hub_ strname - The Event Hub name
- namespace_
name str - The Namespace name
- resource_
group_ strname - Name of the resource group within the azure subscription.
- event
Hub StringName - The Event Hub name
- namespace
Name String - The Namespace name
- resource
Group StringName - Name of the resource group within the azure subscription.
getEventHub Result
The following output properties are available:
- Created
At string - Exact time the Event Hub was created.
- Id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- Location string
- The geo-location where the resource lives
- Name string
- The name of the resource
- Partition
Ids List<string> - Current number of shards on the Event Hub.
- System
Data Pulumi.Azure Native. Event Hub. Outputs. System Data Response - The system meta data relating to this resource.
- Type string
- The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"
- Updated
At string - The exact time the message was updated.
- Capture
Description Pulumi.Azure Native. Event Hub. Outputs. Capture Description Response - Properties of capture description
- Message
Retention doubleIn Days - Number of days to retain the events for this Event Hub, value should be 1 to 7 days
- Partition
Count double - Number of partitions created for the Event Hub, allowed values are from 1 to 32 partitions.
- Retention
Description Pulumi.Azure Native. Event Hub. Outputs. Retention Description Response - Event Hub retention settings
- Status string
- Enumerates the possible values for the status of the Event Hub.
- Created
At string - Exact time the Event Hub was created.
- Id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- Location string
- The geo-location where the resource lives
- Name string
- The name of the resource
- Partition
Ids []string - Current number of shards on the Event Hub.
- System
Data SystemData Response - The system meta data relating to this resource.
- Type string
- The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"
- Updated
At string - The exact time the message was updated.
- Capture
Description CaptureDescription Response - Properties of capture description
- Message
Retention float64In Days - Number of days to retain the events for this Event Hub, value should be 1 to 7 days
- Partition
Count float64 - Number of partitions created for the Event Hub, allowed values are from 1 to 32 partitions.
- Retention
Description RetentionDescription Response - Event Hub retention settings
- Status string
- Enumerates the possible values for the status of the Event Hub.
- created
At String - Exact time the Event Hub was created.
- id String
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- location String
- The geo-location where the resource lives
- name String
- The name of the resource
- partition
Ids List<String> - Current number of shards on the Event Hub.
- system
Data SystemData Response - The system meta data relating to this resource.
- type String
- The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"
- updated
At String - The exact time the message was updated.
- capture
Description CaptureDescription Response - Properties of capture description
- message
Retention DoubleIn Days - Number of days to retain the events for this Event Hub, value should be 1 to 7 days
- partition
Count Double - Number of partitions created for the Event Hub, allowed values are from 1 to 32 partitions.
- retention
Description RetentionDescription Response - Event Hub retention settings
- status String
- Enumerates the possible values for the status of the Event Hub.
- created
At string - Exact time the Event Hub was created.
- id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- location string
- The geo-location where the resource lives
- name string
- The name of the resource
- partition
Ids string[] - Current number of shards on the Event Hub.
- system
Data SystemData Response - The system meta data relating to this resource.
- type string
- The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"
- updated
At string - The exact time the message was updated.
- capture
Description CaptureDescription Response - Properties of capture description
- message
Retention numberIn Days - Number of days to retain the events for this Event Hub, value should be 1 to 7 days
- partition
Count number - Number of partitions created for the Event Hub, allowed values are from 1 to 32 partitions.
- retention
Description RetentionDescription Response - Event Hub retention settings
- status string
- Enumerates the possible values for the status of the Event Hub.
- created_
at str - Exact time the Event Hub was created.
- id str
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- location str
- The geo-location where the resource lives
- name str
- The name of the resource
- partition_
ids Sequence[str] - Current number of shards on the Event Hub.
- system_
data SystemData Response - The system meta data relating to this resource.
- type str
- The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"
- updated_
at str - The exact time the message was updated.
- capture_
description CaptureDescription Response - Properties of capture description
- message_
retention_ floatin_ days - Number of days to retain the events for this Event Hub, value should be 1 to 7 days
- partition_
count float - Number of partitions created for the Event Hub, allowed values are from 1 to 32 partitions.
- retention_
description RetentionDescription Response - Event Hub retention settings
- status str
- Enumerates the possible values for the status of the Event Hub.
- created
At String - Exact time the Event Hub was created.
- id String
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- location String
- The geo-location where the resource lives
- name String
- The name of the resource
- partition
Ids List<String> - Current number of shards on the Event Hub.
- system
Data Property Map - The system meta data relating to this resource.
- type String
- The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"
- updated
At String - The exact time the message was updated.
- capture
Description Property Map - Properties of capture description
- message
Retention NumberIn Days - Number of days to retain the events for this Event Hub, value should be 1 to 7 days
- partition
Count Number - Number of partitions created for the Event Hub, allowed values are from 1 to 32 partitions.
- retention
Description Property Map - Event Hub retention settings
- status String
- Enumerates the possible values for the status of the Event Hub.
Supporting Types
CaptureDescriptionResponse
- Destination
Pulumi.
Azure Native. Event Hub. Inputs. Destination Response - Properties of Destination where capture will be stored. (Storage Account, Blob Names)
- Enabled bool
- A value that indicates whether capture description is enabled.
- Encoding string
- Enumerates the possible values for the encoding format of capture description. Note: 'AvroDeflate' will be deprecated in New API Version
- Interval
In intSeconds - The time window allows you to set the frequency with which the capture to Azure Blobs will happen, value should between 60 to 900 seconds
- Size
Limit intIn Bytes - The size window defines the amount of data built up in your Event Hub before an capture operation, value should be between 10485760 to 524288000 bytes
- Skip
Empty boolArchives - A value that indicates whether to Skip Empty Archives
- Destination
Destination
Response - Properties of Destination where capture will be stored. (Storage Account, Blob Names)
- Enabled bool
- A value that indicates whether capture description is enabled.
- Encoding string
- Enumerates the possible values for the encoding format of capture description. Note: 'AvroDeflate' will be deprecated in New API Version
- Interval
In intSeconds - The time window allows you to set the frequency with which the capture to Azure Blobs will happen, value should between 60 to 900 seconds
- Size
Limit intIn Bytes - The size window defines the amount of data built up in your Event Hub before an capture operation, value should be between 10485760 to 524288000 bytes
- Skip
Empty boolArchives - A value that indicates whether to Skip Empty Archives
- destination
Destination
Response - Properties of Destination where capture will be stored. (Storage Account, Blob Names)
- enabled Boolean
- A value that indicates whether capture description is enabled.
- encoding String
- Enumerates the possible values for the encoding format of capture description. Note: 'AvroDeflate' will be deprecated in New API Version
- interval
In IntegerSeconds - The time window allows you to set the frequency with which the capture to Azure Blobs will happen, value should between 60 to 900 seconds
- size
Limit IntegerIn Bytes - The size window defines the amount of data built up in your Event Hub before an capture operation, value should be between 10485760 to 524288000 bytes
- skip
Empty BooleanArchives - A value that indicates whether to Skip Empty Archives
- destination
Destination
Response - Properties of Destination where capture will be stored. (Storage Account, Blob Names)
- enabled boolean
- A value that indicates whether capture description is enabled.
- encoding string
- Enumerates the possible values for the encoding format of capture description. Note: 'AvroDeflate' will be deprecated in New API Version
- interval
In numberSeconds - The time window allows you to set the frequency with which the capture to Azure Blobs will happen, value should between 60 to 900 seconds
- size
Limit numberIn Bytes - The size window defines the amount of data built up in your Event Hub before an capture operation, value should be between 10485760 to 524288000 bytes
- skip
Empty booleanArchives - A value that indicates whether to Skip Empty Archives
- destination
Destination
Response - Properties of Destination where capture will be stored. (Storage Account, Blob Names)
- enabled bool
- A value that indicates whether capture description is enabled.
- encoding str
- Enumerates the possible values for the encoding format of capture description. Note: 'AvroDeflate' will be deprecated in New API Version
- interval_
in_ intseconds - The time window allows you to set the frequency with which the capture to Azure Blobs will happen, value should between 60 to 900 seconds
- size_
limit_ intin_ bytes - The size window defines the amount of data built up in your Event Hub before an capture operation, value should be between 10485760 to 524288000 bytes
- skip_
empty_ boolarchives - A value that indicates whether to Skip Empty Archives
- destination Property Map
- Properties of Destination where capture will be stored. (Storage Account, Blob Names)
- enabled Boolean
- A value that indicates whether capture description is enabled.
- encoding String
- Enumerates the possible values for the encoding format of capture description. Note: 'AvroDeflate' will be deprecated in New API Version
- interval
In NumberSeconds - The time window allows you to set the frequency with which the capture to Azure Blobs will happen, value should between 60 to 900 seconds
- size
Limit NumberIn Bytes - The size window defines the amount of data built up in your Event Hub before an capture operation, value should be between 10485760 to 524288000 bytes
- skip
Empty BooleanArchives - A value that indicates whether to Skip Empty Archives
DestinationResponse
- Archive
Name stringFormat - Blob naming convention for archive, e.g. {Namespace}/{EventHub}/{PartitionId}/{Year}/{Month}/{Day}/{Hour}/{Minute}/{Second}. Here all the parameters (Namespace,EventHub .. etc) are mandatory irrespective of order
- Blob
Container string - Blob container Name
- Data
Lake stringAccount Name - The Azure Data Lake Store name for the captured events
- Data
Lake stringFolder Path - The destination folder path for the captured events
- Data
Lake stringSubscription Id - Subscription Id of Azure Data Lake Store
- Name string
- Name for capture destination
- Storage
Account stringResource Id - Resource id of the storage account to be used to create the blobs
- Archive
Name stringFormat - Blob naming convention for archive, e.g. {Namespace}/{EventHub}/{PartitionId}/{Year}/{Month}/{Day}/{Hour}/{Minute}/{Second}. Here all the parameters (Namespace,EventHub .. etc) are mandatory irrespective of order
- Blob
Container string - Blob container Name
- Data
Lake stringAccount Name - The Azure Data Lake Store name for the captured events
- Data
Lake stringFolder Path - The destination folder path for the captured events
- Data
Lake stringSubscription Id - Subscription Id of Azure Data Lake Store
- Name string
- Name for capture destination
- Storage
Account stringResource Id - Resource id of the storage account to be used to create the blobs
- archive
Name StringFormat - Blob naming convention for archive, e.g. {Namespace}/{EventHub}/{PartitionId}/{Year}/{Month}/{Day}/{Hour}/{Minute}/{Second}. Here all the parameters (Namespace,EventHub .. etc) are mandatory irrespective of order
- blob
Container String - Blob container Name
- data
Lake StringAccount Name - The Azure Data Lake Store name for the captured events
- data
Lake StringFolder Path - The destination folder path for the captured events
- data
Lake StringSubscription Id - Subscription Id of Azure Data Lake Store
- name String
- Name for capture destination
- storage
Account StringResource Id - Resource id of the storage account to be used to create the blobs
- archive
Name stringFormat - Blob naming convention for archive, e.g. {Namespace}/{EventHub}/{PartitionId}/{Year}/{Month}/{Day}/{Hour}/{Minute}/{Second}. Here all the parameters (Namespace,EventHub .. etc) are mandatory irrespective of order
- blob
Container string - Blob container Name
- data
Lake stringAccount Name - The Azure Data Lake Store name for the captured events
- data
Lake stringFolder Path - The destination folder path for the captured events
- data
Lake stringSubscription Id - Subscription Id of Azure Data Lake Store
- name string
- Name for capture destination
- storage
Account stringResource Id - Resource id of the storage account to be used to create the blobs
- archive_
name_ strformat - Blob naming convention for archive, e.g. {Namespace}/{EventHub}/{PartitionId}/{Year}/{Month}/{Day}/{Hour}/{Minute}/{Second}. Here all the parameters (Namespace,EventHub .. etc) are mandatory irrespective of order
- blob_
container str - Blob container Name
- data_
lake_ straccount_ name - The Azure Data Lake Store name for the captured events
- data_
lake_ strfolder_ path - The destination folder path for the captured events
- data_
lake_ strsubscription_ id - Subscription Id of Azure Data Lake Store
- name str
- Name for capture destination
- storage_
account_ strresource_ id - Resource id of the storage account to be used to create the blobs
- archive
Name StringFormat - Blob naming convention for archive, e.g. {Namespace}/{EventHub}/{PartitionId}/{Year}/{Month}/{Day}/{Hour}/{Minute}/{Second}. Here all the parameters (Namespace,EventHub .. etc) are mandatory irrespective of order
- blob
Container String - Blob container Name
- data
Lake StringAccount Name - The Azure Data Lake Store name for the captured events
- data
Lake StringFolder Path - The destination folder path for the captured events
- data
Lake StringSubscription Id - Subscription Id of Azure Data Lake Store
- name String
- Name for capture destination
- storage
Account StringResource Id - Resource id of the storage account to be used to create the blobs
RetentionDescriptionResponse
- Cleanup
Policy string - Enumerates the possible values for cleanup policy
- Retention
Time doubleIn Hours - Number of hours to retain the events for this Event Hub. This value is only used when cleanupPolicy is Delete. If cleanupPolicy is Compact the returned value of this property is Long.MaxValue
- Tombstone
Retention intTime In Hours - Number of hours to retain the tombstone markers of a compacted Event Hub. This value is only used when cleanupPolicy is Compact. Consumer must complete reading the tombstone marker within this specified amount of time if consumer begins from starting offset to ensure they get a valid snapshot for the specific key described by the tombstone marker within the compacted Event Hub
- Cleanup
Policy string - Enumerates the possible values for cleanup policy
- Retention
Time float64In Hours - Number of hours to retain the events for this Event Hub. This value is only used when cleanupPolicy is Delete. If cleanupPolicy is Compact the returned value of this property is Long.MaxValue
- Tombstone
Retention intTime In Hours - Number of hours to retain the tombstone markers of a compacted Event Hub. This value is only used when cleanupPolicy is Compact. Consumer must complete reading the tombstone marker within this specified amount of time if consumer begins from starting offset to ensure they get a valid snapshot for the specific key described by the tombstone marker within the compacted Event Hub
- cleanup
Policy String - Enumerates the possible values for cleanup policy
- retention
Time DoubleIn Hours - Number of hours to retain the events for this Event Hub. This value is only used when cleanupPolicy is Delete. If cleanupPolicy is Compact the returned value of this property is Long.MaxValue
- tombstone
Retention IntegerTime In Hours - Number of hours to retain the tombstone markers of a compacted Event Hub. This value is only used when cleanupPolicy is Compact. Consumer must complete reading the tombstone marker within this specified amount of time if consumer begins from starting offset to ensure they get a valid snapshot for the specific key described by the tombstone marker within the compacted Event Hub
- cleanup
Policy string - Enumerates the possible values for cleanup policy
- retention
Time numberIn Hours - Number of hours to retain the events for this Event Hub. This value is only used when cleanupPolicy is Delete. If cleanupPolicy is Compact the returned value of this property is Long.MaxValue
- tombstone
Retention numberTime In Hours - Number of hours to retain the tombstone markers of a compacted Event Hub. This value is only used when cleanupPolicy is Compact. Consumer must complete reading the tombstone marker within this specified amount of time if consumer begins from starting offset to ensure they get a valid snapshot for the specific key described by the tombstone marker within the compacted Event Hub
- cleanup_
policy str - Enumerates the possible values for cleanup policy
- retention_
time_ floatin_ hours - Number of hours to retain the events for this Event Hub. This value is only used when cleanupPolicy is Delete. If cleanupPolicy is Compact the returned value of this property is Long.MaxValue
- tombstone_
retention_ inttime_ in_ hours - Number of hours to retain the tombstone markers of a compacted Event Hub. This value is only used when cleanupPolicy is Compact. Consumer must complete reading the tombstone marker within this specified amount of time if consumer begins from starting offset to ensure they get a valid snapshot for the specific key described by the tombstone marker within the compacted Event Hub
- cleanup
Policy String - Enumerates the possible values for cleanup policy
- retention
Time NumberIn Hours - Number of hours to retain the events for this Event Hub. This value is only used when cleanupPolicy is Delete. If cleanupPolicy is Compact the returned value of this property is Long.MaxValue
- tombstone
Retention NumberTime In Hours - Number of hours to retain the tombstone markers of a compacted Event Hub. This value is only used when cleanupPolicy is Compact. Consumer must complete reading the tombstone marker within this specified amount of time if consumer begins from starting offset to ensure they get a valid snapshot for the specific key described by the tombstone marker within the compacted Event Hub
SystemDataResponse
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The type of identity that last modified the resource.
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The type of identity that last modified the resource.
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The type of identity that last modified the resource.
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The type of identity that last modified the resource.
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - The type of identity that last modified the resource.
- created_
at str - The timestamp of resource creation (UTC).
- created_
by str - The identity that created the resource.
- created_
by_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The type of identity that last modified the resource.
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The type of identity that last modified the resource.
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
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