Documentation
¶
Index ¶
- func PossibleValuesForSkuTier() []string
- func ValidateProjectID(input interface{}, key string) (warnings []string, errors []error)
- type Capability
- type DevCenterSku
- type DevCenterSkuOperationPredicate
- type ProjectId
- type ProjectSKUsClient
- func (c ProjectSKUsClient) SkusListByProject(ctx context.Context, id ProjectId) (result SkusListByProjectOperationResponse, err error)
- func (c ProjectSKUsClient) SkusListByProjectComplete(ctx context.Context, id ProjectId) (SkusListByProjectCompleteResult, error)
- func (c ProjectSKUsClient) SkusListByProjectCompleteMatchingPredicate(ctx context.Context, id ProjectId, predicate DevCenterSkuOperationPredicate) (result SkusListByProjectCompleteResult, err error)
- type SkuTier
- type SkusListByProjectCompleteResult
- type SkusListByProjectCustomPager
- type SkusListByProjectOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForSkuTier ¶
func PossibleValuesForSkuTier() []string
func ValidateProjectID ¶
ValidateProjectID checks that 'input' can be parsed as a Project ID
Types ¶
type Capability ¶
type DevCenterSku ¶
type DevCenterSku struct { Capabilities *[]Capability `json:"capabilities,omitempty"` Capacity *int64 `json:"capacity,omitempty"` Family *string `json:"family,omitempty"` Locations *[]string `json:"locations,omitempty"` Name string `json:"name"` ResourceType *string `json:"resourceType,omitempty"` Size *string `json:"size,omitempty"` Tier *SkuTier `json:"tier,omitempty"` }
type DevCenterSkuOperationPredicate ¶
type DevCenterSkuOperationPredicate struct { Capacity *int64 Family *string Name *string ResourceType *string Size *string }
func (DevCenterSkuOperationPredicate) Matches ¶
func (p DevCenterSkuOperationPredicate) Matches(input DevCenterSku) bool
type ProjectId ¶
ProjectId is a struct representing the Resource ID for a Project
func NewProjectID ¶
NewProjectID returns a new ProjectId struct
func ParseProjectID ¶
ParseProjectID parses 'input' into a ProjectId
func ParseProjectIDInsensitively ¶
ParseProjectIDInsensitively parses 'input' case-insensitively into a ProjectId note: this method should only be used for API response data and not user input
func (*ProjectId) FromParseResult ¶
func (id *ProjectId) FromParseResult(input resourceids.ParseResult) error
func (ProjectId) Segments ¶
func (id ProjectId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Project ID
type ProjectSKUsClient ¶
type ProjectSKUsClient struct {
Client *resourcemanager.Client
}
func NewProjectSKUsClientWithBaseURI ¶
func NewProjectSKUsClientWithBaseURI(sdkApi sdkEnv.Api) (*ProjectSKUsClient, error)
func (ProjectSKUsClient) SkusListByProject ¶
func (c ProjectSKUsClient) SkusListByProject(ctx context.Context, id ProjectId) (result SkusListByProjectOperationResponse, err error)
SkusListByProject ...
func (ProjectSKUsClient) SkusListByProjectComplete ¶
func (c ProjectSKUsClient) SkusListByProjectComplete(ctx context.Context, id ProjectId) (SkusListByProjectCompleteResult, error)
SkusListByProjectComplete retrieves all the results into a single object
func (ProjectSKUsClient) SkusListByProjectCompleteMatchingPredicate ¶
func (c ProjectSKUsClient) SkusListByProjectCompleteMatchingPredicate(ctx context.Context, id ProjectId, predicate DevCenterSkuOperationPredicate) (result SkusListByProjectCompleteResult, err error)
SkusListByProjectCompleteMatchingPredicate retrieves all the results and then applies the predicate
type SkusListByProjectCompleteResult ¶
type SkusListByProjectCompleteResult struct { LatestHttpResponse *http.Response Items []DevCenterSku }
type SkusListByProjectCustomPager ¶
func (*SkusListByProjectCustomPager) NextPageLink ¶
func (p *SkusListByProjectCustomPager) NextPageLink() *odata.Link
type SkusListByProjectOperationResponse ¶
type SkusListByProjectOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]DevCenterSku }