azure-sdk-for-go: github.com/Azure/azure-sdk-for-go/services/classic/management/affinitygroup Index | Files

package affinitygroup

import "github.com/Azure/azure-sdk-for-go/services/classic/management/affinitygroup"

Index

Package Files

client.go entities.go

type AffinityGroup Uses

type AffinityGroup struct {
    Name            string
    Label           string
    Description     string
    Location        string
    HostedServices  []HostedService
    StorageServices []StorageService
    Capabilities    []string
}

AffinityGroup respresents the properties of an affinity group on Azure.

https://msdn.microsoft.com/en-us/library/azure/ee460789.aspx

type AffinityGroupClient Uses

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

AffinityGroupClient simply contains a management.Client and has methods for doing all affinity group-related API calls to Azure.

func NewClient Uses

func NewClient(mgmtClient management.Client) AffinityGroupClient

NewClient returns an AffinityGroupClient with the given management.Client.

func (AffinityGroupClient) CreateAffinityGroup Uses

func (c AffinityGroupClient) CreateAffinityGroup(params CreateAffinityGroupParams) error

CreateAffinityGroup creates a new affinity group.

https://msdn.microsoft.com/en-us/library/azure/gg715317.aspx

func (AffinityGroupClient) DeleteAffinityGroup Uses

func (c AffinityGroupClient) DeleteAffinityGroup(name string) error

DeleteAffinityGroup deletes the given affinity group.

https://msdn.microsoft.com/en-us/library/azure/gg715314.aspx

func (AffinityGroupClient) GetAffinityGroup Uses

func (c AffinityGroupClient) GetAffinityGroup(name string) (AffinityGroup, error)

GetAffinityGroup returns the system properties that are associated with the specified affinity group.

https://msdn.microsoft.com/en-us/library/azure/ee460789.aspx

func (AffinityGroupClient) ListAffinityGroups Uses

func (c AffinityGroupClient) ListAffinityGroups() (ListAffinityGroupsResponse, error)

ListAffinityGroups lists the affinity groups off Azure.

https://msdn.microsoft.com/en-us/library/azure/ee460797.aspx

func (AffinityGroupClient) UpdateAffinityGroup Uses

func (c AffinityGroupClient) UpdateAffinityGroup(name string, params UpdateAffinityGroupParams) error

UpdateAffinityGroup updates the label or description for an the group.

https://msdn.microsoft.com/en-us/library/azure/gg715316.aspx

type AffinityGroupListResponse Uses

type AffinityGroupListResponse struct {
    Name                string
    Label               string
    Description         string
    Location            string
    Capabilities        []string
    ComputeCapabilities ComputeCapabilities
}

AffinityGroupListResponse represents the properties obtained for each affinity group listed off Azure.

https://msdn.microsoft.com/en-us/library/azure/ee460797.aspx

type ComputeCapabilities Uses

type ComputeCapabilities struct {
    VirtualMachineRoleSizes []string
    WebWorkerRoleSizes      []string
}

ComputeCapabilities represents the sets of capabilities of an affinity group obtained from an affinity group list call to Azure.

type CreateAffinityGroupParams Uses

type CreateAffinityGroupParams struct {
    XMLName     xml.Name `xml:"http://schemas.microsoft.com/windowsazure CreateAffinityGroup"`
    Name        string
    Label       string
    Description string `xml:",omitempty"`
    Location    string
}

CreateAffinityGroupParams respresents the set of parameters required for creating an affinity group creation request to Azure.

https://msdn.microsoft.com/en-us/library/azure/gg715317.aspx

type HostedService Uses

type HostedService struct {
    URL         string `xml:"Url"`
    ServiceName string
}

HostedService is a struct containing details about a hosted service that is part of an affinity group on Azure.

type ListAffinityGroupsResponse Uses

type ListAffinityGroupsResponse struct {
    AffinityGroups []AffinityGroupListResponse `xml:"AffinityGroup"`
}

ListAffinityGroupsResponse contains all the affinity groups obtained from a call to the Azure API to list all affinity groups.

type StorageService Uses

type StorageService struct {
    URL         string `xml:"Url"`
    ServiceName string
}

StorageService is a struct containing details about a storage service that is part of an affinity group on Azure.

type UpdateAffinityGroupParams Uses

type UpdateAffinityGroupParams struct {
    XMLName     xml.Name `xml:"http://schemas.microsoft.com/windowsazure UpdateAffinityGroup"`
    Label       string   `xml:",omitempty"`
    Description string   `xml:",omitempty"`
}

UpdateAffinityGroupParams if the set of parameters required to update an affinity group on Azure.

https://msdn.microsoft.com/en-us/library/azure/gg715316.aspx

Package affinitygroup imports 4 packages (graph). Updated 2018-02-13. Refresh now. Tools for package owners.