Versions in this module Expand all Collapse all v0 v0.0.1 Nov 7, 2022 Changes in this version + const DefaultBaseURI + func UserAgent() string + func Version() string + type BaseClient struct + BaseURI string + SubscriptionID string + func New(subscriptionID string) BaseClient + func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient + func (client BaseClient) QueryBillingAccount(ctx context.Context, billingAccountID string, ...) (result QueryResult, err error) + func (client BaseClient) QueryBillingAccountPreparer(ctx context.Context, billingAccountID string, ...) (*http.Request, error) + func (client BaseClient) QueryBillingAccountResponder(resp *http.Response) (result QueryResult, err error) + func (client BaseClient) QueryBillingAccountSender(req *http.Request) (*http.Response, error) + func (client BaseClient) QueryResourceGroup(ctx context.Context, resourceGroupName string, ...) (result QueryResult, err error) + func (client BaseClient) QueryResourceGroupPreparer(ctx context.Context, resourceGroupName string, ...) (*http.Request, error) + func (client BaseClient) QueryResourceGroupResponder(resp *http.Response) (result QueryResult, err error) + func (client BaseClient) QueryResourceGroupSender(req *http.Request) (*http.Response, error) + func (client BaseClient) QuerySubscription(ctx context.Context, parameters ReportConfigDefinition) (result QueryResult, err error) + func (client BaseClient) QuerySubscriptionPreparer(ctx context.Context, parameters ReportConfigDefinition) (*http.Request, error) + func (client BaseClient) QuerySubscriptionResponder(resp *http.Response) (result QueryResult, err error) + func (client BaseClient) QuerySubscriptionSender(req *http.Request) (*http.Response, error) + type BillingAccountDimensionsClient struct + func NewBillingAccountDimensionsClient(subscriptionID string) BillingAccountDimensionsClient + func NewBillingAccountDimensionsClientWithBaseURI(baseURI string, subscriptionID string) BillingAccountDimensionsClient + func (client BillingAccountDimensionsClient) List(ctx context.Context, billingAccountID string, filter string, expand string, ...) (result DimensionsListResult, err error) + func (client BillingAccountDimensionsClient) ListPreparer(ctx context.Context, billingAccountID string, filter string, expand string, ...) (*http.Request, error) + func (client BillingAccountDimensionsClient) ListResponder(resp *http.Response) (result DimensionsListResult, err error) + func (client BillingAccountDimensionsClient) ListSender(req *http.Request) (*http.Response, error) + type Dimension struct + ID *string + Name *string + Tags map[string]*string + Type *string + func (d *Dimension) UnmarshalJSON(body []byte) error + func (d Dimension) MarshalJSON() ([]byte, error) + type DimensionProperties struct + Category *string + Data *[]string + NextLink *string + Total *int32 + UsageEnd *date.Time + UsageStart *date.Time + type DimensionsListResult struct + Value *[]Dimension + func (dlr DimensionsListResult) MarshalJSON() ([]byte, error) + type ErrorDetails struct + Code *string + Message *string + func (ed ErrorDetails) MarshalJSON() ([]byte, error) + type ErrorResponse struct + Error *ErrorDetails + type FormatType string + const Csv + func PossibleFormatTypeValues() []FormatType + type GranularityType string + const Daily + func PossibleGranularityTypeValues() []GranularityType + type Operation struct + Display *OperationDisplay + Name *string + func (o Operation) MarshalJSON() ([]byte, error) + type OperationDisplay struct + Operation *string + Provider *string + Resource *string + func (o OperationDisplay) MarshalJSON() ([]byte, error) + type OperationListResult struct + NextLink *string + Value *[]Operation + func (olr OperationListResult) IsEmpty() bool + func (olr OperationListResult) MarshalJSON() ([]byte, error) + type OperationListResultIterator struct + func NewOperationListResultIterator(page OperationListResultPage) OperationListResultIterator + func (iter *OperationListResultIterator) Next() error + func (iter *OperationListResultIterator) NextWithContext(ctx context.Context) (err error) + func (iter OperationListResultIterator) NotDone() bool + func (iter OperationListResultIterator) Response() OperationListResult + func (iter OperationListResultIterator) Value() Operation + type OperationListResultPage struct + func NewOperationListResultPage(cur OperationListResult, ...) OperationListResultPage + func (page *OperationListResultPage) Next() error + func (page *OperationListResultPage) NextWithContext(ctx context.Context) (err error) + func (page OperationListResultPage) NotDone() bool + func (page OperationListResultPage) Response() OperationListResult + func (page OperationListResultPage) Values() []Operation + type OperationsClient struct + func NewOperationsClient(subscriptionID string) OperationsClient + func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient + func (client OperationsClient) List(ctx context.Context) (result OperationListResultPage, err error) + func (client OperationsClient) ListComplete(ctx context.Context) (result OperationListResultIterator, err error) + func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error) + func (client OperationsClient) ListResponder(resp *http.Response) (result OperationListResult, err error) + func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error) + type Query struct + ID *string + Name *string + Tags map[string]*string + Type *string + func (q *Query) UnmarshalJSON(body []byte) error + func (q Query) MarshalJSON() ([]byte, error) + type QueryColumn struct + Name *string + Type *string + type QueryProperties struct + Columns *[]QueryColumn + NextLink *string + Rows *[][]interface{} + type QueryResult struct + Value *[]Query + func (qr QueryResult) MarshalJSON() ([]byte, error) + type RecurrenceType string + const RecurrenceTypeAnnually + const RecurrenceTypeDaily + const RecurrenceTypeMonthly + const RecurrenceTypeWeekly + func PossibleRecurrenceTypeValues() []RecurrenceType + type ReportConfig struct + ID *string + Name *string + Tags map[string]*string + Type *string + func (rc *ReportConfig) UnmarshalJSON(body []byte) error + func (rc ReportConfig) MarshalJSON() ([]byte, error) + type ReportConfigAggregation struct + Function *string + Name *string + type ReportConfigClient struct + func NewReportConfigClient(subscriptionID string) ReportConfigClient + func NewReportConfigClientWithBaseURI(baseURI string, subscriptionID string) ReportConfigClient + func (client ReportConfigClient) CreateOrUpdate(ctx context.Context, reportConfigName string, parameters ReportConfig) (result ReportConfig, err error) + func (client ReportConfigClient) CreateOrUpdateByResourceGroupName(ctx context.Context, resourceGroupName string, reportConfigName string, ...) (result ReportConfig, err error) + func (client ReportConfigClient) CreateOrUpdateByResourceGroupNamePreparer(ctx context.Context, resourceGroupName string, reportConfigName string, ...) (*http.Request, error) + func (client ReportConfigClient) CreateOrUpdateByResourceGroupNameResponder(resp *http.Response) (result ReportConfig, err error) + func (client ReportConfigClient) CreateOrUpdateByResourceGroupNameSender(req *http.Request) (*http.Response, error) + func (client ReportConfigClient) CreateOrUpdatePreparer(ctx context.Context, reportConfigName string, parameters ReportConfig) (*http.Request, error) + func (client ReportConfigClient) CreateOrUpdateResponder(resp *http.Response) (result ReportConfig, err error) + func (client ReportConfigClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) + func (client ReportConfigClient) Delete(ctx context.Context, reportConfigName string) (result autorest.Response, err error) + func (client ReportConfigClient) DeleteByResourceGroupName(ctx context.Context, resourceGroupName string, reportConfigName string) (result autorest.Response, err error) + func (client ReportConfigClient) DeleteByResourceGroupNamePreparer(ctx context.Context, resourceGroupName string, reportConfigName string) (*http.Request, error) + func (client ReportConfigClient) DeleteByResourceGroupNameResponder(resp *http.Response) (result autorest.Response, err error) + func (client ReportConfigClient) DeleteByResourceGroupNameSender(req *http.Request) (*http.Response, error) + func (client ReportConfigClient) DeletePreparer(ctx context.Context, reportConfigName string) (*http.Request, error) + func (client ReportConfigClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) + func (client ReportConfigClient) DeleteSender(req *http.Request) (*http.Response, error) + func (client ReportConfigClient) Get(ctx context.Context, reportConfigName string) (result ReportConfig, err error) + func (client ReportConfigClient) GetByResourceGroupName(ctx context.Context, resourceGroupName string, reportConfigName string) (result ReportConfig, err error) + func (client ReportConfigClient) GetByResourceGroupNamePreparer(ctx context.Context, resourceGroupName string, reportConfigName string) (*http.Request, error) + func (client ReportConfigClient) GetByResourceGroupNameResponder(resp *http.Response) (result ReportConfig, err error) + func (client ReportConfigClient) GetByResourceGroupNameSender(req *http.Request) (*http.Response, error) + func (client ReportConfigClient) GetPreparer(ctx context.Context, reportConfigName string) (*http.Request, error) + func (client ReportConfigClient) GetResponder(resp *http.Response) (result ReportConfig, err error) + func (client ReportConfigClient) GetSender(req *http.Request) (*http.Response, error) + func (client ReportConfigClient) List(ctx context.Context) (result ReportConfigListResult, err error) + func (client ReportConfigClient) ListByResourceGroupName(ctx context.Context, resourceGroupName string) (result ReportConfigListResult, err error) + func (client ReportConfigClient) ListByResourceGroupNamePreparer(ctx context.Context, resourceGroupName string) (*http.Request, error) + func (client ReportConfigClient) ListByResourceGroupNameResponder(resp *http.Response) (result ReportConfigListResult, err error) + func (client ReportConfigClient) ListByResourceGroupNameSender(req *http.Request) (*http.Response, error) + func (client ReportConfigClient) ListPreparer(ctx context.Context) (*http.Request, error) + func (client ReportConfigClient) ListResponder(resp *http.Response) (result ReportConfigListResult, err error) + func (client ReportConfigClient) ListSender(req *http.Request) (*http.Response, error) + type ReportConfigColumnType string + const ReportConfigColumnTypeDimension + const ReportConfigColumnTypeTag + func PossibleReportConfigColumnTypeValues() []ReportConfigColumnType + type ReportConfigComparisonExpression struct + Name *string + Operator *string + Values *[]string + type ReportConfigDataset struct + Aggregation map[string]*ReportConfigAggregation + Configuration *ReportConfigDatasetConfiguration + Filter *ReportConfigFilter + Granularity GranularityType + Grouping *[]ReportConfigGrouping + func (rcd ReportConfigDataset) MarshalJSON() ([]byte, error) + type ReportConfigDatasetConfiguration struct + Columns *[]string + type ReportConfigDefinition struct + Dataset *ReportConfigDataset + TimePeriod *ReportConfigTimePeriod + Timeframe TimeframeType + Type *string + type ReportConfigDeliveryDestination struct + Container *string + ResourceID *string + RootFolderPath *string + type ReportConfigDeliveryInfo struct + Destination *ReportConfigDeliveryDestination + type ReportConfigFilter struct + And *[]ReportConfigFilter + Dimension *ReportConfigComparisonExpression + Not *ReportConfigFilter + Or *[]ReportConfigFilter + Tag *ReportConfigComparisonExpression + type ReportConfigGrouping struct + ColumnType ReportConfigColumnType + Name *string + type ReportConfigListResult struct + Value *[]ReportConfig + func (rclr ReportConfigListResult) MarshalJSON() ([]byte, error) + type ReportConfigProperties struct + Definition *ReportConfigDefinition + DeliveryInfo *ReportConfigDeliveryInfo + Format FormatType + Schedule *ReportConfigSchedule + type ReportConfigRecurrencePeriod struct + From *date.Time + To *date.Time + type ReportConfigSchedule struct + Recurrence RecurrenceType + RecurrencePeriod *ReportConfigRecurrencePeriod + Status StatusType + type ReportConfigTimePeriod struct + From *date.Time + To *date.Time + type Resource struct + ID *string + Name *string + Tags map[string]*string + Type *string + func (r Resource) MarshalJSON() ([]byte, error) + type ResourceGroupDimensionsClient struct + func NewResourceGroupDimensionsClient(subscriptionID string) ResourceGroupDimensionsClient + func NewResourceGroupDimensionsClientWithBaseURI(baseURI string, subscriptionID string) ResourceGroupDimensionsClient + func (client ResourceGroupDimensionsClient) List(ctx context.Context, resourceGroupName string, filter string, expand string, ...) (result DimensionsListResult, err error) + func (client ResourceGroupDimensionsClient) ListPreparer(ctx context.Context, resourceGroupName string, filter string, expand string, ...) (*http.Request, error) + func (client ResourceGroupDimensionsClient) ListResponder(resp *http.Response) (result DimensionsListResult, err error) + func (client ResourceGroupDimensionsClient) ListSender(req *http.Request) (*http.Response, error) + type StatusType string + const Active + const Inactive + func PossibleStatusTypeValues() []StatusType + type SubscriptionDimensionsClient struct + func NewSubscriptionDimensionsClient(subscriptionID string) SubscriptionDimensionsClient + func NewSubscriptionDimensionsClientWithBaseURI(baseURI string, subscriptionID string) SubscriptionDimensionsClient + func (client SubscriptionDimensionsClient) List(ctx context.Context, filter string, expand string, skiptoken string, ...) (result DimensionsListResult, err error) + func (client SubscriptionDimensionsClient) ListPreparer(ctx context.Context, filter string, expand string, skiptoken string, ...) (*http.Request, error) + func (client SubscriptionDimensionsClient) ListResponder(resp *http.Response) (result DimensionsListResult, err error) + func (client SubscriptionDimensionsClient) ListSender(req *http.Request) (*http.Response, error) + type TimeframeType string + const Custom + const MonthToDate + const WeekToDate + const YearToDate + func PossibleTimeframeTypeValues() []TimeframeType