@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 2.57 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Get the setting from the given scope by name.
*
* Uses Azure REST API version 2024-08-01.
*/
export declare function getTagInheritanceSetting(args: GetTagInheritanceSettingArgs, opts?: pulumi.InvokeOptions): Promise<GetTagInheritanceSettingResult>;
export interface GetTagInheritanceSettingArgs {
/**
* The scope associated with this setting. This includes 'subscriptions/{subscriptionId}' for subscription scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for billing profile scope.
*/
scope: string;
/**
* Setting type.
*/
type: string;
}
/**
* Tag Inheritance Setting definition.
*/
export interface GetTagInheritanceSettingResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
*/
readonly id: string;
/**
* Specifies the kind of settings.
* Expected value is 'taginheritance'.
*/
readonly kind: "taginheritance";
/**
* The name of the resource
*/
readonly name: string;
/**
* The properties of the tag inheritance setting.
*/
readonly properties: outputs.costmanagement.TagInheritancePropertiesResponse;
/**
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*/
readonly type: string;
}
/**
* Get the setting from the given scope by name.
*
* Uses Azure REST API version 2024-08-01.
*/
export declare function getTagInheritanceSettingOutput(args: GetTagInheritanceSettingOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetTagInheritanceSettingResult>;
export interface GetTagInheritanceSettingOutputArgs {
/**
* The scope associated with this setting. This includes 'subscriptions/{subscriptionId}' for subscription scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for billing profile scope.
*/
scope: pulumi.Input<string>;
/**
* Setting type.
*/
type: pulumi.Input<string>;
}