DevTestLabResourceCost 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.
The properties of a resource cost item.
public class DevTestLabResourceCost : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.DevTestLabs.Models.DevTestLabResourceCost>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.DevTestLabs.Models.DevTestLabResourceCost>
public class DevTestLabResourceCost
type DevTestLabResourceCost = class
interface IJsonModel<DevTestLabResourceCost>
interface IPersistableModel<DevTestLabResourceCost>
type DevTestLabResourceCost = class
Public Class DevTestLabResourceCost
Implements IJsonModel(Of DevTestLabResourceCost), IPersistableModel(Of DevTestLabResourceCost)
Public Class DevTestLabResourceCost
- Inheritance
-
DevTestLabResourceCost
- Implements
Properties
ExternalResourceId |
The ID of the external resource. |
ResourceCost |
The cost component of the resource cost item. |
ResourceId |
The ID of the resource. |
ResourceName |
The name of the resource. |
ResourceOwner |
The owner of the resource (ex. janedoe@microsoft.com). |
ResourcePricingTier |
The category of the resource (ex. Premium_LRS, Standard_DS1). |
ResourceStatus |
The status of the resource (ex. Active). |
ResourceType |
The logical resource type (ex. virtualmachine, storageaccount). |
ResourceUniqueId |
The unique identifier of the resource. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
Explicit Interface Implementations
IJsonModel<DevTestLabResourceCost>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<DevTestLabResourceCost>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<DevTestLabResourceCost>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<DevTestLabResourceCost>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<DevTestLabResourceCost>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |