analysisservices

package
v0.20240412.1150433 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: MPL-2.0 Imports: 10 Imported by: 1

README

github.com/hashicorp/go-azure-sdk/resource-manager/analysisservices/2017-08-01/analysisservices Documentation

The analysisservices SDK allows for interaction with the Azure Resource Manager Service analysisservices (API Version 2017-08-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-helpers/resourcemanager/commonids"
import "github.com/hashicorp/go-azure-sdk/resource-manager/analysisservices/2017-08-01/analysisservices"

Client Initialization

client := analysisservices.NewAnalysisServicesClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: AnalysisServicesClient.ServersListSkusForNew

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

read, err := client.ServersListSkusForNew(ctx, id)
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 PossibleValuesForSkuTier

func PossibleValuesForSkuTier() []string

Types

type AnalysisServicesClient

type AnalysisServicesClient struct {
	Client *resourcemanager.Client
}

func NewAnalysisServicesClientWithBaseURI

func NewAnalysisServicesClientWithBaseURI(sdkApi sdkEnv.Api) (*AnalysisServicesClient, error)

func (AnalysisServicesClient) ServersListSkusForNew

ServersListSkusForNew ...

type ResourceSku

type ResourceSku struct {
	Capacity *int64   `json:"capacity,omitempty"`
	Name     string   `json:"name"`
	Tier     *SkuTier `json:"tier,omitempty"`
}

type ServersListSkusForNewOperationResponse

type ServersListSkusForNewOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *SkuEnumerationForNewResourceResult
}

type SkuEnumerationForNewResourceResult

type SkuEnumerationForNewResourceResult struct {
	Value *[]ResourceSku `json:"value,omitempty"`
}

type SkuTier

type SkuTier string
const (
	SkuTierBasic       SkuTier = "Basic"
	SkuTierDevelopment SkuTier = "Development"
	SkuTierStandard    SkuTier = "Standard"
)

func (*SkuTier) UnmarshalJSON

func (s *SkuTier) UnmarshalJSON(bytes []byte) error

Jump to

Keyboard shortcuts

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