Documentation ¶
Index ¶
- func ValidateCapabilitySetID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateLocationID(input interface{}, key string) (warnings []string, errors []error)
- type Capability
- type CapabilityOperationPredicate
- type CapabilityPropertiesV2
- type CapabilitySetId
- type LocationBasedCapabilityClient
- func (c LocationBasedCapabilityClient) SetGet(ctx context.Context, id CapabilitySetId) (result SetGetOperationResponse, err error)
- func (c LocationBasedCapabilityClient) SetList(ctx context.Context, id LocationId) (result SetListOperationResponse, err error)
- func (c LocationBasedCapabilityClient) SetListComplete(ctx context.Context, id LocationId) (SetListCompleteResult, error)
- func (c LocationBasedCapabilityClient) SetListCompleteMatchingPredicate(ctx context.Context, id LocationId, predicate CapabilityOperationPredicate) (result SetListCompleteResult, err error)
- type LocationId
- type ServerEditionCapabilityV2
- type ServerVersionCapabilityV2
- type SetGetOperationResponse
- type SetListCompleteResult
- type SetListOperationResponse
- type SkuCapabilityV2
- type StorageEditionCapability
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateCapabilitySetID ¶
ValidateCapabilitySetID checks that 'input' can be parsed as a Capability Set ID
func ValidateLocationID ¶
ValidateLocationID checks that 'input' can be parsed as a Location ID
Types ¶
type Capability ¶
type Capability struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *CapabilityPropertiesV2 `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type CapabilityOperationPredicate ¶
func (CapabilityOperationPredicate) Matches ¶
func (p CapabilityOperationPredicate) Matches(input Capability) bool
type CapabilityPropertiesV2 ¶
type CapabilityPropertiesV2 struct { SupportedFlexibleServerEditions *[]ServerEditionCapabilityV2 `json:"supportedFlexibleServerEditions,omitempty"` SupportedGeoBackupRegions *[]string `json:"supportedGeoBackupRegions,omitempty"` SupportedServerVersions *[]ServerVersionCapabilityV2 `json:"supportedServerVersions,omitempty"` }
type CapabilitySetId ¶
CapabilitySetId is a struct representing the Resource ID for a Capability Set
func NewCapabilitySetID ¶
func NewCapabilitySetID(subscriptionId string, locationName string, capabilitySetName string) CapabilitySetId
NewCapabilitySetID returns a new CapabilitySetId struct
func ParseCapabilitySetID ¶
func ParseCapabilitySetID(input string) (*CapabilitySetId, error)
ParseCapabilitySetID parses 'input' into a CapabilitySetId
func ParseCapabilitySetIDInsensitively ¶
func ParseCapabilitySetIDInsensitively(input string) (*CapabilitySetId, error)
ParseCapabilitySetIDInsensitively parses 'input' case-insensitively into a CapabilitySetId note: this method should only be used for API response data and not user input
func (*CapabilitySetId) FromParseResult ¶
func (id *CapabilitySetId) FromParseResult(input resourceids.ParseResult) error
func (CapabilitySetId) ID ¶
func (id CapabilitySetId) ID() string
ID returns the formatted Capability Set ID
func (CapabilitySetId) Segments ¶
func (id CapabilitySetId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Capability Set ID
func (CapabilitySetId) String ¶
func (id CapabilitySetId) String() string
String returns a human-readable description of this Capability Set ID
type LocationBasedCapabilityClient ¶
type LocationBasedCapabilityClient struct {
Client *resourcemanager.Client
}
func NewLocationBasedCapabilityClientWithBaseURI ¶
func NewLocationBasedCapabilityClientWithBaseURI(sdkApi sdkEnv.Api) (*LocationBasedCapabilityClient, error)
func (LocationBasedCapabilityClient) SetGet ¶
func (c LocationBasedCapabilityClient) SetGet(ctx context.Context, id CapabilitySetId) (result SetGetOperationResponse, err error)
SetGet ...
func (LocationBasedCapabilityClient) SetList ¶
func (c LocationBasedCapabilityClient) SetList(ctx context.Context, id LocationId) (result SetListOperationResponse, err error)
SetList ...
func (LocationBasedCapabilityClient) SetListComplete ¶
func (c LocationBasedCapabilityClient) SetListComplete(ctx context.Context, id LocationId) (SetListCompleteResult, error)
SetListComplete retrieves all the results into a single object
func (LocationBasedCapabilityClient) SetListCompleteMatchingPredicate ¶
func (c LocationBasedCapabilityClient) SetListCompleteMatchingPredicate(ctx context.Context, id LocationId, predicate CapabilityOperationPredicate) (result SetListCompleteResult, err error)
SetListCompleteMatchingPredicate 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 ServerEditionCapabilityV2 ¶
type ServerEditionCapabilityV2 struct { DefaultSku *string `json:"defaultSku,omitempty"` DefaultStorageSize *int64 `json:"defaultStorageSize,omitempty"` Name *string `json:"name,omitempty"` SupportedSkus *[]SkuCapabilityV2 `json:"supportedSkus,omitempty"` SupportedStorageEditions *[]StorageEditionCapability `json:"supportedStorageEditions,omitempty"` }
type ServerVersionCapabilityV2 ¶
type ServerVersionCapabilityV2 struct {
Name *string `json:"name,omitempty"`
}
type SetGetOperationResponse ¶
type SetGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *Capability }
type SetListCompleteResult ¶
type SetListCompleteResult struct { LatestHttpResponse *http.Response Items []Capability }
type SetListOperationResponse ¶
type SetListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]Capability }
type SkuCapabilityV2 ¶
type SkuCapabilityV2 struct { Name *string `json:"name,omitempty"` SupportedHAMode *[]string `json:"supportedHAMode,omitempty"` SupportedIops *int64 `json:"supportedIops,omitempty"` SupportedMemoryPerVCoreMB *int64 `json:"supportedMemoryPerVCoreMB,omitempty"` SupportedZones *[]string `json:"supportedZones,omitempty"` VCores *int64 `json:"vCores,omitempty"` }
type StorageEditionCapability ¶
type StorageEditionCapability struct { MaxBackupIntervalHours *int64 `json:"maxBackupIntervalHours,omitempty"` MaxBackupRetentionDays *int64 `json:"maxBackupRetentionDays,omitempty"` MaxStorageSize *int64 `json:"maxStorageSize,omitempty"` MinBackupIntervalHours *int64 `json:"minBackupIntervalHours,omitempty"` MinBackupRetentionDays *int64 `json:"minBackupRetentionDays,omitempty"` MinStorageSize *int64 `json:"minStorageSize,omitempty"` Name *string `json:"name,omitempty"` }