getEventhubNamespace

Deprecated

azure.eventhub.getEventhubNamespace has been deprecated in favor of azure.eventhub.getNamespace

Use this data source to access information about an existing EventHub Namespace.

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.GetNamespaceArgs;
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 example = EventhubFunctions.getNamespace(GetNamespaceArgs.builder()
.name("search-eventhubns")
.resourceGroupName("search-service")
.build());
ctx.export("eventhubNamespaceId", example.applyValue(getNamespaceResult -> getNamespaceResult.id()));
}
}

Return

A collection of values returned by getEventhubNamespace.

Parameters

argument

A collection of arguments for invoking getEventhubNamespace.


suspend fun getEventhubNamespace(name: String, resourceGroupName: String): GetEventhubNamespaceResult

Deprecated

azure.eventhub.getEventhubNamespace has been deprecated in favor of azure.eventhub.getNamespace

Return

A collection of values returned by getEventhubNamespace.

See also

Parameters

name

The name of the EventHub Namespace.

resourceGroupName

The Name of the Resource Group where the EventHub Namespace exists.


Deprecated

azure.eventhub.getEventhubNamespace has been deprecated in favor of azure.eventhub.getNamespace

Return

A collection of values returned by getEventhubNamespace.

See also

Parameters

argument

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