heatmaps

package
v0.20221130.1084848 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2022 License: MPL-2.0 Imports: 9 Imported by: 0

README

github.com/hashicorp/go-azure-sdk/resource-manager/trafficmanager/2018-08-01/heatmaps Documentation

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

Client Initialization

client := heatmaps.NewHeatMapsClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: HeatMapsClient.HeatMapGet

ctx := context.TODO()
id := heatmaps.NewTrafficManagerProfileID("12345678-1234-9876-4563-123456789012", "example-resource-group", "profileValue")

read, err := client.HeatMapGet(ctx, id, heatmaps.DefaultHeatMapGetOperationOptions())
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 ValidateTrafficManagerProfileID added in v0.20220627.1082008

func ValidateTrafficManagerProfileID(input interface{}, key string) (warnings []string, errors []error)

ValidateTrafficManagerProfileID checks that 'input' can be parsed as a Traffic Manager Profile ID

Types

type HeatMapEndpoint

type HeatMapEndpoint struct {
	EndpointId *int64  `json:"endpointId,omitempty"`
	ResourceId *string `json:"resourceId,omitempty"`
}

type HeatMapGetOperationOptions

type HeatMapGetOperationOptions struct {
	BotRight *string
	TopLeft  *string
}

func DefaultHeatMapGetOperationOptions

func DefaultHeatMapGetOperationOptions() HeatMapGetOperationOptions

type HeatMapGetOperationResponse

type HeatMapGetOperationResponse struct {
	HttpResponse *http.Response
	Model        *HeatMapModel
}

type HeatMapModel

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

type HeatMapProperties

type HeatMapProperties struct {
	EndTime      *string            `json:"endTime,omitempty"`
	Endpoints    *[]HeatMapEndpoint `json:"endpoints,omitempty"`
	StartTime    *string            `json:"startTime,omitempty"`
	TrafficFlows *[]TrafficFlow     `json:"trafficFlows,omitempty"`
}

func (*HeatMapProperties) GetEndTimeAsTime

func (o *HeatMapProperties) GetEndTimeAsTime() (*time.Time, error)

func (*HeatMapProperties) GetStartTimeAsTime

func (o *HeatMapProperties) GetStartTimeAsTime() (*time.Time, error)

func (*HeatMapProperties) SetEndTimeAsTime

func (o *HeatMapProperties) SetEndTimeAsTime(input time.Time)

func (*HeatMapProperties) SetStartTimeAsTime

func (o *HeatMapProperties) SetStartTimeAsTime(input time.Time)

type HeatMapsClient

type HeatMapsClient struct {
	Client autorest.Client
	// contains filtered or unexported fields
}

func NewHeatMapsClientWithBaseURI

func NewHeatMapsClientWithBaseURI(endpoint string) HeatMapsClient

func (HeatMapsClient) HeatMapGet

HeatMapGet ...

type QueryExperience

type QueryExperience struct {
	EndpointId int64    `json:"endpointId"`
	Latency    *float64 `json:"latency,omitempty"`
	QueryCount int64    `json:"queryCount"`
}

type TrafficFlow

type TrafficFlow struct {
	Latitude         *float64           `json:"latitude,omitempty"`
	Longitude        *float64           `json:"longitude,omitempty"`
	QueryExperiences *[]QueryExperience `json:"queryExperiences,omitempty"`
	SourceIP         *string            `json:"sourceIp,omitempty"`
}

type TrafficManagerProfileId added in v0.20220627.1082008

type TrafficManagerProfileId struct {
	SubscriptionId    string
	ResourceGroupName string
	ProfileName       string
}

TrafficManagerProfileId is a struct representing the Resource ID for a Traffic Manager Profile

func NewTrafficManagerProfileID added in v0.20220627.1082008

func NewTrafficManagerProfileID(subscriptionId string, resourceGroupName string, profileName string) TrafficManagerProfileId

NewTrafficManagerProfileID returns a new TrafficManagerProfileId struct

func ParseTrafficManagerProfileID added in v0.20220627.1082008

func ParseTrafficManagerProfileID(input string) (*TrafficManagerProfileId, error)

ParseTrafficManagerProfileID parses 'input' into a TrafficManagerProfileId

func ParseTrafficManagerProfileIDInsensitively added in v0.20220627.1082008

func ParseTrafficManagerProfileIDInsensitively(input string) (*TrafficManagerProfileId, error)

ParseTrafficManagerProfileIDInsensitively parses 'input' case-insensitively into a TrafficManagerProfileId note: this method should only be used for API response data and not user input

func (TrafficManagerProfileId) ID added in v0.20220627.1082008

ID returns the formatted Traffic Manager Profile ID

func (TrafficManagerProfileId) Segments added in v0.20220627.1082008

Segments returns a slice of Resource ID Segments which comprise this Traffic Manager Profile ID

func (TrafficManagerProfileId) String added in v0.20220627.1082008

func (id TrafficManagerProfileId) String() string

String returns a human-readable description of this Traffic Manager Profile ID

Jump to

Keyboard shortcuts

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