CostManagementAlertData 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.
A class representing the CostManagementAlert data model. An individual alert.
public class CostManagementAlertData : Azure.ResourceManager.Models.ResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.CostManagement.CostManagementAlertData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.CostManagement.CostManagementAlertData>
type CostManagementAlertData = class
inherit ResourceData
interface IJsonModel<CostManagementAlertData>
interface IPersistableModel<CostManagementAlertData>
Public Class CostManagementAlertData
Inherits ResourceData
Implements IJsonModel(Of CostManagementAlertData), IPersistableModel(Of CostManagementAlertData)
- Inheritance
- Implements
Constructors
CostManagementAlertData() |
Initializes a new instance of CostManagementAlertData. |
Properties
CloseOn |
dateTime in which alert was closed. |
CostEntityId |
related budget. |
CreatedOn |
dateTime in which alert was created. |
Definition |
defines the type of alert. |
Description |
Alert description. |
Details |
Alert details. |
ETag |
eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not. |
Id |
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. (Inherited from ResourceData) |
ModifiedOn |
dateTime in which alert was last modified. |
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) |
Source |
Source of alert. |
Status |
alert status. |
StatusModificationUserName |
User who last modified the alert. |
StatusModifiedOn |
dateTime in which the alert status was last modified. |
SystemData |
Azure Resource Manager metadata containing createdBy and modifiedBy information. (Inherited from ResourceData) |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
Explicit Interface Implementations
IJsonModel<CostManagementAlertData>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<CostManagementAlertData>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<CostManagementAlertData>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<CostManagementAlertData>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<CostManagementAlertData>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |
Applies to
Azure SDK for .NET