Condividi tramite


GenerateCostDetailsReportErrorResponse Class

Definition

Error response indicates that the service is not able to process the incoming request. The reason is provided in the error message. Some Error responses:

  • 400 Bad Request - Invalid Request Payload. Request payload provided is not in a json format or had an invalid member not accepted in the request payload.
  • 400 Bad Request - Invalid request payload: can only have either timePeriod or invoiceId or billingPeriod. API only allows data to be pulled for either timePeriod or invoiceId or billingPeriod. Customer should provide only one of these parameters.
  • 400 Bad Request - Start date must be after . API only allows data to be pulled no older than 13 months from now.
  • 400 Bad Request - The maximum allowed date range is 1 months. API only allows data to be pulled for 1 month or less.
  • 429 TooManyRequests - Request is throttled. Retry after waiting for the time specified in the "retry-after" header.
  • 503 ServiceUnavailable - Service is temporarily unavailable. Retry after waiting for the time specified in the "Retry-After" header.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Models.Api20220501.GenerateCostDetailsReportErrorResponseTypeConverter))]
public class GenerateCostDetailsReportErrorResponse : Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Models.Api20220501.IGenerateCostDetailsReportErrorResponse, Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Models.Api20220501.IGenerateCostDetailsReportErrorResponseInternal
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Models.Api20220501.GenerateCostDetailsReportErrorResponseTypeConverter))>]
type GenerateCostDetailsReportErrorResponse = class
    interface IGenerateCostDetailsReportErrorResponse
    interface IJsonSerializable
    interface IGenerateCostDetailsReportErrorResponseInternal
Public Class GenerateCostDetailsReportErrorResponse
Implements IGenerateCostDetailsReportErrorResponse, IGenerateCostDetailsReportErrorResponseInternal
Inheritance
GenerateCostDetailsReportErrorResponse
Attributes
Implements

Constructors

GenerateCostDetailsReportErrorResponse()

Creates an new GenerateCostDetailsReportErrorResponse instance.

Properties

Code

Error code.

Message

Error message indicating why the operation failed.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of GenerateCostDetailsReportErrorResponse.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of GenerateCostDetailsReportErrorResponse.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of GenerateCostDetailsReportErrorResponse into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Explicit Interface Implementations

IGenerateCostDetailsReportErrorResponseInternal.Code

Internal Acessors for Code

IGenerateCostDetailsReportErrorResponseInternal.Error

Internal Acessors for Error

IGenerateCostDetailsReportErrorResponseInternal.Message

Internal Acessors for Message

Applies to