This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi
azure-native.costmanagement.getTagInheritanceSetting
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi
Get the setting from the given scope by name. Azure REST API version: 2022-10-05-preview.
Using getTagInheritanceSetting
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getTagInheritanceSetting(args: GetTagInheritanceSettingArgs, opts?: InvokeOptions): Promise<GetTagInheritanceSettingResult>
function getTagInheritanceSettingOutput(args: GetTagInheritanceSettingOutputArgs, opts?: InvokeOptions): Output<GetTagInheritanceSettingResult>
def get_tag_inheritance_setting(scope: Optional[str] = None,
type: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetTagInheritanceSettingResult
def get_tag_inheritance_setting_output(scope: Optional[pulumi.Input[str]] = None,
type: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetTagInheritanceSettingResult]
func LookupTagInheritanceSetting(ctx *Context, args *LookupTagInheritanceSettingArgs, opts ...InvokeOption) (*LookupTagInheritanceSettingResult, error)
func LookupTagInheritanceSettingOutput(ctx *Context, args *LookupTagInheritanceSettingOutputArgs, opts ...InvokeOption) LookupTagInheritanceSettingResultOutput
> Note: This function is named LookupTagInheritanceSetting
in the Go SDK.
public static class GetTagInheritanceSetting
{
public static Task<GetTagInheritanceSettingResult> InvokeAsync(GetTagInheritanceSettingArgs args, InvokeOptions? opts = null)
public static Output<GetTagInheritanceSettingResult> Invoke(GetTagInheritanceSettingInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetTagInheritanceSettingResult> getTagInheritanceSetting(GetTagInheritanceSettingArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:costmanagement:getTagInheritanceSetting
arguments:
# arguments dictionary
The following arguments are supported:
- Scope string
- 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.
- Type string
- Setting type.
- Scope string
- 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.
- Type string
- Setting type.
- scope String
- 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.
- type String
- Setting type.
- scope string
- 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.
- type string
- Setting type.
- scope str
- 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.
- type str
- Setting type.
- scope String
- 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.
- type String
- Setting type.
getTagInheritanceSetting Result
The following output properties are available:
- Id string
- Resource Id.
- Name string
- Resource name.
- Properties
Pulumi.
Azure Native. Cost Management. Outputs. Tag Inheritance Properties Response - The properties of the tag inheritance setting.
- Type string
- Resource type.
- ETag string
- eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not.
- Id string
- Resource Id.
- Name string
- Resource name.
- Properties
Tag
Inheritance Properties Response - The properties of the tag inheritance setting.
- Type string
- Resource type.
- ETag string
- eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not.
- id String
- Resource Id.
- name String
- Resource name.
- properties
Tag
Inheritance Properties Response - The properties of the tag inheritance setting.
- type String
- Resource type.
- e
Tag String - eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not.
- id string
- Resource Id.
- name string
- Resource name.
- properties
Tag
Inheritance Properties Response - The properties of the tag inheritance setting.
- type string
- Resource type.
- e
Tag string - eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not.
- id str
- Resource Id.
- name str
- Resource name.
- properties
Tag
Inheritance Properties Response - The properties of the tag inheritance setting.
- type str
- Resource type.
- e_
tag str - eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not.
- id String
- Resource Id.
- name String
- Resource name.
- properties Property Map
- The properties of the tag inheritance setting.
- type String
- Resource type.
- e
Tag String - eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not.
Supporting Types
TagInheritancePropertiesResponse
- bool
- When resource has the same tag as subscription or resource group and this property is set to true - the subscription or resource group tag will be applied. If subscription and resource group tags are also the same, subscription tag will be applied.
- bool
- When resource has the same tag as subscription or resource group and this property is set to true - the subscription or resource group tag will be applied. If subscription and resource group tags are also the same, subscription tag will be applied.
- Boolean
- When resource has the same tag as subscription or resource group and this property is set to true - the subscription or resource group tag will be applied. If subscription and resource group tags are also the same, subscription tag will be applied.
- boolean
- When resource has the same tag as subscription or resource group and this property is set to true - the subscription or resource group tag will be applied. If subscription and resource group tags are also the same, subscription tag will be applied.
- bool
- When resource has the same tag as subscription or resource group and this property is set to true - the subscription or resource group tag will be applied. If subscription and resource group tags are also the same, subscription tag will be applied.
- Boolean
- When resource has the same tag as subscription or resource group and this property is set to true - the subscription or resource group tag will be applied. If subscription and resource group tags are also the same, subscription tag will be applied.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi