Versions in this module Expand all Collapse all v24 v24.1.0 Jan 15, 2019 v24.0.0 Dec 19, 2018 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 Bound string + const Lower + const Upper + func PossibleBoundValues() []Bound + type ChargeType string + const ChargeTypeActual + const ChargeTypeForecast + func PossibleChargeTypeValues() []ChargeType + type ErrorDetails struct + Code *string + Message *string + type ErrorResponse struct + Error *ErrorDetails + type Forecast struct + ID *string + Name *string + Tags map[string]*string + Type *string + func (f *Forecast) UnmarshalJSON(body []byte) error + func (f Forecast) MarshalJSON() ([]byte, error) + type ForecastProperties struct + Charge *decimal.Decimal + ChargeType ChargeType + ConfidenceLevels *[]ForecastPropertiesConfidenceLevelsItem + Currency *string + Grain Grain + UsageDate *string + type ForecastPropertiesConfidenceLevelsItem struct + Bound Bound + Percentage *decimal.Decimal + Value *decimal.Decimal + type ForecastsClient struct + func NewForecastsClient(subscriptionID string) ForecastsClient + func NewForecastsClientWithBaseURI(baseURI string, subscriptionID string) ForecastsClient + func (client ForecastsClient) List(ctx context.Context, filter string) (result ForecastsListResult, err error) + func (client ForecastsClient) ListPreparer(ctx context.Context, filter string) (*http.Request, error) + func (client ForecastsClient) ListResponder(resp *http.Response) (result ForecastsListResult, err error) + func (client ForecastsClient) ListSender(req *http.Request) (*http.Response, error) + type ForecastsListResult struct + Value *[]Forecast + type Grain string + const Daily + const Monthly + const Yearly + func PossibleGrainValues() []Grain + type MeterDetails struct + MeterCategory *string + MeterLocation *string + MeterName *string + MeterSubCategory *string + PretaxStandardRate *decimal.Decimal + TotalIncludedQuantity *decimal.Decimal + Unit *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 PriceSheetClient struct + func NewPriceSheetClient(subscriptionID string) PriceSheetClient + func NewPriceSheetClientWithBaseURI(baseURI string, subscriptionID string) PriceSheetClient + func (client PriceSheetClient) Get(ctx context.Context, expand string, skiptoken string, top *int32) (result PriceSheetResult, err error) + func (client PriceSheetClient) GetByBillingPeriod(ctx context.Context, billingPeriodName string, expand string, skiptoken string, ...) (result PriceSheetResult, err error) + func (client PriceSheetClient) GetByBillingPeriodPreparer(ctx context.Context, billingPeriodName string, expand string, skiptoken string, ...) (*http.Request, error) + func (client PriceSheetClient) GetByBillingPeriodResponder(resp *http.Response) (result PriceSheetResult, err error) + func (client PriceSheetClient) GetByBillingPeriodSender(req *http.Request) (*http.Response, error) + func (client PriceSheetClient) GetPreparer(ctx context.Context, expand string, skiptoken string, top *int32) (*http.Request, error) + func (client PriceSheetClient) GetResponder(resp *http.Response) (result PriceSheetResult, err error) + func (client PriceSheetClient) GetSender(req *http.Request) (*http.Response, error) + type PriceSheetModel struct + NextLink *string + Pricesheets *[]PriceSheetProperties + type PriceSheetProperties struct + BillingPeriodID *string + CurrencyCode *string + IncludedQuantity *decimal.Decimal + MeterDetails *MeterDetails + MeterID *uuid.UUID + OfferID *string + PartNumber *string + UnitOfMeasure *string + UnitPrice *decimal.Decimal + type PriceSheetResult struct + ID *string + Name *string + Tags map[string]*string + Type *string + func (psr *PriceSheetResult) UnmarshalJSON(body []byte) error + func (psr PriceSheetResult) MarshalJSON() ([]byte, error) + type Resource struct + ID *string + Name *string + Tags map[string]*string + Type *string + func (r Resource) MarshalJSON() ([]byte, error) + type UsageDetail struct + ID *string + Name *string + Tags map[string]*string + Type *string + func (ud *UsageDetail) UnmarshalJSON(body []byte) error + func (ud UsageDetail) MarshalJSON() ([]byte, error) + type UsageDetailProperties struct + AccountName *string + AdditionalProperties *string + BillableQuantity *decimal.Decimal + BillingPeriodID *string + ChargesBilledSeparately *bool + ConsumedService *string + CostCenter *string + Currency *string + DepartmentName *string + InstanceID *string + InstanceLocation *string + InstanceName *string + InvoiceID *string + IsEstimated *bool + MeterDetails *MeterDetails + MeterID *uuid.UUID + OfferID *string + PartNumber *string + PretaxCost *decimal.Decimal + Product *string + ResourceGUID *string + SubscriptionGUID *uuid.UUID + SubscriptionName *string + UsageEnd *date.Time + UsageQuantity *decimal.Decimal + UsageStart *date.Time + type UsageDetailsClient struct + func NewUsageDetailsClient(subscriptionID string) UsageDetailsClient + func NewUsageDetailsClientWithBaseURI(baseURI string, subscriptionID string) UsageDetailsClient + func (client UsageDetailsClient) List(ctx context.Context, expand string, filter string, skiptoken string, ...) (result UsageDetailsListResultPage, err error) + func (client UsageDetailsClient) ListByBillingAccount(ctx context.Context, billingAccountID string, expand string, filter string, ...) (result UsageDetailsListResultPage, err error) + func (client UsageDetailsClient) ListByBillingAccountComplete(ctx context.Context, billingAccountID string, expand string, filter string, ...) (result UsageDetailsListResultIterator, err error) + func (client UsageDetailsClient) ListByBillingAccountPreparer(ctx context.Context, billingAccountID string, expand string, filter string, ...) (*http.Request, error) + func (client UsageDetailsClient) ListByBillingAccountResponder(resp *http.Response) (result UsageDetailsListResult, err error) + func (client UsageDetailsClient) ListByBillingAccountSender(req *http.Request) (*http.Response, error) + func (client UsageDetailsClient) ListByBillingPeriod(ctx context.Context, billingPeriodName string, expand string, filter string, ...) (result UsageDetailsListResultPage, err error) + func (client UsageDetailsClient) ListByBillingPeriodComplete(ctx context.Context, billingPeriodName string, expand string, filter string, ...) (result UsageDetailsListResultIterator, err error) + func (client UsageDetailsClient) ListByBillingPeriodPreparer(ctx context.Context, billingPeriodName string, expand string, filter string, ...) (*http.Request, error) + func (client UsageDetailsClient) ListByBillingPeriodResponder(resp *http.Response) (result UsageDetailsListResult, err error) + func (client UsageDetailsClient) ListByBillingPeriodSender(req *http.Request) (*http.Response, error) + func (client UsageDetailsClient) ListByDepartment(ctx context.Context, departmentID string, expand string, filter string, ...) (result UsageDetailsListResultPage, err error) + func (client UsageDetailsClient) ListByDepartmentComplete(ctx context.Context, departmentID string, expand string, filter string, ...) (result UsageDetailsListResultIterator, err error) + func (client UsageDetailsClient) ListByDepartmentPreparer(ctx context.Context, departmentID string, expand string, filter string, ...) (*http.Request, error) + func (client UsageDetailsClient) ListByDepartmentResponder(resp *http.Response) (result UsageDetailsListResult, err error) + func (client UsageDetailsClient) ListByDepartmentSender(req *http.Request) (*http.Response, error) + func (client UsageDetailsClient) ListByEnrollmentAccount(ctx context.Context, enrollmentAccountID string, expand string, filter string, ...) (result UsageDetailsListResultPage, err error) + func (client UsageDetailsClient) ListByEnrollmentAccountComplete(ctx context.Context, enrollmentAccountID string, expand string, filter string, ...) (result UsageDetailsListResultIterator, err error) + func (client UsageDetailsClient) ListByEnrollmentAccountPreparer(ctx context.Context, enrollmentAccountID string, expand string, filter string, ...) (*http.Request, error) + func (client UsageDetailsClient) ListByEnrollmentAccountResponder(resp *http.Response) (result UsageDetailsListResult, err error) + func (client UsageDetailsClient) ListByEnrollmentAccountSender(req *http.Request) (*http.Response, error) + func (client UsageDetailsClient) ListComplete(ctx context.Context, expand string, filter string, skiptoken string, ...) (result UsageDetailsListResultIterator, err error) + func (client UsageDetailsClient) ListForBillingPeriodByBillingAccount(ctx context.Context, billingAccountID string, billingPeriodName string, ...) (result UsageDetailsListResultPage, err error) + func (client UsageDetailsClient) ListForBillingPeriodByBillingAccountComplete(ctx context.Context, billingAccountID string, billingPeriodName string, ...) (result UsageDetailsListResultIterator, err error) + func (client UsageDetailsClient) ListForBillingPeriodByBillingAccountPreparer(ctx context.Context, billingAccountID string, billingPeriodName string, ...) (*http.Request, error) + func (client UsageDetailsClient) ListForBillingPeriodByBillingAccountResponder(resp *http.Response) (result UsageDetailsListResult, err error) + func (client UsageDetailsClient) ListForBillingPeriodByBillingAccountSender(req *http.Request) (*http.Response, error) + func (client UsageDetailsClient) ListForBillingPeriodByDepartment(ctx context.Context, departmentID string, billingPeriodName string, ...) (result UsageDetailsListResultPage, err error) + func (client UsageDetailsClient) ListForBillingPeriodByDepartmentComplete(ctx context.Context, departmentID string, billingPeriodName string, ...) (result UsageDetailsListResultIterator, err error) + func (client UsageDetailsClient) ListForBillingPeriodByDepartmentPreparer(ctx context.Context, departmentID string, billingPeriodName string, ...) (*http.Request, error) + func (client UsageDetailsClient) ListForBillingPeriodByDepartmentResponder(resp *http.Response) (result UsageDetailsListResult, err error) + func (client UsageDetailsClient) ListForBillingPeriodByDepartmentSender(req *http.Request) (*http.Response, error) + func (client UsageDetailsClient) ListForBillingPeriodByEnrollmentAccount(ctx context.Context, enrollmentAccountID string, billingPeriodName string, ...) (result UsageDetailsListResultPage, err error) + func (client UsageDetailsClient) ListForBillingPeriodByEnrollmentAccountComplete(ctx context.Context, enrollmentAccountID string, billingPeriodName string, ...) (result UsageDetailsListResultIterator, err error) + func (client UsageDetailsClient) ListForBillingPeriodByEnrollmentAccountPreparer(ctx context.Context, enrollmentAccountID string, billingPeriodName string, ...) (*http.Request, error) + func (client UsageDetailsClient) ListForBillingPeriodByEnrollmentAccountResponder(resp *http.Response) (result UsageDetailsListResult, err error) + func (client UsageDetailsClient) ListForBillingPeriodByEnrollmentAccountSender(req *http.Request) (*http.Response, error) + func (client UsageDetailsClient) ListPreparer(ctx context.Context, expand string, filter string, skiptoken string, ...) (*http.Request, error) + func (client UsageDetailsClient) ListResponder(resp *http.Response) (result UsageDetailsListResult, err error) + func (client UsageDetailsClient) ListSender(req *http.Request) (*http.Response, error) + type UsageDetailsListResult struct + NextLink *string + Value *[]UsageDetail + func (udlr UsageDetailsListResult) IsEmpty() bool + type UsageDetailsListResultIterator struct + func NewUsageDetailsListResultIterator(page UsageDetailsListResultPage) UsageDetailsListResultIterator + func (iter *UsageDetailsListResultIterator) Next() error + func (iter *UsageDetailsListResultIterator) NextWithContext(ctx context.Context) (err error) + func (iter UsageDetailsListResultIterator) NotDone() bool + func (iter UsageDetailsListResultIterator) Response() UsageDetailsListResult + func (iter UsageDetailsListResultIterator) Value() UsageDetail + type UsageDetailsListResultPage struct + func NewUsageDetailsListResultPage(...) UsageDetailsListResultPage + func (page *UsageDetailsListResultPage) Next() error + func (page *UsageDetailsListResultPage) NextWithContext(ctx context.Context) (err error) + func (page UsageDetailsListResultPage) NotDone() bool + func (page UsageDetailsListResultPage) Response() UsageDetailsListResult + func (page UsageDetailsListResultPage) Values() []UsageDetail Other modules containing this package gopkg.in/Azure/azure-sdk-for-go.v17 gopkg.in/Azure/azure-sdk-for-go.v18 gopkg.in/Azure/azure-sdk-for-go.v19 gopkg.in/Azure/azure-sdk-for-go.v20 gopkg.in/Azure/azure-sdk-for-go.v21 gopkg.in/Azure/azure-sdk-for-go.v22 gopkg.in/Azure/azure-sdk-for-go.v23 gopkg.in/Azure/azure-sdk-for-go.v25 gopkg.in/Azure/azure-sdk-for-go.v26 gopkg.in/Azure/azure-sdk-for-go.v27 gopkg.in/Azure/azure-sdk-for-go.v28 gopkg.in/Azure/azure-sdk-for-go.v29 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.v36 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