BenefitDetails Class

Definition

The benefit resource model definition.

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

Constructors

Name Description
BenefitDetails()

Initializes a new instance of BenefitDetails.

Properties

Name Description
Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

(Inherited from ResourceData)
Kind

Reservation or SavingsPlan.

Name

The name of the resource.

(Inherited from ResourceData)
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<BenefitDetails>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<BenefitDetails>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<BenefitDetails>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<BenefitDetails>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<BenefitDetails>.Write(ModelReaderWriterOptions)

Applies to