storage

package
v1.35.0 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2019 License: MPL-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AccountIDSchema added in v1.35.0

func AccountIDSchema() *schema.Schema

func ExpandMetaData

func ExpandMetaData(input map[string]interface{}) map[string]string

func FlattenMetaData

func FlattenMetaData(input map[string]string) map[string]interface{}

func MetaDataComputedSchema

func MetaDataComputedSchema() *schema.Schema

func MetaDataSchema

func MetaDataSchema() *schema.Schema

func ValidateAccountID added in v1.35.0

func ValidateAccountID(i interface{}, k string) (warnings []string, errors []error)

Types

type AccountID added in v1.35.0

type AccountID struct {
	Name          string
	ResourceGroup string

	ID azure.ResourceID
}

func ParseAccountID added in v1.35.0

func ParseAccountID(id string) (*AccountID, error)

type BlobUpload added in v1.34.0

type BlobUpload struct {
	Client *blobs.Client

	AccountName   string
	BlobName      string
	ContainerName string

	BlobType      string
	ContentType   string
	MetaData      map[string]string
	Parallelism   int
	Size          int
	Source        string
	SourceContent string
	SourceUri     string
}

func (BlobUpload) Create added in v1.34.0

func (sbu BlobUpload) Create(ctx context.Context) error

type Client

type Client struct {
	AccountsClient           *storage.AccountsClient
	FileSystemsClient        *filesystems.Client
	ManagementPoliciesClient storage.ManagementPoliciesClient
	// contains filtered or unexported fields
}

func BuildClient

func BuildClient(options *common.ClientOptions) *Client

func (Client) BlobsClient

func (client Client) BlobsClient(ctx context.Context, resourceGroup, accountName string) (*blobs.Client, error)

func (Client) ClearFromCache added in v1.34.0

func (client Client) ClearFromCache(resourceGroup, accountName string)

func (Client) ContainersClient

func (client Client) ContainersClient(ctx context.Context, resourceGroup, accountName string) (*containers.Client, error)

func (Client) FileShareDirectoriesClient

func (client Client) FileShareDirectoriesClient(ctx context.Context, resourceGroup, accountName string) (*directories.Client, error)

func (Client) FileSharesClient

func (client Client) FileSharesClient(ctx context.Context, resourceGroup, accountName string) (*shares.Client, error)

func (Client) FindResourceGroup

func (client Client) FindResourceGroup(ctx context.Context, accountName string) (*string, error)

func (Client) QueuesClient

func (client Client) QueuesClient(ctx context.Context, resourceGroup, accountName string) (*queues.Client, error)

func (Client) TableEntityClient

func (client Client) TableEntityClient(ctx context.Context, resourceGroup, accountName string) (*entities.Client, error)

func (Client) TablesClient

func (client Client) TablesClient(ctx context.Context, resourceGroup, accountName string) (*tables.Client, error)

Jump to

Keyboard shortcuts

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