billing

package
Version: v21.4.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package billing implements the Azure ARM Billing service API version 2018-03-01-preview.

Billing client provides access to billing resources for Azure subscriptions.

Index

Constants

View Source
const (
	// DefaultBaseURI is the default URI used for the service Billing
	DefaultBaseURI = "https://management.azure.com"
)

Variables

This section is empty.

Functions

func UserAgent deprecated

This function has been deprecated.
func UserAgent() string

Copyright (c) Microsoft and contributors. All rights reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

See the License for the specific language governing permissions and limitations under the License.

Code generated by Microsoft (R) AutoRest Code Generator. Changes may cause incorrect behavior and will be lost if the code is regenerated. Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. UserAgent returns the UserAgent string to use when sending http.Requests.

func Version deprecated

This function has been deprecated.
func Version() string

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. Version returns the semantic version (see http://semver.org) of the client.

Types

type BaseClient deprecated

This type has been deprecated.
type BaseClient struct {
	autorest.Client
	BaseURI        string
	SubscriptionID string
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. BaseClient is the base client for Billing.

func New deprecated

This function has been deprecated.
func New(subscriptionID string) BaseClient

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. New creates an instance of the BaseClient client.

func NewWithBaseURI deprecated

This function has been deprecated.
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. NewWithBaseURI creates an instance of the BaseClient client.

type DownloadURL deprecated

This type has been deprecated.
type DownloadURL struct {
	// ExpiryTime - The time in UTC at which this download URL will expire.
	ExpiryTime *date.Time `json:"expiryTime,omitempty"`
	// URL - The URL to the PDF file.
	URL *string `json:"url,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. DownloadURL a secure URL that can be used to download a PDF invoice until the URL expires.

type EnrollmentAccount deprecated

This type has been deprecated.
type EnrollmentAccount struct {
	autorest.Response `json:"-"`
	// EnrollmentAccountProperties - An enrollment account.
	*EnrollmentAccountProperties `json:"properties,omitempty"`
	// ID - Resource Id.
	ID *string `json:"id,omitempty"`
	// Name - Resource name.
	Name *string `json:"name,omitempty"`
	// Type - Resource type.
	Type *string `json:"type,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. EnrollmentAccount an enrollment account resource.

func (EnrollmentAccount) MarshalJSON deprecated

This method has been deprecated.
func (ea EnrollmentAccount) MarshalJSON() ([]byte, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. MarshalJSON is the custom marshaler for EnrollmentAccount.

func (*EnrollmentAccount) UnmarshalJSON deprecated

This method has been deprecated.
func (ea *EnrollmentAccount) UnmarshalJSON(body []byte) error

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. UnmarshalJSON is the custom unmarshaler for EnrollmentAccount struct.

type EnrollmentAccountListResult deprecated

This type has been deprecated.
type EnrollmentAccountListResult struct {
	autorest.Response `json:"-"`
	// Value - The list of enrollment accounts.
	Value *[]EnrollmentAccount `json:"value,omitempty"`
	// NextLink - The link (url) to the next page of results.
	NextLink *string `json:"nextLink,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. EnrollmentAccountListResult result of listing enrollment accounts.

func (EnrollmentAccountListResult) IsEmpty deprecated

This method has been deprecated.
func (ealr EnrollmentAccountListResult) IsEmpty() bool

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. IsEmpty returns true if the ListResult contains no values.

type EnrollmentAccountListResultIterator deprecated

This type has been deprecated.
type EnrollmentAccountListResultIterator struct {
	// contains filtered or unexported fields
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. EnrollmentAccountListResultIterator provides access to a complete listing of EnrollmentAccount values.

func (*EnrollmentAccountListResultIterator) Next deprecated

This method has been deprecated.

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (EnrollmentAccountListResultIterator) NotDone deprecated

This method has been deprecated.

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. NotDone returns true if the enumeration should be started or is not yet complete.

func (EnrollmentAccountListResultIterator) Response deprecated

This method has been deprecated.

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. Response returns the raw server response from the last page request.

func (EnrollmentAccountListResultIterator) Value deprecated

This method has been deprecated.

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type EnrollmentAccountListResultPage deprecated

This type has been deprecated.
type EnrollmentAccountListResultPage struct {
	// contains filtered or unexported fields
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. EnrollmentAccountListResultPage contains a page of EnrollmentAccount values.

func (*EnrollmentAccountListResultPage) Next deprecated

This method has been deprecated.

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (EnrollmentAccountListResultPage) NotDone deprecated

This method has been deprecated.
func (page EnrollmentAccountListResultPage) NotDone() bool

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. NotDone returns true if the page enumeration should be started or is not yet complete.

func (EnrollmentAccountListResultPage) Response deprecated

This method has been deprecated.

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. Response returns the raw server response from the last page request.

func (EnrollmentAccountListResultPage) Values deprecated

This method has been deprecated.

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. Values returns the slice of values for the current page or nil if there are no values.

type EnrollmentAccountProperties deprecated

This type has been deprecated.
type EnrollmentAccountProperties struct {
	// PrincipalName - The account owner's principal name.
	PrincipalName *string `json:"principalName,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. EnrollmentAccountProperties the properties of the enrollment account.

type EnrollmentAccountsClient deprecated

This type has been deprecated.
type EnrollmentAccountsClient struct {
	BaseClient
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. EnrollmentAccountsClient is the billing client provides access to billing resources for Azure subscriptions.

func NewEnrollmentAccountsClient deprecated

This function has been deprecated.
func NewEnrollmentAccountsClient(subscriptionID string) EnrollmentAccountsClient

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. NewEnrollmentAccountsClient creates an instance of the EnrollmentAccountsClient client.

func NewEnrollmentAccountsClientWithBaseURI deprecated

This function has been deprecated.
func NewEnrollmentAccountsClientWithBaseURI(baseURI string, subscriptionID string) EnrollmentAccountsClient

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. NewEnrollmentAccountsClientWithBaseURI creates an instance of the EnrollmentAccountsClient client.

func (EnrollmentAccountsClient) Get deprecated

This method has been deprecated.
func (client EnrollmentAccountsClient) Get(ctx context.Context, name string) (result EnrollmentAccount, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. Get gets a enrollment account by name.

name is enrollment Account name.

func (EnrollmentAccountsClient) GetPreparer deprecated

This method has been deprecated.
func (client EnrollmentAccountsClient) GetPreparer(ctx context.Context, name string) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. GetPreparer prepares the Get request.

func (EnrollmentAccountsClient) GetResponder deprecated

This method has been deprecated.
func (client EnrollmentAccountsClient) GetResponder(resp *http.Response) (result EnrollmentAccount, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (EnrollmentAccountsClient) GetSender deprecated

This method has been deprecated.
func (client EnrollmentAccountsClient) GetSender(req *http.Request) (*http.Response, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (EnrollmentAccountsClient) List deprecated

This method has been deprecated.

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. List lists the enrollment accounts the caller has access to.

func (EnrollmentAccountsClient) ListComplete deprecated

This method has been deprecated.
func (client EnrollmentAccountsClient) ListComplete(ctx context.Context) (result EnrollmentAccountListResultIterator, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. ListComplete enumerates all values, automatically crossing page boundaries as required.

func (EnrollmentAccountsClient) ListPreparer deprecated

This method has been deprecated.
func (client EnrollmentAccountsClient) ListPreparer(ctx context.Context) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. ListPreparer prepares the List request.

func (EnrollmentAccountsClient) ListResponder deprecated

This method has been deprecated.
func (client EnrollmentAccountsClient) ListResponder(resp *http.Response) (result EnrollmentAccountListResult, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (EnrollmentAccountsClient) ListSender deprecated

This method has been deprecated.
func (client EnrollmentAccountsClient) ListSender(req *http.Request) (*http.Response, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type ErrorDetails deprecated

This type has been deprecated.
type ErrorDetails struct {
	// Code - Error code.
	Code *string `json:"code,omitempty"`
	// Message - Error message indicating why the operation failed.
	Message *string `json:"message,omitempty"`
	// Target - The target of the particular error.
	Target *string `json:"target,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. ErrorDetails the details of the error.

type ErrorResponse deprecated

This type has been deprecated.
type ErrorResponse struct {
	// Error - The details of the error.
	Error *ErrorDetails `json:"error,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. ErrorResponse error response indicates that the service is not able to process the incoming request. The reason is provided in the error message.

type Invoice deprecated

This type has been deprecated.
type Invoice struct {
	autorest.Response `json:"-"`
	// InvoiceProperties - An invoice.
	*InvoiceProperties `json:"properties,omitempty"`
	// ID - Resource Id.
	ID *string `json:"id,omitempty"`
	// Name - Resource name.
	Name *string `json:"name,omitempty"`
	// Type - Resource type.
	Type *string `json:"type,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. Invoice an invoice resource can be used download a PDF version of an invoice.

func (Invoice) MarshalJSON deprecated

This method has been deprecated.
func (i Invoice) MarshalJSON() ([]byte, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. MarshalJSON is the custom marshaler for Invoice.

func (*Invoice) UnmarshalJSON deprecated

This method has been deprecated.
func (i *Invoice) UnmarshalJSON(body []byte) error

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. UnmarshalJSON is the custom unmarshaler for Invoice struct.

type InvoiceProperties deprecated

This type has been deprecated.
type InvoiceProperties struct {
	// DownloadURL - A secure link to download the PDF version of an invoice. The link will cease to work after its expiry time is reached.
	DownloadURL *DownloadURL `json:"downloadUrl,omitempty"`
	// InvoicePeriodStartDate - The start of the date range covered by the invoice.
	InvoicePeriodStartDate *date.Date `json:"invoicePeriodStartDate,omitempty"`
	// InvoicePeriodEndDate - The end of the date range covered by the invoice.
	InvoicePeriodEndDate *date.Date `json:"invoicePeriodEndDate,omitempty"`
	// BillingPeriodIds - Array of billing perdiod ids that the invoice is attributed to.
	BillingPeriodIds *[]string `json:"billingPeriodIds,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. InvoiceProperties the properties of the invoice.

type InvoicesClient deprecated

This type has been deprecated.
type InvoicesClient struct {
	BaseClient
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. InvoicesClient is the billing client provides access to billing resources for Azure subscriptions.

func NewInvoicesClient deprecated

This function has been deprecated.
func NewInvoicesClient(subscriptionID string) InvoicesClient

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. NewInvoicesClient creates an instance of the InvoicesClient client.

func NewInvoicesClientWithBaseURI deprecated

This function has been deprecated.
func NewInvoicesClientWithBaseURI(baseURI string, subscriptionID string) InvoicesClient

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. NewInvoicesClientWithBaseURI creates an instance of the InvoicesClient client.

func (InvoicesClient) Get deprecated

This method has been deprecated.
func (client InvoicesClient) Get(ctx context.Context, invoiceName string) (result Invoice, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. Get gets a named invoice resource. When getting a single invoice, the downloadUrl property is expanded automatically. This is only supported for Azure Web-Direct subscriptions. Other subscription types which were not purchased directly through the Azure web portal are not supported through this preview API.

invoiceName is the name of an invoice resource.

func (InvoicesClient) GetLatest deprecated

This method has been deprecated.
func (client InvoicesClient) GetLatest(ctx context.Context) (result Invoice, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. GetLatest gets the most recent invoice. When getting a single invoice, the downloadUrl property is expanded automatically. This is only supported for Azure Web-Direct subscriptions. Other subscription types which were not purchased directly through the Azure web portal are not supported through this preview API.

func (InvoicesClient) GetLatestPreparer deprecated

This method has been deprecated.
func (client InvoicesClient) GetLatestPreparer(ctx context.Context) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. GetLatestPreparer prepares the GetLatest request.

func (InvoicesClient) GetLatestResponder deprecated

This method has been deprecated.
func (client InvoicesClient) GetLatestResponder(resp *http.Response) (result Invoice, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. GetLatestResponder handles the response to the GetLatest request. The method always closes the http.Response Body.

func (InvoicesClient) GetLatestSender deprecated

This method has been deprecated.
func (client InvoicesClient) GetLatestSender(req *http.Request) (*http.Response, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. GetLatestSender sends the GetLatest request. The method will close the http.Response Body if it receives an error.

func (InvoicesClient) GetPreparer deprecated

This method has been deprecated.
func (client InvoicesClient) GetPreparer(ctx context.Context, invoiceName string) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. GetPreparer prepares the Get request.

func (InvoicesClient) GetResponder deprecated

This method has been deprecated.
func (client InvoicesClient) GetResponder(resp *http.Response) (result Invoice, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (InvoicesClient) GetSender deprecated

This method has been deprecated.
func (client InvoicesClient) GetSender(req *http.Request) (*http.Response, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (InvoicesClient) List deprecated

This method has been deprecated.
func (client InvoicesClient) List(ctx context.Context, expand string, filter string, skiptoken string, top *int32) (result InvoicesListResultPage, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. List lists the available invoices for a subscription in reverse chronological order beginning with the most recent invoice. In preview, invoices are available via this API only for invoice periods which end December 1, 2016 or later. This is only supported for Azure Web-Direct subscriptions. Other subscription types which were not purchased directly through the Azure web portal are not supported through this preview API.

expand is may be used to expand the downloadUrl property within a list of invoices. This enables download links to be generated for multiple invoices at once. By default, downloadURLs are not included when listing invoices. filter is may be used to filter invoices by invoicePeriodEndDate. The filter supports 'eq', 'lt', 'gt', 'le', 'ge', and 'and'. It does not currently support 'ne', 'or', or 'not'. skiptoken is skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point to use for subsequent calls. top is may be used to limit the number of results to the most recent N invoices.

func (InvoicesClient) ListComplete deprecated

This method has been deprecated.
func (client InvoicesClient) ListComplete(ctx context.Context, expand string, filter string, skiptoken string, top *int32) (result InvoicesListResultIterator, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. ListComplete enumerates all values, automatically crossing page boundaries as required.

func (InvoicesClient) ListPreparer deprecated

This method has been deprecated.
func (client InvoicesClient) ListPreparer(ctx context.Context, expand string, filter string, skiptoken string, top *int32) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. ListPreparer prepares the List request.

func (InvoicesClient) ListResponder deprecated

This method has been deprecated.
func (client InvoicesClient) ListResponder(resp *http.Response) (result InvoicesListResult, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (InvoicesClient) ListSender deprecated

This method has been deprecated.
func (client InvoicesClient) ListSender(req *http.Request) (*http.Response, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type InvoicesListResult deprecated

This type has been deprecated.
type InvoicesListResult struct {
	autorest.Response `json:"-"`
	// Value - The list of invoices.
	Value *[]Invoice `json:"value,omitempty"`
	// NextLink - The link (url) to the next page of results.
	NextLink *string `json:"nextLink,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. InvoicesListResult result of listing invoices. It contains a list of available invoices in reverse chronological order.

func (InvoicesListResult) IsEmpty deprecated

This method has been deprecated.
func (ilr InvoicesListResult) IsEmpty() bool

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. IsEmpty returns true if the ListResult contains no values.

type InvoicesListResultIterator deprecated

This type has been deprecated.
type InvoicesListResultIterator struct {
	// contains filtered or unexported fields
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. InvoicesListResultIterator provides access to a complete listing of Invoice values.

func (*InvoicesListResultIterator) Next deprecated

This method has been deprecated.
func (iter *InvoicesListResultIterator) Next() error

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (InvoicesListResultIterator) NotDone deprecated

This method has been deprecated.
func (iter InvoicesListResultIterator) NotDone() bool

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. NotDone returns true if the enumeration should be started or is not yet complete.

func (InvoicesListResultIterator) Response deprecated

This method has been deprecated.

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. Response returns the raw server response from the last page request.

func (InvoicesListResultIterator) Value deprecated

This method has been deprecated.
func (iter InvoicesListResultIterator) Value() Invoice

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type InvoicesListResultPage deprecated

This type has been deprecated.
type InvoicesListResultPage struct {
	// contains filtered or unexported fields
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. InvoicesListResultPage contains a page of Invoice values.

func (*InvoicesListResultPage) Next deprecated

This method has been deprecated.
func (page *InvoicesListResultPage) Next() error

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (InvoicesListResultPage) NotDone deprecated

This method has been deprecated.
func (page InvoicesListResultPage) NotDone() bool

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. NotDone returns true if the page enumeration should be started or is not yet complete.

func (InvoicesListResultPage) Response deprecated

This method has been deprecated.

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. Response returns the raw server response from the last page request.

func (InvoicesListResultPage) Values deprecated

This method has been deprecated.
func (page InvoicesListResultPage) Values() []Invoice

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. Values returns the slice of values for the current page or nil if there are no values.

type Operation deprecated

This type has been deprecated.
type Operation struct {
	// Name - Operation name: {provider}/{resource}/{operation}.
	Name *string `json:"name,omitempty"`
	// Display - The object that represents the operation.
	Display *OperationDisplay `json:"display,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. Operation a Billing REST API operation.

type OperationDisplay deprecated

This type has been deprecated.
type OperationDisplay struct {
	// Provider - Service provider: Microsoft.Billing.
	Provider *string `json:"provider,omitempty"`
	// Resource - Resource on which the operation is performed: Invoice, etc.
	Resource *string `json:"resource,omitempty"`
	// Operation - Operation type: Read, write, delete, etc.
	Operation *string `json:"operation,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. OperationDisplay the object that represents the operation.

type OperationListResult deprecated

This type has been deprecated.
type OperationListResult struct {
	autorest.Response `json:"-"`
	// Value - List of billing operations supported by the Microsoft.Billing resource provider.
	Value *[]Operation `json:"value,omitempty"`
	// NextLink - URL to get the next set of operation list results if there are any.
	NextLink *string `json:"nextLink,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. OperationListResult result listing billing operations. It contains a list of operations and a URL link to get the next set of results.

func (OperationListResult) IsEmpty deprecated

This method has been deprecated.
func (olr OperationListResult) IsEmpty() bool

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. IsEmpty returns true if the ListResult contains no values.

type OperationListResultIterator deprecated

This type has been deprecated.
type OperationListResultIterator struct {
	// contains filtered or unexported fields
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. OperationListResultIterator provides access to a complete listing of Operation values.

func (*OperationListResultIterator) Next deprecated

This method has been deprecated.
func (iter *OperationListResultIterator) Next() error

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (OperationListResultIterator) NotDone deprecated

This method has been deprecated.
func (iter OperationListResultIterator) NotDone() bool

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. NotDone returns true if the enumeration should be started or is not yet complete.

func (OperationListResultIterator) Response deprecated

This method has been deprecated.

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. Response returns the raw server response from the last page request.

func (OperationListResultIterator) Value deprecated

This method has been deprecated.

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type OperationListResultPage deprecated

This type has been deprecated.
type OperationListResultPage struct {
	// contains filtered or unexported fields
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. OperationListResultPage contains a page of Operation values.

func (*OperationListResultPage) Next deprecated

This method has been deprecated.
func (page *OperationListResultPage) Next() error

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (OperationListResultPage) NotDone deprecated

This method has been deprecated.
func (page OperationListResultPage) NotDone() bool

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. NotDone returns true if the page enumeration should be started or is not yet complete.

func (OperationListResultPage) Response deprecated

This method has been deprecated.

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. Response returns the raw server response from the last page request.

func (OperationListResultPage) Values deprecated

This method has been deprecated.
func (page OperationListResultPage) Values() []Operation

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. Values returns the slice of values for the current page or nil if there are no values.

type OperationsClient deprecated

This type has been deprecated.
type OperationsClient struct {
	BaseClient
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. OperationsClient is the billing client provides access to billing resources for Azure subscriptions.

func NewOperationsClient deprecated

This function has been deprecated.
func NewOperationsClient(subscriptionID string) OperationsClient

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. NewOperationsClient creates an instance of the OperationsClient client.

func NewOperationsClientWithBaseURI deprecated

This function has been deprecated.
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.

func (OperationsClient) List deprecated

This method has been deprecated.
func (client OperationsClient) List(ctx context.Context) (result OperationListResultPage, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. List lists all of the available billing REST API operations.

func (OperationsClient) ListComplete deprecated

This method has been deprecated.
func (client OperationsClient) ListComplete(ctx context.Context) (result OperationListResultIterator, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. ListComplete enumerates all values, automatically crossing page boundaries as required.

func (OperationsClient) ListPreparer deprecated

This method has been deprecated.
func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. ListPreparer prepares the List request.

func (OperationsClient) ListResponder deprecated

This method has been deprecated.
func (client OperationsClient) ListResponder(resp *http.Response) (result OperationListResult, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (OperationsClient) ListSender deprecated

This method has been deprecated.
func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type Period deprecated

This type has been deprecated.
type Period struct {
	autorest.Response `json:"-"`
	// PeriodProperties - A billing period.
	*PeriodProperties `json:"properties,omitempty"`
	// ID - Resource Id.
	ID *string `json:"id,omitempty"`
	// Name - Resource name.
	Name *string `json:"name,omitempty"`
	// Type - Resource type.
	Type *string `json:"type,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. Period a billing period resource.

func (Period) MarshalJSON deprecated

This method has been deprecated.
func (p Period) MarshalJSON() ([]byte, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. MarshalJSON is the custom marshaler for Period.

func (*Period) UnmarshalJSON deprecated

This method has been deprecated.
func (p *Period) UnmarshalJSON(body []byte) error

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. UnmarshalJSON is the custom unmarshaler for Period struct.

type PeriodProperties deprecated

This type has been deprecated.
type PeriodProperties struct {
	// BillingPeriodStartDate - The start of the date range covered by the billing period.
	BillingPeriodStartDate *date.Date `json:"billingPeriodStartDate,omitempty"`
	// BillingPeriodEndDate - The end of the date range covered by the billing period.
	BillingPeriodEndDate *date.Date `json:"billingPeriodEndDate,omitempty"`
	// InvoiceIds - Array of invoice ids that associated with.
	InvoiceIds *[]string `json:"invoiceIds,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. PeriodProperties the properties of the billing period.

type PeriodsClient deprecated

This type has been deprecated.
type PeriodsClient struct {
	BaseClient
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. PeriodsClient is the billing client provides access to billing resources for Azure subscriptions.

func NewPeriodsClient deprecated

This function has been deprecated.
func NewPeriodsClient(subscriptionID string) PeriodsClient

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. NewPeriodsClient creates an instance of the PeriodsClient client.

func NewPeriodsClientWithBaseURI deprecated

This function has been deprecated.
func NewPeriodsClientWithBaseURI(baseURI string, subscriptionID string) PeriodsClient

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. NewPeriodsClientWithBaseURI creates an instance of the PeriodsClient client.

func (PeriodsClient) Get deprecated

This method has been deprecated.
func (client PeriodsClient) Get(ctx context.Context, billingPeriodName string) (result Period, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. Get gets a named billing period. This is only supported for Azure Web-Direct subscriptions. Other subscription types which were not purchased directly through the Azure web portal are not supported through this preview API.

billingPeriodName is the name of a BillingPeriod resource.

func (PeriodsClient) GetPreparer deprecated

This method has been deprecated.
func (client PeriodsClient) GetPreparer(ctx context.Context, billingPeriodName string) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. GetPreparer prepares the Get request.

func (PeriodsClient) GetResponder deprecated

This method has been deprecated.
func (client PeriodsClient) GetResponder(resp *http.Response) (result Period, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (PeriodsClient) GetSender deprecated

This method has been deprecated.
func (client PeriodsClient) GetSender(req *http.Request) (*http.Response, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (PeriodsClient) List deprecated

This method has been deprecated.
func (client PeriodsClient) List(ctx context.Context, filter string, skiptoken string, top *int32) (result PeriodsListResultPage, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. List lists the available billing periods for a subscription in reverse chronological order. This is only supported for Azure Web-Direct subscriptions. Other subscription types which were not purchased directly through the Azure web portal are not supported through this preview API.

filter is may be used to filter billing periods by billingPeriodEndDate. The filter supports 'eq', 'lt', 'gt', 'le', 'ge', and 'and'. It does not currently support 'ne', 'or', or 'not'. skiptoken is skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point to use for subsequent calls. top is may be used to limit the number of results to the most recent N billing periods.

func (PeriodsClient) ListComplete deprecated

This method has been deprecated.
func (client PeriodsClient) ListComplete(ctx context.Context, filter string, skiptoken string, top *int32) (result PeriodsListResultIterator, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. ListComplete enumerates all values, automatically crossing page boundaries as required.

func (PeriodsClient) ListPreparer deprecated

This method has been deprecated.
func (client PeriodsClient) ListPreparer(ctx context.Context, filter string, skiptoken string, top *int32) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. ListPreparer prepares the List request.

func (PeriodsClient) ListResponder deprecated

This method has been deprecated.
func (client PeriodsClient) ListResponder(resp *http.Response) (result PeriodsListResult, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (PeriodsClient) ListSender deprecated

This method has been deprecated.
func (client PeriodsClient) ListSender(req *http.Request) (*http.Response, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type PeriodsListResult deprecated

This type has been deprecated.
type PeriodsListResult struct {
	autorest.Response `json:"-"`
	// Value - The list of billing periods.
	Value *[]Period `json:"value,omitempty"`
	// NextLink - The link (url) to the next page of results.
	NextLink *string `json:"nextLink,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. PeriodsListResult result of listing billing periods. It contains a list of available billing periods in reverse chronological order.

func (PeriodsListResult) IsEmpty deprecated

This method has been deprecated.
func (plr PeriodsListResult) IsEmpty() bool

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. IsEmpty returns true if the ListResult contains no values.

type PeriodsListResultIterator deprecated

This type has been deprecated.
type PeriodsListResultIterator struct {
	// contains filtered or unexported fields
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. PeriodsListResultIterator provides access to a complete listing of Period values.

func (*PeriodsListResultIterator) Next deprecated

This method has been deprecated.
func (iter *PeriodsListResultIterator) Next() error

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (PeriodsListResultIterator) NotDone deprecated

This method has been deprecated.
func (iter PeriodsListResultIterator) NotDone() bool

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. NotDone returns true if the enumeration should be started or is not yet complete.

func (PeriodsListResultIterator) Response deprecated

This method has been deprecated.

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. Response returns the raw server response from the last page request.

func (PeriodsListResultIterator) Value deprecated

This method has been deprecated.
func (iter PeriodsListResultIterator) Value() Period

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type PeriodsListResultPage deprecated

This type has been deprecated.
type PeriodsListResultPage struct {
	// contains filtered or unexported fields
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. PeriodsListResultPage contains a page of Period values.

func (*PeriodsListResultPage) Next deprecated

This method has been deprecated.
func (page *PeriodsListResultPage) Next() error

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (PeriodsListResultPage) NotDone deprecated

This method has been deprecated.
func (page PeriodsListResultPage) NotDone() bool

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. NotDone returns true if the page enumeration should be started or is not yet complete.

func (PeriodsListResultPage) Response deprecated

This method has been deprecated.
func (page PeriodsListResultPage) Response() PeriodsListResult

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. Response returns the raw server response from the last page request.

func (PeriodsListResultPage) Values deprecated

This method has been deprecated.
func (page PeriodsListResultPage) Values() []Period

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. Values returns the slice of values for the current page or nil if there are no values.

type Resource deprecated

This type has been deprecated.
type Resource struct {
	// ID - Resource Id.
	ID *string `json:"id,omitempty"`
	// Name - Resource name.
	Name *string `json:"name,omitempty"`
	// Type - Resource type.
	Type *string `json:"type,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing instead. Resource the Resource model definition.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL