elasticsanskus

package
v0.20230414.1145511 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2023 License: MPL-2.0 Imports: 8 Imported by: 0

README

github.com/hashicorp/go-azure-sdk/resource-manager/elasticsan/2021-11-20-preview/elasticsanskus Documentation

The elasticsanskus SDK allows for interaction with the Azure Resource Manager Service elasticsan (API Version 2021-11-20-preview).

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/elasticsan/2021-11-20-preview/elasticsanskus"

Client Initialization

client := elasticsanskus.NewElasticSanSkusClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: ElasticSanSkusClient.SkusList

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

read, err := client.SkusList(ctx, id, elasticsanskus.DefaultSkusListOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForSkuName

func PossibleValuesForSkuName() []string

func PossibleValuesForSkuTier

func PossibleValuesForSkuTier() []string

Types

type ElasticSanSkusClient

type ElasticSanSkusClient struct {
	Client autorest.Client
	// contains filtered or unexported fields
}

func NewElasticSanSkusClientWithBaseURI

func NewElasticSanSkusClientWithBaseURI(endpoint string) ElasticSanSkusClient

func (ElasticSanSkusClient) SkusList

SkusList ...

type SKUCapability

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

type SkuInformation

type SkuInformation struct {
	Capabilities *[]SKUCapability   `json:"capabilities,omitempty"`
	LocationInfo *[]SkuLocationInfo `json:"locationInfo,omitempty"`
	Locations    *[]string          `json:"locations,omitempty"`
	Name         SkuName            `json:"name"`
	ResourceType *string            `json:"resourceType,omitempty"`
	Tier         *SkuTier           `json:"tier,omitempty"`
}

type SkuInformationList

type SkuInformationList struct {
	Value *[]SkuInformation `json:"value,omitempty"`
}

type SkuLocationInfo

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

type SkuName

type SkuName string
const (
	SkuNamePremiumLRS SkuName = "Premium_LRS"
	SkuNamePremiumZRS SkuName = "Premium_ZRS"
)

type SkuTier

type SkuTier string
const (
	SkuTierPremium SkuTier = "Premium"
)

type SkusListOperationOptions

type SkusListOperationOptions struct {
	Filter *string
}

func DefaultSkusListOperationOptions

func DefaultSkusListOperationOptions() SkusListOperationOptions

type SkusListOperationResponse

type SkusListOperationResponse struct {
	HttpResponse *http.Response
	Model        *SkuInformationList
}

Jump to

Keyboard shortcuts

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