Versions in this module Expand all Collapse all v18 v18.1.0 Jul 13, 2018 v18.0.0 Jul 3, 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 Budget struct + ETag *string + ID *string + Name *string + Type *string + func (b *Budget) UnmarshalJSON(body []byte) error + func (b Budget) MarshalJSON() ([]byte, error) + type BudgetProperties struct + Amount *decimal.Decimal + Category CategoryType + CurrentSpend *CurrentSpend + Filters *Filters + Notifications map[string]*Notification + TimeGrain TimeGrainType + TimePeriod *BudgetTimePeriod + func (bp BudgetProperties) MarshalJSON() ([]byte, error) + type BudgetTimePeriod struct + EndDate *date.Time + StartDate *date.Time + type BudgetsClient struct + func NewBudgetsClient(subscriptionID string) BudgetsClient + func NewBudgetsClientWithBaseURI(baseURI string, subscriptionID string) BudgetsClient + func (client BudgetsClient) CreateOrUpdate(ctx context.Context, budgetName string, parameters Budget) (result Budget, err error) + func (client BudgetsClient) CreateOrUpdateByResourceGroupName(ctx context.Context, resourceGroupName string, budgetName string, ...) (result Budget, err error) + func (client BudgetsClient) CreateOrUpdateByResourceGroupNamePreparer(ctx context.Context, resourceGroupName string, budgetName string, ...) (*http.Request, error) + func (client BudgetsClient) CreateOrUpdateByResourceGroupNameResponder(resp *http.Response) (result Budget, err error) + func (client BudgetsClient) CreateOrUpdateByResourceGroupNameSender(req *http.Request) (*http.Response, error) + func (client BudgetsClient) CreateOrUpdatePreparer(ctx context.Context, budgetName string, parameters Budget) (*http.Request, error) + func (client BudgetsClient) CreateOrUpdateResponder(resp *http.Response) (result Budget, err error) + func (client BudgetsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) + func (client BudgetsClient) Delete(ctx context.Context, budgetName string) (result autorest.Response, err error) + func (client BudgetsClient) DeleteByResourceGroupName(ctx context.Context, resourceGroupName string, budgetName string) (result autorest.Response, err error) + func (client BudgetsClient) DeleteByResourceGroupNamePreparer(ctx context.Context, resourceGroupName string, budgetName string) (*http.Request, error) + func (client BudgetsClient) DeleteByResourceGroupNameResponder(resp *http.Response) (result autorest.Response, err error) + func (client BudgetsClient) DeleteByResourceGroupNameSender(req *http.Request) (*http.Response, error) + func (client BudgetsClient) DeletePreparer(ctx context.Context, budgetName string) (*http.Request, error) + func (client BudgetsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) + func (client BudgetsClient) DeleteSender(req *http.Request) (*http.Response, error) + func (client BudgetsClient) Get(ctx context.Context, budgetName string) (result Budget, err error) + func (client BudgetsClient) GetByResourceGroupName(ctx context.Context, resourceGroupName string, budgetName string) (result Budget, err error) + func (client BudgetsClient) GetByResourceGroupNamePreparer(ctx context.Context, resourceGroupName string, budgetName string) (*http.Request, error) + func (client BudgetsClient) GetByResourceGroupNameResponder(resp *http.Response) (result Budget, err error) + func (client BudgetsClient) GetByResourceGroupNameSender(req *http.Request) (*http.Response, error) + func (client BudgetsClient) GetPreparer(ctx context.Context, budgetName string) (*http.Request, error) + func (client BudgetsClient) GetResponder(resp *http.Response) (result Budget, err error) + func (client BudgetsClient) GetSender(req *http.Request) (*http.Response, error) + func (client BudgetsClient) List(ctx context.Context) (result BudgetsListResultPage, err error) + func (client BudgetsClient) ListByResourceGroupName(ctx context.Context, resourceGroupName string) (result BudgetsListResultPage, err error) + func (client BudgetsClient) ListByResourceGroupNameComplete(ctx context.Context, resourceGroupName string) (result BudgetsListResultIterator, err error) + func (client BudgetsClient) ListByResourceGroupNamePreparer(ctx context.Context, resourceGroupName string) (*http.Request, error) + func (client BudgetsClient) ListByResourceGroupNameResponder(resp *http.Response) (result BudgetsListResult, err error) + func (client BudgetsClient) ListByResourceGroupNameSender(req *http.Request) (*http.Response, error) + func (client BudgetsClient) ListComplete(ctx context.Context) (result BudgetsListResultIterator, err error) + func (client BudgetsClient) ListPreparer(ctx context.Context) (*http.Request, error) + func (client BudgetsClient) ListResponder(resp *http.Response) (result BudgetsListResult, err error) + func (client BudgetsClient) ListSender(req *http.Request) (*http.Response, error) + type BudgetsListResult struct + NextLink *string + Value *[]Budget + func (blr BudgetsListResult) IsEmpty() bool + type BudgetsListResultIterator struct + func (iter *BudgetsListResultIterator) Next() error + func (iter BudgetsListResultIterator) NotDone() bool + func (iter BudgetsListResultIterator) Response() BudgetsListResult + func (iter BudgetsListResultIterator) Value() Budget + type BudgetsListResultPage struct + func (page *BudgetsListResultPage) Next() error + func (page BudgetsListResultPage) NotDone() bool + func (page BudgetsListResultPage) Response() BudgetsListResult + func (page BudgetsListResultPage) Values() []Budget + type CategoryType string + const Cost + const Usage + func PossibleCategoryTypeValues() []CategoryType + type CurrentSpend struct + Amount *decimal.Decimal + Unit *string + type Datagrain string + const DailyGrain + const MonthlyGrain + func PossibleDatagrainValues() []Datagrain + type ErrorDetails struct + Code *string + Message *string + type ErrorResponse struct + Error *ErrorDetails + type Filters struct + Meters *[]string + ResourceGroups *[]string + Resources *[]string + type Marketplace struct + ID *string + Name *string + Tags map[string]*string + Type *string + func (mVar *Marketplace) UnmarshalJSON(body []byte) error + func (mVar Marketplace) MarshalJSON() ([]byte, error) + type MarketplaceProperties struct + AccountName *string + AdditionalProperties *string + BillingPeriodID *string + ConsumedQuantity *decimal.Decimal + ConsumedService *string + CostCenter *string + Currency *string + DepartmentName *string + InstanceID *string + InstanceName *string + IsEstimated *bool + MeterID *string + OfferName *string + OrderNumber *string + PlanName *string + PretaxCost *decimal.Decimal + PublisherName *string + ResourceGroup *string + ResourceRate *decimal.Decimal + SubscriptionGUID *string + SubscriptionName *string + UnitOfMeasure *string + UsageEnd *date.Time + UsageStart *date.Time + type MarketplacesClient struct + func NewMarketplacesClient(subscriptionID string) MarketplacesClient + func NewMarketplacesClientWithBaseURI(baseURI string, subscriptionID string) MarketplacesClient + func (client MarketplacesClient) List(ctx context.Context, filter string, top *int32, skiptoken string) (result MarketplacesListResultPage, err error) + func (client MarketplacesClient) ListByBillingPeriod(ctx context.Context, billingPeriodName string, filter string, top *int32, ...) (result MarketplacesListResultPage, err error) + func (client MarketplacesClient) ListByBillingPeriodComplete(ctx context.Context, billingPeriodName string, filter string, top *int32, ...) (result MarketplacesListResultIterator, err error) + func (client MarketplacesClient) ListByBillingPeriodPreparer(ctx context.Context, billingPeriodName string, filter string, top *int32, ...) (*http.Request, error) + func (client MarketplacesClient) ListByBillingPeriodResponder(resp *http.Response) (result MarketplacesListResult, err error) + func (client MarketplacesClient) ListByBillingPeriodSender(req *http.Request) (*http.Response, error) + func (client MarketplacesClient) ListComplete(ctx context.Context, filter string, top *int32, skiptoken string) (result MarketplacesListResultIterator, err error) + func (client MarketplacesClient) ListPreparer(ctx context.Context, filter string, top *int32, skiptoken string) (*http.Request, error) + func (client MarketplacesClient) ListResponder(resp *http.Response) (result MarketplacesListResult, err error) + func (client MarketplacesClient) ListSender(req *http.Request) (*http.Response, error) + type MarketplacesListResult struct + NextLink *string + Value *[]Marketplace + func (mlr MarketplacesListResult) IsEmpty() bool + type MarketplacesListResultIterator struct + func (iter *MarketplacesListResultIterator) Next() error + func (iter MarketplacesListResultIterator) NotDone() bool + func (iter MarketplacesListResultIterator) Response() MarketplacesListResult + func (iter MarketplacesListResultIterator) Value() Marketplace + type MarketplacesListResultPage struct + func (page *MarketplacesListResultPage) Next() error + func (page MarketplacesListResultPage) NotDone() bool + func (page MarketplacesListResultPage) Response() MarketplacesListResult + func (page MarketplacesListResultPage) Values() []Marketplace + type MeterDetails struct + MeterCategory *string + MeterLocation *string + MeterName *string + MeterSubCategory *string + PretaxStandardRate *decimal.Decimal + TotalIncludedQuantity *decimal.Decimal + Unit *string + type Notification struct + ContactEmails *[]string + ContactGroups *[]string + ContactRoles *[]string + Enabled *bool + Operator OperatorType + Threshold *decimal.Decimal + 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 (iter *OperationListResultIterator) Next() error + func (iter OperationListResultIterator) NotDone() bool + func (iter OperationListResultIterator) Response() OperationListResult + func (iter OperationListResultIterator) Value() Operation + type OperationListResultPage struct + func (page *OperationListResultPage) Next() 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 EqualTo + const GreaterThan + const GreaterThanOrEqualTo + func PossibleOperatorTypeValues() []OperatorType + 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 *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 ProxyResource struct + ETag *string + ID *string + Name *string + Type *string + 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 + NextLink *string + Value *[]ReservationDetails + func (rdlr ReservationDetailsListResult) IsEmpty() bool + type ReservationDetailsListResultIterator struct + func (iter *ReservationDetailsListResultIterator) Next() error + func (iter ReservationDetailsListResultIterator) NotDone() bool + func (iter ReservationDetailsListResultIterator) Response() ReservationDetailsListResult + func (iter ReservationDetailsListResultIterator) Value() ReservationDetails + type ReservationDetailsListResultPage struct + func (page *ReservationDetailsListResultPage) Next() error + func (page ReservationDetailsListResultPage) NotDone() bool + func (page ReservationDetailsListResultPage) Response() ReservationDetailsListResult + func (page ReservationDetailsListResultPage) Values() []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 + NextLink *string + Value *[]ReservationSummaries + func (rslr ReservationSummariesListResult) IsEmpty() bool + type ReservationSummariesListResultIterator struct + func (iter *ReservationSummariesListResultIterator) Next() error + func (iter ReservationSummariesListResultIterator) NotDone() bool + func (iter ReservationSummariesListResultIterator) Response() ReservationSummariesListResult + func (iter ReservationSummariesListResultIterator) Value() ReservationSummaries + type ReservationSummariesListResultPage struct + func (page *ReservationSummariesListResultPage) Next() error + func (page ReservationSummariesListResultPage) NotDone() bool + func (page ReservationSummariesListResultPage) Response() ReservationSummariesListResult + func (page ReservationSummariesListResultPage) Values() []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) ListByReservationOrder(ctx context.Context, reservationOrderID string, filter string) (result ReservationDetailsListResultPage, err error) + func (client ReservationsDetailsClient) ListByReservationOrderAndReservation(ctx context.Context, reservationOrderID string, reservationID string, ...) (result ReservationDetailsListResultPage, err error) + func (client ReservationsDetailsClient) ListByReservationOrderAndReservationComplete(ctx context.Context, reservationOrderID string, reservationID string, ...) (result ReservationDetailsListResultIterator, err error) + func (client ReservationsDetailsClient) ListByReservationOrderAndReservationPreparer(ctx context.Context, reservationOrderID string, reservationID string, ...) (*http.Request, error) + func (client ReservationsDetailsClient) ListByReservationOrderAndReservationResponder(resp *http.Response) (result ReservationDetailsListResult, err error) + func (client ReservationsDetailsClient) ListByReservationOrderAndReservationSender(req *http.Request) (*http.Response, error) + func (client ReservationsDetailsClient) ListByReservationOrderComplete(ctx context.Context, reservationOrderID string, filter string) (result ReservationDetailsListResultIterator, err error) + func (client ReservationsDetailsClient) ListByReservationOrderPreparer(ctx context.Context, reservationOrderID string, filter string) (*http.Request, error) + func (client ReservationsDetailsClient) ListByReservationOrderResponder(resp *http.Response) (result ReservationDetailsListResult, err error) + func (client ReservationsDetailsClient) ListByReservationOrderSender(req *http.Request) (*http.Response, error) + type ReservationsSummariesClient struct + func NewReservationsSummariesClient(subscriptionID string) ReservationsSummariesClient + func NewReservationsSummariesClientWithBaseURI(baseURI string, subscriptionID string) ReservationsSummariesClient + func (client ReservationsSummariesClient) ListByReservationOrder(ctx context.Context, reservationOrderID string, grain Datagrain, filter string) (result ReservationSummariesListResultPage, err error) + func (client ReservationsSummariesClient) ListByReservationOrderAndReservation(ctx context.Context, reservationOrderID string, reservationID string, ...) (result ReservationSummariesListResultPage, err error) + func (client ReservationsSummariesClient) ListByReservationOrderAndReservationComplete(ctx context.Context, reservationOrderID string, reservationID string, ...) (result ReservationSummariesListResultIterator, err error) + func (client ReservationsSummariesClient) ListByReservationOrderAndReservationPreparer(ctx context.Context, reservationOrderID string, reservationID string, ...) (*http.Request, error) + func (client ReservationsSummariesClient) ListByReservationOrderAndReservationResponder(resp *http.Response) (result ReservationSummariesListResult, err error) + func (client ReservationsSummariesClient) ListByReservationOrderAndReservationSender(req *http.Request) (*http.Response, error) + func (client ReservationsSummariesClient) ListByReservationOrderComplete(ctx context.Context, reservationOrderID string, grain Datagrain, filter string) (result ReservationSummariesListResultIterator, err error) + func (client ReservationsSummariesClient) ListByReservationOrderPreparer(ctx context.Context, reservationOrderID string, grain Datagrain, filter string) (*http.Request, error) + func (client ReservationsSummariesClient) ListByReservationOrderResponder(resp *http.Response) (result ReservationSummariesListResult, err error) + func (client ReservationsSummariesClient) ListByReservationOrderSender(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 TimeGrainType string + const Annually + const Monthly + const Quarterly + func PossibleTimeGrainTypeValues() []TimeGrainType + 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, expand string, filter string, skiptoken string, ...) (result UsageDetailsListResultPage, err 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) ListComplete(ctx context.Context, expand string, filter string, skiptoken string, ...) (result UsageDetailsListResultIterator, err 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 (iter *UsageDetailsListResultIterator) Next() error + func (iter UsageDetailsListResultIterator) NotDone() bool + func (iter UsageDetailsListResultIterator) Response() UsageDetailsListResult + func (iter UsageDetailsListResultIterator) Value() UsageDetail + type UsageDetailsListResultPage struct + func (page *UsageDetailsListResultPage) Next() 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.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.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