costmanagementapi

package
v40.6.0 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlertsClientAPI

type AlertsClientAPI interface {
	GetAlertByManagementGroups(ctx context.Context, managementGroupID string, alertID string) (result costmanagement.Alert, err error)
	GetByAccount(ctx context.Context, billingAccountID string, enrollmentAccountID string, alertID string) (result costmanagement.Alert, err error)
	GetByDepartment(ctx context.Context, billingAccountID string, departmentID string, alertID string) (result costmanagement.Alert, err error)
	GetByEnrollment(ctx context.Context, billingAccountID string, alertID string) (result costmanagement.Alert, err error)
	GetByResourceGroupName(ctx context.Context, resourceGroupName string, alertID string) (result costmanagement.Alert, err error)
	GetBySubscription(ctx context.Context, alertID string) (result costmanagement.Alert, err error)
	List(ctx context.Context, filter string, skiptoken string, top *int32) (result costmanagement.AlertListResultPage, err error)
	ListComplete(ctx context.Context, filter string, skiptoken string, top *int32) (result costmanagement.AlertListResultIterator, err error)
	ListByAccount(ctx context.Context, billingAccountID string, enrollmentAccountID string, filter string, skiptoken string, top *int32) (result costmanagement.AlertListResultPage, err error)
	ListByAccountComplete(ctx context.Context, billingAccountID string, enrollmentAccountID string, filter string, skiptoken string, top *int32) (result costmanagement.AlertListResultIterator, err error)
	ListByDepartment(ctx context.Context, billingAccountID string, departmentID string, filter string, skiptoken string, top *int32) (result costmanagement.AlertListResultPage, err error)
	ListByDepartmentComplete(ctx context.Context, billingAccountID string, departmentID string, filter string, skiptoken string, top *int32) (result costmanagement.AlertListResultIterator, err error)
	ListByEnrollment(ctx context.Context, billingAccountID string, filter string, skiptoken string, top *int32) (result costmanagement.AlertListResultPage, err error)
	ListByEnrollmentComplete(ctx context.Context, billingAccountID string, filter string, skiptoken string, top *int32) (result costmanagement.AlertListResultIterator, err error)
	ListByManagementGroups(ctx context.Context, managementGroupID string, filter string, skiptoken string, top *int32) (result costmanagement.AlertListResultPage, err error)
	ListByManagementGroupsComplete(ctx context.Context, managementGroupID string, filter string, skiptoken string, top *int32) (result costmanagement.AlertListResultIterator, err error)
	ListByResourceGroupName(ctx context.Context, resourceGroupName string, filter string, skiptoken string, top *int32) (result costmanagement.AlertListResultPage, err error)
	ListByResourceGroupNameComplete(ctx context.Context, resourceGroupName string, filter string, skiptoken string, top *int32) (result costmanagement.AlertListResultIterator, err error)
	UpdateBillingAccountAlertStatus(ctx context.Context, billingAccountID string, alertID string, parameters costmanagement.Alert) (result costmanagement.Alert, err error)
	UpdateDepartmentsAlertStatus(ctx context.Context, billingAccountID string, departmentID string, alertID string, parameters costmanagement.Alert) (result costmanagement.Alert, err error)
	UpdateEnrollmentAccountAlertStatus(ctx context.Context, billingAccountID string, enrollmentAccountID string, alertID string, parameters costmanagement.Alert) (result costmanagement.Alert, err error)
	UpdateManagementGroupAlertStatus(ctx context.Context, managementGroupID string, alertID string, parameters costmanagement.Alert) (result costmanagement.Alert, err error)
	UpdateResourceGroupNameAlertStatus(ctx context.Context, resourceGroupName string, alertID string, parameters costmanagement.Alert) (result costmanagement.Alert, err error)
	UpdateSubscriptionAlertStatus(ctx context.Context, alertID string, parameters costmanagement.Alert) (result costmanagement.Alert, err error)
}

AlertsClientAPI contains the set of methods on the AlertsClient type.

type BaseClientAPI

type BaseClientAPI interface {
	QueryBillingAccount(ctx context.Context, billingAccountID string, parameters costmanagement.ReportDefinition) (result costmanagement.QueryResult, err error)
	QueryResourceGroup(ctx context.Context, resourceGroupName string, parameters costmanagement.ReportDefinition) (result costmanagement.QueryResult, err error)
	QuerySubscription(ctx context.Context, parameters costmanagement.ReportDefinition) (result costmanagement.QueryResult, err error)
}

