import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to access information about an existing Notification Hub Namespace. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.notificationhub.getNamespace({ * name: "my-namespace", * resourceGroupName: "my-resource-group", * }); * export const servicebusEndpoint = example.then(example => example.servicebusEndpoint); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.NotificationHubs` - 2023-09-01 */ export declare function getNamespace(args: GetNamespaceArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getNamespace. */ export interface GetNamespaceArgs { /** * Specifies the Name of the Notification Hub Namespace. */ name: string; /** * Specifies the Name of the Resource Group within which the Notification Hub exists. */ resourceGroupName: string; } /** * A collection of values returned by getNamespace. */ export interface GetNamespaceResult { /** * Is this Notification Hub Namespace enabled? */ readonly enabled: boolean; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The Azure Region in which this Notification Hub Namespace exists. */ readonly location: string; /** * The name of the SKU to use for this Notification Hub Namespace. Possible values are `Free`, `Basic` or `Standard.` */ readonly name: string; /** * The Type of Namespace, such as `Messaging` or `NotificationHub`. */ readonly namespaceType: string; readonly resourceGroupName: string; readonly servicebusEndpoint: string; /** * A `sku` block as defined below. */ readonly sku: outputs.notificationhub.GetNamespaceSku; /** * A mapping of tags to assign to the resource. */ readonly tags: { [key: string]: string; }; } /** * Use this data source to access information about an existing Notification Hub Namespace. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.notificationhub.getNamespace({ * name: "my-namespace", * resourceGroupName: "my-resource-group", * }); * export const servicebusEndpoint = example.then(example => example.servicebusEndpoint); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.NotificationHubs` - 2023-09-01 */ export declare function getNamespaceOutput(args: GetNamespaceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getNamespace. */ export interface GetNamespaceOutputArgs { /** * Specifies the Name of the Notification Hub Namespace. */ name: pulumi.Input; /** * Specifies the Name of the Resource Group within which the Notification Hub exists. */ resourceGroupName: pulumi.Input; }