ArmCostManagementModelFactory.OperationStatus Method

Definition

Initializes a new instance of OperationStatus.

public static Azure.ResourceManager.CostManagement.Models.OperationStatus OperationStatus (Azure.ResourceManager.CostManagement.Models.OperationStatusType? status = default, Azure.ResourceManager.CostManagement.Models.ReservationReportSchema? reportUri = default, DateTimeOffset? validUntil = default);
static member OperationStatus : Nullable<Azure.ResourceManager.CostManagement.Models.OperationStatusType> * Nullable<Azure.ResourceManager.CostManagement.Models.ReservationReportSchema> * Nullable<DateTimeOffset> -> Azure.ResourceManager.CostManagement.Models.OperationStatus
Public Shared Function OperationStatus (Optional status As Nullable(Of OperationStatusType) = Nothing, Optional reportUri As Nullable(Of ReservationReportSchema) = Nothing, Optional validUntil As Nullable(Of DateTimeOffset) = Nothing) As OperationStatus

Parameters

status
Nullable<OperationStatusType>

The status of the long running operation.

reportUri
Nullable<ReservationReportSchema>

The CSV file from the reportUrl blob link consists of reservation usage data with the following schema at daily granularity.

validUntil
Nullable<DateTimeOffset>

The time at which report URL becomes invalid.

Returns

A new OperationStatus instance for mocking.

Applies to