object_storage_object

package
v0.1.30 Latest Latest
Warning

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

Go to latest
Published: May 5, 2022 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AwsS3BucketObject

type AwsS3BucketObject struct {
	*common.AwsResource `hcl:",squash" default:"name=aws_s3_object"`
	Bucket              string `hcl:"bucket,expr"`
	Key                 string `hcl:"key"`
	Acl                 string `hcl:"acl" hcle:"omitempty"`
	ContentBase64       string `hcl:"content_base64"  hcle:"omitempty"`
	ContentType         string `hcl:"content_type" hcle:"omitempty"`
	Source              string `hcl:"source" hcle:"omitempty"`
}

type AzureStorageAccountBlob

type AzureStorageAccountBlob struct {
	*common.AzResource   `hcl:",squash" default:"name=azurerm_storage_blob"`
	StorageAccountName   string `hcl:"storage_account_name,expr"`
	StorageContainerName string `hcl:"storage_container_name,expr"`
	Type                 string `hcl:"type"`
	SourceContent        string `hcl:"source_content"  hcle:"omitempty"`
	ContentType          string `hcl:"content_type" hcle:"omitempty"`
	Source               string `hcl:"source,expr" hcle:"omitempty"`
}

azurerm_storage_blob

type AzureStorageAccountBlobSas

type AzureStorageAccountBlobSas struct {
	*output.TerraformDataSource           `hcl:",squash" default:"name=azurerm_storage_account_blob_container_sas"`
	ConnectionString                      string `hcl:"connection_string,expr"`
	ContainerName                         string `hcl:"container_name,expr"`
	Start                                 string `hcl:"start"`
	Expiry                                string `hcl:"expiry"  hcle:"omitempty"`
	AzureStorageAccountBlobSasPermissions `hcl:"permissions"`
}

func (AzureStorageAccountBlobSas) GetSignedUrl

func (sas AzureStorageAccountBlobSas) GetSignedUrl(storageAccountName string, containerName string,
	blobName string) string

type AzureStorageAccountBlobSasPermissions

type AzureStorageAccountBlobSasPermissions struct {
	Read   bool `hcl:"read"`
	Write  bool `hcl:"write"`
	Add    bool `hcl:"add"`
	Create bool `hcl:"create"`
	List   bool `hcl:"list"`
	Delete bool `hcl:"delete"`
}

type AzureStorageContainer

type AzureStorageContainer struct {
	*common.AzResource  `hcl:",squash"  default:"name=azurerm_storage_container"`
	StorageAccountName  string `hcl:"storage_account_name,expr"`
	ContainerAccessType string `hcl:"container_access_type"`
}

azurerm_storage_container

func (AzureStorageContainer) GetResourceName

func (r AzureStorageContainer) GetResourceName() string

Jump to

Keyboard shortcuts

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