Versions in this module Expand all Collapse all v0 v0.0.1 Nov 7, 2022 Changes in this version + const DefaultBaseURI + func UserAgent() string + func Version() string + type BaseClient struct + BaseURI string + func New() BaseClient + func NewWithBaseURI(baseURI string) BaseClient + type BasicLimitJSONObject interface + AsLimitJSONObject func() (*LimitJSONObject, bool) + AsLimitObject func() (*LimitObject, bool) + type Client struct + func NewClient() Client + func NewClientWithBaseURI(baseURI string) Client + func (client Client) CreateOrUpdate(ctx context.Context, resourceName string, scope string, ...) (result CreateOrUpdateFuture, err error) + func (client Client) CreateOrUpdatePreparer(ctx context.Context, resourceName string, scope string, ...) (*http.Request, error) + func (client Client) CreateOrUpdateResponder(resp *http.Response) (result CurrentQuotaLimitBase, err error) + func (client Client) CreateOrUpdateSender(req *http.Request) (future CreateOrUpdateFuture, err error) + func (client Client) Get(ctx context.Context, resourceName string, scope string) (result CurrentQuotaLimitBase, err error) + func (client Client) GetPreparer(ctx context.Context, resourceName string, scope string) (*http.Request, error) + func (client Client) GetResponder(resp *http.Response) (result CurrentQuotaLimitBase, err error) + func (client Client) GetSender(req *http.Request) (*http.Response, error) + func (client Client) List(ctx context.Context, scope string) (result LimitsPage, err error) + func (client Client) ListComplete(ctx context.Context, scope string) (result LimitsIterator, err error) + func (client Client) ListPreparer(ctx context.Context, scope string) (*http.Request, error) + func (client Client) ListResponder(resp *http.Response) (result Limits, err error) + func (client Client) ListSender(req *http.Request) (*http.Response, error) + func (client Client) Update(ctx context.Context, resourceName string, scope string, ...) (result UpdateFuture, err error) + func (client Client) UpdatePreparer(ctx context.Context, resourceName string, scope string, ...) (*http.Request, error) + func (client Client) UpdateResponder(resp *http.Response) (result CurrentQuotaLimitBase, err error) + func (client Client) UpdateSender(req *http.Request) (future UpdateFuture, err error) + type CommonResourceProperties struct + ID *string + Name *string + Type *string + func (crp CommonResourceProperties) MarshalJSON() ([]byte, error) + type CreateGenericQuotaRequestParameters struct + Value *[]CurrentQuotaLimitBase + type CreateOrUpdateFuture struct + Result func(Client) (CurrentQuotaLimitBase, error) + func (future *CreateOrUpdateFuture) UnmarshalJSON(body []byte) error + type CurrentQuotaLimitBase struct + ID *string + Name *string + Properties *Properties + Type *string + func (cqlb CurrentQuotaLimitBase) MarshalJSON() ([]byte, error) + type CurrentUsagesBase struct + ID *string + Name *string + Properties *UsagesProperties + Type *string + func (cub CurrentUsagesBase) MarshalJSON() ([]byte, error) + type ExceptionResponse struct + Error *ServiceError + type LimitJSONObject struct + LimitObjectType LimitObjectType + func (ljo LimitJSONObject) AsBasicLimitJSONObject() (BasicLimitJSONObject, bool) + func (ljo LimitJSONObject) AsLimitJSONObject() (*LimitJSONObject, bool) + func (ljo LimitJSONObject) AsLimitObject() (*LimitObject, bool) + func (ljo LimitJSONObject) MarshalJSON() ([]byte, error) + type LimitObject struct + LimitObjectType LimitObjectType + LimitType LimitTypes + Value *int32 + func (lo LimitObject) AsBasicLimitJSONObject() (BasicLimitJSONObject, bool) + func (lo LimitObject) AsLimitJSONObject() (*LimitJSONObject, bool) + func (lo LimitObject) AsLimitObject() (*LimitObject, bool) + func (lo LimitObject) MarshalJSON() ([]byte, error) + type LimitObjectType string + const LimitObjectTypeLimitJSONObject + const LimitObjectTypeLimitValue + func PossibleLimitObjectTypeValues() []LimitObjectType + type LimitType string + const LimitTypeLimitValue + func PossibleLimitTypeValues() []LimitType + type LimitTypes string + const LimitTypesIndependent + const LimitTypesShared + func PossibleLimitTypesValues() []LimitTypes + type Limits struct + NextLink *string + Value *[]CurrentQuotaLimitBase + func (l Limits) IsEmpty() bool + type LimitsIterator struct + func NewLimitsIterator(page LimitsPage) LimitsIterator + func (iter *LimitsIterator) Next() error + func (iter *LimitsIterator) NextWithContext(ctx context.Context) (err error) + func (iter LimitsIterator) NotDone() bool + func (iter LimitsIterator) Response() Limits + func (iter LimitsIterator) Value() CurrentQuotaLimitBase + type LimitsPage struct + func NewLimitsPage(cur Limits, getNextPage func(context.Context, Limits) (Limits, error)) LimitsPage + func (page *LimitsPage) Next() error + func (page *LimitsPage) NextWithContext(ctx context.Context) (err error) + func (page LimitsPage) NotDone() bool + func (page LimitsPage) Response() Limits + func (page LimitsPage) Values() []CurrentQuotaLimitBase + type LimitsResponse struct + NextLink *string + Value *[]CurrentQuotaLimitBase + type OperationClient struct + func NewOperationClient() OperationClient + func NewOperationClientWithBaseURI(baseURI string) OperationClient + func (client OperationClient) List(ctx context.Context) (result OperationListPage, err error) + func (client OperationClient) ListComplete(ctx context.Context) (result OperationListIterator, err error) + func (client OperationClient) ListPreparer(ctx context.Context) (*http.Request, error) + func (client OperationClient) ListResponder(resp *http.Response) (result OperationList, err error) + func (client OperationClient) ListSender(req *http.Request) (*http.Response, error) + type OperationDisplay struct + Description *string + Operation *string + Provider *string + Resource *string + type OperationList struct + NextLink *string + Value *[]OperationResponse + func (ol OperationList) IsEmpty() bool + type OperationListIterator struct + func NewOperationListIterator(page OperationListPage) OperationListIterator + func (iter *OperationListIterator) Next() error + func (iter *OperationListIterator) NextWithContext(ctx context.Context) (err error) + func (iter OperationListIterator) NotDone() bool + func (iter OperationListIterator) Response() OperationList + func (iter OperationListIterator) Value() OperationResponse + type OperationListPage struct + func NewOperationListPage(cur OperationList, ...) OperationListPage + func (page *OperationListPage) Next() error + func (page *OperationListPage) NextWithContext(ctx context.Context) (err error) + func (page OperationListPage) NotDone() bool + func (page OperationListPage) Response() OperationList + func (page OperationListPage) Values() []OperationResponse + type OperationResponse struct + Display *OperationDisplay + Name *string + Origin *string + type Properties struct + IsQuotaApplicable *bool + Limit BasicLimitJSONObject + Name *ResourceName + Properties interface{} + QuotaPeriod *string + ResourceType *string + Unit *string + func (p *Properties) UnmarshalJSON(body []byte) error + func (p Properties) MarshalJSON() ([]byte, error) + type RequestDetails struct + ID *string + Name *string + Type *string + func (rd *RequestDetails) UnmarshalJSON(body []byte) error + func (rd RequestDetails) MarshalJSON() ([]byte, error) + type RequestDetailsList struct + NextLink *string + Value *[]RequestDetails + func (rdl RequestDetailsList) IsEmpty() bool + type RequestDetailsListIterator struct + func NewRequestDetailsListIterator(page RequestDetailsListPage) RequestDetailsListIterator + func (iter *RequestDetailsListIterator) Next() error + func (iter *RequestDetailsListIterator) NextWithContext(ctx context.Context) (err error) + func (iter RequestDetailsListIterator) NotDone() bool + func (iter RequestDetailsListIterator) Response() RequestDetailsList + func (iter RequestDetailsListIterator) Value() RequestDetails + type RequestDetailsListPage struct + func NewRequestDetailsListPage(cur RequestDetailsList, ...) RequestDetailsListPage + func (page *RequestDetailsListPage) Next() error + func (page *RequestDetailsListPage) NextWithContext(ctx context.Context) (err error) + func (page RequestDetailsListPage) NotDone() bool + func (page RequestDetailsListPage) Response() RequestDetailsList + func (page RequestDetailsListPage) Values() []RequestDetails + type RequestOneResourceProperties struct + CurrentValue *int32 + Error *ServiceErrorDetail + IsQuotaApplicable *bool + Limit *LimitObject + Message *string + Name *ResourceName + Properties interface{} + ProvisioningState RequestState + QuotaPeriod *string + RequestSubmitTime *date.Time + ResourceType *string + Unit *string + func (rorp RequestOneResourceProperties) MarshalJSON() ([]byte, error) + type RequestOneResourceSubmitResponse struct + ID *string + Name *string + Type *string + func (rorsr *RequestOneResourceSubmitResponse) UnmarshalJSON(body []byte) error + func (rorsr RequestOneResourceSubmitResponse) MarshalJSON() ([]byte, error) + type RequestProperties struct + Error *ServiceErrorDetail + Message *string + ProvisioningState RequestState + RequestSubmitTime *date.Time + Value *[]SubRequest + func (rp RequestProperties) MarshalJSON() ([]byte, error) + type RequestState string + const RequestStateAccepted + const RequestStateFailed + const RequestStateInProgress + const RequestStateInvalid + const RequestStateSucceeded + func PossibleRequestStateValues() []RequestState + type RequestStatusClient struct + func NewRequestStatusClient() RequestStatusClient + func NewRequestStatusClientWithBaseURI(baseURI string) RequestStatusClient + func (client RequestStatusClient) Get(ctx context.Context, ID string, scope string) (result RequestDetails, err error) + func (client RequestStatusClient) GetPreparer(ctx context.Context, ID string, scope string) (*http.Request, error) + func (client RequestStatusClient) GetResponder(resp *http.Response) (result RequestDetails, err error) + func (client RequestStatusClient) GetSender(req *http.Request) (*http.Response, error) + func (client RequestStatusClient) List(ctx context.Context, scope string, filter string, top *int32, skiptoken string) (result RequestDetailsListPage, err error) + func (client RequestStatusClient) ListComplete(ctx context.Context, scope string, filter string, top *int32, skiptoken string) (result RequestDetailsListIterator, err error) + func (client RequestStatusClient) ListPreparer(ctx context.Context, scope string, filter string, top *int32, skiptoken string) (*http.Request, error) + func (client RequestStatusClient) ListResponder(resp *http.Response) (result RequestDetailsList, err error) + func (client RequestStatusClient) ListSender(req *http.Request) (*http.Response, error) + type RequestStatusDetails struct + Limit *LimitObject + Message *string + Name *ResourceName + Properties interface{} + ProvisioningState RequestState + QuotaPeriod *string + ResourceType *string + Unit *string + func (rsd RequestStatusDetails) MarshalJSON() ([]byte, error) + type RequestSubmitResponse struct + ID *string + Name *string + Properties *RequestProperties + Type *string + func (rsr RequestSubmitResponse) MarshalJSON() ([]byte, error) + type RequestSubmitResponse202 struct + ID *string + Name *string + Type *string + func (rsr2 *RequestSubmitResponse202) UnmarshalJSON(body []byte) error + func (rsr2 RequestSubmitResponse202) MarshalJSON() ([]byte, error) + type ResourceName struct + LocalizedValue *string + Value *string + func (rn ResourceName) MarshalJSON() ([]byte, error) + type ServiceError struct + Code *string + Details *[]ServiceErrorDetail + Message *string + func (se ServiceError) MarshalJSON() ([]byte, error) + type ServiceErrorDetail struct + Code *string + Message *string + func (sed ServiceErrorDetail) MarshalJSON() ([]byte, error) + type SubRequest struct + Limit BasicLimitJSONObject + Message *string + Name *ResourceName + ProvisioningState RequestState + ResourceType *string + SubRequestID *string + Unit *string + func (sr *SubRequest) UnmarshalJSON(body []byte) error + func (sr SubRequest) MarshalJSON() ([]byte, error) + type UpdateFuture struct + Result func(Client) (CurrentQuotaLimitBase, error) + func (future *UpdateFuture) UnmarshalJSON(body []byte) error + type UsagesClient struct + func NewUsagesClient() UsagesClient + func NewUsagesClientWithBaseURI(baseURI string) UsagesClient + func (client UsagesClient) Get(ctx context.Context, resourceName string, scope string) (result CurrentUsagesBase, err error) + func (client UsagesClient) GetPreparer(ctx context.Context, resourceName string, scope string) (*http.Request, error) + func (client UsagesClient) GetResponder(resp *http.Response) (result CurrentUsagesBase, err error) + func (client UsagesClient) GetSender(req *http.Request) (*http.Response, error) + func (client UsagesClient) List(ctx context.Context, scope string) (result UsagesLimitsPage, err error) + func (client UsagesClient) ListComplete(ctx context.Context, scope string) (result UsagesLimitsIterator, err error) + func (client UsagesClient) ListPreparer(ctx context.Context, scope string) (*http.Request, error) + func (client UsagesClient) ListResponder(resp *http.Response) (result UsagesLimits, err error) + func (client UsagesClient) ListSender(req *http.Request) (*http.Response, error) + type UsagesLimits struct + NextLink *string + Value *[]CurrentUsagesBase + func (ul UsagesLimits) IsEmpty() bool + type UsagesLimitsIterator struct + func NewUsagesLimitsIterator(page UsagesLimitsPage) UsagesLimitsIterator + func (iter *UsagesLimitsIterator) Next() error + func (iter *UsagesLimitsIterator) NextWithContext(ctx context.Context) (err error) + func (iter UsagesLimitsIterator) NotDone() bool + func (iter UsagesLimitsIterator) Response() UsagesLimits + func (iter UsagesLimitsIterator) Value() CurrentUsagesBase + type UsagesLimitsPage struct + func NewUsagesLimitsPage(cur UsagesLimits, ...) UsagesLimitsPage + func (page *UsagesLimitsPage) Next() error + func (page *UsagesLimitsPage) NextWithContext(ctx context.Context) (err error) + func (page UsagesLimitsPage) NotDone() bool + func (page UsagesLimitsPage) Response() UsagesLimits + func (page UsagesLimitsPage) Values() []CurrentUsagesBase + type UsagesObject struct + UsagesType UsagesTypes + Value *int32 + type UsagesProperties struct + IsQuotaApplicable *bool + Name *ResourceName + Properties interface{} + QuotaPeriod *string + ResourceType *string + Unit *string + Usages *UsagesObject + func (up UsagesProperties) MarshalJSON() ([]byte, error) + type UsagesTypes string + const UsagesTypesCombined + const UsagesTypesIndividual + func PossibleUsagesTypesValues() []UsagesTypes