zos

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2025 License: MPL-2.0 Imports: 32 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCtyunZosBucket

func NewCtyunZosBucket() resource.Resource

func NewCtyunZosBucketObject

func NewCtyunZosBucketObject() resource.Resource

func NewCtyunZosBucketObjects

func NewCtyunZosBucketObjects() datasource.DataSource

func NewCtyunZosBuckets

func NewCtyunZosBuckets() datasource.DataSource

Types

type CtyunZosBucketConfig

type CtyunZosBucketConfig struct {
	ID             types.String `tfsdk:"id"`
	RegionID       types.String `tfsdk:"region_id"`
	ACL            types.String `tfsdk:"acl"`
	Name           types.String `tfsdk:"name"`
	Bucket         types.String `tfsdk:"bucket"`
	ProjectID      types.String `tfsdk:"project_id"`
	StorageType    types.String `tfsdk:"storage_type"`
	IsEncrypted    types.Bool   `tfsdk:"is_encrypted"`
	CmkUUID        types.String `tfsdk:"cmk_uuid"`
	AzPolicy       types.String `tfsdk:"az_policy"`
	VersionEnabled types.Bool   `tfsdk:"version_enabled"`
	Tags           types.Map    `tfsdk:"tags"`
	LogEnabled     types.Bool   `tfsdk:"log_enabled"`
	LogBucket      types.String `tfsdk:"log_bucket"`
	LogPrefix      types.String `tfsdk:"log_prefix"`
	RetentionMode  types.String `tfsdk:"retention_mode"`
	RetentionDay   types.Int64  `tfsdk:"retention_day"`
	RetentionYear  types.Int64  `tfsdk:"retention_year"`
}

type CtyunZosBucketObjectConfig

type CtyunZosBucketObjectConfig struct {
	ID                 types.String `tfsdk:"id"`
	RegionID           types.String `tfsdk:"region_id"`
	Bucket             types.String `tfsdk:"bucket"`
	Key                types.String `tfsdk:"key"`
	Source             types.String `tfsdk:"source"`
	Content            types.String `tfsdk:"content"`
	ACL                types.String `tfsdk:"acl"`
	CacheControl       types.String `tfsdk:"cache_control"`
	ContentDisposition types.String `tfsdk:"content_disposition"`
	ContentEncoding    types.String `tfsdk:"content_encoding"`
	ContentType        types.String `tfsdk:"content_type"`
	Tags               types.Map    `tfsdk:"tags"`
	StorageType        types.String `tfsdk:"storage_type"`
	Etag               types.String `tfsdk:"etag"`
	VersionID          types.String `tfsdk:"version_id"`
	// contains filtered or unexported fields
}

type CtyunZosBucketObjectsConfig

type CtyunZosBucketObjectsConfig struct {
	RegionID  types.String `tfsdk:"region_id"`
	Bucket    types.String `tfsdk:"bucket"`
	Prefix    types.String `tfsdk:"prefix"`
	Delimiter types.String `tfsdk:"delimiter"`
	Marker    types.String `tfsdk:"marker"`
	MaxKeys   types.Int64  `tfsdk:"max_keys"`

	IsTruncated types.Bool   `tfsdk:"is_truncated"`
	NextMarker  types.String `tfsdk:"next_marker"`

	Objects []CtyunZosBucketObjectsModel `tfsdk:"objects"`
	// contains filtered or unexported fields
}

type CtyunZosBucketObjectsModel

type CtyunZosBucketObjectsModel struct {
	Key          types.String `tfsdk:"key"`
	Size         types.Int64  `tfsdk:"size"`
	LastModified types.String `tfsdk:"last_modified"`
	StorageType  types.String `tfsdk:"storage_type"`
	Etag         types.String `tfsdk:"etag"`
}

type CtyunZosBucketsConfig

type CtyunZosBucketsConfig struct {
	RegionID     types.String           `tfsdk:"region_id"`
	ProjectID    types.String           `tfsdk:"project_id"`
	PageNo       types.Int64            `tfsdk:"page_no"`
	PageSize     types.Int64            `tfsdk:"page_size"`
	Bucket       types.String           `tfsdk:"bucket"`
	CurrentCount types.Int64            `tfsdk:"current_count"`
	TotalCount   types.Int64            `tfsdk:"total_count"`
	Buckets      []CtyunZosBucketsModel `tfsdk:"buckets"`
}

type CtyunZosBucketsModel

type CtyunZosBucketsModel struct {
	Bucket       types.String `tfsdk:"bucket"`
	RegionName   types.String `tfsdk:"region_name"`
	ProjectID    types.String `tfsdk:"project_id"`
	StorageType  types.String `tfsdk:"storage_type"`
	IsEncrypted  types.Bool   `tfsdk:"is_encrypted"`
	CmkUUID      types.String `tfsdk:"cmk_uuid"`
	AzPolicy     types.String `tfsdk:"az_policy"`
	CreationDate types.String `tfsdk:"creation_date"`
}

Jump to

Keyboard shortcuts

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