TagInheritanceSetting Class

Definition

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)

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<CostManagementSettingData>.Create(Utf8JsonReader, ModelReaderWriterOptions) (Inherited from CostManagementSettingData)
IJsonModel<CostManagementSettingData>.Write(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from CostManagementSettingData)
IJsonModel<TagInheritanceSetting>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<TagInheritanceSetting>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<CostManagementSettingData>.Create(BinaryData, ModelReaderWriterOptions) (Inherited from CostManagementSettingData)
IPersistableModel<CostManagementSettingData>.GetFormatFromOptions(ModelReaderWriterOptions) (Inherited from CostManagementSettingData)
IPersistableModel<CostManagementSettingData>.Write(ModelReaderWriterOptions) (Inherited from CostManagementSettingData)
IPersistableModel<TagInheritanceSetting>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<TagInheritanceSetting>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<TagInheritanceSetting>.Write(ModelReaderWriterOptions)

Applies to