Documentation ¶
Index ¶
- func PossibleValuesForShipmentType() []string
- func PossibleValuesForSkuAvailability() []string
- func PossibleValuesForSkuName() []string
- func PossibleValuesForSkuSignupOption() []string
- func PossibleValuesForSkuTier() []string
- func PossibleValuesForSkuVersion() []string
- type AvailableSkusClient
- func (c AvailableSkusClient) List(ctx context.Context, id commonids.SubscriptionId) (result ListOperationResponse, err error)
- func (c AvailableSkusClient) ListComplete(ctx context.Context, id commonids.SubscriptionId) (ListCompleteResult, error)
- func (c AvailableSkusClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ListCompleteResult, err error)
- type DataBoxEdgeSku
- type DataBoxEdgeSkuOperationPredicate
- type ListCompleteResult
- type ListOperationResponse
- type ShipmentType
- type SkuAvailability
- type SkuCapability
- type SkuCost
- type SkuLocationInfo
- type SkuName
- type SkuSignupOption
- type SkuTier
- type SkuVersion
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForShipmentType ¶
func PossibleValuesForShipmentType() []string
func PossibleValuesForSkuAvailability ¶
func PossibleValuesForSkuAvailability() []string
func PossibleValuesForSkuName ¶
func PossibleValuesForSkuName() []string
func PossibleValuesForSkuSignupOption ¶
func PossibleValuesForSkuSignupOption() []string
func PossibleValuesForSkuTier ¶
func PossibleValuesForSkuTier() []string
func PossibleValuesForSkuVersion ¶
func PossibleValuesForSkuVersion() []string
Types ¶
type AvailableSkusClient ¶
type AvailableSkusClient struct {
Client *resourcemanager.Client
}
func NewAvailableSkusClientWithBaseURI ¶
func NewAvailableSkusClientWithBaseURI(sdkApi sdkEnv.Api) (*AvailableSkusClient, error)
func (AvailableSkusClient) List ¶
func (c AvailableSkusClient) List(ctx context.Context, id commonids.SubscriptionId) (result ListOperationResponse, err error)
List ...
func (AvailableSkusClient) ListComplete ¶
func (c AvailableSkusClient) ListComplete(ctx context.Context, id commonids.SubscriptionId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (AvailableSkusClient) ListCompleteMatchingPredicate ¶
func (c AvailableSkusClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate DataBoxEdgeSkuOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
type DataBoxEdgeSku ¶
type DataBoxEdgeSku struct { ApiVersions *[]string `json:"apiVersions,omitempty"` Availability *SkuAvailability `json:"availability,omitempty"` Capabilities *[]SkuCapability `json:"capabilities,omitempty"` Costs *[]SkuCost `json:"costs,omitempty"` Family *string `json:"family,omitempty"` Kind *string `json:"kind,omitempty"` LocationInfo *[]SkuLocationInfo `json:"locationInfo,omitempty"` Locations *[]string `json:"locations,omitempty"` Name *SkuName `json:"name,omitempty"` ResourceType *string `json:"resourceType,omitempty"` ShipmentTypes *[]ShipmentType `json:"shipmentTypes,omitempty"` SignupOption *SkuSignupOption `json:"signupOption,omitempty"` Size *string `json:"size,omitempty"` Tier *SkuTier `json:"tier,omitempty"` Version *SkuVersion `json:"version,omitempty"` }
type DataBoxEdgeSkuOperationPredicate ¶
type DataBoxEdgeSkuOperationPredicate struct { Family *string Kind *string ResourceType *string Size *string }
func (DataBoxEdgeSkuOperationPredicate) Matches ¶
func (p DataBoxEdgeSkuOperationPredicate) Matches(input DataBoxEdgeSku) bool
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []DataBoxEdgeSku
}
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]DataBoxEdgeSku }
type ShipmentType ¶
type ShipmentType string
const ( ShipmentTypeNotApplicable ShipmentType = "NotApplicable" ShipmentTypeSelfPickup ShipmentType = "SelfPickup" ShipmentTypeShippedToCustomer ShipmentType = "ShippedToCustomer" )
func (*ShipmentType) UnmarshalJSON ¶ added in v0.20230420.1093529
func (s *ShipmentType) UnmarshalJSON(bytes []byte) error
type SkuAvailability ¶
type SkuAvailability string
const ( SkuAvailabilityAvailable SkuAvailability = "Available" )
func (*SkuAvailability) UnmarshalJSON ¶ added in v0.20230420.1093529
func (s *SkuAvailability) UnmarshalJSON(bytes []byte) error
type SkuCapability ¶
type SkuLocationInfo ¶
type SkuName ¶
type SkuName string
const ( SkuNameEPTwoOneTwoEightGPUOneMxOneW SkuName = "EP2_128_GPU1_Mx1_W" SkuNameEPTwoOneTwoEightOneTFourMxOneW SkuName = "EP2_128_1T4_Mx1_W" SkuNameEPTwoSixFourMxOneW SkuName = "EP2_64_Mx1_W" SkuNameEPTwoSixFourOneVPUW SkuName = "EP2_64_1VPU_W" SkuNameEPTwoTwoFiveSixGPUTwoMxOne SkuName = "EP2_256_GPU2_Mx1" SkuNameEPTwoTwoFiveSixTwoTFourW SkuName = "EP2_256_2T4_W" SkuNameEdge SkuName = "Edge" SkuNameEdgeMRMini SkuName = "EdgeMR_Mini" SkuNameEdgeMRTCP SkuName = "EdgeMR_TCP" SkuNameEdgePBase SkuName = "EdgeP_Base" SkuNameEdgePHigh SkuName = "EdgeP_High" SkuNameEdgePRBase SkuName = "EdgePR_Base" SkuNameEdgePRBaseUPS SkuName = "EdgePR_Base_UPS" SkuNameGPU SkuName = "GPU" SkuNameGateway SkuName = "Gateway" SkuNameManagement SkuName = "Management" SkuNameRCALarge SkuName = "RCA_Large" SkuNameRCASmall SkuName = "RCA_Small" SkuNameRDC SkuName = "RDC" SkuNameTCALarge SkuName = "TCA_Large" SkuNameTCASmall SkuName = "TCA_Small" SkuNameTDC SkuName = "TDC" SkuNameTEAFourNodeHeater SkuName = "TEA_4Node_Heater" SkuNameTEAFourNodeUPSHeater SkuName = "TEA_4Node_UPS_Heater" SkuNameTEAOneNode SkuName = "TEA_1Node" SkuNameTEAOneNodeHeater SkuName = "TEA_1Node_Heater" SkuNameTEAOneNodeUPS SkuName = "TEA_1Node_UPS" SkuNameTEAOneNodeUPSHeater SkuName = "TEA_1Node_UPS_Heater" SkuNameTMA SkuName = "TMA" )
func (*SkuName) UnmarshalJSON ¶ added in v0.20230420.1093529
type SkuSignupOption ¶
type SkuSignupOption string
const ( SkuSignupOptionAvailable SkuSignupOption = "Available" SkuSignupOptionNone SkuSignupOption = "None" )
func (*SkuSignupOption) UnmarshalJSON ¶ added in v0.20230420.1093529
func (s *SkuSignupOption) UnmarshalJSON(bytes []byte) error
type SkuTier ¶
type SkuTier string
const (
SkuTierStandard SkuTier = "Standard"
)
func (*SkuTier) UnmarshalJSON ¶ added in v0.20230420.1093529
type SkuVersion ¶
type SkuVersion string
const ( SkuVersionPreview SkuVersion = "Preview" SkuVersionStable SkuVersion = "Stable" )
func (*SkuVersion) UnmarshalJSON ¶ added in v0.20230420.1093529
func (s *SkuVersion) UnmarshalJSON(bytes []byte) error
Click to show internal directories.
Click to hide internal directories.