ConsumptionResourceProperties 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.
Details of the resource.
public class ConsumptionResourceProperties : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Consumption.Models.ConsumptionResourceProperties>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Consumption.Models.ConsumptionResourceProperties>
type ConsumptionResourceProperties = class
interface IJsonModel<ConsumptionResourceProperties>
interface IPersistableModel<ConsumptionResourceProperties>
Public Class ConsumptionResourceProperties
Implements IJsonModel(Of ConsumptionResourceProperties), IPersistableModel(Of ConsumptionResourceProperties)
- Inheritance
-
ConsumptionResourceProperties
- Implements
Properties
AppliedScopes |
List of subscriptions for which the reservation is applied. |
OnDemandRate |
On demand rate of the resource. |
Product |
Azure product ex: Standard_E8s_v3 etc. |
Region |
Azure resource region ex:EastUS, WestUS etc. |
ReservationRate |
Reservation rate of the resource. |
ResourceType |
The azure resource type. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
Explicit Interface Implementations
IJsonModel<ConsumptionResourceProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<ConsumptionResourceProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<ConsumptionResourceProperties>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<ConsumptionResourceProperties>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<ConsumptionResourceProperties>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |
Applies to
Azure SDK for .NET