...

Package location

import "github.com/Azure/azure-sdk-for-go/services/classic/management/location"
Overview
Index

Overview ▾

Package location provides a client for Locations.

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

LocationClient is used to perform operations on Azure Locations

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

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)