Documentation ¶
Index ¶
- func ValidateLocationID(input interface{}, key string) (warnings []string, errors []error)
- type BatchLocationQuota
- type GetQuotasOperationResponse
- type ListSupportedCloudServiceSkusCompleteResult
- type ListSupportedCloudServiceSkusOperationOptions
- type ListSupportedCloudServiceSkusOperationResponse
- type ListSupportedVirtualMachineSkusCompleteResult
- type ListSupportedVirtualMachineSkusOperationOptions
- type ListSupportedVirtualMachineSkusOperationResponse
- type LocationClient
- func (c LocationClient) GetQuotas(ctx context.Context, id LocationId) (result GetQuotasOperationResponse, err error)
- func (c LocationClient) ListSupportedCloudServiceSkus(ctx context.Context, id LocationId, ...) (resp ListSupportedCloudServiceSkusOperationResponse, err error)
- func (c LocationClient) ListSupportedCloudServiceSkusComplete(ctx context.Context, id LocationId, ...) (ListSupportedCloudServiceSkusCompleteResult, error)
- func (c LocationClient) ListSupportedCloudServiceSkusCompleteMatchingPredicate(ctx context.Context, id LocationId, ...) (resp ListSupportedCloudServiceSkusCompleteResult, err error)
- func (c LocationClient) ListSupportedVirtualMachineSkus(ctx context.Context, id LocationId, ...) (resp ListSupportedVirtualMachineSkusOperationResponse, err error)
- func (c LocationClient) ListSupportedVirtualMachineSkusComplete(ctx context.Context, id LocationId, ...) (ListSupportedVirtualMachineSkusCompleteResult, error)
- func (c LocationClient) ListSupportedVirtualMachineSkusCompleteMatchingPredicate(ctx context.Context, id LocationId, ...) (resp ListSupportedVirtualMachineSkusCompleteResult, err error)
- type LocationId
- type SkuCapability
- type SupportedSku
- type SupportedSkuOperationPredicate
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateLocationID ¶
ValidateLocationID checks that 'input' can be parsed as a Location ID
Types ¶
type BatchLocationQuota ¶
type BatchLocationQuota struct {
AccountQuota *int64 `json:"accountQuota,omitempty"`
}
type GetQuotasOperationResponse ¶
type GetQuotasOperationResponse struct { HttpResponse *http.Response Model *BatchLocationQuota }
type ListSupportedCloudServiceSkusCompleteResult ¶
type ListSupportedCloudServiceSkusCompleteResult struct {
Items []SupportedSku
}
type ListSupportedCloudServiceSkusOperationOptions ¶
func DefaultListSupportedCloudServiceSkusOperationOptions ¶
func DefaultListSupportedCloudServiceSkusOperationOptions() ListSupportedCloudServiceSkusOperationOptions
type ListSupportedCloudServiceSkusOperationResponse ¶
type ListSupportedCloudServiceSkusOperationResponse struct { HttpResponse *http.Response Model *[]SupportedSku // contains filtered or unexported fields }
func (ListSupportedCloudServiceSkusOperationResponse) HasMore ¶
func (r ListSupportedCloudServiceSkusOperationResponse) HasMore() bool
func (ListSupportedCloudServiceSkusOperationResponse) LoadMore ¶
func (r ListSupportedCloudServiceSkusOperationResponse) LoadMore(ctx context.Context) (resp ListSupportedCloudServiceSkusOperationResponse, err error)
type ListSupportedVirtualMachineSkusCompleteResult ¶
type ListSupportedVirtualMachineSkusCompleteResult struct {
Items []SupportedSku
}
type ListSupportedVirtualMachineSkusOperationOptions ¶
func DefaultListSupportedVirtualMachineSkusOperationOptions ¶
func DefaultListSupportedVirtualMachineSkusOperationOptions() ListSupportedVirtualMachineSkusOperationOptions
type ListSupportedVirtualMachineSkusOperationResponse ¶
type ListSupportedVirtualMachineSkusOperationResponse struct { HttpResponse *http.Response Model *[]SupportedSku // contains filtered or unexported fields }
func (ListSupportedVirtualMachineSkusOperationResponse) HasMore ¶
func (r ListSupportedVirtualMachineSkusOperationResponse) HasMore() bool
func (ListSupportedVirtualMachineSkusOperationResponse) LoadMore ¶
func (r ListSupportedVirtualMachineSkusOperationResponse) LoadMore(ctx context.Context) (resp ListSupportedVirtualMachineSkusOperationResponse, err error)
type LocationClient ¶
func NewLocationClientWithBaseURI ¶
func NewLocationClientWithBaseURI(endpoint string) LocationClient
func (LocationClient) GetQuotas ¶
func (c LocationClient) GetQuotas(ctx context.Context, id LocationId) (result GetQuotasOperationResponse, err error)
GetQuotas ...
func (LocationClient) ListSupportedCloudServiceSkus ¶
func (c LocationClient) ListSupportedCloudServiceSkus(ctx context.Context, id LocationId, options ListSupportedCloudServiceSkusOperationOptions) (resp ListSupportedCloudServiceSkusOperationResponse, err error)
ListSupportedCloudServiceSkus ...
func (LocationClient) ListSupportedCloudServiceSkusComplete ¶
func (c LocationClient) ListSupportedCloudServiceSkusComplete(ctx context.Context, id LocationId, options ListSupportedCloudServiceSkusOperationOptions) (ListSupportedCloudServiceSkusCompleteResult, error)
ListSupportedCloudServiceSkusComplete retrieves all of the results into a single object
func (LocationClient) ListSupportedCloudServiceSkusCompleteMatchingPredicate ¶
func (c LocationClient) ListSupportedCloudServiceSkusCompleteMatchingPredicate(ctx context.Context, id LocationId, options ListSupportedCloudServiceSkusOperationOptions, predicate SupportedSkuOperationPredicate) (resp ListSupportedCloudServiceSkusCompleteResult, err error)
ListSupportedCloudServiceSkusCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (LocationClient) ListSupportedVirtualMachineSkus ¶
func (c LocationClient) ListSupportedVirtualMachineSkus(ctx context.Context, id LocationId, options ListSupportedVirtualMachineSkusOperationOptions) (resp ListSupportedVirtualMachineSkusOperationResponse, err error)
ListSupportedVirtualMachineSkus ...
func (LocationClient) ListSupportedVirtualMachineSkusComplete ¶
func (c LocationClient) ListSupportedVirtualMachineSkusComplete(ctx context.Context, id LocationId, options ListSupportedVirtualMachineSkusOperationOptions) (ListSupportedVirtualMachineSkusCompleteResult, error)
ListSupportedVirtualMachineSkusComplete retrieves all of the results into a single object
func (LocationClient) ListSupportedVirtualMachineSkusCompleteMatchingPredicate ¶
func (c LocationClient) ListSupportedVirtualMachineSkusCompleteMatchingPredicate(ctx context.Context, id LocationId, options ListSupportedVirtualMachineSkusOperationOptions, predicate SupportedSkuOperationPredicate) (resp ListSupportedVirtualMachineSkusCompleteResult, err error)
ListSupportedVirtualMachineSkusCompleteMatchingPredicate retrieves all of the results and then applied the predicate
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) 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 SkuCapability ¶
type SupportedSku ¶
type SupportedSku struct { Capabilities *[]SkuCapability `json:"capabilities,omitempty"` FamilyName *string `json:"familyName,omitempty"` Name *string `json:"name,omitempty"` }
type SupportedSkuOperationPredicate ¶
func (SupportedSkuOperationPredicate) Matches ¶
func (p SupportedSkuOperationPredicate) Matches(input SupportedSku) bool