Documentation ¶
Index ¶
- func ValidateLocationID(input interface{}, key string) (warnings []string, errors []error)
- type CapabilityProperties
- type CapabilityPropertiesOperationPredicate
- type ExecuteCompleteResult
- type ExecuteOperationResponse
- type FlexibleServerEditionCapability
- type HyperscaleNodeEditionCapability
- type LocationBasedCapabilitiesClient
- func (c LocationBasedCapabilitiesClient) Execute(ctx context.Context, id LocationId) (resp ExecuteOperationResponse, err error)
- func (c LocationBasedCapabilitiesClient) ExecuteComplete(ctx context.Context, id LocationId) (ExecuteCompleteResult, error)
- func (c LocationBasedCapabilitiesClient) ExecuteCompleteMatchingPredicate(ctx context.Context, id LocationId, ...) (resp ExecuteCompleteResult, err error)
- type LocationId
- type NodeTypeCapability
- type ServerVersionCapability
- type StorageEditionCapability
- type StorageMBCapability
- 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 { GeoBackupSupported *bool `json:"geoBackupSupported,omitempty"` Status *string `json:"status,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 { GeoBackupSupported *bool Status *string Zone *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 Model *[]CapabilityProperties // contains filtered or unexported fields }
func (ExecuteOperationResponse) HasMore ¶
func (r ExecuteOperationResponse) HasMore() bool
func (ExecuteOperationResponse) LoadMore ¶
func (r ExecuteOperationResponse) LoadMore(ctx context.Context) (resp ExecuteOperationResponse, err error)
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 autorest.Client // contains filtered or unexported fields }
func NewLocationBasedCapabilitiesClientWithBaseURI ¶
func NewLocationBasedCapabilitiesClientWithBaseURI(endpoint string) LocationBasedCapabilitiesClient
func (LocationBasedCapabilitiesClient) Execute ¶
func (c LocationBasedCapabilitiesClient) Execute(ctx context.Context, id LocationId) (resp ExecuteOperationResponse, err error)
Execute ...
func (LocationBasedCapabilitiesClient) ExecuteComplete ¶
func (c LocationBasedCapabilitiesClient) ExecuteComplete(ctx context.Context, id LocationId) (ExecuteCompleteResult, error)
ExecuteComplete retrieves all of the results into a single object
func (LocationBasedCapabilitiesClient) ExecuteCompleteMatchingPredicate ¶
func (c LocationBasedCapabilitiesClient) ExecuteCompleteMatchingPredicate(ctx context.Context, id LocationId, predicate CapabilityPropertiesOperationPredicate) (resp ExecuteCompleteResult, err error)
ExecuteCompleteMatchingPredicate 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 NodeTypeCapability ¶
type ServerVersionCapability ¶
type ServerVersionCapability struct { Name *string `json:"name,omitempty"` Status *string `json:"status,omitempty"` SupportedVcores *[]VcoreCapability `json:"supportedVcores,omitempty"` }
type StorageEditionCapability ¶
type StorageEditionCapability struct { Name *string `json:"name,omitempty"` Status *string `json:"status,omitempty"` SupportedStorageMB *[]StorageMBCapability `json:"supportedStorageMB,omitempty"` }
type StorageMBCapability ¶
type VcoreCapability ¶
Source Files ¶
- client.go
- id_location.go
- method_execute_autorest.go
- model_capabilityproperties.go
- model_flexibleservereditioncapability.go
- model_hyperscalenodeeditioncapability.go
- model_nodetypecapability.go
- model_serverversioncapability.go
- model_storageeditioncapability.go
- model_storagembcapability.go
- model_vcorecapability.go
- predicates.go
- version.go