object_storage_object

package
v0.1.57 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2022 License: Apache-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" json:"bucket"`
	Key                 string `hcl:"key" json:"key"`
	Acl                 string `hcl:"acl" hcle:"omitempty" json:"acl"`
	ContentBase64       string `hcl:"content_base64"  hcle:"omitempty" json:"content_base64"`
	ContentType         string `hcl:"content_type" hcle:"omitempty" json:"content_type"`
	Source              string `hcl:"source" hcle:"omitempty" json:"source"`
}

type AzureStorageAccountBlob

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

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

type GoogleStorageBucketObject added in v0.1.53

type GoogleStorageBucketObject struct {
	*common.GcpResource `hcl:",squash"  default:"name=google_storage_bucket_object"`
	Bucket              string `hcl:"bucket,expr" hcl:"Bucket" json:"bucket"`
	Content             string `hcl:"content,expr" json:"content"`
	ContentType         string `hcl:"content_type"  hcle:"omitempty" json:"content_type"`
}

type GoogleStorageObjectAccessControl added in v0.1.53

type GoogleStorageObjectAccessControl struct {
	*output.TerraformResource `hcl:",squash"  default:"name=google_storage_object_access_control"`
	Object                    string `hcl:"object,expr" json:"object"`
	Bucket                    string `hcl:"bucket,expr" json:"bucket"`
	Role                      string `hcl:"role" json:"role"`
	Entity                    string `hcl:"entity" json:"entity"`
}

Jump to

Keyboard shortcuts

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