azure-native.iothub.getIotHubResourceEventHubConsumerGroup
Explore with Pulumi AI
Get a consumer group from the Event Hub-compatible device-to-cloud endpoint for an IoT hub.
Uses Azure REST API version 2023-06-30.
Other available API versions: 2016-02-03, 2017-01-19, 2017-07-01, 2018-01-22, 2018-04-01, 2018-12-01-preview, 2019-03-22, 2019-03-22-preview, 2019-07-01-preview, 2019-11-04, 2020-03-01, 2020-04-01, 2020-06-15, 2020-07-10-preview, 2020-08-01, 2020-08-31, 2020-08-31-preview, 2021-02-01-preview, 2021-03-03-preview, 2021-03-31, 2021-07-01, 2021-07-01-preview, 2021-07-02, 2021-07-02-preview, 2022-04-30-preview, 2022-11-15-preview, 2023-06-30-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native iothub [ApiVersion]
. See the version guide for details.
Using getIotHubResourceEventHubConsumerGroup
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 getIotHubResourceEventHubConsumerGroup(args: GetIotHubResourceEventHubConsumerGroupArgs, opts?: InvokeOptions): Promise<GetIotHubResourceEventHubConsumerGroupResult>
function getIotHubResourceEventHubConsumerGroupOutput(args: GetIotHubResourceEventHubConsumerGroupOutputArgs, opts?: InvokeOptions): Output<GetIotHubResourceEventHubConsumerGroupResult>
def get_iot_hub_resource_event_hub_consumer_group(event_hub_endpoint_name: Optional[str] = None,
name: Optional[str] = None,
resource_group_name: Optional[str] = None,
resource_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetIotHubResourceEventHubConsumerGroupResult
def get_iot_hub_resource_event_hub_consumer_group_output(event_hub_endpoint_name: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
resource_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetIotHubResourceEventHubConsumerGroupResult]
func LookupIotHubResourceEventHubConsumerGroup(ctx *Context, args *LookupIotHubResourceEventHubConsumerGroupArgs, opts ...InvokeOption) (*LookupIotHubResourceEventHubConsumerGroupResult, error)
func LookupIotHubResourceEventHubConsumerGroupOutput(ctx *Context, args *LookupIotHubResourceEventHubConsumerGroupOutputArgs, opts ...InvokeOption) LookupIotHubResourceEventHubConsumerGroupResultOutput
> Note: This function is named LookupIotHubResourceEventHubConsumerGroup
in the Go SDK.
public static class GetIotHubResourceEventHubConsumerGroup
{
public static Task<GetIotHubResourceEventHubConsumerGroupResult> InvokeAsync(GetIotHubResourceEventHubConsumerGroupArgs args, InvokeOptions? opts = null)
public static Output<GetIotHubResourceEventHubConsumerGroupResult> Invoke(GetIotHubResourceEventHubConsumerGroupInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetIotHubResourceEventHubConsumerGroupResult> getIotHubResourceEventHubConsumerGroup(GetIotHubResourceEventHubConsumerGroupArgs args, InvokeOptions options)
public static Output<GetIotHubResourceEventHubConsumerGroupResult> getIotHubResourceEventHubConsumerGroup(GetIotHubResourceEventHubConsumerGroupArgs args, InvokeOptions options)
fn::invoke:
function: azure-native:iothub:getIotHubResourceEventHubConsumerGroup
arguments:
# arguments dictionary
The following arguments are supported:
- Event
Hub stringEndpoint Name - The name of the Event Hub-compatible endpoint in the IoT hub.
- Name string
- The name of the consumer group to retrieve.
- Resource
Group stringName - The name of the resource group that contains the IoT hub.
- Resource
Name string - The name of the IoT hub.
- Event
Hub stringEndpoint Name - The name of the Event Hub-compatible endpoint in the IoT hub.
- Name string
- The name of the consumer group to retrieve.
- Resource
Group stringName - The name of the resource group that contains the IoT hub.
- Resource
Name string - The name of the IoT hub.
- event
Hub StringEndpoint Name - The name of the Event Hub-compatible endpoint in the IoT hub.
- name String
- The name of the consumer group to retrieve.
- resource
Group StringName - The name of the resource group that contains the IoT hub.
- resource
Name String - The name of the IoT hub.
- event
Hub stringEndpoint Name - The name of the Event Hub-compatible endpoint in the IoT hub.
- name string
- The name of the consumer group to retrieve.
- resource
Group stringName - The name of the resource group that contains the IoT hub.
- resource
Name string - The name of the IoT hub.
- event_
hub_ strendpoint_ name - The name of the Event Hub-compatible endpoint in the IoT hub.
- name str
- The name of the consumer group to retrieve.
- resource_
group_ strname - The name of the resource group that contains the IoT hub.
- resource_
name str - The name of the IoT hub.
- event
Hub StringEndpoint Name - The name of the Event Hub-compatible endpoint in the IoT hub.
- name String
- The name of the consumer group to retrieve.
- resource
Group StringName - The name of the resource group that contains the IoT hub.
- resource
Name String - The name of the IoT hub.
getIotHubResourceEventHubConsumerGroup Result
The following output properties are available:
- Azure
Api stringVersion - The Azure API version of the resource.
- Etag string
- The etag.
- Id string
- The Event Hub-compatible consumer group identifier.
- Name string
- The Event Hub-compatible consumer group name.
- Properties object
- The tags.
- Type string
- the resource type.
- Azure
Api stringVersion - The Azure API version of the resource.
- Etag string
- The etag.
- Id string
- The Event Hub-compatible consumer group identifier.
- Name string
- The Event Hub-compatible consumer group name.
- Properties interface{}
- The tags.
- Type string
- the resource type.
- azure
Api StringVersion - The Azure API version of the resource.
- etag String
- The etag.
- id String
- The Event Hub-compatible consumer group identifier.
- name String
- The Event Hub-compatible consumer group name.
- properties Object
- The tags.
- type String
- the resource type.
- azure
Api stringVersion - The Azure API version of the resource.
- etag string
- The etag.
- id string
- The Event Hub-compatible consumer group identifier.
- name string
- The Event Hub-compatible consumer group name.
- properties any
- The tags.
- type string
- the resource type.
- azure_
api_ strversion - The Azure API version of the resource.
- etag str
- The etag.
- id str
- The Event Hub-compatible consumer group identifier.
- name str
- The Event Hub-compatible consumer group name.
- properties Any
- The tags.
- type str
- the resource type.
- azure
Api StringVersion - The Azure API version of the resource.
- etag String
- The etag.
- id String
- The Event Hub-compatible consumer group identifier.
- name String
- The Event Hub-compatible consumer group name.
- properties Any
- The tags.
- type String
- the resource type.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0