storage

package
v1.46.0 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2020 License: MPL-2.0 Imports: 52 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AccountIDSchema

func AccountIDSchema() *schema.Schema

func BuildContainerPermissionsString

func BuildContainerPermissionsString(perms map[string]interface{}) string

func BuildPermissionsString

func BuildPermissionsString(perms map[string]interface{}) string

func BuildResourceTypesString

func BuildResourceTypesString(resTypes map[string]interface{}) string

func BuildServicesString

func BuildServicesString(services map[string]interface{}) string

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 ResourceStorageAccountMigrateState

func ResourceStorageAccountMigrateState(
	v int, is *terraform.InstanceState, _ interface{}) (*terraform.InstanceState, error)

func ResourceStorageBlobMigrateState

func ResourceStorageBlobMigrateState(v int, is *terraform.InstanceState, meta interface{}) (*terraform.InstanceState, error)

func ResourceStorageContainerMigrateState

func ResourceStorageContainerMigrateState(v int, is *terraform.InstanceState, meta interface{}) (*terraform.InstanceState, error)

func ResourceStorageQueueMigrateState

func ResourceStorageQueueMigrateState(
	v int, is *terraform.InstanceState, meta interface{}) (*terraform.InstanceState, error)

func ResourceStorageShareStateUpgradeV0ToV1

func ResourceStorageShareStateUpgradeV0ToV1(rawState map[string]interface{}, _ interface{}) (map[string]interface{}, error)

func ResourceStorageShareStateUpgradeV1ToV2

func ResourceStorageShareStateUpgradeV1ToV2(rawState map[string]interface{}, meta interface{}) (map[string]interface{}, error)

func ResourceStorageTableStateResourceV0V1

func ResourceStorageTableStateResourceV0V1() *schema.Resource

the schema schema was used for both V0 and V1

func ResourceStorageTableStateUpgradeV0ToV1

func ResourceStorageTableStateUpgradeV0ToV1(rawState map[string]interface{}, meta interface{}) (map[string]interface{}, error)

func ResourceStorageTableStateUpgradeV1ToV2

func ResourceStorageTableStateUpgradeV1ToV2(rawState map[string]interface{}, meta interface{}) (map[string]interface{}, error)

func ValidateAccountID

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

func ValidateArmStorageAccountName

func ValidateArmStorageAccountName(v interface{}, _ string) (warnings []string, errors []error)

func ValidateArmStorageQueueName

func ValidateArmStorageQueueName(v interface{}, k string) (warnings []string, errors []error)

func ValidateArmStorageShareName

func ValidateArmStorageShareName(v interface{}, k string) (warnings []string, errors []error)

Following the naming convention as laid out in the docs https://msdn.microsoft.com/library/azure/dn167011.aspx

func ValidateArmStorageTableName

func ValidateArmStorageTableName(v interface{}, k string) (warnings []string, errors []error)

func ValidateMetaDataKeys

func ValidateMetaDataKeys(value interface{}, _ string) (warnings []string, errors []error)

Types

type BlobUpload

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

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

type Registration

type Registration struct{}

func (Registration) Name

func (r Registration) Name() string

Name is the name of this Service

func (Registration) SupportedDataSources

func (r Registration) SupportedDataSources() map[string]*schema.Resource

SupportedDataSources returns the supported Data Sources supported by this Service

func (Registration) SupportedResources

func (r Registration) SupportedResources() map[string]*schema.Resource

SupportedResources returns the supported Resources supported by this Service

func (Registration) WebsiteCategories

func (r Registration) WebsiteCategories() []string

WebsiteCategories returns a list of categories which can be used for the sidebar

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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