@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 2.14 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Wrapper resource for tags API requests and responses.
*
* Uses Azure REST API version 2024-03-01.
*
* Other available API versions: 2020-10-01, 2021-01-01, 2021-04-01, 2022-09-01, 2023-07-01, 2024-07-01, 2024-11-01, 2025-03-01, 2025-04-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native resources [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getTagAtScope(args: GetTagAtScopeArgs, opts?: pulumi.InvokeOptions): Promise<GetTagAtScopeResult>;
export interface GetTagAtScopeArgs {
/**
* The resource scope.
*/
scope: string;
}
/**
* Wrapper resource for tags API requests and responses.
*/
export interface GetTagAtScopeResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* The ID of the tags wrapper resource.
*/
readonly id: string;
/**
* The name of the tags wrapper resource.
*/
readonly name: string;
/**
* The set of tags.
*/
readonly properties: outputs.resources.TagsResponse;
/**
* The type of the tags wrapper resource.
*/
readonly type: string;
}
/**
* Wrapper resource for tags API requests and responses.
*
* Uses Azure REST API version 2024-03-01.
*
* Other available API versions: 2020-10-01, 2021-01-01, 2021-04-01, 2022-09-01, 2023-07-01, 2024-07-01, 2024-11-01, 2025-03-01, 2025-04-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native resources [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getTagAtScopeOutput(args: GetTagAtScopeOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetTagAtScopeResult>;
export interface GetTagAtScopeOutputArgs {
/**
* The resource scope.
*/
scope: pulumi.Input<string>;
}