Documentation ¶
Index ¶
- func PossibleValuesForGenerateDetailedCostReportMetricType() []string
- type DownloadUrl
- type GenerateDetailedCostReportCreateOperationOperationResponse
- type GenerateDetailedCostReportDefinition
- type GenerateDetailedCostReportMetricType
- type GenerateDetailedCostReportOperationResult
- type GenerateDetailedCostReportTimePeriod
- type UsageDetailsClient
- func (c UsageDetailsClient) GenerateDetailedCostReportCreateOperation(ctx context.Context, id commonids.ScopeId, ...) (result GenerateDetailedCostReportCreateOperationOperationResponse, err error)
- func (c UsageDetailsClient) GenerateDetailedCostReportCreateOperationThenPoll(ctx context.Context, id commonids.ScopeId, ...) error
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"` ExpiryTime *string `json:"expiryTime,omitempty"` ValidTill *string `json:"validTill,omitempty"` }
func (*DownloadUrl) GetExpiryTimeAsTime ¶
func (o *DownloadUrl) GetExpiryTimeAsTime() (*time.Time, error)
func (*DownloadUrl) GetValidTillAsTime ¶
func (o *DownloadUrl) GetValidTillAsTime() (*time.Time, error)
func (*DownloadUrl) SetExpiryTimeAsTime ¶
func (o *DownloadUrl) SetExpiryTimeAsTime(input time.Time)
func (*DownloadUrl) SetValidTillAsTime ¶
func (o *DownloadUrl) SetValidTillAsTime(input time.Time)
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" )
func (*GenerateDetailedCostReportMetricType) UnmarshalJSON ¶
func (s *GenerateDetailedCostReportMetricType) UnmarshalJSON(bytes []byte) error
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 UsageDetailsClient ¶
type UsageDetailsClient struct {
Client *resourcemanager.Client
}
func NewUsageDetailsClientWithBaseURI ¶
func NewUsageDetailsClientWithBaseURI(sdkApi sdkEnv.Api) (*UsageDetailsClient, error)
func (UsageDetailsClient) GenerateDetailedCostReportCreateOperation ¶
func (c UsageDetailsClient) GenerateDetailedCostReportCreateOperation(ctx context.Context, id commonids.ScopeId, input GenerateDetailedCostReportDefinition) (result GenerateDetailedCostReportCreateOperationOperationResponse, err error)
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
Click to show internal directories.
Click to hide internal directories.