powerbidedicated

package
v0.20240920.1135249 Latest Latest
Warning

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

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

README

github.com/hashicorp/go-azure-sdk/resource-manager/powerbidedicated/2021-01-01/powerbidedicated Documentation

The powerbidedicated SDK allows for interaction with Azure Resource Manager powerbidedicated (API Version 2021-01-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/powerbidedicated/2021-01-01/powerbidedicated"

Client Initialization

client := powerbidedicated.NewPowerBIDedicatedClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: PowerBIDedicatedClient.CapacitiesListSkus

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

read, err := client.CapacitiesListSkus(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 PossibleValuesForCapacitySkuTier

func PossibleValuesForCapacitySkuTier() []string

Types

type CapacitiesListSkusOperationResponse

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

type CapacitySku

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

type CapacitySkuTier

type CapacitySkuTier string
const (
	CapacitySkuTierAutoPremiumHost CapacitySkuTier = "AutoPremiumHost"
	CapacitySkuTierPBIEAzure       CapacitySkuTier = "PBIE_Azure"
	CapacitySkuTierPremium         CapacitySkuTier = "Premium"
)

func (*CapacitySkuTier) UnmarshalJSON

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

type PowerBIDedicatedClient

type PowerBIDedicatedClient struct {
	Client *resourcemanager.Client
}

func NewPowerBIDedicatedClientWithBaseURI

func NewPowerBIDedicatedClientWithBaseURI(sdkApi sdkEnv.Api) (*PowerBIDedicatedClient, error)

func (PowerBIDedicatedClient) CapacitiesListSkus

CapacitiesListSkus ...

type SkuEnumerationForNewResourceResult

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

Jump to

Keyboard shortcuts

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