ArmCostManagementModelFactory.CostManagementAlertData Method

Definition

Initializes a new instance of CostManagementAlertData.

public static Azure.ResourceManager.CostManagement.CostManagementAlertData CostManagementAlertData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.CostManagement.Models.AlertPropertiesDefinition definition = default, string description = default, Azure.ResourceManager.CostManagement.Models.CostManagementAlertSource? source = default, Azure.ResourceManager.CostManagement.Models.AlertPropertiesDetails details = default, string costEntityId = default, Azure.ResourceManager.CostManagement.Models.CostManagementAlertStatus? status = default, DateTimeOffset? createdOn = default, DateTimeOffset? closeOn = default, DateTimeOffset? modifiedOn = default, string statusModificationUserName = default, DateTimeOffset? statusModifiedOn = default, Azure.ETag? eTag = default);
static member CostManagementAlertData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Azure.ResourceManager.CostManagement.Models.AlertPropertiesDefinition * string * Nullable<Azure.ResourceManager.CostManagement.Models.CostManagementAlertSource> * Azure.ResourceManager.CostManagement.Models.AlertPropertiesDetails * string * Nullable<Azure.ResourceManager.CostManagement.Models.CostManagementAlertStatus> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string * Nullable<DateTimeOffset> * Nullable<Azure.ETag> -> Azure.ResourceManager.CostManagement.CostManagementAlertData
Public Shared Function CostManagementAlertData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional definition As AlertPropertiesDefinition = Nothing, Optional description As String = Nothing, Optional source As Nullable(Of CostManagementAlertSource) = Nothing, Optional details As AlertPropertiesDetails = Nothing, Optional costEntityId As String = Nothing, Optional status As Nullable(Of CostManagementAlertStatus) = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional closeOn As Nullable(Of DateTimeOffset) = Nothing, Optional modifiedOn As Nullable(Of DateTimeOffset) = Nothing, Optional statusModificationUserName As String = Nothing, Optional statusModifiedOn As Nullable(Of DateTimeOffset) = Nothing, Optional eTag As Nullable(Of ETag) = Nothing) As CostManagementAlertData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

definition
AlertPropertiesDefinition

defines the type of alert.

description
String

Alert description.

source
Nullable<CostManagementAlertSource>

Source of alert.

details
AlertPropertiesDetails

Alert details.

costEntityId
String

related budget.

status
Nullable<CostManagementAlertStatus>

alert status.

createdOn
Nullable<DateTimeOffset>

dateTime in which alert was created.

closeOn
Nullable<DateTimeOffset>

dateTime in which alert was closed.

modifiedOn
Nullable<DateTimeOffset>

dateTime in which alert was last modified.

statusModificationUserName
String

User who last modified the alert.

statusModifiedOn
Nullable<DateTimeOffset>

dateTime in which the alert status was last modified.

eTag
Nullable<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.

Returns

A new CostManagementAlertData instance for mocking.

Applies to