Versions in this module Expand all Collapse all v0 v0.20241126.2320 Nov 26, 2024 v0.20241126.1723 Nov 26, 2024 Changes in this version + func PossibleValuesForQuotaUsageStatus() []string + func PossibleValuesForUnitType() []string + func ValidateLocationID(input interface{}, key string) (warnings []string, errors []error) + type ListCompleteResult struct + Items []Usage + LatestHttpResponse *http.Response + type ListCustomPager struct + NextLink *odata.Link + func (p *ListCustomPager) NextPageLink() *odata.Link + type ListOperationOptions struct + Filter *string + func DefaultListOperationOptions() ListOperationOptions + func (o ListOperationOptions) ToHeaders() *client.Headers + func (o ListOperationOptions) ToOData() *odata.Query + func (o ListOperationOptions) ToQuery() *client.QueryParams + type ListOperationResponse struct + HttpResponse *http.Response + Model *[]Usage + OData *odata.OData + type LocationId struct + LocationName string + SubscriptionId string + func NewLocationID(subscriptionId string, locationName string) LocationId + func ParseLocationID(input string) (*LocationId, error) + func ParseLocationIDInsensitively(input string) (*LocationId, error) + func (id *LocationId) FromParseResult(input resourceids.ParseResult) error + func (id LocationId) ID() string + func (id LocationId) Segments() []resourceids.Segment + func (id LocationId) String() string + type MetricName struct + LocalizedValue *string + Value *string + type QuotaUsageStatus string + const QuotaUsageStatusBlocked + const QuotaUsageStatusInOverage + const QuotaUsageStatusIncluded + const QuotaUsageStatusUnknown + func (s *QuotaUsageStatus) UnmarshalJSON(bytes []byte) error + type UnitType string + const UnitTypeBytes + const UnitTypeBytesPerSecond + const UnitTypeCount + const UnitTypeCountPerSecond + const UnitTypeMilliseconds + const UnitTypePercent + const UnitTypeSeconds + func (s *UnitType) UnmarshalJSON(bytes []byte) error + type Usage struct + CurrentValue *float64 + Limit *float64 + Name *MetricName + NextResetTime *string + QuotaPeriod *string + Status *QuotaUsageStatus + Unit *UnitType + type UsageOperationPredicate struct + CurrentValue *float64 + Limit *float64 + NextResetTime *string + QuotaPeriod *string + func (p UsageOperationPredicate) Matches(input Usage) bool + type UsagesClient struct + Client *resourcemanager.Client + func NewUsagesClientWithBaseURI(sdkApi sdkEnv.Api) (*UsagesClient, error) + func (c UsagesClient) List(ctx context.Context, id LocationId, options ListOperationOptions) (result ListOperationResponse, err error) + func (c UsagesClient) ListComplete(ctx context.Context, id LocationId, options ListOperationOptions) (ListCompleteResult, error) + func (c UsagesClient) ListCompleteMatchingPredicate(ctx context.Context, id LocationId, options ListOperationOptions, ...) (result ListCompleteResult, err error)