Documentation ¶
Index ¶
- func PossibleValuesForCostDetailsDataFormat() []string
- func PossibleValuesForCostDetailsMetricType() []string
- func PossibleValuesForCostDetailsStatusType() []string
- type BlobInfo
- type CostDetailsClient
- func (c CostDetailsClient) GenerateCostDetailsReportCreateOperation(ctx context.Context, id commonids.ScopeId, ...) (result GenerateCostDetailsReportCreateOperationOperationResponse, err error)
- func (c CostDetailsClient) GenerateCostDetailsReportCreateOperationThenPoll(ctx context.Context, id commonids.ScopeId, ...) error
- type CostDetailsDataFormat
- type CostDetailsMetricType
- type CostDetailsOperationResults
- type CostDetailsStatusType
- type CostDetailsTimePeriod
- type ErrorDetails
- type GenerateCostDetailsReportCreateOperationOperationResponse
- type GenerateCostDetailsReportRequestDefinition
- type ReportManifest
- type RequestContext
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForCostDetailsDataFormat ¶
func PossibleValuesForCostDetailsDataFormat() []string
func PossibleValuesForCostDetailsMetricType ¶
func PossibleValuesForCostDetailsMetricType() []string
func PossibleValuesForCostDetailsStatusType ¶
func PossibleValuesForCostDetailsStatusType() []string
Types ¶
type CostDetailsClient ¶
type CostDetailsClient struct {
Client *resourcemanager.Client
}
func NewCostDetailsClientWithBaseURI ¶
func NewCostDetailsClientWithBaseURI(api environments.Api) (*CostDetailsClient, error)
func (CostDetailsClient) GenerateCostDetailsReportCreateOperation ¶
func (c CostDetailsClient) GenerateCostDetailsReportCreateOperation(ctx context.Context, id commonids.ScopeId, input GenerateCostDetailsReportRequestDefinition) (result GenerateCostDetailsReportCreateOperationOperationResponse, err error)
GenerateCostDetailsReportCreateOperation ...
func (CostDetailsClient) GenerateCostDetailsReportCreateOperationThenPoll ¶
func (c CostDetailsClient) GenerateCostDetailsReportCreateOperationThenPoll(ctx context.Context, id commonids.ScopeId, input GenerateCostDetailsReportRequestDefinition) error
GenerateCostDetailsReportCreateOperationThenPoll performs GenerateCostDetailsReportCreateOperation then polls until it's completed
type CostDetailsDataFormat ¶
type CostDetailsDataFormat string
const (
CostDetailsDataFormatCsv CostDetailsDataFormat = "Csv"
)
func (*CostDetailsDataFormat) UnmarshalJSON ¶ added in v0.20230411.1183115
func (s *CostDetailsDataFormat) UnmarshalJSON(bytes []byte) error
type CostDetailsMetricType ¶
type CostDetailsMetricType string
const ( CostDetailsMetricTypeActualCost CostDetailsMetricType = "ActualCost" CostDetailsMetricTypeAmortizedCost CostDetailsMetricType = "AmortizedCost" )
func (*CostDetailsMetricType) UnmarshalJSON ¶ added in v0.20230411.1183115
func (s *CostDetailsMetricType) UnmarshalJSON(bytes []byte) error
type CostDetailsOperationResults ¶
type CostDetailsOperationResults struct { Error *ErrorDetails `json:"error,omitempty"` Id *string `json:"id,omitempty"` Manifest *ReportManifest `json:"manifest,omitempty"` Name *string `json:"name,omitempty"` Status *CostDetailsStatusType `json:"status,omitempty"` Type *string `json:"type,omitempty"` ValidTill *string `json:"validTill,omitempty"` }
func (*CostDetailsOperationResults) GetValidTillAsTime ¶
func (o *CostDetailsOperationResults) GetValidTillAsTime() (*time.Time, error)
func (*CostDetailsOperationResults) SetValidTillAsTime ¶
func (o *CostDetailsOperationResults) SetValidTillAsTime(input time.Time)
type CostDetailsStatusType ¶
type CostDetailsStatusType string
const ( CostDetailsStatusTypeCompleted CostDetailsStatusType = "Completed" CostDetailsStatusTypeFailed CostDetailsStatusType = "Failed" CostDetailsStatusTypeNoDataFound CostDetailsStatusType = "NoDataFound" )
func (*CostDetailsStatusType) UnmarshalJSON ¶ added in v0.20230411.1183115
func (s *CostDetailsStatusType) UnmarshalJSON(bytes []byte) error
type CostDetailsTimePeriod ¶
type ErrorDetails ¶
type GenerateCostDetailsReportRequestDefinition ¶
type GenerateCostDetailsReportRequestDefinition struct { BillingPeriod *string `json:"billingPeriod,omitempty"` InvoiceId *string `json:"invoiceId,omitempty"` Metric *CostDetailsMetricType `json:"metric,omitempty"` TimePeriod *CostDetailsTimePeriod `json:"timePeriod,omitempty"` }
type ReportManifest ¶
type ReportManifest struct { BlobCount *int64 `json:"blobCount,omitempty"` Blobs *[]BlobInfo `json:"blobs,omitempty"` ByteCount *int64 `json:"byteCount,omitempty"` CompressData *bool `json:"compressData,omitempty"` DataFormat *CostDetailsDataFormat `json:"dataFormat,omitempty"` ManifestVersion *string `json:"manifestVersion,omitempty"` RequestContext *RequestContext `json:"requestContext,omitempty"` }
type RequestContext ¶
type RequestContext struct { RequestBody *GenerateCostDetailsReportRequestDefinition `json:"requestBody,omitempty"` RequestScope *string `json:"requestScope,omitempty"` }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.