SourceCostAllocationEntity Class

Definition

Source resources for cost allocation.

public class SourceCostAllocationEntity : Azure.ResourceManager.CostManagement.Models.CostAllocationEntity, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.CostManagement.Models.SourceCostAllocationEntity>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.CostManagement.Models.SourceCostAllocationEntity>
type SourceCostAllocationEntity = class
    inherit CostAllocationEntity
    interface IJsonModel<SourceCostAllocationEntity>
    interface IPersistableModel<SourceCostAllocationEntity>
Public Class SourceCostAllocationEntity
Inherits CostAllocationEntity
Implements IJsonModel(Of SourceCostAllocationEntity), IPersistableModel(Of SourceCostAllocationEntity)
Inheritance
SourceCostAllocationEntity
Implements

Constructors

Name Description
SourceCostAllocationEntity(CostAllocationResourceType, String, IEnumerable<String>)

Initializes a new instance of SourceCostAllocationEntity.

Properties

Name Description
Name

If resource type is dimension, this must be either ResourceGroupName or SubscriptionId. If resource type is tag, this must be a valid Azure tag.

(Inherited from CostAllocationEntity)
ResourceType

Type of resources contained in this cost allocation rule.

(Inherited from CostAllocationEntity)
Values

Source Resources for cost allocation. This list cannot contain more than 25 values.

Methods

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

Explicit Interface Implementations

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

Applies to