costmanagementapi

package
v68.0.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 19, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Deprecated: Please note, this package has been deprecated. A replacement package is available github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/costmanagement/armcostmanagement(https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/costmanagement/armcostmanagement). We strongly encourage you to upgrade to continue receiving updates. See [Migration Guide](https://aka.ms/azsdk/golang/t2/migration) for guidance on upgrading. Refer to our [deprecation policy](https://azure.github.io/azure-sdk/policies_support.html) for more details.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CloudConnectorClientAPI

type CloudConnectorClientAPI interface {
	CreateOrUpdate(ctx context.Context, connectorName string, connector costmanagement.ConnectorDefinition) (result costmanagement.ConnectorDefinition, err error)
	Delete(ctx context.Context, connectorName string) (result autorest.Response, err error)
	Get(ctx context.Context, connectorName string, expand string) (result costmanagement.ConnectorDefinition, err error)
	List(ctx context.Context) (result costmanagement.ConnectorDefinitionListResult, err error)
	Update(ctx context.Context, connectorName string, connector costmanagement.ConnectorDefinition) (result costmanagement.ConnectorDefinition, err error)
}

CloudConnectorClientAPI contains the set of methods on the CloudConnectorClient type.

type ConnectorClientAPI

type ConnectorClientAPI interface {
	CheckEligibility(ctx context.Context, connectorCredentials costmanagement.CheckEligibilityDefinition) (result costmanagement.ConnectorDefinition, err error)
}

ConnectorClientAPI contains the set of methods on the ConnectorClient type.

type DimensionsClientAPI

type DimensionsClientAPI interface {
	ListByBillingAccount(ctx context.Context, billingAccountID string, filter string, expand string, skiptoken string, top *int32) (result costmanagement.DimensionsListResult, err error)
	ListByDepartment(ctx context.Context, billingAccountID string, departmentID string, filter string, expand string, skiptoken string, top *int32) (result costmanagement.DimensionsListResult, err error)
	ListByEnrollmentAccount(ctx context.Context, billingAccountID string, enrollmentAccountID string, filter string, expand string, skiptoken string, top *int32) (result costmanagement.DimensionsListResult, err error)
	ListByManagementGroup(ctx context.Context, managementGroupID string, filter string, expand string, skiptoken string, top *int32) (result costmanagement.DimensionsListResult, err error)
	ListByResourceGroup(ctx context.Context, resourceGroupName string, filter string, expand string, skiptoken string, top *int32) (result costmanagement.DimensionsListResult, err error)
	ListBySubscription(ctx context.Context, filter string, expand string, skiptoken string, top *int32) (result costmanagement.DimensionsListResult, err error)
}

DimensionsClientAPI contains the set of methods on the DimensionsClient type.

type ExternalBillingAccountClientAPI

type ExternalBillingAccountClientAPI interface {
	Get(ctx context.Context, externalBillingAccountName string, expand string) (result costmanagement.ExternalBillingAccountDefinition, err error)
	List(ctx context.Context) (result costmanagement.ExternalBillingAccountDefinitionListResult, err error)
}

ExternalBillingAccountClientAPI contains the set of methods on the ExternalBillingAccountClient type.

type ExternalSubscriptionClientAPI

type ExternalSubscriptionClientAPI interface {
	Get(ctx context.Context, externalSubscriptionName string, expand string) (result costmanagement.ExternalSubscriptionDefinition, err error)
	List(ctx context.Context) (result costmanagement.ExternalSubscriptionDefinitionListResult, err error)
	ListByExternalBillingAccount(ctx context.Context, externalBillingAccountName string) (result costmanagement.ExternalSubscriptionDefinitionListResult, err error)
	ListByManagementGroup(ctx context.Context, managementGroupID string, recurse *bool) (result costmanagement.ExternalSubscriptionDefinitionListResult, err error)
	UpdateManagementGroup(ctx context.Context, managementGroupID string, externalSubscriptionName string) (result autorest.Response, err error)
}

ExternalSubscriptionClientAPI contains the set of methods on the ExternalSubscriptionClient type.

type ForecastClientAPI

type ForecastClientAPI interface {
	UsageByBillingAccount(ctx context.Context, billingAccountID string, parameters costmanagement.ReportConfigDefinition) (result costmanagement.QueryResult, err error)
	UsageByDepartment(ctx context.Context, billingAccountID string, departmentID string, parameters costmanagement.ReportConfigDefinition) (result costmanagement.QueryResult, err error)
	UsageByEnrollmentAccount(ctx context.Context, billingAccountID string, enrollmentAccountID string, parameters costmanagement.ReportConfigDefinition) (result costmanagement.QueryResult, err error)
	UsageByExternalBillingAccount(ctx context.Context, externalBillingAccountName string, parameters costmanagement.ReportConfigDefinition) (result costmanagement.QueryResult, err error)
	UsageByManagementGroup(ctx context.Context, managementGroupID string, parameters costmanagement.ReportConfigDefinition) (result costmanagement.QueryResult, err error)
	UsageByResourceGroup(ctx context.Context, resourceGroupName string, parameters costmanagement.ReportConfigDefinition) (result costmanagement.QueryResult, err error)
	UsageBySubscription(ctx context.Context, parameters costmanagement.ReportConfigDefinition) (result costmanagement.QueryResult, err error)
}

ForecastClientAPI contains the set of methods on the ForecastClient type.

type OperationsClientAPI

type OperationsClientAPI interface {
	List(ctx context.Context) (result costmanagement.OperationListResultPage, err error)
	ListComplete(ctx context.Context) (result costmanagement.OperationListResultIterator, err error)
}

OperationsClientAPI contains the set of methods on the OperationsClient type.

type QueryClientAPI

type QueryClientAPI interface {
	UsageByBillingAccount(ctx context.Context, billingAccountID string, parameters costmanagement.ReportConfigDefinition) (result costmanagement.QueryResult, err error)
	UsageByDepartment(ctx context.Context, billingAccountID string, departmentID string, parameters costmanagement.ReportConfigDefinition) (result costmanagement.QueryResult, err error)
	UsageByEnrollmentAccount(ctx context.Context, billingAccountID string, enrollmentAccountID string, parameters costmanagement.ReportConfigDefinition) (result costmanagement.QueryResult, err error)
	UsageByManagementGroup(ctx context.Context, managementGroupID string, parameters costmanagement.ReportConfigDefinition) (result costmanagement.QueryResult, err error)
	UsageByResourceGroup(ctx context.Context, resourceGroupName string, parameters costmanagement.ReportConfigDefinition) (result costmanagement.QueryResult, err error)
	UsageBySubscription(ctx context.Context, parameters costmanagement.ReportConfigDefinition) (result costmanagement.QueryResult, err error)
}

QueryClientAPI contains the set of methods on the QueryClient type.

type ShowbackRuleClientAPI

type ShowbackRuleClientAPI interface {
	CreateUpdateRule(ctx context.Context, billingAccountID string, ruleName string, showbackRule costmanagement.ShowbackRule) (result costmanagement.ShowbackRule, err error)
	GetBillingAccountID(ctx context.Context, billingAccountID string, ruleName string) (result costmanagement.ShowbackRule, err error)
}

ShowbackRuleClientAPI contains the set of methods on the ShowbackRuleClient type.

type ShowbackRulesClientAPI

type ShowbackRulesClientAPI interface {
	List(ctx context.Context, billingAccountID string) (result costmanagement.ShowbackRuleListResult, err error)
}

ShowbackRulesClientAPI contains the set of methods on the ShowbackRulesClient type.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL