storage

package
v1.44.0 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2020 License: MPL-2.0 Imports: 47 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 BuildContainerPermissionsString added in v1.40.0

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

func BuildPermissionsString added in v1.40.0

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

func BuildResourceTypesString added in v1.40.0

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

func BuildServicesString added in v1.40.0

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 added in v1.40.0

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

func ResourceStorageBlobMigrateState added in v1.40.0

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

func ResourceStorageContainerMigrateState added in v1.40.0

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

func ResourceStorageQueueMigrateState added in v1.40.0

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

func ResourceStorageShareStateUpgradeV0ToV1 added in v1.40.0

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

func ResourceStorageShareStateUpgradeV1ToV2 added in v1.40.0

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

func ResourceStorageTableStateResourceV0V1 added in v1.40.0

func ResourceStorageTableStateResourceV0V1() *schema.Resource

the schema schema was used for both V0 and V1

func ResourceStorageTableStateUpgradeV0ToV1 added in v1.40.0

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

func ResourceStorageTableStateUpgradeV1ToV2 added in v1.40.0

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

func ValidateAccountID added in v1.35.0

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

func ValidateArmStorageAccountName added in v1.40.0

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

func ValidateArmStorageAccountType added in v1.40.0

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

func ValidateArmStorageQueueName added in v1.40.0

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

func ValidateArmStorageShareName added in v1.40.0

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 added in v1.40.0

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

func ValidateMetaDataKeys added in v1.40.0

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

Types

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 Registration added in v1.39.0

type Registration struct{}

func (Registration) Name added in v1.39.0

func (r Registration) Name() string

Name is the name of this Service

func (Registration) SupportedDataSources added in v1.39.0

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

SupportedDataSources returns the supported Data Sources supported by this Service

func (Registration) SupportedResources added in v1.39.0

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

SupportedResources returns the supported Resources supported by this Service

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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