Versions in this module Expand all Collapse all v36 v36.2.0 Nov 19, 2019 v36.1.0 Nov 6, 2019 v36.0.0 Nov 1, 2019 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 + type BasicShowbackRuleProperties interface + AsCostAllocationDetailsKind func() (*CostAllocationDetailsKind, bool) + AsCustomPriceDetailsKind func() (*CustomPriceDetailsKind, bool) + AsShowbackRuleProperties func() (*ShowbackRuleProperties, bool) + type CloudConnectorClient struct + func NewCloudConnectorClient(subscriptionID string) CloudConnectorClient + func NewCloudConnectorClientWithBaseURI(baseURI string, subscriptionID string) CloudConnectorClient + func (client CloudConnectorClient) CreateOrUpdate(ctx context.Context, connectorName string, connector ConnectorDefinition) (result ConnectorDefinition, err error) + func (client CloudConnectorClient) CreateOrUpdatePreparer(ctx context.Context, connectorName string, connector ConnectorDefinition) (*http.Request, error) + func (client CloudConnectorClient) CreateOrUpdateResponder(resp *http.Response) (result ConnectorDefinition, err error) + func (client CloudConnectorClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) + func (client CloudConnectorClient) Delete(ctx context.Context, connectorName string) (result autorest.Response, err error) + func (client CloudConnectorClient) DeletePreparer(ctx context.Context, connectorName string) (*http.Request, error) + func (client CloudConnectorClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) + func (client CloudConnectorClient) DeleteSender(req *http.Request) (*http.Response, error) + func (client CloudConnectorClient) Get(ctx context.Context, connectorName string, expand string) (result ConnectorDefinition, err error) + func (client CloudConnectorClient) GetPreparer(ctx context.Context, connectorName string, expand string) (*http.Request, error) + func (client CloudConnectorClient) GetResponder(resp *http.Response) (result ConnectorDefinition, err error) + func (client CloudConnectorClient) GetSender(req *http.Request) (*http.Response, error) + func (client CloudConnectorClient) List(ctx context.Context) (result ConnectorDefinitionListResult, err error) + func (client CloudConnectorClient) ListPreparer(ctx context.Context) (*http.Request, error) + func (client CloudConnectorClient) ListResponder(resp *http.Response) (result ConnectorDefinitionListResult, err error) + func (client CloudConnectorClient) ListSender(req *http.Request) (*http.Response, error) + func (client CloudConnectorClient) Update(ctx context.Context, connectorName string, connector ConnectorDefinition) (result ConnectorDefinition, err error) + func (client CloudConnectorClient) UpdatePreparer(ctx context.Context, connectorName string, connector ConnectorDefinition) (*http.Request, error) + func (client CloudConnectorClient) UpdateResponder(resp *http.Response) (result ConnectorDefinition, err error) + func (client CloudConnectorClient) UpdateSender(req *http.Request) (*http.Response, error) + type ConnectorBillingModel string + const AutoUpgrade + const Expired + const Premium + const Trial + func PossibleConnectorBillingModelValues() []ConnectorBillingModel + type ConnectorCollectionErrorInfo struct + ErrorCode *string + ErrorInnerMessage *string + ErrorMessage *string + ErrorStartTime *date.Time + type ConnectorCollectionInfo struct + Error *ConnectorCollectionErrorInfo + LastChecked *date.Time + LastUpdated *date.Time + SourceLastUpdated *date.Time + type ConnectorDefinition struct + ID *string + Kind *string + Name *string + Type *string + func (cd *ConnectorDefinition) UnmarshalJSON(body []byte) error + func (cd ConnectorDefinition) MarshalJSON() ([]byte, error) + type ConnectorDefinitionListResult struct + Value *[]ConnectorDefinition + type ConnectorProperties struct + BillingModel ConnectorBillingModel + CollectionInfo *ConnectorCollectionInfo + CreatedOn *date.Time + CredentialsKey *string + CredentialsSecret *string + DaysTrialRemaining *int32 + DefaultManagementGroupID *string + DisplayName *string + ExternalBillingAccountID *string + ModifiedOn *date.Time + ProviderBillingAccountDisplayName *string + ProviderBillingAccountID *string + ReportID *string + Status ConnectorStatus + SubscriptionID *string + type ConnectorStatus string + const ConnectorStatusActive + const ConnectorStatusError + const ConnectorStatusExpired + const ConnectorStatusWarning + func PossibleConnectorStatusValues() []ConnectorStatus + type CostAllocationDetails struct + Policy CostAllocationPolicy + type CostAllocationDetailsKind struct + CreationTime *date.Time + DeprecationTime *date.Time + Description *string + ModificationTime *date.Time + RuleType RuleType + Scopes *[]Scope + Status ShowbackRuleStatus + Version *int32 + func (cadk *CostAllocationDetailsKind) UnmarshalJSON(body []byte) error + func (cadk CostAllocationDetailsKind) AsBasicShowbackRuleProperties() (BasicShowbackRuleProperties, bool) + func (cadk CostAllocationDetailsKind) AsCostAllocationDetailsKind() (*CostAllocationDetailsKind, bool) + func (cadk CostAllocationDetailsKind) AsCustomPriceDetailsKind() (*CustomPriceDetailsKind, bool) + func (cadk CostAllocationDetailsKind) AsShowbackRuleProperties() (*ShowbackRuleProperties, bool) + func (cadk CostAllocationDetailsKind) MarshalJSON() ([]byte, error) + type CostAllocationPolicy string + const Evenly + const Fixed + const Proportional + func PossibleCostAllocationPolicyValues() []CostAllocationPolicy + type CustomPriceDetails struct + Benefits *[]FunctionType + Markups *[]Markup + Pricesheet *string + type CustomPriceDetailsKind struct + CreationTime *date.Time + DeprecationTime *date.Time + Description *string + ModificationTime *date.Time + RuleType RuleType + Scopes *[]Scope + Status ShowbackRuleStatus + Version *int32 + func (cpdk *CustomPriceDetailsKind) UnmarshalJSON(body []byte) error + func (cpdk CustomPriceDetailsKind) AsBasicShowbackRuleProperties() (BasicShowbackRuleProperties, bool) + func (cpdk CustomPriceDetailsKind) AsCostAllocationDetailsKind() (*CostAllocationDetailsKind, bool) + func (cpdk CustomPriceDetailsKind) AsCustomPriceDetailsKind() (*CustomPriceDetailsKind, bool) + func (cpdk CustomPriceDetailsKind) AsShowbackRuleProperties() (*ShowbackRuleProperties, bool) + func (cpdk CustomPriceDetailsKind) MarshalJSON() ([]byte, 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 + Description *string + FilterEnabled *bool + GroupingEnabled *bool + NextLink *string + Total *int32 + UsageEnd *date.Time + UsageStart *date.Time + type DimensionsClient struct + func NewDimensionsClient(subscriptionID string) DimensionsClient + func NewDimensionsClientWithBaseURI(baseURI string, subscriptionID string) DimensionsClient + func (client DimensionsClient) ListByBillingAccount(ctx context.Context, billingAccountID string, filter string, expand string, ...) (result DimensionsListResult, err error) + func (client DimensionsClient) ListByBillingAccountPreparer(ctx context.Context, billingAccountID string, filter string, expand string, ...) (*http.Request, error) + func (client DimensionsClient) ListByBillingAccountResponder(resp *http.Response) (result DimensionsListResult, err error) + func (client DimensionsClient) ListByBillingAccountSender(req *http.Request) (*http.Response, error) + func (client DimensionsClient) ListByDepartment(ctx context.Context, billingAccountID string, departmentID string, ...) (result DimensionsListResult, err error) + func (client DimensionsClient) ListByDepartmentPreparer(ctx context.Context, billingAccountID string, departmentID string, ...) (*http.Request, error) + func (client DimensionsClient) ListByDepartmentResponder(resp *http.Response) (result DimensionsListResult, err error) + func (client DimensionsClient) ListByDepartmentSender(req *http.Request) (*http.Response, error) + func (client DimensionsClient) ListByEnrollmentAccount(ctx context.Context, billingAccountID string, enrollmentAccountID string, ...) (result DimensionsListResult, err error) + func (client DimensionsClient) ListByEnrollmentAccountPreparer(ctx context.Context, billingAccountID string, enrollmentAccountID string, ...) (*http.Request, error) + func (client DimensionsClient) ListByEnrollmentAccountResponder(resp *http.Response) (result DimensionsListResult, err error) + func (client DimensionsClient) ListByEnrollmentAccountSender(req *http.Request) (*http.Response, error) + func (client DimensionsClient) ListByManagementGroup(ctx context.Context, managementGroupID string, filter string, expand string, ...) (result DimensionsListResult, err error) + func (client DimensionsClient) ListByManagementGroupPreparer(ctx context.Context, managementGroupID string, filter string, expand string, ...) (*http.Request, error) + func (client DimensionsClient) ListByManagementGroupResponder(resp *http.Response) (result DimensionsListResult, err error) + func (client DimensionsClient) ListByManagementGroupSender(req *http.Request) (*http.Response, error) + func (client DimensionsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string, filter string, expand string, ...) (result DimensionsListResult, err error) + func (client DimensionsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string, filter string, expand string, ...) (*http.Request, error) + func (client DimensionsClient) ListByResourceGroupResponder(resp *http.Response) (result DimensionsListResult, err error) + func (client DimensionsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) + func (client DimensionsClient) ListBySubscription(ctx context.Context, filter string, expand string, skiptoken string, ...) (result DimensionsListResult, err error) + func (client DimensionsClient) ListBySubscriptionPreparer(ctx context.Context, filter string, expand string, skiptoken string, ...) (*http.Request, error) + func (client DimensionsClient) ListBySubscriptionResponder(resp *http.Response) (result DimensionsListResult, err error) + func (client DimensionsClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error) + type DimensionsListResult struct + Value *[]Dimension + type Direction string + const Ascending + const Descending + func PossibleDirectionValues() []Direction + type ErrorBase struct + Code *string + Message *string + Target *string + type ErrorDetails struct + Code *string + Details *[]ErrorBase + Message *string + Target *string + type ErrorResponse struct + Error *ErrorDetails + type ExternalBillingAccountClient struct + func NewExternalBillingAccountClient(subscriptionID string) ExternalBillingAccountClient + func NewExternalBillingAccountClientWithBaseURI(baseURI string, subscriptionID string) ExternalBillingAccountClient + func (client ExternalBillingAccountClient) Get(ctx context.Context, externalBillingAccountName string, expand string) (result ExternalBillingAccountDefinition, err error) + func (client ExternalBillingAccountClient) GetPreparer(ctx context.Context, externalBillingAccountName string, expand string) (*http.Request, error) + func (client ExternalBillingAccountClient) GetResponder(resp *http.Response) (result ExternalBillingAccountDefinition, err error) + func (client ExternalBillingAccountClient) GetSender(req *http.Request) (*http.Response, error) + func (client ExternalBillingAccountClient) List(ctx context.Context) (result ExternalBillingAccountDefinitionListResult, err error) + func (client ExternalBillingAccountClient) ListPreparer(ctx context.Context) (*http.Request, error) + func (client ExternalBillingAccountClient) ListResponder(resp *http.Response) (result ExternalBillingAccountDefinitionListResult, err error) + func (client ExternalBillingAccountClient) ListSender(req *http.Request) (*http.Response, error) + type ExternalBillingAccountDefinition struct + ID *string + Kind *string + Name *string + Type *string + func (ebad *ExternalBillingAccountDefinition) UnmarshalJSON(body []byte) error + func (ebad ExternalBillingAccountDefinition) MarshalJSON() ([]byte, error) + type ExternalBillingAccountDefinitionListResult struct + Value *[]ExternalBillingAccountDefinition + type ExternalBillingAccountProperties struct + CollectionInfo *ConnectorCollectionInfo + ConnectorID *string + DisplayName *string + ProviderBillingAccountID *string + type ExternalSubscriptionClient struct + func NewExternalSubscriptionClient(subscriptionID string) ExternalSubscriptionClient + func NewExternalSubscriptionClientWithBaseURI(baseURI string, subscriptionID string) ExternalSubscriptionClient + func (client ExternalSubscriptionClient) Get(ctx context.Context, externalSubscriptionName string, expand string) (result ExternalSubscriptionDefinition, err error) + func (client ExternalSubscriptionClient) GetPreparer(ctx context.Context, externalSubscriptionName string, expand string) (*http.Request, error) + func (client ExternalSubscriptionClient) GetResponder(resp *http.Response) (result ExternalSubscriptionDefinition, err error) + func (client ExternalSubscriptionClient) GetSender(req *http.Request) (*http.Response, error) + func (client ExternalSubscriptionClient) List(ctx context.Context) (result ExternalSubscriptionDefinitionListResult, err error) + func (client ExternalSubscriptionClient) ListByExternalBillingAccount(ctx context.Context, externalBillingAccountName string) (result ExternalSubscriptionDefinitionListResult, err error) + func (client ExternalSubscriptionClient) ListByExternalBillingAccountPreparer(ctx context.Context, externalBillingAccountName string) (*http.Request, error) + func (client ExternalSubscriptionClient) ListByExternalBillingAccountResponder(resp *http.Response) (result ExternalSubscriptionDefinitionListResult, err error) + func (client ExternalSubscriptionClient) ListByExternalBillingAccountSender(req *http.Request) (*http.Response, error) + func (client ExternalSubscriptionClient) ListByManagementGroup(ctx context.Context, managementGroupID string, recurse *bool) (result ExternalSubscriptionDefinitionListResult, err error) + func (client ExternalSubscriptionClient) ListByManagementGroupPreparer(ctx context.Context, managementGroupID string, recurse *bool) (*http.Request, error) + func (client ExternalSubscriptionClient) ListByManagementGroupResponder(resp *http.Response) (result ExternalSubscriptionDefinitionListResult, err error) + func (client ExternalSubscriptionClient) ListByManagementGroupSender(req *http.Request) (*http.Response, error) + func (client ExternalSubscriptionClient) ListPreparer(ctx context.Context) (*http.Request, error) + func (client ExternalSubscriptionClient) ListResponder(resp *http.Response) (result ExternalSubscriptionDefinitionListResult, err error) + func (client ExternalSubscriptionClient) ListSender(req *http.Request) (*http.Response, error) + func (client ExternalSubscriptionClient) UpdateManagementGroup(ctx context.Context, managementGroupID string, externalSubscriptionName string) (result autorest.Response, err error) + func (client ExternalSubscriptionClient) UpdateManagementGroupPreparer(ctx context.Context, managementGroupID string, externalSubscriptionName string) (*http.Request, error) + func (client ExternalSubscriptionClient) UpdateManagementGroupResponder(resp *http.Response) (result autorest.Response, err error) + func (client ExternalSubscriptionClient) UpdateManagementGroupSender(req *http.Request) (*http.Response, error) + type ExternalSubscriptionDefinition struct + ID *string + Kind *string + Name *string + Type *string + func (esd *ExternalSubscriptionDefinition) UnmarshalJSON(body []byte) error + func (esd ExternalSubscriptionDefinition) MarshalJSON() ([]byte, error) + type ExternalSubscriptionDefinitionListResult struct + Value *[]ExternalSubscriptionDefinition + type ExternalSubscriptionIDListRequest struct + Value *[]string + type ExternalSubscriptionProperties struct + CollectionInfo *ConnectorCollectionInfo + DisplayName *string + ExternalBillingAccountID *string + ManagementGroupID *string + ProviderAccountID *string + ProviderBillingAccountID *string + type ForecastClient struct + func NewForecastClient(subscriptionID string) ForecastClient + func NewForecastClientWithBaseURI(baseURI string, subscriptionID string) ForecastClient + func (client ForecastClient) UsageByBillingAccount(ctx context.Context, billingAccountID string, ...) (result QueryResult, err error) + func (client ForecastClient) UsageByBillingAccountPreparer(ctx context.Context, billingAccountID string, ...) (*http.Request, error) + func (client ForecastClient) UsageByBillingAccountResponder(resp *http.Response) (result QueryResult, err error) + func (client ForecastClient) UsageByBillingAccountSender(req *http.Request) (*http.Response, error) + func (client ForecastClient) UsageByDepartment(ctx context.Context, billingAccountID string, departmentID string, ...) (result QueryResult, err error) + func (client ForecastClient) UsageByDepartmentPreparer(ctx context.Context, billingAccountID string, departmentID string, ...) (*http.Request, error) + func (client ForecastClient) UsageByDepartmentResponder(resp *http.Response) (result QueryResult, err error) + func (client ForecastClient) UsageByDepartmentSender(req *http.Request) (*http.Response, error) + func (client ForecastClient) UsageByEnrollmentAccount(ctx context.Context, billingAccountID string, enrollmentAccountID string, ...) (result QueryResult, err error) + func (client ForecastClient) UsageByEnrollmentAccountPreparer(ctx context.Context, billingAccountID string, enrollmentAccountID string, ...) (*http.Request, error) + func (client ForecastClient) UsageByEnrollmentAccountResponder(resp *http.Response) (result QueryResult, err error) + func (client ForecastClient) UsageByEnrollmentAccountSender(req *http.Request) (*http.Response, error) + func (client ForecastClient) UsageByExternalBillingAccount(ctx context.Context, externalBillingAccountName string, ...) (result QueryResult, err error) + func (client ForecastClient) UsageByExternalBillingAccountPreparer(ctx context.Context, externalBillingAccountName string, ...) (*http.Request, error) + func (client ForecastClient) UsageByExternalBillingAccountResponder(resp *http.Response) (result QueryResult, err error) + func (client ForecastClient) UsageByExternalBillingAccountSender(req *http.Request) (*http.Response, error) + func (client ForecastClient) UsageByManagementGroup(ctx context.Context, managementGroupID string, ...) (result QueryResult, err error) + func (client ForecastClient) UsageByManagementGroupPreparer(ctx context.Context, managementGroupID string, ...) (*http.Request, error) + func (client ForecastClient) UsageByManagementGroupResponder(resp *http.Response) (result QueryResult, err error) + func (client ForecastClient) UsageByManagementGroupSender(req *http.Request) (*http.Response, error) + func (client ForecastClient) UsageByResourceGroup(ctx context.Context, resourceGroupName string, ...) (result QueryResult, err error) + func (client ForecastClient) UsageByResourceGroupPreparer(ctx context.Context, resourceGroupName string, ...) (*http.Request, error) + func (client ForecastClient) UsageByResourceGroupResponder(resp *http.Response) (result QueryResult, err error) + func (client ForecastClient) UsageByResourceGroupSender(req *http.Request) (*http.Response, error) + func (client ForecastClient) UsageBySubscription(ctx context.Context, parameters ReportConfigDefinition) (result QueryResult, err error) + func (client ForecastClient) UsageBySubscriptionPreparer(ctx context.Context, parameters ReportConfigDefinition) (*http.Request, error) + func (client ForecastClient) UsageBySubscriptionResponder(resp *http.Response) (result QueryResult, err error) + func (client ForecastClient) UsageBySubscriptionSender(req *http.Request) (*http.Response, error) + type FunctionType string + const AHUB + const All + const None + const Reservations + func PossibleFunctionTypeValues() []FunctionType + type GranularityType string + const Daily + const Monthly + func PossibleGranularityTypeValues() []GranularityType + type Markup struct + Percentage *string + type Operation struct + Display *OperationDisplay + Name *string + type OperationDisplay struct + Operation *string + Provider *string + Resource *string + type OperationListResult struct + NextLink *string + Value *[]Operation + func (olr OperationListResult) IsEmpty() bool + 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(...) 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 OperatorType string + const Contains + const In + func PossibleOperatorTypeValues() []OperatorType + 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 QueryClient struct + func NewQueryClient(subscriptionID string) QueryClient + func NewQueryClientWithBaseURI(baseURI string, subscriptionID string) QueryClient + func (client QueryClient) UsageByBillingAccount(ctx context.Context, billingAccountID string, ...) (result QueryResult, err error) + func (client QueryClient) UsageByBillingAccountPreparer(ctx context.Context, billingAccountID string, ...) (*http.Request, error) + func (client QueryClient) UsageByBillingAccountResponder(resp *http.Response) (result QueryResult, err error) + func (client QueryClient) UsageByBillingAccountSender(req *http.Request) (*http.Response, error) + func (client QueryClient) UsageByDepartment(ctx context.Context, billingAccountID string, departmentID string, ...) (result QueryResult, err error) + func (client QueryClient) UsageByDepartmentPreparer(ctx context.Context, billingAccountID string, departmentID string, ...) (*http.Request, error) + func (client QueryClient) UsageByDepartmentResponder(resp *http.Response) (result QueryResult, err error) + func (client QueryClient) UsageByDepartmentSender(req *http.Request) (*http.Response, error) + func (client QueryClient) UsageByEnrollmentAccount(ctx context.Context, billingAccountID string, enrollmentAccountID string, ...) (result QueryResult, err error) + func (client QueryClient) UsageByEnrollmentAccountPreparer(ctx context.Context, billingAccountID string, enrollmentAccountID string, ...) (*http.Request, error) + func (client QueryClient) UsageByEnrollmentAccountResponder(resp *http.Response) (result QueryResult, err error) + func (client QueryClient) UsageByEnrollmentAccountSender(req *http.Request) (*http.Response, error) + func (client QueryClient) UsageByManagementGroup(ctx context.Context, managementGroupID string, ...) (result QueryResult, err error) + func (client QueryClient) UsageByManagementGroupPreparer(ctx context.Context, managementGroupID string, ...) (*http.Request, error) + func (client QueryClient) UsageByManagementGroupResponder(resp *http.Response) (result QueryResult, err error) + func (client QueryClient) UsageByManagementGroupSender(req *http.Request) (*http.Response, error) + func (client QueryClient) UsageByResourceGroup(ctx context.Context, resourceGroupName string, ...) (result QueryResult, err error) + func (client QueryClient) UsageByResourceGroupPreparer(ctx context.Context, resourceGroupName string, ...) (*http.Request, error) + func (client QueryClient) UsageByResourceGroupResponder(resp *http.Response) (result QueryResult, err error) + func (client QueryClient) UsageByResourceGroupSender(req *http.Request) (*http.Response, error) + func (client QueryClient) UsageBySubscription(ctx context.Context, parameters ReportConfigDefinition) (result QueryResult, err error) + func (client QueryClient) UsageBySubscriptionPreparer(ctx context.Context, parameters ReportConfigDefinition) (*http.Request, error) + func (client QueryClient) UsageBySubscriptionResponder(resp *http.Response) (result QueryResult, err error) + func (client QueryClient) UsageBySubscriptionSender(req *http.Request) (*http.Response, error) + type QueryColumn struct + Name *string + Type *string + type QueryProperties struct + Columns *[]QueryColumn + NextLink *string + Rows *[][]interface{} + type QueryResult struct + Value *[]Query + type ReportConfigAggregation struct + Function *string + Name *string + type ReportConfigColumnType string + const ReportConfigColumnTypeDimension + const ReportConfigColumnTypeTag + func PossibleReportConfigColumnTypeValues() []ReportConfigColumnType + type ReportConfigComparisonExpression struct + Name *string + Operator OperatorType + Values *[]string + type ReportConfigDataset struct + Aggregation map[string]*ReportConfigAggregation + Configuration *ReportConfigDatasetConfiguration + Filter *ReportConfigFilter + Granularity GranularityType + Grouping *[]ReportConfigGrouping + Sorting *[]ReportConfigSorting + func (rcd ReportConfigDataset) MarshalJSON() ([]byte, error) + type ReportConfigDatasetConfiguration struct + Columns *[]string + type ReportConfigDefinition struct + Dataset *ReportConfigDataset + TimePeriod *ReportConfigTimePeriod + Timeframe TimeframeType + Type *string + type ReportConfigFilter struct + And *[]ReportConfigFilter + Dimension *ReportConfigComparisonExpression + Not *ReportConfigFilter + Or *[]ReportConfigFilter + Tag *ReportConfigComparisonExpression + type ReportConfigGrouping struct + Name *string + Type ReportConfigColumnType + type ReportConfigSorting struct + Direction Direction + Name *string + 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 RuleType string + const RuleTypeCostAllocation + const RuleTypeCustomPrice + const RuleTypeShowbackRuleProperties + func PossibleRuleTypeValues() []RuleType + type Scope struct + ChildScope *Scope + ID *string + Name *string + Type *string + type ShowbackRule struct + ID *string + Name *string + Type *string + func (sr *ShowbackRule) UnmarshalJSON(body []byte) error + func (sr ShowbackRule) MarshalJSON() ([]byte, error) + type ShowbackRuleClient struct + func NewShowbackRuleClient(subscriptionID string) ShowbackRuleClient + func NewShowbackRuleClientWithBaseURI(baseURI string, subscriptionID string) ShowbackRuleClient + func (client ShowbackRuleClient) CreateUpdateRule(ctx context.Context, billingAccountID string, ruleName string, ...) (result ShowbackRule, err error) + func (client ShowbackRuleClient) CreateUpdateRulePreparer(ctx context.Context, billingAccountID string, ruleName string, ...) (*http.Request, error) + func (client ShowbackRuleClient) CreateUpdateRuleResponder(resp *http.Response) (result ShowbackRule, err error) + func (client ShowbackRuleClient) CreateUpdateRuleSender(req *http.Request) (*http.Response, error) + func (client ShowbackRuleClient) GetBillingAccountID(ctx context.Context, billingAccountID string, ruleName string) (result ShowbackRule, err error) + func (client ShowbackRuleClient) GetBillingAccountIDPreparer(ctx context.Context, billingAccountID string, ruleName string) (*http.Request, error) + func (client ShowbackRuleClient) GetBillingAccountIDResponder(resp *http.Response) (result ShowbackRule, err error) + func (client ShowbackRuleClient) GetBillingAccountIDSender(req *http.Request) (*http.Response, error) + type ShowbackRuleListResult struct + Value *[]ShowbackRule + type ShowbackRuleProperties struct + CreationTime *date.Time + DeprecationTime *date.Time + Description *string + ModificationTime *date.Time + RuleType RuleType + Scopes *[]Scope + Status ShowbackRuleStatus + Version *int32 + func (srp ShowbackRuleProperties) AsBasicShowbackRuleProperties() (BasicShowbackRuleProperties, bool) + func (srp ShowbackRuleProperties) AsCostAllocationDetailsKind() (*CostAllocationDetailsKind, bool) + func (srp ShowbackRuleProperties) AsCustomPriceDetailsKind() (*CustomPriceDetailsKind, bool) + func (srp ShowbackRuleProperties) AsShowbackRuleProperties() (*ShowbackRuleProperties, bool) + func (srp ShowbackRuleProperties) MarshalJSON() ([]byte, error) + type ShowbackRuleStatus string + const Active + const NotActive + func PossibleShowbackRuleStatusValues() []ShowbackRuleStatus + type ShowbackRulesClient struct + func NewShowbackRulesClient(subscriptionID string) ShowbackRulesClient + func NewShowbackRulesClientWithBaseURI(baseURI string, subscriptionID string) ShowbackRulesClient + func (client ShowbackRulesClient) List(ctx context.Context, billingAccountID string) (result ShowbackRuleListResult, err error) + func (client ShowbackRulesClient) ListPreparer(ctx context.Context, billingAccountID string) (*http.Request, error) + func (client ShowbackRulesClient) ListResponder(resp *http.Response) (result ShowbackRuleListResult, err error) + func (client ShowbackRulesClient) ListSender(req *http.Request) (*http.Response, error) + type TimeframeType string + const Custom + const MonthToDate + const WeekToDate + const YearToDate + func PossibleTimeframeTypeValues() []TimeframeType Other modules containing this package gopkg.in/Azure/azure-sdk-for-go.v30 gopkg.in/Azure/azure-sdk-for-go.v31 gopkg.in/Azure/azure-sdk-for-go.v32 gopkg.in/Azure/azure-sdk-for-go.v33 gopkg.in/Azure/azure-sdk-for-go.v34 gopkg.in/Azure/azure-sdk-for-go.v35 gopkg.in/Azure/azure-sdk-for-go.v37 gopkg.in/Azure/azure-sdk-for-go.v38 gopkg.in/Azure/azure-sdk-for-go.v39 gopkg.in/Azure/azure-sdk-for-go.v40 gopkg.in/Azure/azure-sdk-for-go.v41 gopkg.in/Azure/azure-sdk-for-go.v42 gopkg.in/Azure/azure-sdk-for-go.v43 gopkg.in/Azure/azure-sdk-for-go.v44 gopkg.in/Azure/azure-sdk-for-go.v45 gopkg.in/Azure/azure-sdk-for-go.v46 gopkg.in/Azure/azure-sdk-for-go.v48