Share via


ArmCostManagementModelFactory.ExportRun Method

Definition

Initializes a new instance of ExportRun.

public static Azure.ResourceManager.CostManagement.Models.ExportRun ExportRun(Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.CostManagement.Models.ExportRunExecutionType? executionType = default, Azure.ResourceManager.CostManagement.Models.ExportRunExecutionStatus? status = default, string submittedBy = default, DateTimeOffset? submittedOn = default, DateTimeOffset? processingStartOn = default, DateTimeOffset? processingEndOn = default, string fileName = default, Azure.ResourceManager.CostManagement.Models.CommonExportProperties runSettings = default, Azure.ResourceManager.CostManagement.Models.ExportRunErrorDetails error = default, Azure.ETag? eTag = default);
static member ExportRun : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.ResourceManager.CostManagement.Models.ExportRunExecutionType> * Nullable<Azure.ResourceManager.CostManagement.Models.ExportRunExecutionStatus> * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string * Azure.ResourceManager.CostManagement.Models.CommonExportProperties * Azure.ResourceManager.CostManagement.Models.ExportRunErrorDetails * Nullable<Azure.ETag> -> Azure.ResourceManager.CostManagement.Models.ExportRun
Public Shared Function ExportRun (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional executionType As Nullable(Of ExportRunExecutionType) = Nothing, Optional status As Nullable(Of ExportRunExecutionStatus) = Nothing, Optional submittedBy As String = Nothing, Optional submittedOn As Nullable(Of DateTimeOffset) = Nothing, Optional processingStartOn As Nullable(Of DateTimeOffset) = Nothing, Optional processingEndOn As Nullable(Of DateTimeOffset) = Nothing, Optional fileName As String = Nothing, Optional runSettings As CommonExportProperties = Nothing, Optional error As ExportRunErrorDetails = Nothing, Optional eTag As Nullable(Of ETag) = Nothing) As ExportRun

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

executionType
Nullable<ExportRunExecutionType>

The type of the export run.

status
Nullable<ExportRunExecutionStatus>

The last known status of the export run.

submittedBy
String

The identifier for the entity that triggered the export. For on-demand runs it is the user email. For scheduled runs it is 'System'.

submittedOn
Nullable<DateTimeOffset>

The time when export was queued to be run.

processingStartOn
Nullable<DateTimeOffset>

The time when export was picked up to be run.

processingEndOn
Nullable<DateTimeOffset>

The time when the export run finished.

fileName
String

The name of the exported file.

runSettings
CommonExportProperties

The export settings that were in effect for this run.

error
ExportRunErrorDetails

The details of any error.

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 ExportRun instance for mocking.

Applies to