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

86 lines (85 loc) 2.51 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Namespace managed by ARM. * * Uses Azure REST API version 2025-02-02-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; /** * The name of the managed cluster resource. */ resourceName: string; } /** * Namespace managed by ARM. */ export interface GetNamespaceResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * Unique read-only string used to implement optimistic concurrency. The eTag value will change when the resource is updated. Specify an if-match or if-none-match header with the eTag value for a subsequent request to enable optimistic concurrency per the normal etag convention. */ readonly eTag: string; /** * Resource ID. */ readonly id: string; /** * The location of the namespace. */ readonly location?: string; /** * The name of the resource that is unique within a resource group. This name can be used to access the resource. */ readonly name: string; /** * Properties of a namespace. */ readonly properties: outputs.containerservice.NamespacePropertiesResponse; /** * The system metadata relating to this resource. */ readonly systemData: outputs.containerservice.SystemDataResponse; /** * The tags to be persisted on the managed cluster namespace. */ readonly tags?: { [key: string]: string; }; /** * Resource type */ readonly type: string; } /** * Namespace managed by ARM. * * Uses Azure REST API version 2025-02-02-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>; /** * The name of the managed cluster resource. */ resourceName: pulumi.Input<string>; }