eventhubsclustersavailableclusterregions

package
v0.20241128.1084944 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2024 License: MPL-2.0 Imports: 8 Imported by: 1

README

github.com/hashicorp/go-azure-sdk/resource-manager/eventhub/2021-11-01/eventhubsclustersavailableclusterregions Documentation

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

Client Initialization

client := eventhubsclustersavailableclusterregions.NewEventHubsClustersAvailableClusterRegionsClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: EventHubsClustersAvailableClusterRegionsClient.ClustersListAvailableClusterRegion

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

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

This section is empty.

Types

type AvailableCluster

type AvailableCluster struct {
	Location *string `json:"location,omitempty"`
}

type AvailableClustersList

type AvailableClustersList struct {
	Value *[]AvailableCluster `json:"value,omitempty"`
}

type ClustersListAvailableClusterRegionOperationResponse

type ClustersListAvailableClusterRegionOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *AvailableClustersList
}

type EventHubsClustersAvailableClusterRegionsClient

type EventHubsClustersAvailableClusterRegionsClient struct {
	Client *resourcemanager.Client
}

func NewEventHubsClustersAvailableClusterRegionsClientWithBaseURI

func NewEventHubsClustersAvailableClusterRegionsClientWithBaseURI(sdkApi sdkEnv.Api) (*EventHubsClustersAvailableClusterRegionsClient, error)

func (EventHubsClustersAvailableClusterRegionsClient) ClustersListAvailableClusterRegion

ClustersListAvailableClusterRegion ...

Jump to

Keyboard shortcuts

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