location

package
v22.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package location provides a client for Locations.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ListLocationsResponse

type ListLocationsResponse struct {
	XMLName   xml.Name   `xml:"Locations"`
	Locations []Location `xml:"Location"`
}

func (ListLocationsResponse) String

func (ll ListLocationsResponse) String() string

type Location

type Location struct {
	Name                    string
	DisplayName             string
	AvailableServices       []string `xml:"AvailableServices>AvailableService"`
	WebWorkerRoleSizes      []string `xml:"ComputeCapabilities>WebWorkerRoleSizes>RoleSize"`
	VirtualMachineRoleSizes []string `xml:"ComputeCapabilities>VirtualMachinesRoleSizes>RoleSize"`
}

type LocationClient

type LocationClient struct {
	// contains filtered or unexported fields
}

LocationClient is used to perform operations on Azure Locations

func NewClient

func NewClient(client management.Client) LocationClient

NewClient is used to instantiate a new LocationClient from an Azure client

func (LocationClient) ListLocations

func (c LocationClient) ListLocations() (ListLocationsResponse, error)

Jump to

Keyboard shortcuts

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