Share via


CostDetailsOperationResults Class

Definition

The result of the long running operation for cost details Api.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Models.Api20220501.CostDetailsOperationResultsTypeConverter))]
public class CostDetailsOperationResults : Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Models.Api20220501.ICostDetailsOperationResults, Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Models.Api20220501.ICostDetailsOperationResultsInternal
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Models.Api20220501.CostDetailsOperationResultsTypeConverter))>]
type CostDetailsOperationResults = class
    interface ICostDetailsOperationResults
    interface IJsonSerializable
    interface ICostDetailsOperationResultsInternal
Public Class CostDetailsOperationResults
Implements ICostDetailsOperationResults, ICostDetailsOperationResultsInternal
Inheritance
CostDetailsOperationResults
Attributes
Implements

Constructors

CostDetailsOperationResults()

Creates an new CostDetailsOperationResults instance.

Properties

Code

Error code.

Id

The id of the long running operation.

ManifestBlob

List of blob information generated by this operation.

ManifestBlobCount

The total number of blobs.

ManifestByteCount

The total number of bytes in all blobs.

ManifestCompressData

Is the data in compressed format.

ManifestDataFormat

The data format of the report

ManifestVersion

The Manifest version.

Message

Error message indicating why the operation failed.

Name

The name of the long running operation.

RequestBodyBillingPeriod

This parameter can be used only by Enterprise Agreement customers. Use the YearMonth(e.g. 202008) format. This parameter cannot be used alongside either the invoiceId or timePeriod parameters. If a timePeriod, invoiceId or billingPeriod parameter is not provided in the request body the API will return the current month's cost.

RequestBodyInvoiceId

This parameter can only be used by Microsoft Customer Agreement customers. Additionally, it can only be used at the Billing Profile or Customer scope. This parameter cannot be used alongside either the billingPeriod or timePeriod parameters. If a timePeriod, invoiceId or billingPeriod parameter is not provided in the request body the API will return the current month's cost.

RequestBodyMetric

The type of the detailed report. By default ActualCost is provided

RequestContextRequestScope

The request scope of the request.

Status

The status of the cost details operation

TimePeriodEnd

The end date to pull data to. example format 2020-03-15

TimePeriodStart

The start date to pull data from. example format 2020-03-15

Type

The type of the long running operation.

ValidTill

The time at which report URL becomes invalid/expires in UTC e.g. 2020-12-08T05:55:59.4394737Z.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of CostDetailsOperationResults.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of CostDetailsOperationResults.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Models.Api20220501.ICostDetailsOperationResults.

FromJsonString(String)

Creates a new instance of CostDetailsOperationResults, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of CostDetailsOperationResults into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Explicit Interface Implementations

ICostDetailsOperationResultsInternal.Code

Internal Acessors for Code

ICostDetailsOperationResultsInternal.Error

Internal Acessors for Error

ICostDetailsOperationResultsInternal.Manifest

Internal Acessors for Manifest

ICostDetailsOperationResultsInternal.ManifestRequestContext

Internal Acessors for ManifestRequestContext

ICostDetailsOperationResultsInternal.Message

Internal Acessors for Message

ICostDetailsOperationResultsInternal.RequestBodyTimePeriod

Internal Acessors for RequestBodyTimePeriod

ICostDetailsOperationResultsInternal.RequestContextRequestBody

Internal Acessors for RequestContextRequestBody

Applies to