storage

package
v1.44.1-0...-4e0a530 Latest Latest
Warning

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

Go to latest
Published: May 21, 2024 License: MPL-2.0 Imports: 81 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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 ExpandDataLakeGen2AceList

func ExpandDataLakeGen2AceList(input []interface{}) (*accesscontrol.ACL, error)

func ExpandMetaData

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

func FlattenDataLakeGen2AceList

func FlattenDataLakeGen2AceList(d *pluginsdk.ResourceData, acl accesscontrol.ACL) []interface{}

func FlattenMetaData

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

func MetaDataComputedSchema

func MetaDataComputedSchema() *pluginsdk.Schema

func MetaDataSchema

func MetaDataSchema() *pluginsdk.Schema

Types

type BlobUpload

type BlobUpload struct {
	Client *blobs.Client

	AccountName   string
	BlobName      string
	ContainerName string

	BlobType        string
	CacheControl    string
	ContentType     string
	ContentMD5      string
	EncryptionScope 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 ContainerImmutabilityPolicyModel

type ContainerImmutabilityPolicyModel struct {
	StorageContainerResourceManagerId string `tfschema:"storage_container_resource_manager_id"`
	ImmutabilityPeriodInDays          int    `tfschema:"immutability_period_in_days"`
	Locked                            bool   `tfschema:"locked"`
	ProtectedAppendWritesAllEnabled   bool   `tfschema:"protected_append_writes_all_enabled"`
	ProtectedAppendWritesEnabled      bool   `tfschema:"protected_append_writes_enabled"`
}

type LocalUserModel

type LocalUserModel struct {
	HomeDirectory      string                  `tfschema:"home_directory"`
	Name               string                  `tfschema:"name"`
	Password           string                  `tfschema:"password"`
	PermissionScope    []PermissionScopeModel  `tfschema:"permission_scope"`
	Sid                string                  `tfschema:"sid"`
	SshAuthorizedKey   []SshAuthorizedKeyModel `tfschema:"ssh_authorized_key"`
	SshKeyEnabled      bool                    `tfschema:"ssh_key_enabled"`
	SshPasswordEnabled bool                    `tfschema:"ssh_password_enabled"`
	StorageAccountId   string                  `tfschema:"storage_account_id"`
}

type LocalUserResource

type LocalUserResource struct{}

func (LocalUserResource) Arguments

func (r LocalUserResource) Arguments() map[string]*pluginsdk.Schema

func (LocalUserResource) Attributes

func (r LocalUserResource) Attributes() map[string]*pluginsdk.Schema

func (LocalUserResource) Create

func (r LocalUserResource) Create() sdk.ResourceFunc

func (LocalUserResource) CustomizeDiff

func (r LocalUserResource) CustomizeDiff() sdk.ResourceFunc

func (LocalUserResource) Delete

func (r LocalUserResource) Delete() sdk.ResourceFunc

func (LocalUserResource) IDValidationFunc

func (r LocalUserResource) IDValidationFunc() pluginsdk.SchemaValidateFunc

func (LocalUserResource) ModelObject

func (r LocalUserResource) ModelObject() interface{}

func (LocalUserResource) Read

func (LocalUserResource) ResourceType

func (r LocalUserResource) ResourceType() string

func (LocalUserResource) Update

func (r LocalUserResource) Update() sdk.ResourceFunc

type PermissionScopeModel

type PermissionScopeModel struct {
	Permissions  []PermissionsModel `tfschema:"permissions"`
	ResourceName string             `tfschema:"resource_name"`
	Service      string             `tfschema:"service"`
}

type PermissionsModel

type PermissionsModel struct {
	Create bool `tfschema:"create"`
	Delete bool `tfschema:"delete"`
	List   bool `tfschema:"list"`
	Read   bool `tfschema:"read"`
	Write  bool `tfschema:"write"`
}

type Registration

type Registration struct{}

func (Registration) AssociatedGitHubLabel

func (r Registration) AssociatedGitHubLabel() string

func (Registration) DataSources

func (r Registration) DataSources() []sdk.DataSource

func (Registration) Name

func (r Registration) Name() string

Name is the name of this Service

func (Registration) Resources

func (r Registration) Resources() []sdk.Resource

func (Registration) SupportedDataSources

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

SupportedDataSources returns the supported Data Sources supported by this Service

func (Registration) SupportedResources

func (r Registration) SupportedResources() map[string]*pluginsdk.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

type SshAuthorizedKeyModel

type SshAuthorizedKeyModel struct {
	Description string `tfschema:"description"`
	Key         string `tfschema:"key"`
}

type StorageContainerImmutabilityPolicyResource

type StorageContainerImmutabilityPolicyResource struct{}

func (StorageContainerImmutabilityPolicyResource) Arguments

func (StorageContainerImmutabilityPolicyResource) Attributes

func (StorageContainerImmutabilityPolicyResource) Create

func (StorageContainerImmutabilityPolicyResource) CustomizeDiff

func (StorageContainerImmutabilityPolicyResource) Delete

func (StorageContainerImmutabilityPolicyResource) IDValidationFunc

func (StorageContainerImmutabilityPolicyResource) ModelObject

func (r StorageContainerImmutabilityPolicyResource) ModelObject() interface{}

func (StorageContainerImmutabilityPolicyResource) Read

func (StorageContainerImmutabilityPolicyResource) ResourceType

func (StorageContainerImmutabilityPolicyResource) Update

type StorageSyncServerEndpointResourceSchema

type StorageSyncServerEndpointResourceSchema struct {
	Name                   string `tfschema:"name"`
	StorageSyncGroupId     string `tfschema:"storage_sync_group_id"`
	RegisteredServerId     string `tfschema:"registered_server_id"`
	ServerLocalPath        string `tfschema:"server_local_path"`
	CloudTieringEnabled    bool   `tfschema:"cloud_tiering_enabled"`
	VolumeFreeSpacePercent int64  `tfschema:"volume_free_space_percent"`
	TierFilesOlderThanDays int64  `tfschema:"tier_files_older_than_days"`
	InitialDownloadPolicy  string `tfschema:"initial_download_policy"`
	LocalCacheMode         string `tfschema:"local_cache_mode"`
}

type SyncServerEndpointResource

type SyncServerEndpointResource struct{}

func (SyncServerEndpointResource) Arguments

func (SyncServerEndpointResource) Attributes

func (r SyncServerEndpointResource) Attributes() map[string]*pluginsdk.Schema

func (SyncServerEndpointResource) Create

func (SyncServerEndpointResource) Delete

func (SyncServerEndpointResource) IDValidationFunc

func (SyncServerEndpointResource) ModelObject

func (r SyncServerEndpointResource) ModelObject() interface{}

func (SyncServerEndpointResource) Read

func (SyncServerEndpointResource) ResourceType

func (r SyncServerEndpointResource) ResourceType() string

func (SyncServerEndpointResource) Update

type TableEntitiesDataSourceModel

type TableEntitiesDataSourceModel struct {
	TableName          string                       `tfschema:"table_name"`
	StorageAccountName string                       `tfschema:"storage_account_name"`
	Filter             string                       `tfschema:"filter"`
	Select             []string                     `tfschema:"select"`
	Items              []TableEntityDataSourceModel `tfschema:"items"`
}

type TableEntityDataSourceModel

type TableEntityDataSourceModel struct {
	PartitionKey string                 `tfschema:"partition_key"`
	RowKey       string                 `tfschema:"row_key"`
	Properties   map[string]interface{} `tfschema:"properties"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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