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, ...) (result ListSupportedCloudServiceSkusOperationResponse, err error)
- func (c LocationClient) ListSupportedCloudServiceSkusComplete(ctx context.Context, id LocationId, ...) (ListSupportedCloudServiceSkusCompleteResult, error)
- func (c LocationClient) ListSupportedCloudServiceSkusCompleteMatchingPredicate(ctx context.Context, id LocationId, ...) (result ListSupportedCloudServiceSkusCompleteResult, err error)
- func (c LocationClient) ListSupportedVirtualMachineSkus(ctx context.Context, id LocationId, ...) (result ListSupportedVirtualMachineSkusOperationResponse, err error)
- func (c LocationClient) ListSupportedVirtualMachineSkusComplete(ctx context.Context, id LocationId, ...) (ListSupportedVirtualMachineSkusCompleteResult, error)
- func (c LocationClient) ListSupportedVirtualMachineSkusCompleteMatchingPredicate(ctx context.Context, id LocationId, ...) (result 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 OData *odata.OData Model *BatchLocationQuota }
type ListSupportedCloudServiceSkusCompleteResult ¶
type ListSupportedCloudServiceSkusCompleteResult struct {
Items []SupportedSku
}
type ListSupportedCloudServiceSkusOperationOptions ¶
func DefaultListSupportedCloudServiceSkusOperationOptions ¶
func DefaultListSupportedCloudServiceSkusOperationOptions() ListSupportedCloudServiceSkusOperationOptions
func (ListSupportedCloudServiceSkusOperationOptions) ToHeaders ¶
func (o ListSupportedCloudServiceSkusOperationOptions) ToHeaders() *client.Headers
func (ListSupportedCloudServiceSkusOperationOptions) ToOData ¶
func (o ListSupportedCloudServiceSkusOperationOptions) ToOData() *odata.Query
func (ListSupportedCloudServiceSkusOperationOptions) ToQuery ¶
func (o ListSupportedCloudServiceSkusOperationOptions) ToQuery() *client.QueryParams
type ListSupportedCloudServiceSkusOperationResponse ¶
type ListSupportedCloudServiceSkusOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]SupportedSku }
type ListSupportedVirtualMachineSkusCompleteResult ¶
type ListSupportedVirtualMachineSkusCompleteResult struct {
Items []SupportedSku
}
type ListSupportedVirtualMachineSkusOperationOptions ¶
func DefaultListSupportedVirtualMachineSkusOperationOptions ¶
func DefaultListSupportedVirtualMachineSkusOperationOptions() ListSupportedVirtualMachineSkusOperationOptions
func (ListSupportedVirtualMachineSkusOperationOptions) ToHeaders ¶
func (o ListSupportedVirtualMachineSkusOperationOptions) ToHeaders() *client.Headers
func (ListSupportedVirtualMachineSkusOperationOptions) ToOData ¶
func (o ListSupportedVirtualMachineSkusOperationOptions) ToOData() *odata.Query
func (ListSupportedVirtualMachineSkusOperationOptions) ToQuery ¶
func (o ListSupportedVirtualMachineSkusOperationOptions) ToQuery() *client.QueryParams
type ListSupportedVirtualMachineSkusOperationResponse ¶
type ListSupportedVirtualMachineSkusOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]SupportedSku }
type LocationClient ¶
type LocationClient struct {
Client *resourcemanager.Client
}
func NewLocationClientWithBaseURI ¶
func NewLocationClientWithBaseURI(sdkApi sdkEnv.Api) (*LocationClient, error)
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) (result ListSupportedCloudServiceSkusOperationResponse, err error)
ListSupportedCloudServiceSkus ...
func (LocationClient) ListSupportedCloudServiceSkusComplete ¶
func (c LocationClient) ListSupportedCloudServiceSkusComplete(ctx context.Context, id LocationId, options ListSupportedCloudServiceSkusOperationOptions) (ListSupportedCloudServiceSkusCompleteResult, error)
ListSupportedCloudServiceSkusComplete retrieves all the results into a single object
func (LocationClient) ListSupportedCloudServiceSkusCompleteMatchingPredicate ¶
func (c LocationClient) ListSupportedCloudServiceSkusCompleteMatchingPredicate(ctx context.Context, id LocationId, options ListSupportedCloudServiceSkusOperationOptions, predicate SupportedSkuOperationPredicate) (result ListSupportedCloudServiceSkusCompleteResult, err error)
ListSupportedCloudServiceSkusCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (LocationClient) ListSupportedVirtualMachineSkus ¶
func (c LocationClient) ListSupportedVirtualMachineSkus(ctx context.Context, id LocationId, options ListSupportedVirtualMachineSkusOperationOptions) (result ListSupportedVirtualMachineSkusOperationResponse, err error)
ListSupportedVirtualMachineSkus ...
func (LocationClient) ListSupportedVirtualMachineSkusComplete ¶
func (c LocationClient) ListSupportedVirtualMachineSkusComplete(ctx context.Context, id LocationId, options ListSupportedVirtualMachineSkusOperationOptions) (ListSupportedVirtualMachineSkusCompleteResult, error)
ListSupportedVirtualMachineSkusComplete retrieves all the results into a single object
func (LocationClient) ListSupportedVirtualMachineSkusCompleteMatchingPredicate ¶
func (c LocationClient) ListSupportedVirtualMachineSkusCompleteMatchingPredicate(ctx context.Context, id LocationId, options ListSupportedVirtualMachineSkusOperationOptions, predicate SupportedSkuOperationPredicate) (result ListSupportedVirtualMachineSkusCompleteResult, err error)
ListSupportedVirtualMachineSkusCompleteMatchingPredicate retrieves all the results and then applies 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) FromParseResult ¶ added in v0.20231127.1171502
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 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