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)