Documentation ¶
Overview ¶
Package consumption implements the Azure ARM Consumption service API version 2017-12-30-preview.
Consumption management client provides access to consumption resources for Azure Enterprise Subscriptions.
Index ¶
- Constants
- func UserAgent() string
- func Version() stringdeprecated
- type BaseClientdeprecated
- type Budgetdeprecated
- type BudgetPropertiesdeprecated
- type BudgetTimePerioddeprecated
- type BudgetsClientdeprecated
- func (client BudgetsClient) CreateOrUpdate(ctx context.Context, parameters Budget) (result Budget, err error)deprecated
- func (client BudgetsClient) CreateOrUpdatePreparer(ctx context.Context, parameters Budget) (*http.Request, error)deprecated
- func (client BudgetsClient) CreateOrUpdateResponder(resp *http.Response) (result Budget, err error)deprecated
- func (client BudgetsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)deprecated
- func (client BudgetsClient) Delete(ctx context.Context) (result autorest.Response, err error)deprecated
- func (client BudgetsClient) DeletePreparer(ctx context.Context) (*http.Request, error)deprecated
- func (client BudgetsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)deprecated
- func (client BudgetsClient) DeleteSender(req *http.Request) (*http.Response, error)deprecated
- func (client BudgetsClient) Get(ctx context.Context) (result Budget, err error)deprecated
- func (client BudgetsClient) GetPreparer(ctx context.Context) (*http.Request, error)deprecated
- func (client BudgetsClient) GetResponder(resp *http.Response) (result Budget, err error)deprecated
- func (client BudgetsClient) GetSender(req *http.Request) (*http.Response, error)deprecated
- func (client BudgetsClient) List(ctx context.Context) (result BudgetsListResult, err error)deprecated
- func (client BudgetsClient) ListPreparer(ctx context.Context) (*http.Request, error)deprecated
- func (client BudgetsClient) ListResponder(resp *http.Response) (result BudgetsListResult, err error)deprecated
- func (client BudgetsClient) ListSender(req *http.Request) (*http.Response, error)deprecated
- type BudgetsListResultdeprecated
- type CurrentSpenddeprecated
- type ErrorDetailsdeprecated
- type ErrorResponsedeprecated
- type Notificationdeprecated
- type Operationdeprecated
- type OperationDisplaydeprecated
- type OperationListResultdeprecated
- type OperationListResultIteratordeprecated
- type OperationListResultPagedeprecated
- type OperationsClientdeprecated
- func (client OperationsClient) List(ctx context.Context) (result OperationListResultPage, err error)deprecated
- func (client OperationsClient) ListComplete(ctx context.Context) (result OperationListResultIterator, err error)deprecated
- func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)deprecated
- func (client OperationsClient) ListResponder(resp *http.Response) (result OperationListResult, err error)deprecated
- func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error)deprecated
- type OperatorTypedeprecated
- type ProxyResourcedeprecated
- type TimeGrainTypedeprecated
Constants ¶
const (
// DefaultBaseURI is the default URI used for the service Consumption
DefaultBaseURI = "https://management.azure.com"
)
Variables ¶
This section is empty.
Functions ¶
func UserAgent ¶
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/consumption/mgmt/2017-12-30-preview/consumption instead. UserAgent returns the UserAgent string to use when sending http.Requests.
func Version
deprecated
func Version() string
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/consumption/mgmt/2017-12-30-preview/consumption instead. Version returns the semantic version (see http://semver.org) of the client.
Types ¶
type BaseClient
deprecated
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/consumption/mgmt/2017-12-30-preview/consumption instead. BaseClient is the base client for Consumption.
func New
deprecated
func New(subscriptionID string, name string) BaseClient
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/consumption/mgmt/2017-12-30-preview/consumption instead. New creates an instance of the BaseClient client.
func NewWithBaseURI
deprecated
func NewWithBaseURI(baseURI string, subscriptionID string, name string) BaseClient
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/consumption/mgmt/2017-12-30-preview/consumption instead. NewWithBaseURI creates an instance of the BaseClient client.
type Budget
deprecated
type Budget struct { autorest.Response `json:"-"` *BudgetProperties `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"` // ETag - eTag of the resource. To handle concurrent update scenarion, this field will be used to determine whether the user is updating the latest version or not. ETag *string `json:"eTag,omitempty"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/consumption/mgmt/2017-12-30-preview/consumption instead. Budget a budget resource.
func (Budget) MarshalJSON
deprecated
func (*Budget) UnmarshalJSON
deprecated
type BudgetProperties
deprecated
type BudgetProperties struct { // Category - The category of the budget, whether the budget tracks cost or something else. Category *string `json:"category,omitempty"` // Amount - The total amount of cost to track with the budget Amount *decimal.Decimal `json:"amount,omitempty"` // TimeGrain - The time covered by a budget. Tracking of the amount will be reset based on the time grain. Possible values include: 'Monthly', 'Quarterly', 'Annually' TimeGrain TimeGrainType `json:"timeGrain,omitempty"` // TimePeriod - Has start and end date of the budget. The start date must be first of the month and should be less than the end date. Budget start date must be on or after June 1, 2017. Future start date should not be more than three months. Past start date should be selected within the timegrain preiod. There are no restrictions on the end date. TimePeriod *BudgetTimePeriod `json:"timePeriod,omitempty"` // CurrentSpend - The current amount of cost which is being tracked for a budget. CurrentSpend *CurrentSpend `json:"currentSpend,omitempty"` // Notifications - Dictionary of notifications associated with the budget. Budget can have up to five notifications. Notifications map[string]*Notification `json:"notifications"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/consumption/mgmt/2017-12-30-preview/consumption instead. BudgetProperties the properties of the budget.
func (BudgetProperties) MarshalJSON
deprecated
func (bp BudgetProperties) MarshalJSON() ([]byte, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/consumption/mgmt/2017-12-30-preview/consumption instead. MarshalJSON is the custom marshaler for BudgetProperties.
type BudgetTimePeriod
deprecated
type BudgetTimePeriod struct { // StartDate - The start date for the budget. StartDate *date.Time `json:"startDate,omitempty"` // EndDate - The end date for the budget. If not provided, we default this to 10 years from the start date. EndDate *date.Time `json:"endDate,omitempty"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/consumption/mgmt/2017-12-30-preview/consumption instead. BudgetTimePeriod the start and end date for a budget.
type BudgetsClient
deprecated
type BudgetsClient struct {
BaseClient
}
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/consumption/mgmt/2017-12-30-preview/consumption instead. BudgetsClient is the consumption management client provides access to consumption resources for Azure Enterprise Subscriptions.
func NewBudgetsClient
deprecated
func NewBudgetsClient(subscriptionID string, name string) BudgetsClient
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/consumption/mgmt/2017-12-30-preview/consumption instead. NewBudgetsClient creates an instance of the BudgetsClient client.
func NewBudgetsClientWithBaseURI
deprecated
func NewBudgetsClientWithBaseURI(baseURI string, subscriptionID string, name string) BudgetsClient
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/consumption/mgmt/2017-12-30-preview/consumption instead. NewBudgetsClientWithBaseURI creates an instance of the BudgetsClient client.
func (BudgetsClient) CreateOrUpdate
deprecated
func (client BudgetsClient) CreateOrUpdate(ctx context.Context, parameters Budget) (result Budget, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/consumption/mgmt/2017-12-30-preview/consumption instead. CreateOrUpdate the operation to create or update a budget. Update operation requires latest eTag to be set in the request mandatorily. You may obtain the latest eTag by performing a get operation. Create operation does not require eTag.
parameters is parameters supplied to the Create Budget operation.
func (BudgetsClient) CreateOrUpdatePreparer
deprecated
func (client BudgetsClient) CreateOrUpdatePreparer(ctx context.Context, parameters Budget) (*http.Request, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/consumption/mgmt/2017-12-30-preview/consumption instead. CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (BudgetsClient) CreateOrUpdateResponder
deprecated
func (client BudgetsClient) CreateOrUpdateResponder(resp *http.Response) (result Budget, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/consumption/mgmt/2017-12-30-preview/consumption instead. CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (BudgetsClient) CreateOrUpdateSender
deprecated
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/consumption/mgmt/2017-12-30-preview/consumption instead. CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (BudgetsClient) Delete
deprecated
func (BudgetsClient) DeletePreparer
deprecated
func (BudgetsClient) DeleteResponder
deprecated
func (client BudgetsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/consumption/mgmt/2017-12-30-preview/consumption instead. DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (BudgetsClient) DeleteSender
deprecated
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/consumption/mgmt/2017-12-30-preview/consumption instead. DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (BudgetsClient) Get
deprecated
func (client BudgetsClient) Get(ctx context.Context) (result Budget, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/consumption/mgmt/2017-12-30-preview/consumption instead. Get gets the budget for a subscription by budget name.
func (BudgetsClient) GetPreparer
deprecated
func (BudgetsClient) GetResponder
deprecated
func (client BudgetsClient) GetResponder(resp *http.Response) (result Budget, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/consumption/mgmt/2017-12-30-preview/consumption instead. GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (BudgetsClient) GetSender
deprecated
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/consumption/mgmt/2017-12-30-preview/consumption instead. GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (BudgetsClient) List
deprecated
func (client BudgetsClient) List(ctx context.Context) (result BudgetsListResult, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/consumption/mgmt/2017-12-30-preview/consumption instead. List lists all budgets for a subscription.
func (BudgetsClient) ListPreparer
deprecated
func (BudgetsClient) ListResponder
deprecated
func (client BudgetsClient) ListResponder(resp *http.Response) (result BudgetsListResult, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/consumption/mgmt/2017-12-30-preview/consumption instead. ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (BudgetsClient) ListSender
deprecated
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/consumption/mgmt/2017-12-30-preview/consumption instead. ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type BudgetsListResult
deprecated
type BudgetsListResult struct { autorest.Response `json:"-"` // Value - The list of budgets. Value *[]Budget `json:"value,omitempty"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/consumption/mgmt/2017-12-30-preview/consumption instead. BudgetsListResult result of listing budgets. It contains a list of available budgets in the scope provided.
type CurrentSpend
deprecated
type CurrentSpend struct { // Amount - The total amount of cost which is being tracked by the budget. Amount *decimal.Decimal `json:"amount,omitempty"` // Unit - The unit of measure for the budget amount. Unit *string `json:"unit,omitempty"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/consumption/mgmt/2017-12-30-preview/consumption instead. CurrentSpend the current amount of cost which is being tracked for a budget.
type ErrorDetails
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"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/consumption/mgmt/2017-12-30-preview/consumption instead. ErrorDetails the details of the error.
type ErrorResponse
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/consumption/mgmt/2017-12-30-preview/consumption 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 Notification
deprecated
type Notification struct { // Enabled - The notification is enabled or not. Enabled *bool `json:"enabled,omitempty"` // Operator - The comparison operator. Possible values include: 'EqualTo', 'GreaterThan', 'GreaterThanOrEqualTo' Operator OperatorType `json:"operator,omitempty"` // Threshold - Threshold value associated with a notification. Notification is sent when the cost exceeded the threshold. It is always percent and has to be between 0 and 1000. Threshold *decimal.Decimal `json:"threshold,omitempty"` // ContactEmails - Email addresses to send the budget notification to when the threshold is exceeded. ContactEmails *[]string `json:"contactEmails,omitempty"` // ContactRoles - Contact roles to send the budget notification to when the threshold is exceeded. ContactRoles *[]string `json:"contactRoles,omitempty"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/consumption/mgmt/2017-12-30-preview/consumption instead. Notification the notification associated with a budget.
type Operation
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/consumption/mgmt/2017-12-30-preview/consumption instead. Operation a Consumption REST API operation.
type OperationDisplay
deprecated
type OperationDisplay struct { // Provider - Service provider: Microsoft.Consumption. Provider *string `json:"provider,omitempty"` // Resource - Resource on which the operation is performed: UsageDetail, 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/consumption/mgmt/2017-12-30-preview/consumption instead. OperationDisplay the object that represents the operation.
type OperationListResult
deprecated
type OperationListResult struct { autorest.Response `json:"-"` // Value - List of consumption operations supported by the Microsoft.Consumption 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/consumption/mgmt/2017-12-30-preview/consumption instead. OperationListResult result of listing consumption operations. It contains a list of operations and a URL link to get the next set of results.
func (OperationListResult) IsEmpty
deprecated
func (olr OperationListResult) IsEmpty() bool
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/consumption/mgmt/2017-12-30-preview/consumption instead. IsEmpty returns true if the ListResult contains no values.
type OperationListResultIterator
deprecated
type OperationListResultIterator struct {
// contains filtered or unexported fields
}
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/consumption/mgmt/2017-12-30-preview/consumption instead. OperationListResultIterator provides access to a complete listing of Operation values.
func (*OperationListResultIterator) Next
deprecated
func (iter *OperationListResultIterator) Next() error
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/consumption/mgmt/2017-12-30-preview/consumption 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
func (iter OperationListResultIterator) NotDone() bool
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/consumption/mgmt/2017-12-30-preview/consumption instead. NotDone returns true if the enumeration should be started or is not yet complete.
func (OperationListResultIterator) Response
deprecated
func (iter OperationListResultIterator) Response() OperationListResult
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/consumption/mgmt/2017-12-30-preview/consumption instead. Response returns the raw server response from the last page request.
func (OperationListResultIterator) Value
deprecated
func (iter OperationListResultIterator) Value() Operation
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/consumption/mgmt/2017-12-30-preview/consumption 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
type OperationListResultPage struct {
// contains filtered or unexported fields
}
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/consumption/mgmt/2017-12-30-preview/consumption instead. OperationListResultPage contains a page of Operation values.
func (*OperationListResultPage) Next
deprecated
func (page *OperationListResultPage) Next() error
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/consumption/mgmt/2017-12-30-preview/consumption 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
func (page OperationListResultPage) NotDone() bool
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/consumption/mgmt/2017-12-30-preview/consumption instead. NotDone returns true if the page enumeration should be started or is not yet complete.
func (OperationListResultPage) Response
deprecated
func (page OperationListResultPage) Response() OperationListResult
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/consumption/mgmt/2017-12-30-preview/consumption instead. Response returns the raw server response from the last page request.
func (OperationListResultPage) Values
deprecated
func (page OperationListResultPage) Values() []Operation
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/consumption/mgmt/2017-12-30-preview/consumption instead. Values returns the slice of values for the current page or nil if there are no values.
type OperationsClient
deprecated
type OperationsClient struct {
BaseClient
}
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/consumption/mgmt/2017-12-30-preview/consumption instead. OperationsClient is the consumption management client provides access to consumption resources for Azure Enterprise Subscriptions.
func NewOperationsClient
deprecated
func NewOperationsClient(subscriptionID string, name string) OperationsClient
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/consumption/mgmt/2017-12-30-preview/consumption instead. NewOperationsClient creates an instance of the OperationsClient client.
func NewOperationsClientWithBaseURI
deprecated
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string, name string) OperationsClient
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/consumption/mgmt/2017-12-30-preview/consumption instead. NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.
func (OperationsClient) List
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/consumption/mgmt/2017-12-30-preview/consumption instead. List lists all of the available consumption REST API operations.
func (OperationsClient) ListComplete
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/consumption/mgmt/2017-12-30-preview/consumption instead. ListComplete enumerates all values, automatically crossing page boundaries as required.
func (OperationsClient) ListPreparer
deprecated
func (OperationsClient) ListResponder
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/consumption/mgmt/2017-12-30-preview/consumption instead. ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (OperationsClient) ListSender
deprecated
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/consumption/mgmt/2017-12-30-preview/consumption instead. ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type OperatorType
deprecated
type OperatorType string
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/consumption/mgmt/2017-12-30-preview/consumption instead. OperatorType enumerates the values for operator type.
const ( // EqualTo ... EqualTo OperatorType = "EqualTo" // GreaterThan ... GreaterThan OperatorType = "GreaterThan" // GreaterThanOrEqualTo ... GreaterThanOrEqualTo OperatorType = "GreaterThanOrEqualTo" )
func PossibleOperatorTypeValues
deprecated
func PossibleOperatorTypeValues() []OperatorType
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/consumption/mgmt/2017-12-30-preview/consumption instead. PossibleOperatorTypeValues returns an array of possible values for the OperatorType const type.
type ProxyResource
deprecated
type ProxyResource 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"` // ETag - eTag of the resource. To handle concurrent update scenarion, this field will be used to determine whether the user is updating the latest version or not. ETag *string `json:"eTag,omitempty"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/consumption/mgmt/2017-12-30-preview/consumption instead. ProxyResource the Resource model definition.
type TimeGrainType
deprecated
type TimeGrainType string
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/consumption/mgmt/2017-12-30-preview/consumption instead. TimeGrainType enumerates the values for time grain type.
const ( // Annually ... Annually TimeGrainType = "Annually" // Monthly ... Monthly TimeGrainType = "Monthly" // Quarterly ... Quarterly TimeGrainType = "Quarterly" )
func PossibleTimeGrainTypeValues
deprecated
func PossibleTimeGrainTypeValues() []TimeGrainType
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/consumption/mgmt/2017-12-30-preview/consumption instead. PossibleTimeGrainTypeValues returns an array of possible values for the TimeGrainType const type.