object_storage

package
v0.1.56 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const AzureResourceName = "azurerm_storage_account"

Variables

This section is empty.

Functions

This section is empty.

Types

type AwsS3Bucket

type AwsS3Bucket struct {
	*common.AwsResource `hcl:",squash" default:"name=aws_s3_bucket"`
	Bucket              string `hcl:"bucket"`

	Arn string `json:"arn" hcle:"omitempty"`
}

aws_s3_bucket

func (*AwsS3Bucket) GetBucketId added in v0.1.13

func (vpc *AwsS3Bucket) GetBucketId() string

type AwsS3BucketVersioning added in v0.1.13

type AwsS3BucketVersioning struct {
	*common.AwsResource     `hcl:",squash" default:"name=aws_s3_bucket_versioning"`
	BucketId                string                  `hcl:"bucket,expr"`
	VersioningConfiguration VersioningConfiguration `hcl:"versioning_configuration"`
}

type AzureStorageAccount

type AzureStorageAccount struct {
	*common.AzResource         `hcl:",squash" default:"name=azurerm_storage_account"`
	AccountTier                string         `hcl:"account_tier"`
	AccountReplicationType     string         `hcl:"account_replication_type"`
	AllowNestedItemsToBePublic bool           `hcl:"allow_nested_items_to_be_public"`
	BlobProperties             BlobProperties `hcl:"blob_properties"`
}

azurerm_storage_account

func (AzureStorageAccount) GetResourceName

func (r AzureStorageAccount) GetResourceName() string

type BlobProperties added in v0.1.13

type BlobProperties struct {
	VersioningEnabled bool `hcl:"versioning_enabled"`
}

type GoogleStorageBucket added in v0.1.53

type GoogleStorageBucket struct {
	*common.GcpResource      `hcl:",squash"  default:"name=google_storage_bucket"`
	UniformBucketLevelAccess bool                            `hcl:"uniform_bucket_level_access"`
	Versioning               []GoogleStorageBucketVersioning `hcl:"versioning,blocks" hcle:"omitempty"`
	Location                 string                          `hcl:"location"`
}

type GoogleStorageBucketVersioning added in v0.1.53

type GoogleStorageBucketVersioning struct {
	Enabled bool `hcl:"enabled"`
}

type VersioningConfiguration added in v0.1.13

type VersioningConfiguration struct {
	Status string `hcl:"status"`
}

Jump to

Keyboard shortcuts

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