Documentation ¶
Index ¶
- func PossibleValuesForExtendedLocationType() []string
- func PossibleValuesForResourceSkuCapacityScaleType() []string
- func PossibleValuesForResourceSkuRestrictionsReasonCode() []string
- func PossibleValuesForResourceSkuRestrictionsType() []string
- type AvailabilitySetsClient
- func (c AvailabilitySetsClient) ResourceSkusList(ctx context.Context, id commonids.SubscriptionId, ...) (result ResourceSkusListOperationResponse, err error)
- func (c AvailabilitySetsClient) ResourceSkusListComplete(ctx context.Context, id commonids.SubscriptionId, ...) (ResourceSkusListCompleteResult, error)
- func (c AvailabilitySetsClient) ResourceSkusListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ResourceSkusListCompleteResult, err error)
- type ExtendedLocationType
- type ResourceSku
- type ResourceSkuCapabilities
- type ResourceSkuCapacity
- type ResourceSkuCapacityScaleType
- type ResourceSkuCosts
- type ResourceSkuLocationInfo
- type ResourceSkuOperationPredicate
- type ResourceSkuRestrictionInfo
- type ResourceSkuRestrictions
- type ResourceSkuRestrictionsReasonCode
- type ResourceSkuRestrictionsType
- type ResourceSkuZoneDetails
- type ResourceSkusListCompleteResult
- type ResourceSkusListCustomPager
- type ResourceSkusListOperationOptions
- type ResourceSkusListOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForExtendedLocationType ¶
func PossibleValuesForExtendedLocationType() []string
func PossibleValuesForResourceSkuCapacityScaleType ¶
func PossibleValuesForResourceSkuCapacityScaleType() []string
func PossibleValuesForResourceSkuRestrictionsReasonCode ¶
func PossibleValuesForResourceSkuRestrictionsReasonCode() []string
func PossibleValuesForResourceSkuRestrictionsType ¶
func PossibleValuesForResourceSkuRestrictionsType() []string
Types ¶
type AvailabilitySetsClient ¶
type AvailabilitySetsClient struct {
Client *resourcemanager.Client
}
func NewAvailabilitySetsClientWithBaseURI ¶
func NewAvailabilitySetsClientWithBaseURI(sdkApi sdkEnv.Api) (*AvailabilitySetsClient, error)
func (AvailabilitySetsClient) ResourceSkusList ¶
func (c AvailabilitySetsClient) ResourceSkusList(ctx context.Context, id commonids.SubscriptionId, options ResourceSkusListOperationOptions) (result ResourceSkusListOperationResponse, err error)
ResourceSkusList ...
func (AvailabilitySetsClient) ResourceSkusListComplete ¶
func (c AvailabilitySetsClient) ResourceSkusListComplete(ctx context.Context, id commonids.SubscriptionId, options ResourceSkusListOperationOptions) (ResourceSkusListCompleteResult, error)
ResourceSkusListComplete retrieves all the results into a single object
func (AvailabilitySetsClient) ResourceSkusListCompleteMatchingPredicate ¶
func (c AvailabilitySetsClient) ResourceSkusListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, options ResourceSkusListOperationOptions, predicate ResourceSkuOperationPredicate) (result ResourceSkusListCompleteResult, err error)
ResourceSkusListCompleteMatchingPredicate retrieves all the results and then applies the predicate
type ExtendedLocationType ¶
type ExtendedLocationType string
const (
ExtendedLocationTypeEdgeZone ExtendedLocationType = "EdgeZone"
)
func (*ExtendedLocationType) UnmarshalJSON ¶
func (s *ExtendedLocationType) UnmarshalJSON(bytes []byte) error
type ResourceSku ¶
type ResourceSku struct { ApiVersions *[]string `json:"apiVersions,omitempty"` Capabilities *[]ResourceSkuCapabilities `json:"capabilities,omitempty"` Capacity *ResourceSkuCapacity `json:"capacity,omitempty"` Costs *[]ResourceSkuCosts `json:"costs,omitempty"` Family *string `json:"family,omitempty"` Kind *string `json:"kind,omitempty"` LocationInfo *[]ResourceSkuLocationInfo `json:"locationInfo,omitempty"` Locations *[]string `json:"locations,omitempty"` Name *string `json:"name,omitempty"` ResourceType *string `json:"resourceType,omitempty"` Restrictions *[]ResourceSkuRestrictions `json:"restrictions,omitempty"` Size *string `json:"size,omitempty"` Tier *string `json:"tier,omitempty"` }
type ResourceSkuCapabilities ¶
type ResourceSkuCapacity ¶
type ResourceSkuCapacity struct { Default *int64 `json:"default,omitempty"` Maximum *int64 `json:"maximum,omitempty"` Minimum *int64 `json:"minimum,omitempty"` ScaleType *ResourceSkuCapacityScaleType `json:"scaleType,omitempty"` }
type ResourceSkuCapacityScaleType ¶
type ResourceSkuCapacityScaleType string
const ( ResourceSkuCapacityScaleTypeAutomatic ResourceSkuCapacityScaleType = "Automatic" ResourceSkuCapacityScaleTypeManual ResourceSkuCapacityScaleType = "Manual" ResourceSkuCapacityScaleTypeNone ResourceSkuCapacityScaleType = "None" )
func (*ResourceSkuCapacityScaleType) UnmarshalJSON ¶
func (s *ResourceSkuCapacityScaleType) UnmarshalJSON(bytes []byte) error
type ResourceSkuCosts ¶
type ResourceSkuLocationInfo ¶
type ResourceSkuLocationInfo struct { ExtendedLocations *[]string `json:"extendedLocations,omitempty"` Location *string `json:"location,omitempty"` Type *ExtendedLocationType `json:"type,omitempty"` ZoneDetails *[]ResourceSkuZoneDetails `json:"zoneDetails,omitempty"` Zones *zones.Schema `json:"zones,omitempty"` }
type ResourceSkuOperationPredicate ¶
type ResourceSkuOperationPredicate struct { Family *string Kind *string Name *string ResourceType *string Size *string Tier *string }
func (ResourceSkuOperationPredicate) Matches ¶
func (p ResourceSkuOperationPredicate) Matches(input ResourceSku) bool
type ResourceSkuRestrictions ¶
type ResourceSkuRestrictions struct { ReasonCode *ResourceSkuRestrictionsReasonCode `json:"reasonCode,omitempty"` RestrictionInfo *ResourceSkuRestrictionInfo `json:"restrictionInfo,omitempty"` Type *ResourceSkuRestrictionsType `json:"type,omitempty"` Values *[]string `json:"values,omitempty"` }
type ResourceSkuRestrictionsReasonCode ¶
type ResourceSkuRestrictionsReasonCode string
const ( ResourceSkuRestrictionsReasonCodeNotAvailableForSubscription ResourceSkuRestrictionsReasonCode = "NotAvailableForSubscription" ResourceSkuRestrictionsReasonCodeQuotaId ResourceSkuRestrictionsReasonCode = "QuotaId" )
func (*ResourceSkuRestrictionsReasonCode) UnmarshalJSON ¶
func (s *ResourceSkuRestrictionsReasonCode) UnmarshalJSON(bytes []byte) error
type ResourceSkuRestrictionsType ¶
type ResourceSkuRestrictionsType string
const ( ResourceSkuRestrictionsTypeLocation ResourceSkuRestrictionsType = "Location" ResourceSkuRestrictionsTypeZone ResourceSkuRestrictionsType = "Zone" )
func (*ResourceSkuRestrictionsType) UnmarshalJSON ¶
func (s *ResourceSkuRestrictionsType) UnmarshalJSON(bytes []byte) error
type ResourceSkuZoneDetails ¶
type ResourceSkuZoneDetails struct { Capabilities *[]ResourceSkuCapabilities `json:"capabilities,omitempty"` Name *[]string `json:"name,omitempty"` }
type ResourceSkusListCompleteResult ¶
type ResourceSkusListCompleteResult struct { LatestHttpResponse *http.Response Items []ResourceSku }
type ResourceSkusListCustomPager ¶ added in v0.20240628.1153531
func (*ResourceSkusListCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ResourceSkusListCustomPager) NextPageLink() *odata.Link
type ResourceSkusListOperationOptions ¶
func DefaultResourceSkusListOperationOptions ¶
func DefaultResourceSkusListOperationOptions() ResourceSkusListOperationOptions
func (ResourceSkusListOperationOptions) ToHeaders ¶
func (o ResourceSkusListOperationOptions) ToHeaders() *client.Headers
func (ResourceSkusListOperationOptions) ToOData ¶
func (o ResourceSkusListOperationOptions) ToOData() *odata.Query
func (ResourceSkusListOperationOptions) ToQuery ¶
func (o ResourceSkusListOperationOptions) ToQuery() *client.QueryParams
type ResourceSkusListOperationResponse ¶
type ResourceSkusListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ResourceSku }
Source Files ¶
- client.go
- constants.go
- method_resourceskuslist.go
- model_resourcesku.go
- model_resourceskucapabilities.go
- model_resourceskucapacity.go
- model_resourceskucosts.go
- model_resourceskulocationinfo.go
- model_resourceskurestrictioninfo.go
- model_resourceskurestrictions.go
- model_resourceskuzonedetails.go
- predicates.go
- version.go
Click to show internal directories.
Click to hide internal directories.