Documentation ¶
Index ¶
- func ValidateQuotaID(input interface{}, key string) (warnings []string, errors []error)
- type ListByServiceOperationResponse
- type QuotaByCounterKeysClient
- type QuotaCounterCollection
- type QuotaCounterContract
- type QuotaCounterValueContractProperties
- type QuotaCounterValueUpdateContract
- type QuotaId
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateQuotaID ¶
ValidateQuotaID checks that 'input' can be parsed as a Quota ID
Types ¶
type ListByServiceOperationResponse ¶
type ListByServiceOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *QuotaCounterCollection }
type QuotaByCounterKeysClient ¶
type QuotaByCounterKeysClient struct {
Client *resourcemanager.Client
}
func NewQuotaByCounterKeysClientWithBaseURI ¶
func NewQuotaByCounterKeysClientWithBaseURI(sdkApi sdkEnv.Api) (*QuotaByCounterKeysClient, error)
func (QuotaByCounterKeysClient) ListByService ¶
func (c QuotaByCounterKeysClient) ListByService(ctx context.Context, id QuotaId) (result ListByServiceOperationResponse, err error)
ListByService ...
func (QuotaByCounterKeysClient) Update ¶
func (c QuotaByCounterKeysClient) Update(ctx context.Context, id QuotaId, input QuotaCounterValueUpdateContract) (result UpdateOperationResponse, err error)
Update ...
type QuotaCounterCollection ¶
type QuotaCounterCollection struct { Count *int64 `json:"count,omitempty"` NextLink *string `json:"nextLink,omitempty"` Value *[]QuotaCounterContract `json:"value,omitempty"` }
type QuotaCounterContract ¶
type QuotaCounterContract struct { CounterKey string `json:"counterKey"` PeriodEndTime string `json:"periodEndTime"` PeriodKey string `json:"periodKey"` PeriodStartTime string `json:"periodStartTime"` Value *QuotaCounterValueContractProperties `json:"value,omitempty"` }
func (*QuotaCounterContract) GetPeriodEndTimeAsTime ¶
func (o *QuotaCounterContract) GetPeriodEndTimeAsTime() (*time.Time, error)
func (*QuotaCounterContract) GetPeriodStartTimeAsTime ¶
func (o *QuotaCounterContract) GetPeriodStartTimeAsTime() (*time.Time, error)
func (*QuotaCounterContract) SetPeriodEndTimeAsTime ¶
func (o *QuotaCounterContract) SetPeriodEndTimeAsTime(input time.Time)
func (*QuotaCounterContract) SetPeriodStartTimeAsTime ¶
func (o *QuotaCounterContract) SetPeriodStartTimeAsTime(input time.Time)
type QuotaCounterValueUpdateContract ¶
type QuotaCounterValueUpdateContract struct {
Properties *QuotaCounterValueContractProperties `json:"properties,omitempty"`
}
type QuotaId ¶
type QuotaId struct { SubscriptionId string ResourceGroupName string ServiceName string QuotaCounterKey string }
QuotaId is a struct representing the Resource ID for a Quota
func NewQuotaID ¶
func NewQuotaID(subscriptionId string, resourceGroupName string, serviceName string, quotaCounterKey string) QuotaId
NewQuotaID returns a new QuotaId struct
func ParseQuotaID ¶
ParseQuotaID parses 'input' into a QuotaId
func ParseQuotaIDInsensitively ¶
ParseQuotaIDInsensitively parses 'input' case-insensitively into a QuotaId note: this method should only be used for API response data and not user input
func (*QuotaId) FromParseResult ¶
func (id *QuotaId) FromParseResult(input resourceids.ParseResult) error
func (QuotaId) Segments ¶
func (id QuotaId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Quota ID
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *QuotaCounterCollection }
Click to show internal directories.
Click to hide internal directories.