UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

110 lines (109 loc) 3.6 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Returns the description for the specified namespace. * * Uses Azure REST API version 2024-01-01. * * Other available API versions: 2021-11-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native relay [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getNamespace(args: GetNamespaceArgs, opts?: pulumi.InvokeOptions): Promise<GetNamespaceResult>; export interface GetNamespaceArgs { /** * The namespace name */ namespaceName: string; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: string; } /** * Description of a namespace resource. */ export interface GetNamespaceResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * The time the namespace was created. */ readonly createdAt: string; /** * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} */ readonly id: string; /** * The geo-location where the resource lives */ readonly location: string; /** * Identifier for Azure Insights metrics. */ readonly metricId: string; /** * The name of the resource */ readonly name: string; /** * List of private endpoint connections. */ readonly privateEndpointConnections?: outputs.relay.PrivateEndpointConnectionResponse[]; /** * Provisioning state of the Namespace. */ readonly provisioningState: string; /** * This determines if traffic is allowed over public network. By default it is enabled. */ readonly publicNetworkAccess?: string; /** * Endpoint you can use to perform Service Bus operations. */ readonly serviceBusEndpoint: string; /** * SKU of the namespace. */ readonly sku?: outputs.relay.SkuResponse; /** * Status of the Namespace. */ readonly status: string; /** * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ readonly systemData: outputs.relay.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; /** * The time the namespace was updated. */ readonly updatedAt: string; } /** * Returns the description for the specified namespace. * * Uses Azure REST API version 2024-01-01. * * Other available API versions: 2021-11-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native relay [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getNamespaceOutput(args: GetNamespaceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetNamespaceResult>; export interface GetNamespaceOutputArgs { /** * The namespace name */ namespaceName: pulumi.Input<string>; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input<string>; }