getConsumeGroup

Use this data source to access information about an existing Event Hubs Consumer Group within an Event Hub.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.eventhub.EventhubFunctions;
import com.pulumi.azure.eventhub.inputs.GetConsumeGroupArgs;
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) {
final var test = EventhubFunctions.getConsumeGroup(GetConsumeGroupArgs.builder()
.name(azurerm_eventhub_consumer_group.test().name())
.namespaceName(azurerm_eventhub_namespace.test().name())
.eventhubName(azurerm_eventhub.test().name())
.resourceGroupName(azurerm_resource_group.test().name())
.build());
}
}

Return

A collection of values returned by getConsumeGroup.

Parameters

argument

A collection of arguments for invoking getConsumeGroup.


suspend fun getConsumeGroup(eventhubName: String, name: String, namespaceName: String, resourceGroupName: String): GetConsumeGroupResult

Return

A collection of values returned by getConsumeGroup.

See also

Parameters

eventhubName

Specifies the name of the EventHub.

name

Specifies the name of the EventHub Consumer Group resource.

namespaceName

Specifies the name of the grandparent EventHub Namespace.

resourceGroupName

The name of the resource group in which the EventHub Consumer Group's grandparent Namespace exists.


Return

A collection of values returned by getConsumeGroup.

See also

Parameters

argument

Builder for com.pulumi.azure.eventhub.kotlin.inputs.GetConsumeGroupPlainArgs.