TagInheritanceSetting Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Tag Inheritance Setting definition.
public class TagInheritanceSetting : Azure.ResourceManager.CostManagement.CostManagementSettingData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.CostManagement.Models.TagInheritanceSetting>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.CostManagement.Models.TagInheritanceSetting>
type TagInheritanceSetting = class
inherit CostManagementSettingData
interface IJsonModel<TagInheritanceSetting>
interface IPersistableModel<TagInheritanceSetting>
Public Class TagInheritanceSetting
Inherits CostManagementSettingData
Implements IJsonModel(Of TagInheritanceSetting), IPersistableModel(Of TagInheritanceSetting)
- Inheritance
- Implements
Constructors
| Name | Description |
|---|---|
| TagInheritanceSetting() |
Initializes a new instance of TagInheritanceSetting. |
Properties
| Name | Description |
|---|---|
| Id |
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. (Inherited from ResourceData) |
| Name |
The name of the resource. (Inherited from ResourceData) |
| PreferContainerTags |
This property defines the behavior when an inherited tag being applied matches a lower scope tag (Eg. Subscription tag matches the resource tag). If set to true - when tags match, the highest scope tags will be applied. Billing profile is the highest scope, followed by invoice sections, subscriptions and resource groups (allows overriding of lower scope tag values). If set to false - when tags match, the lowest scope tags will be applied. So, if a resource has the same tag as a subscription tag, the resource tag will be applied (does not allow overriding of lower scope tag values). |
| ResourceType |
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". (Inherited from ResourceData) |
| SystemData |
Azure Resource Manager metadata containing createdBy and modifiedBy information. (Inherited from ResourceData) |