Documentation ¶
Index ¶
- func PossibleValuesForCapabilityGroup() []string
- func PossibleValuesForCapabilityStatus() []string
- func PossibleValuesForLogSizeUnit() []string
- func PossibleValuesForMaxSizeUnit() []string
- func PossibleValuesForPauseDelayTimeUnit() []string
- func PossibleValuesForPerformanceLevelUnit() []string
- func PossibleValuesForStorageAccountType() []string
- func ValidateLocationID(input interface{}, key string) (warnings []string, errors []error)
- type AutoPauseDelayTimeRange
- type CapabilitiesListByLocationOperationOptions
- type CapabilitiesListByLocationOperationResponse
- type CapabilityGroup
- type CapabilityStatus
- type EditionCapability
- type ElasticPoolEditionCapability
- type ElasticPoolPerDatabaseMaxPerformanceLevelCapability
- type ElasticPoolPerDatabaseMinPerformanceLevelCapability
- type ElasticPoolPerformanceLevelCapability
- type InstancePoolEditionCapability
- type InstancePoolFamilyCapability
- type InstancePoolVcoresCapability
- type LicenseTypeCapability
- type LocationCapabilities
- type LocationCapabilitiesClient
- type LocationId
- type LogSizeCapability
- type LogSizeUnit
- type MaintenanceConfigurationCapability
- type ManagedInstanceEditionCapability
- type ManagedInstanceFamilyCapability
- type ManagedInstanceMaintenanceConfigurationCapability
- type ManagedInstanceVcoresCapability
- type ManagedInstanceVersionCapability
- type MaxSizeCapability
- type MaxSizeRangeCapability
- type MaxSizeUnit
- type MinCapacityCapability
- type PauseDelayTimeUnit
- type PerformanceLevelCapability
- type PerformanceLevelUnit
- type ReadScaleCapability
- type ServerVersionCapability
- type ServiceObjectiveCapability
- type Sku
- type StorageAccountType
- type StorageCapability
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForCapabilityGroup ¶
func PossibleValuesForCapabilityGroup() []string
func PossibleValuesForCapabilityStatus ¶
func PossibleValuesForCapabilityStatus() []string
func PossibleValuesForLogSizeUnit ¶
func PossibleValuesForLogSizeUnit() []string
func PossibleValuesForMaxSizeUnit ¶
func PossibleValuesForMaxSizeUnit() []string
func PossibleValuesForPauseDelayTimeUnit ¶
func PossibleValuesForPauseDelayTimeUnit() []string
func PossibleValuesForPerformanceLevelUnit ¶
func PossibleValuesForPerformanceLevelUnit() []string
func PossibleValuesForStorageAccountType ¶
func PossibleValuesForStorageAccountType() []string
func ValidateLocationID ¶
ValidateLocationID checks that 'input' can be parsed as a Location ID
Types ¶
type AutoPauseDelayTimeRange ¶
type AutoPauseDelayTimeRange struct { Default *int64 `json:"default,omitempty"` DoNotPauseValue *int64 `json:"doNotPauseValue,omitempty"` MaxValue *int64 `json:"maxValue,omitempty"` MinValue *int64 `json:"minValue,omitempty"` StepSize *int64 `json:"stepSize,omitempty"` Unit *PauseDelayTimeUnit `json:"unit,omitempty"` }
type CapabilitiesListByLocationOperationOptions ¶
type CapabilitiesListByLocationOperationOptions struct {
Include *CapabilityGroup
}
func DefaultCapabilitiesListByLocationOperationOptions ¶
func DefaultCapabilitiesListByLocationOperationOptions() CapabilitiesListByLocationOperationOptions
func (CapabilitiesListByLocationOperationOptions) ToHeaders ¶
func (o CapabilitiesListByLocationOperationOptions) ToHeaders() *client.Headers
func (CapabilitiesListByLocationOperationOptions) ToOData ¶
func (o CapabilitiesListByLocationOperationOptions) ToOData() *odata.Query
func (CapabilitiesListByLocationOperationOptions) ToQuery ¶
func (o CapabilitiesListByLocationOperationOptions) ToQuery() *client.QueryParams
type CapabilitiesListByLocationOperationResponse ¶
type CapabilitiesListByLocationOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *LocationCapabilities }
type CapabilityGroup ¶
type CapabilityGroup string
const ( CapabilityGroupSupportedEditions CapabilityGroup = "supportedEditions" CapabilityGroupSupportedElasticPoolEditions CapabilityGroup = "supportedElasticPoolEditions" CapabilityGroupSupportedInstancePoolEditions CapabilityGroup = "supportedInstancePoolEditions" CapabilityGroupSupportedManagedInstanceEditions CapabilityGroup = "supportedManagedInstanceEditions" CapabilityGroupSupportedManagedInstanceVersions CapabilityGroup = "supportedManagedInstanceVersions" )
func (*CapabilityGroup) UnmarshalJSON ¶
func (s *CapabilityGroup) UnmarshalJSON(bytes []byte) error
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 EditionCapability ¶
type EditionCapability struct { Name *string `json:"name,omitempty"` ReadScale *ReadScaleCapability `json:"readScale,omitempty"` Reason *string `json:"reason,omitempty"` Status *CapabilityStatus `json:"status,omitempty"` SupportedServiceLevelObjectives *[]ServiceObjectiveCapability `json:"supportedServiceLevelObjectives,omitempty"` SupportedStorageCapabilities *[]StorageCapability `json:"supportedStorageCapabilities,omitempty"` ZoneRedundant *bool `json:"zoneRedundant,omitempty"` }
type ElasticPoolEditionCapability ¶
type ElasticPoolEditionCapability struct { Name *string `json:"name,omitempty"` Reason *string `json:"reason,omitempty"` Status *CapabilityStatus `json:"status,omitempty"` SupportedElasticPoolPerformanceLevels *[]ElasticPoolPerformanceLevelCapability `json:"supportedElasticPoolPerformanceLevels,omitempty"` ZoneRedundant *bool `json:"zoneRedundant,omitempty"` }
type ElasticPoolPerDatabaseMaxPerformanceLevelCapability ¶
type ElasticPoolPerDatabaseMaxPerformanceLevelCapability struct { Limit *float64 `json:"limit,omitempty"` Reason *string `json:"reason,omitempty"` Status *CapabilityStatus `json:"status,omitempty"` SupportedPerDatabaseMinPerformanceLevels *[]ElasticPoolPerDatabaseMinPerformanceLevelCapability `json:"supportedPerDatabaseMinPerformanceLevels,omitempty"` Unit *PerformanceLevelUnit `json:"unit,omitempty"` }
type ElasticPoolPerDatabaseMinPerformanceLevelCapability ¶
type ElasticPoolPerDatabaseMinPerformanceLevelCapability struct { Limit *float64 `json:"limit,omitempty"` Reason *string `json:"reason,omitempty"` Status *CapabilityStatus `json:"status,omitempty"` Unit *PerformanceLevelUnit `json:"unit,omitempty"` }
type ElasticPoolPerformanceLevelCapability ¶
type ElasticPoolPerformanceLevelCapability struct { IncludedMaxSize *MaxSizeCapability `json:"includedMaxSize,omitempty"` MaxDatabaseCount *int64 `json:"maxDatabaseCount,omitempty"` PerformanceLevel *PerformanceLevelCapability `json:"performanceLevel,omitempty"` Reason *string `json:"reason,omitempty"` Sku *Sku `json:"sku,omitempty"` Status *CapabilityStatus `json:"status,omitempty"` SupportedLicenseTypes *[]LicenseTypeCapability `json:"supportedLicenseTypes,omitempty"` SupportedMaintenanceConfigurations *[]MaintenanceConfigurationCapability `json:"supportedMaintenanceConfigurations,omitempty"` SupportedMaxSizes *[]MaxSizeRangeCapability `json:"supportedMaxSizes,omitempty"` SupportedPerDatabaseMaxPerformanceLevels *[]ElasticPoolPerDatabaseMaxPerformanceLevelCapability `json:"supportedPerDatabaseMaxPerformanceLevels,omitempty"` SupportedPerDatabaseMaxSizes *[]MaxSizeRangeCapability `json:"supportedPerDatabaseMaxSizes,omitempty"` ZoneRedundant *bool `json:"zoneRedundant,omitempty"` }
type InstancePoolEditionCapability ¶
type InstancePoolEditionCapability struct { Name *string `json:"name,omitempty"` Reason *string `json:"reason,omitempty"` Status *CapabilityStatus `json:"status,omitempty"` SupportedFamilies *[]InstancePoolFamilyCapability `json:"supportedFamilies,omitempty"` }
type InstancePoolFamilyCapability ¶
type InstancePoolFamilyCapability struct { Name *string `json:"name,omitempty"` Reason *string `json:"reason,omitempty"` Status *CapabilityStatus `json:"status,omitempty"` SupportedLicenseTypes *[]LicenseTypeCapability `json:"supportedLicenseTypes,omitempty"` SupportedVcoresValues *[]InstancePoolVcoresCapability `json:"supportedVcoresValues,omitempty"` }
type InstancePoolVcoresCapability ¶
type InstancePoolVcoresCapability struct { Name *string `json:"name,omitempty"` Reason *string `json:"reason,omitempty"` Status *CapabilityStatus `json:"status,omitempty"` StorageLimit *MaxSizeCapability `json:"storageLimit,omitempty"` Value *int64 `json:"value,omitempty"` }
type LicenseTypeCapability ¶
type LicenseTypeCapability struct { Name *string `json:"name,omitempty"` Reason *string `json:"reason,omitempty"` Status *CapabilityStatus `json:"status,omitempty"` }
type LocationCapabilities ¶
type LocationCapabilities struct { Name *string `json:"name,omitempty"` Reason *string `json:"reason,omitempty"` Status *CapabilityStatus `json:"status,omitempty"` SupportedManagedInstanceVersions *[]ManagedInstanceVersionCapability `json:"supportedManagedInstanceVersions,omitempty"` SupportedServerVersions *[]ServerVersionCapability `json:"supportedServerVersions,omitempty"` }
type LocationCapabilitiesClient ¶
type LocationCapabilitiesClient struct {
Client *resourcemanager.Client
}
func NewLocationCapabilitiesClientWithBaseURI ¶
func NewLocationCapabilitiesClientWithBaseURI(sdkApi sdkEnv.Api) (*LocationCapabilitiesClient, error)
func (LocationCapabilitiesClient) CapabilitiesListByLocation ¶
func (c LocationCapabilitiesClient) CapabilitiesListByLocation(ctx context.Context, id LocationId, options CapabilitiesListByLocationOperationOptions) (result CapabilitiesListByLocationOperationResponse, err error)
CapabilitiesListByLocation ...
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 LogSizeCapability ¶
type LogSizeCapability struct { Limit *int64 `json:"limit,omitempty"` Unit *LogSizeUnit `json:"unit,omitempty"` }
type LogSizeUnit ¶
type LogSizeUnit string
const ( LogSizeUnitGigabytes LogSizeUnit = "Gigabytes" LogSizeUnitMegabytes LogSizeUnit = "Megabytes" LogSizeUnitPercent LogSizeUnit = "Percent" LogSizeUnitPetabytes LogSizeUnit = "Petabytes" LogSizeUnitTerabytes LogSizeUnit = "Terabytes" )
func (*LogSizeUnit) UnmarshalJSON ¶
func (s *LogSizeUnit) UnmarshalJSON(bytes []byte) error
type MaintenanceConfigurationCapability ¶
type MaintenanceConfigurationCapability struct { Name *string `json:"name,omitempty"` Reason *string `json:"reason,omitempty"` Status *CapabilityStatus `json:"status,omitempty"` ZoneRedundant *bool `json:"zoneRedundant,omitempty"` }
type ManagedInstanceEditionCapability ¶
type ManagedInstanceEditionCapability struct { Name *string `json:"name,omitempty"` Reason *string `json:"reason,omitempty"` Status *CapabilityStatus `json:"status,omitempty"` SupportedFamilies *[]ManagedInstanceFamilyCapability `json:"supportedFamilies,omitempty"` SupportedStorageCapabilities *[]StorageCapability `json:"supportedStorageCapabilities,omitempty"` ZoneRedundant *bool `json:"zoneRedundant,omitempty"` }
type ManagedInstanceFamilyCapability ¶
type ManagedInstanceFamilyCapability struct { Name *string `json:"name,omitempty"` Reason *string `json:"reason,omitempty"` Sku *string `json:"sku,omitempty"` Status *CapabilityStatus `json:"status,omitempty"` SupportedLicenseTypes *[]LicenseTypeCapability `json:"supportedLicenseTypes,omitempty"` SupportedVcoresValues *[]ManagedInstanceVcoresCapability `json:"supportedVcoresValues,omitempty"` }
type ManagedInstanceMaintenanceConfigurationCapability ¶
type ManagedInstanceMaintenanceConfigurationCapability struct { Name *string `json:"name,omitempty"` Reason *string `json:"reason,omitempty"` Status *CapabilityStatus `json:"status,omitempty"` }
type ManagedInstanceVcoresCapability ¶
type ManagedInstanceVcoresCapability struct { IncludedMaxSize *MaxSizeCapability `json:"includedMaxSize,omitempty"` InstancePoolSupported *bool `json:"instancePoolSupported,omitempty"` Name *string `json:"name,omitempty"` Reason *string `json:"reason,omitempty"` StandaloneSupported *bool `json:"standaloneSupported,omitempty"` Status *CapabilityStatus `json:"status,omitempty"` SupportedMaintenanceConfigurations *[]ManagedInstanceMaintenanceConfigurationCapability `json:"supportedMaintenanceConfigurations,omitempty"` SupportedStorageSizes *[]MaxSizeRangeCapability `json:"supportedStorageSizes,omitempty"` Value *int64 `json:"value,omitempty"` }
type ManagedInstanceVersionCapability ¶
type ManagedInstanceVersionCapability struct { Name *string `json:"name,omitempty"` Reason *string `json:"reason,omitempty"` Status *CapabilityStatus `json:"status,omitempty"` SupportedEditions *[]ManagedInstanceEditionCapability `json:"supportedEditions,omitempty"` SupportedInstancePoolEditions *[]InstancePoolEditionCapability `json:"supportedInstancePoolEditions,omitempty"` }
type MaxSizeCapability ¶
type MaxSizeCapability struct { Limit *int64 `json:"limit,omitempty"` Unit *MaxSizeUnit `json:"unit,omitempty"` }
type MaxSizeRangeCapability ¶
type MaxSizeRangeCapability struct { LogSize *LogSizeCapability `json:"logSize,omitempty"` MaxValue *MaxSizeCapability `json:"maxValue,omitempty"` MinValue *MaxSizeCapability `json:"minValue,omitempty"` Reason *string `json:"reason,omitempty"` ScaleSize *MaxSizeCapability `json:"scaleSize,omitempty"` Status *CapabilityStatus `json:"status,omitempty"` }
type MaxSizeUnit ¶
type MaxSizeUnit string
const ( MaxSizeUnitGigabytes MaxSizeUnit = "Gigabytes" MaxSizeUnitMegabytes MaxSizeUnit = "Megabytes" MaxSizeUnitPetabytes MaxSizeUnit = "Petabytes" MaxSizeUnitTerabytes MaxSizeUnit = "Terabytes" )
func (*MaxSizeUnit) UnmarshalJSON ¶
func (s *MaxSizeUnit) UnmarshalJSON(bytes []byte) error
type MinCapacityCapability ¶
type MinCapacityCapability struct { Reason *string `json:"reason,omitempty"` Status *CapabilityStatus `json:"status,omitempty"` Value *float64 `json:"value,omitempty"` }
type PauseDelayTimeUnit ¶
type PauseDelayTimeUnit string
const (
PauseDelayTimeUnitMinutes PauseDelayTimeUnit = "Minutes"
)
func (*PauseDelayTimeUnit) UnmarshalJSON ¶
func (s *PauseDelayTimeUnit) UnmarshalJSON(bytes []byte) error
type PerformanceLevelCapability ¶
type PerformanceLevelCapability struct { Unit *PerformanceLevelUnit `json:"unit,omitempty"` Value *float64 `json:"value,omitempty"` }
type PerformanceLevelUnit ¶
type PerformanceLevelUnit string
const ( PerformanceLevelUnitDTU PerformanceLevelUnit = "DTU" PerformanceLevelUnitVCores PerformanceLevelUnit = "VCores" )
func (*PerformanceLevelUnit) UnmarshalJSON ¶
func (s *PerformanceLevelUnit) UnmarshalJSON(bytes []byte) error
type ReadScaleCapability ¶
type ReadScaleCapability struct { MaxNumberOfReplicas *int64 `json:"maxNumberOfReplicas,omitempty"` Reason *string `json:"reason,omitempty"` Status *CapabilityStatus `json:"status,omitempty"` }
type ServerVersionCapability ¶
type ServerVersionCapability struct { Name *string `json:"name,omitempty"` Reason *string `json:"reason,omitempty"` Status *CapabilityStatus `json:"status,omitempty"` SupportedEditions *[]EditionCapability `json:"supportedEditions,omitempty"` SupportedElasticPoolEditions *[]ElasticPoolEditionCapability `json:"supportedElasticPoolEditions,omitempty"` }
type ServiceObjectiveCapability ¶
type ServiceObjectiveCapability struct { ComputeModel *string `json:"computeModel,omitempty"` Id *string `json:"id,omitempty"` IncludedMaxSize *MaxSizeCapability `json:"includedMaxSize,omitempty"` Name *string `json:"name,omitempty"` PerformanceLevel *PerformanceLevelCapability `json:"performanceLevel,omitempty"` Reason *string `json:"reason,omitempty"` Sku *Sku `json:"sku,omitempty"` Status *CapabilityStatus `json:"status,omitempty"` SupportedAutoPauseDelay *AutoPauseDelayTimeRange `json:"supportedAutoPauseDelay,omitempty"` SupportedLicenseTypes *[]LicenseTypeCapability `json:"supportedLicenseTypes,omitempty"` SupportedMaintenanceConfigurations *[]MaintenanceConfigurationCapability `json:"supportedMaintenanceConfigurations,omitempty"` SupportedMaxSizes *[]MaxSizeRangeCapability `json:"supportedMaxSizes,omitempty"` SupportedMinCapacities *[]MinCapacityCapability `json:"supportedMinCapacities,omitempty"` ZoneRedundant *bool `json:"zoneRedundant,omitempty"` }
type StorageAccountType ¶
type StorageAccountType string
const ( StorageAccountTypeGRS StorageAccountType = "GRS" StorageAccountTypeLRS StorageAccountType = "LRS" StorageAccountTypeZRS StorageAccountType = "ZRS" )
func (*StorageAccountType) UnmarshalJSON ¶
func (s *StorageAccountType) UnmarshalJSON(bytes []byte) error
type StorageCapability ¶
type StorageCapability struct { Reason *string `json:"reason,omitempty"` Status *CapabilityStatus `json:"status,omitempty"` StorageAccountType *StorageAccountType `json:"storageAccountType,omitempty"` }
Source Files ¶
- client.go
- constants.go
- id_location.go
- method_capabilitieslistbylocation.go
- model_autopausedelaytimerange.go
- model_editioncapability.go
- model_elasticpooleditioncapability.go
- model_elasticpoolperdatabasemaxperformancelevelcapability.go
- model_elasticpoolperdatabaseminperformancelevelcapability.go
- model_elasticpoolperformancelevelcapability.go
- model_instancepooleditioncapability.go
- model_instancepoolfamilycapability.go
- model_instancepoolvcorescapability.go
- model_licensetypecapability.go
- model_locationcapabilities.go
- model_logsizecapability.go
- model_maintenanceconfigurationcapability.go
- model_managedinstanceeditioncapability.go
- model_managedinstancefamilycapability.go
- model_managedinstancemaintenanceconfigurationcapability.go
- model_managedinstancevcorescapability.go
- model_managedinstanceversioncapability.go
- model_maxsizecapability.go
- model_maxsizerangecapability.go
- model_mincapacitycapability.go
- model_performancelevelcapability.go
- model_readscalecapability.go
- model_serverversioncapability.go
- model_serviceobjectivecapability.go
- model_sku.go
- model_storagecapability.go
- version.go
Click to show internal directories.
Click to hide internal directories.