package
0.20240125.1100331
Repository: https://github.com/hashicorp/go-azure-sdk.git
Documentation: pkg.go.dev
# README
github.com/hashicorp/go-azure-sdk/resource-manager/dashboard/2023-09-01/grafanaplugin
Documentation
The grafanaplugin
SDK allows for interaction with the Azure Resource Manager Service dashboard
(API Version 2023-09-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/dashboard/2023-09-01/grafanaplugin"
Client Initialization
client := grafanaplugin.NewGrafanaPluginClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer
Example Usage: GrafanaPluginClient.GrafanaFetchAvailablePlugins
ctx := context.TODO()
id := grafanaplugin.NewGrafanaID("12345678-1234-9876-4563-123456789012", "example-resource-group", "grafanaValue")
read, err := client.GrafanaFetchAvailablePlugins(ctx, id)
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
# Functions
NewGrafanaID returns a new GrafanaId struct.
No description provided by the author
ParseGrafanaID parses 'input' into a GrafanaId.
ParseGrafanaIDInsensitively parses 'input' case-insensitively into a GrafanaId note: this method should only be used for API response data and not user input.
ValidateGrafanaID checks that 'input' can be parsed as a Grafana ID.
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
GrafanaId is a struct representing the Resource ID for a Grafana.
No description provided by the author