BaseClientAPI contains the set of methods on the BaseClient type.

type BillingAccountDimensionsClientAPI

type BillingAccountDimensionsClientAPI interface {
	List(ctx context.Context, billingAccountID string, filter string, expand string, skiptoken string, top *int32) (result costmanagement.DimensionsListResult, err error)
}

BillingAccountDimensionsClientAPI contains the set of methods on the BillingAccountDimensionsClient type.

type ConnectorClientAPI

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

ConnectorClientAPI contains the set of methods on the ConnectorClient 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 ReportsClientAPI

type ReportsClientAPI interface {
	CreateOrUpdate(ctx context.Context, reportName string, parameters costmanagement.Report) (result costmanagement.Report, err error)
	CreateOrUpdateByBillingAccount(ctx context.Context, billingAccountID string, reportName string, parameters costmanagement.Report) (result costmanagement.Report, err error)
	CreateOrUpdateByDepartment(ctx context.Context, departmentID string, reportName string, parameters costmanagement.Report) (result costmanagement.Report, err error)
	CreateOrUpdateByResourceGroupName(ctx context.Context, resourceGroupName string, reportName string, parameters costmanagement.Report) (result costmanagement.Report, err error)
	Delete(ctx context.Context, reportName string) (result autorest.Response, err error)
	DeleteByBillingAccount(ctx context.Context, billingAccountID string, reportName string) (result autorest.Response, err error)
	DeleteByDepartment(ctx context.Context, departmentID string, reportName string) (result autorest.Response, err error)
	DeleteByResourceGroupName(ctx context.Context, resourceGroupName string, reportName string) (result autorest.Response, err error)
	Execute(ctx context.Context, reportName string) (result autorest.Response, err error)
	ExecuteByBillingAccount(ctx context.Context, billingAccountID string, reportName string) (result autorest.Response, err error)
	ExecuteByDepartment(ctx context.Context, departmentID string, reportName string) (result autorest.Response, err error)
	ExecuteByResourceGroupName(ctx context.Context, resourceGroupName string, reportName string) (result autorest.Response, err error)
	Get(ctx context.Context, reportName string) (result costmanagement.Report, err error)
	GetByBillingAccount(ctx context.Context, billingAccountID string, reportName string) (result costmanagement.Report, err error)
	GetByDepartment(ctx context.Context, departmentID string, reportName string) (result costmanagement.Report, err error)
	GetByResourceGroupName(ctx context.Context, resourceGroupName string, reportName string) (result costmanagement.Report, err error)
	GetExecutionHistory(ctx context.Context, reportName string) (result costmanagement.ReportExecutionListResult, err error)
	GetExecutionHistoryByBillingAccount(ctx context.Context, billingAccountID string, reportName string) (result costmanagement.ReportExecutionListResult, err error)
	GetExecutionHistoryByDepartment(ctx context.Context, departmentID string, reportName string) (result costmanagement.ReportExecutionListResult, err error)
	GetExecutionHistoryByResourceGroupName(ctx context.Context, resourceGroupName string, reportName string) (result costmanagement.ReportExecutionListResult, err error)
	List(ctx context.Context) (result costmanagement.ReportListResult, err error)
	ListByBillingAccount(ctx context.Context, billingAccountID string) (result costmanagement.ReportListResult, err error)
	ListByDepartment(ctx context.Context, departmentID string) (result costmanagement.ReportListResult, err error)
	ListByResourceGroupName(ctx context.Context, resourceGroupName string) (result costmanagement.ReportListResult, err error)
}

ReportsClientAPI contains the set of methods on the ReportsClient type.

type ResourceGroupDimensionsClientAPI

type ResourceGroupDimensionsClientAPI interface {
	List(ctx context.Context, resourceGroupName string, filter string, expand string, skiptoken string, top *int32) (result costmanagement.DimensionsListResult, err error)
}

ResourceGroupDimensionsClientAPI contains the set of methods on the ResourceGroupDimensionsClient type.

type SubscriptionDimensionsClientAPI

type SubscriptionDimensionsClientAPI interface {
	List(ctx context.Context, filter string, expand string, skiptoken string, top *int32) (result costmanagement.DimensionsListResult, err error)
}

SubscriptionDimensionsClientAPI contains the set of methods on the SubscriptionDimensionsClient type.

Jump to

Keyboard shortcuts

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