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

68 lines (67 loc) 2.62 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This operation retrieves a single variable, given its name and the management group it was created at. * * Uses Azure REST API version 2022-08-01-preview. * * Other available API versions: 2024-12-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native authorization [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getVariableAtManagementGroup(args: GetVariableAtManagementGroupArgs, opts?: pulumi.InvokeOptions): Promise<GetVariableAtManagementGroupResult>; export interface GetVariableAtManagementGroupArgs { /** * The ID of the management group. */ managementGroupId: string; /** * The name of the variable to operate on. */ variableName: string; } /** * The variable. */ export interface GetVariableAtManagementGroupResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * Variable column definitions. */ readonly columns: outputs.authorization.PolicyVariableColumnResponse[]; /** * The ID of the variable. */ readonly id: string; /** * The name of the variable. */ readonly name: string; /** * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ readonly systemData: outputs.authorization.SystemDataResponse; /** * The type of the resource (Microsoft.Authorization/variables). */ readonly type: string; } /** * This operation retrieves a single variable, given its name and the management group it was created at. * * Uses Azure REST API version 2022-08-01-preview. * * Other available API versions: 2024-12-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native authorization [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getVariableAtManagementGroupOutput(args: GetVariableAtManagementGroupOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetVariableAtManagementGroupResult>; export interface GetVariableAtManagementGroupOutputArgs { /** * The ID of the management group. */ managementGroupId: pulumi.Input<string>; /** * The name of the variable to operate on. */ variableName: pulumi.Input<string>; }