Documentation ¶
Index ¶
- func PossibleValuesForCapabilityStatus() []string
- func PossibleValuesForFastProvisioningSupportedEnum() []string
- func PossibleValuesForGeoBackupSupportedEnum() []string
- func PossibleValuesForHaMode() []string
- func PossibleValuesForOnlineResizeSupportedEnum() []string
- func PossibleValuesForRestrictedEnum() []string
- func PossibleValuesForStorageAutoGrowthSupportedEnum() []string
- func PossibleValuesForZoneRedundantHaAndGeoBackupSupportedEnum() []string
- func PossibleValuesForZoneRedundantHaSupportedEnum() []string
- func ValidateLocationID(input interface{}, key string) (warnings []string, errors []error)
- type CapabilityStatus
- type ExecuteCompleteResult
- type ExecuteCustomPager
- type ExecuteOperationResponse
- type FastProvisioningEditionCapability
- type FastProvisioningSupportedEnum
- type FlexibleServerCapability
- type FlexibleServerCapabilityOperationPredicate
- type FlexibleServerEditionCapability
- type GeoBackupSupportedEnum
- type HaMode
- 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 OnlineResizeSupportedEnum
- type RestrictedEnum
- type ServerSkuCapability
- type ServerVersionCapability
- type StorageAutoGrowthSupportedEnum
- type StorageEditionCapability
- type StorageMbCapability
- type StorageTierCapability
- type ZoneRedundantHaAndGeoBackupSupportedEnum
- type ZoneRedundantHaSupportedEnum
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForCapabilityStatus ¶
func PossibleValuesForCapabilityStatus() []string
func PossibleValuesForFastProvisioningSupportedEnum ¶
func PossibleValuesForFastProvisioningSupportedEnum() []string
func PossibleValuesForGeoBackupSupportedEnum ¶
func PossibleValuesForGeoBackupSupportedEnum() []string
func PossibleValuesForHaMode ¶
func PossibleValuesForHaMode() []string
func PossibleValuesForOnlineResizeSupportedEnum ¶
func PossibleValuesForOnlineResizeSupportedEnum() []string
func PossibleValuesForRestrictedEnum ¶
func PossibleValuesForRestrictedEnum() []string
func PossibleValuesForStorageAutoGrowthSupportedEnum ¶
func PossibleValuesForStorageAutoGrowthSupportedEnum() []string
func PossibleValuesForZoneRedundantHaAndGeoBackupSupportedEnum ¶
func PossibleValuesForZoneRedundantHaAndGeoBackupSupportedEnum() []string
func PossibleValuesForZoneRedundantHaSupportedEnum ¶
func PossibleValuesForZoneRedundantHaSupportedEnum() []string
func ValidateLocationID ¶
ValidateLocationID checks that 'input' can be parsed as a Location ID
Types ¶
type CapabilityStatus ¶
type CapabilityStatus string
const ( CapabilityStatusAvailable CapabilityStatus = "Available" CapabilityStatusDefault CapabilityStatus = "Default" CapabilityStatusDisabled CapabilityStatus = "Disabled" CapabilityStatusVisible CapabilityStatus = "Visible" )
func (*CapabilityStatus) UnmarshalJSON ¶
func (s *CapabilityStatus) UnmarshalJSON(bytes []byte) error
type ExecuteCompleteResult ¶
type ExecuteCompleteResult struct { LatestHttpResponse *http.Response Items []FlexibleServerCapability }
type ExecuteCustomPager ¶
func (*ExecuteCustomPager) NextPageLink ¶
func (p *ExecuteCustomPager) NextPageLink() *odata.Link
type ExecuteOperationResponse ¶
type ExecuteOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]FlexibleServerCapability }
type FastProvisioningEditionCapability ¶
type FastProvisioningEditionCapability struct { Reason *string `json:"reason,omitempty"` ServerCount *int64 `json:"serverCount,omitempty"` Status *CapabilityStatus `json:"status,omitempty"` SupportedServerVersions *string `json:"supportedServerVersions,omitempty"` SupportedSku *string `json:"supportedSku,omitempty"` SupportedStorageGb *int64 `json:"supportedStorageGb,omitempty"` SupportedTier *string `json:"supportedTier,omitempty"` }
type FastProvisioningSupportedEnum ¶
type FastProvisioningSupportedEnum string
const ( FastProvisioningSupportedEnumDisabled FastProvisioningSupportedEnum = "Disabled" FastProvisioningSupportedEnumEnabled FastProvisioningSupportedEnum = "Enabled" )
func (*FastProvisioningSupportedEnum) UnmarshalJSON ¶
func (s *FastProvisioningSupportedEnum) UnmarshalJSON(bytes []byte) error
type FlexibleServerCapability ¶
type FlexibleServerCapability struct { FastProvisioningSupported *FastProvisioningSupportedEnum `json:"fastProvisioningSupported,omitempty"` GeoBackupSupported *GeoBackupSupportedEnum `json:"geoBackupSupported,omitempty"` Name *string `json:"name,omitempty"` OnlineResizeSupported *OnlineResizeSupportedEnum `json:"onlineResizeSupported,omitempty"` Reason *string `json:"reason,omitempty"` Restricted *RestrictedEnum `json:"restricted,omitempty"` Status *CapabilityStatus `json:"status,omitempty"` StorageAutoGrowthSupported *StorageAutoGrowthSupportedEnum `json:"storageAutoGrowthSupported,omitempty"` SupportedFastProvisioningEditions *[]FastProvisioningEditionCapability `json:"supportedFastProvisioningEditions,omitempty"` SupportedServerEditions *[]FlexibleServerEditionCapability `json:"supportedServerEditions,omitempty"` SupportedServerVersions *[]ServerVersionCapability `json:"supportedServerVersions,omitempty"` ZoneRedundantHaAndGeoBackupSupported *ZoneRedundantHaAndGeoBackupSupportedEnum `json:"zoneRedundantHaAndGeoBackupSupported,omitempty"` ZoneRedundantHaSupported *ZoneRedundantHaSupportedEnum `json:"zoneRedundantHaSupported,omitempty"` }
type FlexibleServerCapabilityOperationPredicate ¶
func (FlexibleServerCapabilityOperationPredicate) Matches ¶
func (p FlexibleServerCapabilityOperationPredicate) Matches(input FlexibleServerCapability) bool
type FlexibleServerEditionCapability ¶
type FlexibleServerEditionCapability struct { DefaultSkuName *string `json:"defaultSkuName,omitempty"` Name *string `json:"name,omitempty"` Reason *string `json:"reason,omitempty"` Status *CapabilityStatus `json:"status,omitempty"` SupportedServerSkus *[]ServerSkuCapability `json:"supportedServerSkus,omitempty"` SupportedStorageEditions *[]StorageEditionCapability `json:"supportedStorageEditions,omitempty"` }
type GeoBackupSupportedEnum ¶
type GeoBackupSupportedEnum string
const ( GeoBackupSupportedEnumDisabled GeoBackupSupportedEnum = "Disabled" GeoBackupSupportedEnumEnabled GeoBackupSupportedEnum = "Enabled" )
func (*GeoBackupSupportedEnum) UnmarshalJSON ¶
func (s *GeoBackupSupportedEnum) UnmarshalJSON(bytes []byte) error
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 FlexibleServerCapabilityOperationPredicate) (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) 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 OnlineResizeSupportedEnum ¶
type OnlineResizeSupportedEnum string
const ( OnlineResizeSupportedEnumDisabled OnlineResizeSupportedEnum = "Disabled" OnlineResizeSupportedEnumEnabled OnlineResizeSupportedEnum = "Enabled" )
func (*OnlineResizeSupportedEnum) UnmarshalJSON ¶
func (s *OnlineResizeSupportedEnum) UnmarshalJSON(bytes []byte) error
type RestrictedEnum ¶
type RestrictedEnum string
const ( RestrictedEnumDisabled RestrictedEnum = "Disabled" RestrictedEnumEnabled RestrictedEnum = "Enabled" )
func (*RestrictedEnum) UnmarshalJSON ¶
func (s *RestrictedEnum) UnmarshalJSON(bytes []byte) error
type ServerSkuCapability ¶
type ServerSkuCapability struct { Name *string `json:"name,omitempty"` Reason *string `json:"reason,omitempty"` Status *CapabilityStatus `json:"status,omitempty"` SupportedHaMode *[]HaMode `json:"supportedHaMode,omitempty"` SupportedIops *int64 `json:"supportedIops,omitempty"` SupportedMemoryPerVcoreMb *int64 `json:"supportedMemoryPerVcoreMb,omitempty"` SupportedZones *[]string `json:"supportedZones,omitempty"` VCores *int64 `json:"vCores,omitempty"` }
type ServerVersionCapability ¶
type ServerVersionCapability struct { Name *string `json:"name,omitempty"` Reason *string `json:"reason,omitempty"` Status *CapabilityStatus `json:"status,omitempty"` SupportedVersionsToUpgrade *[]string `json:"supportedVersionsToUpgrade,omitempty"` }
type StorageAutoGrowthSupportedEnum ¶
type StorageAutoGrowthSupportedEnum string
const ( StorageAutoGrowthSupportedEnumDisabled StorageAutoGrowthSupportedEnum = "Disabled" StorageAutoGrowthSupportedEnumEnabled StorageAutoGrowthSupportedEnum = "Enabled" )
func (*StorageAutoGrowthSupportedEnum) UnmarshalJSON ¶
func (s *StorageAutoGrowthSupportedEnum) UnmarshalJSON(bytes []byte) error
type StorageEditionCapability ¶
type StorageEditionCapability struct { DefaultStorageSizeMb *int64 `json:"defaultStorageSizeMb,omitempty"` Name *string `json:"name,omitempty"` Reason *string `json:"reason,omitempty"` Status *CapabilityStatus `json:"status,omitempty"` SupportedStorageMb *[]StorageMbCapability `json:"supportedStorageMb,omitempty"` }
type StorageMbCapability ¶
type StorageMbCapability struct { DefaultIopsTier *string `json:"defaultIopsTier,omitempty"` MaximumStorageSizeMb *int64 `json:"maximumStorageSizeMb,omitempty"` Reason *string `json:"reason,omitempty"` Status *CapabilityStatus `json:"status,omitempty"` StorageSizeMb *int64 `json:"storageSizeMb,omitempty"` SupportedIops *int64 `json:"supportedIops,omitempty"` SupportedIopsTiers *[]StorageTierCapability `json:"supportedIopsTiers,omitempty"` SupportedMaximumIops *int64 `json:"supportedMaximumIops,omitempty"` SupportedMaximumThroughput *int64 `json:"supportedMaximumThroughput,omitempty"` SupportedThroughput *int64 `json:"supportedThroughput,omitempty"` }
type StorageTierCapability ¶
type StorageTierCapability struct { Iops *int64 `json:"iops,omitempty"` Name *string `json:"name,omitempty"` Reason *string `json:"reason,omitempty"` Status *CapabilityStatus `json:"status,omitempty"` }
type ZoneRedundantHaAndGeoBackupSupportedEnum ¶
type ZoneRedundantHaAndGeoBackupSupportedEnum string
const ( ZoneRedundantHaAndGeoBackupSupportedEnumDisabled ZoneRedundantHaAndGeoBackupSupportedEnum = "Disabled" ZoneRedundantHaAndGeoBackupSupportedEnumEnabled ZoneRedundantHaAndGeoBackupSupportedEnum = "Enabled" )
func (*ZoneRedundantHaAndGeoBackupSupportedEnum) UnmarshalJSON ¶
func (s *ZoneRedundantHaAndGeoBackupSupportedEnum) UnmarshalJSON(bytes []byte) error
type ZoneRedundantHaSupportedEnum ¶
type ZoneRedundantHaSupportedEnum string
const ( ZoneRedundantHaSupportedEnumDisabled ZoneRedundantHaSupportedEnum = "Disabled" ZoneRedundantHaSupportedEnumEnabled ZoneRedundantHaSupportedEnum = "Enabled" )
func (*ZoneRedundantHaSupportedEnum) UnmarshalJSON ¶
func (s *ZoneRedundantHaSupportedEnum) UnmarshalJSON(bytes []byte) error
Source Files ¶
- client.go
- constants.go
- id_location.go
- method_execute.go
- model_fastprovisioningeditioncapability.go
- model_flexibleservercapability.go
- model_flexibleservereditioncapability.go
- model_serverskucapability.go
- model_serverversioncapability.go
- model_storageeditioncapability.go
- model_storagembcapability.go
- model_storagetiercapability.go
- predicates.go
- version.go