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 ¶
func (c ElasticSanSkusClient) SkusList(ctx context.Context, id commonids.SubscriptionId, options SkusListOperationOptions) (result SkusListOperationResponse, err error)
SkusList ...
type SKUCapability ¶
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 SkusListOperationOptions ¶
type SkusListOperationOptions struct {
Filter *string
}
func DefaultSkusListOperationOptions ¶
func DefaultSkusListOperationOptions() SkusListOperationOptions
type SkusListOperationResponse ¶
type SkusListOperationResponse struct { HttpResponse *http.Response Model *SkuInformationList }
Click to show internal directories.
Click to hide internal directories.