Versions in this module Expand all Collapse all v0 v0.20241126.2320 Nov 26, 2024 v0.20241126.1723 Nov 26, 2024 Changes in this version + func PossibleValuesForExternalCloudProviderType() []string + func PossibleValuesForForecastOperatorType() []string + func PossibleValuesForForecastTimeframe() []string + func PossibleValuesForForecastType() []string + func PossibleValuesForFunctionName() []string + func PossibleValuesForFunctionType() []string + func PossibleValuesForGranularityType() []string + func ValidateExternalCloudProviderTypeID(input interface{}, key string) (warnings []string, errors []error) + type ExternalCloudProviderType string + const ExternalCloudProviderTypeExternalBillingAccounts + const ExternalCloudProviderTypeExternalSubscriptions + func (s *ExternalCloudProviderType) UnmarshalJSON(bytes []byte) error + type ExternalCloudProviderTypeId struct + ExternalCloudProviderId string + ExternalCloudProviderType ExternalCloudProviderType + func NewExternalCloudProviderTypeID(externalCloudProviderType ExternalCloudProviderType, ...) ExternalCloudProviderTypeId + func ParseExternalCloudProviderTypeID(input string) (*ExternalCloudProviderTypeId, error) + func ParseExternalCloudProviderTypeIDInsensitively(input string) (*ExternalCloudProviderTypeId, error) + func (id *ExternalCloudProviderTypeId) FromParseResult(input resourceids.ParseResult) error + func (id ExternalCloudProviderTypeId) ID() string + func (id ExternalCloudProviderTypeId) Segments() []resourceids.Segment + func (id ExternalCloudProviderTypeId) String() string + type ExternalCloudProviderUsageOperationOptions struct + Filter *string + func DefaultExternalCloudProviderUsageOperationOptions() ExternalCloudProviderUsageOperationOptions + func (o ExternalCloudProviderUsageOperationOptions) ToHeaders() *client.Headers + func (o ExternalCloudProviderUsageOperationOptions) ToOData() *odata.Query + func (o ExternalCloudProviderUsageOperationOptions) ToQuery() *client.QueryParams + type ExternalCloudProviderUsageOperationResponse struct + HttpResponse *http.Response + Model *ForecastResult + OData *odata.OData + type ForecastAggregation struct + Function FunctionType + Name FunctionName + type ForecastClient struct + Client *resourcemanager.Client + func NewForecastClientWithBaseURI(sdkApi sdkEnv.Api) (*ForecastClient, error) + func (c ForecastClient) ExternalCloudProviderUsage(ctx context.Context, id ExternalCloudProviderTypeId, input ForecastDefinition, ...) (result ExternalCloudProviderUsageOperationResponse, err error) + func (c ForecastClient) Usage(ctx context.Context, id commonids.ScopeId, input ForecastDefinition, ...) (result UsageOperationResponse, err error) + type ForecastColumn struct + Name *string + Type *string + type ForecastComparisonExpression struct + Name string + Operator ForecastOperatorType + Values []string + type ForecastDataset struct + Aggregation map[string]ForecastAggregation + Configuration *ForecastDatasetConfiguration + Filter *ForecastFilter + Granularity *GranularityType + type ForecastDatasetConfiguration struct + Columns *[]string + type ForecastDefinition struct + Dataset ForecastDataset + IncludeActualCost *bool + IncludeFreshPartialCost *bool + TimePeriod *ForecastTimePeriod + Timeframe ForecastTimeframe + Type ForecastType + type ForecastFilter struct + And *[]ForecastFilter + Dimensions *ForecastComparisonExpression + Or *[]ForecastFilter + Tags *ForecastComparisonExpression + type ForecastOperatorType string + const ForecastOperatorTypeIn + func (s *ForecastOperatorType) UnmarshalJSON(bytes []byte) error + type ForecastProperties struct + Columns *[]ForecastColumn + NextLink *string + Rows *[][]interface{} + type ForecastResult struct + ETag *string + Id *string + Location *string + Name *string + Properties *ForecastProperties + Sku *string + Tags *map[string]string + Type *string + type ForecastTimePeriod struct + From string + To string + func (o *ForecastTimePeriod) GetFromAsTime() (*time.Time, error) + func (o *ForecastTimePeriod) GetToAsTime() (*time.Time, error) + func (o *ForecastTimePeriod) SetFromAsTime(input time.Time) + func (o *ForecastTimePeriod) SetToAsTime(input time.Time) + type ForecastTimeframe string + const ForecastTimeframeCustom + func (s *ForecastTimeframe) UnmarshalJSON(bytes []byte) error + type ForecastType string + const ForecastTypeActualCost + const ForecastTypeAmortizedCost + const ForecastTypeUsage + func (s *ForecastType) UnmarshalJSON(bytes []byte) error + type FunctionName string + const FunctionNameCost + const FunctionNameCostUSD + const FunctionNamePreTaxCost + const FunctionNamePreTaxCostUSD + func (s *FunctionName) UnmarshalJSON(bytes []byte) error + type FunctionType string + const FunctionTypeSum + func (s *FunctionType) UnmarshalJSON(bytes []byte) error + type GranularityType string + const GranularityTypeDaily + func (s *GranularityType) UnmarshalJSON(bytes []byte) error + type UsageOperationOptions struct + Filter *string + func DefaultUsageOperationOptions() UsageOperationOptions + func (o UsageOperationOptions) ToHeaders() *client.Headers + func (o UsageOperationOptions) ToOData() *odata.Query + func (o UsageOperationOptions) ToQuery() *client.QueryParams + type UsageOperationResponse struct + HttpResponse *http.Response + Model *ForecastResult + OData *odata.OData