geographichierarchies

package
v0.20240527.1094340 Latest Latest
Warning

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

Go to latest
Published: May 27, 2024 License: MPL-2.0 Imports: 7 Imported by: 1

README

github.com/hashicorp/go-azure-sdk/resource-manager/trafficmanager/2022-04-01/geographichierarchies Documentation

The geographichierarchies SDK allows for interaction with the Azure Resource Manager Service trafficmanager (API Version 2022-04-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/trafficmanager/2022-04-01/geographichierarchies"

Client Initialization

client := geographichierarchies.NewGeographicHierarchiesClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: GeographicHierarchiesClient.GetDefault

ctx := context.TODO()


read, err := client.GetDefault(ctx)
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 GeographicHierarchiesClient

type GeographicHierarchiesClient struct {
	Client *resourcemanager.Client
}

func NewGeographicHierarchiesClientWithBaseURI

func NewGeographicHierarchiesClientWithBaseURI(sdkApi sdkEnv.Api) (*GeographicHierarchiesClient, error)

func (GeographicHierarchiesClient) GetDefault

GetDefault ...

type GeographicHierarchyProperties

type GeographicHierarchyProperties struct {
	GeographicHierarchy *Region `json:"geographicHierarchy,omitempty"`
}

type GetDefaultOperationResponse

type GetDefaultOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *TrafficManagerGeographicHierarchy
}

type Region

type Region struct {
	Code    *string   `json:"code,omitempty"`
	Name    *string   `json:"name,omitempty"`
	Regions *[]Region `json:"regions,omitempty"`
}

type TrafficManagerGeographicHierarchy

type TrafficManagerGeographicHierarchy struct {
	Id         *string                        `json:"id,omitempty"`
	Name       *string                        `json:"name,omitempty"`
	Properties *GeographicHierarchyProperties `json:"properties,omitempty"`
	Type       *string                        `json:"type,omitempty"`
}

Jump to

Keyboard shortcuts

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