usagedetails

package
v0.20220623.1111642 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 23, 2022 License: MPL-2.0 Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForGenerateDetailedCostReportMetricType

func PossibleValuesForGenerateDetailedCostReportMetricType() []string

Types

type DownloadURL

type DownloadURL struct {
	DownloadUrl *string `json:"downloadUrl,omitempty"`
	ValidTill   *string `json:"validTill,omitempty"`
}

func (*DownloadURL) GetValidTillAsTime

func (o *DownloadURL) GetValidTillAsTime() (*time.Time, error)

func (*DownloadURL) SetValidTillAsTime

func (o *DownloadURL) SetValidTillAsTime(input time.Time)

type GenerateDetailedCostReportCreateOperationOperationResponse

type GenerateDetailedCostReportCreateOperationOperationResponse struct {
	Poller       polling.LongRunningPoller
	HttpResponse *http.Response
}

type GenerateDetailedCostReportDefinition

type GenerateDetailedCostReportDefinition struct {
	BillingPeriod *string                               `json:"billingPeriod,omitempty"`
	CustomerId    *string                               `json:"customerId,omitempty"`
	InvoiceId     *string                               `json:"invoiceId,omitempty"`
	Metric        *GenerateDetailedCostReportMetricType `json:"metric,omitempty"`
	TimePeriod    *GenerateDetailedCostReportTimePeriod `json:"timePeriod,omitempty"`
}

type GenerateDetailedCostReportMetricType

type GenerateDetailedCostReportMetricType string
const (
	GenerateDetailedCostReportMetricTypeActualCost    GenerateDetailedCostReportMetricType = "ActualCost"
	GenerateDetailedCostReportMetricTypeAmortizedCost GenerateDetailedCostReportMetricType = "AmortizedCost"
)

type GenerateDetailedCostReportOperationResult

type GenerateDetailedCostReportOperationResult struct {
	Id         *string      `json:"id,omitempty"`
	Name       *string      `json:"name,omitempty"`
	Properties *DownloadURL `json:"properties,omitempty"`
	Type       *string      `json:"type,omitempty"`
}

type GenerateDetailedCostReportTimePeriod

type GenerateDetailedCostReportTimePeriod struct {
	End   string `json:"end"`
	Start string `json:"start"`
}

type UsageDetailsClient

type UsageDetailsClient struct {
	Client autorest.Client
	// contains filtered or unexported fields
}

func NewUsageDetailsClientWithBaseURI

func NewUsageDetailsClientWithBaseURI(endpoint string) UsageDetailsClient

func (UsageDetailsClient) GenerateDetailedCostReportCreateOperation

GenerateDetailedCostReportCreateOperation ...

func (UsageDetailsClient) GenerateDetailedCostReportCreateOperationThenPoll

func (c UsageDetailsClient) GenerateDetailedCostReportCreateOperationThenPoll(ctx context.Context, id commonids.ScopeId, input GenerateDetailedCostReportDefinition) error

GenerateDetailedCostReportCreateOperationThenPoll performs GenerateDetailedCostReportCreateOperation then polls until it's completed

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL