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

package storageservice

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

Package storageservice provides a client for Storage Services.

Index

Package Files

client.go entities.go

type AccountType Uses

type AccountType string
const (
    AccountTypeStandardLRS   AccountType = "Standard_LRS"
    AccountTypeStandardZRS   AccountType = "Standard_ZRS"
    AccountTypeStandardGRS   AccountType = "Standard_GRS"
    AccountTypeStandardRAGRS AccountType = "Standard_RAGRS"
    AccountTypePremiumLRS    AccountType = "Premium_LRS"
)

type AvailabilityResponse Uses

type AvailabilityResponse struct {
    XMLName xml.Name `xml:"AvailabilityResponse"`
    Xmlns   string   `xml:"xmlns,attr"`
    Result  bool
    Reason  string
}

type CreateStorageServiceInput Uses

type CreateStorageServiceInput struct {
    XMLName xml.Name `xml:"http://schemas.microsoft.com/windowsazure CreateStorageServiceInput"`
    StorageAccountCreateParameters
}

type ExtendedProperty Uses

type ExtendedProperty struct {
    Name  string
    Value string
}

type ExtendedPropertyList Uses

type ExtendedPropertyList struct {
    ExtendedProperty []ExtendedProperty
}

type GetStorageServiceKeysResponse Uses

type GetStorageServiceKeysResponse struct {
    URL          string `xml:"Url"`
    PrimaryKey   string `xml:"StorageServiceKeys>Primary"`
    SecondaryKey string `xml:"StorageServiceKeys>Secondary"`
}

type ListStorageServicesResponse Uses

type ListStorageServicesResponse struct {
    StorageServices []StorageServiceResponse `xml:"StorageService"`
}

type StorageAccountCreateParameters Uses

type StorageAccountCreateParameters struct {
    ServiceName        string
    Description        string `xml:",omitempty"`
    Label              string
    AffinityGroup      string `xml:",omitempty"`
    Location           string `xml:",omitempty"`
    ExtendedProperties ExtendedPropertyList
    AccountType        AccountType
}

type StorageServiceClient Uses

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

StorageServiceClient is used to perform operations on Azure Storage

func NewClient Uses

func NewClient(s management.Client) StorageServiceClient

NewClient is used to instantiate a new StorageServiceClient from an Azure client.

func (StorageServiceClient) CheckStorageAccountNameAvailability Uses

func (s StorageServiceClient) CheckStorageAccountNameAvailability(name string) (AvailabilityResponse, error)

CheckStorageAccountNameAvailability checks to if the specified storage account name is available.

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

func (StorageServiceClient) CreateStorageService Uses

func (s StorageServiceClient) CreateStorageService(parameters StorageAccountCreateParameters) (management.OperationID, error)

func (StorageServiceClient) DeleteStorageService Uses

func (s StorageServiceClient) DeleteStorageService(serviceName string) (management.OperationID, error)

func (StorageServiceClient) GetStorageService Uses

func (s StorageServiceClient) GetStorageService(serviceName string) (StorageServiceResponse, error)

func (StorageServiceClient) GetStorageServiceKeys Uses

func (s StorageServiceClient) GetStorageServiceKeys(serviceName string) (GetStorageServiceKeysResponse, error)

func (StorageServiceClient) ListStorageServices Uses

func (s StorageServiceClient) ListStorageServices() (ListStorageServicesResponse, error)

type StorageServiceProperties Uses

type StorageServiceProperties struct {
    Description           string
    Location              string
    Label                 string
    Status                string
    Endpoints             []string `xml:"Endpoints>Endpoint"`
    GeoReplicationEnabled string
    GeoPrimaryRegion      string
}

type StorageServiceResponse Uses

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

Package storageservice imports 3 packages (graph) and is imported by 1 packages. Updated 2018-02-13. Refresh now. Tools for package owners.