Documentation ¶
Index ¶
- func ValidateLocationID(input interface{}, key string) (warnings []string, errors []error)
- type CapabilityProperties
- type CapabilityPropertiesOperationPredicate
- type ExecuteCompleteResult
- type ExecuteOperationResponse
- type FastProvisioningEditionCapability
- type FlexibleServerEditionCapability
- type HyperscaleNodeEditionCapability
- type LocationBasedCapabilitiesClient
- func (c LocationBasedCapabilitiesClient) Execute(ctx context.Context, id LocationId) (result ExecuteOperationResponse, err error)
- func (c LocationBasedCapabilitiesClient) ExecuteComplete(ctx context.Context, id LocationId) (ExecuteCompleteResult, error)
- func (c LocationBasedCapabilitiesClient) ExecuteCompleteMatchingPredicate(ctx context.Context, id LocationId, ...) (result ExecuteCompleteResult, err error)
- type LocationId
- type NodeTypeCapability
- type ServerVersionCapability
- type StorageEditionCapability
- type StorageMBCapability
- type StorageTierCapability
- type VcoreCapability
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 { FastProvisioningSupported *bool `json:"fastProvisioningSupported,omitempty"` GeoBackupSupported *bool `json:"geoBackupSupported,omitempty"` Status *string `json:"status,omitempty"` SupportedFastProvisioningEditions *[]FastProvisioningEditionCapability `json:"supportedFastProvisioningEditions,omitempty"` SupportedFlexibleServerEditions *[]FlexibleServerEditionCapability `json:"supportedFlexibleServerEditions,omitempty"` SupportedHAMode *[]string `json:"supportedHAMode,omitempty"` SupportedHyperscaleNodeEditions *[]HyperscaleNodeEditionCapability `json:"supportedHyperscaleNodeEditions,omitempty"` Zone *string `json:"zone,omitempty"` ZoneRedundantHaAndGeoBackupSupported *bool `json:"zoneRedundantHaAndGeoBackupSupported,omitempty"` ZoneRedundantHaSupported *bool `json:"zoneRedundantHaSupported,omitempty"` }
type CapabilityPropertiesOperationPredicate ¶
type CapabilityPropertiesOperationPredicate struct { FastProvisioningSupported *bool GeoBackupSupported *bool Status *string ZoneRedundantHaAndGeoBackupSupported *bool ZoneRedundantHaSupported *bool }
func (CapabilityPropertiesOperationPredicate) Matches ¶
func (p CapabilityPropertiesOperationPredicate) Matches(input CapabilityProperties) bool
type ExecuteCompleteResult ¶
type ExecuteCompleteResult struct {
Items []CapabilityProperties
}
type ExecuteOperationResponse ¶
type ExecuteOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]CapabilityProperties }
type FlexibleServerEditionCapability ¶
type FlexibleServerEditionCapability struct { Name *string `json:"name,omitempty"` Status *string `json:"status,omitempty"` SupportedServerVersions *[]ServerVersionCapability `json:"supportedServerVersions,omitempty"` SupportedStorageEditions *[]StorageEditionCapability `json:"supportedStorageEditions,omitempty"` }
type HyperscaleNodeEditionCapability ¶
type HyperscaleNodeEditionCapability struct { Name *string `json:"name,omitempty"` Status *string `json:"status,omitempty"` SupportedNodeTypes *[]NodeTypeCapability `json:"supportedNodeTypes,omitempty"` SupportedServerVersions *[]ServerVersionCapability `json:"supportedServerVersions,omitempty"` SupportedStorageEditions *[]StorageEditionCapability `json:"supportedStorageEditions,omitempty"` }
type LocationBasedCapabilitiesClient ¶
type LocationBasedCapabilitiesClient struct {
Client *resourcemanager.Client
}
func NewLocationBasedCapabilitiesClientWithBaseURI ¶
func NewLocationBasedCapabilitiesClientWithBaseURI(sdkApi sdkEnv.Api) (*LocationBasedCapabilitiesClient, error)
func (LocationBasedCapabilitiesClient) Execute ¶
func (c LocationBasedCapabilitiesClient) Execute(ctx context.Context, id LocationId) (result ExecuteOperationResponse, err error)
Execute ...
func (LocationBasedCapabilitiesClient) ExecuteComplete ¶
func (c LocationBasedCapabilitiesClient) ExecuteComplete(ctx context.Context, id LocationId) (ExecuteCompleteResult, error)
ExecuteComplete retrieves all the results into a single object
func (LocationBasedCapabilitiesClient) ExecuteCompleteMatchingPredicate ¶
func (c LocationBasedCapabilitiesClient) ExecuteCompleteMatchingPredicate(ctx context.Context, id LocationId, predicate CapabilityPropertiesOperationPredicate) (result ExecuteCompleteResult, err error)
ExecuteCompleteMatchingPredicate 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) 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 NodeTypeCapability ¶
type ServerVersionCapability ¶
type ServerVersionCapability struct { Name *string `json:"name,omitempty"` Status *string `json:"status,omitempty"` SupportedVcores *[]VcoreCapability `json:"supportedVcores,omitempty"` SupportedVersionsToUpgrade *[]string `json:"supportedVersionsToUpgrade,omitempty"` }
type StorageEditionCapability ¶
type StorageEditionCapability struct { Name *string `json:"name,omitempty"` Status *string `json:"status,omitempty"` SupportedStorageMB *[]StorageMBCapability `json:"supportedStorageMB,omitempty"` }
type StorageMBCapability ¶
type StorageMBCapability struct { Name *string `json:"name,omitempty"` Status *string `json:"status,omitempty"` StorageSizeMB *int64 `json:"storageSizeMB,omitempty"` SupportedIops *int64 `json:"supportedIops,omitempty"` SupportedUpgradableTierList *[]StorageTierCapability `json:"supportedUpgradableTierList,omitempty"` }
type StorageTierCapability ¶
type VcoreCapability ¶
Source Files ¶
- client.go
- id_location.go
- method_execute.go
- model_capabilityproperties.go
- model_fastprovisioningeditioncapability.go
- model_flexibleservereditioncapability.go
- model_hyperscalenodeeditioncapability.go
- model_nodetypecapability.go
- model_serverversioncapability.go
- model_storageeditioncapability.go
- model_storagembcapability.go
- model_storagetiercapability.go
- model_vcorecapability.go
- predicates.go
- version.go