availableskus

package
v0.20230203.1144443 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 3, 2023 License: MPL-2.0 Imports: 9 Imported by: 0

README

github.com/hashicorp/go-azure-sdk/resource-manager/databoxedge/2020-12-01/availableskus Documentation

The availableskus SDK allows for interaction with the Azure Resource Manager Service databoxedge (API Version 2020-12-01).

This readme covers example usages, but further information on using this SDK can be found in the project root.

Import Path

import "github.com/hashicorp/go-azure-sdk/resource-manager/databoxedge/2020-12-01/availableskus"

Client Initialization

client := availableskus.NewAvailableSkusClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: AvailableSkusClient.List

ctx := context.TODO()
id := availableskus.NewSubscriptionID("12345678-1234-9876-4563-123456789012")

// alternatively `client.List(ctx, id)` can be used to do batched pagination
items, err := client.ListComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Documentation

Index

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 autorest.Client
	// contains filtered or unexported fields
}

func NewAvailableSkusClientWithBaseURI

func NewAvailableSkusClientWithBaseURI(endpoint string) AvailableSkusClient

func (AvailableSkusClient) List

List ...

func (AvailableSkusClient) ListComplete

ListComplete retrieves all of the results into a single object

func (AvailableSkusClient) ListCompleteMatchingPredicate

func (c AvailableSkusClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate DataBoxEdgeSkuOperationPredicate) (resp ListCompleteResult, err error)

ListCompleteMatchingPredicate retrieves all of the results and then applied 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

type ListCompleteResult

type ListCompleteResult struct {
	Items []DataBoxEdgeSku
}

type ListOperationResponse

type ListOperationResponse struct {
	HttpResponse *http.Response
	Model        *[]DataBoxEdgeSku
	// contains filtered or unexported fields
}

func (ListOperationResponse) HasMore

func (r ListOperationResponse) HasMore() bool

func (ListOperationResponse) LoadMore

func (r ListOperationResponse) LoadMore(ctx context.Context) (resp ListOperationResponse, err error)

type ShipmentType

type ShipmentType string
const (
	ShipmentTypeNotApplicable     ShipmentType = "NotApplicable"
	ShipmentTypeSelfPickup        ShipmentType = "SelfPickup"
	ShipmentTypeShippedToCustomer ShipmentType = "ShippedToCustomer"
)

type SkuAvailability

type SkuAvailability string
const (
	SkuAvailabilityAvailable   SkuAvailability = "Available"
	SkuAvailabilityUnavailable SkuAvailability = "Unavailable"
)

type SkuCapability

type SkuCapability struct {
	Name  *string `json:"name,omitempty"`
	Value *string `json:"value,omitempty"`
}

type SkuCost

type SkuCost struct {
	ExtendedUnit *string `json:"extendedUnit,omitempty"`
	MeterId      *string `json:"meterId,omitempty"`
	Quantity     *int64  `json:"quantity,omitempty"`
}

type SkuLocationInfo

type SkuLocationInfo struct {
	Location *string       `json:"location,omitempty"`
	Sites    *[]string     `json:"sites,omitempty"`
	Zones    *zones.Schema `json:"zones,omitempty"`
}

type SkuName

type SkuName string
const (
	SkuNameEdge                 SkuName = "Edge"
	SkuNameEdgeMRMini           SkuName = "EdgeMR_Mini"
	SkuNameEdgePBase            SkuName = "EdgeP_Base"
	SkuNameEdgePHigh            SkuName = "EdgeP_High"
	SkuNameEdgePRBase           SkuName = "EdgePR_Base"
	SkuNameEdgePRBaseUPS        SkuName = "EdgePR_Base_UPS"
	SkuNameGPU                  SkuName = "GPU"
	SkuNameGateway              SkuName = "Gateway"
	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"
)

type SkuSignupOption

type SkuSignupOption string
const (
	SkuSignupOptionAvailable SkuSignupOption = "Available"
	SkuSignupOptionNone      SkuSignupOption = "None"
)

type SkuTier

type SkuTier string
const (
	SkuTierStandard SkuTier = "Standard"
)

type SkuVersion

type SkuVersion string
const (
	SkuVersionPreview SkuVersion = "Preview"
	SkuVersionStable  SkuVersion = "Stable"
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL