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 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) (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 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" )
type ExecuteCompleteResult ¶
type ExecuteCompleteResult struct {
Items []FlexibleServerCapability
}
type ExecuteOperationResponse ¶
type ExecuteOperationResponse struct { HttpResponse *http.Response Model *[]FlexibleServerCapability // 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 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" )
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" )
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 FlexibleServerCapabilityOperationPredicate) (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 OnlineResizeSupportedEnum ¶
type OnlineResizeSupportedEnum string
const ( OnlineResizeSupportedEnumDisabled OnlineResizeSupportedEnum = "Disabled" OnlineResizeSupportedEnumEnabled OnlineResizeSupportedEnum = "Enabled" )
type RestrictedEnum ¶
type RestrictedEnum string
const ( RestrictedEnumDisabled RestrictedEnum = "Disabled" RestrictedEnumEnabled RestrictedEnum = "Enabled" )
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" )
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"` 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"` }
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" )
type ZoneRedundantHaSupportedEnum ¶
type ZoneRedundantHaSupportedEnum string
const ( ZoneRedundantHaSupportedEnumDisabled ZoneRedundantHaSupportedEnum = "Disabled" ZoneRedundantHaSupportedEnumEnabled ZoneRedundantHaSupportedEnum = "Enabled" )
Source Files ¶
- client.go
- constants.go
- id_location.go
- method_execute_autorest.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