@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";
/**
* 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>;
}