README ¶
github.com/hashicorp/go-azure-sdk/resource-manager/eventhub/2021-11-01/eventhubsclustersavailableclusterregions
Documentation
The eventhubsclustersavailableclusterregions
SDK allows for interaction with the Azure Resource Manager Service 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-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 := eventhubsclustersavailableclusterregions.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 Model *AvailableClustersList }
type EventHubsClustersAvailableClusterRegionsClient ¶
type EventHubsClustersAvailableClusterRegionsClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewEventHubsClustersAvailableClusterRegionsClientWithBaseURI ¶
func NewEventHubsClustersAvailableClusterRegionsClientWithBaseURI(endpoint string) EventHubsClustersAvailableClusterRegionsClient
func (EventHubsClustersAvailableClusterRegionsClient) ClustersListAvailableClusterRegion ¶
func (c EventHubsClustersAvailableClusterRegionsClient) ClustersListAvailableClusterRegion(ctx context.Context, id commonids.SubscriptionId) (result ClustersListAvailableClusterRegionOperationResponse, err error)
ClustersListAvailableClusterRegion ...
Click to show internal directories.
Click to hide internal directories.