Documentation ¶
Index ¶
- func PossibleValuesForBound() []string
- func PossibleValuesForChargeType() []string
- func PossibleValuesForGrain() []string
- type Bound
- type ChargeType
- type Forecast
- type ForecastProperties
- type ForecastPropertiesConfidenceLevelsInlined
- type ForecastsClient
- type ForecastsListResult
- type Grain
- type ListOperationOptions
- type ListOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForBound ¶
func PossibleValuesForBound() []string
func PossibleValuesForChargeType ¶
func PossibleValuesForChargeType() []string
func PossibleValuesForGrain ¶
func PossibleValuesForGrain() []string
Types ¶
type ChargeType ¶
type ChargeType string
const ( ChargeTypeActual ChargeType = "Actual" ChargeTypeForecast ChargeType = "Forecast" )
func (*ChargeType) UnmarshalJSON ¶
func (s *ChargeType) UnmarshalJSON(bytes []byte) error
type ForecastProperties ¶
type ForecastProperties struct { Charge *float64 `json:"charge,omitempty"` ChargeType *ChargeType `json:"chargeType,omitempty"` ConfidenceLevels *[]ForecastPropertiesConfidenceLevelsInlined `json:"confidenceLevels,omitempty"` Currency *string `json:"currency,omitempty"` Grain *Grain `json:"grain,omitempty"` UsageDate *string `json:"usageDate,omitempty"` }
type ForecastsClient ¶
type ForecastsClient struct {
Client *resourcemanager.Client
}
func NewForecastsClientWithBaseURI ¶
func NewForecastsClientWithBaseURI(api environments.Api) (*ForecastsClient, error)
func (ForecastsClient) List ¶
func (c ForecastsClient) List(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions) (result ListOperationResponse, err error)
List ...
type ForecastsListResult ¶
type ForecastsListResult struct {
Value *[]Forecast `json:"value,omitempty"`
}
type ListOperationOptions ¶
type ListOperationOptions struct {
Filter *string
}
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
func (ListOperationOptions) ToHeaders ¶
func (o ListOperationOptions) ToHeaders() *client.Headers
func (ListOperationOptions) ToOData ¶
func (o ListOperationOptions) ToOData() *odata.Query
func (ListOperationOptions) ToQuery ¶
func (o ListOperationOptions) ToQuery() *client.QueryParams
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ForecastsListResult }
Click to show internal directories.
Click to hide internal directories.