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 ValidateFlexibleServerID(input interface{}, key string) (warnings []string, errors []error)
- type CapabilityStatus
- type FastProvisioningEditionCapability
- type FastProvisioningSupportedEnum
- type FlexibleServerCapabilitiesClient
- func (c FlexibleServerCapabilitiesClient) ServerCapabilitiesList(ctx context.Context, id FlexibleServerId) (result ServerCapabilitiesListOperationResponse, err error)
- func (c FlexibleServerCapabilitiesClient) ServerCapabilitiesListComplete(ctx context.Context, id FlexibleServerId) (ServerCapabilitiesListCompleteResult, error)
- func (c FlexibleServerCapabilitiesClient) ServerCapabilitiesListCompleteMatchingPredicate(ctx context.Context, id FlexibleServerId, ...) (result ServerCapabilitiesListCompleteResult, err error)
- type FlexibleServerCapability
- type FlexibleServerCapabilityOperationPredicate
- type FlexibleServerEditionCapability
- type FlexibleServerId
- type GeoBackupSupportedEnum
- type HaMode
- type OnlineResizeSupportedEnum
- type RestrictedEnum
- type ServerCapabilitiesListCompleteResult
- type ServerCapabilitiesListOperationResponse
- 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 ValidateFlexibleServerID ¶
ValidateFlexibleServerID checks that 'input' can be parsed as a Flexible Server 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 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 FlexibleServerCapabilitiesClient ¶
type FlexibleServerCapabilitiesClient struct {
Client *resourcemanager.Client
}
func NewFlexibleServerCapabilitiesClientWithBaseURI ¶
func NewFlexibleServerCapabilitiesClientWithBaseURI(sdkApi sdkEnv.Api) (*FlexibleServerCapabilitiesClient, error)
func (FlexibleServerCapabilitiesClient) ServerCapabilitiesList ¶
func (c FlexibleServerCapabilitiesClient) ServerCapabilitiesList(ctx context.Context, id FlexibleServerId) (result ServerCapabilitiesListOperationResponse, err error)
ServerCapabilitiesList ...
func (FlexibleServerCapabilitiesClient) ServerCapabilitiesListComplete ¶
func (c FlexibleServerCapabilitiesClient) ServerCapabilitiesListComplete(ctx context.Context, id FlexibleServerId) (ServerCapabilitiesListCompleteResult, error)
ServerCapabilitiesListComplete retrieves all the results into a single object
func (FlexibleServerCapabilitiesClient) ServerCapabilitiesListCompleteMatchingPredicate ¶
func (c FlexibleServerCapabilitiesClient) ServerCapabilitiesListCompleteMatchingPredicate(ctx context.Context, id FlexibleServerId, predicate FlexibleServerCapabilityOperationPredicate) (result ServerCapabilitiesListCompleteResult, err error)
ServerCapabilitiesListCompleteMatchingPredicate retrieves all the results and then applies the predicate
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 FlexibleServerId ¶
type FlexibleServerId struct { SubscriptionId string ResourceGroupName string FlexibleServerName string }
FlexibleServerId is a struct representing the Resource ID for a Flexible Server
func NewFlexibleServerID ¶
func NewFlexibleServerID(subscriptionId string, resourceGroupName string, flexibleServerName string) FlexibleServerId
NewFlexibleServerID returns a new FlexibleServerId struct
func ParseFlexibleServerID ¶
func ParseFlexibleServerID(input string) (*FlexibleServerId, error)
ParseFlexibleServerID parses 'input' into a FlexibleServerId
func ParseFlexibleServerIDInsensitively ¶
func ParseFlexibleServerIDInsensitively(input string) (*FlexibleServerId, error)
ParseFlexibleServerIDInsensitively parses 'input' case-insensitively into a FlexibleServerId note: this method should only be used for API response data and not user input
func (*FlexibleServerId) FromParseResult ¶
func (id *FlexibleServerId) FromParseResult(input resourceids.ParseResult) error
func (FlexibleServerId) ID ¶
func (id FlexibleServerId) ID() string
ID returns the formatted Flexible Server ID
func (FlexibleServerId) Segments ¶
func (id FlexibleServerId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Flexible Server ID
func (FlexibleServerId) String ¶
func (id FlexibleServerId) String() string
String returns a human-readable description of this Flexible Server ID
type GeoBackupSupportedEnum ¶
type GeoBackupSupportedEnum string
const ( GeoBackupSupportedEnumDisabled GeoBackupSupportedEnum = "Disabled" GeoBackupSupportedEnumEnabled GeoBackupSupportedEnum = "Enabled" )
func (*GeoBackupSupportedEnum) UnmarshalJSON ¶
func (s *GeoBackupSupportedEnum) UnmarshalJSON(bytes []byte) error
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 ServerCapabilitiesListCompleteResult ¶
type ServerCapabilitiesListCompleteResult struct { LatestHttpResponse *http.Response Items []FlexibleServerCapability }
type ServerCapabilitiesListOperationResponse ¶
type ServerCapabilitiesListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]FlexibleServerCapability }
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_flexibleserver.go
- method_servercapabilitieslist.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