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 PossibleValuesForAccumulatedType() []string + func PossibleValuesForChartType() []string + func PossibleValuesForFunctionType() []string + func PossibleValuesForKpiTypeType() []string + func PossibleValuesForMetricType() []string + func PossibleValuesForOperatorType() []string + func PossibleValuesForPivotTypeType() []string + func PossibleValuesForQueryColumnType() []string + func PossibleValuesForReportConfigSortingType() []string + func PossibleValuesForReportGranularityType() []string + func PossibleValuesForReportTimeframeType() []string + func PossibleValuesForReportType() []string + func ValidateScopedViewID(input interface{}, key string) (warnings []string, errors []error) + func ValidateViewID(input interface{}, key string) (warnings []string, errors []error) + type AccumulatedType string + const AccumulatedTypeFalse + const AccumulatedTypeTrue + func (s *AccumulatedType) UnmarshalJSON(bytes []byte) error + type ChartType string + const ChartTypeArea + const ChartTypeGroupedColumn + const ChartTypeLine + const ChartTypeStackedColumn + const ChartTypeTable + func (s *ChartType) UnmarshalJSON(bytes []byte) error + type CreateOrUpdateByScopeOperationResponse struct + HttpResponse *http.Response + Model *View + OData *odata.OData + type CreateOrUpdateOperationResponse struct + HttpResponse *http.Response + Model *View + OData *odata.OData + type DeleteByScopeOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + type DeleteOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + type FunctionType string + const FunctionTypeSum + func (s *FunctionType) UnmarshalJSON(bytes []byte) error + type GetByScopeOperationResponse struct + HttpResponse *http.Response + Model *View + OData *odata.OData + type GetOperationResponse struct + HttpResponse *http.Response + Model *View + OData *odata.OData + type KpiProperties struct + Enabled *bool + Id *string + Type *KpiTypeType + type KpiTypeType string + const KpiTypeTypeBudget + const KpiTypeTypeForecast + func (s *KpiTypeType) UnmarshalJSON(bytes []byte) error + type ListByScopeCompleteResult struct + Items []View + LatestHttpResponse *http.Response + type ListByScopeCustomPager struct + NextLink *odata.Link + func (p *ListByScopeCustomPager) NextPageLink() *odata.Link + type ListByScopeOperationResponse struct + HttpResponse *http.Response + Model *[]View + OData *odata.OData + type ListCompleteResult struct + Items []View + LatestHttpResponse *http.Response + type ListCustomPager struct + NextLink *odata.Link + func (p *ListCustomPager) NextPageLink() *odata.Link + type ListOperationResponse struct + HttpResponse *http.Response + Model *[]View + OData *odata.OData + type MetricType string + const MetricTypeAHUB + const MetricTypeActualCost + const MetricTypeAmortizedCost + func (s *MetricType) UnmarshalJSON(bytes []byte) error + type OperatorType string + const OperatorTypeContains + const OperatorTypeIn + func (s *OperatorType) UnmarshalJSON(bytes []byte) error + type PivotProperties struct + Name *string + Type *PivotTypeType + type PivotTypeType string + const PivotTypeTypeDimension + const PivotTypeTypeTagKey + func (s *PivotTypeType) UnmarshalJSON(bytes []byte) error + type QueryColumnType string + const QueryColumnTypeDimension + const QueryColumnTypeTagKey + func (s *QueryColumnType) UnmarshalJSON(bytes []byte) error + type ReportConfigAggregation struct + Function FunctionType + Name string + type ReportConfigComparisonExpression struct + Name string + Operator OperatorType + Values []string + type ReportConfigDataset struct + Aggregation *map[string]ReportConfigAggregation + Configuration *ReportConfigDatasetConfiguration + Filter *ReportConfigFilter + Granularity *ReportGranularityType + Grouping *[]ReportConfigGrouping + Sorting *[]ReportConfigSorting + type ReportConfigDatasetConfiguration struct + Columns *[]string + type ReportConfigDefinition struct + DataSet *ReportConfigDataset + IncludeMonetaryCommitment *bool + TimePeriod *ReportConfigTimePeriod + Timeframe ReportTimeframeType + Type ReportType + type ReportConfigFilter struct + And *[]ReportConfigFilter + Dimensions *ReportConfigComparisonExpression + Or *[]ReportConfigFilter + Tags *ReportConfigComparisonExpression + type ReportConfigGrouping struct + Name string + Type QueryColumnType + type ReportConfigSorting struct + Direction *ReportConfigSortingType + Name string + type ReportConfigSortingType string + const ReportConfigSortingTypeAscending + const ReportConfigSortingTypeDescending + func (s *ReportConfigSortingType) UnmarshalJSON(bytes []byte) error + type ReportConfigTimePeriod struct + From string + To string + func (o *ReportConfigTimePeriod) GetFromAsTime() (*time.Time, error) + func (o *ReportConfigTimePeriod) GetToAsTime() (*time.Time, error) + func (o *ReportConfigTimePeriod) SetFromAsTime(input time.Time) + func (o *ReportConfigTimePeriod) SetToAsTime(input time.Time) + type ReportGranularityType string + const ReportGranularityTypeDaily + const ReportGranularityTypeMonthly + func (s *ReportGranularityType) UnmarshalJSON(bytes []byte) error + type ReportTimeframeType string + const ReportTimeframeTypeCustom + const ReportTimeframeTypeMonthToDate + const ReportTimeframeTypeWeekToDate + const ReportTimeframeTypeYearToDate + func (s *ReportTimeframeType) UnmarshalJSON(bytes []byte) error + type ReportType string + const ReportTypeUsage + func (s *ReportType) UnmarshalJSON(bytes []byte) error + type ScopedViewId struct + Scope string + ViewName string + func NewScopedViewID(scope string, viewName string) ScopedViewId + func ParseScopedViewID(input string) (*ScopedViewId, error) + func ParseScopedViewIDInsensitively(input string) (*ScopedViewId, error) + func (id *ScopedViewId) FromParseResult(input resourceids.ParseResult) error + func (id ScopedViewId) ID() string + func (id ScopedViewId) Segments() []resourceids.Segment + func (id ScopedViewId) String() string + type View struct + ETag *string + Id *string + Name *string + Properties *ViewProperties + Type *string + type ViewId struct + ViewName string + func NewViewID(viewName string) ViewId + func ParseViewID(input string) (*ViewId, error) + func ParseViewIDInsensitively(input string) (*ViewId, error) + func (id *ViewId) FromParseResult(input resourceids.ParseResult) error + func (id ViewId) ID() string + func (id ViewId) Segments() []resourceids.Segment + func (id ViewId) String() string + type ViewOperationPredicate struct + ETag *string + Id *string + Name *string + Type *string + func (p ViewOperationPredicate) Matches(input View) bool + type ViewProperties struct + Accumulated *AccumulatedType + Chart *ChartType + CreatedOn *string + Currency *string + DateRange *string + DisplayName *string + Kpis *[]KpiProperties + Metric *MetricType + ModifiedOn *string + Pivots *[]PivotProperties + Query *ReportConfigDefinition + Scope *string + func (o *ViewProperties) GetCreatedOnAsTime() (*time.Time, error) + func (o *ViewProperties) GetModifiedOnAsTime() (*time.Time, error) + func (o *ViewProperties) SetCreatedOnAsTime(input time.Time) + func (o *ViewProperties) SetModifiedOnAsTime(input time.Time) + type ViewsClient struct + Client *resourcemanager.Client + func NewViewsClientWithBaseURI(sdkApi sdkEnv.Api) (*ViewsClient, error) + func (c ViewsClient) CreateOrUpdate(ctx context.Context, id ViewId, input View) (result CreateOrUpdateOperationResponse, err error) + func (c ViewsClient) CreateOrUpdateByScope(ctx context.Context, id ScopedViewId, input View) (result CreateOrUpdateByScopeOperationResponse, err error) + func (c ViewsClient) Delete(ctx context.Context, id ViewId) (result DeleteOperationResponse, err error) + func (c ViewsClient) DeleteByScope(ctx context.Context, id ScopedViewId) (result DeleteByScopeOperationResponse, err error) + func (c ViewsClient) Get(ctx context.Context, id ViewId) (result GetOperationResponse, err error) + func (c ViewsClient) GetByScope(ctx context.Context, id ScopedViewId) (result GetByScopeOperationResponse, err error) + func (c ViewsClient) List(ctx context.Context) (result ListOperationResponse, err error) + func (c ViewsClient) ListByScope(ctx context.Context, id commonids.ScopeId) (result ListByScopeOperationResponse, err error) + func (c ViewsClient) ListByScopeComplete(ctx context.Context, id commonids.ScopeId) (ListByScopeCompleteResult, error) + func (c ViewsClient) ListByScopeCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, predicate ViewOperationPredicate) (result ListByScopeCompleteResult, err error) + func (c ViewsClient) ListComplete(ctx context.Context) (ListCompleteResult, error) + func (c ViewsClient) ListCompleteMatchingPredicate(ctx context.Context, predicate ViewOperationPredicate) (result ListCompleteResult, err error)