Versions in this module Expand all Collapse all v28 v28.1.0 Apr 29, 2019 v28.0.0 Apr 26, 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 Datagrain string + const DailyGrain + const MonthlyGrain + func PossibleDatagrainValues() []Datagrain + type ErrorDetails struct + Code *string + Message *string + type ErrorResponse struct + Error *ErrorDetails + 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 ReservationDetails struct + ID *string + Name *string + Tags map[string]*string + Type *string + func (rd *ReservationDetails) UnmarshalJSON(body []byte) error + func (rd ReservationDetails) MarshalJSON() ([]byte, error) + type ReservationDetailsListResult struct + Value *[]ReservationDetails + type ReservationDetailsProperties struct + InstanceID *string + ReservationID *string + ReservationOrderID *string + ReservedHours *decimal.Decimal + SkuName *string + TotalReservedQuantity *decimal.Decimal + UsageDate *date.Time + UsedHours *decimal.Decimal + type ReservationSummaries struct + ID *string + Name *string + Tags map[string]*string + Type *string + func (rs *ReservationSummaries) UnmarshalJSON(body []byte) error + func (rs ReservationSummaries) MarshalJSON() ([]byte, error) + type ReservationSummariesListResult struct + Value *[]ReservationSummaries + type ReservationSummariesProperties struct + AvgUtilizationPercentage *decimal.Decimal + MaxUtilizationPercentage *decimal.Decimal + MinUtilizationPercentage *decimal.Decimal + ReservationID *string + ReservationOrderID *string + ReservedHours *decimal.Decimal + SkuName *string + UsageDate *date.Time + UsedHours *decimal.Decimal + type ReservationsDetailsClient struct + func NewReservationsDetailsClient(subscriptionID string) ReservationsDetailsClient + func NewReservationsDetailsClientWithBaseURI(baseURI string, subscriptionID string) ReservationsDetailsClient + func (client ReservationsDetailsClient) List(ctx context.Context, scope string, filter string) (result ReservationDetailsListResult, err error) + func (client ReservationsDetailsClient) ListPreparer(ctx context.Context, scope string, filter string) (*http.Request, error) + func (client ReservationsDetailsClient) ListResponder(resp *http.Response) (result ReservationDetailsListResult, err error) + func (client ReservationsDetailsClient) ListSender(req *http.Request) (*http.Response, error) + type ReservationsSummariesClient struct + func NewReservationsSummariesClient(subscriptionID string) ReservationsSummariesClient + func NewReservationsSummariesClientWithBaseURI(baseURI string, subscriptionID string) ReservationsSummariesClient + func (client ReservationsSummariesClient) List(ctx context.Context, scope string, grain Datagrain, filter string) (result ReservationSummariesListResult, err error) + func (client ReservationsSummariesClient) ListPreparer(ctx context.Context, scope string, grain Datagrain, filter string) (*http.Request, error) + func (client ReservationsSummariesClient) ListResponder(resp *http.Response) (result ReservationSummariesListResult, err error) + func (client ReservationsSummariesClient) ListSender(req *http.Request) (*http.Response, 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 + ConsumedService *string + CostCenter *string + Currency *string + DepartmentName *string + InstanceID *string + InstanceLocation *string + InstanceName *string + InvoiceID *string + IsEstimated *bool + MeterDetails *MeterDetails + MeterID *string + PretaxCost *decimal.Decimal + Product *string + SubscriptionGUID *string + 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, scope string, expand string, filter string, ...) (result UsageDetailsListResultPage, err error) + func (client UsageDetailsClient) ListComplete(ctx context.Context, scope string, expand string, filter string, ...) (result UsageDetailsListResultIterator, err error) + func (client UsageDetailsClient) ListPreparer(ctx context.Context, scope string, expand string, filter 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.v15 gopkg.in/Azure/azure-sdk-for-go.v16 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.v24 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.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