get Service Bus Namespace
Deprecated
azure.eventhub.getServiceBusNamespace has been deprecated in favor of azure.servicebus.getNamespace
Use this data source to access information about an existing ServiceBus Namespace.
Example Usage
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.servicebus.ServicebusFunctions;
import com.pulumi.azure.servicebus.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 = ServicebusFunctions.getNamespace(GetNamespaceArgs.builder()
.name("examplenamespace")
.resourceGroupName("example-resources")
.build());
ctx.export("location", example.applyValue(getNamespaceResult -> getNamespaceResult.location()));
}
}
Return
A collection of values returned by getServiceBusNamespace.
Parameters
A collection of arguments for invoking getServiceBusNamespace.
Deprecated
azure.eventhub.getServiceBusNamespace has been deprecated in favor of azure.servicebus.getNamespace
Return
A collection of values returned by getServiceBusNamespace.
See also
Parameters
Specifies the name of the ServiceBus Namespace.
Specifies the name of the Resource Group where the ServiceBus Namespace exists.
Deprecated
azure.eventhub.getServiceBusNamespace has been deprecated in favor of azure.servicebus.getNamespace
Return
A collection of values returned by getServiceBusNamespace.
See also
Parameters
Builder for com.pulumi.azure.eventhub.kotlin.inputs.GetServiceBusNamespacePlainArgs.