Documentation ¶
Index ¶
- func ValidateLocationID(input interface{}, key string) (warnings []string, errors []error)
- type CapabilityProperties
- type CapabilityPropertiesOperationPredicate
- type ListCompleteResult
- type ListCustomPager
- type ListOperationResponse
- type LocationBasedCapabilitiesClient
- func (c LocationBasedCapabilitiesClient) List(ctx context.Context, id LocationId) (result ListOperationResponse, err error)
- func (c LocationBasedCapabilitiesClient) ListComplete(ctx context.Context, id LocationId) (ListCompleteResult, error)
- func (c LocationBasedCapabilitiesClient) ListCompleteMatchingPredicate(ctx context.Context, id LocationId, ...) (result ListCompleteResult, err error)
- type LocationId
- type ServerEditionCapability
- type ServerVersionCapability
- type SkuCapability
- type StorageEditionCapability
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 CapabilityProperties ¶
type CapabilityProperties struct { SupportedFlexibleServerEditions *[]ServerEditionCapability `json:"supportedFlexibleServerEditions,omitempty"` SupportedGeoBackupRegions *[]string `json:"supportedGeoBackupRegions,omitempty"` SupportedHAMode *[]string `json:"supportedHAMode,omitempty"` Zone *string `json:"zone,omitempty"` }
type CapabilityPropertiesOperationPredicate ¶
type CapabilityPropertiesOperationPredicate struct { }
func (CapabilityPropertiesOperationPredicate) Matches ¶
func (p CapabilityPropertiesOperationPredicate) Matches(input CapabilityProperties) bool
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []CapabilityProperties }
type ListCustomPager ¶
func (*ListCustomPager) NextPageLink ¶
func (p *ListCustomPager) NextPageLink() *odata.Link
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]CapabilityProperties }
type LocationBasedCapabilitiesClient ¶
type LocationBasedCapabilitiesClient struct {
Client *resourcemanager.Client
}
func NewLocationBasedCapabilitiesClientWithBaseURI ¶
func NewLocationBasedCapabilitiesClientWithBaseURI(sdkApi sdkEnv.Api) (*LocationBasedCapabilitiesClient, error)
func (LocationBasedCapabilitiesClient) List ¶
func (c LocationBasedCapabilitiesClient) List(ctx context.Context, id LocationId) (result ListOperationResponse, err error)
List ...
func (LocationBasedCapabilitiesClient) ListComplete ¶
func (c LocationBasedCapabilitiesClient) ListComplete(ctx context.Context, id LocationId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (LocationBasedCapabilitiesClient) ListCompleteMatchingPredicate ¶
func (c LocationBasedCapabilitiesClient) ListCompleteMatchingPredicate(ctx context.Context, id LocationId, predicate CapabilityPropertiesOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate 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 ¶
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 ServerEditionCapability ¶
type ServerEditionCapability struct { Name *string `json:"name,omitempty"` SupportedServerVersions *[]ServerVersionCapability `json:"supportedServerVersions,omitempty"` SupportedStorageEditions *[]StorageEditionCapability `json:"supportedStorageEditions,omitempty"` }
type ServerVersionCapability ¶
type ServerVersionCapability struct { Name *string `json:"name,omitempty"` SupportedSkus *[]SkuCapability `json:"supportedSkus,omitempty"` }
type SkuCapability ¶
type StorageEditionCapability ¶
type StorageEditionCapability struct { MaxBackupRetentionDays *int64 `json:"maxBackupRetentionDays,omitempty"` MaxStorageSize *int64 `json:"maxStorageSize,omitempty"` MinBackupRetentionDays *int64 `json:"minBackupRetentionDays,omitempty"` MinStorageSize *int64 `json:"minStorageSize,omitempty"` Name *string `json:"name,omitempty"` }