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.26 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; /** * Name of the Resource group within the Azure subscription. */ 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; /** * Resource ID. */ readonly id: string; /** * Resource location. */ readonly location: string; /** * Identifier for Azure Insights metrics. */ readonly metricId: string; /** * Resource name. */ 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; /** * The system meta data relating to this resource. */ readonly systemData: outputs.relay.SystemDataResponse; /** * Resource tags. */ readonly tags?: { [key: string]: string; }; /** * Resource type. */ 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>; /** * Name of the Resource group within the Azure subscription. */ resourceGroupName: pulumi.Input<string>; }