@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 2.98 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* This operation retrieves a single variable value; given its name, management group it was created at and the variable it's created for.
*
* 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 getVariableValueAtManagementGroup(args: GetVariableValueAtManagementGroupArgs, opts?: pulumi.InvokeOptions): Promise<GetVariableValueAtManagementGroupResult>;
export interface GetVariableValueAtManagementGroupArgs {
/**
* The ID of the management group.
*/
managementGroupId: string;
/**
* The name of the variable to operate on.
*/
variableName: string;
/**
* The name of the variable value to operate on.
*/
variableValueName: string;
}
/**
* The variable value.
*/
export interface GetVariableValueAtManagementGroupResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* 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/values).
*/
readonly type: string;
/**
* Variable value column value array.
*/
readonly values: outputs.authorization.PolicyVariableValueColumnValueResponse[];
}
/**
* This operation retrieves a single variable value; given its name, management group it was created at and the variable it's created for.
*
* 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 getVariableValueAtManagementGroupOutput(args: GetVariableValueAtManagementGroupOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetVariableValueAtManagementGroupResult>;
export interface GetVariableValueAtManagementGroupOutputArgs {
/**
* The ID of the management group.
*/
managementGroupId: pulumi.Input<string>;
/**
* The name of the variable to operate on.
*/
variableName: pulumi.Input<string>;
/**
* The name of the variable value to operate on.
*/
variableValueName: pulumi.Input<string>;
}