Documentation ¶
Index ¶
- type ListCompleteResult
- type ListOperationResponse
- type UsageModel
- type UsageModelDisplay
- type UsageModelOperationPredicate
- type UsageModelsClient
- func (c UsageModelsClient) List(ctx context.Context, id commonids.SubscriptionId) (resp ListOperationResponse, err error)
- func (c UsageModelsClient) ListComplete(ctx context.Context, id commonids.SubscriptionId) (ListCompleteResult, error)
- func (c UsageModelsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (resp ListCompleteResult, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []UsageModel
}
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *[]UsageModel // contains filtered or unexported fields }
func (ListOperationResponse) HasMore ¶
func (r ListOperationResponse) HasMore() bool
func (ListOperationResponse) LoadMore ¶
func (r ListOperationResponse) LoadMore(ctx context.Context) (resp ListOperationResponse, err error)
type UsageModel ¶
type UsageModel struct { Display *UsageModelDisplay `json:"display,omitempty"` ModelName *string `json:"modelName,omitempty"` TargetType *string `json:"targetType,omitempty"` }
type UsageModelDisplay ¶
type UsageModelDisplay struct {
Description *string `json:"description,omitempty"`
}
type UsageModelOperationPredicate ¶
func (UsageModelOperationPredicate) Matches ¶
func (p UsageModelOperationPredicate) Matches(input UsageModel) bool
type UsageModelsClient ¶
func NewUsageModelsClientWithBaseURI ¶
func NewUsageModelsClientWithBaseURI(endpoint string) UsageModelsClient
func (UsageModelsClient) List ¶
func (c UsageModelsClient) List(ctx context.Context, id commonids.SubscriptionId) (resp ListOperationResponse, err error)
List ...
func (UsageModelsClient) ListComplete ¶
func (c UsageModelsClient) ListComplete(ctx context.Context, id commonids.SubscriptionId) (ListCompleteResult, error)
ListComplete retrieves all of the results into a single object
func (UsageModelsClient) ListCompleteMatchingPredicate ¶
func (c UsageModelsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate UsageModelOperationPredicate) (resp ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
Click to show internal directories.
Click to hide internal directories.