Documentation ¶
Index ¶
- func PossibleValuesForQuotaUnit() []string
- func PossibleValuesForStatus() []string
- func ValidateLocationID(input interface{}, key string) (warnings []string, errors []error)
- type ListCompleteResult
- type ListCustomPager
- type ListOperationResponse
- type LocationId
- type QuotaBaseProperties
- type QuotaClient
- func (c QuotaClient) List(ctx context.Context, id LocationId) (result ListOperationResponse, err error)
- func (c QuotaClient) ListComplete(ctx context.Context, id LocationId) (ListCompleteResult, error)
- func (c QuotaClient) ListCompleteMatchingPredicate(ctx context.Context, id LocationId, predicate ResourceQuotaOperationPredicate) (result ListCompleteResult, err error)
- func (c QuotaClient) Update(ctx context.Context, id LocationId, input QuotaUpdateParameters) (result UpdateOperationResponse, err error)
- func (c QuotaClient) UpdateComplete(ctx context.Context, id LocationId, input QuotaUpdateParameters) (UpdateCompleteResult, error)
- func (c QuotaClient) UpdateCompleteMatchingPredicate(ctx context.Context, id LocationId, input QuotaUpdateParameters, ...) (result UpdateCompleteResult, err error)
- type QuotaUnit
- type QuotaUpdateParameters
- type ResourceName
- type ResourceQuota
- type ResourceQuotaOperationPredicate
- type Status
- type UpdateCompleteResult
- type UpdateCustomPager
- type UpdateOperationResponse
- type UpdateWorkspaceQuotas
- type UpdateWorkspaceQuotasOperationPredicate
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForQuotaUnit ¶
func PossibleValuesForQuotaUnit() []string
func PossibleValuesForStatus ¶
func PossibleValuesForStatus() []string
func ValidateLocationID ¶
ValidateLocationID checks that 'input' can be parsed as a Location ID
Types ¶
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []ResourceQuota }
type ListCustomPager ¶ added in v0.20240628.1153531
func (*ListCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListCustomPager) NextPageLink() *odata.Link
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ResourceQuota }
type LocationId ¶
LocationId is a struct representing the Resource ID for a Location
func NewLocationID ¶
func NewLocationID(subscriptionId string, locationName string) LocationId
NewLocationID returns a new LocationId struct
func ParseLocationID ¶
func ParseLocationID(input string) (*LocationId, error)
ParseLocationID parses 'input' into a LocationId
func ParseLocationIDInsensitively ¶
func ParseLocationIDInsensitively(input string) (*LocationId, error)
ParseLocationIDInsensitively parses 'input' case-insensitively into a LocationId note: this method should only be used for API response data and not user input
func (*LocationId) FromParseResult ¶
func (id *LocationId) FromParseResult(input resourceids.ParseResult) error
func (LocationId) Segments ¶
func (id LocationId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Location ID
func (LocationId) String ¶
func (id LocationId) String() string
String returns a human-readable description of this Location ID
type QuotaBaseProperties ¶
type QuotaClient ¶
type QuotaClient struct {
Client *resourcemanager.Client
}
func NewQuotaClientWithBaseURI ¶
func NewQuotaClientWithBaseURI(sdkApi sdkEnv.Api) (*QuotaClient, error)
func (QuotaClient) List ¶
func (c QuotaClient) List(ctx context.Context, id LocationId) (result ListOperationResponse, err error)
List ...
func (QuotaClient) ListComplete ¶
func (c QuotaClient) ListComplete(ctx context.Context, id LocationId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (QuotaClient) ListCompleteMatchingPredicate ¶
func (c QuotaClient) ListCompleteMatchingPredicate(ctx context.Context, id LocationId, predicate ResourceQuotaOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (QuotaClient) Update ¶
func (c QuotaClient) Update(ctx context.Context, id LocationId, input QuotaUpdateParameters) (result UpdateOperationResponse, err error)
Update ...
func (QuotaClient) UpdateComplete ¶
func (c QuotaClient) UpdateComplete(ctx context.Context, id LocationId, input QuotaUpdateParameters) (UpdateCompleteResult, error)
UpdateComplete retrieves all the results into a single object
func (QuotaClient) UpdateCompleteMatchingPredicate ¶
func (c QuotaClient) UpdateCompleteMatchingPredicate(ctx context.Context, id LocationId, input QuotaUpdateParameters, predicate UpdateWorkspaceQuotasOperationPredicate) (result UpdateCompleteResult, err error)
UpdateCompleteMatchingPredicate retrieves all the results and then applies the predicate
type QuotaUnit ¶
type QuotaUnit string
const (
QuotaUnitCount QuotaUnit = "Count"
)
func (*QuotaUnit) UnmarshalJSON ¶
type QuotaUpdateParameters ¶
type QuotaUpdateParameters struct { Location *string `json:"location,omitempty"` Value *[]QuotaBaseProperties `json:"value,omitempty"` }
type ResourceName ¶
type ResourceQuota ¶
type ResourceQuotaOperationPredicate ¶
type ResourceQuotaOperationPredicate struct { AmlWorkspaceLocation *string Id *string Limit *int64 Type *string }
func (ResourceQuotaOperationPredicate) Matches ¶
func (p ResourceQuotaOperationPredicate) Matches(input ResourceQuota) bool
type Status ¶
type Status string
const ( StatusFailure Status = "Failure" StatusInvalidQuotaBelowClusterMinimum Status = "InvalidQuotaBelowClusterMinimum" StatusInvalidQuotaExceedsSubscriptionLimit Status = "InvalidQuotaExceedsSubscriptionLimit" StatusInvalidVMFamilyName Status = "InvalidVMFamilyName" StatusOperationNotEnabledForRegion Status = "OperationNotEnabledForRegion" StatusOperationNotSupportedForSku Status = "OperationNotSupportedForSku" StatusSuccess Status = "Success" StatusUndefined Status = "Undefined" )
func (*Status) UnmarshalJSON ¶
type UpdateCompleteResult ¶
type UpdateCompleteResult struct { LatestHttpResponse *http.Response Items []UpdateWorkspaceQuotas }
type UpdateCustomPager ¶ added in v0.20240628.1153531
func (*UpdateCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *UpdateCustomPager) NextPageLink() *odata.Link
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]UpdateWorkspaceQuotas }
type UpdateWorkspaceQuotas ¶
type UpdateWorkspaceQuotasOperationPredicate ¶
func (UpdateWorkspaceQuotasOperationPredicate) Matches ¶
func (p UpdateWorkspaceQuotasOperationPredicate) Matches(input UpdateWorkspaceQuotas) bool