Documentation ¶
Index ¶
- func PossibleValuesForQuotaUnit() []string
- func PossibleValuesForStatus() []string
- func ValidateLocationID(input interface{}, key string) (warnings []string, errors []error)
- type AvailableQuota
- type AvailableQuotaOperationPredicate
- type AvailableQuotaProperties
- type ListCompleteResult
- type ListCustomPager
- type ListOperationResponse
- type LocationId
- type PTUDeploymentUsage
- type PTUQuotaGetAvailableOperationResponse
- type PTUQuotaListAvailableCompleteResult
- type PTUQuotaListAvailableCustomPager
- type PTUQuotaListAvailableOperationOptions
- type PTUQuotaListAvailableOperationResponse
- type PTUQuotaListCompleteResult
- type PTUQuotaListCustomPager
- type PTUQuotaListOperationOptions
- type PTUQuotaListOperationResponse
- 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) PTUQuotaGetAvailable(ctx context.Context, id LocationId) (result PTUQuotaGetAvailableOperationResponse, err error)
- func (c QuotaClient) PTUQuotaList(ctx context.Context, id LocationId, options PTUQuotaListOperationOptions) (result PTUQuotaListOperationResponse, err error)
- func (c QuotaClient) PTUQuotaListAvailable(ctx context.Context, id LocationId, ...) (result PTUQuotaListAvailableOperationResponse, err error)
- func (c QuotaClient) PTUQuotaListAvailableComplete(ctx context.Context, id LocationId, ...) (PTUQuotaListAvailableCompleteResult, error)
- func (c QuotaClient) PTUQuotaListAvailableCompleteMatchingPredicate(ctx context.Context, id LocationId, ...) (result PTUQuotaListAvailableCompleteResult, err error)
- func (c QuotaClient) PTUQuotaListComplete(ctx context.Context, id LocationId, options PTUQuotaListOperationOptions) (PTUQuotaListCompleteResult, error)
- func (c QuotaClient) PTUQuotaListCompleteMatchingPredicate(ctx context.Context, id LocationId, options PTUQuotaListOperationOptions, ...) (result PTUQuotaListCompleteResult, 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
- type UsageAndQuotaDetails
- type UsageAndQuotaDetailsOperationPredicate
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 AvailableQuota ¶ added in v0.20250114.1063937
type AvailableQuota struct {
Properties *AvailableQuotaProperties `json:"properties,omitempty"`
}
type AvailableQuotaOperationPredicate ¶ added in v0.20250114.1063937
type AvailableQuotaOperationPredicate struct { }
func (AvailableQuotaOperationPredicate) Matches ¶ added in v0.20250114.1063937
func (p AvailableQuotaOperationPredicate) Matches(input AvailableQuota) bool
type AvailableQuotaProperties ¶ added in v0.20250114.1063937
type AvailableQuotaProperties struct {
Total *int64 `json:"total,omitempty"`
}
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []ResourceQuota }
type ListCustomPager ¶
func (*ListCustomPager) NextPageLink ¶
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 PTUDeploymentUsage ¶ added in v0.20250114.1063937
type PTUDeploymentUsage struct { CollectionQuotaUsage *int64 `json:"collectionQuotaUsage,omitempty"` DeploymentName *string `json:"deploymentName,omitempty"` ResourceGroup *string `json:"resourceGroup,omitempty"` Usage *int64 `json:"usage,omitempty"` WorkspaceName *string `json:"workspaceName,omitempty"` }
type PTUQuotaGetAvailableOperationResponse ¶ added in v0.20250114.1063937
type PTUQuotaGetAvailableOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *AvailableQuota }
type PTUQuotaListAvailableCompleteResult ¶ added in v0.20250114.1063937
type PTUQuotaListAvailableCompleteResult struct { LatestHttpResponse *http.Response Items []AvailableQuota }
type PTUQuotaListAvailableCustomPager ¶ added in v0.20250114.1063937
func (*PTUQuotaListAvailableCustomPager) NextPageLink ¶ added in v0.20250114.1063937
func (p *PTUQuotaListAvailableCustomPager) NextPageLink() *odata.Link
type PTUQuotaListAvailableOperationOptions ¶ added in v0.20250114.1063937
type PTUQuotaListAvailableOperationOptions struct {
Skip *string
}
func DefaultPTUQuotaListAvailableOperationOptions ¶ added in v0.20250114.1063937
func DefaultPTUQuotaListAvailableOperationOptions() PTUQuotaListAvailableOperationOptions
func (PTUQuotaListAvailableOperationOptions) ToHeaders ¶ added in v0.20250114.1063937
func (o PTUQuotaListAvailableOperationOptions) ToHeaders() *client.Headers
func (PTUQuotaListAvailableOperationOptions) ToOData ¶ added in v0.20250114.1063937
func (o PTUQuotaListAvailableOperationOptions) ToOData() *odata.Query
func (PTUQuotaListAvailableOperationOptions) ToQuery ¶ added in v0.20250114.1063937
func (o PTUQuotaListAvailableOperationOptions) ToQuery() *client.QueryParams
type PTUQuotaListAvailableOperationResponse ¶ added in v0.20250114.1063937
type PTUQuotaListAvailableOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]AvailableQuota }
type PTUQuotaListCompleteResult ¶ added in v0.20250114.1063937
type PTUQuotaListCompleteResult struct { LatestHttpResponse *http.Response Items []UsageAndQuotaDetails }
type PTUQuotaListCustomPager ¶ added in v0.20250114.1063937
func (*PTUQuotaListCustomPager) NextPageLink ¶ added in v0.20250114.1063937
func (p *PTUQuotaListCustomPager) NextPageLink() *odata.Link
type PTUQuotaListOperationOptions ¶ added in v0.20250114.1063937
type PTUQuotaListOperationOptions struct {
Skip *string
}
func DefaultPTUQuotaListOperationOptions ¶ added in v0.20250114.1063937
func DefaultPTUQuotaListOperationOptions() PTUQuotaListOperationOptions
func (PTUQuotaListOperationOptions) ToHeaders ¶ added in v0.20250114.1063937
func (o PTUQuotaListOperationOptions) ToHeaders() *client.Headers
func (PTUQuotaListOperationOptions) ToOData ¶ added in v0.20250114.1063937
func (o PTUQuotaListOperationOptions) ToOData() *odata.Query
func (PTUQuotaListOperationOptions) ToQuery ¶ added in v0.20250114.1063937
func (o PTUQuotaListOperationOptions) ToQuery() *client.QueryParams
type PTUQuotaListOperationResponse ¶ added in v0.20250114.1063937
type PTUQuotaListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]UsageAndQuotaDetails }
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) PTUQuotaGetAvailable ¶ added in v0.20250114.1063937
func (c QuotaClient) PTUQuotaGetAvailable(ctx context.Context, id LocationId) (result PTUQuotaGetAvailableOperationResponse, err error)
PTUQuotaGetAvailable ...
func (QuotaClient) PTUQuotaList ¶ added in v0.20250114.1063937
func (c QuotaClient) PTUQuotaList(ctx context.Context, id LocationId, options PTUQuotaListOperationOptions) (result PTUQuotaListOperationResponse, err error)
PTUQuotaList ...
func (QuotaClient) PTUQuotaListAvailable ¶ added in v0.20250114.1063937
func (c QuotaClient) PTUQuotaListAvailable(ctx context.Context, id LocationId, options PTUQuotaListAvailableOperationOptions) (result PTUQuotaListAvailableOperationResponse, err error)
PTUQuotaListAvailable ...
func (QuotaClient) PTUQuotaListAvailableComplete ¶ added in v0.20250114.1063937
func (c QuotaClient) PTUQuotaListAvailableComplete(ctx context.Context, id LocationId, options PTUQuotaListAvailableOperationOptions) (PTUQuotaListAvailableCompleteResult, error)
PTUQuotaListAvailableComplete retrieves all the results into a single object
func (QuotaClient) PTUQuotaListAvailableCompleteMatchingPredicate ¶ added in v0.20250114.1063937
func (c QuotaClient) PTUQuotaListAvailableCompleteMatchingPredicate(ctx context.Context, id LocationId, options PTUQuotaListAvailableOperationOptions, predicate AvailableQuotaOperationPredicate) (result PTUQuotaListAvailableCompleteResult, err error)
PTUQuotaListAvailableCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (QuotaClient) PTUQuotaListComplete ¶ added in v0.20250114.1063937
func (c QuotaClient) PTUQuotaListComplete(ctx context.Context, id LocationId, options PTUQuotaListOperationOptions) (PTUQuotaListCompleteResult, error)
PTUQuotaListComplete retrieves all the results into a single object
func (QuotaClient) PTUQuotaListCompleteMatchingPredicate ¶ added in v0.20250114.1063937
func (c QuotaClient) PTUQuotaListCompleteMatchingPredicate(ctx context.Context, id LocationId, options PTUQuotaListOperationOptions, predicate UsageAndQuotaDetailsOperationPredicate) (result PTUQuotaListCompleteResult, err error)
PTUQuotaListCompleteMatchingPredicate 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 ¶
func (*UpdateCustomPager) NextPageLink ¶
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
type UsageAndQuotaDetails ¶ added in v0.20250114.1063937
type UsageAndQuotaDetails struct { ModelCollection *string `json:"modelCollection,omitempty"` Quota *int64 `json:"quota,omitempty"` UsageDetails *[]PTUDeploymentUsage `json:"usageDetails,omitempty"` }
type UsageAndQuotaDetailsOperationPredicate ¶ added in v0.20250114.1063937
func (UsageAndQuotaDetailsOperationPredicate) Matches ¶ added in v0.20250114.1063937
func (p UsageAndQuotaDetailsOperationPredicate) Matches(input UsageAndQuotaDetails) bool
Source Files ¶
- client.go
- constants.go
- id_location.go
- method_list.go
- method_ptuquotagetavailable.go
- method_ptuquotalist.go
- method_ptuquotalistavailable.go
- method_update.go
- model_availablequota.go
- model_availablequotaproperties.go
- model_ptudeploymentusage.go
- model_quotabaseproperties.go
- model_quotaupdateparameters.go
- model_resourcename.go
- model_resourcequota.go
- model_updateworkspacequotas.go
- model_usageandquotadetails.go
- predicates.go
- version.go