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" json:"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" json:"*_common_._aws_resource"`
BucketId string `hcl:"bucket,expr" json:"bucket_id"`
VersioningConfiguration []VersioningConfiguration `hcl:"versioning_configuration,blocks" json:"versioning_configuration"`
}
type AzureStorageAccount ¶
type AzureStorageAccount struct {
*common.AzResource `hcl:",squash" default:"name=azurerm_storage_account"`
AccountTier string `hcl:"account_tier" json:"account_tier"`
AccountReplicationType string `hcl:"account_replication_type" json:"account_replication_type"`
AllowNestedItemsToBePublic bool `hcl:"allow_nested_items_to_be_public" json:"allow_nested_items_to_be_public"`
BlobProperties []BlobProperties `hcl:"blob_properties,blocks" json:"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" json:"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" json:"uniform_bucket_level_access"`
Versioning []GoogleStorageBucketVersioning `hcl:"versioning,blocks" hcle:"omitempty" json:"versioning"`
Location string `hcl:"location" json:"location"`
ForceDestroy bool `hcl:"force_destroy"`
}
type GoogleStorageBucketVersioning ¶ added in v0.1.53
type GoogleStorageBucketVersioning struct {
Enabled bool `hcl:"enabled" json:"enabled"`
}
type VersioningConfiguration ¶ added in v0.1.13
type VersioningConfiguration struct {
Status string `hcl:"status" json:"status"`
}
Click to show internal directories.
Click to hide internal directories.