@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 2.51 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Get a Namespace
*
* Uses Azure REST API version 2025-07-01-preview.
*/
export declare function getNamespace(args: GetNamespaceArgs, opts?: pulumi.InvokeOptions): Promise<GetNamespaceResult>;
export interface GetNamespaceArgs {
/**
* The name of the namespace.
*/
namespaceName: string;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: string;
}
/**
* Namespace definition.
*/
export interface GetNamespaceResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
*/
readonly id: string;
/**
* The managed service identities assigned to this resource.
*/
readonly identity?: outputs.deviceregistry.SystemAssignedServiceIdentityResponse;
/**
* The geo-location where the resource lives
*/
readonly location: string;
/**
* Assigned and unassigned messaging endpoints.
*/
readonly messaging?: outputs.deviceregistry.MessagingResponse;
/**
* The name of the resource
*/
readonly name: string;
/**
* Provisioning state of the resource.
*/
readonly provisioningState: string;
/**
* Azure Resource Manager metadata containing createdBy and modifiedBy information.
*/
readonly systemData: outputs.deviceregistry.SystemDataResponse;
/**
* Resource tags.
*/
readonly tags?: {
[key: string]: string;
};
/**
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*/
readonly type: string;
/**
* Globally unique, immutable, non-reusable ID.
*/
readonly uuid: string;
}
/**
* Get a Namespace
*
* Uses Azure REST API version 2025-07-01-preview.
*/
export declare function getNamespaceOutput(args: GetNamespaceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetNamespaceResult>;
export interface GetNamespaceOutputArgs {
/**
* The name of the namespace.
*/
namespaceName: pulumi.Input<string>;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: pulumi.Input<string>;
}